/* learn.ncslsc.com — one stylesheet for every public page.
   Tokens mirror the club theme (theme.css v2.1) and Hub award colours
   (pwa/lib/award-colors.js). Do not add colours or sizes outside this file. */

:root {
  /* brand */
  --ocean: #0B2B56;
  --surf: #2A5DAA;
  --sand: #FFDD00;
  --reef: #75CF96;
  --foam: #E5E5E5;
  --canvas: #F5F8FE;
  --white: #FFFFFF;
  --muted: #506995;
  --line: #DDE3EC;
  /* awards (chip colours, Hub award-colors.js) */
  --bm: #7C4A1E;
  --src: #0B7B6A;
  --art: #1A6B3A;
  --smc: #4A2580;
  --irb: #C45220;
  --gen: #2A5DAA;
  /* status */
  --ok: #166534;   --ok-bg: #DCFCE7;
  --warn: #92400E; --warn-bg: #FEF3C7;
  --bad: #991B1B;  --bad-bg: #FEE2E2;
  /* type: 16 base; 14 / 18 / 20 / 24 / 32 */
  --t-sm: 0.875rem; --t-base: 1rem; --t-lg: 1.125rem; --t-xl: 1.25rem; --t-2xl: 1.5rem; --t-3xl: 2rem;
  /* space: 4-based */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px;
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --shadow: 0 1px 3px rgb(11 43 86 / 0.10), 0 1px 2px rgb(11 43 86 / 0.06);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--white); }
.lp { font-family: Outfit, system-ui, sans-serif; font-size: var(--t-base); line-height: 1.5; color: var(--ocean); background: var(--white); min-height: 100vh; display: flex; flex-direction: column; }
.lp a { color: var(--surf); text-underline-offset: 3px; }
.lp a:hover { color: var(--ocean); }
.lp :focus-visible { outline: 3px solid var(--surf); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--s6); }
.muted { color: var(--muted); }
.sm { font-size: var(--t-sm); }

/* ---------- top bar (identical on every page) ---------- */
.top { background: var(--ocean); color: var(--white); }
.top .wrap { display: flex; align-items: center; gap: var(--s6); min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: var(--s3); color: var(--white) !important; text-decoration: none; font-weight: 600; font-size: var(--t-lg); }
.brand img { height: 36px; width: auto; display: block; }
.brand span { padding-left: var(--s3); border-left: 1px solid rgb(255 255 255 / .3); }
.nav { display: flex; gap: var(--s6); margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; padding: var(--s2) 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sand); }
.top :focus-visible { outline-color: var(--sand); }

/* ---------- page head ---------- */
.head { background: var(--white); border-bottom: 1px solid var(--line); }
.head .wrap { padding-top: var(--s8); padding-bottom: var(--s8); display: flex; flex-direction: column; gap: var(--s3); }
.crumbs { font-size: var(--t-sm); color: var(--muted); }
.crumbs a { color: var(--muted); }
.head h1 { margin: 0; font-size: var(--t-3xl); line-height: 1.15; font-weight: 700; max-width: 22ch; }
.lede { margin: 0; font-size: var(--t-lg); color: var(--muted); max-width: 60ch; }
.meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); font-size: var(--t-sm); color: var(--muted); }

/* ---------- layout ---------- */
.body { flex: 1; }
.body > .wrap { padding-top: var(--s8); padding-bottom: var(--s12); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s8); align-items: start; }
.stack { display: flex; flex-direction: column; gap: var(--s4); }
.stack-lg { display: flex; flex-direction: column; gap: var(--s8); }
.aside { display: flex; flex-direction: column; gap: var(--s6); position: sticky; top: var(--s4); }
@media screen and (max-width: 900px) { .cols { grid-template-columns: 1fr; } .aside { position: static; } .nav { display: none; } }

h2.sec { margin: 0; font-size: var(--t-xl); font-weight: 700; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s6); border-radius: var(--r-md); border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; background: var(--ocean); color: var(--sand) !important; transition: background .15s, color .15s; }
.btn:hover { background: var(--surf); color: var(--white) !important; }
.btn.ghost { background: var(--white); color: var(--ocean) !important; box-shadow: inset 0 0 0 2px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--surf); background: var(--white); }
.btn.sm { min-height: 44px; padding: 0 var(--s4); }
.btn[aria-disabled="true"] { background: var(--foam); color: var(--muted) !important; pointer-events: none; }
.btn svg, .ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s2); border-radius: var(--r-sm); font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; color: var(--white); background: var(--gen); white-space: nowrap; }
.chip.out { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.chip.bm { background: var(--bm); } .chip.src { background: var(--src); } .chip.art { background: var(--art); } .chip.smc { background: var(--smc); } .chip.irb { background: var(--irb); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s2); }
.filter { min-height: 40px; padding: 0 var(--s4); border-radius: var(--r-md); border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--white); color: var(--ocean); font: inherit; font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ocean); color: var(--white); box-shadow: none; }
.filter .n { color: var(--muted); font-weight: 400; margin-left: var(--s1); }
.filter[aria-pressed="true"] .n { color: rgb(255 255 255 / .7); }

/* ---------- panels and lists ---------- */
.panel { background: var(--tint, var(--white)); border-radius: var(--r-lg); }
.panel.pad { padding: var(--s6); }
.panel h3 { margin: 0 0 var(--s2); font-size: var(--t-lg); font-weight: 700; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li + li { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s6); }
.row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row .title { font-weight: 600; font-size: var(--t-lg); color: var(--ocean); text-decoration: none; }
a.row { text-decoration: none; color: inherit; }
a.row:hover .title { color: var(--surf); text-decoration: underline; }
.row.past { opacity: .5; }
.date { flex: none; width: 56px; text-align: center; line-height: 1.1; }
.date b { display: block; font-size: var(--t-2xl); }
.date span { font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.status { font-size: var(--t-sm); font-weight: 600; }
.status.ok { color: var(--ok); } .status.warn { color: var(--warn); } .status.bad { color: var(--bad); }

/* ---------- steps (journey, SMC, guide) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; padding-left: 56px; }
.step + .step { margin-top: var(--s2); }
.step::before { content: ""; position: absolute; left: 19px; top: 48px; bottom: -8px; width: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step .num { position: absolute; left: 0; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--white); box-shadow: inset 0 0 0 2px var(--tint-edge, var(--line)); transition: background .2s, box-shadow .2s; }
.step.done .num { background: var(--ok); color: var(--white); box-shadow: none; }
.step .card { background: var(--tint, var(--white)); border-radius: var(--r-lg); }
.step.open .card { box-shadow: inset 0 0 0 2px var(--ocean); }
.step .toggle { width: 100%; display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s6); min-height: 64px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.step .toggle .grow { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.step .toggle .t { font-size: var(--t-lg); font-weight: 600; }
.step .chev { transition: transform .2s var(--ease); color: var(--muted); }
.step.open .chev { transform: rotate(180deg); }
.step .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s var(--ease); }
.step .more > div { overflow: hidden; min-height: 0; }
.step.open .more { grid-template-rows: 1fr; }
.step .inner { padding: 0 var(--s6) var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.step ol.todo { margin: 0; padding-left: 1.25em; display: flex; flex-direction: column; gap: var(--s2); font-size: var(--t-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.where { font-size: var(--t-sm); color: var(--muted); }

/* ---------- callouts ---------- */
.note { border-radius: var(--r-md); padding: var(--s3) var(--s4); background: var(--canvas); font-size: var(--t-base); }
.note b { color: var(--ocean); }
.note.warn { background: var(--warn-bg); }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s3); }
.opt { text-align: left; padding: var(--s4); border-radius: var(--r-md); border: 0; box-shadow: inset 0 0 0 2px var(--line); background: var(--white); font: inherit; color: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-height: 72px; }
.opt b { font-size: var(--t-lg); }
.opt[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ocean); background: var(--canvas); }

/* ---------- progress ---------- */
.bar { height: 8px; border-radius: 99px; background: var(--foam); overflow: hidden; }
.bar > span { display: block; height: 100%; background: var(--ok); border-radius: 99px; transition: width .4s var(--ease); }

/* ---------- search ---------- */
.search { display: flex; align-items: center; gap: var(--s3); background: var(--white); border-radius: var(--r-md); box-shadow: inset 0 0 0 2px var(--line); padding: 0 var(--s4); min-height: 56px; }
.search:focus-within { box-shadow: inset 0 0 0 2px var(--surf); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: var(--t-lg); background: transparent; color: var(--ocean); min-height: 52px; }

/* ---------- footer (identical on every page) ---------- */
.foot { background: var(--ocean); color: var(--white); margin-top: auto; }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s6); padding-top: var(--s8); padding-bottom: var(--s8); font-size: var(--t-sm); }
.foot a { color: var(--white); }
.foot b { display: block; font-size: var(--t-base); margin-bottom: var(--s1); }
.foot .ack { grid-column: 1 / -1; padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / .2); color: #C9D6EA; }

@media (prefers-reduced-motion: reduce) { .lp * { transition: none !important; animation: none !important; } }
.faq .step::before{display:none}

/* ---------- content-type tints: ONE meaning each, used everywhere ----------
   course (Bronze / SRC) = award tint · SMC = purple tint · guide = blue tint
   how-to for outside systems = sand tint · club info / help = grey tint      */
.t-bm    { --tint: #F7EEE5; --tint-edge: #E4CDB8; }
.t-src   { --tint: #E3F2EF; --tint-edge: #B5DCD4; }
.t-smc   { --tint: #F0EBF8; --tint-edge: #D3C6EA; }
.t-guide { --tint: #EAF1FB; --tint-edge: #C3D5F0; }
.t-howto { --tint: #FFF6CF; --tint-edge: #EBDB8E; }
.t-info  { --tint: #F1F3F6; --tint-edge: #D9DEE6; }
.chip.guide { background: var(--surf); } .chip.howto { background: var(--sand); color: var(--ocean); }

/* ---------- bento home ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4); }
.tile { grid-column: span 4; background: var(--tint, var(--white)); border-radius: var(--r-lg); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); min-width: 0; }
.tile.w8 { grid-column: span 8; } .tile.w6 { grid-column: span 6; } .tile.w12 { grid-column: span 12; }
.tile.tall { grid-row: span 2; }
.tile h2 { margin: 0; font-size: var(--t-2xl); line-height: 1.15; }
.tile h3 { margin: 0; font-size: var(--t-xl); }
.tile .k { display: flex; align-items: center; gap: var(--s2); }
.tile .push { margin-top: auto; }
.tile .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s var(--ease); }
.tile .more > div { overflow: hidden; min-height: 0; }
.tile.open .more { grid-template-rows: 1fr; }
.tile .disc { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s1); border: 0; background: none; padding: var(--s2) 0; font: inherit; font-weight: 600; color: var(--ocean); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tile.open .disc .chev { transform: rotate(180deg); }
.tile .disc .chev { transition: transform .2s var(--ease); }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: var(--s2) 0; border-top: 1px solid var(--tint-edge, var(--line)); display: flex; gap: var(--s3); align-items: baseline; }
.mini li span.n { font-weight: 700; color: var(--muted); width: 1.2em; }
.sys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.sys a { display: block; background: var(--white); border-radius: var(--r-md); padding: var(--s3); text-decoration: none; color: var(--ocean); font-weight: 600; }
.sys a span { display: block; font-weight: 400; font-size: var(--t-sm); color: var(--muted); }
.sys a:hover { box-shadow: inset 0 0 0 2px var(--ocean); color: var(--ocean); }
@media screen and (max-width: 900px) { .tile, .tile.w8, .tile.w6 { grid-column: span 12; } .tile.tall { grid-row: auto; } }
.tile.w3 { grid-column: span 3; }
@media screen and (max-width: 900px) { .tile.w3 { grid-column: span 12; } }

/* ---------- header v2: brand left · nav centred · search right; phone = hamburger sheet ---------- */
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); min-height: 64px; }
.top .nav { margin: 0; justify-self: center; }
.tools { justify-self: end; display: flex; align-items: center; gap: var(--s2); }
details.find, details.menu { position: relative; }
details.find > summary, details.menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); color: var(--white); }
details.find > summary::-webkit-details-marker, details.menu > summary::-webkit-details-marker { display: none; }
details.find > summary:hover, details.menu > summary:hover { background: rgb(255 255 255 / .12); }
details.find > summary .ico, details.menu > summary .ico { width: 22px; height: 22px; }
.findbox { position: absolute; right: 0; top: 52px; width: 420px; background: var(--white); color: var(--ocean); border-radius: var(--r-lg); box-shadow: 0 20px 48px -8px rgb(11 43 86 / .28); padding: var(--s4); z-index: 30; display: flex; flex-direction: column; gap: var(--s3); }
.findbox a { color: var(--surf); }
details.menu { display: none; }
details[open] .i-open, details:not([open]) .i-close { display: none; }
.sheet { position: fixed; inset: 0; background: var(--ocean); color: var(--white); padding: 88px var(--s6) var(--s6); display: flex; flex-direction: column; gap: var(--s6); overflow: auto; z-index: 40; }
details.menu > summary { position: relative; z-index: 41; }
.sheet .search { box-shadow: none; }
.sheet nav a { display: flex; justify-content: space-between; align-items: center; padding: var(--s4) 0; border-bottom: 1px solid rgb(255 255 255 / .2); color: var(--white); text-decoration: none; font-size: var(--t-2xl); font-weight: 700; }
.sheet nav a[aria-current="page"] { color: var(--sand); }
.sheet .small { margin-top: auto; display: flex; flex-direction: column; gap: var(--s2); font-size: var(--t-sm); }
.sheet .small a { color: #C9D6EA; }
@media screen and (max-width: 900px) {
  .top .wrap { grid-template-columns: 1fr auto; }
  .top .nav, details.find { display: none; }
  details.menu { display: block; }
}
.tabs { display: flex; gap: var(--s6); border-bottom: 1px solid var(--line); margin-top: var(--s2); }
.tabs a { padding: var(--s3) 0; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ocean); border-bottom-color: var(--ocean); }
.privacy h2 { margin: var(--s6) 0 var(--s2); font-size: var(--t-xl); }
.privacy p, .privacy li { max-width: 68ch; }
.tile .see { font-weight: 600; }
.t-welcome { --tint: #E6F6EC; --tint-edge: #B7E3C6; }
.chip.welcome { background: var(--ocean); }

/* ---------- A4 print documents (generated from the same content as the web page) ---------- */
.pack { background: #D9DEE6; padding: 24px 0; display: flex; flex-direction: column; align-items: center; gap: 24px; font-family: Outfit, system-ui, sans-serif; color: var(--ocean); }
.a4 { width: 794px; height: 1123px; background: var(--white); position: relative; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgb(11 43 86 / .15); }
.a4 .pg { flex: 1; padding: 48px 56px 24px; display: flex; flex-direction: column; gap: 18px; }
.a4 h1 { margin: 0; font-size: 36px; line-height: 1.1; }
.a4 h2 { margin: 0; font-size: 24px; }
.a4 h3 { margin: 0; font-size: 17px; }
.a4 p, .a4 li { font-size: 14px; line-height: 1.5; margin: 0; }
.a4 .band { background: var(--ocean); color: var(--white); padding: 20px 56px; display: flex; align-items: center; gap: 16px; }
.a4 .band img.logo { height: 40px; }
.a4 .band .t { font-weight: 700; font-size: 18px; }
.a4 .band .chip { margin-left: auto; }
.a4 .foot2 { padding: 12px 56px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .06em; color: var(--muted); }
.a4 .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.a4 .box { background: var(--tint, var(--canvas)); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.a4 ul, .a4 ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.a4 .tick { list-style: none; padding: 0; gap: 10px; }
.a4 .tick li { display: flex; gap: 12px; align-items: flex-start; }
.a4 .tick li::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--ocean); border-radius: 4px; margin-top: 1px; }
.a4 .tick b { display: block; font-size: 15px; }
.qrb { display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 12px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.qrb img { width: 84px; height: 84px; }
.qrb span { font-size: 12px; line-height: 1.35; }
.qrb b { display: block; font-size: 13px; }
.a4.cover { background: var(--ocean); color: var(--white); }
.a4.cover .pg { justify-content: space-between; padding: 64px 56px; }
.a4.cover h1 { font-size: 48px; }
.a4.cover .qrb { color: var(--ocean); align-self: flex-start; padding: 16px; }
.a4.cover .qrb img { width: 140px; height: 140px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; }
.values span { border: 1px solid rgb(255 255 255 / .5); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
@media print { .pack { background: none; padding: 0; gap: 0; } .a4 { box-shadow: none; page-break-after: always; } @page { size: A4; margin: 0; } }

/* ---------- v3 tint language: how-to = reef green, White Cap Welcome = gold ---------- */
.t-howto { --tint: #E6F6EC; --tint-edge: #B7E3C6; }
.chip.howto { background: var(--reef); color: var(--ocean); }
.t-welcome { --tint: #FFF4BF; --tint-edge: #EBD36A; }
.chip.welcome { background: var(--ocean); color: var(--sand); }
.gold { --tint: #FFE873; --tint-edge: #D9B800; background: var(--tint); }
/* passport stamps */
.dots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(11 43 86 / .35); }
.dots i.on { background: var(--ocean); box-shadow: none; }
.passport { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s3); }
.stamp { border: 0; background: var(--white); border-radius: var(--r-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; font: inherit; color: var(--ocean); cursor: pointer; min-height: 132px; box-shadow: inset 0 0 0 2px var(--tint-edge, var(--line)); }
.stamp .seal { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgb(11 43 86 / .35); font-weight: 700; color: var(--muted); transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .2s; }
.stamp .seal .ico { width: 24px; height: 24px; }
.stamp.on .seal { background: var(--ocean); color: var(--sand); box-shadow: none; transform: rotate(-8deg); }
.stamp b { font-size: var(--t-sm); line-height: 1.3; }
.stamp.on b { color: var(--ocean); }
.toc { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--t-sm); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); background: var(--white); border-radius: var(--r-md); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--canvas); font-weight: 700; }
.a4 .tbl { font-size: 12px; }
.a4 .stampbox { border: 2px dashed var(--tint-edge); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 104px; background: var(--white); }
.a4 .stampbox b { font-size: 13px; line-height: 1.25; }
.a4 .stampbox .sig { margin-top: auto; border-top: 1px solid var(--line); padding-top: 4px; font-size: 9px; letter-spacing: .06em; color: var(--muted); }
.a4 .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }

/* ---------- Rookie season (White Cap Welcome) ---------- */
.band-sec { padding: var(--s12) 0; }
.band-sec.alt { background: var(--canvas); }
.band-sec.dark { background: var(--ocean); color: var(--white); }
.band-sec.dark a { color: var(--sand); }
.band-sec h2 { margin: 0 0 var(--s2); font-size: var(--t-2xl); }
.band-sec .sub { margin: 0 0 var(--s6); color: var(--muted); max-width: 60ch; }
.band-sec.dark .sub { color: #C9D6EA; }
.scene { position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(#BFE6FB 0 44%, #3B97D9 44% 60%, #F2DEA6 60%); }
.scene .wave { position: absolute; left: 0; right: 0; height: 3%; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .7) 0 6%, transparent 6% 9%); }
.piece { position: absolute; transition: opacity .3s, filter .3s, transform .3s; transform-origin: bottom center; }
.piece svg { display: block; width: 100%; height: auto; overflow: visible; }
.piece.off { opacity: .22; filter: grayscale(1); }
.piece.on { animation: plant .45s cubic-bezier(.3,1.6,.5,1) both; }
.piece.focus { filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 2px var(--ocean)); opacity: 1; }
@keyframes plant { from { transform: translateY(12%) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.rookie { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s6); align-items: stretch; }
.upnext { background: var(--white); border-radius: var(--r-lg); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s3); box-shadow: inset 0 0 0 2px var(--ocean); }
.upnext .eyebrow { font-size: var(--t-sm); font-weight: 700; color: var(--muted); }
.upnext h3 { margin: 0; font-size: var(--t-2xl); line-height: 1.15; }
.upnext .bigico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ocean); }
.upnext .bigico .ico { width: 28px; height: 28px; }
.upnext ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--s1); }
.meter { display: flex; align-items: center; gap: var(--s3); font-weight: 700; }
.meter .bar { flex: 1; background: rgb(11 43 86 / .15); }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s3); }
.mtile { border: 0; background: var(--white); border-radius: var(--r-lg); padding: var(--s4); text-align: left; font: inherit; color: var(--ocean); cursor: pointer; display: flex; flex-direction: column; gap: var(--s2); min-height: 120px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, transform .15s; }
.mtile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--surf); }
.mtile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ocean); }
.mtile .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--canvas); color: var(--ocean); }
.mtile.done .ic { background: var(--ok); color: var(--white); }
.mtile b { font-size: var(--t-base); line-height: 1.25; }
.mtile small { color: var(--muted); }
.mtile.done small { color: var(--ok); font-weight: 600; }
.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--s3); }
.icons div { background: var(--white); border-radius: var(--r-md); padding: var(--s4) var(--s3); display: flex; flex-direction: column; align-items: center; gap: var(--s2); text-align: center; font-weight: 600; font-size: var(--t-sm); box-shadow: inset 0 0 0 1px var(--line); }
.icons .ico { width: 28px; height: 28px; color: var(--surf); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.stats div { background: var(--white); border-radius: var(--r-lg); padding: var(--s6); box-shadow: inset 0 0 0 1px var(--line); }
.stats b { display: block; font-size: 2rem; line-height: 1; margin-bottom: var(--s2); }
.feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s4); }
.feat a, .feat div.f { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r-lg); background: rgb(255 255 255 / .08); color: var(--white); text-decoration: none; }
.feat a:hover { background: rgb(255 255 255 / .16); color: var(--white); }
.feat .ico { width: 28px; height: 28px; flex: none; color: var(--sand); }
.feat b { display: block; margin-bottom: 2px; }
.feat span { font-size: var(--t-sm); color: #C9D6EA; }
.awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s3); }
.awards a { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s4); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ocean); }
.awards a:hover { box-shadow: inset 0 0 0 2px var(--surf); color: var(--ocean); }
.awards b { font-size: var(--t-lg); }
.awards span { font-size: var(--t-sm); color: var(--muted); }
.need { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.need > div { display: flex; gap: var(--s3); align-items: flex-start; }
.need .ico { width: 32px; height: 32px; flex: none; color: var(--surf); }
.need h3 { margin: 0 0 var(--s1); font-size: var(--t-lg); }
.need p { margin: 0; }
.ministrip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.ministrip span { aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; background: rgb(11 43 86 / .1); color: rgb(11 43 86 / .45); }
.ministrip span .ico { width: 70%; height: 70%; }
.ministrip span.on { background: var(--ocean); color: var(--sand); }
@media screen and (max-width: 900px) { .rookie { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } }
.a4 .mbox { border: 2px dashed var(--tint-edge); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; background: var(--white); min-height: 118px; }
.a4 .mbox .ico { width: 22px; height: 22px; color: var(--surf); }
.a4 .mbox b { font-size: 13px; line-height: 1.2; }
.a4 .mbox i { font-style: normal; font-size: 10px; color: var(--muted); }
.a4 .mbox .sig { margin-top: auto; border-top: 1px solid var(--line); padding-top: 4px; font-size: 9px; letter-spacing: .06em; color: var(--muted); }

/* ---------- Rookie season v2: one tap per milestone ---------- */
.rk-head { display: flex; gap: var(--s6); align-items: center; flex-wrap: wrap; }
.ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--ocean) calc(var(--p) * 1%), rgb(11 43 86 / .12) 0); transition: background .4s; }
.ring > span { width: 92px; height: 92px; border-radius: 50%; background: var(--tint, var(--white)); display: grid; place-items: center; text-align: center; line-height: 1; }
.ring b { font-size: 2rem; display: block; }
.ring small { font-size: var(--t-sm); color: var(--muted); }
.level { font-size: var(--t-2xl); font-weight: 700; margin: 0; }
.rk { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.rk-card { position: relative; background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--tint-edge, var(--line)); display: flex; flex-direction: column; overflow: hidden; transition: background .25s, box-shadow .25s; }
.rk-card .tap { display: flex; gap: var(--s3); align-items: center; width: 100%; padding: var(--s4); border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 72px; }
.rk-card .box { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px rgb(11 43 86 / .3); color: var(--ocean); transition: background .2s, transform .3s cubic-bezier(.3,1.8,.5,1); }
.rk-card .box .ico { width: 20px; height: 20px; }
.rk-card .tap b { flex: 1; font-size: var(--t-lg); line-height: 1.2; }
.rk-card .tip { padding: 0 var(--s4) var(--s4) calc(var(--s4) + 40px + var(--s3)); font-size: var(--t-sm); color: var(--muted); display: flex; flex-direction: column; gap: var(--s1); }
.rk-card .tip a { font-weight: 600; }
.rk-card .cheer { position: absolute; right: var(--s4); top: var(--s3); font-size: var(--t-sm); font-weight: 700; color: var(--sand); opacity: 0; transform: translateY(6px) rotate(-6deg); transition: opacity .25s, transform .35s cubic-bezier(.3,1.8,.5,1); }
.rk-card.done { background: var(--ocean); box-shadow: none; }
.rk-card.done .tap, .rk-card.done .tip { color: var(--white); }
.rk-card.done .tip a { color: var(--sand); }
.rk-card.done .box { background: var(--sand); box-shadow: none; transform: scale(1.1) rotate(-8deg); }
.rk-card.done .cheer { opacity: 1; transform: none; }
.rk-card.done .tip { opacity: .75; }
@media (prefers-reduced-motion: reduce) { .rk-card .box, .rk-card .cheer, .ring { transition: none; } }

/* ---------- Award tones (Hub pwa/lib/award-colors.js) ---------- */
.tone-bronze  { --ac: #7C4A1E; --af: #fff; }
.tone-gold    { --ac: #B8860B; --af: #0B2B56; }
.tone-teal    { --ac: #0B7B6A; --af: #fff; }
.tone-green   { --ac: #1A6B3A; --af: #fff; }
.tone-orange  { --ac: #C45220; --af: #fff; }
.tone-silver  { --ac: #4A5568; --af: #fff; }
.tone-black   { --ac: #1C1C1E; --af: #fff; }
.tone-pink    { --ac: #9B2560; --af: #fff; }
.tone-crimson { --ac: #7A1A1A; --af: #fff; }
.tone-purple  { --ac: #4A2580; --af: #fff; }
.tone-blue    { --ac: #2A5DAA; --af: #fff; }
.chip.gold { background: #B8860B; color: var(--ocean); } .chip.silver { background: #4A5568; } .chip.black { background: #1C1C1E; } .chip.pink { background: #9B2560; } .chip.crimson { background: #7A1A1A; }
.awards .aw { position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5, 20px) var(--s4) var(--s4); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ocean);
  background: color-mix(in srgb, var(--ac) 11%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 30%, #fff); transition: transform .15s, box-shadow .15s; }
.awards .aw::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--ac); }
.awards a.aw:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ac); color: var(--ocean); }
.awards .aw .chip { align-self: flex-start; background: var(--ac); color: var(--af); }
.awards .aw b { font-size: var(--t-lg); line-height: 1.25; }
.awards .aw .aw-meta { font-size: var(--t-sm); color: var(--ocean); opacity: .8; }
.awards .aw .aw-go { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: color-mix(in srgb, var(--ac) 75%, var(--ocean)); display: inline-flex; gap: 4px; align-items: center; }
.awards .aw .aw-go .ico { width: 14px; height: 14px; }

/* ---------- Patrolling with photo ---------- */
.photo { width: 100%; height: 100%; min-height: 220px; object-fit: cover; border-radius: var(--r-lg); display: block; }
.pat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); align-items: stretch; }
.pat .stats { grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.pat .stats .key { grid-column: 1 / -1; background: var(--sand); box-shadow: none; }
.pat .stats .key b { font-size: 3rem; }

/* ---------- Life at the club bento ---------- */
.lb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 150px; gap: var(--s3); }
.lt { position: relative; border-radius: var(--r-lg); padding: var(--s4); display: flex; flex-direction: column; gap: 2px; text-decoration: none; overflow: hidden; color: var(--white); transition: transform .15s; }
a.lt:hover { transform: translateY(-2px); }
.lt-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .16); margin-bottom: auto; }
.lt-ic .ico { width: 20px; height: 20px; }
.lt-big { font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.lt-t { font-weight: 700; }
.lt-d { font-size: var(--t-sm); opacity: .85; }
.lb .lt:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.lb .lt:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.lb .lt:nth-child(3), .lb .lt:nth-child(4), .lb .lt:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.lb .lt:nth-child(6), .lb .lt:nth-child(7) { grid-column: span 3; }
.lb .lt:nth-child(6) .lt-ic, .lb .lt:nth-child(7) .lt-ic { position: absolute; right: var(--s4); top: var(--s4); }
.lb .lt:nth-child(6) .lt-big, .lb .lt:nth-child(7) .lt-big { font-size: 1.25rem; margin-top: auto; }
.lt-photo { background: var(--ocean) center / cover no-repeat; justify-content: flex-end; }
.lt-photo .lt-big { font-size: 2.5rem; }
.lt-sand { background: var(--sand); color: var(--ocean); }
.lt-sand .lt-ic, .lt-reef .lt-ic, .lt-white .lt-ic { background: rgb(11 43 86 / .1); }
.lt-sand .lt-big { font-size: 2.5rem; }
.lt-reef { background: var(--reef); color: var(--ocean); }
.lt-blue { background: var(--surf); }
.lt-glass { background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.lt-white { background: var(--white); color: var(--ocean); }
.band-sec.dark a.lt-sand, .band-sec.dark a.lt-white, .band-sec.dark a.lt-reef { color: var(--ocean); }
.band-sec.dark a.lt-glass, .band-sec.dark a.lt-blue { color: var(--white); }

/* ---------- Surf sports ---------- */
.sp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-bottom: var(--s6); }
.sp-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s4); }
.sports { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s3); }
.sp { display: flex; flex-direction: column; gap: 2px; padding: var(--s4); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ocean); transition: transform .15s, box-shadow .15s; }
a.sp:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--surf); color: var(--ocean); }
.sp-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #EAF1FB; color: var(--surf); margin-bottom: var(--s2); }
.sp-ic .ico { width: 24px; height: 24px; }
.sp b { font-size: var(--t-lg); }
.sp span:not(.sp-ic) { font-size: var(--t-sm); font-weight: 600; color: var(--surf); }
.sp small { font-size: .75rem; color: var(--muted); word-break: break-all; }
.sports .sp:nth-child(1) .sp-ic { background: #E3F2EF; color: #0B7B6A; }
.sports .sp:nth-child(2) .sp-ic { background: #F7EEE5; color: #7C4A1E; }
.sports .sp:nth-child(3) .sp-ic { background: #FFF4BF; color: var(--ocean); }
.sports .sp:nth-child(4) .sp-ic { background: #E6F6EC; color: #1A6B3A; }
.sports .sp:nth-child(5) .sp-ic { background: #F0EBF8; color: #4A2580; }
.sports .sp:nth-child(6) .sp-ic { background: #FBE9E1; color: #C45220; }
@media screen and (max-width: 900px) {
  .pat, .sp-grid { grid-template-columns: 1fr; }
  .lb { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .lb .lt { grid-column: span 1 !important; grid-row: auto !important; min-height: 150px; }
  .lb .lt:nth-child(1), .lb .lt:nth-child(2) { grid-column: 1 / -1 !important; min-height: 200px; }
  .lb .lt:nth-child(6) .lt-ic, .lb .lt:nth-child(7) .lt-ic { position: static; }
}

/* ---------- SMC on-the-day checklist ---------- */
.chk { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s3); background: var(--tint, var(--canvas)); box-shadow: none; }
.ck { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4) 0 var(--s3); border: 0; border-radius: 999px; background: var(--white); color: var(--ocean); font: inherit; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s; }
.ck .cb { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--muted); color: transparent; transition: background .15s, transform .25s cubic-bezier(.3,1.8,.5,1); }
.ck .cb .ico { width: 16px; height: 16px; stroke-width: 3; }
.ck.on { background: var(--ocean); color: var(--white); box-shadow: none; }
.ck.on .cb { background: var(--sand); color: var(--ocean); box-shadow: none; transform: scale(1.08); }
.ck:focus-visible { outline: 3px solid var(--surf); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ck .cb, .awards .aw, .lt, .sp { transition: none; } }

/* ---------- A4 pack v3: filled pages ---------- */
.a4 .pg { padding: 32px 44px 20px; gap: 14px; }
.a4 .band { padding: 16px 44px; }
.a4 .foot2 { padding: 10px 44px; }
.a4 .fill { flex: 1; min-height: 0; }
.a4 .ph { width: 100%; object-fit: cover; border-radius: 12px; display: block; background: center / cover no-repeat; }
.a4 .box.gold { background: #FFF4BF; }
.a4 .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.a4 .three h2 { font-size: 30px; }
.a4 .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.a4 .two.fill { grid-auto-rows: 1fr; }
.a4 .rows3 { grid-template-rows: repeat(3, 1fr); }
.a4 .qrow { display: flex; gap: 16px; }
.a4 .qrow .qrb { flex: 1; }
.a4 .vals { display: flex; flex-wrap: wrap; gap: 6px; }
.a4 .vals span { background: var(--ocean); color: var(--sand); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.a4 .toc2 { list-style: none; padding: 0; counter-reset: t; gap: 10px; }
.a4 .toc2 li { counter-increment: t; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
.a4 .toc2 li::before { content: counter(t); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--ocean); color: var(--sand); display: grid; place-items: center; font-weight: 700; }
.a4 .toc2 b { font-size: 15px; } .a4 .toc2 span { font-size: 13px; color: var(--muted); }
.a4 .bring { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px; }
.a4 .bring p { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.a4 .bring .ico, .a4 .need-b > .ico { color: var(--surf); flex: none; }
.a4 .need-b { flex-direction: row; gap: 12px; align-items: flex-start; }
.a4 .need-b > .ico { width: 28px; height: 28px; }
.a4 .need-b h3 { margin-bottom: 4px; }
.a4 .mbox { min-height: 0; padding: 12px; gap: 6px; }
.a4 .mbox .mh { display: flex; gap: 8px; align-items: center; }
.a4 .mbox .mh .ico { width: 26px; height: 26px; flex: none; }
.a4 .mbox b { font-size: 14px; }
.a4 .mbox i { font-size: 12px; line-height: 1.35; color: var(--ocean); opacity: .8; }
.a4 .mbox em { font-style: normal; font-size: 10px; color: var(--surf); font-weight: 600; word-break: break-all; }
.a4 .mbox .sig { font-size: 10px; padding-top: 6px; }
.a4 .awards .aw { padding: 16px 14px 12px; }
.a4 .awards .aw b { font-size: 16px; }
.a4 .awards .aw .aw-meta, .a4 .awards .aw .aw-go { font-size: 12px; }
.a4.cover { padding: 0; }
.a4.cover .cover-img { height: 46%; background: center / cover no-repeat; flex: none; }
.a4.cover .pg { padding: 32px 52px 40px; gap: 20px; }
.a4.cover h1 { font-size: 46px; }
.a4 .lifep { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 150px 150px 150px; gap: 10px; flex: 1; }
.a4 .lifep .ph { grid-column: span 2; grid-row: span 2; height: 100%; }
.a4 .lifep .lt { padding: 12px; color: var(--white); }
.a4 .lifep .lt-sand, .a4 .lifep .lt-reef, .a4 .lifep .lt-white { color: var(--ocean); }
.a4 .lifep .lt-glass { background: var(--ocean); box-shadow: none; }
.a4 .lifep .lt-big { font-size: 22px; } .a4 .lifep .lt-t { font-size: 13px; } .a4 .lifep .lt-d { font-size: 11px; }
.a4 .lifep .lt-ic { width: 30px; height: 30px; }
.a4 .sports.p { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.a4 .sports.p .sp { padding: 10px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.a4 .sports.p .sp-ic { width: 30px; height: 30px; margin: 0; border-radius: 8px; } .a4 .sports.p .sp-ic .ico { width: 18px; height: 18px; }
.a4 .sports.p .sp b { font-size: 13px; } .a4 .sports.p .sp small { width: 100%; font-size: 10px; }
.a4 .lifep { grid-auto-flow: dense; } .a4 .lifep .lt-sand { grid-column: span 2; }
.a4 .mbox .lines { flex: 1; min-height: 22px; background: repeating-linear-gradient(180deg, transparent 0 23px, var(--line) 23px 24px); }
.a4 .mbox b { font-size: 15px; } .a4 .mbox i { font-size: 12.5px; }
.a4 .write { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.a4 .write span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--ocean); padding-top: 26px; }
.a4 .awards.grid3 { grid-auto-rows: auto; }
.a4 .lifep { grid-template-rows: repeat(3, minmax(140px, 1fr)); }
.a4 .lifep .lt-white { background: #EAF1FB; }
.a4 .three p, .a4 .box p { font-size: 14px; }
.a4 .pg { min-height: 0; overflow: hidden; } .a4 img.ph { min-width: 0; height: 0; }
.a4 .lifep .ph { background-position: 70% center; }
#next .awards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lb .lt:nth-child(3), .lb .lt:nth-child(4), .lb .lt:nth-child(5) { grid-row: span 1; }
#sports .sports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#sports .sports .sp:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--s3); }
#sports .sports .sp:last-child .sp-ic { margin: 0; }
#sports .sports .sp:last-child small { margin-left: auto; }
@media screen and (max-width: 900px) { #next .awards { grid-template-columns: 1fr 1fr; } #sports .sports { grid-template-columns: 1fr 1fr; } }
@media screen and (max-width: 520px) { #next .awards { grid-template-columns: 1fr; } #sports .sports .sp:last-child { flex-wrap: wrap; } #sports .sports .sp:last-child small { margin-left: 0; width: 100%; } }
@media screen and (max-width: 900px) { .pat .stats { grid-template-columns: 1fr; } .lb .lt:nth-child(7) { grid-column: 1 / -1 !important; min-height: 0; } .sp small { word-break: normal; overflow-wrap: anywhere; } }
/* Gold: Hub token #B8860B + ocean text is 4.3:1 (fails AA at 12px). Deep-ocean ink gives 5.4:1. Flagged for Hub DESIGN.md. */
.tone-gold { --af: #06182F; }
.chip.gold { color: #06182F; }
.awards .tone-gold .aw-go { color: color-mix(in srgb, #B8860B 45%, #0B2B56); }

/* ---------- Round 3: persona fixes ---------- */
@font-face { font-family: "Outfit"; src: url("/img/91a5f1677eaa03122ad4ac06c9b1e074.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.top .tools { align-items: center; }
.call { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); border-radius: 999px; color: var(--ocean); font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.call:hover { box-shadow: inset 0 0 0 2px var(--surf); color: var(--ocean); }
.call .ico { width: 18px; height: 18px; }
@media screen and (max-width: 700px) { .call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .call { padding: 0; width: 44px; justify-content: center; } }
.sheet .btn.ghost { justify-content: center; }
.door { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; font-weight: 600; }
.door a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.door a:hover { box-shadow: inset 0 0 0 2px var(--surf); }
.aw-h { margin: var(--s6) 0 var(--s3); font-size: var(--t-lg); }
.aw-h:first-of-type { margin-top: 0; }
#next .awards.jr { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 66%; }
@media screen and (max-width: 900px) { #next .awards.jr { max-width: none; } }
.choice.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s3); max-width: 760px; }
@media screen and (max-width: 600px) { .choice.two-up { grid-template-columns: 1fr; } }
.list a.row[aria-disabled="true"] .title { color: var(--muted); }
.gold .muted, .t-welcome .muted, .gold .muted.sm { color: #33496F; }
.ministrip span { color: rgb(11 43 86 / .6); }
.lb { grid-auto-rows: 160px; }
.lt-photo .lt-ic { background: rgb(255 255 255 / .22); }
/* pack */
.a4 .mbox i { font-size: 13px; opacity: 1; color: var(--ocean); }
.a4 .mbox em { font-size: 11.5px; color: #1F4E96; }
.a4 .mbox b { font-size: 15.5px; }
.a4 .mbox .sig { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--ocean); }
.a4 .mbox .sq { width: 14px; height: 14px; border: 2px solid var(--ocean); border-radius: 3px; flex: none; }
.a4 .mbox.qcell { border-style: solid; border-color: var(--ocean); justify-content: center; gap: 10px; }
.a4 .mbox.qcell .qrb { box-shadow: none; padding: 0; flex-direction: column; align-items: flex-start; gap: 6px; }
.a4 .mbox.qcell .qrb img { width: 96px; height: 96px; }
.a4 .lifep .lt-glass { grid-column: span 2; }
.a4 .lifep .lt-photo { justify-content: flex-end; }
.a4 .foot2 { font-size: 10px; color: var(--ocean); }
.band-sec.dark a.lt-photo, .band-sec.dark a.lt-photo:hover { color: var(--white); }

/* ---------- Round 4 ---------- */
[id] { scroll-margin-top: 88px; }
.call { display: none; }
/* rookie: status is tile 12 */
.rk-status { background: var(--ocean); color: var(--white); box-shadow: none; flex-direction: row; align-items: center; gap: var(--s4); padding: var(--s4); }
.rk-status .ring { width: 88px; height: 88px; background: conic-gradient(var(--sand) calc(var(--p) * 1%), rgb(255 255 255 / .18) 0); }
.rk-status .ring > span { width: 68px; height: 68px; background: var(--ocean); color: var(--white); }
.rk-status .ring b { font-size: 1.6rem; } .rk-status .ring small { color: #C9D6EA; }
.rk-st { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rk-st .chip.welcome { align-self: flex-start; background: var(--sand); color: var(--ocean); }
.rk-st .level { font-size: var(--t-lg); color: var(--white); }
.rk-st .nx { margin: 0; font-size: var(--t-sm); color: #C9D6EA; }
/* more ways to patrol */
.mw { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s3); margin-top: var(--s3); align-items: start; }
.mw-item { background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.mw-item summary { list-style: none; display: flex; align-items: center; gap: var(--s3); padding: var(--s4); cursor: pointer; min-height: 64px; }
.mw-item summary::-webkit-details-marker { display: none; }
.mw-item summary > .ico:first-child { width: 28px; height: 28px; color: var(--surf); flex: none; }
.mw-item summary span { flex: 1; display: flex; flex-direction: column; }
.mw-item summary small { color: var(--muted); }
.mw-item summary > .ico:last-child { width: 18px; height: 18px; transition: transform .2s; }
.mw-item[open] summary > .ico:last-child { transform: rotate(180deg); }
.mw-item[open] { box-shadow: inset 0 0 0 2px var(--surf); }
.mw-body { padding: 0 var(--s4) var(--s4) calc(var(--s4) + 28px + var(--s3)); display: flex; flex-direction: column; gap: var(--s3); }
.mw-body p { margin: 0; }
/* award pathways */
.lanes { display: flex; flex-direction: column; gap: var(--s3); }
.lane { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s4); align-items: stretch; padding: var(--s3); background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.ln-head { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-left: var(--s2); }
.ln-head .ico { width: 24px; height: 24px; color: var(--surf); margin-bottom: 4px; }
.ln-head b { font-size: var(--t-lg); }
.ln-head span { font-size: var(--t-sm); color: var(--muted); }
.ln-row { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; row-gap: var(--s2); }
.ln-join { width: 18px; flex: none; }
.ln-join.req { width: 34px; display: grid; place-items: center; color: var(--ocean); }
.ln-join.req .ico { width: 20px; height: 20px; }
.ln-node { flex: 1 1 200px; max-width: 300px; position: relative; display: flex; flex-direction: column; gap: 4px; padding: var(--s3) var(--s4) var(--s3) calc(var(--s4) + 2px); border-radius: var(--r-md); background: color-mix(in srgb, var(--ac) 10%, #fff); color: var(--ocean); text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.ln-node::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--ac); }
a.ln-node:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ac); color: var(--ocean); }
.ln-top { display: flex; align-items: center; gap: var(--s2); }
.ln-top .chip { background: var(--ac); color: var(--af); }
.ln-age { font-weight: 700; font-size: var(--t-sm); }
.ln-go { margin-left: auto; color: color-mix(in srgb, var(--ac) 70%, var(--ocean)); }
.ln-go .ico { width: 16px; height: 16px; }
.ln-node b { font-size: var(--t-base); line-height: 1.25; }
.ln-need { font-size: var(--t-sm); opacity: .85; }
@media screen and (max-width: 900px) { .lane { grid-template-columns: 1fr; } .ln-head { flex-direction: row; align-items: center; gap: var(--s2); padding: 0; } .ln-head .ico { margin: 0; } .ln-row { flex-direction: column; } .ln-node { max-width: none; } .ln-join { height: 6px; width: auto; } .ln-join.req { height: 26px; width: auto; } .ln-join.req .ico { transform: rotate(90deg); } }
/* surf sports: copy tiles */
button.sp { font: inherit; text-align: left; border: 0; cursor: pointer; }
.sp-cp { margin-top: var(--s2); display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 600; color: var(--surf); }
.sp-cp .ico { width: 14px; height: 14px; }
#sports .sports .sp:last-child .sp-cp { margin: 0 0 0 var(--s3); }
/* SMC situations */
.sits .filter { min-height: 44px; }
.sits .filter.more { background: none; box-shadow: none; text-decoration: underline; color: var(--surf); }
.sit-note { margin: 0; color: var(--muted); }
.filter.jump { text-decoration: none; background: #FBE9E1; color: #8A3412; box-shadow: inset 0 0 0 1.5px #C45220; }
/* IRB block */
.irb-block { border-radius: var(--r-lg); background: color-mix(in srgb, var(--ac) 8%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ac) 45%, #fff); overflow: hidden; }
.irb-head { width: 100%; display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5, 20px); border: 0; background: none; font: inherit; color: var(--ocean); text-align: left; cursor: pointer; min-height: 76px; }
.irb-head b { display: block; font-size: var(--t-lg); }
.irb-head .sm { color: #6B3A1C; }
.irb-mono { width: 48px; height: 48px; border-radius: 10px; background: var(--ac); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.irb-act { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #8A3412; white-space: nowrap; }
.irb-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.irb-body { display: none; padding: 0 var(--s5, 20px) var(--s5, 20px); flex-direction: column; gap: var(--s3); background: var(--white); border-top: 1px solid color-mix(in srgb, var(--ac) 35%, #fff); padding-top: var(--s4); }
.irb-body.open { display: flex; }
.irb-body p { margin: 0; }
.irb-slot { background: #C45220; color: #fff; }
.irb-slot[aria-disabled="true"] { background: var(--line); color: var(--muted); pointer-events: none; }
/* pack */
.a4 .pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.a4 .pchip { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--ocean); color: var(--sand); font-size: 12.5px; font-weight: 700; }
.a4 .pchip.ghost { background: none; color: var(--ocean); box-shadow: inset 0 0 0 1.5px var(--ocean); }
.a4 .lanes { gap: 8px; }
.a4 .lane { grid-template-columns: 120px minmax(0, 1fr); padding: 8px; gap: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.a4 .ln-head b { font-size: 14px; } .a4 .ln-head span { font-size: 11px; } .a4 .ln-head .ico { width: 18px; height: 18px; }
.a4 .ln-node { padding: 8px 10px 8px 12px; gap: 2px; max-width: none; flex-basis: 150px; }
.a4 .ln-node b { font-size: 13px; } .a4 .ln-need { font-size: 11px; } .a4 .ln-age { font-size: 11px; }
.a4 .ln-url { font-size: 10px; color: #1F4E96; font-weight: 600; }
.a4 .ln-join { width: 8px; } .a4 .ln-join.req { width: 22px; } .a4 .ln-join.req .ico { width: 16px; height: 16px; }
.a4 .ask-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.a4 .ask-grid > div { display: flex; gap: 8px; align-items: flex-start; background: var(--white); border-radius: 10px; padding: 10px; }
.a4 .ask-grid .ico { width: 20px; height: 20px; color: var(--surf); flex: none; }
.a4 .ask-grid span { display: flex; flex-direction: column; gap: 2px; }
.a4 .ask-grid small { font-size: 9.5px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.a4 .ask-grid b { font-size: 12.5px; line-height: 1.25; }
.a4 .ln-row { flex-direction: row; flex-wrap: nowrap; }
.a4 .ln-head { flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 4px; justify-content: center; }
.a4 .ln-join { height: auto; } .a4 .ln-join.req { width: 22px; height: auto; } .a4 .ln-join.req .ico { transform: none; }
.a4 .ln-node { max-width: none; flex: 1 1 0; }

/* ---------- Round 6 ---------- */
/* no accent stripes */
.ln-node::before, .awards .aw::before { display: none; }
.ln-node { padding-left: var(--s4); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 22%, #fff); }
.a4 .ln-node { padding-left: 10px; }
/* click-to-copy email */
.em { display: inline-flex; align-items: center; gap: 4px; padding: 2px 0; border: 0; background: none; font: inherit; font-size: var(--t-sm); color: var(--surf); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; cursor: copy; text-align: left; word-break: break-all; }
.em:hover { text-decoration-style: solid; }
.lt .em { color: inherit; }
.lt-em { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 4px; }
.sp .em { margin-top: 2px; font-size: .8rem; }
.mw-em { font-size: var(--t-sm); }
/* life: two bentos */
.lb-h { margin: var(--s6) 0 var(--s3); font-size: var(--t-lg); color: var(--sand); }
.lb-h:first-of-type { margin-top: 0; }
.lb .lt:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.lb .lt:nth-child(2), .lb .lt:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.lb .lt:nth-child(4), .lb .lt:nth-child(5), .lb .lt:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.lb .lt:nth-child(7), .lb .lt:nth-child(8) { grid-column: span 3; grid-row: span 1; }
.lb .lt:nth-child(6) .lt-ic, .lb .lt:nth-child(7) .lt-ic { position: static; }
.lb .lt:nth-child(6) .lt-big, .lb .lt:nth-child(7) .lt-big { font-size: 1.75rem; margin-top: 0; }
.lb2 { grid-auto-rows: 190px; }
.lb2 .lt:nth-child(1), .lb2 .lt:nth-child(2), .lb2 .lt:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.lb2 .lt:nth-child(4), .lb2 .lt:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.lt .lt-ic { margin-bottom: auto; }
/* rookie hero: 2x2, the star of the section */
.rk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rk-hero { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; border-radius: 20px; padding: var(--s6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); color: var(--white);
  background: radial-gradient(120% 90% at 85% 10%, #2A5DAA 0%, transparent 55%), radial-gradient(80% 70% at 10% 100%, rgb(255 221 0 / .28) 0%, transparent 60%), var(--ocean);
  box-shadow: 0 12px 32px rgb(11 43 86 / .28), inset 0 0 0 2px rgb(255 221 0 / .55); }
.rk-waves { position: absolute; inset: auto -10% -6% -10%; height: 46%; opacity: .16; background: repeating-radial-gradient(circle at 50% 160%, transparent 0 18px, #fff 18px 20px); pointer-events: none; }
.rk-hero > * { position: relative; }
.rk-hero .chip.welcome { background: var(--sand); color: var(--ocean); }
.ring.big { width: 168px; height: 168px; margin: var(--s2) 0; background: conic-gradient(var(--sand) calc(var(--p) * 1%), rgb(255 255 255 / .16) 0); filter: drop-shadow(0 0 18px rgb(255 221 0 / .35)); }
.ring.big > span { width: 128px; height: 128px; background: var(--ocean); color: var(--white); }
.ring.big b { font-size: 3.2rem; } .ring.big small { color: #C9D6EA; font-size: var(--t-base); }
.rk-hero .level { font-size: 2rem; line-height: 1.1; color: var(--white); margin: 0; }
.rk-hero .nx { margin: 0; color: var(--sand); font-weight: 600; }
.rk-hero .ministrip { width: 100%; margin-top: auto; }
.rk-hero .ministrip span { background: rgb(255 255 255 / .1); color: rgb(255 255 255 / .55); }
.rk-hero .ministrip span.on { background: var(--sand); color: var(--ocean); }
.rk-hero.complete { box-shadow: 0 12px 40px rgb(255 221 0 / .45), inset 0 0 0 3px var(--sand); animation: glow 2.4s ease-in-out infinite alternate; }
@keyframes glow { to { box-shadow: 0 12px 56px rgb(255 221 0 / .7), inset 0 0 0 3px var(--sand); } }
.rk-packtile { background: transparent; box-shadow: inset 0 0 0 2px dashed var(--tint-edge); border: 2px dashed var(--tint-edge); }
.rk-packtile .tap .ico { width: 24px; height: 24px; color: var(--ocean); }
@media screen and (max-width: 1100px) { .rk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 640px) { .rk { grid-template-columns: 1fr; } .rk-hero { grid-column: auto; grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .rk-hero.complete { animation: none; } }
/* IRB block fully contained */
.irb-block { box-shadow: none; border: 2px solid color-mix(in srgb, var(--ac) 45%, #fff); }
.irb-body { border-top: 1px solid color-mix(in srgb, var(--ac) 35%, #fff); }
.irb-body .panel { background: var(--white); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 25%, #fff); }
.irb-slot { color: #fff !important; }
/* home doors */
.door .sep { margin-left: var(--s4); }
.door a.gold { background: var(--sand); color: var(--ocean); box-shadow: none; }
.door a.gold:hover { box-shadow: inset 0 0 0 2px var(--ocean); }
/* pack life lists */
.a4 .lifel { grid-template-columns: 1fr 1fr; }
.a4 .pl { list-style: none; padding: 0; gap: 7px; }
.a4 .pl li { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.35; }
.a4 .pl .ico { width: 16px; height: 16px; flex: none; color: var(--surf); margin-top: 1px; }
.a4 .pl b { display: block; font-size: 12.5px; }
.a4 .pl em { font-style: normal; color: #1F4E96; font-weight: 600; }
@media (min-width: 901px), print { .ln-row { flex-wrap: nowrap; } .ln-node { flex: 1 1 0; min-width: 0; max-width: 320px; } }
.a4 .pl { gap: 5px; } .a4 .pl li { font-size: 11px; } .a4 .pl b { font-size: 12px; }
.a4 .sports.p .sp { padding: 8px; } .a4 .ask-grid > div { padding: 8px; }
.lb .lt:nth-child(6) .lt-big { font-size: 1.5rem; }

/* ---------- Round 7: celebrations ---------- */
.rk-card .cheer, .rk-card.done .cheer { opacity: 0; transform: none; transition: none; pointer-events: none; }
.rk-card.pop .cheer { animation: cheer 1.6s cubic-bezier(.3,1.6,.5,1) both; z-index: 3; background: var(--sand); color: var(--ocean); padding: 2px 10px; border-radius: 999px; top: var(--s2); }
@keyframes cheer { 0% { opacity: 0; transform: translateY(10px) scale(.4) rotate(-12deg); } 18% { opacity: 1; transform: translateY(-4px) scale(1.15) rotate(-6deg); } 30% { transform: translateY(0) scale(1) rotate(-4deg); } 75% { opacity: 1; transform: translateY(-2px) rotate(-4deg); } 100% { opacity: 0; transform: translateY(-14px) scale(.9) rotate(-4deg); } }
.rk-card.done .box { transform: none; transition: background .2s; }
.rk-card.pop .box { animation: boxpop .7s cubic-bezier(.3,1.8,.5,1) both; }
@keyframes boxpop { 0% { transform: scale(.6) rotate(-90deg); } 60% { transform: scale(1.25) rotate(10deg); } 100% { transform: scale(1.1) rotate(-8deg); } }
.rk-card.pop::before { content: ""; position: absolute; left: calc(var(--s4) + 20px); top: calc(var(--s4) + 16px); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; box-shadow: 0 0 0 3px var(--sand); animation: ripple .8s ease-out both; pointer-events: none; z-index: 2; }
@keyframes ripple { from { transform: scale(.6); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.rk-card.pop::after { content: ""; position: absolute; left: calc(var(--s4) + 20px); top: calc(var(--s4) + 16px); width: 140px; height: 140px; margin: -70px 0 0 -70px; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, var(--sand) 0 3px, transparent 4px) 10% 20% / 14px 14px no-repeat, radial-gradient(circle, #75CF96 0 3px, transparent 4px) 85% 15% / 14px 14px no-repeat, radial-gradient(circle, #fff 0 2.5px, transparent 3.5px) 20% 85% / 12px 12px no-repeat, radial-gradient(circle, var(--sand) 0 2.5px, transparent 3.5px) 90% 80% / 12px 12px no-repeat, radial-gradient(circle, #2A5DAA 0 3px, transparent 4px) 50% 2% / 14px 14px no-repeat, radial-gradient(circle, #F7A8B8 0 2.5px, transparent 3.5px) 2% 55% / 12px 12px no-repeat, radial-gradient(circle, #fff 0 3px, transparent 4px) 98% 50% / 14px 14px no-repeat, radial-gradient(circle, #75CF96 0 2.5px, transparent 3.5px) 55% 98% / 12px 12px no-repeat;
  animation: confetti .9s cubic-bezier(.2,.8,.3,1) both; }
@keyframes confetti { 0% { transform: scale(.2) rotate(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: scale(1.25) rotate(40deg); opacity: 0; } }
.rk-hero.bump .ring.big { animation: ringbump .6s cubic-bezier(.3,1.8,.5,1); }
@keyframes ringbump { 40% { transform: scale(1.08); filter: drop-shadow(0 0 30px rgb(255 221 0 / .8)); } }
@media (prefers-reduced-motion: reduce) { .rk-card.pop::before, .rk-card.pop::after, .rk-card.pop .box, .rk-hero.bump .ring.big { animation: none; } .rk-card.pop .cheer { animation: none; opacity: 1; } }
/* pack: sig clear of the dashed border */
.a4 .mbox { padding: 12px 12px 14px; }
.a4 .mbox .sig { margin-bottom: 2px; padding-top: 7px; line-height: 1.6; }
/* pack: more ways list */
.a4 .pmw { list-style: none; padding: 0; gap: 6px; }
.a4 .pmw li { font-size: 12px; line-height: 1.4; }
.a4 .pmw span { color: var(--muted); }
.a4 .pmw em { font-style: normal; font-weight: 600; color: #1F4E96; display: block; }

/* ---------- Practice ---------- */
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.pr-card { position: relative; display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5, 20px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ocean); text-decoration: none; min-height: 200px; }
.pr-card.live { box-shadow: inset 0 0 0 2px var(--ocean); transition: transform .15s; }
.pr-card.live:hover { transform: translateY(-3px); color: var(--ocean); }
.pr-card img { width: 96px; height: 90px; object-fit: contain; align-self: flex-start; }
.pr-card .chip { align-self: flex-start; }
.pr-card b { font-size: var(--t-xl, 1.35rem); }
.pr-card.soon { opacity: .7; background: var(--canvas); }
.pr-card.quiz { background: var(--sand); box-shadow: none; }
.pr-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); }
.pr-ic.big { background: var(--ocean); color: var(--sand); }
.pr-ic .ico { width: 26px; height: 26px; }
.pr-go { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; }
.pr-go .ico { width: 18px; height: 18px; }
/* Signals */
.sig-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.sig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3); }
.sig-card { position: relative; border: 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: var(--s3); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-align: left; color: var(--ocean); }
.sig-card img { width: 100%; aspect-ratio: 32 / 30; object-fit: contain; background: #fff; border-radius: var(--r-md); }
.sig-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: #E3342F; opacity: .8; }
.sig-card.water::after { background: var(--sand); }
.sig-n { position: absolute; top: var(--s3); left: var(--s3); width: 26px; height: 26px; border-radius: 50%; background: var(--ocean); color: var(--white); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.sig-name { font-weight: 700; line-height: 1.25; }
.sig-g { font-size: var(--t-sm); color: var(--muted); }
.sig-card.hidden .sig-name { color: var(--surf); font-weight: 600; }
.sig-card.hidden:hover { box-shadow: inset 0 0 0 2px var(--surf); }
@media print { .top, .foot, .tabs, .sig-bar, .crumbs { display: none !important; } .sig-grid { grid-template-columns: repeat(4, 1fr); } .sig-card { break-inside: avoid; box-shadow: inset 0 0 0 1px #999; } }
/* Quiz */
.qz { display: flex; flex-direction: column; gap: var(--s4); max-width: 920px; }
.qz-top { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.qz-dots { display: flex; gap: 8px; }
.qd { width: 14px; height: 14px; border-radius: 50%; background: var(--line); }
.qd.cur { box-shadow: 0 0 0 3px var(--surf); }
.qd.ok { background: var(--ok); } .qd.no { background: #E3342F; }
.qz-streak { margin-left: auto; font-weight: 700; color: #C45220; }
.qz-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s6); padding: var(--s6); border-radius: 20px; background: var(--white); box-shadow: 0 10px 30px rgb(11 43 86 / .12), inset 0 0 0 1px var(--line); }
.qz-pic { position: relative; background: #fff; border-radius: var(--r-lg); display: grid; place-items: center; }
.qz-pic img { width: 100%; max-width: 340px; }
.qz-cheer { position: absolute; top: 8px; right: 8px; font-weight: 800; font-size: 1.5rem; color: var(--ocean); background: var(--sand); padding: 4px 12px; border-radius: 999px; opacity: 0; transform: scale(.5) rotate(-8deg); }
.qz-card.is-right .qz-cheer { animation: qzpop 1.4s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes qzpop { 0% { opacity: 0; transform: scale(.5) rotate(-8deg); } 20% { opacity: 1; transform: scale(1.1) rotate(-4deg); } 70% { opacity: 1; transform: scale(1) rotate(-4deg); } 100% { opacity: 0; transform: translateY(-10px) rotate(-4deg); } }
.qz-side { display: flex; flex-direction: column; gap: var(--s3); }
.qz-side h2 { margin: 0; }
.qz-q { margin: 0; color: var(--muted); font-weight: 600; font-size: var(--t-sm); }
.qz-opts { display: flex; flex-direction: column; gap: var(--s2); }
.qz-opt { min-height: 52px; padding: var(--s3) var(--s4); border: 0; border-radius: var(--r-md); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-weight: 600; color: var(--ocean); text-align: left; cursor: pointer; transition: transform .12s, background .2s; }
.qz-opt:hover { transform: translateX(3px); box-shadow: inset 0 0 0 2px var(--surf); }
.qz-opt[aria-disabled="true"] { cursor: default; transform: none; }
.qz-opt.right { background: var(--ok); color: #fff; box-shadow: none; animation: qzright .5s; }
.qz-opt.wrong { background: #FDE2E1; color: #9B1C1C; box-shadow: inset 0 0 0 2px #E3342F; animation: qzshake .4s; }
@keyframes qzright { 50% { transform: scale(1.03); } }
@keyframes qzshake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qz-fb { margin: 0; min-height: 1.5em; font-weight: 600; }
.btn.hide { visibility: hidden; }
.qz-end { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: var(--s8) var(--s6); border-radius: 20px; background: radial-gradient(120% 90% at 85% 10%, #2A5DAA 0%, transparent 55%), var(--ocean); color: #fff; text-align: center; }
.qz-end h2 { margin: 0; color: var(--sand); font-size: 2rem; }
.qz-end .muted { color: #C9D6EA; }
.qz-end .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
@media screen and (max-width: 760px) { .qz-card { grid-template-columns: 1fr; padding: var(--s4); } }
@media (prefers-reduced-motion: reduce) { .qz-opt, .qz-card.is-right .qz-cheer { animation: none; } .qz-card.is-right .qz-cheer { opacity: 1; transform: none; } }
/* PLC */
.t-plc { --tint: #E7F3EC; --tint-edge: #B6D8C2; }
.chip.plc { background: #14532D; color: #fff; } .chip.nc { background: var(--ocean); color: var(--sand); }
.plc-title { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.plc-title h1 { margin: 0; }
.upnext-plc { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--s5, 20px); padding: var(--s6); border-radius: 20px; color: #fff; background: radial-gradient(110% 90% at 90% 0%, #1F7A4A 0%, transparent 60%), #14532D; box-shadow: 0 12px 30px rgb(20 83 45 / .3); }
.upnext-plc.assess { background: radial-gradient(110% 90% at 90% 0%, #E3342F 0%, transparent 60%), #7A1A1A; }
.un-date { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 16px; background: rgb(255 255 255 / .12); font-weight: 700; letter-spacing: .06em; }
.un-date b { font-size: 3rem; line-height: 1; }
.un-main { display: flex; flex-direction: column; gap: var(--s1); align-items: flex-start; }
.un-eyebrow { margin: var(--s2) 0 0; color: #BFE6CD; font-weight: 600; }
.un-main h2 { margin: 0; color: #fff; font-size: 1.75rem; }
.un-when { margin: 0; color: #DDEFE3; }
.un-kit { margin-top: var(--s3); padding: var(--s3) var(--s4); border-radius: 12px; background: rgb(255 255 255 / .1); width: 100%; }
.un-kit ul { margin: 4px 0 0; padding-left: 1.1em; display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s4); }
.plc-ms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s3); }
.plc-ms .rk-card { box-shadow: inset 0 0 0 1px var(--tint-edge); }
.plc-next { display: flex; flex-direction: column; gap: 4px; padding: var(--s4); border-radius: var(--r-lg); background: var(--sand); color: var(--ocean); text-decoration: none; position: relative; }
.plc-next .chip { align-self: flex-start; }
.plc-next .pr-go { position: absolute; right: var(--s4); top: var(--s4); }
.plc-week { border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.plc-week .wk-h { padding: var(--s2) var(--s4); font-weight: 700; background: var(--canvas); }
.plc-week.now { box-shadow: inset 0 0 0 2px #14532D; } .plc-week.now .wk-h { background: #14532D; color: #fff; }
.plc-week.past { opacity: .6; }
.plc-week .list { margin: 0; padding: 0 var(--s4); }
.plc-week .row.next { background: #E7F3EC; margin: 0 calc(-1 * var(--s4)); padding-left: var(--s4); padding-right: var(--s4); }
.plc-week .row.assess .title { color: #B91C1C; font-weight: 700; }
.plc-list { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
@media screen and (max-width: 700px) { .upnext-plc { grid-template-columns: 1fr; } .un-date { flex-direction: row; gap: var(--s2); padding: var(--s2); } .un-date b { font-size: 1.5rem; } .un-kit ul { grid-template-columns: 1fr; } }

/* ---------- Illustration kit placements ---------- */
.nc-fig, .nc-prop { display: block; height: auto; overflow: visible; }
.has-fig { position: relative; }
.head-fig { position: absolute; right: 0; bottom: -24px; pointer-events: none; animation: figin .7s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes figin { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media screen and (max-width: 900px) { .head-fig { display: none; } }
/* guide pops up beside the open step */
.steps > li { position: relative; }
.guide-fig { position: absolute; right: -6px; top: -64px; width: 64px; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .3s, transform .45s cubic-bezier(.3,1.6,.5,1); z-index: 2; }
.steps > li.open .guide-fig { opacity: 1; transform: none; }
.steps > li.open .guide-fig .nc-fig { animation: nudge 1.6s ease-in-out .5s 2; }
@keyframes nudge { 50% { transform: translateX(-6px); } }
@media screen and (max-width: 700px) { .guide-fig { display: none; } }
/* rookie hero figure */
.hero-fig { position: absolute !important; right: 14px; bottom: 54px; width: 110px; pointer-events: none; }
.rk-hero.complete .hero-fig .nc-fig { animation: jump .9s ease-in-out infinite alternate; }
@keyframes jump { to { transform: translateY(-10px); } }
.prop-sm { display: inline-block; width: 100px; } .prop-sm .nc-prop { width: 100%; }
.prop-md { display: block; width: 200px; margin-bottom: var(--s2); } .prop-md .nc-prop { width: 100%; }
.irb-head .prop-sm { width: 90px; margin-left: auto; }
@media screen and (max-width: 700px) { .hide-sm { display: none !important; } }
/* refreshers */
.refreshers .ref-h { display: flex; gap: var(--s3); align-items: flex-end; }
.refreshers .ref-h > span { width: 54px; flex: none; }
.ref-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); padding: var(--s3); border-radius: var(--r-md); background: var(--white); color: var(--ocean); text-decoration: none; box-shadow: inset 0 0 0 1px var(--tint-edge); }
.ref-row span { font-size: var(--t-sm); color: var(--muted); white-space: nowrap; }
a.ref-row:hover { box-shadow: inset 0 0 0 2px var(--ocean); color: var(--ocean); }
.ref-row.soon { opacity: .6; }
.pr-art { width: 70px; }
/* radio */
.radio-learn { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.radio-wrap { position: relative; max-width: 300px; margin: 0 auto; }
.radio-svg { width: 100%; height: auto; display: block; }
.hs { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; background: #E2231A; color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .3); transition: transform .15s; }
.hs:hover { transform: translate(-50%, -50%) scale(1.12); }
.hs[aria-pressed="true"] { background: var(--sand); color: var(--ocean); transform: translate(-50%, -50%) scale(1.2); animation: hsping 1.2s ease-out infinite; }
@keyframes hsping { 0% { box-shadow: 0 0 0 0 rgb(255 209 0 / .7); } 100% { box-shadow: 0 0 0 16px rgb(255 209 0 / 0); } }
.radio-svg [class^="p"] { transition: fill .2s, stroke .2s; }
[data-hl="1"] .p1, [data-hl="2"] .p2, [data-hl="3"] .p3, [data-hl="4"] .p4, [data-hl="5"] .p5, [data-hl="6"] .p6, [data-hl="7"] .p7, [data-hl="8"] .p8, [data-hl="9"] .p9 { stroke: var(--sand); stroke-width: 5; animation: hlpulse 1s ease-in-out infinite alternate; }
@keyframes hlpulse { to { stroke-width: 9; } }
.radio-pick { background: var(--ocean); color: #fff; box-shadow: none; }
.radio-pick h2 { color: var(--sand); }
.two-ptt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.ptt { padding: var(--s4); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 4px; }
.ptt b { font-size: 1.4rem; }
.ptt p { margin: 0; font-size: var(--t-sm); }
.ptt.ptt-top { background: #FDECEA; box-shadow: inset 0 0 0 2px #E2231A; } .ptt.ptt-top .chip { background: #E2231A; align-self: flex-start; }
.ptt.ptt-bot { background: var(--white); box-shadow: inset 0 0 0 2px var(--ocean); } .ptt.ptt-bot .chip { background: var(--ocean); align-self: flex-start; }
.radio-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s6); }
.radio-more .rule { grid-column: 1 / -1; background: var(--ocean); color: #fff; box-shadow: none; }
.chan { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.chan li { display: flex; gap: var(--s2); align-items: baseline; }
.chan b { min-width: 46px; font-size: 1.1rem; }
.parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.parts li { display: flex; gap: var(--s2); align-items: flex-start; }
.pn { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #E2231A; color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.radio-q .radio-svg { max-width: 240px; margin: 0 auto; }
@media screen and (max-width: 900px) { .radio-learn, .radio-more, .two-ptt { grid-template-columns: 1fr; } }
/* illustration kit board */
.kit { display: flex; flex-wrap: wrap; gap: var(--s6); align-items: flex-end; }
.kit figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s4); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.kit figcaption { font-weight: 600; font-size: var(--t-sm); color: var(--muted); }
.qz-end > span:first-child { width: 110px; }
@media (prefers-reduced-motion: reduce) { .head-fig, .guide-fig, .steps > li.open .guide-fig .nc-fig, .rk-hero.complete .hero-fig .nc-fig, .hs[aria-pressed="true"], [data-hl] [class^="p"] { animation: none !important; transition: none !important; } }
.ptt.ptt-top, .ptt.ptt-bot { color: var(--ocean); }
/* ---------- Lifesaving CPR ---------- */
.aims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); align-items: start; }
.aim { background: var(--white); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); }
.aim summary { list-style: none; display: flex; gap: var(--s3); align-items: center; padding: var(--s4); cursor: pointer; }
.aim summary::-webkit-details-marker { display: none; }
.aim summary b { flex: 1; font-size: var(--t-lg); }
.aim summary .ico { width: 18px; height: 18px; transition: transform .2s; }
.aim[open] summary .ico { transform: rotate(180deg); }
.aim[open] { box-shadow: inset 0 0 0 2px #16A34A; }
.aim-n { width: 34px; height: 34px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.aim ul { margin: 0; padding: 0 var(--s4) var(--s4) calc(var(--s4) + 34px + var(--s3) + 1em); display: flex; flex-direction: column; gap: 6px; }
.lcpr-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s4); margin: var(--s6) 0; }
.clock-svg { width: 100%; max-width: 360px; margin: 0 auto; display: block; }
.clock-svg .pos { animation: posin .6s cubic-bezier(.3,1.6,.5,1) both; } .clock-svg .oxy { animation-delay: .25s; }
@keyframes posin { from { opacity: 0; transform: scale(.6); transform-origin: center; } }
.metro { align-items: center; text-align: center; }
.beat { width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; background: var(--canvas); box-shadow: inset 0 0 0 4px var(--line); transition: transform .06s, background .06s; }
.beat span { font-size: 2.6rem; font-weight: 800; line-height: 1; } .beat small { color: var(--muted); }
.beat.on { background: #DCFCE7; box-shadow: inset 0 0 0 4px #16A34A; }
.beat.on.a { transform: scale(1.08); } .beat.on.b { transform: scale(.98); }
.drills { margin: 0; padding: 0; list-style: none; counter-reset: d; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.drills li { counter-increment: d; position: relative; padding: var(--s4) var(--s4) var(--s4) calc(var(--s4) + 40px); border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 4px; }
.drills li::before { content: counter(d); position: absolute; left: var(--s4); top: var(--s4); width: 28px; height: 28px; border-radius: 8px; background: var(--ocean); color: var(--sand); display: grid; place-items: center; font-weight: 800; }
.drills span { font-size: var(--t-sm); color: var(--muted); }
.qz-card.one { grid-template-columns: 1fr; max-width: 720px; }
.qz-cheer.inline { position: static; display: inline-block; margin-left: var(--s3); font-size: 1rem; }
@media screen and (max-width: 900px) { .aims, .lcpr-row { grid-template-columns: 1fr; } }
/* why line + positions game */
.qz-why { margin: 0; font-size: var(--t-sm); color: var(--muted); min-height: 1.2em; }
.pos-game { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: start; }
.pos-board { position: relative; max-width: 420px; aspect-ratio: 1; margin: 0 auto; width: 100%; }
.pos-board .clock-svg { max-width: none; width: 100%; }
.slot { position: absolute; transform: translate(-50%, -50%); min-width: 52px; height: 52px; padding: 0 10px; border-radius: 999px; border: 2px dashed var(--surf); background: var(--white); color: var(--surf); font: inherit; font-weight: 800; cursor: pointer; transition: transform .15s; }
.slot:hover { transform: translate(-50%, -50%) scale(1.08); }
.slot.filled { border-style: solid; background: var(--ocean); border-color: var(--ocean); color: var(--sand); animation: drop .35s cubic-bezier(.3,1.6,.5,1); }
.slot.ok { background: var(--ok); border-color: var(--ok); color: #fff; } .slot.bad { background: #E3342F; border-color: #E3342F; color: #fff; animation: qzshake .4s; }
@keyframes drop { from { transform: translate(-50%, -80%) scale(.6); } }
.pos-items { display: flex; flex-direction: column; gap: var(--s2); }
.pos-item { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 52px; padding: var(--s2) var(--s4); border: 0; border-radius: var(--r-md); background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: var(--ocean); cursor: pointer; text-align: left; }
.pos-item span { font-size: var(--t-sm); color: var(--muted); }
.pos-item.sel { box-shadow: inset 0 0 0 3px var(--surf); background: #EAF1FB; }
.pos-item.placed span { color: var(--ocean); font-weight: 600; }
.pos-res { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pos-res li { padding: var(--s2) var(--s3); border-radius: var(--r-md); font-size: var(--t-sm); }
.pos-res li.ok { background: #DCFCE7; } .pos-res li.bad { background: #FDE2E1; }
.pos-verdict { margin: 0; font-weight: 800; font-size: var(--t-lg); }
@media screen and (max-width: 900px) { .pos-game { grid-template-columns: 1fr; } }
.pr-art.wide { width: 130px; }

/* L CPR sprites from the SLS deck (31 Oct) */
.clock-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2) 20px; }
.clock-key li { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); flex: 1 1 220px; }
.clock-key img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.head-fig.cpr { bottom: 8px; }
.cpr-ic { display: block; }
.pos-thumb { width: 64px; height: 64px; object-fit: contain; }
.slot { display: grid; place-items: center; }
.slot .sp { display: none; }
.slot.filled { width: 72px; height: 72px; min-width: 0; padding: 0; background: var(--white); border: 3px solid var(--ocean); color: var(--ocean); }
.slot.filled .sp { display: block; width: 58px; height: 58px; background: center / contain no-repeat; }
.slot.filled .sl-lb { position: absolute; top: calc(100% + 2px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--ocean); color: var(--sand); }
.slot.ok { background: var(--white); border-color: var(--ok); } .slot.ok .sl-lb { background: var(--ok); color: #fff; }
.slot.bad { background: var(--white); border-color: #E3342F; } .slot.bad .sl-lb { background: #E3342F; color: #fff; }
.pos-item { justify-content: flex-start; }
.pos-item .th { width: 40px; height: 40px; flex: none; background: center / contain no-repeat; }
.pos-item span:last-child { margin-left: auto; }

/* Home: White Cap Welcome hero + Practice bento (31 Oct) */
.bento .home-hero { grid-column: span 8; grid-row: span 2; border-radius: var(--r-lg); gap: var(--s3); }
.home-hero h2 { color: var(--white); font-size: var(--t-3xl, 2.4rem); margin: 0; }
.home-hero .hh-lede { margin: 0; color: #DCE6F5; max-width: 34ch; }
.home-hero .hh-row { display: flex; align-items: center; gap: 20px; }
.home-hero .ring.big { width: 128px; height: 128px; margin: 0; } .home-hero .ring.big > span { width: 98px; height: 98px; } .home-hero .ring.big b { font-size: 2.4rem; }
.home-hero .level { font-size: 1.6rem; }
.home-hero .ministrip { margin-top: auto; max-width: 560px; }
.home-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.btn.sand { background: var(--sand); color: var(--ocean); }
.hh-link { color: var(--sand); font-weight: 600; }
.home-hero .hero-fig { right: 28px; bottom: 96px; width: auto; }
.home-practice .hp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.hp { display: flex; flex-direction: column; gap: 4px; padding: var(--s3); border-radius: var(--r-md); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); color: var(--ocean); text-decoration: none; transition: transform .15s; }
.hp:hover { transform: translateY(-3px); color: var(--ocean); }
.hp img, .hp .hp-art { height: 64px; display: flex; align-items: center; } .hp img { width: 64px; object-fit: contain; }
.hp b { font-size: var(--t-base); line-height: 1.2; } .hp span:last-child { font-size: var(--t-sm); color: var(--muted); }
@media screen and (max-width: 900px) { .bento .home-hero { grid-column: span 12; grid-row: auto; } .home-practice .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-hero .hero-fig { display: none; } }
@media (prefers-reduced-motion: reduce) { .hp { transition: none; } }
.home-hero .btn.sand { color: var(--ocean) !important; background: var(--sand); } .home-hero .btn.sand:hover { background: var(--white); }
.home-hero .hh-link, .home-hero .hh-link:hover { color: var(--sand); }

/* Home door: two questions that open their links (31 Oct) */
.door { margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.door-q { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border: 0; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-weight: 700; color: var(--ocean); cursor: pointer; }
.door-q:hover { box-shadow: inset 0 0 0 2px var(--surf); }
.door-q .chev { transition: transform .2s var(--ease); }
.door-q.open { background: var(--ocean); color: var(--white); box-shadow: none; }
.door-q.open .chev { transform: rotate(180deg); }
.door-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s2); animation: doorin .2s var(--ease) both; }
.door-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; }
.door-links a.gold { background: var(--sand); color: var(--ocean); box-shadow: none; }
@keyframes doorin { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .door-links, .door-q .chev { animation: none; transition: none; } }

/* Quick refs: segmented tabs, Test yourself tiles, print bar (31 Oct) */
.tabs.seg { display: inline-flex; gap: 4px; padding: 4px; border: 0; border-radius: 999px; background: var(--canvas); box-shadow: inset 0 0 0 1px var(--line); margin-top: var(--s3); align-self: flex-start; }
.tabs.seg a { padding: 0 20px; min-height: 44px; display: inline-flex; align-items: center; border: 0; margin: 0; border-radius: 999px; color: var(--ocean); }
.tabs.seg a:hover { background: var(--white); }
.tabs.seg a[aria-current="page"] { background: var(--ocean); color: var(--white); }
.tabs a:focus { outline: none; } .tabs a:focus-visible { outline: 3px solid var(--surf); outline-offset: 2px; border-radius: 999px; }
.try { margin: 0 0 var(--s6); }
.try-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s3); }
.try-tile { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) 20px; border-radius: var(--r-lg); background: var(--sand); color: var(--ocean); text-decoration: none; transition: transform .15s; }
.try-tile:hover { transform: translateY(-2px); color: var(--ocean); }
.try-art { width: 64px; height: 64px; flex: none; display: grid; place-items: center; } .try-art img { max-width: 64px; max-height: 64px; object-fit: contain; }
.try-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .try-txt .chip { align-self: flex-start; } .try-txt b { font-size: var(--t-lg, 1.15rem); } .try-txt .muted { color: var(--ocean); opacity: .8; }
.try-go { pointer-events: none; flex: none; }
.print-bar { display: flex; justify-content: flex-end; margin: calc(-1 * var(--s3)) 0 var(--s4); }
@media screen and (max-width: 640px) { .try-go { display: none; } }
@media (prefers-reduced-motion: reduce) { .try-tile { transition: none; } }

/* L CPR: team positions taught step by step */
.teach { display: flex; flex-direction: column; gap: var(--s4); margin: var(--s6) 0; }
.teach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center; }
.teach-board { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; margin: 0 auto; }
.teach-board .clock-svg { max-width: none; width: 100%; }
.tp { position: absolute; width: 70px; height: 70px; transform: translate(-50%, -50%) scale(.3); opacity: 0; transition: opacity .5s, transform .6s cubic-bezier(.3,1.6,.5,1), left 1.1s var(--ease), top 1.1s var(--ease); }
.tp.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.tp .sp { position: absolute; inset: 4px; background: center / contain no-repeat; }
.tp .tl { position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--ocean); color: var(--sand); }
.tp.new::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid var(--surf); animation: tpring 1.2s ease-out 2; opacity: 0; }
.tp.new .tl { background: var(--sand); color: var(--ocean); }
@keyframes tpring { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.3); } }
.teach-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s2); }
.teach-steps button { width: 100%; display: flex; gap: var(--s3); align-items: flex-start; text-align: left; padding: var(--s3); border: 0; border-radius: var(--r-md); background: transparent; font: inherit; color: var(--muted); cursor: pointer; }
.teach-steps button:hover { background: rgb(255 255 255 / .6); }
.teach-steps .n { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: rgb(11 43 86 / .1); color: var(--ocean); }
.teach-steps .t { display: flex; flex-direction: column; gap: 2px; } .teach-steps .t span { font-size: var(--t-sm); }
.teach-steps li.done button { color: var(--ocean); } .teach-steps li.done .n { background: var(--ok); color: #fff; }
.teach-steps li.now button { background: var(--white); color: var(--ocean); box-shadow: inset 0 0 0 2px var(--ocean); } .teach-steps li.now .n { background: var(--ocean); color: var(--sand); }
.lcpr-row.one { grid-template-columns: 1fr; } .lcpr-row.one .metro { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
@media screen and (max-width: 900px) { .teach-grid { grid-template-columns: 1fr; } .tp { width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .tp { transition: none; } .tp.new::before { animation: none; } }

/* Print: every quick reference prints clean on A4 */
@media print {
  @page { size: A4; margin: 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .top, .foot, .tabs, .crumbs, .head-fig, .try, .print-bar, .sig-bar, .metro, .teach .sec-row button, .actions, .qz { display: none !important; }
  body, .body { background: #fff !important; }
  .head { padding: 0 !important; background: none !important; border: 0 !important; } .head .wrap { padding: 0 0 4mm !important; } .head h1 { font-size: 22pt; } .head .lede { font-size: 11pt; }
  .body .wrap { padding: 0 !important; max-width: none; }
  .panel, .aim, .drills li, .teach, .radio-learn, .radio-more > *, .sig-card { break-inside: avoid; }
  details.aim > *:not(summary) { display: block !important; } details.aim summary .chev { display: none; }
  .aims { grid-template-columns: 1fr 1fr !important; gap: 3mm !important; }
  .tp { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; transition: none !important; } .tp.new::before { display: none; }
  .teach-steps li button { color: #0B2B56 !important; box-shadow: none !important; background: none !important; } .teach-steps .n { background: #0B2B56 !important; color: #fff !important; }
  .teach-board { max-width: 80mm; }
  .drills { grid-template-columns: repeat(3, 1fr) !important; }
  a { text-decoration: none; }
}
/* Print: compact A4 layouts (A4 is narrower than the 900px phone breakpoint, so restate the desktop grids) */
@media print {
  html { font-size: 11px; }
  h2, h3, .sec { break-after: avoid; }
  .radio-pick, .radio-learn .note { display: none !important; }
  .radio-learn { grid-template-columns: 62mm 1fr !important; gap: 6mm !important; break-inside: auto; }
  .radio-wrap { max-width: 62mm; }
  .radio-more { grid-template-columns: 1fr 1fr !important; gap: 3mm !important; margin-top: 3mm !important; }
  .panel.pad { padding: 3mm 4mm !important; }
  .aims { grid-template-columns: repeat(3, 1fr) !important; }
  .aim summary { padding: 2mm 3mm !important; } .aim ul { margin: 0 !important; padding: 0 3mm 2mm 7mm !important; }
  .teach { margin: 4mm 0 !important; padding: 4mm !important; gap: 2mm !important; }
  .teach-grid { grid-template-columns: 62mm 1fr !important; gap: 5mm !important; }
  .teach-board { max-width: 62mm; } .tp { width: 13mm; height: 13mm; } .tp .tl { font-size: 7pt; padding: 1mm 1.5mm; }
  .teach-steps button { padding: 1mm 0 !important; }
  .drills { grid-template-columns: repeat(3, 1fr) !important; gap: 2mm !important; } .drills li { padding: 2.5mm 3mm 2.5mm 11mm !important; } .drills li::before { left: 3mm !important; top: 2.5mm !important; width: 6mm !important; height: 6mm !important; }
  .sig-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 2mm !important; }
}
@media print {
  .radio-more { grid-template-columns: repeat(3, 1fr) !important; }
  details.aim summary svg { display: none !important; }
  .body .wrap::after { content: "Printed from learn.ncslsc.com. Things change: check online for the latest version."; display: block; margin-top: 4mm; padding-top: 2mm; border-top: 1px solid #DDE3EC; font-size: 8pt; color: #5A6473; }
}
@media print {
  .radio-learn { grid-template-columns: 50mm 1fr !important; } .radio-wrap { max-width: 50mm; }
  a[href="#quiz"] { display: none !important; }
  .chan li { grid-template-columns: 9mm 1fr !important; }
}
@media print { .radio-more .chan { grid-template-columns: 1fr !important; gap: 1mm !important; } }

/* Signals: no top stripe; the group label carries a small colour dot (31 Oct) */
.sig-card::after { display: none; }
.sig-g { display: inline-flex; align-items: center; gap: 6px; }
.sig-g::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #E3342F; flex: none; }
.sig-card.water .sig-g::before { background: #E8B800; }

/* L CPR: 6 aims as a mosaic (columns), all open */
.aims { display: block; columns: 3 300px; column-gap: var(--s3); }
.aim { display: block; break-inside: avoid; margin: 0 0 var(--s3); }
.aim ul { padding-left: calc(var(--s4) + 34px + var(--s3)); }
@media print { .aims { columns: 3 !important; column-gap: 3mm !important; } .aim { margin-bottom: 3mm !important; } }

/* ================= PRINT SYSTEM (31 Oct): one stylesheet, every public page ================= */
.print-head, .print-tag { display: none; }
@media print {
  @page { size: A4; margin: 12mm 12mm 14mm; }
  html { font-size: 11px; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; box-shadow: none; }
  body, .lp, .body { background: #fff !important; }
  .body .wrap::after { content: none !important; display: none !important; }
  /* chrome and controls that mean nothing on paper */
  .top, .foot, .find, .menu, .crumbs, .tabs, .try, .print-bar, .door, .door-links, .search, .head-fig, .guide-fig, .hero-fig, .rk-waves,
  .btn, .actions, .filters, .filter, .sig-bar, .metro, .qz, .copy, .h-skip, [role="search"] { display: none !important; }
  .print-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4mm; border-bottom: 1.5pt solid #0B2B56; padding-bottom: 1.5mm; margin-bottom: 4mm; font-size: 8.5pt; color: #0B2B56; }
  .print-tag { display: flex; gap: 4mm; align-items: center; margin: 6mm 0 0; padding: 3mm 4mm; border: 0.75pt solid #C9D3E0; border-radius: 3mm; break-inside: avoid; font-size: 8pt; color: #3D4652; }
  .print-tag .qr { width: 20mm; height: 20mm; flex: none; }
  .print-tag div { display: flex; flex-direction: column; gap: 0.6mm; } .print-tag b { color: #0B2B56; font-size: 9.5pt; }
  .head { padding: 0 !important; background: none !important; border: 0 !important; }
  .head .wrap { padding: 0 0 3mm !important; min-height: 0 !important; display: block !important; }
  .head h1 { font-size: 20pt; margin: 0 0 1.5mm; } .head .lede { font-size: 10.5pt; margin: 0; max-width: none; }
  .body .wrap, .wrap { padding: 0 !important; max-width: none !important; }
  section, .panel, .tile, .step, .aim, .drills li, .faq details, details, .rk-card, .lb, .tp, li { break-inside: avoid; }
  h1, h2, h3, .sec { break-after: avoid; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; }
}
@media print {
  .cols { grid-template-columns: minmax(0, 1fr) 56mm !important; gap: 6mm !important; }
  .aside { position: static !important; gap: 4mm !important; }
  .aside #progress, .aside #rookie, .aside #refreshers, #rookie-mini { display: none !important; }
  svg.chev, .chev { display: none !important; }
  .step .card, .steps > li > .card { padding: 3mm 4mm !important; }
}
@media print {
  section, li, .panel, .stack { break-inside: auto; }
  .step, .aim, .drills li, details, .rk-card, .lb, .sig-card, .tile, .print-tag, .row, .teach, .radio-learn, .two-ptt, .ptt { break-inside: avoid; }
  .step { padding-left: 11mm !important; } .step + .step { margin-top: 2mm !important; }
  .step .num { width: 7.5mm !important; height: 7.5mm !important; top: 2mm !important; font-size: 9pt !important; }
  .step.open .card, .step .card { box-shadow: inset 0 0 0 0.75pt #9FB0C6 !important; border-radius: 3mm !important; }
  .step .toggle { min-height: 0 !important; padding: 2.5mm 4mm 1mm !important; }
  .step .toggle .t { font-size: 11.5pt !important; }
  .step .inner { padding: 0 4mm 3mm !important; gap: 1.5mm !important; }
  .stack { gap: 3mm !important; }
  .list.panel { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 4mm; }
  .list.panel > * { border-top: 0.5pt solid #DDE3EC !important; }
  .list .row { padding: 1.5mm 2mm !important; min-height: 0 !important; }
}
@media print {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .list.panel { display: block !important; }
  .list .row { padding: 1.2mm 2mm !important; } .list .row .date { transform: scale(.8); transform-origin: left center; }
  /* White Cap Welcome page: light bands, tighter */
  .band-sec { padding: 4mm 0 !important; background: #fff !important; color: #1A1A1A !important; }
  .band-sec .wrap { padding: 0 !important; }
  .band-sec.dark .sub, .band-sec.dark h2 { color: #0B2B56 !important; }
  .band-sec h2 { font-size: 15pt !important; } .band-sec .sub { margin-bottom: 3mm !important; }
  .t-welcome { background: #fff !important; }
}
@media print {
  /* FAQs: two columns of compact Q&A */
  .mw { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2.5mm !important; }
  .mw-item { border-radius: 2.5mm !important; box-shadow: inset 0 0 0 0.75pt #C9D3E0 !important; }
  .mw-item summary { padding: 2mm 3mm !important; min-height: 0 !important; } .mw-item summary svg { display: none !important; }
  .mw-body { padding: 0 3mm 2.5mm !important; } .mw-body p { margin: 0 !important; }
  .steps.faq { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2.5mm; }
  .steps.faq .step { padding-left: 0 !important; margin: 0 !important; } .steps.faq .num { display: none !important; }
  /* tick-card lists (programs, rookie season) become compact checklists */
  .plc-ms { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2mm !important; }
  .plc-ms > div { min-height: 0 !important; padding: 2mm 3mm !important; }
  .plc-ms .tap { padding: 0 !important; min-height: 0 !important; }
  .plc-ms .tip { position: static !important; opacity: 1 !important; transform: none !important; padding: 0 0 0 9mm !important; background: none !important; box-shadow: none !important; }
  .plc-next { break-inside: avoid; }
  .plc-week { break-inside: avoid; }
}
@media print {
  /* grids fragment badly across printed pages in Chromium: use flex-wrap for anything that can cross a page */
  .mw, .steps.faq, .plc-ms { display: flex !important; flex-wrap: wrap; align-items: flex-start; gap: 2.5mm !important; }
  .mw > *, .steps.faq > *, .plc-ms > * { flex: 0 0 calc(50% - 1.25mm); box-sizing: border-box; margin: 0 !important; }
  .plc-ms > .plc-next { flex-basis: 100%; }
}
@media print { .step .more, .tile .more { display: block !important; } .step .more > div, .tile .more > div { overflow: visible !important; } .step:not(.open) .more { display: none !important; } }
@media print {
  html { font-size: 10.5px; }
  .pr-grid { display: flex !important; flex-wrap: wrap; gap: 2.5mm !important; }
  .pr-grid > * { flex: 0 0 calc(33.33% - 1.7mm); box-sizing: border-box; min-height: 0 !important; padding: 3mm !important; break-inside: avoid; }
  .pr-card.quiz { background: #FFF8D6 !important; }
  .pr-card img, .pr-art img, .pr-art svg { max-height: 16mm !important; width: auto !important; }
  .pr-art.wide img { max-height: 14mm !important; }
  .ring { display: none !important; }
  .radio-wrap { margin-left: 3mm !important; }
}
@media print {
  .aim summary { gap: 2mm !important; padding: 2mm 2.5mm !important; } .aim summary b { font-size: 10.5pt !important; } .aim-n { width: 6mm !important; height: 6mm !important; font-size: 9pt; }
  .aim ul { padding: 0 2.5mm 2mm 6.5mm !important; gap: 0.6mm !important; font-size: 9pt; }
  .teach { padding: 3mm !important; margin: 3mm 0 !important; } .teach-grid { grid-template-columns: 52mm 1fr !important; }
  .teach-board { max-width: 52mm !important; } .tp { width: 11mm !important; height: 11mm !important; }
  .teach-steps .t span { font-size: 8.5pt !important; } .teach-steps button { padding: 0.6mm 0 !important; }
  .drills { display: flex !important; flex-wrap: wrap; gap: 2mm !important; } .drills li { flex: 0 0 calc(20% - 1.6mm); box-sizing: border-box; font-size: 8.5pt; padding: 2mm 2mm 2mm 2mm !important; } .drills li::before { position: static !important; display: inline-grid !important; margin-bottom: 1mm; }
}
/* Welcome pack: exact A4 sheets, footer carries the QR + document ID */
.a4 .foot2 { align-items: center; gap: 10px; }
.a4 .foot2 .pack-qr { width: 30px; height: 30px; flex: none; }
.a4 .foot2 > span:nth-of-type(1) { flex: 1; line-height: 1.5; }
@media print {
  html:has(.pack) { font-size: 16px !important; }
  .pack { display: block !important; }
  .a4 { height: 296mm !important; width: 210mm !important; break-after: page; page-break-after: always; box-shadow: none !important; }
  .a4:last-child { break-after: auto; page-break-after: auto; }
}
.ln-url { overflow-wrap: anywhere; }
@media print {
  #patrolling.band-sec, #next.band-sec, #life.band-sec { break-before: page; }
  .band-sec { padding: 0 0 4mm !important; }
}
/* White Cap Welcome prints as the welcome pack */
.print-pack { display: none; }
@media print {
  .lp:has(> .print-pack) > :not(.print-pack) { display: none !important; }
  .lp:has(> .print-pack) .print-pack { display: block !important; page: pack; }
  html:has(.print-pack) { font-size: 16px !important; }
  @page pack { size: A4; margin: 0; }
}
@media print { .facets-aside { display: none !important; } .cols:has(> .facets-aside) { grid-template-columns: 1fr !important; } }

/* Steps: sub-tasks are tick boxes, not a second set of numbers (31 Oct) */
.step ol.todo { list-style: none; padding-left: 0; gap: 10px; font-size: var(--t-base); }
.step ol.todo li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.step ol.todo li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 5px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ocean) 55%, #fff); background: #fff; }
.step.done ol.todo li::before { background: var(--ok); box-shadow: none; -webkit-mask: none; }
.step.done ol.todo li { color: var(--muted); }
@media print {
  .step ol.todo { gap: 1.2mm !important; font-size: 10pt; }
  .step ol.todo li::before { width: 3.4mm; height: 3.4mm; margin-top: 0.4mm; box-shadow: none !important; border: 0.9pt solid #0B2B56; border-radius: 0.8mm; background: #fff !important; }
  /* gradients with transparency print as magenta in some PDF viewers (macOS Preview): use flat colour on paper */
  .rk-hero, .home-hero, .qz-end { background: #0B2B56 !important; }
  .upnext-plc { background: #14532D !important; } .upnext-plc.assess { background: #7A1A1A !important; }
  .a4 .mbox .lines { background: none !important; border-top: 0.75pt solid #DDE3EC; border-bottom: 0.75pt solid #DDE3EC; min-height: 7mm; }
  .scene, .scene .wave { background-image: none !important; }
}
/* phones: let long words wrap instead of widening the column (31 Oct) */
@media screen and (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr) !important; } .sits .filters, .filters { flex-wrap: wrap; } .step .card, .step .toggle .grow { min-width: 0; } .step ol.todo li { overflow-wrap: anywhere; } }

/* ================= PHONES (31 Oct critical review): calmer type, tighter gutters, two-up grids ================= */
.status:empty { display: none; }
@media screen and (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .head .wrap { padding-top: 20px; padding-bottom: 20px; gap: 8px; }
  .head h1 { font-size: 1.625rem; line-height: 1.15; max-width: none; }
  .head .lede { font-size: 1rem; }
  .body .wrap, .body > .wrap { padding-top: 20px; padding-bottom: 32px; }
  h2.sec, .sec { font-size: 1.1875rem; }
  .tile { padding: 18px; } .tile h2 { font-size: 1.375rem; } .tile h3 { font-size: 1.125rem; }
  .bento { gap: 12px; }
  /* home hero */
  .bento .home-hero { padding: 20px; } .home-hero h2 { font-size: 1.5rem !important; } .home-hero .hh-lede { font-size: .9375rem; }
  .home-hero .ring.big { width: 84px; height: 84px; } .home-hero .ring.big > span { width: 64px; height: 64px; } .home-hero .ring.big b { font-size: 1.625rem; }
  .home-hero .level { font-size: 1.25rem; } .home-hero .hh-row { gap: 14px; }
  .ministrip { gap: 3px; } .home-practice .hp-grid { gap: 8px; } .hp { padding: 10px; } .hp b { font-size: .9375rem; } .hp img, .hp .hp-art { height: 48px; } .hp img { width: 48px; }
  /* steps: number sits inside the card, full width for the words */
  .step { padding-left: 0; } .step .num { width: 28px; height: 28px; top: 14px; left: 12px; font-size: .875rem; z-index: 1; }
  .steps::before, .step::before { display: none !important; }
  .step .toggle { padding: 12px 12px 12px 50px; min-height: 56px; gap: 8px; } .step .toggle .t { font-size: 1.0625rem; }
  .step .inner { padding: 0 14px 16px; gap: 12px; }
  .step ol.todo { font-size: .9375rem; gap: 8px; } .step ol.todo li { gap: 10px; } .step ol.todo li::before { width: 16px; height: 16px; }
  .guide-fig { display: none !important; }
  .note { font-size: .9375rem; }
  /* lists: SMC sessions and guide rows */
  .row { padding: 12px 14px; gap: 12px; } .row .title { font-size: 1rem; }
  .list .row .status { width: auto !important; }
  .date { width: 40px; } .date b { font-size: 1.25rem; }
  .list .row > .chip.out { width: auto !important; }
  a.row:has(> .chip.out) { flex-wrap: wrap; }
  a.row:has(> .chip.out) > .chip.out { order: 0; } a.row:has(> .chip.out) > .grow { order: 2; flex-basis: 100%; } a.row:has(> .chip.out) > :last-child { order: 1; margin-left: auto; }
  /* tabs and filters */
  .tabs.seg { max-width: 100%; overflow-x: auto; flex-wrap: nowrap; } .tabs.seg a { padding: 0 14px; min-height: 40px; white-space: nowrap; font-size: .9375rem; }
  .filter { min-height: 38px; padding: 0 12px; font-size: .875rem; }
  /* practice + signals: two-up */
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pr-card { min-height: 0; padding: 14px; gap: 6px; } .pr-card b { font-size: 1.0625rem; } .pr-card > span:not(.chip):not(.pr-go):not(.pr-art):not(.pr-ic) { font-size: .875rem; }
  .pr-card img, .pr-art img, .pr-art svg { max-height: 56px; width: auto; } .pr-ic { width: 40px; height: 40px; }
  .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sig-card { padding: 8px; } .sig-name { font-size: .9375rem; }
  .try-grid { grid-template-columns: 1fr; } .try-tile { padding: 12px 14px; gap: 12px; } .try-art { width: 48px; height: 48px; } .try-art img { max-width: 48px; max-height: 48px; } .try-txt b { font-size: 1rem; }
  .print-bar { margin: 0 0 12px; }
  /* white cap welcome: rookie cards two-up */
  .rk { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; } .rk-hero { grid-column: 1 / -1 !important; padding: 18px; }
  .rk-card .tap { padding: 10px; gap: 8px; } .rk-card .tap b { font-size: .9375rem; } .rk-card .tip { font-size: .8125rem; }
  .band-sec { padding: 32px 0; } .band-sec h2 { font-size: 1.375rem; }
  /* lifesaving cpr + radio */
  .aims { columns: 1; } .aim summary { padding: 12px; } .aim summary b { font-size: 1rem; } .aim ul { font-size: .9375rem; padding-left: 52px; }
  .teach { padding: 16px; } .teach-steps .t span { font-size: .875rem; }
  .radio-wrap { max-width: 240px; }
  /* PLC */
  .upnext-plc { padding: 18px; grid-template-columns: 1fr; gap: 12px; }
  .plc-ms { gap: 8px; }
  .faq .step .toggle, .mw-item summary { padding-left: 14px; }
}
