:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #182e37;
  background: #f5f7f5;
  --ink: #182e37;
  --muted: #465d66;
  --green: #075a55;
  --deep: #153a3b;
  --line: #cbd9d6;
  --white: #fff;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--green); text-underline-offset: .24em; overflow-wrap: anywhere; }
button { font: inherit; }
:focus-visible { outline: 3px solid #a44c0b; outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: .5rem 0 1rem; }
h1 { font-size: clamp(2.05rem, 5.8vw, 4.1rem); font-weight: 730; letter-spacing: -.06em; max-width: 18ch; }
h1:focus { outline: none; }
h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.026em; }
h3 { font-size: 1.65rem; letter-spacing: -.04em; }
.wrap { max-width: 72rem; padding-inline: clamp(1rem, 4vw, 2.5rem); margin-inline: auto; }
.site-header { background: var(--deep); color: var(--white); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; min-height: 4.35rem; gap: .7rem; padding-block: .7rem; }
.brand-mark { display: grid; place-items: center; width: 2rem; aspect-ratio: 1; border-radius: .5rem; background: #cce7d9; color: var(--deep); font-size: 1.5rem; font-weight: 650; line-height: 1; }
.brand { font-weight: 700; }
.brand-module { color: #c5ddd7; margin-left: .3rem; font-size: .8rem; }
.release { margin-inline-start: auto; color: #d9eae5; font-size: .8rem; }
main { min-height: calc(100vh - 9rem); padding-block: clamp(1.65rem, 5vw, 4.15rem) 3.5rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; padding-block: 1.35rem; }
.skip { position: absolute; left: .5rem; top: .5rem; z-index: 2; padding: .6rem; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero { margin-bottom: 2.25rem; }
.eyebrow { color: var(--green); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; margin: 0 0 .6rem; }
.page-label { margin-top: 1.25rem; }
.intro { color: var(--muted); font-size: 1.13rem; max-width: 54ch; margin-top: 1rem; }
.muted, .meta { color: var(--muted); }
.meta { font-size: .9rem; }
.battery, .tile, .panel, .question { border: 1px solid var(--line); border-radius: .8rem; background: var(--white); }
.battery { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: clamp(1.1rem, 4vw, 2rem); background: #e8f1ec; margin-bottom: 2.6rem; }
.battery p:last-child { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem; }
.tile, .panel { padding: clamp(1.05rem, 3vw, 1.5rem); }
.tile { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.tile p { margin: 0; }
.tile .meta { margin-top: auto; padding-top: .45rem; }
.tile .button { margin-top: .3rem; }
.catalog-other { margin-top: 1.5rem; border-block-start: 1px solid var(--line); padding-block: 1rem; }
summary { width: fit-content; color: var(--green); font-weight: 650; cursor: pointer; }
.other-list { columns: 2; padding-left: 1.3rem; }
.other-list li { break-inside: avoid; }
.button, .text-button { cursor: pointer; padding: .65rem .95rem; min-height: 2.75rem; font-weight: 680; text-align: center; }
.button { border: 1px solid var(--green); border-radius: .48rem; color: var(--white); background: var(--green); }
.button:hover { background: #034541; }
.secondary { background: transparent; color: var(--green); }
.secondary:hover { background: #e8f1ec; }
.text-button { padding-inline: 0; color: var(--green); background: none; border: none; text-decoration: underline; text-underline-offset: .24em; text-align: left; }
.panel, .alert, .questions, .report { max-width: 56rem; margin-block: 1rem; }
.panel p:last-child { margin-bottom: 0; }
.recorded-field { display: grid; gap: .25rem; margin-bottom: 1rem; max-width: 26rem; }
.recorded-scoring select { font: inherit; color: inherit; width: 100%; min-height: 2.75rem; padding: .35rem .55rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--white); }
.question { margin: .2rem 0 1.4rem; min-inline-size: 0; padding: .85rem 1rem 1rem; }
.question legend { max-inline-size: 100%; padding: 0 .38rem; font-weight: 650; overflow-wrap: break-word; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { display: inline-flex; align-items: center; column-gap: .45rem; min-height: 2.75rem; border: 1px solid var(--line); border-radius: .45rem; padding: .4rem .62rem; cursor: pointer; }
.choice:has(:checked) { border-color: var(--green); background: #e8f1ec; color: #063c38; outline: 2px solid var(--green); outline-offset: -2px; }
.choice.threshold { background: #fff0cd; border-color: #be9b62; }
.choice input { accent-color: var(--green); inline-size: 1.1rem; block-size: 1.1rem; margin: 0; flex: 0 0 auto; }
.alert:not(:empty) { padding: 1rem; background: #fff2dd; border: 1px solid #c48b42; border-inline-start: .38rem solid #9b4718; border-radius: .55rem; color: #542b13; }
.alert p:last-child { margin-bottom: 0; }
.validation { color: #932f15; font-weight: 650; }
.invalid { border-color: #932f15; }
.supplemental { margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1rem 1.5rem; }
.sources ul { padding-inline-start: 1.2rem; }
.sources li + li { margin-top: .3rem; }
.report-body { max-width: 56rem; }
.report-heading h1 { max-width: 29ch; font-size: clamp(1.85rem, 4.5vw, 3.25rem); }
.report-heading p { margin-block: .35rem; overflow-wrap: anywhere; }
.report-card { break-inside: avoid; }
.report-card p { margin-block: .35rem; }
.report-scoring-guide { margin-top: .6rem; }
.score { font-size: 1.75rem; color: var(--green); font-weight: 730; margin-block-end: .2rem; }
.result-band { font-weight: 700; }
.item9-status { font-size: .9rem; font-weight: 650; }
.report-settings { margin-block: 1.25rem; }
.report-settings label { font-weight: 650; }
.report-settings input[type="text"], .copy-fallback { display: block; width: min(100%, 32rem); font: inherit; padding: .5rem; color: var(--ink); background: white; border: 1px solid #829792; border-radius: .3rem; }
.copy-fallback { min-height: 10rem; }
.detail-toggle { display: flex; align-items: center; gap: .6rem; width: fit-content; min-height: 2.75rem; cursor: pointer; }
.detail-toggle input { inline-size: 1rem; block-size: 1rem; accent-color: var(--green); }
.report-technical { margin-block: 1.5rem; }
.technical-scale { margin-block: 1.15rem; }
.technical-scale table { width: 100%; border-collapse: collapse; text-align: left; overflow-wrap: anywhere; }
.technical-scale td, .technical-scale th { border-bottom: 1px solid var(--line); padding: .25rem .45rem; }
.technical-references { padding-inline-start: 1.1rem; font-size: .9rem; }

@media (max-width: 43rem) {
  .grid { grid-template-columns: 1fr; }
  .other-list { columns: 1; }
}

@media (max-width: 30rem) {
  .brand-module { display: block; margin-left: 0; }
  .choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); }
}

@page { size: A4; margin: 14mm; }

@media print {
  :root { background: white; color: black; }
  .skip, .site-footer, .no-print { display: none !important; }
  .site-header { background: white; color: black; border-bottom: 1px solid #888; }
  .header-inner { min-height: 0; padding-block: 0 2mm; }
  .brand-mark { background: white; color: black; border: 1px solid #888; width: 5mm; font-size: 12pt; border-radius: 1mm; }
  .brand-module, .release, .meta, .score, a { color: black; }
  main { min-height: 0; padding-block: 4mm 0; }
  .wrap, .report-body, .report, .panel { padding-inline: 0; max-width: none; }
  .report-body { font-size: 10pt; line-height: 1.3; }
  .report-heading h1 { font-size: 18pt; max-width: none; letter-spacing: -.02em; }
  .report-body h2 { font-size: 12pt; }
  .report-body h3 { font-size: 11pt; }
  .report-body .meta, .item9-status, .technical-references { font-size: 9pt; }
  .report { margin-block: 3mm; }
  .report-card, .report-synthesis, .alert:not(:empty) { margin-block: 2mm; padding: 2.4mm 3mm; border: 1px solid #999; border-radius: 0; background: white; color: black; break-inside: avoid; }
  .alert:not(:empty) { border-inline-start: 2mm solid #333; }
  .report-body p { margin-block: 1mm; }
  .score { font-size: 13pt; }
  .report-technical { break-before: page; margin: 0; }
  .technical-scale { margin-block: 4mm; break-inside: avoid; }
  .technical-scale tr { break-inside: avoid; }
}
