:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f7f8fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}button{border:0}.app-shell{display:grid;grid-template-columns:248px minmax(0,1fr);height:100vh;background:#f7f8fa;overflow:hidden}.main-area{min-width:0;display:flex;flex-direction:column;min-height:0;height:100vh;overflow:hidden}.sidebar{position:sticky;top:0;height:100vh;min-width:0;max-width:248px;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #e4e7ec;background:#fff}.sidebar-top{display:grid;gap:10px;padding:15px 12px 12px;border-bottom:1px solid #f0f2f5}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:10px}.sidebar-brand strong{color:#172033;font-size:14px;white-space:nowrap}.sidebar-close{display:none;width:34px;height:34px;border-radius:8px;background:transparent;cursor:pointer}.new-chat-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;border:0;border-radius:8px;color:#fff;background:#0f4c81;font-size:13px;font-weight:800;cursor:pointer}.sidebar-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:10px}.sidebar-section{min-width:0;display:grid;gap:2px;margin-bottom:14px}.sidebar-section p{margin:0 0 5px;padding:0 7px;color:#64748b;font-size:12px;font-weight:800}.sidebar-section button,.recent-chat{width:100%;display:flex;align-items:center;gap:7px;min-height:32px;padding:0 8px;border-radius:8px;color:#536276;background:transparent;text-align:left;cursor:pointer}.sidebar-section button:hover,.recent-chat:hover{background:#f7f8fa}.recent-chat.active,.sidebar-section button.active{color:#0f4c81;background:#edf5fc;font-weight:800}.sidebar-section button:disabled{color:#98a2b3;cursor:not-allowed;opacity:1}.recent-chat{min-width:0;max-width:100%;display:block;min-height:28px;padding-left:8px;color:#667085;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-chat-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:2px}.recent-delete{flex-shrink:0;width:28px;height:28px;border-radius:8px;color:#98a2b3;background:transparent;cursor:pointer}.recent-delete:hover{color:#b42318;background:#fff1f3}.danger-lite{color:#b42318}.sidebar-empty{padding:4px 8px;color:#94a3b8;font-size:12px;line-height:1.45}.sidebar-error{display:grid;gap:6px;padding:8px;color:#b42318;font-size:12px;line-height:1.4}.sidebar-error button{min-height:28px;border:1px solid #f3b7bd;border-radius:8px;color:#b42318;background:#fff7f7;cursor:pointer}.sidebar-footer{display:grid;padding:10px;border-top:1px solid #f0f2f5}.sidebar-account{width:100%;display:grid;grid-template-columns:30px 1fr 18px;align-items:center;gap:9px;min-height:52px;padding:7px 8px;border-radius:8px;color:#536276;background:transparent;text-align:left;cursor:pointer}.sidebar-account-row{display:grid;grid-template-columns:1fr 34px;align-items:center;gap:4px}.sidebar-account.static{grid-template-columns:30px 1fr;cursor:default}.sidebar-account:hover{background:#f7f8fa}.sidebar-account.static:hover{background:transparent}.sidebar-logout{width:34px;height:34px;border-radius:8px;color:#667085;background:transparent;cursor:pointer}.sidebar-logout:hover{color:#b42318;background:#fff1f3}.sidebar-account span{display:grid;gap:2px;min-width:0}.sidebar-account strong{color:#172033;font-size:13px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account small{color:#667085;font-size:12px;line-height:1.2}.sidebar-scrim{display:none}.top-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:60px;padding:0 28px;border-bottom:1px solid #eef0f3;background:#fff}.mobile-menu{display:none;width:38px;height:38px;border-radius:8px;border:1px solid #e4e7ec;background:#fff;cursor:pointer}.title-block{min-width:0}h1{margin:0;color:#172033;font-size:19px;line-height:1.18;letter-spacing:0;white-space:nowrap}.title-block p,.section-header p,.empty-state p,.confirm-dialog p{margin:6px 0 0;color:#64748b;line-height:1.45}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.chat-page{position:relative;flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden}.chat-scroll{flex:1;overflow-y:auto;overflow-x:hidden;min-height:0;padding:26px 28px 24px}.chat-thread{width:min(880px,100%);max-width:100%;margin:0 auto}.chat-empty{min-height:calc(100vh - 260px);display:grid;place-content:center;gap:18px;text-align:center}.chat-empty h2{margin:0;font-size:28px;letter-spacing:0}.chat-empty p{margin:0;color:#64748b;line-height:1.6}.chat-empty .login-required{color:#b42318;font-size:13px}.chat-message{width:100%;max-width:100%;margin-bottom:28px}.message-author{display:inline-flex;align-items:center;gap:7px;margin-bottom:5px;color:#667085;font-size:12px;font-weight:800}.assistant-mark{display:inline-grid;width:22px;height:22px;place-items:center;border-radius:8px;color:#0f4c81;background:#edf5fc;font-size:12px}.user-message{display:grid;justify-items:end}.user-message .message-author{justify-self:end}.user-message .answer-body,.user-message .formatted-text{width:100%;justify-items:end}.user-message-body{width:fit-content;max-width:min(82%,620px);max-height:420px;overflow:auto;padding:10px 13px;border-radius:12px;color:#fff;background:#0f4c81;font-size:15px;line-height:1.58;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}.user-message-body.multiline{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px}.assistant-message{display:block}.assistant-message .answer-body{padding:0;border:0;border-radius:0;background:transparent}.message-error .answer-body{padding:12px 14px;border-radius:8px;color:#842029;background:#fff7f7}.typing-state{display:inline-flex;align-items:center;gap:7px;margin:4px 0 2px 36px;color:#536276;font-size:14px;font-weight:800;line-height:1.6}.typing-text{color:#0f4c81;animation:softBlink 1.4s infinite ease-in-out}.typing-time{min-width:30px;color:#536276;font-variant-numeric:tabular-nums;font-weight:800}.generation-notice{margin:0 0 10px;padding:9px 10px;border:1px solid #fedf89;border-radius:8px;color:#93370d;background:#fffbeb;font-size:13px;font-weight:700;line-height:1.55}.generation-notice.neutral{border-color:#d8e1ee;color:#536276;background:#f8fafc}.monitoring-page{width:100%;min-width:0;align-content:start}.vllm-monitoring section{display:grid;gap:10px;min-width:0}.monitoring-intro>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.monitoring-intro>div h1{margin:0}.monitoring-intro p{margin:0}.freshness-line{display:flex;align-items:center;gap:5px;color:#536276;font-size:12px}.freshness-line.fresh{color:#067647}.freshness-line.delayed{color:#b54708}.freshness-line.stale,.freshness-line.unavailable{color:#b42318}.monitor-diagnosis{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-left:3px solid #1769aa;background:#eff8ff;color:#1849a9;font-size:13px}.monitor-diagnosis>div{display:grid;gap:2px}.monitor-diagnosis strong{font-size:12px}.monitor-diagnosis span{color:#344054;line-height:1.45}.monitor-diagnosis.idle{border-color:#667085;background:#f2f4f7;color:#475467}.monitor-diagnosis.warning{border-color:#d97706;background:#fffaeb;color:#b54708}.monitor-diagnosis.degraded,.monitor-diagnosis.critical,.monitor-diagnosis.stale,.monitor-diagnosis.unavailable{border-color:#dc2626;background:#fef3f2;color:#b42318}.monitor-kpis,.monitoring-card-grid.kpi{width:100%;min-width:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.monitor-kpi{min-width:0;min-height:108px;padding:13px;border:1px solid #d8e1ee;border-radius:6px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:7px}.monitor-kpi>span{display:flex;align-items:center;gap:5px;color:#667085;font-size:12px}.monitor-kpi strong{font-size:20px;color:#101828;overflow-wrap:anywhere}.monitor-kpi small{min-height:15px;color:#667085;font-size:11px;line-height:1.35}.monitor-kpi.healthy{border-left:3px solid #16a34a}.monitor-kpi.warning{border-left:3px solid #d97706}.monitor-kpi.degraded,.monitor-kpi.critical,.monitor-kpi.stale,.monitor-kpi.unavailable{border-left:3px solid #dc2626}.monitor-kpi.idle{border-left:3px solid #667085}.monitor-range{display:flex;justify-content:flex-end;gap:0;overflow-x:auto}.monitor-range button{min-width:46px;padding:7px 9px;border:1px solid #d8e1ee;border-right:0;background:#fff;color:#536276;cursor:pointer}.monitor-range button:first-child{border-radius:6px 0 0 6px}.monitor-range button:last-child{border-right:1px solid #d8e1ee;border-radius:0 6px 6px 0}.monitor-range button.active{background:#0f4c81;color:#fff;border-color:#0f4c81}.monitor-category-tabs{display:flex;align-items:center;gap:6px;width:100%;min-width:0;height:52px;padding:5px;overflow-x:auto;overflow-y:hidden;border:1px solid #dfe6ee;border-radius:12px;background:#fff;scrollbar-width:none;overscroll-behavior-inline:contain;box-sizing:border-box}.monitor-category-tabs::-webkit-scrollbar{display:none}.monitor-category-tabs button{flex:0 0 auto;min-width:max-content;height:40px;margin:0;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;color:#536276;background:transparent;font-size:13px;font-weight:750;line-height:1.25;white-space:nowrap;cursor:pointer}.monitor-category-tabs button:hover{color:#15558f;background:#f3f7fb}.monitor-category-tabs button:focus-visible{outline:2px solid #1769aa;outline-offset:-2px}.monitor-category-tabs button.active{color:#15558f;background:#eaf3fc;box-shadow:inset 0 -2px #1769aa}.monitoring-controls{width:100%;min-width:0;display:grid;align-content:start;gap:18px}.monitor-global-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;border:1px solid #dfe6ee;border-radius:12px;background:#fff}.monitor-global-controls .monitor-range{margin:0}.monitor-global-controls label{display:flex;align-items:center;gap:7px;color:#536276;font-size:12px;font-weight:700}.monitor-global-controls select{min-height:32px;padding:0 8px;border:1px solid #d7dee8;border-radius:7px;background:#fff}.monitor-global-controls small{margin-left:auto;color:#718096}.monitoring-section{width:100%;min-width:0;display:grid!important;align-content:start;gap:16px!important}.monitoring-section>.section-header{margin:0}.monitoring-card-grid{width:100%;min-width:0}.monitoring-card-grid.collector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}.collector-status-card{width:100%;min-width:0;padding:18px;box-sizing:border-box}.collector-status-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #e8edf3}.collector-status-card h3{margin:0;color:#172033;font-size:15px}.collector-status{flex:0 0 auto;padding:4px 8px;border-radius:999px;color:#475467;background:#f2f4f7;font-size:11px;font-weight:800}.collector-status.healthy{color:#067647;background:#ecfdf3}.collector-status.warning{color:#b54708;background:#fffaeb}.collector-status.danger{color:#b42318;background:#fef3f2}.collector-status-card dl{margin:0;padding-top:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px}.collector-status-card dl>div{min-width:0;display:grid;align-content:start;gap:5px}.collector-status-card dt{color:#667085;font-size:11px}.collector-status-card dd{margin:0;color:#172033;font-size:13px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.collector-empty{grid-column:1/-1;padding:24px;color:#667085;text-align:center}.monitor-editor{min-width:0;padding:20px}.monitor-editor>.section-header{margin-bottom:16px}.monitor-editor-list{display:grid;border:1px solid #e3e9f1;border-radius:10px;overflow:hidden}.monitor-editor-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:12px 14px;border-bottom:1px solid #edf0f4}.monitor-editor-row:last-child{border-bottom:0}.monitor-editor-label{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.monitor-editor-label input{width:16px;height:16px;margin:0;flex:0 0 auto}.monitor-editor-title{min-width:0;overflow:hidden;color:#344054;font-size:13px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.monitor-editor-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.monitor-editor-actions>button{width:32px;height:32px;flex:0 0 auto;border:1px solid #d8e0ea;border-radius:7px;background:#fff;cursor:pointer}.monitor-editor-size{display:flex;align-items:center;gap:7px;white-space:nowrap}.monitor-editor-size span{color:#667085;font-size:11px;font-weight:700}.monitor-editor-size select{min-width:86px;min-height:32px;border:1px solid #d8e0ea;border-radius:7px;background:#fff}.monitor-editor footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #edf0f4}.monitor-collector-table dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0}.monitor-category-content{width:100%;min-width:0;min-height:420px;align-content:start}.monitor-panel-layout{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;gap:18px}.monitor-layout-item{grid-column:1/-1;width:100%;min-width:0;display:grid;align-content:start;gap:18px}.monitor-layout-item>*{width:100%;min-width:0;box-sizing:border-box}.monitor-layout-item.width-6{grid-column:span 6}.monitor-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.monitor-chart{position:relative;min-height:320px;padding:14px;overflow:visible}.monitor-chart .section-header{margin-bottom:4px}.monitor-chart .section-header h2{font-size:14px}.monitor-chart .section-header p{font-size:11px}.monitor-chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;min-height:48px}.chart-summary{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:58%;font-size:11px;color:#536276}.chart-summary span{padding:3px 5px;border-radius:4px;background:#f2f4f7;white-space:nowrap}.chart-summary b{color:#344054}.chart-sample-note{display:block;color:#b54708;font-size:11px;font-weight:700}.chart-plot{position:relative;width:100%;height:236px;overflow:hidden}.line-chart svg{display:block;width:100%;height:100%;overflow:visible;touch-action:pan-y;cursor:crosshair}.chart-grid line{stroke:#d8e1ee;stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke}.chart-grid text{fill:#667085;font-size:10px;text-anchor:end}.chart-x-tick{text-anchor:middle!important;font-size:9px!important}.chart-threshold line{stroke:#d97706;stroke-dasharray:3 3}.chart-threshold text{fill:#b54708;font-weight:700}.chart-series polyline{fill:none;stroke:currentColor;stroke-width:2.5;vector-effect:non-scaling-stroke}.chart-series circle{fill:currentColor;vector-effect:non-scaling-stroke}.chart-active line{stroke:#475467;stroke-width:1;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.chart-active circle{stroke:#fff;stroke-width:2;vector-effect:non-scaling-stroke}.chart-empty{height:236px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;color:#667085;text-align:center}.chart-empty span{font-weight:700}.chart-empty small{font-size:11px}.chart-legend{display:flex;gap:6px;flex-wrap:wrap;color:#667085;font-size:11px}.chart-legend button{display:inline-flex;align-items:center;gap:5px;padding:3px 5px;border:0;border-radius:4px;color:inherit;background:#f8fafc;cursor:pointer}.chart-legend button.hidden{opacity:.45;text-decoration:line-through}.chart-legend i{width:8px;height:8px;border-radius:2px}.monitor-tooltip{position:absolute;z-index:5;display:grid;gap:5px;min-width:178px;max-width:calc(100% - 20px);padding:9px 10px;border:1px solid #98a2b3;border-radius:7px;color:#101828;background:#fffffff7;box-shadow:0 10px 24px #10182829;font-size:12px;pointer-events:none}.monitor-tooltip strong{font-size:12px}.monitor-tooltip span{display:flex;justify-content:space-between;gap:18px}.monitor-tooltip em{font-style:normal;font-weight:700;text-align:right}.monitor-tooltip small{color:#667085;font-size:10px}.benchmark-band{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,2fr);gap:18px;padding:16px;border:1px solid #d8e1ee;border-left:3px solid #667085;background:#fff}.benchmark-band>div{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:4px 8px}.benchmark-band>div span{grid-column:2;color:#667085;font-size:12px}.benchmark-band dl,.budget-band dl,.configuration-grid,.detail-panel dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.benchmark-band dl>div,.budget-band dl>div,.configuration-grid>div,.detail-panel dl>div{min-width:0;display:grid;gap:2px}.benchmark-band dt,.budget-band dt,.configuration-grid dt,.detail-panel dt{color:#667085;font-size:11px}.benchmark-band dd,.budget-band dd,.configuration-grid dd,.detail-panel dd{margin:0;color:#101828;font-size:12px;overflow-wrap:anywhere}.benchmark-band.verified{border-left-color:#16a34a}.benchmark-band.failed{border-left-color:#dc2626}.benchmark-band.running,.benchmark-band.partially_verified{border-left-color:#d97706}.monitor-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.detail-panel{padding:14px}.detail-panel h3{margin:0 0 12px;font-size:14px;color:#344054}.monthly-token-total{display:grid;gap:5px;width:100%;min-width:0;min-height:108px;padding:16px;box-sizing:border-box}.monthly-token-total span{color:#667085;font-size:11px}.monthly-token-total strong{color:#101828;font-size:20px}.configuration-grid{padding:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.monitor-footnote{display:flex;align-items:center;gap:6px;margin:0;color:#667085;font-size:11px}.load-test-runs{display:grid;gap:12px}.load-test-filter-bar{padding:12px;display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;align-items:end}.load-test-filter-bar label{display:grid;gap:5px;color:#667085;font-size:11px}.load-test-filter-bar select{min-width:0;width:100%;height:36px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;padding:0 9px;color:#344054}.load-test-window{padding:14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}.load-test-window>div{display:grid;gap:3px}.load-test-window b{font-size:11px;color:#667085}.load-test-window span{font-size:12px;color:#101828;overflow-wrap:anywhere}.load-test-statuses{padding:12px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.load-test-statuses span{display:grid;gap:3px;text-align:center;color:#344054;font-size:13px}.load-test-statuses b{font-size:10px;color:#667085}.monitor-empty{padding:24px;color:#667085;text-align:center}.load-test-vllm-table{overflow:auto}.load-test-vllm-table table{width:100%;min-width:1040px;border-collapse:collapse;font-size:11px}.load-test-vllm-table th,.load-test-vllm-table td{padding:9px 10px;border-bottom:1px solid #eaecf0;text-align:right;white-space:nowrap}.load-test-vllm-table th{color:#667085;background:#f9fafb}.load-test-vllm-table th:first-child,.load-test-vllm-table td:first-child{text-align:left}.load-test-vllm-table tbody tr:last-child td{border-bottom:0}@media(max-width:1100px){.monitor-kpis,.monitoring-card-grid.kpi{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-chart-grid{grid-template-columns:1fr}.configuration-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){.load-test-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.load-test-statuses{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:800px){.monitor-chart-grid,.monitor-detail-grid,.benchmark-band,.budget-band,.monitoring-card-grid.collector{grid-template-columns:1fr}.configuration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-range{justify-content:flex-start}.monitor-chart{min-height:300px}.chart-plot{height:220px}.monitor-chart-head{display:grid}.chart-summary{justify-content:flex-start;max-width:none}.load-test-window,.load-test-filter-bar{grid-template-columns:1fr}.load-test-statuses{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.monitor-kpis,.monitoring-card-grid.kpi,.configuration-grid{grid-template-columns:1fr}.monitor-kpi{min-height:94px}.benchmark-band dl,.budget-band dl,.detail-panel dl,.collector-status-card dl{grid-template-columns:1fr}.monitoring-intro h1{font-size:20px}.freshness-line{align-items:flex-start;line-height:1.45}}@keyframes softBlink{0%,to{opacity:.62}50%{opacity:1}}.composer-wrap{flex-shrink:0;width:min(880px,calc(100% - 56px));margin:0 auto;padding:8px 0 14px;background:#f7f8fa}.composer-wrap.drag-active .composer{border-color:#0f4c81;background:#f5faff;box-shadow:0 0 0 3px #0f4c811f}.composer-wrap.drag-active>p{color:#0f4c81}.composer{display:grid;grid-template-rows:auto auto;align-items:end;gap:6px;padding:8px 8px 7px;border:1px solid #d0d5dd;border-radius:12px;background:#fff}.composer-footer{display:flex;align-items:center;gap:8px}.composer-attachments,.message-attachments{display:flex;flex-wrap:wrap;gap:8px}.composer-attachments{margin-bottom:8px}.composer-controls{display:flex;justify-content:flex-start;margin-left:auto;gap:8px}.reasoning-select{position:relative}.reasoning-trigger{min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:0 8px 0 10px;border:0;border-radius:9px;color:#536276;background:transparent;font-size:13px;font-weight:700;cursor:pointer}.reasoning-trigger:hover,.reasoning-trigger[aria-expanded=true]{color:#344054;background:#f2f4f7}.reasoning-trigger:focus-visible{outline:2px solid rgba(15,76,129,.35);outline-offset:1px}.reasoning-trigger:disabled{cursor:not-allowed;opacity:.48}.reasoning-trigger svg{transition:transform .14s ease}.reasoning-trigger svg.open{transform:rotate(180deg)}.reasoning-menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:30;width:168px;max-width:calc(100vw - 32px);display:grid;gap:2px;padding:6px;border:1px solid #d8e1ee;border-radius:12px;background:#fff;box-shadow:0 14px 34px #10182829,0 3px 8px #10182814}.reasoning-menu button{min-height:36px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 10px;border:0;border-radius:8px;color:#475467;background:transparent;font-size:13px;font-weight:650;text-align:left;cursor:pointer}.reasoning-menu button:hover,.reasoning-menu button:focus-visible{color:#101828;background:#f2f4f7;outline:none}.reasoning-menu button.selected{color:#0f4c81;background:#eef4fb}.attachment-chip,.message-attachment{min-width:0;display:inline-flex;align-items:center;gap:7px;max-width:min(100%,320px);padding:6px 8px;border:1px solid #d8e1ee;border-radius:8px;color:#344054;background:#fff;font-size:12px}.attachment-chip.image-chip{padding:4px 7px 4px 4px}.attachment-chip img{width:28px;height:28px;flex-shrink:0;border-radius:6px;object-fit:cover}.attachment-chip span,.message-attachment span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-chip small,.message-attachment small{flex-shrink:0;color:#667085}.attachment-chip button,.attach-button{display:inline-grid;place-items:center;cursor:pointer}.attachment-chip button{width:22px;height:22px;border-radius:999px;color:#667085;background:transparent}.attachment-chip button:hover{color:#b42318;background:#fff1f0}.attach-button{width:34px;height:34px;border-radius:999px;color:#536276;background:#eef4fb}.attach-button input{display:none}.composer textarea{min-height:38px;max-height:40vh;padding:6px 8px;border:0;overflow-y:auto;resize:none;box-shadow:none}.composer textarea:focus{box-shadow:none}.composer-footer>button{width:34px;height:34px;border-radius:999px;color:#fff;background:#0f4c81;cursor:pointer}.message-attachments{justify-content:flex-end;margin-top:8px}.message-attachment{color:#fff;border-color:#ffffff52;background:#155b95}.message-attachment small{color:#ffffffbf}.message-attachment img{width:28px;height:28px;border-radius:6px;object-fit:cover}.composer-wrap p{margin:6px 0 0;color:#98a2b3;font-size:12px;text-align:center}.reference-panel{margin-top:12px}.reference-panel>button,.message-actions button{min-height:28px;padding:0 8px;border:0;border-radius:8px;color:#536276;background:transparent;font-size:12px;font-weight:800;cursor:pointer}.reanswer-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.reanswer-actions button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:0 9px;border:0;border-radius:8px;color:#0f4c81;background:#eef4fb;font-size:12px;font-weight:800;cursor:pointer}.reanswer-actions button:disabled{cursor:not-allowed;opacity:.5}.reference-panel dl{display:grid;gap:8px;margin:10px 0 0;padding:12px;border:1px solid #e5ebf3;border-radius:8px;background:#f9fbfe}.reference-panel div{display:grid;grid-template-columns:140px 1fr;gap:10px}.reference-panel dt{color:#64748b;font-size:12px;font-weight:800}.reference-panel dd{margin:0;color:#172033;font-size:13px;white-space:pre-wrap}.web-source-panel{width:min(100%,720px);overflow:hidden;border:1px solid #e5ebf3;border-radius:10px;background:#f9fbfe}.web-source-panel>summary{display:flex;align-items:center;gap:7px;min-height:34px;padding:7px 10px;color:#536276;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.web-source-panel>summary::-webkit-details-marker{display:none}.web-source-panel>summary:focus-visible{outline:2px solid rgba(15,76,129,.35);outline-offset:-2px;border-radius:9px}.web-source-chevron{margin-left:1px;color:#8491a3;transition:transform .12s ease}.web-source-panel[open]>summary .web-source-chevron{transform:rotate(180deg)}.web-source-chips{display:flex;flex-wrap:wrap;gap:8px;max-height:min(240px,40vh);overflow-y:auto;margin:0;padding:2px 10px 10px;list-style:none}.web-source-chip{display:inline-flex;max-width:100%;align-items:center;gap:6px;min-width:0;padding:6px 12px;border:1px solid #e5ebf3;border-radius:999px;background:#fff;color:#33445c;font-size:12px;font-weight:700;text-decoration:none}.web-source-chip:hover{border-color:#c9d6e6;background:#f2f6fb}.web-source-chip:focus-visible{outline:2px solid rgba(15,76,129,.35);outline-offset:1px}.web-source-host{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-actions{display:flex;gap:8px;margin-top:12px}.user-message .message-actions{justify-content:flex-end}.message-actions .danger-message-action{color:#b42318}.message-actions .danger-message-action:hover{background:#fff1f3}.placeholder-page{padding:24px}.login-shell{height:100vh;overflow-y:auto;display:grid;place-items:center;padding:24px;background:#f7f8fa}.login-panel{width:min(440px,100%);display:grid;gap:14px;padding:22px}.login-form{display:grid;gap:14px}.back-link{justify-self:start;min-height:32px;padding:0 4px;color:#536276;background:transparent;font-weight:800;cursor:pointer}.back-link:hover{color:#0f4c81}.admin-shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-width:0;height:100vh;overflow:hidden;background:#f7f8fa}.admin-sidebar{min-width:0;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;border-right:1px solid #e4e7ec;background:#fff}.admin-sidebar-brand{padding:18px 16px 14px;border-bottom:1px solid #f0f2f5}.admin-sidebar-brand strong{color:#172033;font-size:14px}.admin-nav{flex:1;display:grid;align-content:start;gap:3px;padding:12px 10px;overflow-y:auto}.admin-nav button{width:100%;display:flex;align-items:center;gap:8px;min-height:34px;padding:0 9px;border-radius:8px;color:#536276;background:transparent;text-align:left;cursor:pointer}.admin-nav button:hover{background:#f7f8fa}.admin-nav button.active{color:#0f4c81;background:#edf5fc;font-weight:800}.admin-sidebar-footer{display:grid;gap:10px;padding:12px;border-top:1px solid #f0f2f5}.admin-back{min-height:34px;padding:0 8px;border-radius:8px;color:#536276;background:transparent;text-align:left;font-weight:800;cursor:pointer}.admin-back:hover{background:#f7f8fa}.admin-user-block{display:grid;gap:8px}.admin-user-block span{display:grid;gap:2px;padding:0 8px}.admin-user-block strong{color:#172033;font-size:13px}.admin-user-block small{color:#667085;font-size:12px}.admin-user-block button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;border-radius:8px;color:#172033;background:#fff;border:1px solid #cbd6e2;cursor:pointer}.admin-main{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.admin-header{display:flex;align-items:center;justify-content:flex-end;min-height:48px;padding:8px 24px;border-bottom:1px solid #eef0f3;background:#fff}.admin-content{flex:1;width:100%;min-width:0;min-height:0;overflow-y:auto;padding:32px;box-sizing:border-box}.admin-content .admin-grid{padding:0}.admin-page-stack{display:grid;align-content:start;gap:18px}.admin-page-section{width:100%;min-width:0;display:grid;align-content:start;gap:18px;padding:22px;box-sizing:border-box}.admin-section-heading{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.admin-section-heading .section-header{min-width:0;margin:0}.admin-section-action{flex:0 0 auto}.admin-section-body,.admin-result-list{min-width:0;display:grid;align-content:start;gap:14px}.admin-filter-bar{width:100%;min-width:0;display:grid;align-items:end;gap:12px}.admin-empty-state .empty-state{min-height:88px;padding:20px}.admin-page-intro{display:grid;gap:6px}.admin-page-intro span{color:#7b8794;font-size:12px;font-weight:800;text-transform:uppercase}.admin-page-intro h1{margin:0;color:#172033;font-size:30px;line-height:1.1}.admin-page-intro p{margin:0;color:#64748b;font-size:14px;line-height:1.5}.admin-tool-card{padding:22px;border-color:#d9e1eb;box-shadow:0 10px 24px #18274b0a}.admin-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dashboard-heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.dashboard-refresh{flex:0 0 auto}.dashboard-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.dashboard-metric{min-height:150px;padding:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;border-color:#dce5ef}.dashboard-metric-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;color:#2563a6;background:#edf5ff}.dashboard-metric>div:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:5px}.dashboard-metric span{color:#64748b;font-size:13px;font-weight:700}.dashboard-metric strong{color:#172033;font-size:25px;line-height:1.2}.dashboard-metric small{color:#718096;line-height:1.45}.dashboard-metric>svg{color:#17a05e}.dashboard-metric.warning>svg,.dashboard-metric.degraded>svg{color:#d97706}.dashboard-metric.unavailable>svg,.dashboard-metric.stale>svg{color:#dc2626}.dashboard-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dashboard-panel{padding:22px;display:flex;flex-direction:column;gap:18px}.dashboard-serving-panel{grid-column:1 / -1}.dashboard-document-stats,.dashboard-serving-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-mini-stat{padding:14px;border-radius:10px;background:#f6f8fb;display:flex;flex-direction:column;gap:4px}.dashboard-mini-stat span{color:#64748b;font-size:12px;font-weight:700}.dashboard-mini-stat strong{color:#172033;font-size:19px}.dashboard-category-list,.dashboard-recent-list{display:flex;flex-direction:column;gap:0}.dashboard-category-list>strong{margin-bottom:8px;color:#344054;font-size:13px}.dashboard-category-row,.dashboard-recent-row{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid #edf0f4}.dashboard-category-row span,.dashboard-category-row strong{font-size:13px}.dashboard-recent-row>div{min-width:0;display:flex;flex-direction:column;gap:3px}.dashboard-recent-row strong{overflow:hidden;color:#27364b;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.dashboard-recent-row span,.dashboard-recent-row small,.dashboard-muted,.dashboard-freshness{color:#718096;font-size:12px}.dashboard-recent-row small{flex:0 0 auto}.dashboard-link{align-self:flex-start;margin-top:auto}.dashboard-freshness{margin:0}.settings-panel{width:min(560px,100%)}.settings-danger{min-height:38px;padding:0 14px}.status-badge,.user-chip,.mini-badge{display:inline-flex;align-items:center;min-height:28px;gap:6px;padding:0 9px;border:1px solid #e4e7ec;border-radius:999px;color:#536276;background:#fff;font-size:12px;font-weight:700;white-space:nowrap}.status-badge.ok{color:#0f5132;border-color:#d1fadf;background:#eefaf2}.status-badge.error{color:#842029;border-color:#f3b7bd;background:#fff3f4}.dot{width:8px;height:8px;border-radius:999px;background:#f59e0b}.status-badge.ok .dot{background:#159957}.status-badge.error .dot{background:#dc2626}.text-action,.secondary-action,.danger-action,.command,.icon-action,.row-actions button,.code-header button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;border:1px solid #cbd6e2;color:#172033;background:#fff;cursor:pointer;transition:border-color .12s ease,background .12s ease,color .12s ease}.text-action{min-height:32px;padding:0 10px;font-size:13px;font-weight:700}.text-action:hover,.secondary-action:hover,.icon-action:hover,.row-actions button:hover,.code-header button:hover{border-color:#91a7c2;background:#f8fbff}.tabs{display:flex;gap:8px;margin:0 0 16px;overflow-x:auto}.tabs button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border-radius:8px;color:#536276;background:transparent;cursor:pointer;white-space:nowrap}.tabs button.active{color:#fff;background:#0f4c81}.tabs button:hover:not(.active){background:#eaf1f8}.panel{border:1px solid #dbe4ef;border-radius:8px;background:#fff;box-shadow:0 8px 20px #18274b0a}.section-card{padding:18px}.section-header{margin-bottom:16px}.section-header h2{margin:0;color:#172033;font-size:18px;line-height:1.25;letter-spacing:0}.question-layout{display:grid;grid-template-columns:minmax(360px,.84fr) minmax(0,1.16fr);gap:16px;align-items:start}.question-card textarea{min-height:136px;max-height:260px}textarea,input{width:100%;border:1px solid #cbd6e2;border-radius:8px;color:#172033;background:#fff;outline:none}textarea:focus,input:focus,button:focus-visible{border-color:#2364aa;box-shadow:0 0 0 3px #2364aa29}textarea{min-height:112px;padding:12px 13px;resize:vertical;line-height:1.55}input{height:40px;padding:0 12px}.field{display:grid;gap:7px}.field span{color:#334155;font-size:13px;font-weight:800}.field small{color:#64748b;font-size:12px;line-height:1.35}.field-error{color:#b42318!important}.wide{grid-column:1 / -1}.code-input,.code-block code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.form-actions{display:flex;justify-content:flex-end;margin-top:14px}.command{min-height:40px;padding:0 16px;border-color:#0f4c81;color:#fff;background:#0f4c81;font-weight:800}.command:hover:not(:disabled){background:#0b3d68}.secondary-action{min-height:40px;padding:0 13px;font-weight:700}.icon-action{width:40px;height:40px}.danger-action,.danger-text{color:#fff!important;border-color:#b42318!important;background:#b42318!important}button:disabled{cursor:not-allowed;opacity:.58}.spin{animation:spin .85s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state,.loading-state{display:grid;gap:6px;min-height:112px;place-content:center;padding:18px;border:1px dashed #cbd6e2;border-radius:8px;color:#64748b;background:#f9fbfe;text-align:center}.empty-state strong{color:#334155}.loading-state{grid-auto-flow:column;place-items:center}.answer-card{min-height:280px}.answer-body{max-width:100%;display:grid;gap:10px}.answer-body p{max-width:100%;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#172033;font-size:15.5px;line-height:1.76}.formatted-text{max-width:100%;min-width:0;display:grid;gap:9px}.formatted-text h2,.formatted-text h3{margin:8px 0 0;color:#172033;line-height:1.35}.formatted-text h2{font-size:17px}.formatted-text h3{font-size:15.5px}.formatted-text strong{color:#101828}.formatted-text code{padding:2px 5px;border-radius:6px;color:#344054;background:#f2f4f7;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.92em}.list-line{padding-left:6px}.text-spacer{height:4px}.code-block{overflow:hidden;border:1px solid #e4e7ec;border-radius:8px;background:#f8fafc}.code-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid #e4e7ec;color:#64748b;font-size:12px;font-weight:800}.code-header button{min-height:28px;padding:0 8px;font-size:12px}.code-block pre{margin:0;overflow-x:auto;padding:13px}.code-block code{white-space:pre;font-size:13px}.reference-box{margin-top:18px;padding-top:16px;border-top:1px solid #e5ebf3}.reference-box h3{margin:0 0 10px;font-size:15px}.reference-box dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.reference-box div{padding:10px;border:1px solid #e5ebf3;border-radius:8px;background:#f9fbfe}.reference-box dt{color:#64748b;font-size:12px;font-weight:800}.reference-box dd{margin:4px 0 0;color:#172033;font-weight:700}.admin-grid{display:grid;grid-template-columns:minmax(360px,.4fr) minmax(0,.6fr);gap:16px;align-items:start;padding:24px}.admin-side{display:grid;gap:16px;min-width:0}.auth-panel{width:min(440px,100%);display:grid;gap:14px;margin:28px auto 0;padding:22px}.ingest-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.content-input{min-height:240px}.document-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.document-filter-panel{min-width:0;display:grid;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #e6ebf1;border-radius:9px;background:#fbfcfe}.document-filter-grid{min-width:0;display:grid;grid-template-columns:repeat(5,minmax(160px,1fr)) auto;align-items:end;gap:9px}.document-filter-grid .field{min-width:0;gap:5px}.document-filter-grid input,.document-filter-grid select{box-sizing:border-box;min-width:0;width:100%;height:40px;padding:0 12px}.document-filter-actions{display:flex;align-items:center;gap:7px}.document-filter-actions .secondary-action,.document-filter-actions .icon-action{height:40px;min-height:40px}.search-test-stack{width:100%;min-width:0;display:grid;align-content:start;gap:18px}.search-test-filter-bar{grid-template-columns:minmax(280px,1fr) 190px auto}.search-test-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}.search-test-actions button{white-space:nowrap}.search-test-results{min-width:0}.search-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.search-comparison-card{display:grid;gap:6px;padding:14px;border:1px solid #dfe6ee;border-radius:10px;background:#fbfcfe;color:#667085;font-size:12px}.search-comparison-card strong{color:#172033;font-size:14px}.search-comparison-card span:last-child{color:#15558f;font-size:11px}.search-result-card{min-width:0;display:grid;gap:12px;padding:16px;border:1px solid #dfe6ee;border-radius:10px;background:#fbfcfe}.search-result-head{min-width:0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.search-result-head>div{min-width:0}.search-result-head h3{margin:0;overflow:hidden;color:#172033;font-size:16px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.search-result-document-id{display:block;margin-top:4px;overflow-wrap:anywhere;color:#667085;font-size:11px}.search-score{flex:0 0 auto;padding:5px 8px;border-radius:999px;color:#15558f;background:#eaf3fc;font-size:12px;font-weight:800;white-space:nowrap}.search-result-meta{min-width:0;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.search-result-meta span{max-width:100%;padding:4px 7px;border:1px solid #e4e9f0;border-radius:6px;color:#667085;background:#fff;font-size:11px;overflow-wrap:anywhere}.search-result-meta b{color:#344054}.search-result-preview{display:-webkit-box;margin:0;overflow:hidden;color:#344054;font-size:13px;line-height:1.65;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;-webkit-box-orient:vertical;-webkit-line-clamp:4}.search-result-card footer{min-width:0;display:flex;gap:12px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #e8edf3;color:#718096;font-size:11px}.search-result-card footer span{max-width:100%;overflow-wrap:anywhere}.search-comparison-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.searchbox{display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;min-width:0;padding:0 12px;border:1px solid #cbd6e2;border-radius:8px;background:#fff}.searchbox input{border:0;box-shadow:none;padding:0}.ingest-form .section-header,.document-list .section-header,.search-test .section-header{margin-bottom:18px}.ingest-form .section-header h2,.document-list .section-header h2,.search-test .section-header h2{font-size:20px}.ingest-form .section-header p,.document-list .section-header p,.search-test .section-header p{margin-top:5px;font-size:13px}.ingest-form .field{gap:8px}.ingest-form input{height:46px}.ingest-form textarea{border-radius:8px}.ingest-form .field small{color:#7b8794}.table-scroll{overflow-x:auto;border:1px solid #e5ebf3;border-radius:8px}table{width:100%;min-width:760px;border-collapse:collapse}th,td{padding:11px 12px;border-bottom:1px solid #edf2f7;text-align:left;vertical-align:middle;font-size:13px}th{color:#536276;background:#f8fbff;font-weight:800}tr:last-child td{border-bottom:0}.selected-row td{background:#f0f7ff}.compact-field{gap:5px}.compact-field span{font-size:12px;font-weight:800;color:#536276}.compact-field select{height:42px}.compact-run-table{margin-top:18px}.compact-run-table h3{margin:0;padding:12px;border-bottom:1px solid #edf2f7;color:#1f2a3d;font-size:15px}.training-workspace{width:min(1440px,100%);margin:0 auto}.training-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.training-heading-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.training-dataset-link{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border:1px solid #b8cbe0;border-radius:7px;color:#15558f;background:#f5f9ff;font-size:13px;font-weight:750;text-decoration:none;white-space:nowrap}.training-dataset-link:hover{background:#eaf3fc}.training-dataset-link:focus-visible{outline:3px solid rgba(21,85,143,.25);outline-offset:2px}.training-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.training-summary-card{min-height:90px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;gap:10px}.training-summary-card span{display:flex;align-items:center;gap:7px;color:#64748b;font-size:12px;font-weight:800}.training-summary-card strong{color:#172033;font-size:20px}.training-tabs{display:flex;gap:4px;padding:4px;border:1px solid #dfe6ee;border-radius:10px;background:#fff}.training-tabs button{min-height:38px;padding:0 18px;border:0;border-radius:7px;color:#536276;background:transparent;font-weight:750;cursor:pointer}.training-tabs button.active{color:#15558f;background:#eaf3fc}.training-tab-content{min-width:0}.candidate-filters{display:grid;grid-template-columns:minmax(240px,1fr) 130px 140px 130px 130px 40px;gap:8px;margin:18px 0 14px}.candidate-filters select{min-width:0}.clickable-row{cursor:pointer}.clickable-row:hover td,.clickable-row:focus td{background:#f5f9fd}.candidate-source{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table-primary-action{min-height:32px;padding:0 11px;border:1px solid #b8cbe0;border-radius:7px;color:#15558f;background:#f5f9ff;font-weight:750;white-space:nowrap;cursor:pointer}.product-status-badge{display:inline-flex;align-items:center;min-height:25px;padding:0 8px;border:1px solid #dce3eb;border-radius:999px;color:#536276;background:#f7f8fa;font-size:11px;font-weight:800;white-space:nowrap}.product-status-badge.success{color:#147a48;border-color:#bce9cf;background:#edfaf3}.product-status-badge.warning{color:#9a5b08;border-color:#f2d39a;background:#fff8e8}.product-status-badge.danger{color:#b4232d;border-color:#f1bfc3;background:#fff1f2}.product-status-badge.info{color:#15558f;border-color:#bfd8ef;background:#edf6ff}.training-drawer-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;border:0;background:#0f172a47;cursor:pointer}.training-review-drawer{position:fixed;z-index:71;top:0;right:0;width:min(680px,92vw);height:100vh;display:flex;flex-direction:column;border-left:1px solid #dfe6ee;background:#fff;box-shadow:-18px 0 40px #0f172a24}.training-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e8edf3}.training-drawer-head span{color:#718096;font-size:11px;font-weight:800;text-transform:uppercase}.training-drawer-head h2{margin:4px 0 0;color:#172033;font-size:22px}.training-drawer-body{flex:1;overflow-y:auto;padding:20px;display:grid;grid-template-columns:1fr;gap:15px}.candidate-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#64748b;font-size:12px}.candidate-review-actions{position:sticky;bottom:-20px;z-index:2;margin:0 -20px -20px;padding:14px 20px;background:#fff;border-top:1px solid #e8edf3}.run-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:20px}.run-form-grid .wide{grid-column:1/-1}.run-form-grid .field small,.field-help{color:#718096;font-size:11px;line-height:1.4}.run-form-grid .field b{color:#c92a36}.run-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.section-heading-action{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.run-detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.run-detail-list div{padding:12px;border-radius:8px;background:#f7f9fc}.run-detail-list dt{color:#718096;font-size:11px;font-weight:800}.run-detail-list dd{margin:5px 0 0;overflow-wrap:anywhere;color:#27364b;font-size:13px;font-weight:700}.run-metrics{overflow:auto;margin:0;padding:14px;border-radius:8px;color:#d9e7f4;background:#162436;font-size:12px}.evaluation-run-panel,.run-history-panel{max-width:1180px}.accuracy-workspace{width:100%;min-width:0;min-height:0;margin:0}.accuracy-tabs{width:100%;min-width:0;min-height:48px;display:flex;align-items:center;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;scrollbar-width:none}.accuracy-tabs::-webkit-scrollbar{display:none}.accuracy-tabs button{flex:0 0 auto;min-height:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap}.accuracy-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;align-items:start}.accuracy-create-grid>div,.accuracy-inline-form,.accuracy-case-editor{min-width:0;display:grid;align-content:start;gap:12px}.accuracy-create-grid .field{min-width:0}.accuracy-create-grid textarea{min-height:112px;resize:vertical}.accuracy-create-grid .row-actions{flex-wrap:wrap;margin-top:2px;white-space:normal}.accuracy-drawer{width:min(820px,96vw)}.accuracy-drawer .table-link{display:inline-flex;align-items:center;gap:5px}.file-action{position:relative;cursor:pointer}.file-action input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.accuracy-case-list,.accuracy-result-list{display:grid;gap:10px}.accuracy-case-card,.accuracy-result-card{min-width:0;display:grid;gap:9px;padding:14px;border:1px solid #e0e7ef;border-radius:9px;background:#fbfcfe}.accuracy-case-card>div:first-child,.accuracy-result-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.accuracy-case-card p,.accuracy-result-card p{margin:0;color:#27364b;line-height:1.55;overflow-wrap:anywhere}.accuracy-case-card small{color:#718096;overflow-wrap:anywhere}.accuracy-reference-answer{display:grid;gap:4px;padding:10px 12px;border-left:3px solid #4b8ac6;border-radius:7px;background:#f3f8fd}.accuracy-reference-answer strong{color:#1f5d92;font-size:12px}.accuracy-reference-answer p{color:#243b53;white-space:pre-wrap}.accuracy-case-evidence{padding:10px 12px;border:1px solid #dce5ef;border-radius:8px;background:#f8fafc}.accuracy-case-evidence summary{cursor:pointer;color:#315b80;font-weight:750}.accuracy-case-evidence-body{display:grid;gap:8px;margin-top:10px}.accuracy-case-evidence-body ul{margin:0;padding-left:20px;color:#34495e}.accuracy-case-evidence-body pre{max-height:240px;margin:0;padding:9px;border-radius:7px;background:#fff;white-space:pre-wrap;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.accuracy-result-card details{padding:10px;border-radius:8px;background:#f3f6fa}.accuracy-result-card summary{cursor:pointer;font-weight:750}.accuracy-result-card pre,.accuracy-result-card code{display:block;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.accuracy-result-score{display:flex;gap:10px;flex-wrap:wrap;color:#15558f;font-size:12px;font-weight:800}.accuracy-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.accuracy-metrics-grid>div{min-width:0;display:grid;gap:6px;padding:12px;border-radius:8px;background:#f7f9fc}.accuracy-metrics-grid span{color:#718096;font-size:11px}.accuracy-metrics-grid strong{color:#172033;overflow-wrap:anywhere}.accuracy-compare{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.accuracy-compare select{min-width:0}.accuracy-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.accuracy-validation{display:grid;gap:5px;padding:12px;border:1px solid #f0c36b;border-radius:8px;background:#fff9e8}.accuracy-validation.valid{border-color:#8bd1aa;background:#effaf4}.accuracy-validation.invalid{border-color:#ef9a9a;background:#fff3f3}.accuracy-validation small{overflow-wrap:anywhere}.accuracy-generation-feedback{padding:10px 12px;border:1px solid #bfd8ef;border-radius:8px;color:#15558f;background:#edf6ff;font-size:13px;font-weight:700;line-height:1.45}.accuracy-generation-feedback.success{border-color:#8bd1aa;color:#147a48;background:#effaf4}.accuracy-generation-feedback.error{border-color:#ef9a9a;color:#b4232d;background:#fff3f3}.accuracy-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #bfd7ef;border-radius:8px;background:#f2f8fd}.accuracy-evidence-review{display:grid;gap:16px;padding:18px;border:1px solid #d8e6f5;border-radius:16px;background:linear-gradient(135deg,#f7fbff,#eef6ff);box-shadow:0 12px 28px #285a9114}.accuracy-evidence-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.accuracy-evidence-review-head h3{margin:4px 0 6px;color:#162b45;font-size:18px}.accuracy-evidence-review-head p{max-width:620px;margin:0;color:#52657d;line-height:1.55;font-size:13px}.accuracy-evidence-review-head .row-actions{justify-content:flex-end}.accuracy-evidence-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.accuracy-evidence-stats>div{display:grid;gap:5px;padding:12px 14px;border:1px solid rgba(167,193,220,.6);border-radius:11px;background:#ffffffb8}.accuracy-evidence-stats span{color:#667b95;font-size:11px}.accuracy-evidence-stats strong{color:#173553;font-size:20px}.accuracy-case-statuses{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.accuracy-verification-note{display:grid;gap:5px;padding:10px 12px;border-radius:10px;color:#34506b;background:#f0f6fd;border:1px solid #c8dcef}.accuracy-verification-note.pass{color:#146541;background:#effaf4;border-color:#9dd5b5}.accuracy-verification-note.fail{color:#8b3e45;background:#fff5f5;border-color:#edb5b8}.accuracy-verification-note strong{font-size:12px}.accuracy-verification-note span,.accuracy-verification-note small{line-height:1.45;overflow-wrap:anywhere}.accuracy-verification-note details{margin-top:4px}.accuracy-verification-note details pre{max-height:180px;margin:8px 0 0;padding:9px;border-radius:8px;background:#ffffffb3;white-space:pre-wrap;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.eyebrow{color:#397ab5;font-size:10px;font-weight:850;letter-spacing:.12em}.success-text{color:#147a48!important}.danger-text{color:#b4232d!important}.accuracy-case-card.duplicate{border-color:#e5ae52;background:#fffaf0}.accuracy-case-card details pre,.accuracy-case-editor details pre{max-height:240px;overflow:auto;white-space:pre-wrap}.danger-text{color:#b42318!important;font-weight:700}.row-actions button.danger-text{color:#fff!important;border-color:#b42318!important;background:#b42318!important}.row-actions button.danger-text:hover:not(:disabled){border-color:#8f1611!important;color:#fff!important;background:#9f1f1b!important}.accuracy-drawer select[multiple]{min-height:180px}.title-cell{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800}.mini-badge{min-height:26px;padding:0 8px;font-size:12px;background:#f8fbff}.row-actions{display:flex;gap:6px;white-space:nowrap}.row-actions button{min-height:30px;padding:0 9px;font-size:12px;font-weight:800}.pagination-note{margin:10px 0 0;color:#64748b;font-size:13px}.pagination-control{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:10px;flex-wrap:wrap}.pagination-control button{min-width:32px;min-height:30px;padding:0 10px;border:1px solid #d8e1ee;border-radius:8px;color:#536276;background:#fff;font-size:12px;font-weight:800;cursor:pointer}.pagination-control button.active{color:#fff;border-color:#0f4c81;background:#0f4c81}.pagination-control button:disabled{cursor:not-allowed;opacity:.55}.pagination-control span{color:#98a2b3;font-size:12px}.detail-drawer-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;min-width:0;overflow:hidden}.detail-drawer-scrim{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#0f172a52;cursor:pointer}.detail-drawer{position:absolute;top:0;right:0;z-index:1;display:flex;flex-direction:column;min-width:0;width:min(760px,calc(100dvw - 248px));max-width:100dvw;height:100dvh;overflow:hidden;border-left:1px solid #dbe5f1;background:#fff;box-shadow:-18px 0 48px #18274b2e}.detail-drawer-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex:0 0 auto;min-width:0;padding:18px 20px;border-bottom:1px solid #e6ebf1;background:#fff}.detail-drawer-head>div:first-child{min-width:0}.detail-head-actions{flex:0 0 auto;display:flex;align-items:center;gap:8px}.detail-drawer-head span{color:#64748b;font-size:12px;font-weight:800}.detail-drawer-head h3{margin:4px 0 0;overflow:hidden;font-size:18px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.detail-drawer-body{flex:1 1 auto;min-width:0;min-height:0;display:grid;align-content:start;gap:16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 28px}.detail-drawer-body>*{min-width:0;max-width:100%}.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.detail-grid div{min-width:0;padding:11px;border:1px solid #edf2f7;border-radius:8px;background:#fbfcfe}.detail-grid dt{color:#64748b;font-size:12px;font-weight:800}.detail-grid dd{margin:5px 0 0;overflow-wrap:anywhere;font-size:13px;font-weight:700;word-break:break-word}.chunk-stack{display:grid;gap:10px}.chunk-card{min-width:0;max-width:100%;padding:13px;border:1px solid #e5ebf3;border-radius:8px;background:#fbfcfe}.chunk-card header{display:flex;justify-content:space-between;gap:12px;color:#172033}.chunk-card header span,.chunk-meta{color:#64748b;font-size:12px}.chunk-card p{margin:9px 0 0;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.chunk-card pre{max-width:100%;margin:10px 0 0;overflow-x:auto;overflow-y:hidden;padding:10px;border-radius:8px;background:#101828;color:#e5edf8;font-size:12px;white-space:pre}.drawer-actions{min-width:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.document-action-token-panel{display:grid;gap:8px;margin:12px 0 4px;padding:12px;border:1px solid #dfe6ee;border-radius:9px;background:#f8fafc}.document-action-token-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.document-action-token-controls select{min-height:34px;padding:0 10px;border:1px solid #cfd8e3;border-radius:7px;color:#344054;background:#fff}.document-action-token-panel small{color:#667085;font-size:11px;line-height:1.45}.document-action-token-result{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.document-action-token-result code{min-width:0;overflow:auto;padding:9px 10px;border-radius:7px;color:#344054;background:#fff;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.document-action-token-result small{grid-column:1 / -1}.document-bulk-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #f1c1c5;border-radius:8px;color:#8f2028;background:#fff5f5}.auth-settings-page{width:100%;min-width:0}.settings-inline-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,2fr) auto;align-items:end;gap:10px}.setup-url-list{display:grid;gap:7px}.setup-url-list code{display:block;max-width:100%;overflow-wrap:anywhere;padding:9px 11px;border-radius:7px;color:#344054;background:#f7f9fc}@media(max-width:760px){.settings-inline-form{grid-template-columns:1fr}}.document-bulk-toolbar .danger-action{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #d94a55;border-radius:7px;color:#fff;background:#c92a36;font-weight:800;cursor:pointer}.selection-cell{width:38px;text-align:center}.selection-cell input{width:16px;height:16px;accent-color:#15558f}.document-view-tabs{display:flex;min-width:0;gap:4px;overflow-x:auto;padding:4px;border:1px solid #dfe6ee;border-radius:9px;background:#f8fafc;scrollbar-width:none}.document-view-tabs::-webkit-scrollbar{display:none}.document-view-tabs button{flex:0 0 auto;min-height:34px;padding:0 12px;border:0;border-radius:6px;color:#536276;background:transparent;font-weight:750;cursor:pointer}.document-view-tabs button.active{color:#15558f;background:#fff;box-shadow:0 1px 3px #0f172a1a}.document-raw-view{min-width:0;display:grid;justify-items:start;gap:9px}.document-raw-view pre,.document-metadata-view{width:100%;max-width:100%;margin:0;overflow:auto;padding:14px;border-radius:8px;color:#e5edf8;background:#101828;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.document-raw-view pre{max-height:420px}.document-raw-view pre.expanded{max-height:none}.document-edit-form{min-width:0;display:grid;gap:16px}.document-edit-grid{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.document-edit-grid textarea{max-width:100%}.document-editor-tabs{display:flex;gap:4px;padding:4px;border:1px solid #dfe6ee;border-radius:9px;background:#f8fafc}.document-editor-tabs button{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;border-radius:6px;color:#536276;background:transparent;font-weight:750;cursor:pointer}.document-editor-tabs button.active{color:#15558f;background:#fff;box-shadow:0 1px 3px #0f172a1a}.document-content-editor{min-width:0}.document-content-editor textarea{width:100%;min-height:360px;max-height:56vh;overflow:auto;resize:vertical;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.document-content-preview{min-width:0;max-width:100%;min-height:360px;max-height:56vh;margin:0;overflow:auto;padding:16px;border:1px solid #dfe6ee;border-radius:9px;color:#344054;background:#f8fafc;font-family:inherit;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.document-edit-actions{position:sticky;bottom:-28px;z-index:2;display:flex;justify-content:flex-end;gap:8px;margin:0 -20px -28px;padding:14px 20px;border-top:1px solid #e6ebf1;background:#fff}.document-revision-history{min-width:0;display:grid;gap:8px;padding-top:6px}.document-revision-history h4{margin:0;color:#172033;font-size:14px}.document-revision-history>div{min-width:0;display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e6ebf1;border-radius:8px;background:#fbfcfe}.document-revision-history small{min-width:0;color:#667085;overflow-wrap:anywhere}.compact-action{min-height:30px;padding:0 9px;font-size:11px}.document-change-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:grid;place-items:center;overflow-y:auto;padding:20px;background:#0f172a6b}.document-change-dialog{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;padding:20px;border:1px solid #dce4ee;border-radius:12px;background:#fff;box-shadow:0 20px 60px #0f172a42}.document-change-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.document-change-dialog header span{color:#64748b;font-size:11px;font-weight:800}.document-change-dialog h4{margin:4px 0 0;color:#172033;font-size:17px}.document-change-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0 12px}.document-change-dialog dl>div{min-width:0;padding:11px;border-radius:8px;background:#f7f9fc}.document-change-dialog dt{color:#667085;font-size:11px;font-weight:750}.document-change-dialog dd{margin:5px 0 0;color:#27364b;font-size:13px;font-weight:750;overflow-wrap:anywhere}.document-change-dialog>p{margin:0;padding:10px 12px;border-radius:7px;color:#15558f;background:#edf6ff;font-size:12px;line-height:1.5}.document-change-dialog footer{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}@media(max-width:1100px){.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:768px){.accuracy-create-grid,.accuracy-metrics-grid,.accuracy-compare,.accuracy-form-grid{grid-template-columns:1fr}.accuracy-evidence-review-head{display:grid}.accuracy-evidence-review-head .row-actions{justify-content:flex-start}.accuracy-evidence-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-drawer{width:100dvw;max-width:none;border-left:0}.detail-drawer-head{padding:14px 16px}.detail-drawer-body{padding:16px 16px 24px}.document-edit-actions{bottom:-24px;margin:0 -16px -24px;padding:12px 16px}.document-filter-grid{grid-template-columns:1fr}.document-filter-actions button:first-child{flex:1}}@media(max-width:560px){.accuracy-create-grid .row-actions button{flex:1 1 100%}.detail-drawer-head{align-items:stretch}.detail-head-actions .secondary-action{padding:0 10px}.detail-grid,.document-edit-grid,.document-change-dialog dl{grid-template-columns:1fr}.document-revision-history>div{grid-template-columns:auto 1fr auto}.document-revision-history small{grid-column:1 / -1}.document-change-layer{padding:0}.document-change-dialog{width:100%;min-height:100dvh;max-height:none;border:0;border-radius:0}}.duplicate-review-page{width:100%;min-width:0}.duplicate-review-panel{min-width:0}.duplicate-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 220px;align-items:end;gap:12px}.duplicate-toolbar .searchbox{min-height:40px}.duplicate-toolbar .field.compact{gap:5px}.duplicate-table td{vertical-align:middle}.duplicate-table td:first-child,.duplicate-table td:nth-child(2){min-width:190px}.duplicate-table td strong,.duplicate-table td small{display:block}.duplicate-table td strong{max-width:260px;overflow:hidden;color:#27364b;text-overflow:ellipsis;white-space:nowrap}.duplicate-table td small{max-width:240px;margin-top:4px;overflow:hidden;color:#7b8794;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.duplicate-dialog-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;display:grid;place-items:center;padding:24px}.duplicate-dialog-scrim{position:absolute;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a7a;cursor:pointer}.duplicate-comparison-dialog{position:relative;z-index:1;width:min(1400px,96vw);height:min(900px,94vh);display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;border:1px solid #dce4ee;border-radius:16px;background:#fff;box-shadow:0 24px 70px #0f172a47}.duplicate-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid #e6ebf1}.duplicate-dialog-head span{color:#64748b;font-size:11px;font-weight:800;text-transform:uppercase}.duplicate-dialog-head h2{margin:4px 0 0;color:#172033;font-size:20px}.duplicate-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 22px;border-bottom:1px solid #e6ebf1;background:#f8fafc}.duplicate-score-grid div{min-width:0;display:flex;flex-direction:column;gap:4px}.duplicate-score-grid span{color:#64748b;font-size:11px;font-weight:700}.duplicate-score-grid strong{color:#172033;font-size:18px}.duplicate-document-grid{min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.duplicate-document-column{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}.duplicate-document-column+.duplicate-document-column{border-left:1px solid #dfe6ee}.duplicate-document-column>header{display:flex;flex-direction:column;gap:4px;padding:14px 18px;border-bottom:1px solid #e8edf3}.duplicate-document-column>header span{color:#15558f;font-size:11px;font-weight:850}.duplicate-document-column>header strong{color:#27364b;font-size:15px}.duplicate-document-column>header small{color:#718096;overflow-wrap:anywhere}.duplicate-chunks{min-height:0;display:grid;align-content:start;gap:10px;overflow-y:auto;padding:14px;background:#f8fafc}.duplicate-chunk{padding:13px;border:1px solid #dde5ef;border-radius:9px;background:#fff}.duplicate-chunk.matched{border-color:#79b9e9;background:#eff8ff;box-shadow:inset 3px 0 #2583c5}.duplicate-chunk>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.duplicate-chunk b{color:#344054;font-size:12px}.duplicate-chunk span{flex:0 0 auto;padding:3px 7px;border-radius:999px;color:#15558f;background:#dceeff;font-size:10px;font-weight:850}.duplicate-chunk p{margin:8px 0 0;color:#3f4d60;font-size:12px;line-height:1.6;white-space:pre-wrap}.duplicate-review-actions{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:16px;padding:14px 22px;border-top:1px solid #dfe6ee;background:#fff}.duplicate-review-actions textarea{min-height:62px;resize:vertical}.duplicate-review-actions>div{display:flex;justify-content:flex-end;gap:8px}@media(max-width:900px){.duplicate-dialog-layer{padding:0}.duplicate-comparison-dialog{width:100vw;height:100vh;border:0;border-radius:0}.duplicate-document-grid{grid-template-columns:1fr;overflow-y:auto}.duplicate-document-column{min-height:420px}.duplicate-document-column+.duplicate-document-column{border-top:1px solid #dfe6ee;border-left:0}.duplicate-chunks{overflow-y:visible}.duplicate-score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.duplicate-review-actions{grid-template-columns:1fr}}@media(max-width:620px){.duplicate-toolbar{grid-template-columns:1fr}.duplicate-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.duplicate-review-actions>div{display:grid;grid-template-columns:1fr}}.graphrag-page{min-width:0}.graphrag-view-tabs{display:flex;width:fit-content;gap:4px;padding:4px;border:1px solid #dfe6ee;border-radius:10px;background:#fff}.graphrag-view-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 18px;border:0;border-radius:7px;color:#536276;background:transparent;font-size:13px;font-weight:800;cursor:pointer}.graphrag-view-tabs button.active{color:#15558f;background:#eaf3fc}.graphrag-page-head,.graphrag-detail-head,.graphrag-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.graphrag-refresh,.graphrag-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}.graphrag-refresh small{color:#64748b;font-size:11px}.graphrag-refresh button,.graphrag-open{display:inline-flex;align-items:center;justify-content:center;gap:6px}.graphrag-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.graphrag-summary-card{min-height:128px;padding:16px;display:flex;flex-direction:column;gap:6px}.graphrag-summary-card>span{display:flex;align-items:center;gap:7px;color:#536276;font-size:12px;font-weight:800}.graphrag-summary-card>span svg{color:#17649e}.graphrag-summary-card strong{color:#172033;font-size:22px}.graphrag-summary-card small{color:#718096;font-size:11px}.graphrag-summary-card i{display:block;width:100%;height:4px;margin-top:auto;overflow:hidden;border-radius:99px;background:#dbe7f2}.graphrag-summary-card i b{display:block;height:100%;border-radius:inherit;background:#17649e}.graphrag-result-count{margin-top:3px;color:#64748b;font-size:12px;white-space:nowrap}.graphrag-filter-toolbar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #e8edf3}.graphrag-filter-toolbar label{display:grid;min-width:125px;gap:4px;color:#536276;font-size:11px;font-weight:800}.graphrag-filter-toolbar label:has(svg){position:relative}.graphrag-filter-toolbar label>svg{position:absolute;top:26px;left:9px;color:#718096}.graphrag-filter-toolbar label>svg+select{padding-left:30px}.graphrag-filter-toolbar input,.graphrag-filter-toolbar select{min-width:0;height:36px}.graphrag-search{flex:1 1 210px;min-width:min(100%,220px)!important}.graphrag-search input{width:100%;padding-left:30px}.graphrag-reset{display:inline-flex;align-items:center;gap:5px;min-height:36px;border:0;color:#64748b;background:transparent;font-size:12px;font-weight:750;cursor:pointer}.graphrag-reset:disabled{opacity:.45;cursor:not-allowed}.graphrag-filter-chips{display:flex;gap:6px;flex-wrap:wrap;padding:10px 0}.graphrag-filter-chips span{max-width:220px;overflow:hidden;padding:4px 8px;border:1px solid #bfd8ef;border-radius:999px;color:#15558f;background:#edf6ff;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.graphrag-table-scroll{overflow-x:auto}.graphrag-trace-table{width:100%;min-width:960px;table-layout:fixed}.graphrag-col-time{width:12%}.graphrag-col-id{width:20%}.graphrag-col-route{width:15%}.graphrag-col-path{width:22%}.graphrag-col-performance{width:15%}.graphrag-col-review{width:16%}.graphrag-trace-table thead th{position:sticky;top:0;z-index:1;background:#f7f9fc}.graphrag-trace-table td{vertical-align:top}.graphrag-trace-table tbody tr:hover td{background:#f7fbff}.graphrag-selected-row td{background:#edf6ff!important}.graphrag-unreviewed-row td:first-child{box-shadow:inset 3px 0 #e39a2d}.graphrag-document-table{width:100%;min-width:920px;table-layout:fixed}.graphrag-document-table th:nth-child(1){width:30%}.graphrag-document-table th:nth-child(2){width:15%}.graphrag-document-table th:nth-child(3){width:20%}.graphrag-document-table th:nth-child(4){width:20%}.graphrag-document-table th:nth-child(5){width:15%}.graphrag-document-table thead th{position:sticky;top:0;z-index:1;background:#f7f9fc}.graphrag-document-table td{vertical-align:top}.graphrag-document-table td>small{display:flex;align-items:center;gap:4px;margin-top:6px;color:#718096;font-size:11px}.graphrag-document-table tbody tr:hover td{background:#f7fbff}.graphrag-document-link{display:grid;width:100%;gap:5px;padding:0;border:0;color:#15558f;background:transparent;text-align:left;cursor:pointer}.graphrag-document-link strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.graphrag-document-link code{overflow:hidden;color:#64748b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.graphrag-document-link:hover strong{text-decoration:underline}.graphrag-empty-warning{color:#9a5b08!important}.graphrag-trace-table td>small,.graphrag-trace-table td>span{margin-top:6px}.graphrag-trace-table td>small{display:flex;align-items:center;gap:4px;min-width:0;color:#718096;font-size:11px}.graphrag-identifier{display:grid;gap:2px;min-width:0;margin-bottom:6px}.graphrag-identifier>span{color:#718096;font-size:10px;font-weight:800;text-transform:uppercase}.graphrag-identifier>div{display:flex;align-items:center;min-width:0;gap:3px}.graphrag-identifier code,.graphrag-source code{min-width:0;overflow:hidden;color:#3d5268;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.graphrag-identifier button{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:0;border-radius:5px;color:#536276;background:transparent;cursor:pointer}.graphrag-identifier button:hover{color:#15558f;background:#eaf3fc}.graphrag-identifier .graphrag-request-link{display:block;flex:1 1 auto;width:auto;min-width:0;height:auto;padding:3px 4px;color:#15558f;border-radius:4px;text-align:left}.graphrag-request-link code{display:block;color:inherit;font-weight:800}.graphrag-request-link:focus-visible{outline:3px solid rgba(21,85,143,.25);outline-offset:1px}.graphrag-confidence{display:block;margin:6px 0 4px;color:#15558f;font-size:12px;font-weight:800}.graphrag-metric-chips{display:flex;gap:4px;flex-wrap:wrap}.graphrag-metric-chips span{padding:3px 5px;border-radius:5px;color:#536276;background:#eef2f6;font-size:10px;font-weight:800}.graphrag-cause{display:-webkit-box;overflow:hidden;margin-top:7px!important;color:#536276!important;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.graphrag-latency{display:flex;justify-content:space-between;gap:6px;margin-bottom:5px;color:#536276;font-size:11px}.graphrag-latency b{color:#718096;font-weight:800}.graphrag-detail{display:grid;gap:16px}.graphrag-detail h2,.graphrag-detail h3,.graphrag-detail h4{margin:0;color:#172033}.graphrag-detail h2{margin-top:3px;font-size:20px}.graphrag-detail h3{font-size:14px}.graphrag-detail h4{margin-top:14px;font-size:12px}.graphrag-detail-head p{max-width:720px;margin:7px 0 0;color:#64748b;font-size:12px;line-height:1.5}.graphrag-eyebrow{color:#17649e;font-size:11px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.graphrag-drawer{width:min(1180px,calc(100dvw - 248px))}.graphrag-drawer-body{padding:18px 20px 30px}.graphrag-drawer .graphrag-detail-head{min-height:0}.graphrag-drawer .graphrag-detail-head p{margin-bottom:0}.graphrag-document-summary{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #e0e8f0;border-radius:10px;background:#fbfcfe}.graphrag-document-summary>div{flex:1 1 135px;min-width:135px;padding:4px 8px;border-right:1px solid #e8edf3}.graphrag-document-summary>div:first-child{display:grid;gap:4px;flex-basis:220px}.graphrag-document-summary>div:first-child span{color:#718096;font-size:10px;font-weight:800}.graphrag-document-summary code{overflow-wrap:anywhere;color:#35465b;font-size:11px}.graphrag-document-review{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(150px,.55fr) minmax(260px,1.2fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #bfd8ef;border-radius:10px;background:#f5f9fd}.graphrag-document-review h3{margin:0 0 4px}.graphrag-document-review p{margin:0;color:#64748b;font-size:11px;line-height:1.45}.graphrag-document-review label{display:grid;gap:5px;color:#536276;font-size:11px;font-weight:800}.graphrag-document-review textarea{min-height:70px;resize:vertical}.graphrag-empty-document{display:flex;gap:10px;padding:13px;border:1px solid #f2d39a;border-radius:9px;color:#8b570f;background:#fff8e8}.graphrag-empty-document svg{flex:0 0 auto}.graphrag-empty-document strong{display:block;font-size:13px}.graphrag-empty-document p{margin:5px 0 0;font-size:12px;line-height:1.45}.graphrag-node-card>p{margin:7px 0;color:#46566b;font-size:12px;line-height:1.45;white-space:pre-wrap}.graphrag-node-card>small,.graphrag-edge-card>small{display:block;margin-top:7px;color:#718096;font-size:10px}.graphrag-document-chunks{display:grid;gap:12px}.graphrag-document-chunks article{padding:14px;border:1px solid #dfe6ee;border-radius:9px;background:#fff}.graphrag-document-chunks article.referenced{border-color:#79b9e9;box-shadow:inset 3px 0 #2583c5}.graphrag-document-chunks header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.graphrag-document-chunks header div{display:grid;gap:4px}.graphrag-document-chunks header span{color:#17649e;font-size:10px;font-weight:850;text-transform:uppercase}.graphrag-document-chunks header strong{color:#172033;font-size:13px}.graphrag-document-chunks header code{max-width:45%;overflow:hidden;color:#64748b;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.graphrag-document-chunks article>p{margin:12px 0 0;color:#3f4d60;font-size:12px;line-height:1.65;white-space:pre-wrap}.graphrag-extracted-evidence{display:grid;gap:6px;margin-top:10px;padding:9px;border-radius:7px;background:#eff8ff}.graphrag-extracted-evidence p{margin:0;color:#355775;font-size:11px;line-height:1.5}.graphrag-document-chunks footer{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.graphrag-document-chunks footer span{padding:3px 6px;border-radius:5px;color:#536276;background:#eef2f6;font-size:10px;font-weight:750}.graphrag-trace-summary{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #e0e8f0;border-radius:10px;background:#fbfcfe}.graphrag-trace-summary>.graphrag-identifier,.graphrag-summary-fact{flex:1 1 105px;min-width:105px;padding:4px 8px;border-right:1px solid #e8edf3}.graphrag-summary-fact{display:grid;gap:4px}.graphrag-summary-fact span{color:#718096;font-size:10px;font-weight:800}.graphrag-summary-fact strong{overflow:hidden;color:#35465b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.graphrag-trace-summary>.product-status-badge{align-self:center}.graphrag-review-editor{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(150px,.55fr) minmax(260px,1.2fr) auto;align-items:end;gap:12px;padding:14px;border:1px solid #bfd8ef;border-radius:10px;background:#f5f9fd}.graphrag-review-editor h3{margin-bottom:4px}.graphrag-review-editor p{margin:0;color:#64748b;font-size:11px;line-height:1.45}.graphrag-review-editor label{display:grid;gap:5px;color:#536276;font-size:11px;font-weight:800}.graphrag-review-editor textarea{min-height:70px;resize:vertical}.graphrag-detail-workspace{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(290px,.9fr);align-items:stretch;gap:14px}.graphrag-graph-panel,.graphrag-selection-panel{min-width:0;padding:14px;border:1px solid #dfe6ee;border-radius:10px;background:#fbfcfe}.graphrag-panel-heading small{display:block;margin-top:5px;color:#718096;font-size:11px}.graphrag-legend{display:flex;justify-content:flex-end;gap:4px;flex-wrap:wrap}.graphrag-type-badge{display:inline-flex;align-items:center;gap:4px;width:fit-content;padding:3px 6px;border:1px solid #c8d9e9;border-radius:999px;color:#15558f;background:#f4f9fd;font-size:10px;font-weight:850}.graphrag-type-badge.type-cause,.graphrag-type-badge.type-symptom{border-color:#f1c7ca;color:#9c2d38;background:#fff5f5}.graphrag-type-badge.type-action,.graphrag-type-badge.type-check{border-color:#c2dfcc;color:#187244;background:#f1fbf4}.graphrag-type-badge.type-resource,.graphrag-type-badge.type-component{border-color:#d8c6e9;color:#70459a;background:#faf7fd}.graphrag-canvas{position:relative;min-height:420px;margin-top:12px;overflow:hidden;border:1px solid #dfe6ee;border-radius:8px;background:#fff;touch-action:none}.graphrag-canvas:fullscreen{padding:24px;background:#fff}.graphrag-canvas-inner{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:center;transition:transform .15s ease}.graphrag-edge-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.graphrag-edge-layer line{stroke:#91aebe;stroke-width:.45;cursor:pointer}.graphrag-edge-layer line.muted{opacity:.2}.graphrag-edge-layer line.selected{stroke:#15558f;stroke-width:.9}.graphrag-edge-layer marker path{fill:#91aebe}.graphrag-graph-controls{position:absolute;z-index:3;top:10px;right:10px;display:flex;gap:4px;padding:4px;border:1px solid #dbe4ed;border-radius:7px;background:#fffffff0;box-shadow:0 2px 8px #0f172a14}.graphrag-graph-controls button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:5px;color:#536276;background:transparent;cursor:pointer}.graphrag-graph-controls button:hover{color:#15558f;background:#eaf3fc}.graphrag-graph-node{position:absolute;display:grid;grid-template-columns:16px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;column-gap:4px;width:130px;min-height:58px;padding:7px;border:1px solid #8cb6d8;border-radius:8px;color:#173a5d;background:#fff;box-shadow:0 3px 9px #1a43631f;font-size:10px;text-align:left;transform:translate(-50%,-50%);cursor:pointer}.graphrag-graph-node>svg{grid-row:1 / span 2}.graphrag-graph-node span{overflow:hidden;color:#17649e;font-size:9px;font-weight:850;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.graphrag-graph-node b{display:-webkit-box;overflow:hidden;color:#24384c;font-size:11px;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical}.graphrag-graph-node.type-cause,.graphrag-graph-node.type-symptom{border-color:#e5a8ad}.graphrag-graph-node.type-action,.graphrag-graph-node.type-check{border-color:#9fc7ad}.graphrag-graph-node.type-resource,.graphrag-graph-node.type-component{border-color:#c5aedc}.graphrag-graph-node.muted{opacity:.38}.graphrag-graph-node.selected{outline:3px solid rgba(21,85,143,.25);box-shadow:0 0 0 1px #15558f}.graphrag-selection-panel{display:grid;align-content:start;gap:8px}.graphrag-selection-panel>p{margin:0;color:#46566b;font-size:12px;line-height:1.5;white-space:pre-wrap}.graphrag-selection-panel>.graphrag-summary-fact{padding:8px;border:0;border-radius:7px;background:#fff}.graphrag-type-counts{display:flex;gap:5px;flex-wrap:wrap}.graphrag-type-counts span{padding:3px 6px;border-radius:5px;color:#536276;background:#eef2f6;font-size:10px;font-weight:800}.graphrag-link-row{display:block;width:100%;padding:7px 8px;border:1px solid #e0e8f0;border-radius:6px;color:#46566b;background:#fff;font-size:11px;text-align:left;cursor:pointer}.graphrag-link-row:hover{border-color:#b8cbe0;background:#f5f9fd}.graphrag-link-row b{margin:0 3px;color:#17649e;font-size:10px}.graphrag-arrow{color:#17649e}.graphrag-linked-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.graphrag-linked-actions button,.graphrag-text-action{display:inline-flex;align-items:center;gap:4px;padding:5px 7px;border:0;border-radius:5px;color:#15558f;background:#eaf3fc;font-size:11px;font-weight:750;cursor:pointer}.graphrag-tabs{display:flex;gap:3px;overflow-x:auto;padding:4px;border:1px solid #dfe6ee;border-radius:9px;background:#fff}.graphrag-tabs button{min-height:34px;padding:0 11px;border:0;border-radius:6px;color:#536276;background:transparent;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.graphrag-tabs button.active{color:#15558f;background:#eaf3fc}.graphrag-tab-panel{min-width:0}.graphrag-tab-list{display:grid;gap:8px}.graphrag-node-card,.graphrag-edge-card,.graphrag-evidence-card{width:100%;padding:11px;border:1px solid #e0e8f0;border-radius:8px;color:#26384c;background:#fff;text-align:left}.graphrag-node-card,.graphrag-edge-card{cursor:pointer}.graphrag-node-card:hover,.graphrag-edge-card:hover,.graphrag-evidence-card:hover{border-color:#b8cbe0;background:#fbfdff}.graphrag-node-card strong,.graphrag-edge-card strong,.graphrag-evidence-card strong{display:block;margin-top:5px;color:#172033;font-size:12px}.graphrag-edge-card>.graphrag-source,.graphrag-node-card>.graphrag-source{margin-top:6px}.graphrag-edge-card p,.graphrag-evidence-card p{margin:7px 0 0;color:#46566b;font-size:12px;line-height:1.45;white-space:pre-wrap}.graphrag-edge-card.selected,.graphrag-evidence-card.selected{border-color:#7eadd1;background:#f3f8fd}.graphrag-evidence-card>button{display:flex;align-items:flex-start;width:100%;gap:8px;padding:0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.graphrag-evidence-card>button>span{min-width:0}.graphrag-evidence-card p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}.graphrag-evidence-card p.expanded{display:block}.graphrag-evidence-card>small{display:block;margin-top:7px;color:#718096;font-size:10px}.graphrag-source{display:grid;gap:2px;min-width:0;margin-top:4px}.graphrag-source b{overflow:hidden;color:#536276;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.graphrag-source code{display:block}.graphrag-entity-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.graphrag-entity-toolbar label{position:relative;flex:1 1 240px}.graphrag-entity-toolbar svg{position:absolute;top:10px;left:9px;color:#718096}.graphrag-entity-toolbar input{width:100%;padding-left:30px}.graphrag-raw summary{color:#15558f;font-size:12px;font-weight:800;cursor:pointer}.graphrag-raw button{margin:10px 0}.graphrag-raw pre{max-width:100%;overflow:auto;margin:0;padding:12px;border-radius:8px;color:#d9e7f4;background:#162436;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:1280px){.graphrag-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.graphrag-detail-workspace{grid-template-columns:minmax(0,1.55fr) minmax(260px,.9fr)}.graphrag-legend{max-width:260px}}@media(max-width:1024px){.graphrag-drawer{width:min(920px,calc(100dvw - 72px))}.graphrag-detail-workspace{grid-template-columns:1fr}.graphrag-selection-panel{min-height:0}.graphrag-review-editor,.graphrag-document-review{grid-template-columns:1fr 1fr}.graphrag-review-editor>:first-child,.graphrag-review-editor>:last-child,.graphrag-document-review>:first-child,.graphrag-document-review>:last-child{grid-column:1 / -1}.graphrag-trace-table{min-width:890px}.graphrag-trace-table th:nth-child(5),.graphrag-trace-table td:nth-child(5){display:none}}@media(max-width:768px){.graphrag-page-head,.graphrag-detail-head,.graphrag-panel-heading{flex-direction:column}.graphrag-refresh,.graphrag-detail-actions{justify-content:flex-start}.graphrag-summary-grid{grid-template-columns:1fr 1fr}.graphrag-filter-toolbar label{flex:1 1 145px}.graphrag-filter-toolbar .graphrag-search{flex-basis:100%}.graphrag-trace-summary>.graphrag-identifier,.graphrag-summary-fact{flex-basis:42%;border-right:0}.graphrag-canvas{min-height:360px}.graphrag-legend{justify-content:flex-start;max-width:none}.graphrag-trace-table{min-width:740px}.graphrag-trace-table th:nth-child(4),.graphrag-trace-table td:nth-child(4){display:none}}@media(max-width:520px){.graphrag-drawer{width:100dvw}.graphrag-drawer-body{padding:14px 12px 24px}.graphrag-summary-grid,.graphrag-review-editor,.graphrag-document-review{grid-template-columns:1fr}.graphrag-review-editor>:first-child,.graphrag-review-editor>:last-child,.graphrag-document-review>:first-child,.graphrag-document-review>:last-child{grid-column:auto}.graphrag-tabs button{padding:0 8px}.graphrag-canvas{min-height:330px}.graphrag-graph-node{width:108px}.graphrag-detail-actions button{flex:1 1 auto}.graphrag-document-chunks header{flex-direction:column}.graphrag-document-chunks header code{max-width:100%}}.results{display:grid;gap:10px}.results article{padding:14px;border:1px solid #e5ebf3;border-radius:8px;background:#fbfcfe}.results strong,.results span{display:block}.results span{margin-top:4px;color:#64748b;font-size:13px}.results p{margin:10px 0 0;line-height:1.55}.status,.error{grid-column:1 / -1;display:flex;align-items:flex-start;gap:8px;margin:0;padding:11px 12px;border-radius:8px;font-size:14px;line-height:1.45;white-space:pre-wrap}.status{color:#0f5132;background:#dff7ea}.error{color:#842029;background:#f8d7da}.toast{position:fixed;right:20px;bottom:20px;z-index:20;display:flex;align-items:center;gap:12px;max-width:min(420px,calc(100vw - 40px));padding:12px 14px;border:1px solid #d7e1ef;border-radius:8px;background:#fff;box-shadow:0 10px 28px #18274b1f;font-size:14px}.toast.success{border-color:#b9e2c9}.toast.error{border-color:#f3b7bd}.toast button{padding:4px 6px;color:#536276;background:transparent;cursor:pointer}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:grid;place-items:center;padding:20px;background:#0f172a6b}.confirm-dialog{width:min(420px,100%);padding:20px;border-radius:8px;background:#fff;box-shadow:0 18px 40px #0f172a33}.confirm-dialog h2{margin:0;font-size:19px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.mobile-logout{display:none}@media(max-width:1024px){.admin-content{padding:20px}.admin-grid,.admin-dashboard-grid{grid-template-columns:1fr}.dashboard-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.training-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.candidate-filters{grid-template-columns:1fr 1fr}.candidate-filters .searchbox{grid-column:1 / -1}.search-test-filter-bar{grid-template-columns:minmax(0,1fr) 180px}.search-comparison-grid{grid-template-columns:1fr}.search-test-actions{grid-column:1 / -1;justify-content:flex-end}.content-input{min-height:220px}.admin-page-intro h2{font-size:26px}}@media(max-width:1200px){.accuracy-create-grid{grid-template-columns:minmax(0,1fr);gap:18px}}@media(min-width:769px)and (max-width:1100px){.admin-shell{grid-template-columns:72px minmax(0,1fr)}.admin-sidebar-brand{display:grid;place-items:center;padding:18px 8px 14px}.admin-sidebar-brand strong{font-size:0}.admin-sidebar-brand strong:after{content:"M";font-size:18px}.admin-nav{padding:12px 8px}.admin-nav button{justify-content:center;padding:0}.admin-nav button>span,.admin-user-block>span,.admin-logout-label{display:none}.admin-sidebar-footer{gap:8px;padding:10px 8px}.admin-back{display:grid;place-items:center;padding:0;font-size:0}.admin-back:before{content:"←";font-size:18px}.admin-user-block button{min-height:34px}}@media(max-width:768px){.monitor-editor-row{grid-template-columns:minmax(0,1fr);gap:10px}.monitor-editor-actions{justify-content:flex-end}.monitor-editor footer{flex-direction:column}.admin-section-heading{align-items:stretch;flex-direction:column;gap:12px}.admin-section-action{align-self:flex-start}.search-test-actions button{width:auto;flex:1 1 0}.training-heading{align-items:flex-start}.training-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.training-tabs{overflow-x:auto}.training-tabs button{white-space:nowrap}.candidate-filters,.run-form-grid,.run-detail-list{grid-template-columns:1fr}.candidate-filters .searchbox,.run-form-grid .wide{grid-column:auto}.training-review-drawer{width:100vw}.monitor-global-controls{align-items:flex-start;flex-direction:column}.monitor-global-controls small{margin-left:0}.monitor-collector-table dl{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-layout-item.width-6{grid-column:span 12}.dashboard-heading-row{align-items:stretch;flex-direction:column}.dashboard-refresh{align-self:flex-start}.dashboard-status-grid,.dashboard-detail-grid{grid-template-columns:1fr}.dashboard-serving-panel{grid-column:auto}.dashboard-document-stats,.dashboard-serving-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{display:flex;flex-direction:column;height:100vh}.main-area{height:100vh}.admin-shell{display:block}.admin-sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid #e4e7ec}.admin-nav{grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;padding:10px 12px}.admin-nav button{white-space:nowrap}.admin-sidebar-footer{grid-template-columns:1fr}.admin-header{justify-content:flex-end;min-height:44px;padding:8px 12px}.admin-content{padding:14px 12px}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;width:min(286px,calc(100vw - 56px));transform:translate(-100%);transition:transform .16s ease}.sidebar.open{transform:translate(0)}.sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;background:#0f172a61}.sidebar-close,.mobile-menu{display:inline-flex;align-items:center;justify-content:center}.top-header{min-height:56px;padding:0 12px}.top-header h1{min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:16px}.top-header .header-actions .user-chip{display:none}.chat-scroll{padding:22px 12px 16px}.chat-thread,.chat-message{width:100%}.chat-empty{min-height:calc(100vh - 230px);padding:0 4px}.chat-empty h2{font-size:23px}.composer-wrap{width:calc(100% - 24px);padding-bottom:12px}.ingest-form,.document-search,.search-test .document-search{grid-template-columns:1fr}.secondary-action,.command,.icon-action{width:100%}.reference-panel div{grid-template-columns:1fr}.mobile-logout{display:block;margin-top:14px}}@media(max-width:620px){.search-test-filter-bar{grid-template-columns:minmax(0,1fr)}.search-comparison-grid{grid-template-columns:1fr}.search-test-actions{grid-column:auto;display:grid;grid-template-columns:1fr}.search-test-actions button{width:100%}.monitor-editor-actions{justify-content:flex-start;flex-wrap:wrap}.monitor-editor-size{width:100%;justify-content:space-between}}
