:root {
  color-scheme: light;
  font: 1rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f9;
  color: #132d41;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, dl, dd { margin: 0; }
[hidden] { display: none !important; }
a, button { color: #13567a; text-underline-offset: .17em; }
:focus-visible { outline: 3px solid #d27d19; outline-offset: 4px; }
.wrap { width: min(1100px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: -7em; }
.skip:focus { top: .25em; background: white; padding: .5em; }
header { background: white; }
header nav, header nav div, footer .wrap { display: flex; align-items: center; gap: 20px; }
header nav { min-height: 68px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #172f42; font-weight: 750; letter-spacing: -.035em; text-decoration: none; }
.brand img { border-radius: 9px; }
header nav div { font-size: .88rem; }
.hero { padding: clamp(42px, 8vw, 86px) 0; background: #123b58; color: white; }
h1 { max-width: 18ch; font-size: clamp(2.25rem, 6vw, 4.7rem); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 62ch; margin-top: 18px; color: #d8e9f3; }
.downloads { display: flex; gap: 12px; }
.downloads a { background: white; color: #163952; border-radius: 7px; padding: 7px 14px; font-weight: 650; text-decoration: none; }
.reports, .explain { padding-block: clamp(30px, 5vw, 64px); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.13; letter-spacing: -.04em; padding-bottom: 12px; }
#coverage, #fallback { margin-top: 12px; }
#coverage { color: #4c6272; }
#coverage p + p { margin-top: 5px; }
#filters { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 14px; align-items: end; margin-block: 22px 10px; }
label { display: grid; gap: 5px; font-size: .82rem; font-weight: 650; }
button, input, select { font: inherit; }
input, select, button { min-height: 42px; padding: 7px 11px; border: 1px solid #aebfc9; border-radius: 6px; background: white; color: #18394e; }
button { cursor: pointer; }
#retry { margin-top: 10px; }
#matches { color: #425d6d; margin-bottom: 10px; }
details { background: white; border: 1px solid #d5e1e6; border-bottom: 0; }
details:last-child { border-bottom: 1px solid #d5e1e6; }
summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 14px 17px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { background: #f0f6f7; }
summary small { display: block; color: #506675; }
summary::after { content: "+"; font-size: 1.25rem; }
details[open] summary::after { content: "−"; }
.state { padding: 2px 9px; border-radius: 16px; background: #edf1f3; color: #3d5360; font-size: .8rem; font-weight: 650; }
.state.open { background: #def2e3; color: #235238; }
.state.closed, .state.preparation { background: #fbecd4; color: #614621; }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 4px 17px 17px; }
.parts section { background: #f6f8fa; padding: 15px; border-radius: 7px; overflow-wrap: anywhere; }
.parts h3 { font-size: 1rem; }
.parts section > p { font-weight: 650; margin: 5px 0; }
dl { display: grid; grid-template-columns: minmax(70px, .7fr) 1fr; gap: 3px 8px; font-size: .81rem; }
dt { color: #4e6572; }
dd a { display: block; }
.explain { background: #e9eff2; }
.explain p { max-width: 76ch; margin-top: 9px; }
footer { padding: 20px 0; background: white; font-size: .86rem; }
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  header nav, header nav div { gap: 12px; }
  .brand { gap: 6px; font-size: .94rem; }
  header nav div a:first-child { display: none; }
  #filters, .parts { grid-template-columns: 1fr; }
  #filters button { justify-self: start; }
  summary { padding: 12px; gap: 8px; }
  .parts { padding: 0 10px 10px; }
}
