@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
/* Spacing and readability pass: consistent page rhythm, comfortable rows, and responsive density. */
.empty-state{min-height:238px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 20px;color:var(--muted)}.empty-state .empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--blue);font-size:19px;margin-bottom:12px}.empty-state strong{color:var(--ink);font-size:14px}.empty-state p{max-width:300px;margin:6px 0 17px;font-size:12px;line-height:1.55}html[data-theme="dark"] .empty-state .empty-icon{background:#1e2d43;color:#7dd3fc}html[data-theme="light"] .empty-state .empty-icon{background:#e0f2fe;color:#0369a1}
.workflow-actions{display:flex;justify-content:flex-end;margin-top:18px}@media(max-width:600px){.workflow-actions{margin-top:16px}.workflow-actions .primary{width:100%}}
.report-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px}.danger-outline{color:#b4233a!important;border-color:#d86a78!important;background:transparent!important}.danger-outline:hover{background:#fff1f2!important;border-color:#b4233a!important}html[data-theme="dark"] .danger-outline{color:#fda4af!important;border-color:#be6271!important;background:transparent!important}html[data-theme="dark"] .danger-outline:hover{background:#3b1c29!important;border-color:#fda4af!important}@media(max-width:600px){.report-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:16px}.report-actions button{width:100%}}
.brand .brand-mark{display:grid;place-items:center;width:29px;height:29px;line-height:0;transform:none}.brand .brand-mark img{width:100%;height:100%;display:block}.brand .brand-name{color:#fff8f2;font-weight:800;letter-spacing:-1px}@media(max-width:600px){.brand .brand-mark{width:27px;height:27px}}
.topbar .brand>.brand-name{display:inline!important;color:#fff8f2!important;font-size:17px!important;font-weight:800!important;letter-spacing:-1.05px!important;white-space:nowrap}.topbar .brand{min-width:156px!important}@media (min-width:601px) and (max-width:900px){.topbar .brand{min-width:150px!important}.topbar .brand>.brand-name{font-size:16px!important}}@media(max-width:600px){.topbar .brand{min-width:137px!important;gap:6px!important}.topbar .brand>.brand-name{font-size:15px!important;letter-spacing:-.9px!important}.topbar .top-search{min-width:0!important;flex:1}.topbar .top-search input{min-width:0!important}}
/* Findings controls use the same slate layers as the rest of the dark console. */
html[data-theme="dark"] .filter-row .select-wrap,html[data-theme="dark"] .filter-row .find-search{background:#1e293b!important;border-color:#4b5d78!important;color:#b7c4d5!important}html[data-theme="dark"] .filter-row .select-wrap select,html[data-theme="dark"] .filter-row .find-search input{background:transparent!important;color:#e2e8f0!important}html[data-theme="dark"] .filter-row .find-search input::placeholder{color:#a8b7ca!important}
.view{max-width:1280px}.page-heading{gap:28px!important}.panel-head{padding:18px 20px 15px!important}.panel-head h2{line-height:1.35}.posture-content{padding:26px 28px 23px!important}.finding-row{min-height:62px;padding:15px 20px!important}.workflow-row,.history-row{min-height:70px;padding:18px 20px!important}.settings-card,.privacy-card{padding:26px!important}.settings-card>p{margin:6px 0 20px!important}.setting-line{padding:18px 0!important}.privacy-grid{padding:22px 0!important}.filter-row{margin:0 0 10px!important}.filter-actions{margin:0 0 20px!important}.findings-layout{gap:20px!important}.detail-card{padding:20px!important}.detail-card .detail-section{padding-top:15px!important;margin-top:18px!important}.notice{margin-bottom:20px!important}.metrics{margin-bottom:20px!important}.dashboard-grid{margin-bottom:20px!important}@media (min-width:901px){main{padding:48px 56px 80px!important}}@media (min-width:601px) and (max-width:900px){main{padding:36px 32px 76px!important}.page-heading{margin-bottom:24px!important}.metrics{gap:14px!important}.panel-head{padding:18px!important}}@media(max-width:600px){main{padding:26px 16px 98px!important}.page-heading{gap:16px!important;margin-bottom:22px!important}h1{font-size:26px!important;line-height:1.28!important}.heading-actions{gap:10px!important}.notice{padding:12px!important;line-height:1.5}.metrics{gap:10px!important;margin-bottom:18px!important}.metric{min-height:112px!important;padding:14px!important}.dashboard-grid{gap:16px!important;margin-bottom:16px!important}.panel-head{padding:16px!important}.posture-content{padding:22px 20px!important}.posture footer{padding:12px 16px!important}.finding-row{min-height:64px;padding:14px!important}.finding-title{line-height:1.4}.filter-row{gap:10px!important;margin-bottom:10px!important}.filter-actions{margin-bottom:18px!important}.findings-layout{gap:16px!important}.workflow-row,.history-row{min-height:76px;padding:16px!important;gap:12px!important}.history-row{flex-wrap:wrap}.history-row .text-btn{margin-left:46px;white-space:nowrap}.settings-card,.privacy-card{padding:20px!important}.setting-line{padding:16px 0!important;gap:16px}.privacy-grid{padding:18px 0!important}.danger{gap:16px!important}.finding-sheet{padding-left:20px!important;padding-right:20px!important}}@media(max-width:380px){.metrics{grid-template-columns:1fr!important}.heading-actions{flex-direction:column}.history-row .text-btn{margin-left:0}}
/* Light-slate counterpart to the dark-slate console: cool neutrals, navy chrome, and blue interaction states. */
html[data-theme="light"]{--ink:#172033!important;--muted:#536277!important;--border:#cbd5e1!important;--soft:#eef2f7!important;--blue:#0369a1!important;--black:#0f172a!important;--critical:#b4233a!important;--high:#9a6700!important;--medium:#6d45b1!important;--good:#087a62!important}html[data-theme="light"] body,html[data-theme="light"] main{background:#f4f7fb!important;color:#172033!important}html[data-theme="light"] .topbar{background:#0f172a!important;border-bottom-color:#25334a!important}html[data-theme="light"] .top-search{background:#1e293b!important;border-color:#4b5d78!important}html[data-theme="light"] .sidebar,html[data-theme="light"] .mobile-nav{background:#f8fafc!important;border-color:#cbd5e1!important}html[data-theme="light"] .panel,html[data-theme="light"] .detail-card,html[data-theme="light"] .finding-sheet,html[data-theme="light"] .modal{background:#fff!important;border-color:#cbd5e1!important}html[data-theme="light"] .nav-link{color:#40516a!important}html[data-theme="light"] .nav-link.active{background:#e0f2fe!important;color:#075985!important}html[data-theme="light"] .nav-link:hover,html[data-theme="light"] .finding-row:hover,html[data-theme="light"] .finding-row.active{background:#edf5fc!important}html[data-theme="light"] .nav-link b,html[data-theme="light"] .mobile-nav .nav-link.active span{background:#e0f2fe!important;color:#075985!important}html[data-theme="light"] .secondary,html[data-theme="light"] .theme-choice{background:#f8fafc!important;border-color:#b9c7d8!important;color:#1e293b!important}html[data-theme="light"] .primary{background:#0369a1!important;border-color:#0369a1!important;color:#fff!important}html[data-theme="light"] .primary:hover{background:#075985!important}html[data-theme="light"] .notice{background:#eff6ff!important;border-color:#b6d9f3!important;color:#164e71!important}html[data-theme="light"] .notice-link,html[data-theme="light"] .text-btn{color:#0369a1!important}html[data-theme="light"] .score-ring{background:conic-gradient(#0284c7 0 58%,#d9e2ec 58% 100%)!important}html[data-theme="light"] .score-ring:before{background:#fff!important}html[data-theme="light"] .score-ring strong{color:#172033!important}html[data-theme="light"] .score-ring span,html[data-theme="light"] .muted,html[data-theme="light"] .panel-head p,html[data-theme="light"] .detail-card p,html[data-theme="light"] .detail-section h3{color:#536277!important}html[data-theme="light"] .bar{background:#d9e2ec!important}html[data-theme="light"] .file-icon,html[data-theme="light"] .privacy-intro>span,html[data-theme="light"] .status.scan{background:#e0f2fe!important;color:#0369a1!important}html[data-theme="light"] .evidence,html[data-theme="light"] .notice code,html[data-theme="light"] .panel code,html[data-theme="light"] .workflow-list code{background:#eef4fa!important;border-color:#c4d4e5!important;color:#1e293b!important}html[data-theme="light"] .select-wrap,html[data-theme="light"] .find-search,html[data-theme="light"] .select-wrap select,html[data-theme="light"] .find-search input,html[data-theme="light"] .setting-line select{background:#f8fafc!important;border-color:#c4d1df!important;color:#172033!important}html[data-theme="light"] .history-row.current-scan{background:#e5f3ff!important;box-shadow:inset 3px 0 #0284c7!important}html[data-theme="light"] .remediation{color:#172033!important}html[data-theme="light"] .sheet-handle{background:#a8b8ca!important}html[data-theme="light"] .modal-close{color:#172033!important}html[data-theme="light"] .nav-section{color:#64748b!important}
/* Dark-slate theme: layered slate surfaces, near-white copy, and high-contrast blue/teal interaction cues. */
html[data-theme="dark"] .mobile-nav .nav-link.active{color:#a5e5ff!important}html[data-theme="dark"] .nav-section{color:#9aabc2!important}
html[data-theme="dark"]{--ink:#f1f5f9!important;--muted:#b7c4d5!important;--border:#3b4a62!important;--soft:#1e293b!important;--blue:#7dd3fc!important;--black:#0b1220!important;--critical:#fda4af!important;--high:#fcd34d!important;--medium:#c4b5fd!important;--good:#5eead4!important}html[data-theme="dark"] body,html[data-theme="dark"] main{background:#0f172a!important;color:#f1f5f9!important}html[data-theme="dark"] .topbar{background:#0b1220!important;border-bottom-color:#283650!important}html[data-theme="dark"] .top-search{background:#172033!important;border-color:#43526a!important}html[data-theme="dark"] .sidebar,html[data-theme="dark"] .mobile-nav{background:#111c2e!important;border-color:#33445e!important}html[data-theme="dark"] .panel,html[data-theme="dark"] .detail-card,html[data-theme="dark"] .finding-sheet,html[data-theme="dark"] .modal{background:#172236!important;border-color:#3b4a62!important}html[data-theme="dark"] .nav-link{color:#cbd5e1!important}html[data-theme="dark"] .nav-link.active{background:#17344e!important;color:#a5e5ff!important}html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .finding-row:hover,html[data-theme="dark"] .finding-row.active{background:#203049!important}html[data-theme="dark"] .nav-link b,html[data-theme="dark"] .mobile-nav .nav-link.active span{background:#17344e!important;color:#a5e5ff!important}html[data-theme="dark"] .secondary,html[data-theme="dark"] .theme-choice{background:#1e293b!important;border-color:#4b5d78!important;color:#e2e8f0!important}html[data-theme="dark"] .primary{background:#0e7490!important;border-color:#0e7490!important;color:#f8fafc!important}html[data-theme="dark"] .primary:hover{background:#0891b2!important}html[data-theme="dark"] .notice{background:#122b42!important;border-color:#276184!important;color:#d9f1ff!important}html[data-theme="dark"] .notice-link,html[data-theme="dark"] .text-btn{color:#7dd3fc!important}html[data-theme="dark"] .score-ring{background:conic-gradient(#38bdf8 0 58%,#314158 58% 100%)!important}html[data-theme="dark"] .score-ring:before{background:#172236!important}html[data-theme="dark"] .score-ring strong{color:#f8fafc!important}html[data-theme="dark"] .score-ring span,html[data-theme="dark"] .muted,html[data-theme="dark"] .panel-head p,html[data-theme="dark"] .detail-card p,html[data-theme="dark"] .detail-section h3{color:#b7c4d5!important}html[data-theme="dark"] .bar{background:#34445e!important}html[data-theme="dark"] .file-icon,html[data-theme="dark"] .privacy-intro>span,html[data-theme="dark"] .status.scan{background:#17344e!important;color:#7dd3fc!important}html[data-theme="dark"] .evidence,html[data-theme="dark"] .notice code,html[data-theme="dark"] .panel code,html[data-theme="dark"] .workflow-list code{background:#1e2d43!important;border-color:#3b5875!important;color:#e2e8f0!important}html[data-theme="dark"] .select-wrap,html[data-theme="dark"] .find-search,html[data-theme="dark"] .select-wrap select,html[data-theme="dark"] .find-search input,html[data-theme="dark"] .setting-line select{background:#1e293b!important;border-color:#4b5d78!important;color:#e2e8f0!important}html[data-theme="dark"] .history-row.current-scan{background:#17344e!important;box-shadow:inset 3px 0 #38bdf8!important}html[data-theme="dark"] .remediation{color:#f1f5f9!important}html[data-theme="dark"] .sheet-handle{background:#5a6e8c!important}html[data-theme="dark"] .modal-close{color:#f1f5f9!important}
@media(max-width:600px){.mobile-nav .nav-link+.nav-link{border-left:1px solid #d5e0da}}html[data-theme="dark"] .mobile-nav .nav-link+.nav-link{border-left-color:#3b4a62}
.nav-section{margin:14px 10px 5px;color:#718078;font:700 9px "DM Mono",monospace;letter-spacing:.1em;text-transform:uppercase}.reports-section{padding-top:10px;border-top:1px solid var(--border)}html[data-theme="dark"] .nav-section{color:#7f9589}
.notice.scanning{background:#fff7d6;border-color:#e7c563;color:#594000}.notice.scanning .notice-dot{background:#b77900;animation:scan-pulse 1s ease-in-out infinite}.primary:disabled{cursor:wait;opacity:.7}.history-row.current-scan{background:#e8f7ee;box-shadow:inset 3px 0 #16834d}.history-row.current-scan:focus{outline:2px solid #16834d;outline-offset:-2px}@keyframes scan-pulse{50%{transform:scale(1.55);opacity:.45}}html[data-theme="dark"] .notice.scanning{background:#3b2f12;border-color:#725b23;color:#ffe6a2}html[data-theme="dark"] .notice.scanning .notice-dot{background:#f0bd4d}html[data-theme="dark"] .history-row.current-scan{background:#173625;box-shadow:inset 3px 0 #60d892}html[data-theme="dark"] .history-row.current-scan:focus{outline-color:#60d892}
/* Tablet navigation stays a readable compact sidebar; only phones become bottom-nav layouts. */
@media (min-width:601px) and (max-width:900px){:root{--side:200px!important}.topbar{gap:10px!important}.brand{min-width:28px!important}.brand>span:last-child{display:none!important}.sidebar{padding:18px 12px!important}.nav-link{font-size:13px!important;justify-content:flex-start!important;padding:8px 10px!important}.nav-link span{font-size:16px!important}.sidebar-bottom p{font-size:11px!important}}
.panel-head>div{min-width:0}.panel-head .text-btn{white-space:nowrap!important;flex:0 0 auto}
.finding-sheet-backdrop{display:none}@media(max-width:600px){.findings-layout .detail-card{display:none}.finding-sheet-backdrop.show{display:flex;position:fixed;z-index:40;inset:0;background:rgba(7,18,13,.55);align-items:flex-end}.finding-sheet{width:100%;max-height:88vh;overflow:auto;background:#fff;border-radius:16px 16px 0 0;padding:8px 20px calc(26px + env(safe-area-inset-bottom));box-shadow:0 -16px 34px rgba(0,0,0,.22)}.sheet-handle{width:38px;height:4px;border-radius:6px;background:#c7d3cc;margin:2px auto 13px}.sheet-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 0 11px;margin-bottom:17px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.sheet-header .modal-close{position:static;color:var(--ink);line-height:1}.finding-sheet .detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.finding-sheet h2{font-size:20px;line-height:1.35;margin:0 0 10px;letter-spacing:-.55px}.finding-sheet>div:last-child>p{font-size:13px;line-height:1.65;color:var(--muted)}.finding-sheet .detail-section{border-top:1px solid var(--border);margin-top:17px;padding-top:15px}.finding-sheet .detail-section h3{font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}.finding-sheet .evidence{font-size:11px;line-height:1.5}.finding-sheet .remediation{color:var(--ink)!important}}html[data-theme="dark"] .finding-sheet{background:#13241c;color:#e3eee8}html[data-theme="dark"] .sheet-handle{background:#4a6657}html[data-theme="dark"] .sheet-header,html[data-theme="dark"] .finding-sheet .detail-section{border-color:#2e483b}html[data-theme="dark"] .sheet-header .modal-close{color:#e3eee8}html[data-theme="dark"] .finding-sheet>div:last-child>p,html[data-theme="dark"] .finding-sheet .detail-section h3{color:#a7b9af}
.filter-actions{display:flex;justify-content:flex-end;margin:-6px 0 16px}.filter-actions .secondary{height:30px;font-size:11px}
/* Unified filter surfaces: labels and values share one quiet field instead of nested white boxes. */
.select-wrap,.find-search{background:#f1f5f2!important;border-color:#c7d3cc!important}.select-wrap select,.find-search input{background:transparent!important}.select-wrap select{color:#193128!important}html[data-theme="dark"] .select-wrap,html[data-theme="dark"] .find-search{background:#172a21!important;border-color:#3a5748!important}html[data-theme="dark"] .select-wrap select,html[data-theme="dark"] .find-search input{background:transparent!important;color:#e3eee8!important}
/* Explicit score-ring contrast in the dark theme. */
html[data-theme="dark"] .score-ring:before{background:#13241c!important}html[data-theme="dark"] .score-ring strong{color:#f3fff8!important}html[data-theme="dark"] .score-ring span{color:#b5c9bc!important}
/* Keep scan metadata on one readable row beneath the posture-card divider. */
@container (max-width:620px){.posture footer{flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:12px!important}.posture footer span:last-child{text-align:right}}
/* Keyboard and assistive-technology pass: the primary review rows are real controls and every control retains a clear focus signal. */
:focus-visible{outline:3px solid var(--blue)!important;outline-offset:3px}.select-wrap:focus-within,.find-search:focus-within{outline:3px solid var(--blue)!important;outline-offset:2px}.finding-row{appearance:none;width:100%;border:0;border-top:1px solid var(--border);background:transparent;color:inherit;text-align:left;font:inherit}.finding-row .finding-main,.finding-row .finding-title,.finding-row .finding-meta{display:block}.finding-row:focus-visible{position:relative;z-index:1;outline-offset:-3px}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
:root{--ink:#1f2328;--muted:#57606a;--border:#d8dee4;--soft:#f6f8fa;--blue:#0969da;--black:#0d1117;--critical:#cf222e;--high:#bf8700;--medium:#8250df;--good:#1a7f37;--side:248px;font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:#fff;min-width:320px}.skip{position:fixed;top:-80px;left:12px;z-index:20;background:#fff;padding:8px}.skip:focus{top:12px}.topbar{height:64px;background:var(--black);display:flex;align-items:center;color:#fff;padding:0 22px;gap:28px;position:sticky;top:0;z-index:10}.brand{font-size:16px;font-weight:700;color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;letter-spacing:-.6px;min-width:198px}.brand span span{color:#8c959f}.brand-mark{font-size:28px;line-height:1;color:#75c9ff;transform:rotate(90deg)}.top-search{height:34px;max-width:520px;width:100%;border:1px solid #57606a;border-radius:6px;display:flex;align-items:center;gap:8px;padding:0 9px;background:#24292f;color:#8c959f}.top-search input{background:transparent;border:0;outline:0;color:#f0f6fc;width:100%;font:inherit}.top-search input::placeholder{color:#8c959f}.top-search kbd{font:11px "DM Mono";border:1px solid #57606a;border-radius:3px;padding:1px 4px;white-space:nowrap}.top-actions{margin-left:auto;display:flex;gap:12px;align-items:center}.icon-btn,.avatar{border:0;color:#fff;background:transparent;cursor:pointer}.icon-btn{font-size:16px}.avatar{width:30px;height:30px;border-radius:50%;background:#8250df;font-size:10px;font-weight:800}.layout{display:flex;min-height:calc(100vh - 64px)}.sidebar{width:var(--side);border-right:1px solid var(--border);min-height:calc(100vh - 64px);padding:18px 12px;display:flex;flex-direction:column;position:sticky;top:64px;height:calc(100vh - 64px)}.repo-card{padding:10px 8px 19px;display:flex;gap:9px;align-items:center;border-bottom:1px solid var(--border);margin-bottom:12px}.repo-icon{width:30px;height:30px;border:1px solid var(--border);border-radius:6px;display:grid;place-items:center;font-weight:bold}.repo-card strong,.repo-card small{display:block;font-size:12px}.repo-card small{color:var(--muted);margin-top:1px}.plain-btn{margin-left:auto;border:0;background:transparent;color:var(--muted);cursor:pointer}.nav-link{border-radius:6px;padding:8px 10px;color:#57606a;text-decoration:none;display:flex;gap:10px;align-items:center;margin:2px 0;font-size:13px;font-weight:600}.nav-link span{font-size:16px;width:18px;text-align:center}.nav-link:hover{background:var(--soft)}.nav-link.active{background:#ddf4ff;color:#0969da}.nav-link b{margin-left:auto;background:#ddf4ff;color:#0969da;border-radius:12px;padding:0 6px;font-size:11px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--border);padding-top:10px}.sidebar-bottom p{color:#8c959f;font-size:11px;padding:0 10px}.text-btn{border:0;background:transparent;color:var(--blue);font:600 12px inherit;cursor:pointer;padding:0}main{width:calc(100% - var(--side));padding:42px 54px 68px;max-width:1440px}.view{display:none}.view.active{display:block}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px;gap:24px}.crumb{font:500 10px "DM Mono",monospace;letter-spacing:.06em;color:#6e7781;margin-bottom:8px}h1{font-size:29px;line-height:1.25;margin:0 0 5px;letter-spacing:-1.15px}h2{font-size:16px;letter-spacing:-.4px;margin:0 0 4px}h3{font-size:13px;margin:0 0 5px}.muted,.panel-head p,.settings-card>p,.privacy-card p{color:var(--muted);margin:0;font-size:13px}.heading-actions{display:flex;gap:8px}.primary,.secondary,.danger-btn{height:34px;border-radius:6px;padding:0 12px;font:600 12px inherit;cursor:pointer}.primary{background:var(--black);color:#fff;border:1px solid var(--black)}.primary:hover{background:#30363d}.secondary{border:1px solid var(--border);color:#24292f;background:#fff}.secondary:hover{background:var(--soft)}.notice{border:1px solid #b6e3ff;background:#ddf4ff;border-radius:6px;padding:10px 12px;display:flex;align-items:center;gap:8px;font-size:12px;margin-bottom:18px}.notice-dot{width:7px;height:7px;background:#1f883d;border-radius:50%}.notice code,.panel code,.workflow-list code{font:11px "DM Mono",monospace;background:#eaeef2;padding:2px 4px;border-radius:3px}.notice-link{margin-left:auto;border:0;color:var(--blue);background:transparent;font:600 12px inherit;cursor:pointer}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.metric{border:1px solid var(--border);border-top:3px solid var(--border);border-radius:6px;padding:15px 16px;min-height:118px}.metric p{margin:0;color:var(--muted);font-size:12px;font-weight:600}.metric strong{display:block;font-size:29px;letter-spacing:-1px;margin:7px 0 3px}.metric strong em{font-size:18px;font-style:normal;color:#6e7781}.metric span{font-size:11px;color:var(--muted)}.metric.critical{border-top-color:var(--critical)}.metric.high{border-top-color:#d4a72c}.metric.medium{border-top-color:#8250df}.metric.clean{border-top-color:var(--good)}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:18px}.panel,.detail-card{border:1px solid var(--border);border-radius:6px;background:#fff}.panel-head{padding:16px 18px 13px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid var(--border)}.posture-content{display:flex;align-items:center;gap:31px;padding:24px 24px 21px}.score-ring{width:136px;height:136px;border-radius:50%;background:conic-gradient(var(--high) 0 58%,#eaeef2 58% 100%);display:grid;place-items:center;position:relative;flex:none}.score-ring:before{content:"";background:#fff;position:absolute;inset:11px;border-radius:50%}.score-ring div{position:relative;text-align:center}.score-ring strong{font-size:34px;letter-spacing:-2px;display:block}.score-ring span{font-size:10px;color:var(--muted)}.severity-bars{flex:1;min-width:0}.severity-bars label{display:flex;justify-content:space-between;font-size:11px;margin:7px 0 5px}.severity-bars label b{font-weight:500;color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.critical{background:var(--critical)}.high{background:#bf8700}.medium{background:#8250df}.bar{height:5px;background:#eaeef2;border-radius:6px;overflow:hidden}.bar i{display:block;height:100%;border-radius:6px}.posture footer{border-top:1px solid var(--border);padding:10px 18px;display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.activity ol{list-style:none;margin:0;padding:11px 17px}.activity li{display:flex;gap:10px;padding:9px 0}.activity li+li{border-top:1px solid #f0f2f4}.activity strong,.activity span{display:block;font-size:12px}.activity span{color:var(--muted);font-size:11px;margin-top:2px}.status{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;flex:none}.status.resolved{background:#dafbe1;color:var(--good)}.status.new{background:#ffebe9;color:var(--critical)}.status.scan{background:#ddf4ff;color:var(--blue)}.priority{overflow:hidden}.priority .panel-head{border-bottom:0}.finding-row{display:grid;grid-template-columns:5px 1fr auto;align-items:center;gap:12px;padding:13px 18px;border-top:1px solid var(--border);cursor:pointer}.finding-row:hover{background:#f6f8fa}.finding-row.active{background:#f6f8fa}.finding-bar{width:4px;border-radius:6px;height:35px}.finding-main{min-width:0}.finding-title{font-size:12px;font-weight:700;margin-bottom:3px}.finding-meta{font:10px "DM Mono";color:var(--muted)}.badge{border-radius:12px;font-size:10px;font-weight:700;padding:3px 7px;text-transform:uppercase}.badge.critical{color:#a40e26;background:#ffebe9}.badge.high{color:#9a6700;background:#fff8c5}.badge.medium{color:#6639ba;background:#fbefff}.filter-row{display:flex;gap:8px;margin:-8px 0 16px;align-items:center}.select-wrap{border:1px solid var(--border);border-radius:6px;padding:0 0 0 9px;font-size:11px;color:var(--muted);display:flex;align-items:center;gap:4px}.select-wrap select{height:32px;border:0;outline:0;background:#fff;color:var(--ink);font:600 11px inherit;padding-right:8px}.find-search{margin-left:auto;border:1px solid var(--border);border-radius:6px;height:33px;display:flex;align-items:center;padding:0 9px;gap:7px;color:var(--muted)}.find-search input{border:0;outline:0;font:12px inherit;width:205px}.findings-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.finding-table .finding-row{grid-template-columns:5px 1fr auto}.detail-card{position:sticky;top:82px;padding:18px}.detail-card .detail-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.detail-card h2{font-size:16px;line-height:1.4;margin:4px 0 9px}.detail-card p{font-size:12px;line-height:1.65;color:var(--muted)}.detail-card .detail-section{border-top:1px solid var(--border);padding-top:13px;margin-top:15px}.detail-section h3{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#57606a}.evidence{font:11px "DM Mono";border:1px solid var(--border);background:var(--soft);padding:8px;border-radius:4px;color:#24292f;word-break:break-word}.remediation{color:#24292f!important}.workflow-list,.history-list{overflow:hidden}.workflow-row,.history-row{display:flex;align-items:center;gap:15px;padding:16px 18px;border-bottom:1px solid var(--border)}.workflow-row:last-child,.history-row:last-child{border-bottom:0}.file-icon{width:34px;height:34px;border-radius:5px;background:#ddf4ff;color:#0969da;display:grid;place-items:center;font-size:16px}.workflow-row strong,.workflow-row span,.history-row strong,.history-row span{display:block}.workflow-row strong,.history-row strong{font-size:13px}.workflow-row span,.history-row span{font:11px "DM Mono";color:var(--muted);margin-top:3px}.workflow-row .workflow-status{margin-left:auto;text-align:right}.settings-card,.privacy-card{padding:22px;max-width:760px}.settings-card>p{margin:5px 0 18px}.setting-line{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-top:1px solid var(--border);font-size:13px}.setting-line select{border:1px solid var(--border);border-radius:6px;padding:6px;background:#fff;font:12px inherit}.setting-line small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.toggle{border:0;background:#8c959f;width:36px;height:20px;border-radius:12px;padding:2px;cursor:pointer}.toggle.on{background:#1f883d}.toggle span{display:block;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s}.toggle.on span{transform:translateX(16px)}.privacy-intro{display:flex;gap:14px;border-bottom:1px solid var(--border);padding-bottom:18px}.privacy-intro>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#ddf4ff;color:#0969da;font-size:20px}.privacy-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:18px 0}.privacy-grid p{font-size:12px;line-height:1.6}.privacy-card hr{border:0;border-top:1px solid var(--border)}.danger{display:flex;justify-content:space-between;align-items:center;padding-top:18px}.danger p{font-size:12px}.danger-btn{background:#fff;color:#cf222e;border:1px solid #cf222e}.toast{position:fixed;right:20px;bottom:22px;color:#fff;background:#24292f;border-radius:6px;padding:11px 14px;font-size:12px;transform:translateY(80px);opacity:0;transition:.25s;z-index:30}.toast.show{transform:translateY(0);opacity:1}.modal-backdrop{position:fixed;inset:0;background:rgba(13,17,23,.45);display:none;place-items:center;z-index:20}.modal-backdrop.show{display:grid}.modal{position:relative;width:min(440px,calc(100% - 32px));background:#fff;border-radius:8px;padding:24px;box-shadow:0 12px 30px rgba(31,35,40,.2)}.modal h2{font-size:18px}.modal p{font-size:13px;line-height:1.6;color:var(--muted)}.modal-close{position:absolute;top:9px;right:12px;border:0;background:transparent;font-size:20px;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}
@media(max-width:900px){:root{--side:64px}.brand{min-width:0}.brand>span:last-child,.repo-card>div:not(.repo-icon),.repo-card .plain-btn,.nav-link:not(.active)::after,.nav-link{font-size:0}.nav-link{justify-content:center;padding:10px}.nav-link span{font-size:17px}.sidebar{padding:14px 8px}.repo-card{justify-content:center}.top-search{max-width:none}.topbar{gap:12px;padding:0 14px}.dashboard-grid,.findings-layout{grid-template-columns:1fr}.detail-card{position:static}.metrics{grid-template-columns:repeat(2,1fr)}main{padding:32px 26px}.activity{display:none}}
@media(max-width:600px){.topbar{height:56px}.layout{min-height:calc(100vh - 56px)}.sidebar{top:56px;height:calc(100vh - 56px);width:54px}.brand-mark{font-size:24px}.top-actions{display:none}.top-search kbd{display:none}main{width:calc(100% - 54px);padding:23px 15px}.page-heading{display:block;margin-bottom:18px}.heading-actions{margin-top:16px}.metrics{gap:8px}.metric{padding:12px;min-height:104px}.metric strong{font-size:24px}.notice{align-items:flex-start}.notice-link{display:none}.posture-content{gap:15px;padding:18px}.score-ring{width:105px;height:105px}.score-ring strong{font-size:27px}.filter-row{flex-wrap:wrap}.find-search{margin-left:0;width:100%}.find-search input{width:100%}.priority .panel-head .text-btn{display:none}.finding-row{padding:12px}.finding-meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.privacy-grid{grid-template-columns:1fr;gap:12px}.danger{align-items:flex-start;gap:14px}.workflow-row{padding:13px}.workflow-status{display:none}.top-search input{font-size:12px}}
/* Severity summary cards use restrained tint fills so all text meets a readable dark-on-light contrast. */
.metric.critical{background:#fff0f1;color:#82071e;border-color:#ffccd2}.metric.high{background:#fff8c5;color:#5c3b00;border-color:#f2d768}.metric.medium{background:#fbefff;color:#542297;border-color:#d8b4fe}.metric.clean{background:#dafbe1;color:#116329;border-color:#aceebb}.metric.critical p,.metric.critical span,.metric.high p,.metric.high span,.metric.medium p,.metric.medium span,.metric.clean p,.metric.clean span{color:currentColor;opacity:.86}.metric strong{font-weight:800}
/* Legacy theme definitions retained beneath the Branchlock slate overrides. */
:root{--ink:#12231d;--muted:#52615c;--border:#cad5cf;--soft:#eef4f0;--blue:#087a55;--black:#10231c;--critical:#b42332;--high:#9b6800;--medium:#6843b5;--good:#147a46}body,main{background:#f4f7f5}.topbar{background:#10231c;border-bottom:1px solid #27463a}.brand-mark{color:#8ee6ba}.top-search{background:#19342a;border-color:#436356}.top-search:focus-within{outline:2px solid #8ee6ba;outline-offset:2px}.sidebar{background:#fbfdfc;border-right-color:#cad5cf}.repo-card{border-bottom-color:#dce5df}.nav-link{color:#43554d}.nav-link.active{background:#d8f5e7;color:#076b4b}.nav-link b{background:#d8f5e7;color:#076b4b}.panel,.detail-card{border-color:#cbd6d0;box-shadow:0 1px 2px rgba(16,35,28,.05)}.panel-head{border-bottom-color:#dce5df}.primary{background:#126b4b;border-color:#126b4b}.primary:hover{background:#0c563c}.secondary{border-color:#b9c8c0;background:#fbfdfc;color:#1a332a}.secondary:hover{background:#e8f1ec}.notice{background:#e6f7ee;border-color:#a9ddbf;color:#164c33}.notice-dot{background:#167a48}.notice-link,.text-btn{color:#087a55}.score-ring{background:conic-gradient(#15965b 0 58%,#e0e9e3 58% 100%)}.bar{background:#e1e9e4}.metric{box-shadow:0 1px 2px rgba(16,35,28,.06)}.metric.critical{background:#fff3f3;color:#8e1828;border-color:#f5c7cd}.metric.high{background:#fff8e5;color:#6d4a00;border-color:#eed68e}.metric.medium{background:#f5f1ff;color:#54358f;border-color:#d9ccf5}.metric.clean{background:#eaf8ef;color:#14683c;border-color:#b7e4c6}.badge.critical{background:#ffe9eb;color:#9d1526}.badge.high{background:#fff4c4;color:#735100}.badge.medium{background:#f0eaff;color:#5b3b99}.status.resolved{background:#dff6e8;color:#167a48}.status.new{background:#ffe9eb;color:#9d1526}.status.scan{background:#d8f5e7;color:#076b4b}.file-icon{background:#d8f5e7;color:#076b4b}.privacy-intro>span{background:#d8f5e7;color:#076b4b}.finding-row:hover,.finding-row.active{background:#f1f7f3}.evidence{background:#eef4f0;border-color:#cad5cf}.toggle.on{background:#147a46}.mobile-nav{background:#fbfdfc;border-top-color:#cad5cf}.mobile-nav .nav-link.active{color:#076b4b}.mobile-nav .nav-link.active span{background:#d8f5e7}
.mobile-nav{display:none!important}@media(max-width:600px){.mobile-nav{display:flex!important}}
/* Adapt to the card's width, including narrow desktop panes—not only to the viewport. */
.posture{container-type:inline-size}.severity-bars label b{white-space:nowrap}@container (max-width:620px){.posture-content{flex-direction:column;align-items:stretch;gap:20px;padding:22px 24px}.score-ring{margin:auto}.severity-bars{width:100%}.severity-bars label{margin-top:10px;font-size:12px}.severity-bars label b{font-size:11px}.posture footer{flex-direction:column;gap:5px;align-items:flex-start}}
/* Dark security-console theme. Severity colors remain expressive without becoming the page background. */
.theme-choice{min-width:64px;height:30px;border:1px solid #a9c8b8;border-radius:15px;background:#d8f5e7;color:#075d40;font:700 11px inherit;cursor:pointer}.settings-subhead{padding-top:20px;margin-top:4px;border-top:1px solid var(--border)}html[data-theme="dark"]{color-scheme:dark;--ink:#e3eee8;--muted:#a7b9af;--border:#314a3d;--soft:#172a21;--blue:#73e1ad;--black:#08130e;--critical:#ff8290;--high:#f0bd4d;--medium:#bba4ff;--good:#60d892}html[data-theme="dark"] body,html[data-theme="dark"] main{background:#0d1914;color:var(--ink)}html[data-theme="dark"] .topbar{background:#08130e;border-bottom-color:#294437}html[data-theme="dark"] .top-search{background:#12271d;border-color:#3f6050}html[data-theme="dark"] .top-search input{color:#eff8f2}html[data-theme="dark"] .sidebar{background:#101e18;border-right-color:#314a3d}html[data-theme="dark"] .repo-card{border-bottom-color:#294237}html[data-theme="dark"] .nav-link{color:#aec1b6}html[data-theme="dark"] .nav-link:hover,html[data-theme="dark"] .finding-row:hover,html[data-theme="dark"] .finding-row.active{background:#192e24}html[data-theme="dark"] .nav-link.active{background:#173d2b;color:#84efba}html[data-theme="dark"] .nav-link b{background:#17402d;color:#84efba}html[data-theme="dark"] .panel,html[data-theme="dark"] .detail-card{background:#13241c;border-color:#355043;box-shadow:0 10px 28px rgba(0,0,0,.14)}html[data-theme="dark"] .panel-head,html[data-theme="dark"] .posture footer,html[data-theme="dark"] .setting-line{border-color:#2e483b}html[data-theme="dark"] .muted,html[data-theme="dark"] .panel-head p,html[data-theme="dark"] .settings-card>p,html[data-theme="dark"] .privacy-card p,html[data-theme="dark"] .metric p,html[data-theme="dark"] .metric span{color:var(--muted)}html[data-theme="dark"] .crumb,html[data-theme="dark"] .finding-meta,html[data-theme="dark"] .workflow-row span,html[data-theme="dark"] .history-row span{color:#9fb2a7}html[data-theme="dark"] .primary{background:#1b8259;border-color:#1b8259;color:#f4fff8}html[data-theme="dark"] .primary:hover{background:#259b6c}html[data-theme="dark"] .secondary,html[data-theme="dark"] .theme-choice{background:#172a21;border-color:#416454;color:#d9eee2}html[data-theme="dark"] .secondary:hover{background:#213a2d}html[data-theme="dark"] .notice{background:#123724;border-color:#2c7651;color:#caf7dc}html[data-theme="dark"] .notice-link,html[data-theme="dark"] .text-btn{color:#7ce9b2}html[data-theme="dark"] .score-ring{background:conic-gradient(#44c77f 0 58%,#263d32 58% 100%)}html[data-theme="dark"] .bar{background:#2a4136}html[data-theme="dark"] .metric.critical{background:#351a20;color:#ffadb7;border-color:#63313a}html[data-theme="dark"] .metric.high{background:#382b13;color:#ffd875;border-color:#695226}html[data-theme="dark"] .metric.medium{background:#291f43;color:#d2c3ff;border-color:#4e3d76}html[data-theme="dark"] .metric.clean{background:#153524;color:#a3eec0;border-color:#2e6845}html[data-theme="dark"] .badge.critical{background:#4a1e26;color:#ffb8c0}html[data-theme="dark"] .badge.high{background:#4b3a14;color:#ffda77}html[data-theme="dark"] .badge.medium{background:#342653;color:#d6c8ff}html[data-theme="dark"] .status.resolved{background:#173f2a;color:#8aefb8}html[data-theme="dark"] .status.new{background:#4a1e26;color:#ffb8c0}html[data-theme="dark"] .status.scan,html[data-theme="dark"] .file-icon,html[data-theme="dark"] .privacy-intro>span{background:#173f2a;color:#8aefb8}html[data-theme="dark"] .evidence,html[data-theme="dark"] .notice code,html[data-theme="dark"] .panel code,html[data-theme="dark"] .workflow-list code{background:#1b3026;border-color:#3a5848;color:#d8eade}html[data-theme="dark"] .select-wrap,html[data-theme="dark"] .find-search{border-color:#3a5748;background:#13241c;color:#aec1b6}html[data-theme="dark"] .select-wrap select,html[data-theme="dark"] .find-search input,html[data-theme="dark"] .setting-line select{background:#13241c;color:#e3eee8}html[data-theme="dark"] .setting-line select{border-color:#3a5748}html[data-theme="dark"] .toggle{background:#51675c}html[data-theme="dark"] .toggle.on{background:#219764}html[data-theme="dark"] .danger-btn{background:#2b181b;color:#ff9fab;border-color:#c65868}html[data-theme="dark"] .modal{background:#13241c;color:#e3eee8}html[data-theme="dark"] .modal-close{color:#e3eee8}html[data-theme="dark"] .toast{background:#e3eee8;color:#10231c}html[data-theme="dark"] .mobile-nav{background:#101e18;border-color:#314a3d}html[data-theme="dark"] .mobile-nav .nav-link.active{color:#84efba}html[data-theme="dark"] .mobile-nav .nav-link.active span{background:#173d2b}
/* Phone-specific application chrome: compact header, full canvas, and thumb-friendly bottom navigation. */
@media(max-width:600px){.topbar{height:58px;padding:0 15px;gap:10px}.brand{min-width:30px}.brand>span:last-child{display:none}.top-actions{display:none}.top-search{height:34px}.layout{min-height:calc(100vh - 58px)}.sidebar{display:none}main{width:100%;padding:23px 15px 92px}.heading-actions button{flex:1}.select-wrap{flex:1}.mobile-nav{position:fixed;z-index:15;bottom:0;left:0;right:0;height:67px;background:#fff;border-top:1px solid var(--border);display:flex;justify-content:space-around;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}.mobile-nav .nav-link{margin:0;flex:1;padding:4px 2px;display:flex;flex-direction:column;justify-content:center;gap:1px;text-align:center;font-size:0;border-radius:6px}.mobile-nav .nav-link span{font-size:17px;line-height:20px;width:auto}.mobile-nav .nav-link em{font-size:9px;font-style:normal;font-weight:700;line-height:13px}.mobile-nav .nav-link.active{background:transparent;color:var(--blue)}.mobile-nav .nav-link.active span{background:#ddf4ff;border-radius:10px;padding:0 10px;margin:auto}.detail-card{border-radius:6px}.modal{margin-bottom:45px}}
/* Keep phone navigation in its own composited layer so it remains visible while the document scrolls. */
@media(max-width:600px){main{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}.mobile-nav{position:fixed!important;right:0;bottom:0;left:0;height:calc(67px + env(safe-area-inset-bottom));padding:6px 4px max(6px,env(safe-area-inset-bottom));transform:translate3d(0,0,0);-webkit-transform:translate3d(0,0,0);backface-visibility:hidden;-webkit-backface-visibility:hidden;z-index:15}.mobile-nav .nav-link{min-height:55px}}
.score-ring{--posture-score:20%;background:conic-gradient(var(--good) 0 var(--posture-score),var(--soft) var(--posture-score) 100%)!important}
/* The provider is explicit so repository URLs are never guessed between GitHub and GitLab. */
.repository-picker{display:flex;align-items:center;gap:8px;flex:1 1 520px;max-width:650px;min-width:0}.repository-picker .top-search{flex:1;min-width:0;max-width:none}.provider-control{height:34px;flex:0 0 auto;border:1px solid #43526a;border-radius:6px;background:#172033;display:flex;align-items:center}.provider-control select{height:100%;appearance:auto;border:0;outline:0;background:transparent;color:#e2e8f0;font:600 12px Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;padding:0 24px 0 9px;cursor:pointer}.provider-control:focus-within{outline:3px solid var(--blue);outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}html[data-theme="light"] .provider-control{background:#1e293b!important;border-color:#4b5d78!important}html[data-theme="dark"] .provider-control{background:#172033!important;border-color:#43526a!important}@media(max-width:600px){.repository-picker{gap:6px;max-width:none}.provider-control{height:34px}.provider-control select{font-size:11px;padding-left:7px;padding-right:17px}}@media(max-width:420px){.topbar .brand{min-width:30px!important}.topbar .brand>.brand-name{display:none!important}}
.update-prompt{position:fixed;right:20px;bottom:76px;z-index:31;display:flex;align-items:center;gap:18px;max-width:min(440px,calc(100% - 40px));padding:13px 14px;border:1px solid #276184;border-radius:8px;background:#122b42;color:#d9f1ff;box-shadow:0 12px 30px rgba(0,0,0,.22)}.update-prompt[hidden]{display:none}.update-prompt div{min-width:0}.update-prompt strong,.update-prompt span{display:block}.update-prompt strong{font-size:12px}.update-prompt span{margin-top:2px;color:#b7dced;font-size:11px;line-height:1.45}.update-prompt .primary{flex:0 0 auto;white-space:nowrap}html[data-theme="light"] .update-prompt{border-color:#8dbbdd;background:#eff6ff;color:#164e71;box-shadow:0 10px 24px rgba(15,23,42,.15)}html[data-theme="light"] .update-prompt span{color:#335e7b}@media(max-width:600px){.update-prompt{right:15px;bottom:82px;left:15px;max-width:none;gap:12px;padding:12px}.update-prompt .primary{padding:0 10px;font-size:11px}}
