
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--pr-bg); color: var(--pr-text);
  font-family: var(--pr-font-body); font-size: var(--pr-font-size); line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column;
}
.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
main { flex: 1; padding-top: 1.25rem; padding-bottom: 2rem; outline: none; }
h1, h2, h3 { font-family: var(--pr-font-heading); color: var(--pr-primary); line-height: 1.25; }
h1 { font-size: 1.6rem; margin: .25rem 0 .75rem; }
h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0 0 .35rem; }
a { color: var(--pr-primary); text-underline-offset: 2px; }
a:hover { color: var(--pr-accent-strong); }
:focus-visible { outline: 3px solid var(--pr-focus); outline-offset: 2px; }
.header-inner :focus-visible { outline-color: var(--pr-focus-on-dark); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--pr-surface); padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: .5rem; }
.muted { color: var(--pr-text-muted); }
.lead { font-size: 1.1rem; }

.site-header { background: var(--pr-primary); color: var(--pr-on-primary); }
.header-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; flex-wrap: wrap; }
.brand { color: var(--pr-on-primary); font-family: var(--pr-font-heading); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.brand:hover { color: var(--pr-on-primary); }
.brand-accent { color: var(--pr-brand-accent-on-dark); }
.header-tag { font-size: .9rem; opacity: .9; }
.notice-strip { background: var(--pr-accent-soft); color: var(--pr-text); font-size: .92rem; padding: .45rem 0; border-bottom: 1px solid var(--pr-border); }
.fixture-banner { background: var(--pr-warn-bg); color: var(--pr-warn-text); border-bottom: 2px solid var(--pr-warn-border); padding: .5rem 0; font-weight: 600; }
.site-footer { background: var(--pr-surface); border-top: 1px solid var(--pr-border); padding: 1rem 0 1.5rem; font-size: .9rem; color: var(--pr-text-muted); }
.footer-small { margin: .25rem 0 0; }

.card { background: var(--pr-surface); border: 1px solid var(--pr-border); border-radius: var(--pr-radius); box-shadow: var(--pr-shadow); padding: 1rem; margin: .75rem 0; }
.choice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.choice-btn {
  width: 100%; text-align: left; font: inherit; color: var(--pr-text); cursor: pointer;
  background: var(--pr-surface); border: 2px solid var(--pr-border); border-radius: var(--pr-radius);
  padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 3.25rem;
}
.choice-btn:hover:not([disabled]) { border-color: var(--pr-primary); }
.choice-btn[disabled] { cursor: not-allowed; color: var(--pr-text-muted); background: var(--pr-disabled-bg); }
.choice-title { font-weight: 600; }
.pill { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .15rem .6rem; white-space: nowrap; }
.pill-soon { background: var(--pr-pill-bg); color: var(--pr-pill-text); }
.pill-partial { background: var(--pr-warn-bg); color: var(--pr-warn-text); }
.pill-flagship { background: var(--pr-accent); color: var(--pr-on-accent); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.question-legend { font-family: var(--pr-font-heading); color: var(--pr-primary); font-size: 1.35rem; line-height: 1.3; margin-bottom: .5rem; }
.help { color: var(--pr-text-muted); margin: 0 0 1rem; }
.option { display: flex; align-items: flex-start; gap: .7rem; background: var(--pr-surface); border: 2px solid var(--pr-border); border-radius: var(--pr-radius); padding: .85rem 1rem; cursor: pointer; }
.option:hover { border-color: var(--pr-primary); }
.option input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--pr-primary); flex: none; }
.option:has(input:checked) { border-color: var(--pr-primary); background: var(--pr-primary-soft); }
.number-row { display: flex; align-items: center; gap: .5rem; }
.number-row input { font: inherit; width: 10rem; max-width: 60%; padding: .7rem .8rem; border: 2px solid var(--pr-border); border-radius: var(--pr-radius); }
.number-row input:focus { border-color: var(--pr-primary); }
.unit { font-weight: 600; color: var(--pr-text-muted); }
.error { color: var(--pr-error); font-weight: 600; margin: .75rem 0 0; }

.progress { margin: 0 0 1rem; }
.progress-label { font-size: .9rem; color: var(--pr-text-muted); margin-bottom: .3rem; display: flex; justify-content: space-between; gap: 1rem; }
.progress-track { height: .5rem; background: var(--pr-track); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--pr-accent-strong); border-radius: 999px; transition: width .2s; }

.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.btn { font: inherit; font-weight: 600; border-radius: var(--pr-radius); padding: .75rem 1.25rem; cursor: pointer; border: 2px solid var(--pr-primary); min-height: 3rem; }
.btn-primary { background: var(--pr-primary); color: var(--pr-on-primary); }
.btn-primary:hover { background: var(--pr-primary-hover); }
.btn-secondary { background: var(--pr-surface); color: var(--pr-primary); }
.btn-secondary:hover { background: var(--pr-primary-soft); }
.btn-link { background: none; border: 0; padding: .25rem 0; color: var(--pr-primary); text-decoration: underline; cursor: pointer; font: inherit; }

.brief-meta { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; margin: 0; }
.brief-meta dt { font-weight: 600; }
.brief-meta dd { margin: 0; }
.summary { background: var(--pr-primary-soft); border-left: 4px solid var(--pr-primary); border-radius: var(--pr-radius); padding: .9rem 1rem; }
.summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.group-title { display: flex; align-items: center; gap: .5rem; }
.outcome { border-left: 4px solid var(--pr-primary); }
.outcome.is-unverified { border-left-color: var(--pr-warn-border); }
.type-tag { display: inline-block; background: #eef2f7; color: var(--pr-primary); border: 1px solid currentColor; font-size: .78rem; font-weight: 700; letter-spacing: .02em; border-radius: 4px; padding: .1rem .45rem; margin: 0 .4rem .4rem 0; }
.badge-unverified { display: inline-block; background: var(--pr-warn-bg); color: var(--pr-warn-text); border: 1px solid var(--pr-warn-border); font-size: .78rem; font-weight: 700; letter-spacing: .03em; border-radius: 4px; padding: .1rem .45rem; margin-bottom: .4rem; }
.unverified-note { font-size: .9rem; color: var(--pr-warn-text); margin: .25rem 0 .5rem; }
.partial-note { margin: .75rem 0; padding: .6rem .8rem; border-left: 4px solid var(--pr-warn-border); background: var(--pr-warn-bg); color: var(--pr-warn-text); font-weight: 600; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem .9rem; margin: .5rem 0 0; font-size: .97rem; }
.facts dt { font-weight: 600; color: var(--pr-text-muted); }
.facts dd { margin: 0; }
.not-stated { font-style: italic; color: var(--pr-text-muted); }
.cite { font-size: .9rem; margin: .5rem 0 0; color: var(--pr-text-muted); }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .35rem 0 .35rem 1.8rem; position: relative; border-bottom: 1px solid var(--pr-divider); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55rem; width: 1.05rem; height: 1.05rem; border: 2px solid var(--pr-primary); border-radius: 3px; }
.answers-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.answers-table th, .answers-table td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--pr-divider); }
.answers-table th { width: 55%; font-weight: 600; }
.sources-list { padding-left: 1.2rem; }
.sources-list li { margin-bottom: .5rem; }
.source-url { word-break: break-all; font-size: .88rem; color: var(--pr-text-muted); }
.disclaimer-box { background: var(--pr-accent-soft); border: 1px solid var(--pr-disclaimer-border); border-radius: var(--pr-radius); padding: .9rem 1rem; }
.print-only { display: none; }

@media (min-width: 40rem) {
  h1 { font-size: 1.9rem; }
  .choice-list.two-col { grid-template-columns: 1fr 1fr; }
}

@media print {
  @page { margin: 15mm; }
  body { background: var(--pr-print-bg); font-size: 11pt; }
  .site-header { background: var(--pr-print-bg); color: var(--pr-print-text); border-bottom: 2px solid var(--pr-print-text); }
  .brand, .brand-accent { color: var(--pr-print-text); }
  .notice-strip { background: var(--pr-print-bg); }
  .no-print, .skip-link, .fixture-banner .no-print { display: none !important; }
  .print-only { display: block; }
  .card { box-shadow: none; break-inside: avoid; }
  a { color: var(--pr-print-text); }
  .source-url { color: var(--pr-print-text); }
  .wrap { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
[tabindex="-1"]:focus { outline: none; }

.buy-box { border: 1px solid var(--pr-border); border-radius: 8px; padding: 1rem; margin: 1.5rem 0; }
.buy-box h2 { margin-top: 0; }
.pay-status { background: var(--pr-warn-bg); color: var(--pr-warn-text); border: 1px dashed var(--pr-warn-border); border-radius: 4px; padding: .5rem .75rem; }

[hidden] { display: none !important; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 36px; width: auto; max-width: 60vw; }
@media (max-width: 480px) { .brand-logo { height: 30px; } }
@media print { .brand-logo { content: url("assets/logo.svg"); } }

body { line-height: var(--ds-lh-body); }
.wrap { padding: 0 var(--ds-sp-3); }
p, li { max-width: var(--ds-measure); }
main { padding-top: var(--ds-sp-3); padding-bottom: var(--ds-sp-5); }
h1 { font-size: var(--ds-fs-2); line-height: var(--ds-lh-head); }
.question-legend { font-size: var(--ds-fs-1); line-height: var(--ds-lh-head); }
.btn { min-height: var(--ds-tap); padding: var(--ds-sp-2) var(--ds-sp-3); transition: background-color .15s; }
.btn-primary { background: var(--ds-cta-bg); border-color: var(--ds-cta-bg); color: var(--ds-cta-text); box-shadow: 0 2px 0 var(--pr-accent-strong); }
.btn-primary:hover { background: var(--ds-cta-bg-hover); border-color: var(--ds-cta-bg-hover); color: var(--ds-cta-text); }
.btn-primary:focus-visible { outline-color: var(--pr-primary); }
.btn-link { min-height: var(--ds-tap); padding: 0 var(--ds-sp-1); }
.option { min-height: 3.4375rem; padding: var(--ds-sp-2) var(--ds-sp-3); }
.choice-btn { min-height: 3.4375rem; }
:focus-visible { outline-offset: 3px; }
.site-footer a { display: inline-block; padding: .6rem .1rem; }

.progress { margin: 0 0 var(--ds-sp-3); }
.progress-label { font-size: var(--ds-fs-sm); margin-bottom: var(--ds-sp-1); align-items: baseline; }
.progress-step { font-weight: 700; color: var(--pr-primary); }
.progress-track { height: .8125rem; background: var(--pr-track); border: 1px solid var(--pr-border); }
.progress-fill { background: var(--pr-accent-strong); min-width: .8125rem; }  
@media (prefers-reduced-motion: reduce) { .progress-fill { transition: none; } }
.brand { min-height: var(--ds-tap); }
.skip-link { min-height: var(--ds-tap); display: inline-flex; align-items: center; }

.kit-brief { margin: var(--ds-sp-3) 0; padding-top: var(--ds-sp-3); border-top: 1px solid var(--pr-divider); }
.kit-brief h3 { margin: 0 0 var(--ds-sp-2); }
.kit-brief-grid { display: grid; gap: var(--ds-sp-3); align-items: start; }
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li { position: relative; padding: .3rem 0 .3rem 1.6rem; }
.kit-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--pr-ok-text); font-weight: 700; }
.kit-fig { margin: 0; max-width: 16rem; }
.kit-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--pr-border); border-radius: 6px; box-shadow: var(--pr-shadow); }
.kit-fig figcaption { font-size: var(--ds-fs-sm); color: var(--pr-text-muted); margin-top: var(--ds-sp-1); }
@media (min-width: 40rem) { .kit-brief-grid { grid-template-columns: 61.8fr 38.2fr; } }
.kit-brief .kit-value { margin: 0 0 0.6rem; }
.kit-brief-grid.kit-grid-nogallery { grid-template-columns: 1fr; }

.site-header .nav { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1rem; margin: 0; padding: 0; }
.site-header .nav a { color: var(--pr-on-primary); text-decoration: none; font-size: .95rem; display: inline-flex; align-items: center; min-height: 44px; }
.site-header .nav a:hover { text-decoration: underline; }
.screener-nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .75rem 0 1rem; font-size: .95rem; }
.screener-nav a, .screener-nav button { min-height: 44px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--pr-primary); text-decoration: underline; font: inherit; cursor: pointer; }
.kit-panel { border: 2px solid var(--pr-border); border-radius: 8px; padding: 1rem; margin: 1.5rem 0; }
.kit-panel h2 { margin-top: 0; font-size: 1.2rem; }
.kit-panel .kit-panel-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: .75rem; }
@media print { .site-header nav, .screener-nav, .kit-panel { display: none; } }
.free-boundary { margin: 2rem 0 .5rem; padding-top: 1rem; border-top: 2px dashed var(--pr-border); font-weight: 600; }
