/* Results identity kit, shared by the five E / Course Profile pages (archive, event, division, athlete, search;
   owner's choice, 21 Nov 2026). Ported from docs/design-references/results-designs-r3-2026-11-19/shared/identity.css
   and E/variation.css. Markup: src/results/identity.ts (ladder(), searchLadder(), typeGlyph()). Each page links this
   sheet before its own (IDENTITY_STYLESHEET), so a page sheet can still override any rule here.

   - The round-2 type scale (--t-*), set on the Results <main> (resultsPage() in src/results-pages.ts), so every
     page's .xx-page block inherits the same sizes. Page-specific custom properties stay in the page sheets.
   - The type glyphs (.idg) and the level ladder (.idl): Archive › Event › Division › Athlete, or search mode
     (the SEARCH tag, .mode-sep and the archive as the parent link). The yellow (--accent) tag is a fill; the ladder's
     text accents and focus ring use --accent-text (terracotta in light). Below 760 px the names of the dim levels and
     of every ancestor but the parent are visually hidden (their title and the screen-reader text stay). */

.results-main {
  --t-floor: 13px; --t-label: 13px; --t-small: 15px; --t-body: 18px; --t-data: 22px; --t-h3: 26px;
  --t-stat: 40px; --t-h2: 36px; --t-display: 64px; --t-hero: 112px;
}
@media (max-width: 760px) {
  .results-main { --t-body: 17px; --t-data: 19px; --t-h3: 22px; --t-stat: 32px; --t-h2: 28px; --t-display: 42px; --t-hero: 72px; }
}

/* ---------- type glyphs and the level ladder ---------- */
.idg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; vertical-align: -0.14em; }
.idl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 6px; margin: 0; font: 500 var(--t-small)/1.2 var(--sans); }
.idl a, .idl span.lv { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 2px; color: var(--muted-strong); text-decoration: none; }
.idl a:hover { color: var(--text); }
.idl a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.idl a .idg, .idl .lv.dim .idg { font-size: 18px; }
.idl a .idg { color: var(--muted-strong); }
.idl .sep { color: var(--line-strong); font-size: var(--t-small); padding: 0 4px; }
.idl .lv.dim { color: var(--line-strong); }
.idl .now { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px 0 12px; background: var(--accent); color: var(--ink); font: 400 15px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.idl .now .idg { font-size: 22px; stroke-width: 2; }
.idl .mode-sep { width: 1px; height: 28px; background: var(--line); margin: 0 10px; }
@media (max-width: 760px) {
  .idl { gap: 6px 2px; }
  .idl a.past:not(.parent) .nm, .idl .lv.dim .nm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .idl .sep { padding: 0; }
  .idl .now { min-height: 38px; padding: 0 10px 0 9px; gap: 8px; letter-spacing: .06em; }
  .idl .mode-sep { margin: 0 8px; }
}
