/* Kiro Service status page: shared styles. Layout from the chosen mockup (variant C);
   visual design from the Kiro Dashboard (app/src/app/globals.css theme tokens, Inter,
   the header and card patterns). Light and dark via theme variables, like the dashboard.
   Contrast of every text and fill pair: status/check_contrast.py. */

@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Dark is the default, like the dashboard (app/src/lib/theme.ts DEFAULT_THEME_PREFERENCE,
   dark tokens on :root in globals.css). Light only via the toggle or ?theme=light. */
:root,
:root[data-theme='dark'] {
  --bg: hsl(240, 10%, 3.9%);
  --surface: hsl(240, 10%, 6%);
  --surface-2: hsl(240, 4%, 16%);
  --border: hsl(240, 4%, 16%);
  --text: hsl(0, 0%, 98%);
  --muted: hsl(240, 5%, 65%);
  --accent: hsl(264, 80%, 75%);
  --primary: hsl(264, 100%, 64%);
  --accent-soft: hsl(264, 10%, 14%);
  --ok: hsl(160, 60%, 45%);          /* --chart-2 */
  --ok-soft: hsl(150, 40%, 11%);
  --ok-text: hsl(150, 60%, 55%);
  --minor: hsl(45, 90%, 55%);
  --minor-soft: hsl(38, 60%, 14%);
  --minor-text: hsl(38, 92%, 65%);
  --partial: hsl(20, 80%, 55%);
  --partial-soft: hsl(20, 50%, 13%);
  --partial-text: hsl(20, 85%, 66%);
  --major: hsl(0, 80%, 62%);
  --major-soft: hsl(0, 50%, 14%);
  --major-text: hsl(0, 85%, 72%);
  --maint: hsl(200, 70%, 55%);
  --maint-soft: hsl(200, 50%, 13%);
  --maint-text: hsl(200, 80%, 68%);
  --bar-empty: hsl(240, 4%, 18%);
  --lab: hsl(38, 92%, 65%);
  --lab-soft: hsl(38, 60%, 14%);
  --prod: hsl(170, 60%, 55%);
  --prod-soft: hsl(170, 40%, 11%);
  --on-strong: hsl(240, 10%, 3.9%);
  --on-accent: hsl(0, 0%, 100%);
  --stale: hsl(240, 5%, 65%);
  --stale-soft: hsl(240, 4%, 14%);
  --idle: hsl(220, 12%, 58%);
  --idle-soft: hsl(220, 10%, 16%);
  --idle-text: hsl(220, 14%, 72%);
  --shadow: none;
  color-scheme: dark;
  --radius: 0.5rem;
}
/* Light: the dashboard's [data-theme="light"] tokens. */
:root[data-theme='light'] {
  --bg: hsl(240, 20%, 98.5%);          /* --background */
  --surface: hsl(0, 0%, 100%);         /* --card */
  --surface-2: hsl(240, 6%, 94%);      /* --muted */
  --border: hsl(240, 6%, 88%);         /* --border */
  --text: hsl(240, 10%, 9%);           /* --foreground */
  --muted: hsl(240, 5%, 36%);          /* --muted-foreground */
  --accent: hsl(264, 75%, 48%);        /* --primary-text */
  --primary: hsl(264, 85%, 55%);       /* --primary */
  --accent-soft: hsl(264, 60%, 96%);   /* --accent */
  --ok: hsl(160, 75%, 30%);            /* --chart-2 */
  --ok-soft: hsl(150, 60%, 95%);
  --ok-text: hsl(150, 70%, 28%);       /* --ok-text */
  --minor: hsl(36, 95%, 38%);          /* --chart-3 */
  --minor-soft: hsl(45, 100%, 94%);    /* --warn-soft */
  --minor-text: hsl(30, 90%, 30%);     /* --warn-text */
  --partial: hsl(20, 85%, 42%);        /* --chart-6 */
  --partial-soft: hsl(20, 90%, 95%);
  --partial-text: hsl(20, 85%, 34%);
  --major: hsl(0, 72%, 45%);           /* --destructive */
  --major-soft: hsl(0, 80%, 96%);
  --major-text: hsl(0, 72%, 40%);
  --maint: hsl(200, 80%, 38%);         /* --chart-5 */
  --maint-soft: hsl(200, 80%, 95%);
  --maint-text: hsl(200, 80%, 30%);
  --bar-empty: hsl(240, 6%, 91%);      /* --chart-grid */
  --lab: hsl(30, 90%, 30%);            /* --warn-text */
  --lab-soft: hsl(45, 100%, 94%);      /* --warn-soft */
  --prod: hsl(170, 75%, 24%);
  --prod-soft: hsl(170, 50%, 93%);
  --on-strong: hsl(0, 0%, 100%);
  --on-accent: hsl(0, 0%, 100%);
  --stale: hsl(240, 5%, 36%);          /* --muted-foreground */
  --stale-soft: hsl(240, 6%, 94%);     /* --muted */
  --idle: hsl(220, 15%, 45%);
  --idle-soft: hsl(240, 6%, 92%);
  --idle-text: hsl(220, 15%, 35%);
  --radius: 0.5rem;
  --shadow: none;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.icon { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex: none; }

body[data-env='lab'] { --env: var(--lab); --env-soft: var(--lab-soft); }
body[data-env='prod'] { --env: var(--prod); --env-soft: var(--prod-soft); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--border); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; color: var(--text); }
.brand .logo { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.env-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--env); background: var(--env-soft); border: 1px solid var(--env); }
.spacer { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.seg a { padding: 5px 12px; font-size: 13px; color: var(--muted); font-weight: 600; }
.seg a.on { background: var(--surface); color: var(--text); box-shadow: inset 0 -2px 0 var(--env); }
.seg a:hover { text-decoration: none; color: var(--text); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; }
.host { font-size: 12px; color: var(--muted); }

.sample { background: repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 10px, var(--surface) 10px, var(--surface) 20px); border-bottom: 1px dashed var(--border); font-size: 12.5px; color: var(--muted); }
.sample .wrap { padding-top: 6px; padding-bottom: 6px; }
.env-note { background: var(--env-soft); color: var(--text); border: 1px solid var(--env); border-radius: 10px; padding: 10px 14px; margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.env-note .icon { color: var(--env); margin-top: 2px; }

main { padding: 20px 0 40px; }
section { margin-top: 24px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }

.overall { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid; margin-top: 16px; }
.overall .big { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-strong); flex: none; }
.overall .big .icon { width: 22px; height: 22px; }
.overall h1 { margin: 0; font-size: 19px; line-height: 1.3; }
.overall p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }
/* Status classes use the Statuspage v2 component enums. Circles use the text tokens (3:1 for the icon). */
.overall.s-operational { background: var(--ok-soft); border-color: var(--ok); } .overall.s-operational .big { background: var(--ok-text); }
.overall.s-degraded_performance { background: var(--minor-soft); border-color: var(--minor); } .overall.s-degraded_performance .big { background: var(--minor-text); }
.overall.s-partial_outage { background: var(--partial-soft); border-color: var(--partial); } .overall.s-partial_outage .big { background: var(--partial-text); }
.overall.s-major_outage { background: var(--major-soft); border-color: var(--major); } .overall.s-major_outage .big { background: var(--major-text); }
.overall.s-under_maintenance { background: var(--maint-soft); border-color: var(--maint); } .overall.s-under_maintenance .big { background: var(--maint-text); }
/* Dead-man state: status.json older than three check intervals. Never shows green. */
.overall.s-stale { background: var(--stale-soft); border-color: var(--stale); border-style: dashed; } .overall.s-stale .big { background: var(--stale); color: var(--surface); }
/* Dead-man rule (ADR 0015): current state unknown, so no status color. History bars stay; today's bar turns neutral. */
body.is-stale main .dot[class*="s-"]:not(.legend .dot) { background: var(--stale-soft); box-shadow: inset 0 0 0 2px var(--stale); }
body.is-stale main .st[class*="s-"] { color: var(--stale); }
body.is-stale main .tile[class*="s-"] { border-top-color: var(--stale); border-top-style: dashed; }
body.is-stale main .bars i:last-child { background: var(--stale-soft); box-shadow: inset 0 0 0 1px var(--stale); }

.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }
.dot.s-operational { background: var(--ok); }
.dot.s-degraded_performance { background: var(--minor); }
.dot.s-partial_outage { background: var(--partial); }
.dot.s-major_outage { background: var(--major); }
.dot.s-under_maintenance { background: var(--maint); }
.dot.s-no_activity { background: var(--idle); }
.st { font-size: 13px; font-weight: 600; white-space: nowrap; }
.st.s-operational { color: var(--ok-text); }
.st.s-degraded_performance { color: var(--minor-text); }
.st.s-partial_outage { color: var(--partial-text); }
.st.s-major_outage { color: var(--major-text); }
.st.s-under_maintenance { color: var(--maint-text); }
.st.s-no_activity { color: var(--idle-text); display: inline-flex; align-items: center; gap: 4px; }
.st .icon { width: 14px; height: 14px; }
.child .cnote { display: block; font-size: 12px; color: var(--muted); }

.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); background: var(--surface-2); white-space: nowrap; }
.pill.upstream { color: var(--maint-text); border-color: var(--maint); background: var(--maint-soft); }
.pill.service { color: var(--accent); border-color: var(--accent); background: transparent; }
.pill.ph-investigating { color: var(--major-text); border-color: var(--major); background: var(--major-soft); }
.pill.ph-identified { color: var(--partial-text); border-color: var(--partial); background: var(--partial-soft); }
.pill.ph-monitoring { color: var(--minor-text); border-color: var(--minor); background: var(--minor-soft); }
.pill.ph-resolved { color: var(--ok-text); border-color: var(--ok); background: var(--ok-soft); }
.pill.ph-scheduled, .pill.ph-in_progress { color: var(--maint-text); border-color: var(--maint); background: var(--maint-soft); }

/* Keyboard focus (N2) */
a:focus-visible, button:focus-visible, .chip:focus-visible, .input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.show-sm { display: none; }
.bars-sum { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* 90-day bars */
.bars { display: flex; gap: 2px; height: 28px; align-items: stretch; margin-top: 8px; }
.bars i { flex: 1; border-radius: 2px; background: var(--ok); min-width: 1px; }
.bars i.l1 { background: var(--minor); }
.bars i.l2 { background: var(--partial); }
.bars i.l3 { background: var(--major); }
.bars i.l4 { background: var(--maint); }
/* No activity: neutral striped slate, distinct from the stale today bar (soft fill with a ring). */
.bars i.l5 { background: repeating-linear-gradient(135deg, var(--idle) 0 2px, var(--idle-soft) 2px 4px); }
.bars.slim { height: 16px; gap: 1px; }
.bars-legend { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-top: 4px; gap: 8px; }
@media (max-width: 520px) { .bars.full i:nth-child(-n+60) { display: none; } .bars-legend .d90 { display: none; } .bars-legend .d30 { display: inline !important; } }
.bars-legend .d30 { display: none; }

/* list rows */
.list .row { padding: 14px 16px; border-top: 1px solid var(--border); }
.list .row:first-child { border-top: 0; }
.row-head { display: flex; align-items: center; gap: 10px; }
.row-head .name { font-weight: 600; flex: 1; min-width: 0; }
.row-head .name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.toggle { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; display: inline-grid; place-items: center; }
.toggle:hover { background: var(--surface-2); color: var(--text); }
.children { margin: 10px 0 0 20px; border-left: 2px solid var(--border); padding-left: 12px; display: grid; gap: 6px; }
.child { display: flex; align-items: center; gap: 8px; font-size: 13.5px; flex-wrap: wrap; }
.child .cname { flex: 1; min-width: 140px; }
.metrics { display: flex; gap: 12px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.metrics b { color: var(--text); font-weight: 600; }
.uptime { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* model table */
table.models { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
table.models th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--border); }
table.models td { padding: 9px 10px; border-bottom: 1px solid var(--border); }
table.models tr:last-child td { border-bottom: 0; }
table.models .num { text-align: right; white-space: nowrap; }
table.models .mstatus { display: block; margin: 2px 0 0 18px; }
table.models .mstatus .st { font-size: 12px; }
table.models .mcount { display: block; font-size: 12px; color: var(--muted); }
.hot { color: var(--partial-text); font-weight: 700; }

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tile { padding: 14px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; color: var(--text); border-top: 4px solid var(--ok); }
.tile:hover { text-decoration: none; border-color: var(--accent); }
.tile.s-degraded_performance { border-top-color: var(--minor); }
.tile.s-partial_outage { border-top-color: var(--partial); }
.tile.s-major_outage { border-top-color: var(--major); }
.tile.s-under_maintenance { border-top-color: var(--maint); }
.tile.s-no_activity { border-top-color: var(--idle); }
.tile.sel { outline: 2px solid var(--accent); outline-offset: -1px; }
.tile .t { font-weight: 650; display: flex; align-items: center; gap: 8px; }
.tile .d { color: var(--muted); font-size: 12.5px; min-height: 2.4em; }
.detail { padding: 16px; margin-top: 12px; }
.detail h3 { margin: 0 0 4px; font-size: 17px; display: flex; gap: 10px; align-items: center; }

/* incidents */
.inc { padding: 16px; }
.inc + .inc { border-top: 1px solid var(--border); }
.inc-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.inc-head .title { font-weight: 650; font-size: 15.5px; flex-basis: 100%; color: var(--text); }
.inc-meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.timeline { list-style: none; margin: 12px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--border); display: grid; gap: 12px; }
.timeline li { position: relative; }
.timeline li::before { content: ''; position: absolute; left: -22px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--muted); }
.timeline li.ph-investigating::before { border-color: var(--major); }
.timeline li.ph-identified::before { border-color: var(--partial); }
.timeline li.ph-monitoring::before { border-color: var(--minor); }
.timeline li.ph-resolved::before { border-color: var(--ok); background: var(--ok); }
.timeline .when { font-size: 12px; color: var(--muted); }
.timeline .what { font-size: 14px; }
.cause-box { margin-top: 10px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.cause-box .icon { margin-top: 2px; }
.empty { padding: 16px; color: var(--muted); font-size: 14px; }

.phase-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 12px; }
.phase-track span { font-size: 11px; text-align: center; padding-top: 6px; border-top: 4px solid var(--bar-empty); color: var(--muted); font-weight: 600; }
.phase-track span.done { border-top-color: var(--accent); color: var(--text); }

.mnt { padding: 14px 16px; display: flex; gap: 12px; }
.mnt + .mnt { border-top: 1px solid var(--border); }
.mnt .icon { color: var(--maint); margin-top: 3px; }
.mnt .title { font-weight: 600; }
.mnt .when { font-size: 13px; color: var(--muted); }

.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

footer { border-top: 1px solid var(--border); padding: 20px 0 32px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
footer a { display: inline-flex; align-items: center; gap: 6px; }


.cols { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cols > * { min-width: 0; }
td .show-sm.st { white-space: normal; font-size: 12px; }
@media (min-width: 860px) { .cols.c-incident { grid-template-columns: 1.35fr 1fr; } }
.compact-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--border); font-size: 14px; }
.compact-row:first-child { border-top: 0; }
.compact-row .name { flex: 1; font-weight: 600; }

@media (max-width: 520px) {
  body { font-size: 14.5px; }
  .overall h1 { font-size: 17px; }
  .metrics { gap: 8px; }
  .hide-sm { display: none; }
  table.models th.hide-sm, table.models td.hide-sm { display: none; }
  .show-sm { display: block; }
}

/* Kiro Dashboard frame for the signed-in screens D, E, F */
.dash { margin-top: 16px; overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.dash-top .logo { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; }
.dash-top .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.dash-body { padding: 16px 14px; }
.dash-body > section:first-child { margin-top: 0; }

/* Real site additions: not measured (own read failed or check not built yet), days without data, loading and error. */
.dot.s-not_measured { background: var(--stale-soft); box-shadow: inset 0 0 0 2px var(--stale); }
.st.s-not_measured { color: var(--stale); }
.overall.s-not_measured { background: var(--stale-soft); border-color: var(--stale); } .overall.s-not_measured .big { background: var(--stale); color: var(--surface); }
.bars i.lnone { background: var(--bar-empty); }
.load-error { margin-top: 16px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 8px; top: 8px; z-index: 10; background: var(--surface); padding: 6px 10px; border-radius: 6px; }
.models-wrap { margin-top: 10px; overflow-x: auto; }
.mt6 { margin-top: 6px; } .mt10 { margin-top: 10px; } .mt12 { margin-top: 12px; }
.row-link { color: inherit; text-decoration: none; }
.details-pad { padding: 0 14px 12px; }
.overall.s-no_known_issues { background: var(--stale-soft); border-color: var(--stale); } .overall.s-no_known_issues .big { background: var(--stale); color: var(--surface); }

/* ── Dashboard design (nav-bar.tsx header, ui/card.tsx, ui/badge.tsx, ui/button.tsx) ── */
body { font: 14px/1.5 Inter, 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.wrap { max-width: 1280px; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
@media (min-width: 1024px) { .wrap { padding: 0 32px; } }
/* Header: sticky, background color, 50% border, 57 px, ghost icon 22 px + bold name. */
header.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
header.top .wrap { min-height: 57px; gap: 20px; padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; }
header.top .wrap > * { flex-shrink: 0; }
.brand { gap: 8px; font-size: 18px; line-height: 28px; font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; border-radius: 4px; }
/* Like the dashboard: icon only on narrow phones, the name stays the link's accessible name. */
@media (max-width: 420px) { .brand .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.brand:hover { text-decoration: none; }
.brand .logo { width: 22px; height: 22px; display: block; flex: none; }
.env-badge { height: 20px; padding: 0 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; border: 1px solid transparent; color: var(--env); background: var(--env-soft); }
.icon-btn { width: 32px; height: 32px; border-radius: calc(var(--radius) * 0.8); border: 1px solid var(--border); background: transparent; color: var(--text); }
.icon-btn:hover { background: var(--surface-2); }
/* The host line sits under the header (not in it), so the header stays one 57 px row. */
.host-line { border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.host-line .wrap { padding-top: 8px; padding-bottom: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
/* Section headings like the dashboard's "Guides": 16 px semibold, no caps. */
h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 12px; }
main { padding: 32px 0 48px; }
/* Cards: rounded-xl with a 10% foreground ring, no shadow. */
.card { border-radius: calc(var(--radius) * 1.4); border: 0; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 10%, transparent); }
.overall { border-radius: calc(var(--radius) * 1.4); margin-top: 0; }
.overall h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; }
.env-note { border-radius: calc(var(--radius) * 1.4); }
/* Badges: rounded-full, 20 px high, 12 px medium. */
.pill { height: 20px; padding: 0 8px; border-radius: 9999px; font-size: 12px; font-weight: 500; }
.compact-row { padding: 12px 16px; }
.compact-row:hover { background: color-mix(in srgb, var(--surface-2) 50%, transparent); }
.inc-head .title { font-weight: 600; font-size: 16px; }
footer { border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
