/* ── base ────────────────────────────────────────────────────────────────────────────────────
   The things that are true before any component exists: the box model, the page's own type, what
   a bare <a> or <button> looks like, the skip link, and the icon system.

   Two rules here carry more weight than their size suggests. [hidden] is declared !important
   because any component with its own display: would otherwise ignore it — a bug this codebase hit
   repeatedly before the rule existed. And the svg:where(…) rule gives every icon the stroke width
   that renders a 1.5px line at its size, so a 12px chevron and an 18px rail icon have the same
   visual weight.

   Load after tokens, before components.
   ───────────────────────────────────────────────────────────────────────────────────────────── */

  * { box-sizing: border-box; }
  /* 26 tab stops sit between the top of the page and the first row's name link, and a keyboard user
     crosses all of them on every visit. Off-screen until focused, in the app's own chip shape. */
  .skip { position: fixed; z-index: 60; top: 8px; left: 8px; padding: 8px 14px; border-radius: 8px; background: var(--btn); color: #fff; font-size: 14px; font-weight: 520; transform: translateY(-160%); transition: transform .16s ease; }
  .skip:focus { transform: none; }
  body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font);
    font-weight: 440;
    font-size: 15px;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  svg { display: block; flex-shrink: 0; }
  /* Any author `display:` outranks the UA rule for [hidden], so hiding something with the attribute failed
     silently wherever the element had been given one — a bug this file has patched sixteen times, once per
     component. This states it once, so the attribute means what it says everywhere. */
  [hidden] { display: none !important; }

  /* Lucide icons: four sizes by role, one line weight.
     12px = micro (chevrons, clear, pager) | 14px = inline, beside text (chips, search, table)
     16px = standalone icon buttons | 18px = navigation rail.
     Each size gets the stroke-width that renders a 1.5px line (Lucide's "absolute stroke width"),
     so every icon has the same visual weight whatever its size. */
  svg:where(:not(.mark):not([aria-hidden])) { --sz: 16; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: calc(1.5 * 24 / var(--sz)); stroke-linecap: round; stroke-linejoin: round; }
  .chev, .pg svg, .clear svg, .tag button svg, thead th .arr { --sz: 12; width: 12px; height: 12px; }
  .chip > svg:not(.chev), .pill svg, .btn-primary svg, .search-field > svg, .person .ext { --sz: 14; width: 14px; height: 14px; }
  .rail a svg { --sz: 18; width: 18px; height: 18px; }

