* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html { min-height: 100%; overflow-y: scroll; scrollbar-gutter: stable; background: var(--background); }
body { min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--background); padding-bottom: 5rem; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img, svg { max-width: 100%; }
h1 { margin: .1rem 0 .5rem; font-size: clamp(1.5rem, 1.2rem + 1.35vw, 2rem); line-height: 1.08; overflow-wrap: anywhere; }
h2 { margin: .3rem 0 .5rem; font-size: 1.08rem; line-height: 1.2; overflow-wrap: anywhere; }
h3 { margin: .25rem 0 .4rem; font-size: 1rem; overflow-wrap: anywhere; }
p { line-height: 1.42; }
code { border-radius: .35rem; background: #edf2f5; padding: .12rem .3rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; overflow-wrap: anywhere; }
.muted, .field-help { color: var(--muted); }
.field-help { margin: 0; font-size: .86rem; }
.eyebrow { color: var(--accent-dark); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.internal-reference { margin: -.2rem 0 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 2000; border-radius: .5rem; background: white; padding: .75rem 1rem; box-shadow: 0 4px 18px rgba(31, 41, 51, .18); }
.skip-link:focus { top: .75rem; }
.offline-banner { position: sticky; top: 0; z-index: 1200; background: var(--warning); padding: .45rem 1rem; color: white; font-size: .8rem; font-weight: 800; text-align: center; }
.strong-link { display: inline-flex; min-height: var(--touch-target); align-items: center; color: var(--accent-dark); font-weight: 850; text-decoration-thickness: .08em; text-underline-offset: .15em; }
.text-link { display: inline-flex; min-height: var(--touch-target); align-items: center; color: var(--accent-dark); font-weight: 800; }
.row { display: flex; align-items: center; gap: .6rem; }
.between { justify-content: space-between; }
.required-mark { color: var(--danger); }
.errorlist { margin: .2rem 0 0; padding-left: 1.2rem; color: #7f1d1d; font-size: .82rem; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.mobile-only, .mobile-label { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
