:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --line: #e6e8ee;
  --line-strong: #d5d9e2;
  --ink: #18203a;
  --ink-2: #4a5470;
  --ink-3: #7b849c;
  --accent: #1f6feb;
  --accent-soft: #e8f0fe;
  --good: #12b886;
  --good-soft: #d3f5e9;
  --mod: #f59f00;
  --mod-soft: #fff1cc;
  --poor: #f03e3e;
  --poor-soft: #ffe0e0;
  --neutral: #9aa3b8;
  --prev: #b8c0d4;
  --s1: #4c8dff; --s2: #6a3df0; --s3: #22c3e6; --s4: #fcc419; --s5: #ff8787; --s6: #63e6be;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(24, 32, 58, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1320; --surface: #171c2c; --surface-2: #1d2336; --line: #283049; --line-strong: #353e5a;
    --ink: #e8ebf4; --ink-2: #b4bbcf; --ink-3: #828aa3; --accent: #5b9bff; --accent-soft: #1e2b4a;
    --good-soft: #10392e; --mod-soft: #3d2f0c; --poor-soft: #451c1f; --prev: #4a5373; --neutral: #69728c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1320; --surface: #171c2c; --surface-2: #1d2336; --line: #283049; --line-strong: #353e5a;
  --ink: #e8ebf4; --ink-2: #b4bbcf; --ink-3: #828aa3; --accent: #5b9bff; --accent-soft: #1e2b4a;
  --good-soft: #10392e; --mod-soft: #3d2f0c; --poor-soft: #451c1f; --prev: #4a5373; --neutral: #69728c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.45 var(--font); }
a { color: var(--accent); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }

.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #22c3e6); display: grid; place-items: center; color: #fff; font-size: 13px; }
.side-site { padding: 0 10px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.side-site small { color: var(--ink-3); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.side-site select { width: 100%; margin-top: 4px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 8px; padding: 6px 8px; font-weight: 600; }
.nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav .grp { margin: 14px 10px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.nav .sub { padding-left: 22px; }
.badge { min-width: 20px; height: 20px; border-radius: 10px; background: var(--poor); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; padding: 0 6px; }
.side-foot { margin-top: 18px; padding: 10px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); }

.main { min-width: 0; }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-right: auto; }
.crumbs b { color: var(--ink); }
.ctrl { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px; box-shadow: var(--shadow); }
.ctrl select, .ctrl input { border: 0; background: transparent; padding: 4px 6px; outline: none; }
.ctrl label { font-size: 12px; color: var(--ink-3); padding-left: 6px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; box-shadow: var(--shadow); }
.seg button { border: 0; background: transparent; padding: 5px 10px; border-radius: 7px; cursor: pointer; color: var(--ink-2); font-weight: 500; font-size: 13px; }
.seg button.on { background: var(--ink); color: var(--surface); }
.legend-chips { display: inline-flex; gap: 12px; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; }

.page { padding: 20px 24px 60px; display: grid; gap: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .app { grid-template-columns: 1fr; } .side { position: static; height: auto; } .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.card-h { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card-h h2, .card-h h3 { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -.005em; }
.card-h p { margin: 2px 0 0; color: var(--ink-3); font-size: 12.5px; }
.card-h .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.card-b { padding: 16px 18px; }
.card-f { padding: 10px 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.empty { padding: 28px; text-align: center; color: var(--ink-3); }
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.note { background: var(--accent-soft); color: var(--ink-2); border-radius: 10px; padding: 10px 14px; font-size: 13px; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 6px; background: var(--neutral); }
.dot.good { background: var(--good); } .dot.moderate { background: var(--mod); } .dot.poor { background: var(--poor); }
.c-good { color: var(--good); } .c-moderate { color: var(--mod); } .c-poor { color: var(--poor); } .c-neutral { color: var(--ink-3); }
.trend { font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.good { background: var(--good-soft); color: var(--good); } .pill.poor { background: var(--poor-soft); color: var(--poor); } .pill.neutral { background: var(--surface-2); color: var(--ink-3); }

/* CWV-kaarten */
.cwv-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px 0; }
.cwv-head h3 { margin: 0; font-size: 15px; }
.cwv-head .val { margin-left: auto; font-weight: 700; font-size: 15px; }
.dist3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.dist3 > div { padding: 12px; text-align: center; border-right: 1px solid var(--line); }
.dist3 > div:last-child { border-right: 0; }
.dist3 small { display: block; color: var(--ink-2); font-size: 12.5px; }
.dist3 b { font-size: 16px; }
.dist3 s { color: var(--ink-3); font-size: 12px; margin-right: 4px; }

/* Scores */
.rings { display: flex; flex-direction: column; align-items: center; padding: 16px; gap: 10px; }
.ring-legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font-size: 13px; }
.ring-legend div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.score-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 18px 8px; text-align: center; }
.score-row h4 { margin: 0 0 8px; font-size: 14px; }

/* Tabellen */
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; cursor: default; }
.tbl th.sort { cursor: pointer; }
.tbl th.sort:hover { color: var(--ink); }
.tbl td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.all td { font-weight: 650; background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.click { cursor: pointer; }
.tbl td.click:hover { background: var(--surface-2); }
.tbl .grp-cell { max-width: 380px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }
.cell-v { font-weight: 600; white-space: nowrap; }
.cell-v small { font-weight: 400; color: var(--ink-3); margin-left: 2px; }

.distbar { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: var(--line); min-width: 140px; }
.distbar span { display: block; height: 100%; }
.distbar.prev { opacity: .38; height: 5px; margin-bottom: 3px; }
.distbar .g { background: var(--good); } .distbar .m { background: var(--mod); } .distbar .p { background: var(--poor); }

/* Metriekbalk (technical) */
.mtabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.mtab { position: relative; padding: 8px 14px 10px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; min-width: 120px; }
.mtab.on { border-color: var(--ink); }
.mtab small { display: block; font-weight: 650; font-size: 12.5px; }
.mtab b { font-size: 20px; letter-spacing: -.02em; }
.mtab b em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 2px; }
.mtab .caret { position: absolute; right: 2px; top: 18px; border: 0; background: transparent; cursor: pointer; color: var(--ink-3); padding: 4px 6px; border-radius: 6px; }
.mtab .caret:hover { background: var(--surface-2); color: var(--ink); }
.mtab-sub { font-size: 12px; color: var(--accent); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); font-size: 13px; overflow: hidden; }
.chip > span { padding: 6px 10px; color: var(--ink-2); border-right: 1px solid var(--line); }
.chip > button { border: 0; background: transparent; padding: 6px 10px; cursor: pointer; font-weight: 600; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip > button.x { font-weight: 400; color: var(--ink-3); padding: 6px 9px 6px 2px; }
.chip.active { border-color: var(--accent); }
.chip.active > button:first-of-type { color: var(--accent); }
.chip.add > button { color: var(--ink-2); }

.btn { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 6px 12px; cursor: pointer; font-weight: 550; font-size: 13px; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.btn.danger { color: var(--poor); }
.btn.sm { padding: 3px 8px; font-size: 12px; }
select.inp, input.inp, textarea.inp { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 6px 9px; outline: none; }
select.inp:focus, input.inp:focus, textarea.inp:focus { border-color: var(--accent); }
textarea.inp { width: 100%; min-height: 110px; font-family: var(--mono); font-size: 12.5px; }

/* Popover */
.pop { position: fixed; z-index: 100; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 28, 50, .18); width: 340px; max-height: 70vh; display: flex; flex-direction: column; }
.pop-h { padding: 10px 12px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
.pop-h input { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: var(--surface-2); outline: none; }
.pop-b { overflow-y: auto; padding: 6px; }
.pop-f { padding: 8px 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
.opt { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; cursor: pointer; font-size: 13px; }
.opt:hover { background: var(--surface-2); }
.opt .lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt .cnt { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.opt-grp { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 8px 8px 4px; }

.tip { position: fixed; z-index: 200; pointer-events: none; background: #18203a; color: #fff; border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.5; box-shadow: 0 6px 18px rgba(0,0,0,.25); max-width: 320px; }
.tip b { font-weight: 650; }

/* grafieken */
.chart { width: 100%; position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.ax line { stroke: var(--line); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); align-items: center; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.legend i.line { width: 18px; height: 3px; border-radius: 2px; }
.legend i.dash { width: 18px; height: 0; border-top: 2px dashed var(--ink-3); border-radius: 0; background: none !important; }

/* Third parties */
.tp-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.tp-cols > div { border-right: 1px solid var(--line); min-height: 200px; }
.tp-cols > div:last-child { border-right: 0; }
.tp-cols h4 { margin: 0; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 13px; }
.tp-row { position: relative; padding: 9px 16px; cursor: pointer; display: flex; gap: 8px; align-items: center; font-size: 13px; }
.tp-row:hover { background: var(--surface-2); }
.tp-row .bar { position: absolute; left: 0; top: 4px; bottom: 4px; background: var(--accent-soft); border-radius: 0 6px 6px 0; z-index: 0; }
.tp-row > *:not(.bar) { position: relative; z-index: 1; }
.tp-row .h { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 1px 6px; border-radius: 5px; background: var(--surface-2); color: var(--ink-3); border: 1px solid var(--line); }

/* Health checks */
.finding { display: grid; grid-template-columns: 6px 1fr auto; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.finding:last-child { border-bottom: 0; }
.finding .sev { border-radius: 3px; background: var(--mod); }
.finding .sev.hi { background: var(--poor); }
.finding h4 { margin: 0 0 2px; font-size: 14px; }
.finding .meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.finding .fix { font-size: 13px; color: var(--ink-2); }
.kv { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.kv b { color: var(--ink); }

/* Instellingen */
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.form-row:last-child { border-bottom: 0; }
.form-row label { font-weight: 600; padding-top: 6px; }
.form-row .help { color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.snippet { background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; white-space: pre-wrap; word-break: break-all; }
.rule { display: grid; grid-template-columns: 28px 110px 1fr 180px 120px 70px; gap: 8px; align-items: center; padding: 6px 0; }
.rule .handle { color: var(--ink-3); display: flex; flex-direction: column; }
.rule .handle button { border: 0; background: transparent; cursor: pointer; padding: 0; line-height: 1; color: var(--ink-3); }
.rule input, .rule select { width: 100%; }
.tester-res td { font-family: var(--mono); font-size: 12px; }

.login { max-width: 360px; margin: 14vh auto; }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -2px; }
@keyframes sp { to { transform: rotate(360deg); } }
.loading { opacity: .55; transition: opacity .15s; }

/* ---------- v2: menu, modals, schakelaars, manage-pagina's ---------- */
.nav-grp { margin-top: 2px; }
.nav-h { width: 100%; display: flex; justify-content: space-between; align-items: center; border: 0; background: transparent; padding: 7px 10px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--ink); }
.nav-h:hover { background: var(--surface-2); }
.nav-h .chev { color: var(--ink-3); transition: transform .15s; transform: rotate(-90deg); }
.nav-grp.open .nav-h .chev { transform: none; }
.nav-items { display: none; margin: 2px 0 6px 14px; border-left: 1px solid var(--line); padding-left: 4px; }
.nav-grp.open .nav-items { display: block; }
.nav > a { font-weight: 600; color: var(--ink); }
.side-site a.small { display: inline-block; margin-top: 6px; }
.theme-seg { margin-top: 12px; width: 100%; box-shadow: none; }
.theme-seg button { flex: 1; padding: 4px 2px; font-size: 11.5px; white-space: nowrap; }

.lbl { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.w { width: 100%; }
.search { min-width: 200px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--line); display: inline-grid; place-items: center; font-weight: 700; color: var(--ink-2); font-size: 13px; }
.tagx { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 12px; color: var(--ink-2); }
.tagx button { border: 0; background: transparent; cursor: pointer; color: var(--ink-3); padding: 0; }
pre.snippet { overflow-x: auto; white-space: pre; }

.switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--line-strong); border-radius: 22px; cursor: pointer; transition: background .15s; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--good); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:disabled + span { opacity: .5; cursor: not-allowed; }

.modal-bg { position: fixed; inset: 0; z-index: 150; background: rgba(15, 19, 32, .45); display: grid; place-items: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 14px; width: min(640px, 100%); max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-h h3 { margin: 0; font-size: 17px; }
.modal-h .x { border: 0; background: transparent; font-size: 16px; cursor: pointer; color: var(--ink-3); }
.modal-b { padding: 16px 18px; overflow-y: auto; }
.modal-f { padding: 12px 18px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }

.ft-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); cursor: pointer; }
.ft-row:hover { background: var(--surface-2); }
.ft-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 17px; flex: none; }

.ts-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: center; padding: 8px 0; }
.ts-row label { font-weight: 650; }
.ts-sel { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; padding: 6px 8px; min-height: 40px; }
.ts-add { border: 0; background: transparent; color: var(--ink-3); flex: 1; min-width: 80px; outline: none; }
.ts-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 4px 0 10px; font-size: 13.5px; }

.comp-ctrl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- Quick scan + setup checklist ---------- */
.qs-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.qs-tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.qs-tile small { display: block; color: var(--ink-3); font-size: 11.5px; }
.qs-tile b { font-size: 15px; }
.setup-btn { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: var(--ink); color: var(--surface); border: 0; border-radius: 12px; padding: 12px 18px; font-weight: 650; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.setup-pop { position: fixed; right: 20px; bottom: 76px; z-index: 95; width: 320px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 12px 32px rgba(20,28,50,.2); padding-bottom: 8px; }
.setup-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 8px; }
.setup-item { display: block; padding: 7px 14px; color: var(--ink); font-size: 13.5px; }
.setup-item:hover { background: var(--surface-2); }

/* CWV per template */
.vt-row { display: flex; align-items: center; gap: 12px; padding: 7px 4px; border-radius: 8px; cursor: pointer; }
.vt-row:hover { background: var(--surface-2); }
.vt-name { width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.vt-bar { flex: 1; position: relative; height: 10px; background: var(--line); border-radius: 5px; }
.vt-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--neutral); }
.vt-bar span.good { background: var(--good); } .vt-bar span.moderate { background: var(--mod); } .vt-bar span.poor { background: var(--poor); }
.vt-bar i { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--ink-3); opacity: .6; }
/* status-pills health checks */
.pill.warn { background: var(--mod-soft); color: var(--mod); }
.tabs-line { display: flex; gap: 6px; flex-wrap: wrap; }

/* Conversions-grafiek */
.cv-chart { display: flex; align-items: flex-end; gap: 6px; min-height: 260px; overflow-x: auto; padding-top: 10px; }
.cv-col { flex: 1; min-width: 46px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; cursor: default; }
.cv-val { font-size: 11.5px; font-weight: 650; margin-bottom: 4px; white-space: nowrap; }
.cv-bar { width: 70%; border-radius: 5px 5px 0 0; background: var(--accent); }
.cv-bar.good { background: var(--good); } .cv-bar.moderate { background: var(--mod); } .cv-bar.poor { background: var(--poor); }
.cv-s { width: 70%; background: var(--line-strong); margin-top: 3px; border-radius: 0 0 4px 4px; opacity: .7; }
.cv-lbl { font-size: 11px; color: var(--ink-3); margin-top: 6px; white-space: nowrap; }
/* Realtime */
.live-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--good); margin-right: 10px; vertical-align: middle; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 60%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
/* Waterfall */
.wf { position: relative; }
.wf-row { display: flex; align-items: center; height: 22px; font-size: 12px; }
.wf-row:hover { background: var(--surface-2); }
.wf-name { width: 260px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; padding-right: 10px; }
.wf-track { position: relative; flex: 1; height: 10px; }
.wf-bar { position: absolute; top: 0; height: 10px; border-radius: 3px; background: var(--s1); }
.wf-bar.t-script { background: var(--s4); } .wf-bar.t-img { background: var(--s6); } .wf-bar.t-link, .wf-bar.t-css { background: var(--s2); } .wf-bar.t-fetch, .wf-bar.t-xmlhttprequest { background: var(--s3); }
.wf-bar.rb { outline: 2px solid var(--poor); outline-offset: 0; }
.wf-mark { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px dashed var(--good); z-index: 2; }
.wf-mark.lcp { border-left-color: var(--accent); }

/* Merk: Insightr */
.brand { gap: 10px; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 4px 14px rgba(91, 108, 255, .35); flex: none; }
.brand-word { font-weight: 750; font-size: 18px; letter-spacing: -.02em; color: var(--ink); }
.brand-word span { background: linear-gradient(135deg, #8B5CF6, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* accounts */
.me-box { display: flex; align-items: center; gap: 10px; padding: 8px 0 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.me-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.me-act { margin-left: auto; display: flex; gap: 8px; }
.me-act a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.me-act a:hover { color: var(--accent); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 9999; background: var(--ink); color: var(--card, #fff); padding: 10px 16px; border-radius: 10px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: opacity .4s; }
.toast.out { opacity: 0; }
.copy-row { display: flex; gap: 8px; }
.copy-row .inp { flex: 1; min-width: 0; }
.inp.sm { padding: 3px 6px; font-size: 12px; }
.login .lbl { display: block; }

.adv { margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.adv summary { cursor: pointer; font-weight: 600; font-size: 13px; }

/* ---------- bovenbalk ---------- */
.app { grid-template-rows: 64px 1fr; }
.hdr { grid-column: 1 / -1; position: sticky; top: 0; z-index: 40; display: flex; height: 64px; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-brand { width: 232px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--surface); border-right: 1px solid var(--line); box-sizing: border-box; }
.hdr-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.hdr-sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; height: 40px; min-width: 40px; padding: 0 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; cursor: pointer; font: inherit; font-weight: 600; font-size: 13px; }
.hbtn:hover { border-color: var(--line-strong); background: var(--surface-2); }
#nav-tog { border-color: transparent; background: transparent; }
#nav-tog:hover { background: var(--surface); border-color: var(--line); }
.hsupport { padding: 0 14px; }
.hbadge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--poor); color: #fff; font-size: 10px; font-weight: 700; line-height: 17px; box-sizing: border-box; }
.dom-sw { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px 0 10px; min-width: 0; max-width: 360px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.dom-sw:hover { border-color: var(--line-strong); }
.dom-sw.static { cursor: default; }
.dom-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kbd-pair { display: inline-flex; gap: 3px; margin-left: 18px; }
kbd { font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 3px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; background: var(--surface-2); color: var(--ink-3); }
.dom-sw .caret { color: var(--ink-3); font-size: 11px; }
.fav { width: 22px; height: 22px; border-radius: 5px; flex: none; object-fit: contain; background: var(--surface-2); }
.fav-x { display: inline-block; border: 2px solid var(--line-strong); box-sizing: border-box; background: transparent; border-radius: 6px; }
.hdr-pop { position: fixed; z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(16, 24, 48, .16); overflow: hidden; }
.hdr-pop.sw { width: 320px; }
.sw-search { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.sw-search input { flex: 1; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); }
.sw-list { max-height: 360px; overflow-y: auto; padding: 6px 0; }
.sw-org { padding: 10px 16px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface-2); }
.sw-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 16px; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.sw-item.hl, .sw-item:hover { background: var(--accent-soft); }
.sw-cur { margin-left: auto; color: var(--accent); }
.sw-foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; }
.hdr-pop.nt { width: 380px; }
.nt-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.nt-list { max-height: 420px; overflow-y: auto; }
.nt-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.nt-item:hover { background: var(--surface-2); }
.nt-item.unread { background: var(--accent-soft); }
.nt-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.nt-ic.poor { background: var(--poor-soft); color: var(--poor); } .nt-ic.good { background: var(--good-soft); color: var(--good); }
.nt-ic.moderate { background: var(--mod-soft); color: var(--mod); } .nt-ic.neutral { background: var(--surface-2); color: var(--ink-3); }
.nt-tx { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 13px; }
.nt-t { flex: none; white-space: nowrap; }
.share-url { min-height: 110px; resize: vertical; font-size: 12px; line-height: 1.55; word-break: break-all; background: var(--surface-2); }
.hs-alt { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sup-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sup-card ul { margin: 6px 0 0; padding-left: 18px; }
.sup-card p { margin: 6px 0 10px; }
.side { top: 64px; height: calc(100vh - 64px); }
.top { top: 64px; }
@media (max-width: 900px) {
  .app { grid-template-rows: auto auto 1fr; }
  .hdr-brand { width: auto; padding: 0 14px; border-right: 0; }
  .hdr-brand .brand-word, .kbd-pair, .hsupport span, .hdr-sep { display: none; }
  .hdr-main { padding: 0 12px 0 0; gap: 6px; }
  .side { top: auto; height: auto; }
  .sup-grid { grid-template-columns: 1fr; }
  .hdr-pop.sw, .hdr-pop.nt { width: calc(100vw - 16px); left: 8px !important; right: 8px !important; }
}
/* vaste plek in het grid, zodat de inhoud niet in de lege menukolom valt als het menu is ingeklapt */
.app > .side { grid-column: 1; grid-row: 2; }
.app > .main { grid-column: 2; grid-row: 2; }
@media (max-width: 900px) {
  .app > .side, .app > .main { grid-column: 1 / -1; grid-row: auto; }
}

/* menu-iconen en ingeklapte iconenbalk */
.nav .ni { width: 22px; height: 22px; flex: none; display: inline-grid; place-items: center; }
.nav > a, .nav-h { justify-content: flex-start; }
.nav > a .nl, .nav-h .nl { flex: 1; text-align: left; }
.nav-h { gap: 8px; }
.nav .sub { padding-left: 40px; }
.app.nav-collapsed { grid-template-columns: 68px 1fr; }
.app.nav-collapsed .hdr-brand { width: 68px; padding: 0; justify-content: center; }
.app.nav-collapsed .hdr-brand .brand-word { display: none; }
.app.nav-collapsed .side { padding: 14px 10px; overflow: visible; }
.app.nav-collapsed .nav .nl, .app.nav-collapsed .nav .chev, .app.nav-collapsed .nav-items, .app.nav-collapsed .side-foot, .app.nav-collapsed .nav .note { display: none !important; }
.app.nav-collapsed .nav > a, .app.nav-collapsed .nav-h { justify-content: center; padding: 0; width: 46px; height: 42px; margin: 0 auto 6px; border-radius: 12px; position: relative; }
.app.nav-collapsed .nav-grp.cur > .nav-h, .app.nav-collapsed .nav > a.on { background: var(--accent-soft); }
.app.nav-collapsed .nav .ni { width: 20px; height: 20px; }
.app.nav-collapsed .nav > a .badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid var(--surface); box-sizing: content-box; }
.hdr-pop.rail { width: 220px; padding: 6px; }
.rail-h { padding: 8px 10px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.hdr-pop.rail a { display: flex; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.hdr-pop.rail a:hover { background: var(--surface-2); color: var(--ink); }
.hdr-pop.rail a.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.hdr-pop.rail a.sub { padding-left: 10px; }
@media (max-width: 900px) { .app.nav-collapsed { grid-template-columns: 1fr; } .app.nav-collapsed .side { display: none; } }
/* ---------- iconen: lijniconen, neutraal grijs; actief in de accentkleur (kleur per context via --ic) ---------- */
:root { --brand-1: #8B5CF6; --brand-2: #5B6CFF; --brand-3: #22D3EE; --icon: var(--ink-3); --icon-on: var(--accent); }
.ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; flex: none; background-color: var(--ic, var(--icon)); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.btn.sm .ic { width: 14px; height: 14px; vertical-align: -2px; }
.btn.danger { --ic: var(--poor); } .btn.primary { --ic: var(--surface); }
.x, .chip > button.x, button.x { --ic: var(--ink-3); } .tagx { --ic: var(--ink-3); } .muted .ic { --ic: var(--ink-3); }
.nt-ic .ic, .c-good .ic, .c-poor .ic, .c-moderate .ic { --ic: currentColor; }
.theme-seg button .ic { --ic: var(--ink-3); } .theme-seg button.on .ic { --ic: var(--icon-on); }
.nav .ni { color: var(--icon); } .nav a.on .ni, .nav-grp.cur > .nav-h .ni { color: var(--icon-on); }
.hbtn svg { color: var(--ink); } .sw-search svg { color: var(--ink-3); } .me-act a { --ic: var(--icon); } .me-act a:hover { --ic: var(--icon-on); }
.ft-ic .ic { width: 20px; height: 20px; }
.ic-edit { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h4L19%209a2.1%202.1%200%200%200-4-4L4%2016z%22%2F%3E%3Cpath%20d%3D%22m13.5%206.5%204%204%22%2F%3E%3C%2Fsvg%3E"); }
.ic-trash { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%207h16%22%2F%3E%3Cpath%20d%3D%22M10%2011v6M14%2011v6%22%2F%3E%3Cpath%20d%3D%22M6%207l1%2013h10l1-13%22%2F%3E%3Cpath%20d%3D%22M9%207V4h6v3%22%2F%3E%3C%2Fsvg%3E"); }
.ic-close { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%206l12%2012M18%206%206%2018%22%2F%3E%3C%2Fsvg%3E"); }
.ic-alert { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%202%2020h20z%22%2F%3E%3Cpath%20d%3D%22M12%2010v4M12%2017h.01%22%2F%3E%3C%2Fsvg%3E"); }
.ic-sort { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%209%205-5%205%205M7%2015l5%205%205-5%22%2F%3E%3C%2Fsvg%3E"); }
.ic-copy { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%208V6a2%202%200%200%200-2-2H6a2%202%200%200%200-2%202v8a2%202%200%200%200%202%202h2%22%2F%3E%3C%2Fsvg%3E"); }
.ic-undo { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209h11a5%205%200%200%201%200%2010H8%22%2F%3E%3Cpath%20d%3D%22m8%205-4%204%204%204%22%2F%3E%3C%2Fsvg%3E"); }
.ic-auto { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M12%204v16%22%2F%3E%3Cpath%20d%3D%22M12%204a8%208%200%200%201%200%2016z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E"); }
.ic-sun { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M12%202v2M12%2020v2M4.9%204.9l1.4%201.4M17.7%2017.7l1.4%201.4M2%2012h2M20%2012h2M4.9%2019.1l1.4-1.4M17.7%206.3l1.4-1.4%22%2F%3E%3C%2Fsvg%3E"); }
.ic-moon { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2014.5A8%208%200%201%201%209.5%204a6.5%206.5%200%200%200%2010.5%2010.5z%22%2F%3E%3C%2Fsvg%3E"); }
.ic-flag { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2021V4%22%2F%3E%3Cpath%20d%3D%22M5%204h11l-2%204%202%204H5%22%2F%3E%3C%2Fsvg%3E"); }
.ic-report { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%208h6M9%2012h6M9%2016h4%22%2F%3E%3C%2Fsvg%3E"); }
.ic-check { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012%205%205%209-10%22%2F%3E%3C%2Fsvg%3E"); }
.ic-circle { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%227%22%2F%3E%3C%2Fsvg%3E"); }
.ic-gear { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M12%202v3M12%2019v3M4.9%204.9%207%207M17%2017l2.1%202.1M2%2012h3M19%2012h3M4.9%2019.1%207%2017M17%207l2.1-2.1%22%2F%3E%3C%2Fsvg%3E"); }
.ic-logout { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%204h3a2%202%200%200%201%202%202v12a2%202%200%200%201-2%202h-3%22%2F%3E%3Cpath%20d%3D%22M10%2016l-4-4%204-4M6%2012h10%22%2F%3E%3C%2Fsvg%3E"); }
.ic-star { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.8%205.7%206.2.9-4.5%204.4%201%206.2-5.5-2.9-5.5%202.9%201-6.2L3%209.6l6.2-.9z%22%2F%3E%3C%2Fsvg%3E"); }
.ic-mail { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%207%209%206%209-6%22%2F%3E%3C%2Fsvg%3E"); }
.ic-block { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22m6.5%206.5%2011%2011%22%2F%3E%3C%2Fsvg%3E"); }
.ic-refresh { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2011a8%208%200%200%200-14.5-4.5L4%208%22%2F%3E%3Cpath%20d%3D%22M4%204v4h4%22%2F%3E%3Cpath%20d%3D%22M4%2013a8%208%200%200%200%2014.5%204.5L20%2016%22%2F%3E%3Cpath%20d%3D%22M20%2020v-4h-4%22%2F%3E%3C%2Fsvg%3E"); }
.ic-shield { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v6c0%204.5%203%207.5%207%209%204-1.5%207-4.5%207-9V6z%22%2F%3E%3C%2Fsvg%3E"); }
.ic-file { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6z%22%2F%3E%3Cpath%20d%3D%22M14%203v4h4M9%2012h6M9%2016h6%22%2F%3E%3C%2Fsvg%3E"); }
.ic-user { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021a8%208%200%200%201%2016%200%22%2F%3E%3C%2Fsvg%3E"); }
.ic-browser { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%209h18M7%206.5h.01M10%206.5h.01%22%2F%3E%3C%2Fsvg%3E"); }
.ic-timer { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2213%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M12%209v4l2.5%202M10%202h4%22%2F%3E%3C%2Fsvg%3E"); }
.ic-code { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m8%208-4%204%204%204M16%208l4%204-4%204M14%205l-4%2014%22%2F%3E%3C%2Fsvg%3E"); }
.ic-route { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2218%22%20r%3D%222.5%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M8.5%2018H15a3%203%200%200%200%200-6H9a3%203%200%200%201%200-6h6.5%22%2F%3E%3C%2Fsvg%3E"); }
.ic-flask { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203h6M10%203v6L4.5%2019a1.5%201.5%200%200%200%201.3%202h12.4a1.5%201.5%200%200%200%201.3-2L14%209V3%22%2F%3E%3Cpath%20d%3D%22M7.5%2015h9%22%2F%3E%3C%2Fsvg%3E"); }
.ic-x-circle { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22m9%209%206%206M15%209l-6%206%22%2F%3E%3C%2Fsvg%3E"); }
.ic-grip { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206h.01M15%206h.01M9%2012h.01M15%2012h.01M9%2018h.01M15%2018h.01%22%2F%3E%3C%2Fsvg%3E"); }
.ic-layout { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3%2010h18M9%2010v10%22%2F%3E%3C%2Fsvg%3E"); }
.ic-swap { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%208h14l-3-3M20%2016H6l3%203%22%2F%3E%3C%2Fsvg%3E"); }
.ic-list { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206h11M9%2012h11M9%2018h11%22%2F%3E%3Cpath%20d%3D%22m3.5%206%201%201%202-2M3.5%2012l1%201%202-2M3.5%2018l1%201%202-2%22%2F%3E%3C%2Fsvg%3E"); }

.btn { --ic: currentColor; } .btn.danger { --ic: var(--poor); } .btn.primary { --ic: var(--surface); }

.attrib { margin-top: 10px; text-align: right; font-size: 11px; }
.attrib a { color: var(--ink-3); }
.side-foot:empty { display: none; }

/* ---------- animaties ---------- */
@keyframes ringIn { from { stroke-dashoffset: var(--circ); } }
@keyframes lnDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes barUp { from { transform: scaleY(0); } }
@keyframes barX { from { transform: scaleX(0); } }
.ring-arc { animation: ringIn 1s cubic-bezier(.22, .9, .3, 1) both; }
.anim path.ln { stroke-dasharray: 1; animation: lnDraw 1s ease-out both; }
.anim path.ar, .anim path.ln-fade { animation: fadeIn .9s ease-out both; }
.anim rect.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: barUp .6s cubic-bezier(.22, .9, .3, 1) both; }
.distbar { transform-origin: left center; animation: barX .7s cubic-bezier(.22, .9, .3, 1) both; }
.card { animation: fadeIn .35s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  .ring-arc, .anim path.ln, .anim path.ar, .anim path.ln-fade, .anim rect.bar, .distbar, .card { animation: none !important; }
}.hdr-brand { text-decoration: none; color: inherit; }
.ic-phone { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%227%22%20y%3D%222.5%22%20width%3D%2210%22%20height%3D%2219%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M11%2018.5h2%22%2F%3E%3C%2Fsvg%3E"); }
.ic-monitor { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2020h8M12%2016v4%22%2F%3E%3C%2Fsvg%3E"); }
.ic-tablet { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%222.5%22%20width%3D%2214%22%20height%3D%2219%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M11%2018.5h2%22%2F%3E%3C%2Fsvg%3E"); }
.ic-arrow-right { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2012h14M13%206l6%206-6%206%22%2F%3E%3C%2Fsvg%3E"); }
.ic-chevron { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22%2F%3E%3C%2Fsvg%3E"); }
.ic-clock { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M12%208v4l2.5%202%22%2F%3E%3C%2Fsvg%3E"); }
.ic-calendar { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223.5%22%20y%3D%225%22%20width%3D%2217%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M3.5%2010h17M8%203v4M16%203v4%22%2F%3E%3C%2Fsvg%3E"); }

/* ---------- Health check ---------- */
.pill.moderate { background: var(--mod-soft); color: var(--mod); }
.hc { display: grid; gap: 16px; }
.hc-hero { display: grid; grid-template-columns: minmax(320px, 1.1fr) 2fr; gap: 16px; }
.hc-score { display: flex; align-items: center; gap: 22px; padding: 20px 24px; }
.hc-ring { flex: none; }
.hc-ring text { font-size: 30px !important; letter-spacing: -.02em; }
.hc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hc-title { font-size: 22px; line-height: 1.2; margin: 4px 0 0; letter-spacing: -.01em; }
.hc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hc-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 18px; text-align: left; cursor: pointer; font: inherit; color: inherit; border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .15s, transform .15s; }
.hc-tile::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--line-strong); }
.hc-tile.tone-poor::before { background: var(--poor); } .hc-tile.tone-moderate::before { background: var(--mod); } .hc-tile.tone-good::before { background: var(--good); }
.hc-tile:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.hc-tile.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hc-tile-l { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.hc-tile-n { font-size: 30px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; padding: 0 16px 16px; }
.hc-check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); text-align: left; transition: background .15s, border-color .15s; }
.hc-check:hover { background: var(--surface-2); }
.hc-check.on { border-color: var(--accent); background: var(--accent-soft); }
.hc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--good); box-shadow: 0 0 0 3px var(--good-soft); }
.st-poor .hc-dot { background: var(--poor); box-shadow: 0 0 0 3px var(--poor-soft); } .st-moderate .hc-dot { background: var(--mod); box-shadow: 0 0 0 3px var(--mod-soft); }
.hc-check-t { flex: 1; min-width: 0; font-size: 13px; font-weight: 550; display: flex; align-items: center; gap: 8px; }
.hc-check-s { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.st-poor .hc-check-s { color: var(--poor); } .st-good .hc-check-s { --ic: var(--good); }
.mtag { display: inline-block; font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; padding: 4px 6px; border-radius: 5px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); flex: none; }
.hc-list { display: grid; gap: 12px; }
.hc-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg-n { display: inline-block; min-width: 18px; padding: 1px 5px; margin-left: 4px; border-radius: 9px; background: var(--surface-2); font-size: 11px; font-weight: 700; color: var(--ink-3); }
.seg button.on .seg-n { background: color-mix(in srgb, var(--surface) 22%, transparent); color: inherit; }
.hc-filter { color: var(--ink-2); }
.hc-find { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 16px 18px 16px 22px; position: relative; overflow: hidden; }
.hc-find::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--line-strong); }
.hc-find.sev-hi::before { background: var(--poor); } .hc-find.sev-mid::before { background: var(--mod); } .hc-find.sev-lo::before { background: #94a3b8; } .hc-find.sev-na::before { background: var(--good); }
.hc-find-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sevtag { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; background: var(--surface-2); color: var(--ink-2); }
.sev-hi .sevtag { background: var(--poor-soft); color: var(--poor); } .sev-mid .sevtag { background: var(--mod-soft); color: var(--mod); }
.hc-age { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
.hc-find-t { margin: 10px 0 4px; font-size: 16px; letter-spacing: -.01em; }
.hc-subject code { font-size: 12px; background: var(--surface-2); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); word-break: break-all; }
.hc-wheres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hc-where { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 550; padding: 4px 9px 4px 7px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: default; }
.hc-impact { height: 4px; border-radius: 4px; background: var(--surface-2); margin-top: 12px; max-width: 420px; overflow: hidden; }
.hc-impact span { display: block; height: 100%; border-radius: 4px; background: var(--poor); transform-origin: left; animation: barX .8s cubic-bezier(.22, .9, .3, 1) both; }
.sev-mid .hc-impact span { background: var(--mod); } .sev-lo .hc-impact span { background: #94a3b8; }
.hc-verify { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.hc-verify-bar { width: 200px; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.hc-verify-bar span { display: block; height: 100%; background: var(--mod); border-radius: 6px; transform-origin: left; animation: barX .8s ease-out both; }
.hc-more { display: none; margin-top: 12px; }
.hc-find.open .hc-more { display: block; animation: fadeIn .25s ease-out both; }
.hc-fix { display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 13px; margin: 10px 0; }
.hc-fix b { flex: none; }
.hc-dt { margin: 6px 0 8px; }
.hc-find-act { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 132px; }
.hc-find-act .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.hc-tog .ic { transition: transform .2s; }
.hc-find.open .hc-tog .ic { transform: rotate(180deg); }
.hc-empty { padding: 48px 24px; text-align: center; }
.hc-empty h3 { margin: 14px 0 4px; }
.hc-empty-ic { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); --ic: var(--good); }
.hc-empty-ic .ic { width: 26px; height: 26px; }
@media (max-width: 1180px) { .hc-hero { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hc-find { grid-template-columns: 1fr; } .hc-find-act { flex-direction: row; flex-wrap: wrap; } .hc-score { flex-direction: column; text-align: center; } }.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }
.hc-find.st-fixed_pending::before { background: var(--mod); } .hc-find.st-resolved::before { background: var(--line-strong); }
@media (max-width: 900px) {
  .app, .app.nav-collapsed { grid-template-columns: minmax(0, 1fr); }
  .app > * { min-width: 0; }
  .dom-sw { min-width: 0; flex: 1 1 auto; }
  .hdr-main { min-width: 0; }
  .hc-score { padding: 18px; }
}
