/* Unified BlackBeeDev workspace UI. Kept separate from page logic styles. */
:root{color-scheme:light;--ink:#172033;--muted:#68758a;--paper:#fff;--soft:#f4f7fb;--line:#e1e7f0;--green:#16804f;--green2:#199765;--blue:#2868d7;--blue-soft:#eaf1ff;--amber:#ad6b00;--red:#cf3948;--shadow:0 2px 8px #2538580d,0 12px 28px #2538580a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
html{background:var(--soft);scroll-behavior:smooth}html,body{max-width:100%;overflow-x:hidden}body{background:var(--soft);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0}body:after{display:none!important}
.sidebar{width:252px;background:var(--paper);color:var(--ink);padding:18px 12px 14px;border-right:1px solid var(--line);box-shadow:none}.brand{height:54px;margin:0 0 14px;padding:0 8px;color:#101828;gap:10px}.brand-mark{width:36px;height:36px;background:transparent;object-fit:contain}.brand strong{font-size:15px;letter-spacing:-.025em}.brand small{color:var(--muted);font-size:11px;letter-spacing:0}.sidebar nav{gap:3px;overflow-y:auto;min-height:0}.nav-group-label{padding:17px 12px 5px;color:#7b8798;font-size:10px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.sidebar nav a{height:38px;padding:0 10px;border:0;border-radius:7px;color:#3d485b;font-size:12px;font-weight:600;transition:background .16s,color .16s}.sidebar nav a span.nav-icon{width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:#f1f4f8;color:#68758a;font-size:10px;font-weight:800}.sidebar nav a:hover{background:#f5f7fb;color:var(--ink);border:0}.sidebar nav a.active{background:var(--blue-soft);color:#215bb9;border:0;text-shadow:none}.sidebar nav a.active span.nav-icon{background:#dce8ff;color:#215bb9}.sidebar-bottom{padding-top:8px}.legal-mini{gap:8px;flex-wrap:wrap;padding:7px 9px}.legal-mini a{color:#66758a;font-size:9px}.legal-mini a:hover{color:var(--blue)}.usage-mini{border-top:1px solid var(--line);color:var(--muted);padding:12px 10px;margin:5px 0 4px}.usage-mini strong{color:var(--ink)}.usage-mini div{height:5px;border-radius:99px;background:#edf1f6}.usage-mini i{border-radius:99px;background:var(--blue)}.account{height:52px;border-radius:8px;color:var(--ink)}.account:hover{background:#f6f8fb}.account small{color:var(--muted)}.avatar{border-radius:50%;background:#e6edfa;color:#315a9b}
main{margin-left:252px;min-height:100vh;min-width:0}.topbar{height:68px;gap:18px;padding:0 26px;background:#ffffffed;border-color:var(--line);box-shadow:0 1px 4px #1d2b4308;backdrop-filter:blur(12px)}.workspace-switch{display:grid;gap:2px;flex:0 0 150px}.workspace-switch small{font-size:9px;color:var(--muted)}.workspace-switch button{height:28px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--ink);display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:650}.crumb{display:grid;gap:2px;flex:0 0 auto;margin:0;color:var(--muted);font-size:11px}.crumb span{font-size:8px;letter-spacing:.1em;color:#78859a}.crumb strong{color:var(--ink);font-size:12px}.global-search{position:relative;display:flex;align-items:center;gap:9px;flex:1;max-width:490px;height:36px;margin:0 auto;padding:0 10px;border:1px solid #dbe2ed;border-radius:8px;background:#fbfcfe;color:#68758a}.global-search:focus-within{background:#fff;border-color:#8eafea;box-shadow:0 0 0 3px #2d6bd211}.global-search>span{font-size:20px;line-height:1}.global-search input{width:100%;height:32px!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--ink)!important;font-size:11px}.global-search input::placeholder{color:#7f8ba0}.global-search kbd{white-space:nowrap;padding:2px 5px;border:1px solid var(--line);border-radius:4px;background:#fff;color:#657189;font:9px ui-sans-serif,system-ui}.global-search-results{position:absolute;top:42px;left:0;right:0;z-index:30;display:grid;gap:3px;padding:6px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.global-search-results[hidden]{display:none}.search-result{width:100%;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 10px;border:0;border-radius:6px;background:#fff;color:var(--ink);text-align:left;font-size:11px}.search-result:hover,.search-result:focus-visible{background:var(--blue-soft);outline:0}.search-result span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-result small,.search-empty{color:var(--muted);font-size:10px}.search-empty{padding:10px}.top-actions{gap:9px}.system-ok{font-size:10px;color:#546579;white-space:nowrap}.system-ok i{background:#22a36a;box-shadow:none}.toolbar-action{position:relative;width:32px;height:32px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;color:#59677c;text-decoration:none;font-size:14px;font-weight:700}.toolbar-action:hover{background:#f3f6fb;border-color:var(--line)}.notification-action i{position:absolute;top:5px;right:5px;width:6px;height:6px;border-radius:50%;background:#f08b37;border:1px solid #fff}.theme-toggle{height:32px;padding:0 9px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#59677c;font-size:9px}.theme-toggle:hover{border-color:#aab8cc;color:var(--blue);box-shadow:none}
.content{max-width:1560px;padding:28px 30px 42px}.page-head{align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid transparent}.page-head h1{margin:3px 0 5px;color:#111827;font-size:27px;font-weight:750;letter-spacing:-.035em;text-transform:none;text-shadow:none}.page-head p{color:#68758a;font-size:12px;line-height:1.55}.eyebrow{color:#738198;font-size:9px;letter-spacing:.12em}.page-head>.actions{justify-content:flex-end}.btn{min-height:36px;padding:0 12px;border:1px solid #d3dce8;border-radius:6px;background:#fff;color:#344054;font-size:11px;font-weight:650;letter-spacing:0;text-transform:none;box-shadow:none}.btn:hover{border-color:#9aacc7;background:#f8faff;color:#1f55aa;box-shadow:none}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:#1f58bc;border-color:#1f58bc}.btn.danger{color:var(--red);border-color:#f0c7cc}.btn.small{min-height:30px}.metrics{gap:10px;border:0;background:transparent}.metric{padding:15px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.metric:last-child{border:1px solid var(--line)}.metric small{color:var(--muted);font-size:10px}.metric strong{margin:5px 0;font-size:27px;color:#111827;text-shadow:none}.grid{gap:15px}.panel,.project,.metric-section{border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:var(--shadow)}.panel{overflow:hidden}.panel-head{min-height:52px;height:auto;padding:12px 16px;border-color:#edf0f5;background:#fff}.panel-head h2{color:#253148;font-size:12px;font-weight:700}.panel-head p{color:var(--muted);font-size:10px}.panel-body{padding:16px}.quick-grid{border-color:#edf0f5}.quick-grid button{background:#fff;color:var(--ink);border-color:#edf0f5}.quick-grid button:hover{background:#f7f9fd}.table-wrap{border-radius:7px}th,td{padding:11px 13px;border-color:#edf0f5}th{background:#f8fafd;color:#768399;font-size:9px;letter-spacing:.07em}tr:hover td{background:#f8faff}.project-list{gap:12px}.project{padding:16px}.project h3{color:#263248}.project a{color:#77849a}.site-icon{border-radius:8px;background:#eaf1ff;color:var(--blue)}.project-stats{gap:20px}.progress{height:5px;border-radius:20px;background:#edf1f7}.progress i{border-radius:20px;background:var(--blue);box-shadow:none}.status{font-size:9px;letter-spacing:.04em}.status:before{box-shadow:none}.issue{padding:15px 16px;border-color:#edf0f5}.severity.critical,.severity.high{color:#c8374b}.severity.medium{color:#ad6b00}.severity.low{color:#2563b9}.issue summary{color:var(--blue)}.detail-box{border-radius:6px;background:#f5f7fb}.report-head{background:#f6f8fc;color:var(--ink);border:1px solid var(--line);border-radius:9px}.report-head p{color:var(--muted)}.overall{border-color:var(--blue);color:var(--blue)}.score-grid{border-color:var(--line);border-radius:0 0 9px 9px}.score-card{border-color:var(--line)}.filters{gap:8px;background:#fff;border-color:var(--line)}.filters select{border:1px solid #d3dce8;border-radius:6px;background:#fff}.modal-head{border-color:var(--line);background:#fff}.modal-head small{color:var(--blue)}dialog{border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);box-shadow:var(--shadow)}dialog::backdrop{background:#10182866;backdrop-filter:blur(2px)}.modal-actions{gap:8px}.field input,.field select,.audit-launch input,.filters input,input,select,textarea{border-color:#d5deea;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus,.audit-launch input:focus,.field input:focus,.field select:focus{border-color:#83a8e8;box-shadow:0 0 0 3px #2868d714}.notice{border-left-color:#e5a43b;background:#fff8e9;color:#71521c;border-radius:5px}.toast{border:1px solid #dce5f1;border-radius:8px;background:#172033;color:#fff}.muted{color:var(--muted)}
.security-view,.account-view,.updates-view{color:var(--ink)}.security-view .metric-section,.security-card,.cloud-security-toolbar,.account-banner,.update-card,.cloud-workspace-card{border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);box-shadow:var(--shadow)}.metric-section h3{border-color:#edf0f5;color:#253148}.security-panel-content{color:var(--ink)}.security-row{border-color:#edf0f5;color:#354157}.security-row small{color:var(--muted)}.security-card strong{color:#111827}.cloud-security-toolbar{background:#fff}.cloud-security-toolbar select,.cloud-security-toolbar input{background:#fff;color:var(--ink);border-color:#d5deea}.account-banner{padding:12px 14px}.account-banner small{color:var(--muted)}.website-audit{margin:25px 0;padding:0}.website-audit>p,.local-authorization{color:var(--muted)}.audit-form input{border:1px solid #d5deea;border-radius:6px;background:#fff;color:var(--ink)}.local-authorization input{accent-color:var(--blue)}.audit-progress{border:1px solid var(--line);border-radius:8px;background:#fff}.progress-copy{color:var(--muted)}.progress-copy b{color:var(--blue)}.audit-progress progress{accent-color:var(--blue)}.score-strip span{border-color:var(--line);border-radius:6px;background:#fff;color:#62718a}.score-strip b{color:var(--ink)}.history{border-color:var(--line)}.report-list{gap:7px}.report-row{border:1px solid var(--line);border-radius:7px;background:#fff;color:#344054}.report-row time{color:var(--muted)}.empty{border:1px dashed #d3dce8;border-radius:9px;background:#fff}.empty b{color:var(--ink)}.code,.key-secret{border-radius:7px;background:#172033;color:#dbeafe;border:1px solid #293b59}.security-graph-page{color:var(--ink);background:transparent}.graph-summary,.graph-layout,.graph-toolbar,.graph-canvas,.graph-inspector,.graph-activity,.graph-coverage{border-color:var(--line);background:#fff;color:var(--ink);box-shadow:var(--shadow)}.graph-summary{border-radius:9px}.graph-summary-item{border-color:var(--line)}.graph-summary-item small,.graph-coverage span,.graph-coverage>small,.graph-toolbar label,.graph-live-status{color:var(--muted)}.graph-summary-item strong,.graph-inspector h2,.graph-activity h2{color:var(--ink)}.graph-project-toolbar,.graph-tools,.graph-modes{background:#f7f9fc;border-color:var(--line)}.graph-toolbar input,.graph-toolbar select,.graph-toolbar button,.graph-modes button{border-color:#d5deea;background:#fff;color:#344054}.graph-modes button.active{background:var(--blue-soft);color:#215bb9;border-color:#b7cdf5}.graph-canvas{background:#f7f9fc}.graph-node .node-card{fill:#fff;stroke:#d5deea;filter:drop-shadow(0 3px 7px #25385818)}.graph-node.node-project .node-card{fill:#edf3ff;stroke:#9bb9ee}.graph-node .node-kind{fill:#748199}.graph-node .node-label{fill:#253148}.graph-node .node-subtitle{fill:#65738a}.graph-edge .edge-line{stroke:#a4b3c6}.graph-edge.edge-configured .edge-line{stroke:#96a4b8}.edge-label{fill:#738198}.graph-error,.graph-filter-empty{color:#68758a}.graph-canvas .empty,.graph-canvas .empty b{color:#68758a}.graph-activity{border-color:var(--line)}.graph-events article{background:#f4f7fb}.graph-events time{color:#738198}.inspector-finding{background:#f8fafd;border-color:var(--line)}.inspector-finding p{color:#526076}.inspector-link{background:#fff;border-color:var(--line);color:var(--ink)}.inspector-link b{color:var(--blue)}
.terminal-window{border:1px solid #263b59;border-radius:9px;background:#101827;box-shadow:var(--shadow)}.terminal-titlebar,.terminal-input-row{background:#172033;border-color:#293b59}.terminal-titlebar strong,.terminal-line.data{color:#dbeafe}.terminal-line.system,.terminal-line.success,.terminal-prompt,.terminal-input-row label{color:#71d7a5}.terminal-line.muted{color:#91a0b5}.terminal-line.command{color:#fff}.terminal-hints span{border-color:#d5deea;border-radius:5px;background:#f5f7fb;color:#526076}.terminal-input-row button{border-color:#40577a;border-radius:5px;background:#22324b;color:#dbeafe}
.ai-provider-panel,.ai-messages,.ai-message,.workspace-choice{border-color:var(--line);border-radius:8px}.ai-messages{background:#f6f8fc}.ai-message{background:#fff}.ai-message.user{border-color:#b7cdf5;background:#f1f6ff}.ai-message strong{color:var(--blue)}.ai-chat-form textarea{border-color:#d5deea;border-radius:6px;background:#fff;color:var(--ink)}.provider-list>span{border-radius:6px;background:#f7f9fc;color:var(--muted)}.plan-features li{border-color:var(--line)}.plan-capacity{border-color:var(--line);border-radius:6px;background:#f5f8ff;color:var(--blue)}
.auth-shell{background:#f4f7fb}.auth-brand{background:#f8faff;color:var(--ink);border-right:1px solid var(--line)}.auth-logo{color:var(--ink)}.auth-logo>span{border-radius:9px;background:var(--blue);color:#fff}.auth-logo small{color:var(--muted)}.auth-brand .eyebrow{color:var(--blue)}.auth-brand h1{color:#172033}.auth-brand>div>p:last-child,.auth-brand li{color:#66758a}.auth-brand ul{border-color:var(--line)}.auth-brand li{border-color:var(--line)}.auth-brand li b{color:var(--blue)}.auth-panel{background:#f4f7fb}.auth-card{border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.auth-tabs button.active{border-color:var(--blue);color:var(--blue)}.auth-card h2{color:#172033}.auth-copy p,.terms{color:var(--muted)}.auth-card input{border-color:#d5deea;border-radius:6px}.submit{border-radius:6px;background:var(--blue)}.submit:hover:not(:disabled){background:#1f58bc}.auth-back{border-radius:6px}.invitation-banner{border-radius:7px;background:#f1f6ff;border-color:#bdd0f3}.legal-header{background:#ffffffed;border-color:var(--line)}.legal-nav{font-family:Inter,ui-sans-serif,system-ui,sans-serif}.legal-brand{color:var(--ink)}.legal-nav>a:not(.legal-brand){color:var(--muted)}.legal-nav>a[aria-current=page],.legal-nav>a:hover{color:var(--blue)}.legal-layout{margin-top:32px}.legal-toc,.legal-document,.legal-table-wrap{border-color:var(--line)}.legal-toc{border-radius:8px;background:#fff;box-shadow:var(--shadow)}.legal-toc strong,.legal-kicker{color:var(--blue);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.legal-toc a,.legal-document p,.legal-document li,td,.legal-summary{color:#59677d}.legal-document h1,.legal-document h2{color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.legal-document h1{font-size:clamp(34px,5vw,54px)}.legal-document h2{font-size:21px}.legal-meta{border-color:var(--line)}.legal-document a,.legal-footer a{color:var(--blue)}.legal-callout{border-radius:5px;background:#fff8e9;color:#76551c}.legal-table-wrap{border-radius:8px;background:#fff}.legal-table-wrap th{background:#f4f7fb;color:#62718a;font-family:inherit}.legal-table-wrap td{border-color:#edf0f5}
@media(max-width:1120px){.workspace-switch{flex-basis:125px}.crumb span{display:none}.topbar{gap:12px;padding:0 18px}.global-search{max-width:390px}.system-ok{display:none}}
@media(max-width:850px){.sidebar{width:240px}main{margin-left:240px}.content{padding:22px 18px 34px}.workspace-switch{display:none}.global-search{max-width:none}.topbar{gap:10px;padding:0 14px}.crumb{min-width:84px}.top-actions{gap:4px}.theme-toggle{display:none}}
@media(max-width:700px){.sidebar{width:252px;transform:translateX(-100%);transition:transform .2s ease;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}main{margin-left:0}.topbar{height:60px;padding:0 12px;gap:9px}.content{padding:20px 13px 30px}.crumb{min-width:65px}.crumb span{display:none}.global-search{height:34px;padding:0 7px}.global-search kbd{display:none}.top-actions{margin-left:0}.top-actions .system-ok,.top-actions .toolbar-action{display:none}#menu{display:grid;flex:0 0 32px}.page-head{align-items:flex-start;flex-direction:column}.page-head>.actions{justify-content:flex-start}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:13px}.grid,.project-list{grid-template-columns:1fr}.issue{grid-template-columns:1fr;gap:6px}.issue details{grid-column:auto}.issue .status{display:inline-flex}.score-grid{grid-template-columns:repeat(2,1fr)}.accessibility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.browser-results{grid-template-columns:1fr}.vitals-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legal-layout{width:calc(100% - 28px)}.legal-nav{width:calc(100% - 28px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
html[data-theme="dark"] .detail-box{background:#182235;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .report-head,
html[data-theme="dark"] .score-grid,
html[data-theme="dark"] .score-card,
html[data-theme="dark"] .filters,
html[data-theme="dark"] .mobile-capture{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .report-head h1,
html[data-theme="dark"] .score-card strong{color:var(--ink)}
html[data-theme="dark"] .report-head .eyebrow{color:var(--blue)}
html[data-theme="dark"] .filters select{background:#101827;color:var(--ink);border-color:#34445b}
html[data-theme="dark"] .browser-meta,
html[data-theme="dark"] .vital,
html[data-theme="dark"] .accessibility-grid>div{border-color:var(--line)}
html[data-theme="dark"] .empty,
html[data-theme="dark"] .report-row,
html[data-theme="dark"] .score-strip span,
html[data-theme="dark"] .audit-progress,
html[data-theme="dark"] .cloud-security-toolbar,
html[data-theme="dark"] .security-card,
html[data-theme="dark"] .account-banner,
html[data-theme="dark"] .update-card,
html[data-theme="dark"] .cloud-workspace-card,
html[data-theme="dark"] .metric-section,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .project,
html[data-theme="dark"] .ai-messages,
html[data-theme="dark"] .ai-message,
html[data-theme="dark"] .provider-list>span,
html[data-theme="dark"] .terminal-hints span,
html[data-theme="dark"] .graph-events article,
html[data-theme="dark"] .inspector-finding{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .empty{border-style:dashed}
html[data-theme="dark"] .graph-project-toolbar,
html[data-theme="dark"] .graph-tools,
html[data-theme="dark"] .graph-modes,
html[data-theme="dark"] .graph-events article,
html[data-theme="dark"] .quick-grid button:hover,
html[data-theme="dark"] tr:hover td{background:#1b2638;color:var(--ink)}
html[data-theme="dark"] .report-row,
html[data-theme="dark"] .inspector-link{color:var(--ink)}
html[data-theme="dark"] .security-row,
html[data-theme="dark"] .metric-section h3,
html[data-theme="dark"] .project h3,
html[data-theme="dark"] .security-card strong{color:var(--ink)}
html[data-theme="dark"] .score-strip span,
html[data-theme="dark"] .security-row,
html[data-theme="dark"] .report-row time,
html[data-theme="dark"] .inspector-finding p,
html[data-theme="dark"] .graph-events time{color:var(--muted)}
html[data-theme="dark"] .auth-brand,
html[data-theme="dark"] .auth-panel,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .legal-toc,
html[data-theme="dark"] .legal-table-wrap,
html[data-theme="dark"] .modal-head,
html[data-theme="dark"] dialog{background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"]{color-scheme:dark;--ink:#e5eaf2;--muted:#9aa8bb;--paper:#141c29;--soft:#0d1420;--line:#293548;--green:#5ac48c;--green2:#43bd80;--blue:#83adf4;--blue-soft:#1b2b46;--amber:#f0bc61;--red:#ff7b85;--shadow:0 2px 9px #0003,0 12px 28px #0002;background:var(--soft)}html[data-theme="dark"] body,html[data-theme="dark"] .auth-shell{background:var(--soft);color:var(--ink)}html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .panel,html[data-theme="dark"] .metric,html[data-theme="dark"] .project,html[data-theme="dark"] .metric-section,html[data-theme="dark"] .security-card,html[data-theme="dark"] .cloud-security-toolbar,html[data-theme="dark"] .account-banner,html[data-theme="dark"] .update-card,html[data-theme="dark"] .cloud-workspace-card,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .legal-toc,html[data-theme="dark"] .legal-table-wrap,html[data-theme="dark"] .panel-head,html[data-theme="dark"] .report-row,html[data-theme="dark"] dialog,html[data-theme="dark"] .search-result,html[data-theme="dark"] .global-search-results{background:var(--paper);color:var(--ink);border-color:var(--line)}html[data-theme="dark"] .brand,html[data-theme="dark"] .page-head h1,html[data-theme="dark"] .panel-head h2,html[data-theme="dark"] .project h3,html[data-theme="dark"] .metric strong,html[data-theme="dark"] .security-card strong,html[data-theme="dark"] .crumb strong,html[data-theme="dark"] .auth-brand h1,html[data-theme="dark"] .auth-card h2,html[data-theme="dark"] .legal-document h1,html[data-theme="dark"] .legal-document h2,html[data-theme="dark"] .legal-brand{color:var(--ink)}html[data-theme="dark"] .sidebar nav a,html[data-theme="dark"] .account,html[data-theme="dark"] .legal-nav>a:not(.legal-brand){color:#c4cede}html[data-theme="dark"] .sidebar nav a:hover,html[data-theme="dark"] .quick-grid button:hover,html[data-theme="dark"] .search-result:hover{background:#1d293a;color:var(--ink)}html[data-theme="dark"] .sidebar nav a.active{background:#1b2b46;color:#a9c7ff}html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea,html[data-theme="dark"] .global-search,html[data-theme="dark"] .workspace-switch button,html[data-theme="dark"] .filters select,html[data-theme="dark"] .audit-launch input{background:#101827!important;color:var(--ink)!important;border-color:#34445b!important}html[data-theme="dark"] input::placeholder{color:#8d9bb0}html[data-theme="dark"] th{background:#192435;color:#aab8cc}html[data-theme="dark"] td,html[data-theme="dark"] th,html[data-theme="dark"] .metric,html[data-theme="dark"] .score-card,html[data-theme="dark"] .panel-head,html[data-theme="dark"] .quick-grid,html[data-theme="dark"] .quick-grid button,html[data-theme="dark"] .issue,html[data-theme="dark"] .legal-meta,html[data-theme="dark"] .auth-brand li{border-color:var(--line)}html[data-theme="dark"] tr:hover td,html[data-theme="dark"] .quick-grid button{background:#141c29;color:var(--ink)}html[data-theme="dark"] .btn,html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .toolbar-action,html[data-theme="dark"] .workspace-switch button{background:#182235;color:var(--ink);border-color:#34445b}html[data-theme="dark"] .btn.primary{background:var(--blue);border-color:var(--blue);color:#101827}html[data-theme="dark"] .auth-brand,html[data-theme="dark"] .auth-panel{background:#111a28;color:var(--ink)}html[data-theme="dark"] .auth-brand>div>p:last-child,html[data-theme="dark"] .auth-brand li,html[data-theme="dark"] .auth-copy p,html[data-theme="dark"] .terms,html[data-theme="dark"] .legal-summary,html[data-theme="dark"] .legal-document p,html[data-theme="dark"] .legal-document li,html[data-theme="dark"] td{color:#aab7ca}html[data-theme="dark"] .terminal-window{background:#101827}html[data-theme="dark"] .graph-canvas{background:#111a28}html[data-theme="dark"] .graph-node .node-card{fill:#182235;stroke:#3a4b64}html[data-theme="dark"] .graph-node.node-project .node-card{fill:#1b2b46}html[data-theme="dark"] .graph-node .node-label{fill:#e5eaf2}html[data-theme="dark"] .graph-node .node-kind,html[data-theme="dark"] .graph-node .node-subtitle{fill:#aab7ca}
/* Security graph dark theme: keep every graph surface and control on the dark palette. */
html[data-theme="dark"] .security-graph-page{--graph-bg:#0d1420;--graph-surface:#141c29;--graph-node:#182235;--graph-line:#293548;--graph-text:#e5eaf2;--graph-muted:#9aa8bb;color:var(--ink)}
html[data-theme="dark"] .graph-workbench,
html[data-theme="dark"] .graph-summary,
html[data-theme="dark"] .graph-project-toolbar,
html[data-theme="dark"] .graph-toolbar,
html[data-theme="dark"] .graph-layout,
html[data-theme="dark"] .graph-inspector,
html[data-theme="dark"] .graph-coverage,
html[data-theme="dark"] .graph-activity{background:#141c29;color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .graph-summary-item,
html[data-theme="dark"] .graph-inspector .graph-tabs,
html[data-theme="dark"] .inspector-field{border-color:var(--line)}
html[data-theme="dark"] .graph-summary-item small,
html[data-theme="dark"] .graph-project-toolbar label,
html[data-theme="dark"] .graph-toolbar>label,
html[data-theme="dark"] .graph-live-status,
html[data-theme="dark"] .graph-activity-heading span,
html[data-theme="dark"] .graph-inspector .graph-tabs button,
html[data-theme="dark"] .inspector-field small,
html[data-theme="dark"] .graph-coverage span,
html[data-theme="dark"] .graph-coverage>small,
html[data-theme="dark"] .graph-coverage details summary{color:var(--muted)}
html[data-theme="dark"] .graph-summary-item strong,
html[data-theme="dark"] .graph-inspector h2,
html[data-theme="dark"] .graph-activity-heading h2,
html[data-theme="dark"] .inspector-field span,
html[data-theme="dark"] .graph-coverage b{color:var(--ink)}
html[data-theme="dark"] .graph-project-toolbar select,
html[data-theme="dark"] .graph-toolbar input,
html[data-theme="dark"] .graph-toolbar select,
html[data-theme="dark"] .graph-search input{background:#101827;color:var(--ink);border-color:#34445b}
html[data-theme="dark"] .graph-modes,
html[data-theme="dark"] .graph-tools{background:#101827;border-color:#34445b}
html[data-theme="dark"] .graph-modes button{background:transparent;color:var(--muted)}
html[data-theme="dark"] .graph-modes button[aria-pressed="true"]{background:#24334a;color:var(--ink);box-shadow:none}
html[data-theme="dark"] .graph-events article,
html[data-theme="dark"] .inspector-status,
html[data-theme="dark"] .inspector-link,
html[data-theme="dark"] .inspector-finding{background:#182235;color:var(--ink);border-color:#34445b}
html[data-theme="dark"] .inspector-finding p,
html[data-theme="dark"] .inspector-finding pre{color:#c4cede}
html[data-theme="dark"] .graph-legend{background:#0d1420;color:var(--muted)}
