/* Gosset app pages: account, sign in, payment, report.
   Semantic tokens by role, one set of values per theme. Light is the brand palette;
   dark is a navy-tinted near black with lighter surfaces for depth instead of shadows. */
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-tight-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-tight-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-tight-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --bg: #F4F5F7; --surface: #FFFFFF; --surface-2: #F7F8FA; --surface-3: #EEF0F4;
  --line: #E3E6EC; --line-2: #D3D8E2;
  --text: #0E1116; --text-2: #4A5060; --text-3: #626877;
  --brand: #0A1650; --brand-text: #FFFFFF; --brand-soft: #E8EDFF; --brand-ink: #1B2C86;
  --accent: #C6F432; --accent-text: #0A1650; --accent-soft: #F1FBD0;
  --link: #2B47C4; --focus: #3D5BD9;
  --bad: #C4302B; --bad-soft: #FDECEA; --warn: #9A4A06; --warn-soft: #FFF3E3;
  --done: #0A1650; --done-text: #FFFFFF;
  --hero: radial-gradient(90% 140% at 50% 120%, #4D7DFF 0%, #1A3FC4 30%, #0A1650 62%, #050B2E 100%);
  --shadow: 0 1px 2px rgba(14,17,22,.04), 0 8px 24px rgba(14,17,22,.05);
  --f: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #070B1C; --surface: #0E1430; --surface-2: #131A3A; --surface-3: #1A2247;
    --line: #232C55; --line-2: #2E3866;
    --text: #E6E8F0; --text-2: #AEB5CC; --text-3: #8D95B2;
    --brand: #9FB4FF; --brand-text: #070B1C; --brand-soft: #1A2452; --brand-ink: #C3D0FF;
    --accent: #CFF74F; --accent-text: #0A1650; --accent-soft: #232E1A;
    --link: #A9BCFF; --focus: #8EA6FF;
    --bad: #FF7A72; --bad-soft: #3A1620; --warn: #F5B45E; --warn-soft: #34240F;
    --done: #9FB4FF; --done-text: #070B1C;
    --hero: radial-gradient(90% 140% at 50% 120%, #3A62E0 0%, #1A3FC4 26%, #0C1A5C 58%, #070B1C 100%);
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070B1C; --surface: #0E1430; --surface-2: #131A3A; --surface-3: #1A2247;
  --line: #232C55; --line-2: #2E3866;
  --text: #E6E8F0; --text-2: #AEB5CC; --text-3: #8D95B2;
  --brand: #9FB4FF; --brand-text: #070B1C; --brand-soft: #1A2452; --brand-ink: #C3D0FF;
  --accent: #CFF74F; --accent-text: #0A1650; --accent-soft: #232E1A;
  --link: #A9BCFF; --focus: #8EA6FF;
  --bad: #FF7A72; --bad-soft: #3A1620; --warn: #F5B45E; --warn-soft: #34240F;
  --done: #9FB4FF; --done-text: #070B1C;
  --hero: radial-gradient(90% 140% at 50% 120%, #3A62E0 0%, #1A3FC4 26%, #0C1A5C 58%, #070B1C 100%);
  --shadow: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--f); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); font-size: .92em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* top bar */
.bar-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar-top .in { max-width: 1080px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: #C6F432; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.top-right { display: flex; align-items: center; gap: 6px; min-width: 0; }
.who { font-size: 13px; color: var(--text-2); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-btn .sun { display: none; } :root:not([data-theme]) .theme-btn .moon { display: block; } }
.link-btn { background: none; border: 0; padding: 8px 10px; border-radius: 10px; font: 500 14px var(--f); color: var(--text-2); cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 560px) { .who { display: none; } }

/* layout */
main.page { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 32px 16px 72px; }
main.narrow { max-width: 480px; padding-top: 56px; }
main.mid { max-width: 760px; }
.foot { border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.foot .in { max-width: 1080px; margin: 0 auto; padding: 18px 16px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.foot a { color: var(--text-2); }

h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 500; margin: 0 0 10px; text-wrap: balance; }
h1 .serif, h2 .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; margin: 0; }
h3 { font-size: 16px; font-weight: 600; margin: 0; }
.lede { color: var(--text-2); font-size: 17px; margin: 0 0 24px; max-width: 60ch; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin: 0 0 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 14px; }
.section-title h2 { font-size: 22px; }
.section-title a { font-size: 14px; }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 14px; }
.inset { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.center { text-align: center; }

/* buttons */
.btn { font: 600 15px var(--f); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-text); }
.btn-accent:hover { filter: brightness(1.04); }
.btn-brand { background: var(--brand); color: var(--brand-text); }
.btn-line { background: var(--surface); color: var(--text); border-color: var(--line-2); font-weight: 500; }
.btn-line:hover { border-color: var(--text-3); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn svg { width: 16px; height: 16px; }

/* forms */
label.f { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin: 0 0 6px; }
input.in { width: 100%; font: 16px var(--f); color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; }
input.in:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: transparent; }
input.code-in { font-family: var(--f-mono); font-size: 22px; letter-spacing: .3em; text-align: center; padding: 12px; }
.stack { display: grid; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 13px; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* icon bubble for status screens */
.bubble { width: 56px; height: 56px; border-radius: 18px; background: var(--brand-soft); color: var(--brand-ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.bubble svg { width: 26px; height: 26px; }
.bubble.good { background: var(--accent); color: var(--accent-text); }
.bubble.bad { background: var(--bad-soft); color: var(--bad); }

/* copy box */
.copy { display: flex; align-items: stretch; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.copy code { flex: 1; min-width: 0; font: 13.5px/1.6 var(--f-mono); color: var(--text); padding: 14px 16px; overflow-wrap: anywhere; }
.copy button { flex: none; border: 0; border-left: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 600 14px var(--f); padding: 0 18px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-width: 104px; justify-content: center; }
.copy button:hover { background: var(--surface-3); }
.copy button svg { width: 16px; height: 16px; }
.copy button.done { background: var(--accent); color: var(--accent-text); border-left-color: var(--accent); }
@media (max-width: 560px) { .copy { flex-direction: column; } .copy button { border-left: 0; border-top: 1px solid var(--line-2); padding: 12px; } }

/* chips and live dots */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.chip.paid { background: var(--accent-soft); color: var(--text); }
.chip.paid::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(10,22,80,.25); }
.chip.ready { background: var(--accent); color: var(--accent-text); }
.chip.run { background: var(--brand-soft); color: var(--brand-ink); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brand); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pulse::after, .spinner, .tl li.now .dot::after { animation: none; } .btn { transition: none; } }

/* test: focus panel plus timeline */
.test { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 18px; align-items: start; }
.test + .test { margin-top: 18px; }
.test > .card { margin: 0; }
@media (max-width: 860px) { .test { grid-template-columns: 1fr; } }
.focus { padding: 28px; }
.focus .step-lab { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin: 0 0 8px; }
.focus h2 { font-size: clamp(22px, 3vw, 28px); letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 10px; text-wrap: balance; }
.focus p { margin: 0 0 16px; color: var(--text-2); max-width: 62ch; }
.focus .copy { margin: 4px 0 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.facts li { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--text-2); }
.facts b { display: block; color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.focus .live { padding-top: 16px; border-top: 1px solid var(--line); width: 100%; }
.uploads { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.uploads li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.uploads li span:first-child { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--done); color: var(--done-text); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tick svg { width: 12px; height: 12px; }
.progress { margin: 6px 0 14px; }
.progress .track { height: 12px; background: var(--surface-3); border-radius: 999px; overflow: hidden; }
.progress .fill { height: 100%; background: var(--brand); border-radius: 999px; transition: width .6s ease; min-width: 12px; }
.progress .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 14px; color: var(--text-2); }
.progress .meta b { color: var(--text); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.ready-panel { background: var(--hero); color: #fff; border: 0; position: relative; overflow: hidden; }
.ready-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px); background-size: 16px 16px; opacity: .14; pointer-events: none; }
.ready-panel > * { position: relative; }
.ready-panel .step-lab { color: #AFC0FF; }
.ready-panel h2 { color: #fff; }
.ready-panel p { color: #D6DEFF; }
.ready-panel .faint { color: #AFC0FF; }
.verdicts { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.verdicts li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 14px; color: #EEF1FF; font-size: 15px; }
.verdicts .mono { color: #fff; }
.notice { display: flex; gap: 12px; align-items: flex-start; border-radius: 14px; padding: 14px 16px; margin: 0 0 18px; font-size: 14px; }
.notice.bad { background: var(--bad-soft); color: var(--text); }
.notice.bad b { color: var(--bad); }
.notice.good { background: var(--accent-soft); }

.tl-card { padding: 20px 20px 8px; }
.tl-card h3 { font-size: 13px; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-3); font-weight: 500; margin-bottom: 14px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.tl li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--line); border-radius: 2px; }
.tl li.done:not(:last-child)::before { background: var(--done); }
.tl .dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-3); position: relative; }
.tl li.done .dot { background: var(--done); border-color: var(--done); color: var(--done-text); }
.tl li.done .dot svg { width: 12px; height: 12px; }
.tl li.now .dot { border-color: var(--brand); color: var(--brand); }
.tl li.now .dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ping 1.8s ease-out infinite; }
.tl li.bad .dot { border-color: var(--bad); color: var(--bad); }
.tl .t { font-size: 14px; font-weight: 500; color: var(--text-3); line-height: 24px; }
.tl li.done .t, .tl li.now .t { color: var(--text); }
.tl li.now .t { font-weight: 600; }
.tl .s { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }

/* lists */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.list > .item { padding: 18px 22px; border-top: 1px solid var(--line); }
.list > .item:first-child { border-top: 0; }
.item .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.item .big { font-size: 20px; letter-spacing: -0.02em; font-weight: 500; }
.item .sub { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.item details { margin-top: 10px; }
.item summary { cursor: pointer; font-size: 13px; color: var(--text-2); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.item summary::-webkit-details-marker { display: none; }
.item summary::before { content: "›"; display: inline-block; transition: transform .15s; font-size: 16px; line-height: 1; }
.item details[open] summary::before { transform: rotate(90deg); }
table.mini { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
table.mini td { padding: 8px 4px; border-top: 1px solid var(--line); }
table.mini td.r { text-align: right; }
.empty { padding: 28px 24px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.empty p { margin: 4px 0 0; color: var(--text-2); max-width: 52ch; }

/* switch (a form button that looks like a toggle) */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.switch { width: 46px; height: 28px; border-radius: 999px; border: 0; padding: 3px; background: var(--line-2); cursor: pointer; display: inline-flex; flex: none; transition: background .2s; }
.switch i { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] i { transform: translateX(18px); }
.models { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.models span { font: 12px var(--f-mono); padding: 3px 8px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }

/* promo for free accounts */
.promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--hero); color: #fff; border: 0; position: relative; overflow: hidden; }
.promo p { color: #D6DEFF; margin: 6px 0 0; max-width: 56ch; }
.promo h2 { color: #fff; }
@media (max-width: 640px) { .promo { grid-template-columns: 1fr; } }

/* welcome banner */
.banner { display: flex; gap: 14px; align-items: center; background: var(--accent-soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; }
.banner .tick { background: var(--accent); color: var(--accent-text); width: 26px; height: 26px; }
.banner b { font-weight: 600; }

/* report */
.decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 8px 0 16px; }
.decision { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.decision:hover { border-color: var(--line-2); transform: translateY(-1px); }
.decision .d-name { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.decision .d-verdict { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.decision .d-verdict .mono { font-size: .82em; }
.decision .d-sub { font-size: 14px; color: var(--text-2); }
.decision.featured { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.decision.featured .d-name, .decision.featured .d-sub { color: #2B3A78; }
.card.how { margin-bottom: 18px; }
.card.how h3 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.card.how ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 16px; }
.card.how p { margin: 14px 0 0; }
.card.how details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.card.how summary { cursor: pointer; font-weight: 500; color: var(--text-2); }
.card.how details p { color: var(--text-2); margin-top: 8px; }
.feature { margin-top: 18px; }
.fhead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 16px; }
.fhead h2 { font-size: 24px; }
.rec { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; font-size: 15px; }
.rec .tick { margin-top: 1px; }
.rec.alt { background: var(--surface-2); border: 1px solid var(--line); }
.rec.none { background: var(--surface-2); border: 1px solid var(--line); }
.notice.warnbox { background: var(--warn-soft); }
.notice.warnbox b { color: var(--warn); }
.tw { overflow-x: auto; margin: 16px -4px 8px; }
table.results { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.results th { text-align: left; font-size: 12px; font-weight: 500; color: var(--text-3); padding: 10px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.results td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.results .r { text-align: right; }
table.results tr.picked td { background: var(--brand-soft); }
table.results tr.picked td:first-child { border-radius: 10px 0 0 10px; }
table.results tr.picked td:last-child { border-radius: 0 10px 10px 0; }
.v { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.v.passes { background: var(--brand); color: var(--brand-text); }
.v.breaks { background: var(--bad-soft); color: var(--bad); }
.v.unclear { background: var(--warn-soft); color: var(--warn); }
.v.today { background: var(--surface-3); color: var(--text-2); }
.v.failed { background: none; color: var(--text-3); border: 1px dashed var(--line-2); }
.sub-h { margin: 26px 0 6px; }
.copy-block { margin: 0; }
.copy-block pre { flex: 1; min-width: 0; margin: 0; padding: 14px 16px; font: 12.5px/1.6 var(--f-mono); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; }
.copy-block { flex-direction: column; }
.copy-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-2); background: var(--surface); padding-left: 16px; font: 12px var(--f-mono); color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.copy-bar button { border-left: 1px solid var(--line-2); border-top: 0; padding: 10px 16px; }
@media (max-width: 560px) { .copy-block .copy-bar button { border-top: 0; border-left: 1px solid var(--line-2); padding: 10px 16px; } }
.ex-group { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 10px 0; background: var(--surface-2); }
.ex-group summary { cursor: pointer; font-weight: 500; }
.checks { margin: 10px 0 6px; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.ex { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.ex .why { margin: 4px 0 10px; }
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 13px; }
.cols pre { background: var(--surface); border: 1px solid var(--line); padding: 10px; border-radius: 10px; max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.5 var(--f-mono); margin: 6px 0 0; color: var(--text); }
.report-foot { margin-top: 28px; max-width: 760px; }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .cols, .cols.two { grid-template-columns: 1fr; } .card { padding: 20px; } .focus { padding: 22px; } }
@media (max-width: 640px) {
  .tw { overflow: visible; margin: 12px 0 8px; }
  table.results { min-width: 0; }
  table.results thead { display: none; }
  table.results tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  table.results td { border: 0; padding: 0; }
  table.results td:nth-child(1) { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  table.results td:nth-child(2) { grid-column: 1 / -1; }
  table.results td.r { text-align: left; }
  table.results td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--text-3); }
  table.results tr.picked { background: var(--brand-soft); border-radius: 12px; border-bottom: 0; }
  table.results tr.picked td { background: none; }
}
@media print { .bar-top, .foot, .copy button { display: none; } body { background: #fff; } .card { box-shadow: none; } }

.google-btn { gap: 10px; font-weight: 600; }
.google-btn svg { width: 18px; height: 18px; flex: none; }
