/* Base: reset and typography (element-map §1.5–1.6). No radius, no shadows anywhere. */

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:hover { color: var(--accent-strong); }

table { border-collapse: collapse; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }

/* Keyboard focus: accent outline, the only colour the palette allows for an active state. */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Native controls hidden under drawn ones (toggle, checkbox) — opacity 0 is the one exception in element-map §1.1. */
.sr-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { display: block; flex-shrink: 0; }
.logo { display: block; flex-shrink: 0; }

[hidden] { display: none !important; }
