:root{color-scheme:light;--bg: #f4f7fb;--surface-0: #ffffff;--surface-1: #f8fafc;--surface-2: #edf1f7;--surface-3: #d7dfeb;--surface-dim: #c7d1df;--text-1: #152033;--text-2: #536174;--text-3: #7b8797;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-container: rgba(37, 99, 235, .1);--tertiary: #a16207;--tertiary-container: #fff7ed;--success: #0f766e;--success-container: #e6fffb;--red: #dc2626;--red-container: #fef2f2;--ghost-border: rgba(82, 97, 116, .18);--shadow: rgba(21, 32, 51, .08);--glass-bg: rgba(255, 255, 255, .88);--radius-sm: 6px;--radius-md: 8px;--fast: .15s ease;--normal: .24s cubic-bezier(.4, 0, .2, 1);--slow: .36s cubic-bezier(.16, 1, .3, 1)}[data-theme=dark]{color-scheme:dark;--bg: #171b23;--surface-0: #202632;--surface-1: #252c39;--surface-2: #303849;--surface-3: #3b465a;--surface-dim: #4b5870;--text-1: #f5f7fb;--text-2: #c5ceda;--text-3: #94a0af;--primary: #7aa7ff;--primary-hover: #a8c5ff;--primary-container: rgba(122, 167, 255, .16);--tertiary: #f2bd5c;--tertiary-container: rgba(242, 189, 92, .14);--success: #5eead4;--success-container: rgba(94, 234, 212, .13);--red: #ff8a8a;--red-container: rgba(255, 138, 138, .14);--ghost-border: rgba(199, 209, 223, .16);--shadow: rgba(0, 0, 0, .24);--glass-bg: rgba(32, 38, 50, .88)}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{min-width:320px}body{min-height:100vh;background:var(--bg);color:var(--text-1);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;overflow-x:hidden;transition:background var(--normal),color var(--normal);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{-webkit-tap-highlight-color:transparent}a{color:var(--primary);text-decoration:none;transition:color var(--fast)}a:hover{color:var(--primary-hover)}:focus-visible{outline:3px solid var(--primary-container);outline-offset:2px}.texture-overlay{display:none}.app-container{width:min(1280px,100%);margin:0 auto;padding:28px 28px 40px;display:flex;flex-direction:column;gap:24px}.app-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:8px 0 4px}.brand-lockup{display:flex;align-items:center;gap:14px;min-width:0}.brand-mark{width:46px;height:46px;flex:0 0 auto;display:grid;place-items:center;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);color:var(--primary);box-shadow:0 10px 28px var(--shadow)}.app-kicker{color:var(--text-2);font-size:.86rem;font-weight:700}.app-title{color:var(--text-1);font-size:2.25rem;font-weight:800;line-height:1.12}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.status-pill{min-height:38px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--ghost-border);border-radius:999px;background:var(--surface-0);color:var(--text-2);font-size:.84rem;font-weight:600;white-space:nowrap;box-shadow:0 8px 24px var(--shadow)}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--success);box-shadow:0 0 0 4px var(--success-container)}.theme-toggle{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);color:var(--text-2);cursor:pointer;box-shadow:0 8px 24px var(--shadow);transition:background var(--fast),color var(--fast),transform var(--fast)}.theme-toggle:hover{background:var(--surface-1);color:var(--text-1);transform:translateY(-1px)}.sun-icon{display:none}.moon-icon,[data-theme=dark] .sun-icon{display:block}[data-theme=dark] .moon-icon{display:none}.dashboard-section{width:100%}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{min-height:132px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:18px;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);box-shadow:0 12px 32px var(--shadow);transition:border-color var(--fast),transform var(--fast),box-shadow var(--fast)}.metric-card:hover{border-color:#2563eb47;transform:translateY(-2px);box-shadow:0 18px 38px var(--shadow)}.metric-label{color:var(--text-2);font-size:.84rem;font-weight:700}.metric-value{color:var(--text-1);font-size:2.35rem;font-weight:800;line-height:1}.metric-desc{color:var(--text-3);font-size:.82rem}.text-gold{color:var(--tertiary)}.text-red{color:var(--red)}.catalog-section{display:flex;flex-direction:column;gap:12px}.catalog-header-bar{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.section-title{color:var(--text-1);font-size:1.3rem;font-weight:800;line-height:1.2}.catalog-count-label{color:var(--text-2);font-size:.84rem;font-weight:600;white-space:nowrap}.toolbar{position:sticky;top:10px;z-index:100;display:flex;align-items:center;min-height:58px;padding:8px;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--glass-bg);box-shadow:0 12px 32px var(--shadow);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.search-box{width:min(520px,100%);min-height:42px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);color:var(--text-2);transition:border-color var(--fast),box-shadow var(--fast),background var(--fast)}.search-box:focus-within{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-container)}.search-icon{flex:0 0 auto;color:var(--text-3)}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text-1);font-size:.9rem}.search-box input::placeholder{color:var(--text-3)}.table-wrap{overflow:auto;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);box-shadow:0 18px 42px var(--shadow)}.data-table{width:100%;min-width:940px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:.86rem}.col-company{width:14%}.col-title{width:23%}.col-location{width:13%}.col-days,.col-reposts{width:8%}.col-evidence{width:12%}.col-first,.col-lastseen{width:8%}.col-sources{width:6%}.data-table thead{position:sticky;top:0;z-index:10}.data-table th{padding:13px 14px;border-bottom:1px solid var(--ghost-border);background:var(--surface-1);color:var(--text-2);font-size:.76rem;font-weight:800;text-align:left;white-space:nowrap;-webkit-user-select:none;user-select:none}.data-table th.sortable{cursor:pointer;transition:color var(--fast),background var(--fast)}.data-table th.sortable:hover{background:var(--surface-2);color:var(--text-1)}.data-table th.active-sort{color:var(--primary)}.sort-arrow{display:inline-block;min-width:10px;margin-left:4px;color:currentColor;font-size:.8rem;line-height:1}.data-table td{padding:13px 14px;border-bottom:1px solid var(--ghost-border);color:var(--text-1);vertical-align:middle}.data-table tbody tr{cursor:pointer;transition:background var(--fast),box-shadow var(--fast)}.data-table tbody tr:hover{background:var(--primary-container)}.data-table tbody tr:focus-visible{outline:3px solid var(--primary-container);outline-offset:-3px}.data-table tbody tr:last-child td{border-bottom:0}.cell-company,.cell-title,.cell-location,.cell-date{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-company{font-weight:800}.cell-title{color:var(--text-1);font-weight:650}.cell-location,.cell-date{color:var(--text-2);font-size:.82rem}.cell-num{color:var(--text-1);font-weight:750;text-align:center;white-space:nowrap}.evidence-cell{overflow:visible}.evidence-cell-content{display:inline-flex;align-items:center;gap:7px;min-width:112px}.cell-sources{display:flex;flex-wrap:wrap;gap:4px}.source-tag{max-width:100%;overflow:hidden;padding:3px 6px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:.68rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.evidence-pill{min-width:82px;min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 9px;border:1px solid var(--ghost-border);border-radius:999px;background:var(--surface-1);color:var(--text-1);font-size:.76rem;font-weight:800;white-space:nowrap}.evidence-meter{position:relative;display:block;width:34px;height:6px;overflow:hidden;border-radius:999px;background:var(--surface-3)}.evidence-meter:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:var(--score);border-radius:inherit;background:var(--primary)}.evidence-strong{background:var(--red-container);color:var(--red)}.evidence-moderate{background:var(--tertiary-container);color:var(--tertiary)}.evidence-developing{background:var(--primary-container);color:var(--primary)}.evidence-strong .evidence-meter:after{background:var(--red)}.evidence-moderate .evidence-meter:after{background:var(--tertiary)}.evidence-developing .evidence-meter:after{background:var(--primary)}.ghost-explain-trigger{width:26px;height:26px;flex:0 0 auto;display:inline-grid;place-items:center;border:1px solid var(--ghost-border);border-radius:999px;background:var(--surface-0);color:var(--text-2);cursor:help;font-size:.78rem;font-weight:900;line-height:1;transition:border-color var(--fast),background var(--fast),color var(--fast),transform var(--fast)}.ghost-explain-trigger:hover,.ghost-explain-trigger:focus-visible{border-color:var(--primary);background:var(--primary-container);color:var(--primary);transform:translateY(-1px)}.ghost-explain-trigger-compact{width:22px;height:22px;border-color:currentColor;background:transparent;color:currentColor;font-size:.7rem}.ghost-hover-card{position:fixed;top:0;left:0;z-index:2000;width:min(330px,calc(100vw - 24px));padding:12px 13px;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);color:var(--text-2);box-shadow:0 18px 48px #1520332e;font-size:.8rem;line-height:1.5;opacity:0;pointer-events:none;transform:translateY(4px);transition:opacity var(--fast),transform var(--fast),visibility var(--fast);visibility:hidden}.ghost-hover-card.visible{opacity:1;transform:translateY(0);visibility:visible}.ghost-hover-card strong{display:block;margin-bottom:6px;color:var(--text-1);font-size:.82rem;font-weight:900}.ghost-hover-card p+p{margin-top:7px}.loading-row td,.empty-row td{padding:44px 24px;color:var(--text-2);font-size:.94rem;font-weight:600;text-align:center}.empty-row code{padding:2px 5px;border-radius:var(--radius-sm);background:var(--surface-2);color:var(--text-1)}.details-drawer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;justify-content:flex-end;visibility:hidden;transition:visibility var(--slow)}.details-drawer.active{visibility:visible}.drawer-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1520336b;opacity:0;transition:opacity var(--slow);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}.details-drawer.active .drawer-backdrop{opacity:1}.drawer-content{position:relative;z-index:2;width:min(620px,100%);height:100%;display:flex;flex-direction:column;border-left:1px solid var(--ghost-border);background:var(--surface-0);box-shadow:-20px 0 60px #1520332e;transform:translate(100%);transition:transform var(--slow)}.details-drawer.active .drawer-content{transform:translate(0)}.drawer-header{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 22px;border-bottom:1px solid var(--ghost-border);background:var(--surface-0)}.drawer-close-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid transparent;border-radius:var(--radius-md);background:transparent;color:var(--text-2);cursor:pointer;transition:background var(--fast),color var(--fast),border-color var(--fast)}.drawer-close-btn:hover{border-color:var(--ghost-border);background:var(--surface-1);color:var(--text-1)}.drawer-job-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px;border-radius:999px;font-size:.78rem;font-weight:800}.badge-ghost{background:var(--tertiary-container);color:var(--tertiary)}.drawer-body{flex:1;display:flex;flex-direction:column;gap:22px;overflow-y:auto;padding:24px 22px;background:var(--bg)}.drawer-body::-webkit-scrollbar{width:7px}.drawer-body::-webkit-scrollbar-track{background:transparent}.drawer-body::-webkit-scrollbar-thumb{border-radius:999px;background:var(--surface-3)}.drawer-meta-section{display:flex;flex-direction:column;gap:5px}.drawer-title{color:var(--text-1);font-size:1.65rem;font-weight:800;line-height:1.2}.drawer-company{color:var(--primary);font-size:.98rem;font-weight:800}.drawer-location{color:var(--text-2);font-size:.92rem}.analysis-box,.drawer-section{display:flex;flex-direction:column;gap:14px;padding:18px;border:1px solid var(--ghost-border);border-radius:var(--radius-md);background:var(--surface-0);box-shadow:0 12px 32px var(--shadow)}.analysis-box-title,.drawer-section-title,.analysis-stat-label{color:var(--text-2);font-size:.76rem;font-weight:800}.analysis-status-message{color:var(--text-1);font-size:.95rem;line-height:1.65}.analysis-status-message strong{color:var(--primary)}.analysis-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.analysis-stat{min-width:0;display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:var(--radius-sm);background:var(--surface-1)}.analysis-stat-value{overflow:hidden;color:var(--text-1);font-size:.86rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.evidence-breakdown{display:flex;flex-direction:column;gap:9px}.evidence-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(110px,160px) 36px;align-items:center;gap:12px;font-size:.8rem}.evidence-row-label{display:block;color:var(--text-1);font-weight:800}.evidence-row-detail{display:block;color:var(--text-3)}.evidence-bar{height:7px;overflow:hidden;border-radius:999px;background:var(--surface-2)}.evidence-bar span{display:block;height:100%;border-radius:inherit;background:var(--primary)}.evidence-row strong{color:var(--text-1);font-size:.78rem;text-align:right}.sighting-timeline-section{display:flex;flex-direction:column;gap:8px}.sighting-grid{display:grid;grid-template-columns:repeat(15,1fr);gap:4px}.sighting-block{position:relative;min-width:0;aspect-ratio:1;border-radius:3px;background:var(--surface-3)}.sighting-block.active{background:var(--success)}.sighting-block.ghost-missing{background:var(--tertiary);opacity:.45}.sighting-block:after{content:attr(data-date);position:absolute;bottom:calc(100% + 6px);left:50%;z-index:10;max-width:180px;padding:4px 7px;border:1px solid var(--ghost-border);border-radius:var(--radius-sm);background:var(--surface-0);color:var(--text-1);font-size:.68rem;font-weight:700;opacity:0;pointer-events:none;transform:translate(-50%) translateY(4px);transition:opacity var(--fast),transform var(--fast);white-space:nowrap}.sighting-block:hover:after{opacity:1;transform:translate(-50%) translateY(0)}.sighting-grid-legend{display:flex;justify-content:space-between;color:var(--text-3);font-size:.76rem;font-weight:600}.meta-list{display:flex;flex-direction:column;gap:10px}.meta-row{display:grid;grid-template-columns:minmax(110px,38%) 1fr;gap:14px;align-items:start;font-size:.86rem}.meta-row-label{color:var(--text-2);font-weight:700}.meta-row-val{min-width:0;color:var(--text-1);font-weight:650;overflow-wrap:anywhere}.job-description-content{color:var(--text-2);font-size:.92rem;line-height:1.7;white-space:pre-line}.drawer-footer{padding:16px 22px;border-top:1px solid var(--ghost-border);background:var(--surface-0)}.primary-gradient-btn{width:100%;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 16px;border-radius:var(--radius-md);background:var(--primary);color:#fff;font-size:.92rem;font-weight:800;box-shadow:0 12px 26px #2563eb3d;transition:background var(--fast),box-shadow var(--fast),transform var(--fast)}.primary-gradient-btn:hover{background:var(--primary-hover);color:#fff;box-shadow:0 16px 30px #2563eb47;transform:translateY(-1px)}.editorial-footer{display:flex;flex-direction:column;gap:18px;margin-top:20px;padding-top:22px;border-top:1px solid var(--ghost-border)}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px}.footer-logo{color:var(--text-1);font-size:1rem;font-weight:800}.footer-tagline,.footer-meta-text,.footer-bottom{color:var(--text-3);font-size:.82rem}.footer-meta-title{margin-bottom:6px;color:var(--text-2);font-size:.82rem;font-weight:800}.footer-bottom{display:flex;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--ghost-border);font-weight:650}@media (max-width: 1024px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.col-location,.col-sources{display:none}.data-table{min-width:760px}.col-company{width:17%}.col-title{width:28%}.col-days,.col-reposts{width:10%}.col-evidence{width:17%}.col-first,.col-lastseen{width:9%}.footer-grid{grid-template-columns:1fr}}@media (max-width: 720px){.app-container{padding:18px 14px 32px;gap:18px}.app-header{flex-direction:column;align-items:stretch;gap:16px}.app-title{font-size:1.75rem}.header-actions{justify-content:space-between}.status-pill{flex:1;min-width:0;overflow:hidden}#header-date{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.toolbar{top:8px}.search-box{width:100%}.catalog-header-bar{align-items:flex-start;flex-direction:column;gap:4px}.drawer-content{border-left:0}.analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.evidence-row{grid-template-columns:1fr;gap:5px}.evidence-row strong{text-align:left}}@media (max-width: 560px){.metrics-grid{grid-template-columns:1fr}.metric-card{min-height:112px}.col-first,.col-reposts{display:none}.data-table{min-width:560px}.loading-row td,.empty-row td{text-align:left;white-space:normal}.col-company{width:25%}.col-title{width:31%}.col-days{width:15%}.col-evidence{width:19%}.col-lastseen{width:10%}.drawer-header,.drawer-body,.drawer-footer{padding-left:16px;padding-right:16px}.meta-row{grid-template-columns:1fr;gap:2px}.footer-bottom{flex-direction:column}}:where(:root,[data-agent-theme=light]){--agent-bg: #ffffff;--agent-panel: #f5f5f7;--agent-panel-2: #e8e8ed;--agent-border: #ebebf0;--agent-border-2: #d2d2d7;--agent-text: #1d1d1f;--agent-muted: #6e6e73;--agent-faint: #86868b}[data-agent-theme=dark]{--agent-bg: #000000;--agent-panel: #1c1c1e;--agent-panel-2: #2c2c2e;--agent-border: #2c2c2e;--agent-border-2: #48484a;--agent-text: #f5f5f7;--agent-muted: #a1a1a6;--agent-faint: #6e6e73}:where(:root,[data-agent-theme]){--agent-accent: #0071e3;--agent-accent-dim: color-mix(in srgb, var(--agent-accent) 10%, transparent);--agent-accent-soft: color-mix(in srgb, var(--agent-accent) 18%, transparent);--agent-accent-fg: color-mix(in srgb, var(--agent-accent) 80%, var(--agent-text));--agent-status-idle: var(--agent-faint);--agent-status-queued: #ff9500;--agent-status-running: #007aff;--agent-status-success: #34c759;--agent-status-done: #34c759;--agent-status-warn: #ff9500;--agent-status-error: #ff3b30;--agent-status-model: #af52de;--agent-status-streaming: #af52de;--agent-font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;--agent-font-mono: ui-monospace, "SF Mono", "Menlo", "Cascadia Code", monospace;--agent-fs-display: 48px;--agent-fs-h2: 32px;--agent-fs-title: 17px;--agent-fs-body: 15px;--agent-fs-mono: 12px;--agent-space-1: 4px;--agent-space-2: 8px;--agent-space-3: 12px;--agent-space-4: 20px;--agent-space-6: 32px;--agent-space-8: 72px;--agent-radius-sm: 12px;--agent-radius-md: 18px;--agent-radius-lg: 24px;--agent-radius-pill: 999px}@keyframes agent-pulse-dot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.82)}}@keyframes agent-blink{0%,to{opacity:1}50%{opacity:.25}}@keyframes agent-spin{to{transform:rotate(360deg)}}@keyframes agent-dotbounce{0%,80%,to{transform:translateY(0);opacity:.4}40%{transform:translateY(-3px);opacity:1}}@keyframes agent-bar-in{0%{transform:scaleY(.15)}to{transform:scaleY(1)}}.agent-ui{font-family:var(--agent-font-sans);color:var(--agent-text);-webkit-font-smoothing:antialiased;line-height:1.5}.agent-ui *,.agent-ui *:before,.agent-ui *:after{box-sizing:border-box}.agent-ui ::selection{background:var(--agent-accent-soft)}.agent-ui ::-webkit-scrollbar{width:10px;height:10px}.agent-ui ::-webkit-scrollbar-thumb{background:#808c9647;border-radius:6px}.agent-ui ::-webkit-scrollbar-track{background:transparent}.agent-mono{font-family:var(--agent-font-mono)}.agent-card{background:var(--agent-panel);border-radius:var(--agent-radius-md);padding:var(--agent-space-6)}.agent-section{margin-bottom:var(--agent-space-8)}.agent-section__eyebrow{font-size:14px;font-weight:600;color:var(--agent-accent);margin-bottom:var(--agent-space-2)}.agent-section__title{font-size:var(--agent-fs-h2);font-weight:700;letter-spacing:-.022em;line-height:1.15;margin:0 0 var(--agent-space-3)}.agent-section__lead{color:var(--agent-muted);font-size:17px;line-height:1.5;max-width:56ch;margin:0 0 var(--agent-space-6)}.agent-pill{display:inline-flex;align-items:center;gap:6px;font-family:var(--agent-font-sans);font-size:12px;font-weight:600;padding:5px 12px 5px 10px;border-radius:var(--agent-radius-pill);background:var(--agent-panel);color:var(--agent-muted);white-space:nowrap}.agent-pill__dot{width:7px;height:7px;border-radius:50%;background:var(--agent-status-idle);flex:0 0 auto}.agent-pill[data-state]{color:var(--_fg);background:color-mix(in srgb,var(--_c) 12%,transparent)}.agent-pill[data-state] .agent-pill__dot{background:var(--_c)}.agent-pill[data-state=idle]{--_c: var(--agent-status-idle);--_fg: var(--agent-muted);background:var(--agent-panel)}.agent-pill[data-state=queued]{--_c: var(--agent-status-queued);--_fg: color-mix(in srgb, var(--agent-status-queued) 75%, var(--agent-text))}.agent-pill[data-state=running]{--_c: var(--agent-status-running);--_fg: color-mix(in srgb, var(--agent-status-running) 75%, var(--agent-text))}.agent-pill[data-state=running] .agent-pill__dot,.agent-pill[data-state=streaming] .agent-pill__dot{animation:agent-pulse-dot 1.4s infinite}.agent-pill[data-state=done],.agent-pill[data-state=success]{--_c: var(--agent-status-success);--_fg: color-mix(in srgb, var(--agent-status-success) 70%, var(--agent-text))}.agent-pill[data-state=error]{--_c: var(--agent-status-error);--_fg: color-mix(in srgb, var(--agent-status-error) 78%, var(--agent-text))}.agent-pill[data-state=streaming]{--_c: var(--agent-status-streaming);--_fg: color-mix(in srgb, var(--agent-status-streaming) 75%, var(--agent-text))}.agent-pill[data-state=streaming] .agent-pill__dot{animation:agent-blink 1.1s infinite}.agent-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:var(--agent-font-sans);font-size:15px;font-weight:500;line-height:1;padding:11px 22px;border-radius:var(--agent-radius-pill);border:none;cursor:pointer;transition:background .18s,color .18s,opacity .18s,transform .18s;white-space:nowrap}.agent-btn:active:not(:disabled){transform:scale(.97)}.agent-btn:disabled{opacity:.4;cursor:not-allowed}.agent-btn[data-variant=primary]{background:var(--agent-accent);color:#fff}.agent-btn[data-variant=primary]:hover:not(:disabled){filter:brightness(1.08)}.agent-btn[data-variant=secondary]{background:var(--agent-panel-2);color:var(--agent-text)}.agent-btn[data-variant=secondary]:hover:not(:disabled){background:color-mix(in srgb,var(--agent-panel-2) 82%,var(--agent-text))}.agent-btn[data-variant=ghost]{background:transparent;color:var(--agent-accent)}.agent-btn[data-variant=ghost]:hover:not(:disabled){background:var(--agent-accent-dim)}.agent-btn[data-variant=danger]{background:color-mix(in srgb,var(--agent-status-error) 12%,transparent);color:var(--agent-status-error)}.agent-btn[data-variant=danger]:hover:not(:disabled){background:color-mix(in srgb,var(--agent-status-error) 20%,transparent)}.agent-btn__spinner{width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:agent-spin .7s linear infinite}.agent-input-wrap{display:flex;align-items:center;gap:8px;background:var(--agent-panel);border:1px solid transparent;border-radius:var(--agent-radius-sm);padding:11px 14px;transition:border-color .18s,box-shadow .18s}.agent-input-wrap:focus-within{border-color:var(--agent-accent);box-shadow:0 0 0 3px var(--agent-accent-dim)}.agent-input-wrap__icon{color:var(--agent-faint);font-family:var(--agent-font-mono);flex:0 0 auto}.agent-input{flex:1 1 auto;min-width:0;background:transparent;border:none;outline:none;color:var(--agent-text);font-family:var(--agent-font-sans);font-size:var(--agent-fs-body)}.agent-input::placeholder{color:var(--agent-faint)}.agent-input--mono{font-family:var(--agent-font-mono);font-size:var(--agent-fs-mono)}.agent-chat{display:flex;flex-direction:column;background:var(--agent-panel);border-radius:var(--agent-radius-lg);overflow:hidden}.agent-chat__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;background:transparent}.agent-chat__title{font-size:15px;font-weight:600}.agent-chat__body{display:flex;flex-direction:column;gap:20px;padding:8px 22px 22px;overflow-y:auto}.agent-msg{display:flex;gap:10px}.agent-msg[data-role=user]{flex-direction:row-reverse}.agent-msg__avatar{width:28px;height:28px;flex:0 0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.agent-msg[data-role=assistant] .agent-msg__avatar{background:var(--agent-accent-soft);color:var(--agent-accent-fg)}.agent-msg[data-role=user] .agent-msg__avatar{background:var(--agent-panel-2);color:var(--agent-text)}.agent-msg__bubble{max-width:78%;border-radius:var(--agent-radius-md);padding:12px 16px;font-size:var(--agent-fs-body);line-height:1.45}.agent-msg[data-role=assistant] .agent-msg__bubble{background:var(--agent-bg)}.agent-msg[data-role=user] .agent-msg__bubble{background:var(--agent-accent);color:#fff}.agent-msg__cites{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.agent-cite{font-size:11px;font-weight:600;color:var(--agent-accent-fg);background:var(--agent-accent-dim);padding:3px 9px;border-radius:var(--agent-radius-pill);cursor:default}.agent-typing{display:inline-flex;gap:3px;align-items:center}.agent-typing span{width:6px;height:6px;border-radius:50%;background:var(--agent-faint);animation:agent-dotbounce 1.2s infinite}.agent-typing span:nth-child(2){animation-delay:.15s}.agent-typing span:nth-child(3){animation-delay:.3s}.agent-chat__composer{display:flex;align-items:flex-end;gap:10px;padding:14px 22px 18px;background:transparent}.agent-chat__textarea{flex:1 1 auto;resize:none;max-height:140px;background:var(--agent-bg);border:1px solid transparent;border-radius:var(--agent-radius-md);color:var(--agent-text);font-family:var(--agent-font-sans);font-size:var(--agent-fs-body);padding:11px 16px;outline:none;transition:border-color .18s,box-shadow .18s}.agent-chat__textarea:focus{border-color:var(--agent-accent);box-shadow:0 0 0 3px var(--agent-accent-dim)}.agent-chat__model{font-size:11px;color:var(--agent-faint);padding-bottom:6px}.agent-chat__send{width:38px;height:38px;flex:0 0 auto;border:none;border-radius:50%;background:var(--agent-accent);color:#fff;font-size:16px;cursor:pointer;transition:filter .18s,transform .18s}.agent-chat__send:hover:not(:disabled){filter:brightness(1.08)}.agent-chat__send:active:not(:disabled){transform:scale(.94)}.agent-chat__send:disabled{opacity:.4;cursor:not-allowed}.agent-tool{border-radius:var(--agent-radius-md);background:var(--agent-panel);overflow:hidden}.agent-tool__head{display:flex;align-items:center;gap:10px;width:100%;padding:15px 18px;background:transparent;border:none;cursor:pointer;text-align:left;color:var(--agent-text)}.agent-tool__chevron{color:var(--agent-faint);font-size:11px;width:12px;transition:transform .18s}.agent-tool__glyph{color:var(--agent-accent);font-weight:600}.agent-tool__name{font-family:var(--agent-font-mono);font-size:13px;font-weight:500}.agent-tool__spacer{flex:1 1 auto}.agent-tool__duration{font-size:12px;color:var(--agent-faint);font-variant-numeric:tabular-nums}.agent-tool__body{padding:2px 18px 18px;display:grid;gap:12px}.agent-tool__block-label{font-size:12px;font-weight:600;color:var(--agent-muted);margin-bottom:6px}.agent-code{font-family:var(--agent-font-mono);font-size:var(--agent-fs-mono);line-height:1.6;white-space:pre-wrap;background:var(--agent-bg);border-radius:var(--agent-radius-sm);padding:12px 15px;color:var(--agent-text);margin:0;overflow-x:auto}.agent-timeline{display:flex;flex-direction:column}.agent-timeline__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.agent-timeline__task{font-size:13px;color:var(--agent-muted)}.agent-step{display:flex;gap:14px}.agent-step__rail{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.agent-step__dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--agent-status-success);background:var(--agent-status-success)}.agent-step[data-state=running] .agent-step__dot{border-color:var(--agent-status-running);background:var(--agent-status-running);animation:agent-pulse-dot 1.4s infinite}.agent-step[data-state=pending] .agent-step__dot{border-color:var(--agent-border-2);background:transparent}.agent-step__line{width:2px;flex:1 1 auto;min-height:16px;background:var(--agent-panel-2);margin:4px 0;border-radius:1px}.agent-step[data-last=true] .agent-step__line{display:none}.agent-step__content{padding-bottom:20px;min-width:0;flex:1 1 auto}.agent-step__heading{display:flex;align-items:baseline;gap:8px}.agent-step__kind{font-size:12px;font-weight:600}.agent-step__title{font-size:var(--agent-fs-body);font-weight:600}.agent-step__time{font-size:12px;color:var(--agent-faint);margin-left:auto;font-variant-numeric:tabular-nums}.agent-step__text{font-size:14px;color:var(--agent-muted);margin-top:5px;line-height:1.45}.agent-step__text--mono{font-family:var(--agent-font-mono);font-size:var(--agent-fs-mono);color:var(--agent-text);background:var(--agent-bg);border-radius:var(--agent-radius-sm);padding:11px 14px}.agent-router__flow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--agent-muted);margin-bottom:20px}.agent-router__chip{background:var(--agent-panel);border-radius:var(--agent-radius-pill);padding:6px 13px;color:var(--agent-text);font-weight:500}.agent-router__arrow{color:var(--agent-faint)}.agent-models{display:grid;gap:12px}.agent-model{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:16px 20px;border-radius:var(--agent-radius-md);border:none;background:var(--agent-panel);cursor:pointer;transition:box-shadow .18s,background .18s;color:var(--agent-text)}.agent-model:hover{background:color-mix(in srgb,var(--agent-panel) 88%,var(--agent-text))}.agent-model[data-selected=true]{box-shadow:0 0 0 2px var(--agent-accent)}.agent-model__main{min-width:0;flex:1 1 auto}.agent-model__name{font-family:var(--agent-font-mono);font-size:13px;font-weight:500}.agent-model__role{font-size:13px;color:var(--agent-muted);margin-top:3px}.agent-model__tag{font-size:10px;font-weight:700;letter-spacing:.04em;padding:4px 9px;border-radius:var(--agent-radius-pill)}.agent-model__stats{display:flex;gap:20px;flex:0 0 auto}.agent-model__stat{text-align:right}.agent-model__stat-label{font-size:11px;color:var(--agent-faint)}.agent-model__stat-value{font-size:13px;color:var(--agent-text);margin-top:2px;font-variant-numeric:tabular-nums}.agent-context-bar{margin-top:18px}.agent-context-bar__track{display:flex;height:8px;border-radius:var(--agent-radius-pill);overflow:hidden;background:var(--agent-panel)}.agent-context-bar__seg--prompt{background:var(--agent-accent)}.agent-context-bar__seg--completion{background:var(--agent-status-streaming)}.agent-context-bar__legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--agent-muted);margin-top:10px;font-variant-numeric:tabular-nums}.agent-source-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.agent-source-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:500;color:var(--agent-muted);background:var(--agent-panel);border-radius:var(--agent-radius-pill);padding:6px 13px}.agent-source-chip__meta{color:var(--agent-faint)}.agent-retrieval{display:grid;gap:10px}.agent-ret{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start;padding:15px 18px;border-radius:var(--agent-radius-md);background:var(--agent-panel)}.agent-ret__n{font-size:12px;font-weight:700;color:var(--agent-accent-fg);padding-top:1px}.agent-ret__src{font-family:var(--agent-font-mono);font-size:12px;font-weight:500}.agent-ret__loc{font-size:12px;color:var(--agent-faint);margin-left:8px}.agent-ret__snippet{font-size:13px;color:var(--agent-muted);margin-top:6px;line-height:1.45}.agent-ret__score{text-align:right}.agent-ret__score-val{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.agent-ret__score-bar{width:56px;height:4px;border-radius:3px;background:var(--agent-panel-2);overflow:hidden;margin-top:6px}.agent-ret__score-fill{height:100%;border-radius:3px}.agent-workflow{display:flex;flex-wrap:wrap;align-items:stretch;gap:0}.agent-node{display:flex;flex-direction:column;min-width:150px;border-radius:var(--agent-radius-md);background:var(--agent-panel);overflow:hidden}.agent-node__head{display:flex;align-items:center;gap:8px;padding:11px 14px 0}.agent-node__icon{width:26px;height:26px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:13px}.agent-node__type{font-size:11px;font-weight:600}.agent-node__body{padding:8px 14px 13px}.agent-node__title{font-size:14px;font-weight:600}.agent-node__sub{font-size:12px;color:var(--agent-faint);margin-top:3px}.agent-workflow__arrow{display:flex;align-items:center;padding:0 8px;color:var(--agent-faint);font-size:16px}.agent-services{display:grid;gap:10px}.agent-service{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:16px;padding:15px 20px;border-radius:var(--agent-radius-md);background:var(--agent-panel)}.agent-service__dot{width:9px;height:9px;border-radius:50%}.agent-service__name{font-weight:600;font-size:14px}.agent-service__url{font-family:var(--agent-font-mono);font-size:11px;color:var(--agent-faint);margin-top:3px}.agent-service__status{font-size:13px;font-weight:500}.agent-service__metrics{font-size:12px;color:var(--agent-muted);text-align:right;font-variant-numeric:tabular-nums}.agent-resources{display:grid;gap:14px;margin-top:4px}.agent-resource__row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:6px}.agent-resource__label{color:var(--agent-muted)}.agent-resource__value{color:var(--agent-text);font-variant-numeric:tabular-nums}.agent-resource__track{height:6px;border-radius:3px;background:var(--agent-panel-2);overflow:hidden}.agent-resource__fill{height:100%;border-radius:3px}.agent-logtail{font-family:var(--agent-font-mono);font-size:11px;line-height:1.7;background:var(--agent-bg);border-radius:var(--agent-radius-sm);padding:12px 15px;display:grid;gap:3px;overflow-x:auto}.agent-logtail__line{white-space:pre;color:var(--agent-muted)}.agent-logtail__time{color:var(--agent-faint)}.agent-logtail__level{font-weight:600}.agent-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.agent-metric{border-radius:var(--agent-radius-md);background:var(--agent-panel);padding:20px}.agent-metric__label{font-size:13px;font-weight:500;color:var(--agent-muted)}.agent-metric__value{font-size:28px;font-weight:700;letter-spacing:-.02em;margin-top:5px;font-variant-numeric:tabular-nums}.agent-metric__delta{font-size:13px;font-weight:600;margin-top:3px;font-variant-numeric:tabular-nums}.agent-sparkline{display:flex;align-items:flex-end;gap:3px;height:34px;margin-top:14px}.agent-sparkline__bar{flex:1 1 0;border-radius:2px;transform-origin:bottom;animation:agent-bar-in .5s ease both}.agent-positions{width:100%;border-collapse:collapse;font-size:14px}.agent-positions th{text-align:left;font-size:12px;color:var(--agent-muted);font-weight:600;padding:8px 12px;border-bottom:1px solid var(--agent-border-2)}.agent-positions th:not(:first-child),.agent-positions td:not(:first-child){text-align:right}.agent-positions td{padding:12px;border-bottom:1px solid color-mix(in srgb,var(--agent-border-2) 45%,transparent);font-variant-numeric:tabular-nums}.agent-positions tr:last-child td{border-bottom:none}.agent-positions__sym{font-weight:600}.agent-positions__num{font-variant-numeric:tabular-nums}[data-agent-theme=light]{color-scheme:light;--bg: var(--agent-bg);--surface-0: var(--agent-bg);--surface-1: var(--agent-panel);--surface-2: var(--agent-panel-2);--surface-3: var(--agent-border-2);--surface-dim: var(--agent-border-2);--text-1: var(--agent-text);--text-2: var(--agent-muted);--text-3: var(--agent-faint);--primary: var(--agent-accent);--primary-hover: color-mix(in srgb, var(--agent-accent) 86%, #ffffff);--primary-container: var(--agent-accent-dim);--tertiary: var(--agent-status-warn);--tertiary-container: color-mix(in srgb, var(--agent-status-warn) 12%, transparent);--success: var(--agent-status-success);--success-container: color-mix(in srgb, var(--agent-status-success) 12%, transparent);--red: var(--agent-status-error);--red-container: color-mix(in srgb, var(--agent-status-error) 12%, transparent);--ghost-border: var(--agent-border);--glass-bg: color-mix(in srgb, var(--agent-bg) 88%, transparent)}[data-agent-theme=dark]{color-scheme:dark;--bg: var(--agent-bg);--surface-0: var(--agent-panel);--surface-1: var(--agent-panel);--surface-2: var(--agent-panel-2);--surface-3: var(--agent-border-2);--surface-dim: var(--agent-border-2);--text-1: var(--agent-text);--text-2: var(--agent-muted);--text-3: var(--agent-faint);--primary: var(--agent-accent);--primary-hover: color-mix(in srgb, var(--agent-accent) 78%, #ffffff);--primary-container: var(--agent-accent-dim);--tertiary: var(--agent-status-warn);--tertiary-container: color-mix(in srgb, var(--agent-status-warn) 16%, transparent);--success: var(--agent-status-success);--success-container: color-mix(in srgb, var(--agent-status-success) 16%, transparent);--red: var(--agent-status-error);--red-container: color-mix(in srgb, var(--agent-status-error) 16%, transparent);--ghost-border: var(--agent-border);--glass-bg: color-mix(in srgb, var(--agent-panel) 88%, transparent)}[data-agent-theme]{--shadow: transparent;--radius-sm: var(--agent-radius-sm);--radius-md: var(--agent-radius-md)}.agent-ui .texture-overlay{display:none}
