* { box-sizing: border-box; }
html { min-width: 320px; background: var(--color-canvas); }
body { margin: 0; min-height: 100vh; color: var(--color-text); background: var(--color-canvas); font: 14px/1.45 var(--font-ui); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 0; box-shadow: var(--focus-ring); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong { letter-spacing: -0.02em; }
h1 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
h2 { font-size: 17px; line-height: 1.2; }
h3 { font-size: 14px; line-height: 1.3; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; flex: 0 0 auto; }
.icon--mark { stroke-width: 1.35; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 30; padding: 10px 12px; color: var(--color-action-ink); background: var(--color-action); border-radius: var(--radius-sm); transform: translateY(-140%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mono { font-family: var(--font-mono); font-size: .88em; letter-spacing: -.02em; }
.overline { color: var(--color-text-faint); font-size: 10px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.fixture-badge { display: inline-block; margin-left: 7px; padding: 2px 5px; color: var(--color-warning); background: var(--color-warning-soft); border-radius: 4px; font-size: 9px; letter-spacing: .08em; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.status-dot--ok { background: var(--color-success); box-shadow: 0 0 0 4px var(--color-success-soft); }
.semantic-success { color: var(--color-success); }
.toast { position: fixed; right: var(--space-6); bottom: var(--space-6); z-index: 20; max-width: min(360px, calc(100vw - 32px)); padding: 12px 14px; color: var(--color-text); background: var(--color-surface-3); border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm); box-shadow: var(--shadow-panel); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
