:root { color-scheme: light; font: 17px/1.55 system-ui, sans-serif; color: #243549; background: #edf2f6; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 52rem; margin: 3vh auto; background: white; padding: clamp(1.25rem, 4vw, 3.5rem); border-radius: 18px; }
h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); line-height: 1.12; }
h2 { font-size: 1.25rem; margin-top: 1.8rem; }
a { color: #235583; text-underline-offset: .15em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #2072bb; outline-offset: 3px; }
.note { border-left: 3px solid #7997b0; padding-left: .8rem; }
label { display: block; margin: 1rem 0; }
select, button { font: inherit; padding: .55rem 1rem; border: 1px solid #7997b0; border-radius: .5rem; }
button { color: white; background: #234e76; cursor: pointer; }
button:disabled { background: #e5e9ee; color: #516171; cursor: default; }
li { margin: .55rem 0; }
@media print { main { margin: 0; padding: 0; max-width: none; } nav { display: none; } }

fieldset { min-inline-size: 0; }
main { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  main { margin: 0 auto; border-radius: 0; padding: 18px 16px max(24px, env(safe-area-inset-bottom)); }
  ul { padding-inline-start: 1.25rem; }
  select, button { min-height: 44px; max-width: 100%; }
  label:has(input[type="checkbox"]) {
    position: relative;
    padding: 6px 0 6px 32px;
    min-height: 44px;
  }
  input[type="checkbox"] { position: absolute; top: 9px; left: 0; width: 20px; height: 20px; margin: 0; }
}
