/* Dubai Hockey: "rink lines and game sheet" identity.
   White ice, goal-line red, blue-line blue, navy ink; monospace for figures and dates. */
:root {
  --ice: #F5F8FB;
  --paper: #FFFFFF;
  --ink: #0E1B2C;
  --ink-2: #3D4B5C;
  --ink-3: #5A6878;
  --red: #B8122B;
  --red-soft: #FBE7EA;
  --blue: #1B4A9C;
  --blue-soft: #E6EEFA;
  --line: #D3DCE6;
  --line-2: #E6ECF2;
  --navy: #0E1B2C;
  --ok: #17603A; --ok-bg: #E2F2E7; --ok-bd: #9FD0B1;
  --no: #9B1326; --no-bg: #FBE7EA; --no-bd: #EBA9B3;
  --ann: #7A4A00; --ann-bg: #FFF2D9; --ann-bd: #E9C27A;
  --unc: #3E4A58; --unc-bg: #E9EEF3; --unc-bd: #B6C2CF;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r: 6px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: .005em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 var(--s4); }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: var(--s7) 0 var(--s3); }
h3 { font-size: 1.3rem; margin: var(--s5) 0 var(--s2); }
p { margin: 0 0 var(--s4); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 700px) { .wrap { padding: 0 var(--s5); } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-3); }
.small { font-size: .95rem; color: var(--ink-2); }
.num { font-family: var(--mono); font-size: .92em; }
.kicker { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); margin: 0 0 var(--s2); }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.label { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: var(--s2); }

/* Signature: rink lines (blue line / red centre line / blue line) */
.rinkline { height: 10px; background:
  linear-gradient(90deg, transparent calc(33% - 4px), var(--blue) calc(33% - 4px) calc(33% + 4px), transparent calc(33% + 4px) calc(50% - 2px), var(--red) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px) calc(67% - 4px), var(--blue) calc(67% - 4px) calc(67% + 4px), transparent calc(67% + 4px)),
  linear-gradient(var(--red), var(--red)) 0 100% / 100% 2px no-repeat, var(--paper); }
.rinkline span { display: none; }

/* Header */
.mast { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; flex-wrap: wrap; padding-top: var(--s2); padding-bottom: var(--s2); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: .01em; min-height: 44px; }
.brand b { color: var(--red); font-weight: 700; }
.brand__mark { width: 36px; height: 36px; color: var(--ink); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: var(--r); }
.nav a:hover { background: var(--blue-soft); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.nav__search svg { width: 18px; height: 18px; }
@media (max-width: 560px) {
  .mast__row { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav { margin-left: -12px; }
  .nav a { padding: 0 10px; font-size: .98rem; }
  .nav__search span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.indep { margin: 0; background: var(--navy); color: #E9EEF5; font-size: .9rem; padding: 6px 0; }
.indep .wrap { display: block; }

/* Footer */
.foot { margin-top: var(--s8); background: var(--paper); border-top: 1px solid var(--line); }
.foot__grid { display: grid; gap: var(--s5); padding-top: var(--s6); padding-bottom: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot__grid { grid-template-columns: 1.4fr 1fr .8fr; } }
.foot__brand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; margin-bottom: var(--s2); }
.foot__brand b { color: var(--red); }
.foot__indep { font-weight: 600; }
.foot__links { list-style: none; margin: 0; padding: 0; }
.foot__links a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); }
.foot__small { font-size: .88rem; color: var(--ink-3); padding-bottom: var(--s5); }

/* Sections */
.section { margin-top: var(--s7); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.section__head h2 { margin-top: 0; }
.section__head > a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
/* headings with a faceoff-dot marker and a blue line */
.h-line { display: flex; align-items: center; gap: 10px; }
.h-line::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--red); margin-right: 4px; }
.page { padding-top: var(--s5); }
.crumbs { font-size: .92rem; color: var(--ink-3); margin-bottom: var(--s4); }
.crumbs a { color: var(--ink-2); display: inline-block; padding: 10px 0; }

/* Hero */
.hero { display: grid; gap: var(--s5); padding-top: var(--s6); align-items: end; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.5fr 1fr; } }
.score { background: var(--navy); color: #fff; border-radius: 10px; padding: var(--s4) var(--s5); border-top: 6px solid var(--red); }
.score__label { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #B9C6D6; margin: 0 0 var(--s3); }
.score dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin: 0 0 var(--s3); }
.score dl div { background: #17283F; border-radius: var(--r); padding: var(--s2); text-align: center; }
.score dt { font-size: .82rem; color: #C9D4E2; }
.score dd { margin: 0; font-family: var(--mono); font-weight: 600; font-size: 1.9rem; line-height: 1.2; color: #fff; }
.score__foot { margin: 0; font-size: .95rem; color: #E1E8F1; }
.score__foot a { color: #fff; }

/* Status chips: text + shape, never colour alone */
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: .84rem; font-weight: 600; line-height: 1.25; padding: 3px 8px; border-radius: 4px; border: 1px solid; white-space: normal; }
.chip svg { width: 11px; height: 11px; flex: none; }
.chip--open { color: var(--ok); background: var(--ok-bg); border-color: var(--ok-bd); }
.chip--closed { color: var(--no); background: var(--no-bg); border-color: var(--no-bd); }
.chip--announced { color: var(--ann); background: var(--ann-bg); border-color: var(--ann-bd); }
.chip--unconfirmed { color: var(--unc); background: var(--unc-bg); border-color: var(--unc-bd); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .9rem; color: var(--ink-2); margin-top: var(--s3); }

/* Filters */
.filters { display: none; gap: var(--s3) var(--s5); flex-wrap: wrap; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: var(--s3) var(--s4); margin-bottom: var(--s3); }
.js .filters { display: flex; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
.filters legend { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding: 0; margin-bottom: 4px; width: 100%; }
.filters label { position: relative; }
.filters input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.filters label span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--ice); font-size: .95rem; cursor: pointer; }
.filters input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.filters__count { margin: 0; font-family: var(--mono); font-size: .88rem; color: var(--ink-2); width: 100%; }

/* The game sheet table */
.sheet-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.sheet { width: 100%; border-collapse: collapse; font-size: .97rem; }
.sheet thead th { background: var(--navy); color: #fff; font-family: var(--mono); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; text-align: left; padding: 10px 12px; border-right: 1px solid #22344C; }
.sheet thead th:first-child { border-left: 4px solid var(--red); }
.sheet tbody th, .sheet td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.sheet tbody tr:nth-child(even) { background: #FAFCFE; }
.sheet tbody th a { font-weight: 700; }
.sheet td small, .compare td small { display: block; font-family: var(--body); font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.sheet td.num { white-space: nowrap; }
.sheet td.num small { white-space: normal; max-width: 18ch; }
.sheet tr[hidden] { display: none; }
@media (max-width: 899px) {
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sheet, .sheet tbody, .sheet tr, .sheet th, .sheet td { display: block; width: 100%; }
  .sheet-wrap { background: transparent; border: 0; border-radius: 0; }
  .sheet tbody tr { background: var(--paper) !important; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 8px; margin-bottom: var(--s3); padding: 6px 0; }
  .sheet tbody th { border: 0; font-size: 1.1rem; padding: 8px 14px 4px; }
  .sheet td { border: 0; position: relative; padding: 4px 14px 4px calc(7.5rem + 22px); min-height: 28px; }
  .sheet td::before { content: attr(data-l); position: absolute; left: 14px; top: 7px; width: 7.5rem; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
  .sheet td.num { white-space: normal; }
  .sheet td.num small { max-width: none; }
}

/* Change log */
.changes { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--blue); }
.changes li { display: grid; grid-template-columns: 7rem 1fr; gap: var(--s3); padding: var(--s3) 0 var(--s3) var(--s4); position: relative; }
.changes li::before { content: ""; position: absolute; left: -8px; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); }
.changes li + li { border-top: 1px dashed var(--line); }
.changes__date { font-family: var(--mono); font-size: .88rem; color: var(--ink-2); padding-top: 2px; }
.changes p { margin: 0; }
.changes__src { font-size: .85rem; color: var(--ink-3); margin-top: 4px !important; }
.changes__src a { color: var(--ink-2); }
@media (max-width: 520px) { .changes li { grid-template-columns: 1fr; gap: 2px; } }

.split { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .split { grid-template-columns: 1.6fr 1fr; } }
.iof { display: grid; gap: var(--s3); }
.iof__card { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: var(--s4); text-decoration: none; color: var(--ink); }
.iof__card:hover { border-color: var(--blue); color: var(--ink); }
.iof__card svg { grid-row: span 2; width: 56px; height: 28px; color: var(--ink); }
.iof__card strong { font-family: var(--display); font-size: 1.3rem; }
.iof__card span { color: var(--ink-2); font-size: .95rem; }

/* Journey: a numbered run of faceoff dots */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: j; }
.journey li { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: var(--s4); display: flex; flex-direction: column; gap: 2px; }
.journey__n { font-family: var(--mono); font-weight: 600; width: 32px; height: 32px; display: inline-grid; place-items: center; border: 2px solid var(--red); color: var(--red); border-radius: 50%; margin-bottom: var(--s2); }
.journey strong { font-family: var(--display); font-size: 1.25rem; margin-bottom: 4px; }
.journey a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; }

/* Kids summary on home */
.kidsum { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.kidsum li { display: grid; grid-template-columns: 1.4fr .8fr 1.6fr; gap: var(--s3); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: var(--s3) var(--s4); align-items: baseline; }
.kidsum a { font-weight: 700; }
.kidsum__age { font-family: var(--mono); font-size: .88rem; color: var(--ink-2); }
.kidsum__fee { font-family: var(--mono); font-size: .9rem; }
@media (max-width: 700px) { .kidsum li { grid-template-columns: 1fr; gap: 2px; } }
.np { display: inline-block; font-family: var(--mono); font-size: .82rem; font-weight: 600; color: var(--unc); background: var(--unc-bg); border: 1px dashed var(--unc-bd); padding: 1px 7px; border-radius: 4px; }

/* Lists of articles */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.list li { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 8px; padding: var(--s4); }
.list .t { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.15; display: block; margin-bottom: var(--s2); }
.list .t:hover { color: var(--red); text-decoration: underline; }
.list p { color: var(--ink-2); font-size: .96rem; margin-bottom: var(--s2); }
.list .d { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }

/* Articles */
.article { padding-top: var(--s5); }
.article__head { max-width: 860px; }
.trust { list-style: none; padding: 0; margin: 0 0 var(--s5); display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: .82rem; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); display: inline-block; }
.layout { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.prose { min-width: 0; max-width: 760px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose h2 { padding-top: var(--s2); border-top: 2px solid var(--line-2); }
.prose h2::before { content: ""; display: block; width: 48px; height: 4px; background: var(--blue); margin: -10px 0 14px; }
.tbl { overflow-x: auto; margin: 0 0 var(--s4); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.tbl table, .prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line-2); }
.tbl thead th { background: var(--ice); font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.tbl tr:last-child td { border-bottom: 0; }
.answer { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: 8px; padding: var(--s4) var(--s5); margin-bottom: var(--s5); }
.answer__label { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: var(--s2); font-weight: 600; }
.answer ul { margin: 0; padding-left: 1.2em; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.toc--inline { margin-bottom: var(--s5); padding: 0 var(--s4); }
.toc--inline summary { min-height: 48px; display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; }
.toc--inline summary span { font-weight: 400; color: var(--ink-3); }
.toc ol { padding-left: 1.3em; margin: 0 0 var(--s3); }
.toc li { padding: 5px 0; line-height: 1.4; }
.toc a { display: inline; }
@media (min-width: 1000px) { .toc--inline { display: none; } }
.series { background: var(--blue-soft); border-radius: 8px; padding: var(--s4); margin-bottom: var(--s5); }
.series__label { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: var(--s2); font-weight: 600; }
.series ol { margin: 0; padding-left: 1.3em; }
.series li { padding: 4px 0; }
.series a { display: inline; }
.series [aria-current] { font-weight: 700; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; margin-bottom: var(--s2); padding: 0 var(--s4); }
.faq summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; padding: 8px 0; }
.faq details[open] summary { border-bottom: 1px solid var(--line-2); margin-bottom: var(--s3); }
.note { background: var(--ann-bg); border: 1px solid var(--ann-bd); border-radius: 8px; padding: var(--s3) var(--s4); font-size: .96rem; margin-top: var(--s5); }
.sources { font-size: .93rem; padding-left: 1.4em; }
.sources li { margin-bottom: 8px; }
.sources span { display: block; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.sources a { overflow-wrap: anywhere; }
.aside { min-width: 0; }
.aside__box { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: var(--s4); margin-bottom: var(--s4); }
.aside__box h2 { font-size: 1.25rem; margin: 0 0 var(--s3); }
.aside__box--line { border-top: 4px solid var(--blue); }
.aside__box--line a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 1000px) { .toc--rail { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; } }
@media (max-width: 999px) { .toc--rail { display: none; } }
.ents { list-style: none; margin: 0; padding: 0; }
.ents li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.ents li:last-child { border-bottom: 0; }
.ents a { font-weight: 600; padding: 6px 0; }
.related { margin-top: var(--s7); }

/* Entity pages */
.ent { max-width: 900px; margin-bottom: var(--s5); }
.ent__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: var(--s2); }
.ent__meta span { border-left: 3px solid var(--red); padding-left: 8px; }
.ent__status { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: var(--s3) var(--s4); margin-bottom: var(--s4); }
.ent__status .chip { font-size: .95rem; padding: 5px 10px; }
.ent__status p { margin: 0; flex: 1 1 280px; }
.facts { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); overflow: hidden; }
.facts div { display: grid; grid-template-columns: minmax(8rem, 30%) 1fr; border-top: 1px solid var(--line-2); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); background: var(--ice); padding: 10px 12px; }
.facts dd { margin: 0; padding: 10px 12px; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; } .facts dt { padding-bottom: 4px; } }
.progs { display: grid; gap: var(--s3); }
.prog { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 8px; padding: var(--s4); }
.prog h3 { margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.prog dl { margin: 0 0 var(--s3); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s3); }
.prog dt { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.prog dd { margin: 0; }
.prog .src { font-size: .88rem; color: var(--ink-3); margin: 0; }
.kind { display: inline-block; font-family: var(--mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 4px; vertical-align: middle; }
.kind--hockey { background: var(--blue-soft); color: var(--blue); }
.kind--skating { background: var(--line-2); color: var(--ink-2); }
.sheet .kind { display: block; width: max-content; margin-top: 4px; }
.fee { font-family: var(--mono); font-size: .92rem; }
.links { list-style: none; padding: 0; }
.links li { padding: 4px 0; }
.links a { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; }
.unv li::marker { content: "?  "; font-family: var(--mono); color: var(--ann); font-weight: 600; }
.bytype { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bytype__col { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: var(--s4); }
.bytype__col h3 { margin-top: 0; }

/* Kids compare tool */
.agefind { display: none; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: var(--s3) var(--s4); margin-bottom: var(--s3); }
.js .agefind { display: flex; }
.agefind label[for="age"] { font-weight: 700; }
.agefind input[type="number"] { font: 600 1.1rem var(--mono); width: 6.5rem; min-height: 44px; padding: 0 10px; border: 2px solid var(--ink-3); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.agefind__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.agefind__toggle input { width: 20px; height: 20px; accent-color: var(--ink); }
.sheet--compare td:nth-child(5) { min-width: 14ch; }
.pathway { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pathway li { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: var(--s4); display: flex; flex-direction: column; gap: 4px; position: relative; }
.pathway__n { font-family: var(--mono); font-weight: 600; color: var(--blue); }
.pathway strong { font-family: var(--display); font-size: 1.2rem; }
.pathway span:not(.pathway__n) { color: var(--ink-2); font-size: .95rem; }
.pathway a { margin-top: auto; font-weight: 600; display: inline-flex; min-height: 40px; align-items: center; }

/* Search */
.search label { display: block; font-weight: 700; margin-bottom: 6px; }
.search input { width: 100%; max-width: 560px; min-height: 48px; font: 1.05rem var(--body); padding: 0 14px; border: 2px solid var(--ink-3); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.finder__count { font-family: var(--mono); font-size: .9rem; color: var(--ink-2); margin-top: var(--s3); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .mast nav, .filters, .agefind, .aside, .foot { display: none; } body { background: #fff; } }
@media (max-width: 420px) { .sheet td { padding-left: calc(6.2rem + 20px); } .sheet td::before { width: 6.2rem; } }
