:root {
  color-scheme: light;
  --canvas: #f4f7f7;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --ink: #20343b;
  --ink-strong: #172d34;
  --muted: #738188;
  --line: #e1e8e8;
  --line-strong: #d3dddd;
  --nav: #15343c;
  --nav-hover: #20444c;
  --nav-muted: #a2b7b8;
  --teal: #267a73;
  --teal-dark: #1d625d;
  --teal-soft: #e3f1ee;
  --red: #b34d43;
  --red-soft: #f9e9e6;
  --amber: #9a641d;
  --amber-soft: #fbf0dc;
  --blue: #4d7192;
  --blue-soft: #e9f0f6;
  --purple: #75658e;
  --shadow: 0 12px 32px rgba(17, 49, 56, 0.08);
  font-family: Inter, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #4faaa0; outline-offset: 3px; }
::selection { color: #12363b; background: #cce8e2; }
[hidden] { display: none !important; }
.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; }

.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; width: 248px; height: 100vh; min-height: 620px; padding: 22px 14px 14px; overflow-y: auto; color: #eef4f2; background: var(--nav); }
.brand, .public-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand { padding: 0 10px; }
.brand-mark { display: grid; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #27565a; }
.brand-mark svg { width: 25px; height: 25px; fill: none; stroke: #d2ebe5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.brand-copy small { margin-top: 4px; color: #a2b7b8; font-size: 10px; letter-spacing: 0.02em; }
.workspace-switcher { display: flex; align-items: center; width: 100%; min-height: 58px; margin: 30px 0 28px; padding: 8px 9px; border: 1px solid rgba(224, 241, 238, 0.14); border-radius: 7px; background: rgba(255,255,255,0.045); text-align: left; cursor: pointer; }
.workspace-switcher:hover { background: rgba(255,255,255,0.09); }
.workspace-mark { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 6px; background: #dcece8; color: #27514e; font-size: 14px; font-weight: 700; }
.workspace-copy { display: grid; min-width: 0; margin-left: 9px; line-height: 1.25; }
.workspace-copy strong { overflow: hidden; color: #f1f6f4; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy small { margin-top: 4px; color: var(--nav-muted); font-size: 10px; }
.workspace-chevron { margin-left: auto; padding: 0 2px 4px 8px; color: #b2c5c2; font-size: 18px; }
.side-nav { display: grid; gap: 3px; }
.sidebar-label { margin: 0 10px 8px; color: #92aaac; font-size: 10px; font-weight: 600; letter-spacing: 0.01em; }
.nav-link { position: relative; display: flex; align-items: center; min-height: 38px; gap: 11px; padding: 0 10px; border-radius: 5px; color: #c0d0ce; font-size: 12px; transition: color 120ms ease, background 120ms ease; }
.nav-link:hover { color: #fff; background: var(--nav-hover); }
.nav-link[aria-current="page"] { color: #fff; background: #254950; font-weight: 600; }
.nav-link[aria-current="page"]::before { position: absolute; left: -14px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: #76b9aa; content: ""; }
.nav-marker { display: block; flex: 0 0 auto; width: 13px; height: 13px; border: 1.4px solid #91aaab; border-radius: 3px; }
.nav-link[aria-current="page"] .nav-marker { border-color: #b0d9d0; background: #b0d9d0; box-shadow: inset 0 0 0 3px #31585a; }
.nav-count { display: inline-grid; min-width: 21px; height: 19px; margin-left: auto; padding: 0 5px; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.1); color: #d7e3e1; font-size: 10px; }
.sidebar-spacer { flex: 1 1 auto; min-height: 26px; }
.side-nav-secondary { padding-top: 14px; border-top: 1px solid rgba(226, 239, 236, 0.13); }
.main-column { min-width: 0; }
.topbar { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 38px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.96); }
.breadcrumbs, .topbar-actions { display: flex; align-items: center; }
.breadcrumbs { gap: 10px; color: var(--muted); font-size: 12px; }
.breadcrumbs strong { color: var(--ink); font-weight: 550; }
.breadcrumb-separator { color: #b2bfc1; }
.topbar-actions { gap: 20px; }
.environment { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 5px; color: #53676c; font-size: 11px; }
.environment-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4a9b79; }
.topbar-help { color: #64767a; font-size: 11px; }
.topbar-help:hover, .text-link:hover, .panel-link:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.mobile-menu { display: none; }
.preview-bar { padding: 9px 38px; border-bottom: 1px solid #f0e4cb; background: #fdf6e7; color: #8a6a25; font-size: 10px; }
.page-content { width: min(100%, 1450px); margin: 0 auto; padding: 33px 38px 18px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 23px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; color: var(--ink-strong); font-size: clamp(25px, 2.15vw, 31px); font-weight: 620; letter-spacing: -0.045em; line-height: 1.18; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; gap: 8px; padding: 0 13px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background 120ms ease, border-color 120ms ease, color 120ms ease; }
.button-primary { border-color: var(--teal-dark); background: var(--teal-dark); color: #fff; }
.button-primary:hover { border-color: #174f4c; background: #174f4c; }
.button-secondary { border-color: var(--line-strong); background: #fff; color: #3c555b; }
.button-secondary:hover { border-color: #9eb4b4; background: #f8fbfa; }
.button-light { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.12); color: white; }
.button-light:hover { background: rgba(255,255,255,0.2); }
.button-small { min-height: 32px; padding: 0 11px; font-size: 10px; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.panel-heading h2, .coverage-intro h2 { margin: 0; color: var(--ink-strong); font-size: 13px; font-weight: 650; letter-spacing: -0.015em; }
.panel-heading p, .coverage-intro p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.panel-link { flex: 0 0 auto; color: var(--teal-dark); font-size: 10px; font-weight: 600; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.status-good { background: #e8f3ee; color: #3a755f; }
.status-good .status-dot { width: 6px; height: 6px; background: #4a9b79; }
.status-muted { background: #eff2f2; color: #718084; }
.status-muted .status-dot { width: 6px; height: 6px; background: #a6b0b0; }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(305px, 0.86fr); gap: 14px; }
.posture-panel { padding: 19px 21px 13px; border-color: #d9e5e2; background: #edf5f2; }
.posture-panel .panel-heading p { color: #718582; }
.posture-panel .status-good { background: #dceee7; }
.posture-body { display: flex; align-items: center; gap: 20px; padding: 14px 0 13px; }
.score-ring { position: relative; display: grid; flex: 0 0 auto; width: 112px; height: 112px; place-items: center; }
.score-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 7; }
.score-track { stroke: #d2e2dd; }
.score-value { stroke: #39887b; stroke-linecap: round; stroke-dasharray: 252 308; }
.score-number { display: grid; justify-items: center; line-height: 1; }
.score-number strong { color: #1d4f4c; font-size: 29px; font-weight: 650; letter-spacing: -0.05em; }
.score-number span { margin-top: 5px; color: #778b88; font-size: 9px; }
.posture-copy { max-width: 320px; }
.posture-copy > strong { color: #244443; font-size: 14px; font-weight: 650; }
.posture-copy p { max-width: 285px; margin: 5px 0 11px; color: #6c807d; font-size: 11px; line-height: 1.55; }
.text-link { color: var(--teal-dark); font-size: 10px; font-weight: 600; }
.posture-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; padding-top: 11px; border-top: 1px solid #d7e4df; color: #71827f; font-size: 9px; }
.posture-meta strong { color: #425c59; font-size: 9px; font-weight: 600; }
.meta-divider { width: 1px; height: 12px; margin: 0 5px; background: #cbdad5; }
.severity-panel { padding: 19px 20px 13px; }
.severity-list { display: grid; gap: 13px; margin: 20px 0 15px; }
.severity-row { display: grid; grid-template-columns: 108px minmax(40px,1fr) 22px; align-items: center; gap: 10px; color: #52656a; font-size: 10px; }
.severity-label { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.severity-row strong { color: #3b5055; font-size: 10px; font-weight: 650; text-align: right; }
.severity-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #9aa8a8; }
.severity-dot.critical, .bar-critical { background: #bd5549; }
.severity-dot.high, .bar-high { background: #d28a3e; }
.severity-dot.medium, .bar-medium { background: #d3ad54; }
.severity-dot.low, .bar-low { background: #698d91; }
.severity-dot.resolved { background: #5b9b79; }
.severity-bar { display: block; height: 5px; overflow: hidden; border-radius: 4px; background: #edf1f1; }
.severity-bar > span { display: block; height: 100%; border-radius: inherit; }
.severity-foot { display: flex; align-items: center; gap: 7px; padding-top: 11px; border-top: 1px solid #edf0f0; color: #6f7f82; font-size: 9px; }

.coverage-panel { margin-top: 14px; padding: 17px 20px 18px; }
.coverage-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.coverage-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 18px; }
.coverage-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #718086; font-size: 10px; }
.coverage-label strong { color: #30484d; font-size: 11px; font-weight: 650; }
.coverage-label small { color: #9aa6a7; font-size: 9px; font-weight: 500; }
.progress-track { height: 5px; overflow: hidden; border-radius: 4px; background: #e9efee; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: #4d9184; }
.dashboard-lower { display: grid; grid-template-columns: minmax(0, 1.46fr) minmax(250px, 0.72fr); gap: 14px; margin-top: 14px; }
.findings-panel, .activity-panel { overflow: hidden; }
.findings-panel > .panel-heading, .activity-panel > .panel-heading { padding: 17px 18px 13px; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 9px 13px; border-top: 1px solid #edf1f0; border-bottom: 1px solid #e9eeee; background: #fafbfb; color: #849195; font-size: 9px; font-weight: 600; white-space: nowrap; }
td { padding: 10px 13px; border-bottom: 1px solid #edf0f0; color: #53666b; font-size: 10px; vertical-align: middle; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcfc; }
tbody tr:target td { background: #edf6f3; }
.finding-title { display: block; max-width: 260px; overflow: hidden; color: #324b50; font-size: 10px; font-weight: 600; text-overflow: ellipsis; }
.finding-title:hover, .project-name:hover strong { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.table-secondary { display: block; margin-top: 3px; color: #94a0a2; font-size: 9px; }
.risk-tag { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 7px; border-radius: 4px; font-size: 9px; font-weight: 600; white-space: nowrap; }
.risk-critical { background: var(--red-soft); color: #a4453c; }
.risk-high { background: var(--amber-soft); color: #96601b; }
.risk-medium { background: #f8f1df; color: #8b7028; }
.risk-low { background: #eaf0f0; color: #5a7579; }
.activity-list { display: grid; gap: 0; margin: 0; padding: 0 18px; list-style: none; }
.activity-list li { position: relative; display: flex; gap: 11px; padding: 0 0 18px; }
.activity-list li:not(:last-child)::after { position: absolute; top: 13px; bottom: -1px; left: 3px; width: 1px; background: #e2e9e8; content: ""; }
.activity-mark { position: relative; z-index: 1; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 5px; border: 1.5px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #a4bab5; background: #5b9b79; }
.activity-scan { background: #658ca0; box-shadow: 0 0 0 1px #99b3bd; }
.activity-user { background: #9a83a8; box-shadow: 0 0 0 1px #b8a9c1; }
.activity-list strong { display: block; color: #435b60; font-size: 10px; font-weight: 600; }
.activity-list p { margin: 2px 0 3px; color: #839094; font-size: 9px; }
.activity-list time { color: #a1adaf; font-size: 9px; }
.activity-link { display: inline-block; margin: 0 18px 17px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 1px 0; color: #9aa6a8; font-size: 9px; }

.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.metric-cell { display: grid; gap: 3px; min-height: 77px; align-content: center; padding: 10px 20px; }
.metric-cell + .metric-cell { border-left: 1px solid var(--line); }
.metric-cell span { color: #7c898d; font-size: 10px; }
.metric-cell strong { color: #273f45; font-size: 22px; font-weight: 620; letter-spacing: -0.04em; line-height: 1.15; }
.metric-cell .metric-critical { color: var(--red); }
.metric-cell .metric-high { color: var(--amber); }
.metric-cell .metric-success { color: var(--teal); }
.projects-panel, .findings-table-panel, .report-list-panel { overflow: hidden; }
.panel-heading-spacious { align-items: center; padding: 17px 18px 15px; }
.search-field { display: flex; align-items: center; width: min(100%, 235px); min-height: 34px; gap: 9px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; }
.search-field:focus-within { border-color: #71a49d; box-shadow: 0 0 0 2px rgba(75, 144, 133, 0.12); }
.search-icon { position: relative; display: block; flex: 0 0 auto; width: 13px; height: 13px; border: 1.5px solid #91a1a4; border-radius: 50%; }
.search-icon::after { position: absolute; right: -4px; bottom: -2px; width: 5px; height: 1.5px; transform: rotate(45deg); transform-origin: left center; background: #91a1a4; content: ""; }
.search-field input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: #40555a; font-size: 10px; }
.search-field input::placeholder { color: #9aa6a8; }
.search-field input:focus-visible { outline: none; }
.projects-table th, .projects-table td, .findings-table th, .findings-table td, .reports-table th, .reports-table td { padding-right: 16px; padding-left: 16px; }
.project-name { display: inline-flex; align-items: center; gap: 10px; }
.project-name > span:last-child, .reports-table td:first-child > span:last-child { display: grid; gap: 3px; }
.project-name strong, .reports-table td:first-child strong { color: #344c51; font-size: 10px; font-weight: 650; }
.project-name small, .reports-table td:first-child small { color: #98a3a5; font-size: 9px; }
.project-symbol { display: grid; flex: 0 0 auto; width: 29px; height: 29px; place-items: center; border-radius: 6px; font-size: 11px; font-weight: 700; }
.project-symbol-teal { background: #e3f1ee; color: #39766e; }
.project-symbol-blue { background: #e8eff6; color: #587996; }
.project-symbol-purple { background: #f0ebf5; color: #79688d; }
.project-symbol-amber { background: #f7f0e4; color: #997342; }
.project-symbol-slate { background: #edf1f1; color: #687a7e; }
.project-risk-count { display: inline-flex; align-items: center; gap: 5px; color: #53696d; font-size: 10px; }
.project-risk-count i { width: 6px; height: 6px; margin-left: 4px; }
.table-footer { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 17px; border-top: 1px solid #edf0f0; color: #8a979a; font-size: 9px; }
.pagination { display: inline-flex; align-items: center; gap: 11px; }
.pagination button { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid var(--line); border-radius: 4px; background: white; color: #617579; font-size: 16px; line-height: 1; cursor: pointer; }
.pagination button:disabled { color: #c1cbcb; cursor: default; }
.pagination span { min-width: 34px; color: #748387; text-align: center; }
.empty-state { margin: 0; padding: 30px 15px; color: #839195; font-size: 11px; text-align: center; }

.findings-metrics { margin-bottom: 16px; }
.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 17px; border-top: 1px solid #edf1f0; border-bottom: 1px solid #e9eeee; }
.filter-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; }
.filter-tab { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 0 9px; border: 0; border-radius: 4px; background: transparent; color: #758488; font-size: 10px; white-space: nowrap; cursor: pointer; }
.filter-tab span { color: #a0abad; font-size: 9px; }
.filter-tab:hover { background: #f4f7f6; color: #40595d; }
.filter-tab[aria-pressed="true"] { background: #e7f1ee; color: #2f6e66; font-weight: 650; }
.filter-tab[aria-pressed="true"] span { color: #5e8e86; }
.filter-button { display: inline-flex; align-items: center; gap: 9px; min-height: 30px; padding: 0 9px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: #617479; font-size: 10px; cursor: pointer; }
.filter-button:hover { background: #f8faf9; }
.findings-table .finding-title { max-width: 265px; }
.row-more { width: 26px; height: 25px; border: 0; border-radius: 4px; background: transparent; color: #879598; font-size: 16px; cursor: pointer; }
.row-more:hover { background: #eef3f2; color: #40595d; }

.report-highlight { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 119px; margin-bottom: 16px; padding: 21px 24px; border: 1px solid #1d5656; border-radius: 7px; background: #1b454c; color: #f2f7f5; }
.report-highlight-copy { display: flex; align-items: center; gap: 15px; }
.report-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(227, 245, 239, 0.25); border-radius: 7px; color: #b8d9cf; font-size: 21px; }
.report-kicker { color: #a9c4bf; font-size: 9px; }
.report-highlight h2 { margin: 3px 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.report-highlight p { margin: 0; color: #b2c8c4; font-size: 10px; }
.reports-table td:first-child { display: table-cell; }
.reports-table td:first-child > span:last-child { display: inline-grid; margin-left: 10px; vertical-align: middle; }
.report-file-icon { display: inline-grid; width: 31px; height: 35px; place-items: center; border: 1px solid #e2e9e8; border-radius: 4px; background: #f8faf9; color: #708286; font-size: 8px; font-weight: 700; vertical-align: middle; }

.public-page { min-height: 100vh; background: #fbfcfb; }
.public-header { display: flex; align-items: center; justify-content: space-between; min-height: 67px; padding: 0 max(28px, calc((100vw - 1160px) / 2)); border-bottom: 1px solid var(--line); background: #fff; }
.public-brand { gap: 9px; color: #3e565a; font-size: 11px; }
.public-brand .brand-mark { width: 30px; height: 30px; }
.public-brand .brand-mark svg { width: 23px; height: 23px; }
.public-brand strong { color: var(--ink-strong); font-size: 13px; font-weight: 650; }
.public-brand-divider { width: 1px; height: 17px; margin: 0 3px; background: var(--line-strong); }
.public-nav { display: flex; align-items: center; gap: 23px; color: #718085; font-size: 10px; }
.public-nav > a:not(.button):hover, .public-nav > a[aria-current="page"] { color: var(--teal-dark); }
.trust-main, .docs-main { width: min(100% - 48px, 1040px); margin: 0 auto; }
.trust-main { padding: 31px 0 25px; }
.trust-updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 9px; border: 1px solid #dbe9e3; border-radius: 5px; background: #f4faf6; color: #4d7964; font-size: 10px; }
.trust-updated .status-dot { width: 6px; height: 6px; }
.trust-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 30px 0 26px; }
.trust-hero h1 { max-width: 600px; font-size: clamp(27px, 4vw, 40px); letter-spacing: -0.05em; }
.trust-hero p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.uptime-stat { display: grid; flex: 0 0 auto; gap: 3px; text-align: right; }
.uptime-stat strong { color: #2f7867; font-size: 24px; font-weight: 620; letter-spacing: -0.04em; }
.uptime-stat span { color: #849195; font-size: 9px; }
.trust-components { padding: 20px 22px 16px; }
.trust-components .panel-heading { align-items: center; padding-bottom: 13px; }
.component-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 55px; border-top: 1px solid #edf1f0; }
.component-row > div { display: grid; gap: 3px; }
.component-row strong { color: #40575c; font-size: 11px; font-weight: 600; }
.component-row span { color: #8a989a; font-size: 9px; }
.component-status { display: inline-flex; align-items: center; gap: 7px; color: #4b826c !important; white-space: nowrap; }
.component-status i { width: 6px; height: 6px; border-radius: 50%; background: #5c9d7e; }
.uptime-history { display: flex; align-items: center; gap: 3px; margin-top: 11px; }
.uptime-day { flex: 1 1 0; min-width: 3px; height: 21px; border-radius: 2px; background: #71aa84; }
.uptime-caption { flex: 0 0 auto; margin-left: 10px; color: #8a989a; font-size: 9px; }
.trust-history { margin-top: 31px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.section-heading h2 { margin: 0; color: var(--ink-strong); font-size: 15px; font-weight: 650; }
.section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.history-range { color: #879497; font-size: 9px; }
.history-empty { display: flex; align-items: center; gap: 12px; min-height: 75px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.history-check { display: grid; flex: 0 0 auto; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: #e8f3ed; color: #4b8a6c; font-size: 13px; font-weight: 700; }
.history-empty div { display: grid; gap: 3px; }
.history-empty strong { color: #40575c; font-size: 10px; }
.history-empty p { margin: 0; color: #8a9799; font-size: 9px; }
.history-date { margin-left: auto; color: #99a4a6; font-size: 9px; }
.trust-footer-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 6px; background: #f7f9f8; }
.trust-footer-card h2 { margin: 0 0 4px; color: #40575c; font-size: 11px; font-weight: 650; }
.trust-footer-card p { margin: 0; color: #849194; font-size: 9px; }
.public-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 30px; padding-top: 14px; border-top: 1px solid var(--line); color: #96a2a4; font-size: 9px; }
.public-footer a:hover { color: var(--teal-dark); }

.docs-main { padding: 34px 0 24px; }
.docs-title { margin-bottom: 26px; }
.docs-title h1 { font-size: 31px; }
.docs-title > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.docs-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 54px; align-items: start; }
.docs-sidebar { position: sticky; top: 22px; display: grid; gap: 3px; padding-right: 10px; }
.docs-sidebar span { margin: 14px 0 4px; color: #8b989b; font-size: 9px; font-weight: 650; }
.docs-sidebar span:first-child { margin-top: 0; }
.docs-sidebar a { padding: 6px 8px; border-radius: 4px; color: #718084; font-size: 10px; }
.docs-sidebar a:hover, .docs-sidebar a[aria-current="location"] { background: #eaf2ef; color: #316f66; }
.docs-article { max-width: 690px; }
.docs-article section { padding: 0 0 27px; scroll-margin-top: 18px; }
.docs-article section + section { padding-top: 23px; border-top: 1px solid var(--line); }
.docs-section-label { color: #6d8785; font-size: 9px; font-weight: 650; }
.docs-article h2 { margin: 5px 0 11px; color: #243b41; font-size: 19px; font-weight: 620; letter-spacing: -0.03em; }
.docs-article p { margin: 0 0 10px; color: #627276; font-size: 11px; line-height: 1.75; }
.docs-callout { margin: 16px 0 3px; padding: 14px 16px; border-left: 3px solid #5e9b8e; border-radius: 0 5px 5px 0; background: #edf5f2; }
.docs-callout strong { display: block; margin-bottom: 4px; color: #38645d; font-size: 10px; }
.docs-callout p { margin: 0; color: #66817b; font-size: 10px; }
.docs-steps { display: grid; gap: 12px; margin: 15px 0 0; padding-left: 20px; color: #66817b; }
.docs-steps li { padding-left: 4px; }
.docs-steps li::marker { color: #478779; font-size: 10px; font-weight: 700; }
.docs-steps strong, .docs-steps span { display: block; font-size: 10px; }
.docs-steps strong { color: #3f565b; font-weight: 600; }
.docs-steps span { margin-top: 3px; color: #748388; line-height: 1.6; }
.severity-guide { display: grid; gap: 0; margin-top: 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.severity-guide > div { display: grid; grid-template-columns: 110px minmax(0,1fr); align-items: center; gap: 14px; padding: 11px 13px; }
.severity-guide > div + div { border-top: 1px solid #edf0f0; }
.severity-guide p { margin: 0; font-size: 10px; line-height: 1.55; }

.signin-main { display: grid; align-content: center; justify-items: center; min-height: calc(100vh - 68px); padding: 44px 0 60px; }
.signin-card { width: min(100% - 40px, 408px); padding: 30px 28px 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(17, 49, 56, 0.06); }
.signin-card h1 { margin-bottom: 7px; font-size: 22px; }
.signin-subtitle { margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.field { display: grid; gap: 6px; margin: 0 0 14px; }
.field > span { color: #5b6d71; font-size: 10px; font-weight: 600; }
.field input { width: 100%; height: 38px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; color: var(--ink); font-size: 12px; }
.field input:focus { border-color: #71a49d; }
.field input::placeholder { color: #a6b1b2; }
.form-error { margin: 0 0 12px; color: var(--red); font-size: 10px; }
.signin-submit { width: 100%; min-height: 38px; }
.signin-success { display: grid; justify-items: start; gap: 7px; }
.signin-success-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #e8f3ed; color: #4b8a6c; font-size: 13px; font-weight: 700; }
.signin-success h2 { margin: 3px 0 0; color: var(--ink-strong); font-size: 15px; font-weight: 650; }
.signin-success p { margin: 0 0 8px; color: #627276; font-size: 11px; line-height: 1.65; }
.signin-success strong { color: #344c51; font-weight: 650; word-break: break-all; }
.signin-note { margin: 20px 0 0; padding-top: 15px; border-top: 1px solid var(--line); color: #8a9799; font-size: 9px; line-height: 1.6; }
.not-found-page { display: flex; min-height: 100vh; flex-direction: column; background: #f7f9f8; }
.not-found-page .public-header { width: 100%; }
.not-found-page .topbar-help { color: #718085; }
.not-found-content { display: grid; justify-items: start; width: min(100% - 48px, 550px); margin: auto; padding: 72px 0 100px; }
.not-found-code { margin-bottom: 17px; color: #d2e2dd; font-size: clamp(88px, 20vw, 150px); font-weight: 650; letter-spacing: -0.09em; line-height: 0.85; }
.not-found-content h1 { margin: 0 0 9px; font-size: 30px; }
.not-found-content > p:not(.eyebrow) { max-width: 390px; margin: 0; color: #78878a; font-size: 12px; line-height: 1.7; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.not-found-status { display: inline-flex; align-items: center; gap: 7px; margin-top: 38px; color: #718985; font-size: 10px; }

.toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 15px; transform: translateY(8px); border: 1px solid #315e5e; border-radius: 6px; background: #1b454c; box-shadow: var(--shadow); color: #f2f7f5; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity 150ms ease, transform 150ms ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

@media (max-width: 1120px) {
  .app-shell { grid-template-columns: 224px minmax(0, 1fr); }
  .sidebar { width: 224px; }
  .page-content { padding-right: 26px; padding-left: 26px; }
  .topbar { padding: 0 26px; }
  .preview-bar { padding: 9px 26px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr) minmax(275px, 0.9fr); }
  .dashboard-lower { grid-template-columns: minmax(0, 1.25fr) minmax(230px, 0.75fr); }
  .docs-layout { gap: 35px; }
}

@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 15; top: 0; left: 0; width: 248px; min-height: 100vh; transform: translateX(-102%); transition: transform 180ms ease; box-shadow: var(--shadow); }
  .sidebar.is-open { transform: translateX(0); }
  .topbar { padding: 0 22px; }
  .mobile-menu { display: grid; width: 31px; height: 31px; flex: 0 0 auto; align-content: center; justify-items: center; gap: 4px; margin-right: 12px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
  .mobile-menu span { display: block; width: 13px; height: 1.5px; border-radius: 2px; background: #52686c; }
  .topbar { justify-content: flex-start; }
  .breadcrumbs { flex: 1; }
  .topbar-actions { gap: 12px; }
  .overview-grid { grid-template-columns: 1fr 0.9fr; }
  .dashboard-lower { grid-template-columns: 1fr; }
  .activity-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .activity-panel .panel-heading { grid-column: 1 / -1; }
  .activity-list { grid-column: 1 / 2; }
  .activity-link { grid-column: 2 / 3; align-self: end; justify-self: start; margin: 0 0 18px; }
  .docs-layout { grid-template-columns: 165px minmax(0,1fr); gap: 25px; }
}

@media (max-width: 650px) {
  .topbar { height: 58px; padding: 0 14px; }
  .preview-bar { padding: 8px 15px; }
  .topbar-actions { gap: 9px; }
  .topbar-help { display: none; }
  .environment { padding: 5px 7px; font-size: 9px; }
  .page-content { padding: 24px 15px 16px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  .page-heading .button { align-self: flex-start; }
  .overview-grid, .dashboard-lower { grid-template-columns: minmax(0,1fr); }
  .posture-panel, .severity-panel { padding-right: 16px; padding-left: 16px; }
  .score-ring { width: 94px; height: 94px; }
  .score-number strong { font-size: 25px; }
  .posture-body { gap: 14px; }
  .severity-row { grid-template-columns: 100px minmax(30px,1fr) 20px; }
  .coverage-panel { padding: 16px; }
  .coverage-items { grid-template-columns: 1fr; gap: 13px; margin-top: 15px; }
  .coverage-label { margin-bottom: 6px; }
  .activity-panel { display: block; }
  .activity-link { display: inline-block; margin: 0 18px 17px; }
  .page-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-cell { min-height: 68px; padding: 9px 13px; }
  .metric-cell:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric-cell:nth-child(4) { border-top: 1px solid var(--line); }
  .panel-heading-spacious { align-items: flex-start; flex-direction: column; }
  .search-field { width: 100%; }
  .filter-toolbar { align-items: flex-start; padding: 8px 10px; }
  .filter-tabs { max-width: calc(100% - 68px); }
  .filter-tab { padding: 0 7px; }
  .filter-button { flex: 0 0 auto; }
  .table-footer { padding: 0 11px; }
  .report-highlight { align-items: flex-start; flex-direction: column; padding: 18px; }
  .report-highlight .button { align-self: stretch; }
  .public-header { min-height: 59px; padding: 0 15px; }
  .public-brand { gap: 7px; font-size: 9px; }
  .public-brand strong { font-size: 12px; }
  .public-brand .brand-mark { width: 27px; height: 27px; }
  .public-nav { gap: 10px; font-size: 9px; }
  .public-nav > a:not(.button) { display: none; }
  .trust-main, .docs-main { width: min(100% - 30px, 1040px); }
  .trust-main { padding-top: 22px; }
  .trust-hero { align-items: flex-start; flex-direction: column; padding: 23px 0 20px; }
  .trust-hero h1 { font-size: 30px; }
  .uptime-stat { text-align: left; }
  .trust-components { padding: 16px 13px 13px; }
  .trust-components .panel-heading { align-items: flex-start; flex-direction: column; }
  .component-row { gap: 10px; min-height: 62px; }
  .component-row > div { max-width: 68%; }
  .component-row span { font-size: 8px; }
  .component-status { font-size: 9px !important; }
  .uptime-history { gap: 2px; }
  .uptime-day { height: 16px; }
  .uptime-caption { display: none; }
  .history-empty { align-items: flex-start; flex-wrap: wrap; }
  .history-date { width: 100%; margin-left: 39px; }
  .trust-footer-card { align-items: flex-start; flex-direction: column; gap: 10px; }
  .public-footer { flex-wrap: wrap; }
  .docs-main { padding-top: 25px; }
  .docs-layout { display: block; }
  .docs-sidebar { position: static; display: flex; gap: 4px; margin-bottom: 26px; padding: 0 0 10px; overflow-x: auto; border-bottom: 1px solid var(--line); }
  .docs-sidebar span { display: none; }
  .docs-sidebar a { flex: 0 0 auto; }
  .docs-article h2 { font-size: 17px; }
  .severity-guide > div { grid-template-columns: 1fr; gap: 6px; }
  .signin-main { min-height: calc(100vh - 60px); padding: 30px 0 44px; }
  .signin-card { padding: 24px 18px 20px; }
  .not-found-content { width: min(100% - 30px, 550px); padding: 56px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
