*, *::before, *::after { box-sizing: border-box; }
html { min-width: 0; scroll-padding-top: 24px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--color-background); color: var(--color-text-primary); font: 400 var(--font-size-base)/1.6 var(--font-family-base); overflow-wrap: anywhere; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }
button, a, input, select, textarea, summary { transition: color var(--duration-fast), background-color var(--duration-fast), border-color var(--duration-fast); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
button:disabled, [aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
h1, h2, h3, p, ul, dl { margin: 0; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(1.875rem, 3vw, 2.625rem); letter-spacing: -.025em; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.0625rem; }
ul { padding-inline-start: 24px; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { flex: 0 0 auto; }
button svg, a svg { pointer-events: none; }
small, .meta { font-size: var(--font-size-sm); color: var(--color-text-muted); }
time, .number { font-variant-numeric: tabular-nums; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: 24px 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; transform: translateY(-160%); background: var(--color-surface); border: 1px solid var(--color-border); padding: 12px 20px; border-radius: var(--radius-sm); }
.skip-link:focus { transform: translateY(0); }
.muted { color: var(--color-text-secondary); }
.text-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: var(--color-accent-hover); }
.pre-line { white-space: pre-line; }
.break-words { overflow-wrap: anywhere; min-width: 0; }
.icon { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
