@font-face {
  font-family: 'Google Sans';
  src: url('fonts/google-sans-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/google-sans-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/google-sans-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/google-sans-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --font-ui: "Google Sans", Arial, sans-serif;
  color-scheme: light;
  --bg: #eceef1;
  --surface: #f8f9fa;
  --surface-subtle: #f3f4f6;
  --surface-raised: #ffffff;
  --control-hover: #fafaff;
  --ink: #171923;
  --muted: #646477;
  --rule: #dfe1e6;
  --link: #6842c2;
  --primary: #ffffff;
  --primary-hover: #fafaff;
  --on-primary: #6842c2;
  --primary-soft: #f0eafa;
  --accent: #7950b9;
  --hero-glow: #eadfff;
  --hero-cool: #e1edff;
  --hero-gradient-start: #265fc7;
  --hero-gradient-middle: #6740c4;
  --hero-gradient-end: #a32f88;
  --fail: #b52f48;
  --fail-soft: #ffedf0;
  --pass: #207447;
  --pass-fill: #22b35c;
  --pass-soft: #e9f6ed;
  --flaky: #865a0a;
  --flaky-soft: #fff4db;
  --info: #245f9f;
  --info-soft: #eaf3ff;
  --radius-control: 12px;
  --radius-card: 20px;
  --shadow: none;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141414;
  --surface: #222222;
  --surface-subtle: #2a2a2a;
  --surface-raised: #383838;
  --control-hover: #454545;
  --ink: #f0eff7;
  --muted: #b1b0c4;
  --rule: #414141;
  --link: #bea1ff;
  --primary: #383838;
  --primary-hover: #454545;
  --on-primary: #d2bdff;
  --primary-soft: #302543;
  --accent: #c0a1ec;
  --hero-glow: #352348;
  --hero-cool: #1b304c;
  --hero-gradient-start: #89b5ff;
  --hero-gradient-middle: #bda0ff;
  --hero-gradient-end: #f299db;
  --fail: #ff8fa5;
  --fail-soft: #3d2330;
  --pass: #7bdfa0;
  --pass-fill: #36bb70;
  --pass-soft: #19382a;
  --flaky: #efc66f;
  --flaky-soft: #3b301c;
  --info: #91bfff;
  --info-soft: #21324b;
  --shadow: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: .9375rem; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.shell { width: 100%; min-height: 100vh; padding: 0 clamp(1rem, 3vw, 3rem); background: var(--bg); }
a { color: var(--link); text-underline-offset: .22em; }
button, select, input, textarea { font: inherit; }
button, select, .button { min-height: 44px; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem 1.1rem; border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface-raised); color: var(--ink); font-weight: 500; text-decoration: none; cursor: pointer; box-shadow: var(--shadow); }
.primary { background: var(--primary); color: var(--on-primary); border-color: var(--rule); font-weight: 600; box-shadow: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
main:focus { outline: none; }
button:disabled, select:disabled { opacity: .55; cursor: not-allowed; }
.header, nav, .footer, .section-heading, .filters, .legend, .summary { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.header { display: grid; grid-template-columns: 1fr auto auto; min-height: 88px; padding: 1.25rem 0; }
.theme-toggle { display: grid; grid-template-columns: repeat(2, 32px); gap: 4px; width: 80px; height: 44px; padding: 5px; border: 1px solid #d2d2d2; border-radius: 999px; background: linear-gradient(135deg, #dedede, #f7f7f7); color: #252525; box-shadow: inset 0 1px 3px rgb(0 0 0 / 10%); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-sun { grid-area: 1 / 1; justify-self: center; }
.theme-moon { grid-area: 1 / 2; justify-self: center; visibility: hidden; }
.theme-thumb { grid-area: 1 / 1; z-index: 1; width: 32px; height: 32px; border: 1px solid #202020; border-radius: 50%; background: linear-gradient(135deg, #414141, #242424); transform: translateX(36px); box-shadow: 0 1px 3px rgb(0 0 0 / 16%); }
:root[data-theme="dark"] .theme-toggle { background: linear-gradient(135deg, #262626, #343434); border-color: #494949; color: #f5f5f5; }
:root[data-theme="dark"] .theme-thumb { background: linear-gradient(135deg, #fff, #e9e9e9); border-color: #dedede; transform: translateX(0); }
:root[data-theme="dark"] .theme-sun { visibility: hidden; }
:root[data-theme="dark"] .theme-moon { visibility: visible; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.35rem; font-weight: 600; letter-spacing: -.04em; text-decoration: none; color: var(--ink); }
.brand-mark { display: block; width: 38px; height: 38px; flex-shrink: 0; }
nav { gap: .5rem; font-size: .875rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem .9rem; border-radius: var(--radius-control); color: var(--muted); text-decoration: none; font-weight: 500; }
nav a[aria-current="page"] { color: var(--link); background: var(--primary-soft); }
nav .primary { margin-left: .75rem; color: var(--on-primary); }
.notice { max-width: none; border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface-subtle); color: var(--muted); padding: .7rem 1rem; margin: .5rem 0 0; font-size: .8125rem; }
.notice strong { color: var(--info); margin-right: .25rem; }
main { min-height: 72vh; padding: 2.5rem 0 3.5rem; }
main > div { min-width: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); letter-spacing: -.04em; margin: 0 0 .75rem; max-width: 30ch; }
h2 { font-size: 1.2rem; letter-spacing: -.02em; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; }
p { max-width: 72ch; overflow-wrap: anywhere; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.intro { margin: 0 0 2rem; color: var(--muted); font-size: 1rem; }
.overview-hero { display: grid; justify-items: center; text-align: center; padding: clamp(2.5rem, 4vw, 4rem) 1rem; margin-bottom: 2rem; border-radius: var(--radius-card); background: radial-gradient(ellipse at 30% 45%, var(--hero-cool), transparent 65%), radial-gradient(ellipse at 70% 50%, var(--hero-glow), transparent 65%), var(--surface); }
.overview-hero .eyebrow { font-weight: 700; letter-spacing: .12em; margin-bottom: 1.25rem; }
.overview-hero h1 { max-width: 25ch; font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.1; text-wrap: balance; }
.overview-hero h1 span { display: block; color: var(--link); }
@supports (background-clip: text) {
  .overview-hero h1 span { background: linear-gradient(110deg, var(--hero-gradient-start), var(--hero-gradient-middle) 52%, var(--hero-gradient-end)); background-clip: text; color: transparent; }
}
@media (forced-colors: active) { .overview-hero h1 span { background: none; color: CanvasText; } }
.overview-hero .intro { margin: 1rem 0 0; max-width: 64ch; font-size: clamp(.9375rem, 1.2vw, 1.0625rem); line-height: 1.7; text-wrap: pretty; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.5rem; background: var(--surface-subtle); border: 1px solid var(--rule); border-radius: var(--radius-card); }
.metric { min-width: 0; padding: 1.25rem 1.5rem; }
.metric + .metric { border-left: 1px solid var(--rule); }
.metric dt { font-size: .8125rem; color: var(--muted); }
.metric dd { margin: .25rem 0 0; font-size: 1.9rem; font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.evidence { border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); padding: 1.5rem; margin-bottom: 2.5rem; box-shadow: var(--shadow); }
.evidence h2 { color: var(--muted); font-size: .8125rem; font-weight: 600; margin-bottom: .5rem; }
.evidence > a { display: inline-block; color: var(--ink); font-size: 1.2rem; font-weight: 500; margin-bottom: .5rem; overflow-wrap: anywhere; text-decoration: none; }
.strip-row { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; margin: 1rem 0; align-items: start; }
.strip-row > span { font-size: .8125rem; color: var(--muted); padding-top: .35rem; font-weight: 600; }
.strip-wrap { min-width: 0; }
.strip { display: flex; gap: 4px; flex-wrap: wrap; padding: 3px 0; }
.cell { width: 14px; height: 28px; border: 1px solid var(--pass); background: var(--pass-fill); border-radius: 3px; display: inline-block; flex-shrink: 0; }
.cell.failed { background: var(--fail); border-color: var(--fail); }
.cell.invalid { border-color: var(--muted); background: repeating-linear-gradient(135deg, var(--surface) 0 3px, var(--rule) 3px 5px); }
.mini .cell { width: 5px; height: 18px; border-radius: 2px; }
.mini { flex-wrap: nowrap; gap: 3px; }
.strip-caption, .meta { font-size: .8125rem; margin: .5rem 0; color: var(--muted); }
.strip-caption { min-height: 1.6em; }
.legend { gap: 1.25rem; font-size: .75rem; color: var(--muted); margin-top: 1.25rem; }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend .cell { width: 8px; height: 14px; }
.section-heading { justify-content: space-between; margin-bottom: 1rem; gap: 1rem; }
.section-heading h2 { margin: 0; font-size: 1.3rem; }
.filters { gap: .75rem; align-items: end; }
label { display: grid; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--muted); min-width: 0; }
select { border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface-raised); color: var(--ink); padding: .6rem 2rem .6rem .8rem; width: 100%; max-width: 18rem; cursor: pointer; box-shadow: var(--shadow); }
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .8125rem; text-align: left; }
.table-scroll table { min-width: 850px; }
th { font-size: .75rem; font-weight: 600; color: var(--muted); background: var(--surface-subtle); }
td, th { padding: 1.1rem 1rem; vertical-align: top; border-bottom: 1px solid var(--rule); }
tbody tr:last-child td { border-bottom: 0; }
td { overflow-wrap: anywhere; }
.report-title { display: block; min-width: 13rem; max-width: 28rem; color: var(--ink); font-size: .875rem; font-weight: 500; text-decoration: none; line-height: 1.5; }
.repo { display: block; margin-top: .35rem; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.badge { display: inline-block; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface-subtle); color: var(--muted); padding: .1rem .5rem; font-size: .6875rem; margin-top: .5rem; }
.verdict { display: inline-flex; align-items: center; border-radius: 999px; padding: .3rem .7rem; font-size: .75rem; line-height: 1.5; font-weight: 500; background: var(--surface-subtle); color: var(--muted); }
.good { color: var(--pass); background: var(--pass-soft); }
.bad { color: var(--fail); background: var(--fail-soft); }
.mixed { color: var(--flaky); background: var(--flaky-soft); }
.info { color: var(--info); background: var(--info-soft); }
.summary { margin: .9rem 0 0; font-size: .75rem; color: var(--muted); }
.footer { border-top: 1px solid var(--rule); padding: 1.5rem 0; justify-content: space-between; font-size: .75rem; color: var(--muted); }
.detail-section { border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); padding: 1.5rem; margin-top: 1.25rem; }
.detail-section > :last-child { margin-bottom: 0; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 1rem; font-size: .875rem; }
.guide-hero h1 { max-width: 22ch; }
.guide-hero .intro { max-width: 56ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0 0 2rem; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto 1fr auto; gap: 1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-column: 2; grid-row: 1; align-self: center; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.step-icon { grid-row: 1; grid-column: 1; width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--primary-soft); color: var(--link); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.steps li:nth-child(2) .step-icon { background: var(--info-soft); color: var(--info); }
.steps li:nth-child(3) .step-icon { background: var(--flaky-soft); color: var(--flaky); }
.steps li:nth-child(4) .step-icon { background: var(--pass-soft); color: var(--pass); }
.steps h2 { grid-column: 1 / -1; margin: .25rem 0 0; }
.steps p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .875rem; }
.step-outcome { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .75rem; font-weight: 500; }
.guide-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.25rem, 3vw, 3rem); border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface-subtle); }
.guide-explanation h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); max-width: 24ch; }
.guide-explanation > p:not(.eyebrow) { color: var(--muted); }
.guide-explanation .button { margin-top: .5rem; }
.guide-example { min-width: 0; padding: 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius-control); background: var(--surface-raised); box-shadow: var(--shadow); }
.guide-example h3 { margin: 0; }
.guide-example .strip-caption { font-size: .75rem; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding: 2.5rem 0 0; }
.guide-cta h2 { margin-bottom: .5rem; }
.guide-cta p { margin: .25rem 0; color: var(--muted); }
.guide-cta .button { flex-shrink: 0; }
.timeline { padding-left: 1.25rem; }
.timeline li { margin-bottom: 1rem; padding-left: .5rem; overflow-wrap: anywhere; }
.timeline li::marker { color: var(--accent); }
.empty, .feedback { padding: 2rem; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); }
.empty p { color: var(--muted); }
.feedback .back { margin: 0 0 0 1rem; }
.loading { padding: 2rem; color: var(--muted); border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { display: block; padding: 1rem; }
@media (max-width: 900px) { .shell { padding: 0 1.5rem; } .metric { padding: 1rem; } .section-heading { align-items: end; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide-evidence { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .shell { padding: 0 1rem; }
  .overview-hero { padding: 1.75rem 0 2rem; }
  .steps { grid-template-columns: 1fr; }
  .guide-cta .button { width: 100%; }
  .header { grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; }
  .theme-toggle { grid-column: 2; grid-row: 1; }
  .header nav { grid-column: 1 / -1; grid-row: 2; }
  nav { width: 100%; justify-content: space-between; gap: .25rem; }
  nav a { padding: .6rem; font-size: .8125rem; }
  nav .primary { margin-left: 0; }
  main { padding-top: 1.75rem; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .metric dd { font-size: 1.6rem; }
  .filters { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters button { grid-column: 1 / -1; }
  .evidence, .detail-section { padding: 1.15rem; }
  .strip-row { grid-template-columns: 1fr; gap: .25rem; }
  .footer { gap: .5rem; }
}
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration: underline; }
  .button:hover, nav a:hover, .brand:hover { text-decoration: none; }
  .report-title:hover, .evidence > a:hover { color: var(--link); }
  nav a:not(.primary):hover { background: var(--surface); }
  button:not(.theme-toggle):hover, .button:not(.primary):hover, select:hover { background: var(--control-hover); border-color: var(--muted); }
  .theme-toggle:hover { border-color: var(--muted); }
  .primary:hover { background: var(--primary-hover); border-color: var(--link); color: var(--on-primary); text-decoration: none; }
  tbody tr:hover { background: var(--surface-subtle); }
  select:hover { border-color: var(--muted); }
}
button:active, .button:active { filter: brightness(.95); }
@media (prefers-reduced-motion: no-preference) { a, button, select { transition: background-color 140ms ease, border-color 140ms ease; } }
@media (prefers-reduced-motion: no-preference) { .theme-thumb { transition: transform 180ms ease; } }
