* { box-sizing: border-box; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-sans); font-size: 1rem; line-height: 1.65; }
button, input, select, textarea { font: inherit; }
button, summary, select { cursor: pointer; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button:disabled { cursor: not-allowed; opacity: .65; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 1.55rem; line-height: 1.35; letter-spacing: -.03em; }
h2 { font-size: 1rem; line-height: 1.5; }
h3 { font-size: 1rem; }
img { max-width: 100%; height: auto; }
input, select { min-height: 40px; min-width: 0; padding: 7px 11px; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
select { appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%2363728a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
[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: absolute; top: -100px; left: 16px; z-index: 10; background: white; padding: 12px; }
.skip-link:focus { top: 8px; }
.numeric { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.meta { font-size: .8rem; color: var(--color-muted); }
.positive { color: var(--color-positive); }
.negative { color: var(--color-negative); }
@media (pointer: coarse) { button, select, .button, summary { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
