:root{color:#18211d;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f8f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:#265f9c}.app-shell{grid-template-columns:252px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f4faf6;background:#17231d;flex-direction:column;gap:26px;padding:22px 14px;display:flex}.brand{align-items:center;gap:12px;min-width:0;display:flex}.brand strong{line-height:1.1;display:block}.brand span,.topbar p,.panel-heading p,.metric-card span,.metric-card small,.service-row span,.queue-row span,.alert-item span,.empty-state span{color:#63736a;font-size:13px}.sidebar .brand span{color:#a8b8af}.sidebar .brand{align-items:flex-start}.brand-copy{gap:3px;min-width:0;display:grid}.sidebar-tenant-switch{color:#f4faf6;background:#26382f;border-color:#41564b;width:100%;min-width:0;height:34px;margin-top:8px;padding-left:9px;font-size:13px}nav{gap:5px;display:grid}nav button{color:#dfeae4;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:40px;padding:9px 10px;display:grid}nav button:hover,nav button.active{color:#fff;background:#26382f}.nav-count{color:#fff;background:#d35d33;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 6px;font-size:12px;display:inline-grid}.nav-count.empty{color:#dfeae4;background:#486156}.workspace{align-content:start;gap:20px;min-width:0;padding:26px;display:grid}.topbar{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.15}h2{font-size:18px;line-height:1.25}h3{font-size:16px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.user-pill{color:#43534a;background:#fff;border:1px solid #d6e1da;border-radius:6px;align-items:center;gap:7px;min-height:34px;padding:4px 10px;font-size:13px;display:inline-flex}.connection-pill,.token-pill,.badge{color:#43534a;white-space:nowrap;background:#fff;border:1px solid #d6e1da;border-radius:999px;align-items:center;gap:6px;min-height:28px;padding:4px 10px;font-size:13px;display:inline-flex}.connection-pill.live{color:#14603b;background:#eef9f2;border-color:#b8ddc7}.connection-pill.polling,.connection-pill.connecting{color:#73500f;background:#fff8e6;border-color:#ead7a5}.connection-pill.offline{color:#8e3122;background:#fff0ed;border-color:#efc2b9}.icon-button{color:#25342d;background:#fff;border:1px solid #d6e1da;border-radius:6px;place-items:center;width:34px;height:34px;display:inline-grid}.icon-button:hover{background:#edf4f0}.view-stack{gap:18px;display:grid}.inline-form,.monitoring-settings,.provider-choice-grid{flex-wrap:wrap;align-items:end;gap:12px;display:flex}.cluster-scope-selector{border:0;min-width:0;padding:0}.cluster-scope-selector legend{color:#3b4c43;margin-bottom:6px;font-size:13px;font-weight:600}.inline-form .field{min-width:260px}.monitoring-settings{align-items:center}.scan-scope-panel{border-top:1px solid #edf2ef;gap:12px;margin-top:18px;padding-top:18px;display:grid}.scan-scope-panel>.primary-action{justify-self:start}.scan-cluster-grid{background:#f8fbf9;border:1px solid #dbe5df;border-radius:8px;grid-template-columns:repeat(2,minmax(240px,1fr));gap:8px;padding:10px;display:grid}.scan-cluster-grid .toggle-row span{gap:2px;display:grid}.scan-cluster-grid small,.report-history-card summary small,.monitoring-card small{color:#63736a;font-size:12px}.alert-metrics,.report-metrics{grid-template-columns:repeat(2,minmax(180px,260px))}.alert-filter{margin-bottom:14px}.panel-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.unread-alert{border-left:4px solid #2d7357}.read-alert{opacity:.78}.alert-source-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.report-history-card summary>div{gap:4px;display:grid}.report-card-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.monitoring-settings>.field{width:220px}.provider-choice-grid{background:#f8fbf9;border:1px solid #dbe5df;border-radius:8px;padding:10px 12px}.monitoring-list{gap:10px;margin-top:16px;display:grid}.monitoring-card,.match-card,.report-card{background:#fbfdfc;border:1px solid #dbe5df;border-radius:8px;padding:13px}.monitoring-card{justify-content:space-between;align-items:center;gap:14px;display:flex}.monitoring-card>div:first-child{gap:3px;display:grid}.monitoring-card>div:first-child>span,.report-card summary>span,.match-card time{color:#63736a;font-size:12px}.term-list{flex-wrap:wrap;gap:6px;display:flex}.boolean-rule-input{min-height:9rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.boolean-rule-summary{gap:.35rem;display:grid}.boolean-rule-summary>span{color:#63736a;text-transform:uppercase;font-size:.76rem;font-weight:700}.boolean-rule-summary code{overflow-wrap:anywhere;white-space:normal}.match-card{gap:10px;display:grid}.match-card p{color:#35463d;margin:0;line-height:1.5}.match-card-heading{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.match-card-heading time{margin-left:auto}.report-card summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}.report-card .reporting-markdown{margin-top:12px}.provider-admin-grid{grid-template-columns:repeat(2,minmax(320px,1fr));gap:14px;display:grid}.provider-admin-card{align-items:stretch;display:grid}.admin-usage-toolbar{justify-content:flex-end;align-items:end;gap:12px;display:flex}.admin-runs-stack{gap:14px;display:grid}.admin-runs-toolbar{justify-content:flex-end;align-items:end;gap:12px;display:flex}.admin-runs-toolbar .field{min-width:220px}.admin-usage-toolbar .field{min-width:180px}.admin-usage-table{min-width:1120px}.admin-runs-table,.admin-run-events-table{min-width:1080px}.admin-runs-panel .compact-action{white-space:nowrap}.admin-run-detail,.admin-run-section{gap:14px;display:grid}.admin-run-metrics{margin-top:2px}.admin-run-section h4{margin:8px 0 0}.run-query{white-space:pre-wrap;overflow-wrap:anywhere;color:#233d31;max-width:520px;margin:0;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.muted-copy{color:#63736a;font-size:12px}.run-diagnostics pre{white-space:pre-wrap;background:#f7faf8;border-radius:8px;max-height:360px;padding:14px;overflow:auto}.usage-user,.usage-system-list{gap:4px;display:grid}.usage-user span,.usage-system-list span,.usage-system-grid article>span{color:#63736a;font-size:12px}.usage-system-list{min-width:300px;margin-top:8px}.usage-system-grid{grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px;display:grid}.usage-unattributed{background:#fffaf0}.search-provider-settings{margin-top:14px}.metric-grid{grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;display:grid}.metric-card,.panel,.notice,.login-panel{background:#fff;border:1px solid #dbe5df;border-radius:8px;box-shadow:0 1px 2px #1121180d}.metric-card{align-content:start;gap:6px;min-height:132px;padding:16px;display:grid}.metric-card svg{color:#2e6d53}.metric-card strong{font-size:30px;line-height:1.1}.reporting-panel{gap:14px;display:grid}.reporting-chat{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.reporting-prompt textarea{min-height:96px;font-family:inherit;font-size:14px}.reporting-actions{justify-content:flex-start;display:flex}.reporting-output{gap:10px;padding-top:4px;display:grid}.reporting-markdown{color:#17211d;white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fbf9;border:1px solid #dbe5df;border-radius:8px;max-height:420px;margin:0;padding:14px;font-size:12px;line-height:1.5;overflow:auto}.reporting-empty{color:#63736a;align-items:center;gap:10px;min-height:48px;font-size:13px;display:flex}.content-grid{gap:16px;display:grid}.two-columns{grid-template-columns:minmax(320px,.95fr) minmax(360px,1.05fr)}.panel{min-width:0;padding:18px}.panel-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.inline-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:inline-flex}.search-heading{align-items:flex-end}.search-controls{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.search-box,.input-with-icon{color:#6a7a71;background:#fff;border:1px solid #cddad2;border-radius:6px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-width:260px;height:38px;padding:0 10px;display:grid}.search-box input,.input-with-icon input{color:#17211d;background:0 0;border:0;outline:0;width:100%;min-width:0}.filter-input{color:#17211d;background:#fff;border:1px solid #cddad2;border-radius:6px;width:170px;min-width:0;height:38px;padding:0 10px}select{color:#17211d;background:#fff;border:1px solid #cddad2;border-radius:6px;height:38px;padding:0 34px 0 10px}.notice{color:#8a2c1f;background:#fff5f2;border-color:#e3b6ac;align-items:center;gap:10px;padding:12px 14px;display:flex}.notice.success{color:#14603b;background:#eef9f2;border-color:#b8ddc7}.settings-grid{grid-template-columns:minmax(360px,1fr) minmax(360px,1fr);gap:16px;display:grid}.settings-panel{align-content:start}.settings-form{gap:12px;display:grid}.provider-key-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.load-model-action{white-space:nowrap;height:38px}.field{color:#52625a;gap:6px;font-size:13px;display:grid}.field input,.field select,.field textarea{color:#17211d;background:#fff;border:1px solid #cddad2;border-radius:6px;width:100%;min-width:0}.field input,.field select{height:38px;padding:0 10px}.field textarea{resize:vertical;min-height:220px;padding:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45}.field input:disabled,.field select:disabled,.field textarea:disabled{color:#83928a;background:#f3f6f4}.toggle-row{background:#fbfdfc;border:1px solid #edf2ef;border-radius:6px;justify-content:space-between;align-items:center;gap:14px;min-height:38px;padding:8px 10px;display:flex}.toggle-row input{accent-color:#23694f;width:18px;height:18px}.settings-actions{justify-content:flex-end;display:flex}.secondary-action{color:#25342d;background:#fff;border:1px solid #cddad2;border-radius:6px;align-items:center;gap:7px;min-height:34px;padding:0 12px;display:inline-flex}.secondary-action:hover{background:#edf4f0}.test-row{flex-wrap:wrap;align-items:center;gap:8px;min-height:34px;display:flex}.source-form-grid{grid-template-columns:repeat(5,minmax(150px,1fr));gap:12px;display:grid}.source-actions,.source-heading-actions,.row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.source-heading-actions{justify-content:flex-end}.source-list-controls{justify-content:space-between;align-items:center;margin-bottom:16px}.source-lifecycle-note{color:#52625a;margin:2px 0 18px;font-size:13px;line-height:1.45}.source-actions{justify-content:flex-end;margin-top:14px}.row-actions{min-width:250px}.compact-action{min-height:30px;padding:0 9px;font-size:12px}.compact-icon-action{width:30px;height:30px}.table-input,.table-select,.source-status-cell select{color:#17211d;background:#fff;border:1px solid #cddad2;border-radius:6px;width:86px;min-width:0;height:32px;padding:0 8px}.table-select{width:116px}.source-status-cell{gap:7px;display:grid}.table-toggle{color:#52625a;align-items:center;gap:7px;min-height:32px;font-size:13px;display:inline-flex}.table-toggle input{accent-color:#23694f;width:16px;height:16px}.alert-controls,.pagination-row,.pagination-buttons{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pagination-row{color:#52625a;justify-content:space-between;margin-bottom:18px;font-size:13px}.pagination-buttons span{white-space:nowrap}.compact-select{color:#52625a;align-items:center;gap:8px;font-size:13px;display:inline-flex}.compact-select select{min-width:82px}.provider-status-row{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.service-list,.queue-list,.alert-feed,.kv-list{gap:10px;display:grid}.service-row{border-bottom:1px solid #edf2ef;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;display:grid}.service-row:last-child{border-bottom:0}.service-row strong,.queue-row strong{text-transform:capitalize;display:block}.dot{background:#b83232;border-radius:50%;width:10px;height:10px}.dot.ok{background:#21885f}.dot.warn{background:#c28b18}.badge{border-radius:999px;max-width:100%;min-height:24px;padding:3px 8px;font-size:12px}.badge.good{color:#14603b;background:#eef9f2;border-color:#b8ddc7}.badge.warn{color:#73500f;background:#fff8e6;border-color:#ead7a5}.badge.bad{color:#8e3122;background:#fff0ed;border-color:#efc2b9}.badge.blue{color:#255c92;background:#eef6ff;border-color:#c1d9f2}.queue-row{gap:8px;display:grid}.bar-track{background:#e8efeb;border-radius:999px;height:9px;overflow:hidden}.bar-track span{border-radius:inherit;background:#2d7357;min-width:5px;height:100%;display:block}.table-wrap{border:1px solid #edf2ef;border-radius:8px;width:100%;overflow:auto}table{border-collapse:collapse;width:100%;min-width:1200px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #edf2ef;padding:12px;font-size:14px}th{color:#54645b;text-transform:uppercase;background:#f7faf8;font-size:12px}tr:last-child td{border-bottom:0}.storage-table{min-width:1320px}.storage-panel .panel-heading{margin-bottom:24px}.storage-panel .panel-heading h2{margin-bottom:8px}.storage-table-wrap{margin-top:8px}.storage-item-cell{gap:5px;max-width:540px;display:grid}.storage-item-cell span,.muted-small{color:#63736a;font-size:13px;line-height:1.4}.storage-item-cell a{overflow-wrap:anywhere;align-items:center;gap:5px;display:inline-flex}.inline-link-list{flex-wrap:wrap;gap:0 4px;display:inline-flex}.inline-link-list a{align-items:center;gap:4px;display:inline-flex}.selected-row{background:#f4faf7}.danger-action{color:#8e3122}.storage-pagination,.pager-pagination{margin-top:12px}.groups-panel .panel-heading h2{margin-bottom:8px}.storage-detail-grid{grid-template-columns:minmax(300px,1.1fr) minmax(300px,.9fr);gap:14px;display:grid}.storage-detail-grid article{background:#fbfdfc;border:1px solid #edf2ef;border-radius:8px;align-content:start;gap:9px;min-width:0;padding:13px;display:grid}.storage-detail pre{color:#f4faf6;white-space:pre-wrap;overflow-wrap:anywhere;background:#17231d;border-radius:6px;max-height:420px;margin:0;padding:12px;font-size:12px;line-height:1.45;overflow:auto}.inspection-review{background:#fbfdfc;border:1px solid #edf2ef;border-radius:8px;gap:14px;margin-bottom:14px;padding:13px;display:grid}.inspection-review-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.inspection-review-heading span{color:#63736a;font-size:13px}.extraction-editor-grid{grid-template-columns:repeat(2,minmax(260px,1fr));gap:12px;display:grid}.extraction-editor-grid>.field:first-child{grid-column:1/-1}.extraction-score-grid{align-content:start;gap:10px;display:grid}.extraction-list-field textarea{min-height:104px}.segmented{background:#f4f8f6;border:1px solid #d6e1da;border-radius:7px;gap:3px;padding:3px;display:inline-flex}.segmented button{color:#4d5d54;text-transform:capitalize;background:0 0;border:0;border-radius:5px;min-height:30px;padding:0 10px}.segmented button.active{color:#18211d;background:#fff;box-shadow:0 1px 1px #11211814}.proposal-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.proposal-card{background:#fbfdfc;border:1px solid #edf2ef;border-radius:8px;grid-template-columns:minmax(220px,1.2fr) minmax(300px,1fr) auto;align-items:center;gap:12px;padding:14px;display:grid}.proposal-card-main{gap:6px;min-width:0;display:grid}.proposal-card a{overflow-wrap:anywhere;align-items:center;gap:5px;display:inline-flex}.proposal-card p,.alert-item p{color:#43534a;font-size:14px;line-height:1.45}.source-card-config{background:#fff;border:1px solid #edf2ef;border-radius:6px;grid-template-columns:86px 86px 112px;justify-content:start;align-items:end;gap:6px;padding:8px;display:grid}.source-card-config .field{gap:4px;font-size:12px}.source-card-config .field input,.source-card-config .field select{height:32px;padding:0 8px}.source-table-wrap{border-radius:6px;margin-top:8px}.source-table{table-layout:fixed;min-width:1120px}.source-table th:first-child,.source-table td:first-child{width:auto}.source-table th:nth-child(2),.source-table td:nth-child(2),.source-table th:nth-child(3),.source-table td:nth-child(3){width:92px}.source-table th:nth-child(4),.source-table th:nth-child(5),.source-table td:nth-child(4),.source-table td:nth-child(5){width:108px}.source-table th:nth-child(6),.source-table td:nth-child(6){width:150px}.source-table th:nth-child(7),.source-table td:nth-child(7),.source-table th:nth-child(8),.source-table td:nth-child(8){width:190px}.source-table{min-width:1340px}.source-table th:nth-child(8),.source-table td:nth-child(8){width:230px;min-width:230px}.source-table td:nth-child(6),.source-table td:nth-child(7),.source-table td:nth-child(8){padding-right:18px}.table-sort-button{appearance:none;color:inherit;cursor:pointer;min-height:24px;font:inherit;text-transform:inherit;background:0 0;border:0;align-items:center;gap:5px;padding:0;display:inline-flex}.table-sort-button svg{color:#7a8a81}.table-sort-button.active,.table-sort-button.active svg,.table-sort-button:hover{color:#1f5d46}.source-target-cell{gap:4px;min-width:240px;max-width:520px;display:grid}.source-target-cell strong,.source-target-cell span{overflow-wrap:anywhere}.source-target-cell span{color:#52625a;font-size:12px;line-height:1.35}.source-error-text{color:#9b2d20!important}.source-row-actions{flex-wrap:nowrap;justify-content:flex-end;gap:6px;min-width:210px;display:flex}.proposal-topline,.proposal-actions,.chip-row{flex-wrap:wrap;gap:8px;display:flex}.proposal-actions{justify-content:flex-end;min-width:260px}.proposal-actions button{background:#fff;border:1px solid #d6e1da;border-radius:6px;align-items:center;gap:6px;min-height:32px;padding:0 10px;display:inline-flex}.alert-item{text-align:left;background:#fbfdfc;border:1px solid #edf2ef;border-left:4px solid #d6e1da;border-radius:8px;gap:8px;padding:14px;display:grid}.kv-list{grid-template-columns:minmax(140px,.45fr) minmax(0,1fr)}.kv-list.compact{grid-template-columns:minmax(180px,.32fr) minmax(0,1fr)}.kv-list dt,.kv-list dd{border-bottom:1px solid #edf2ef;margin:0;padding:9px 0}.kv-list dt{color:#54645b;text-transform:capitalize}.kv-list dd{overflow-wrap:anywhere}.empty-state{text-align:center;color:#53645b;background:#fbfdfc;border:1px dashed #cad8d1;border-radius:8px;align-content:center;place-items:center;gap:8px;min-height:170px;padding:22px;display:grid}.skeleton-list,.skeleton-table{background:linear-gradient(90deg,#fff0,#ffffffb8,#fff0) 0 0/140px 100%,repeating-linear-gradient(#f2f7f4 0 18px,#fff 18px 38px) 0 0/100% 100%;border-radius:8px;min-height:190px;animation:1.1s linear infinite shimmer}@keyframes shimmer{0%{background-position:-140px 0,0 0}to{background-position:calc(100% + 140px) 0,0 0}}.floating-retry{color:#fff;background:#18231d;border:1px solid #cbd8d0;border-radius:999px;align-items:center;gap:7px;min-height:38px;padding:0 13px;display:inline-flex;position:fixed;bottom:22px;right:22px;box-shadow:0 10px 28px #1121182e}.login-page{background:#eef3f0;place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{gap:18px;width:min(100%,460px);padding:24px;display:grid}.login-panel .lockup span{color:#63736a}.auth-message{gap:9px;display:grid}.auth-message p{color:#52625a;line-height:1.55}.login-panel>.primary-action,.login-panel>.secondary-action{width:fit-content;text-decoration:none}.login-form{gap:14px;display:grid}.login-form label{color:#52625a;gap:7px;font-size:14px;display:grid}.login-form .input-with-icon{width:100%}.primary-action{color:#fff;background:#23694f;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 14px;display:inline-flex}@media (width<=1100px){.proposal-card{grid-template-columns:minmax(0,1fr);align-items:stretch}.proposal-actions{justify-content:flex-start;min-width:0}.metric-grid,.two-columns,.settings-grid,.source-form-grid,.provider-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=820px){.app-shell{grid-template-columns:1fr}.sidebar{z-index:10;gap:14px;padding:14px;position:sticky;top:0}.sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}nav button{grid-template-columns:18px minmax(0,1fr)}.nav-count{grid-column:2}.workspace{padding:18px}.topbar,.panel-heading,.search-heading,.alert-topline,.alert-storage-row{flex-direction:column;align-items:stretch}.topbar-actions,.search-controls{justify-content:flex-start}.metric-grid,.two-columns,.settings-grid,.source-form-grid,.source-card-config,.reporting-chat,.provider-admin-grid{grid-template-columns:1fr}.monitoring-card,.inline-form,.monitoring-settings{flex-direction:column;align-items:stretch}.provider-key-row{grid-template-columns:1fr;align-items:stretch}.provider-key-row .badge{justify-self:start}.search-box,.input-with-icon,.filter-input{width:100%;min-width:0}.kv-list,.storage-detail-grid,.kv-list.compact{grid-template-columns:1fr;gap:0}.example-card,.example-meta{grid-template-columns:1fr}.kv-list dt{border-bottom:0;padding-bottom:0}}@media (width<=540px){.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}h1{font-size:24px}.metric-card{min-height:116px}.panel{padding:14px}}
