/* PlacementFlow homepage, stage two (29 Oct 2026): the opening, the product
   sequence and the transition into section 2, built from the approved design
   board (/board/). Self-contained; Concept B and the board are untouched.

   Layers in the opening: the real words and actions (ink, in flow), the blue
   plane above them holding a white copy of the same words, and the product
   above both. The plane's clip gathers into the PF mark as the product rises
   into view; the edge can only ever cut through drawn copies, so every word
   stays readable. Without motion (reduced motion or no JavaScript) the plane
   is a static band. */

:root {
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --blue: #1768f2; --blue-hover: #0e57d8; --deep: #0a1830; --ink: #071426; --ink-2: #2b3b52; --muted: #55647a;
  --canvas: #f5f7fa; --line: rgba(7, 20, 38, .11);
  --p-ink: #16233f; --p-body: #1b2740; --p-slate: #5d6b84; --p-mist: #8a97ad; --p-rule: #dfe4ec; --p-open: #f6f8fb;
  --p-brand: #1f6fd6; --p-brand-2: #1559b0; --p-tint: #eaf2fd; --site: #3fc1b4; --ward: #7c5cff; --theatre: #e0493b; --ok: #137a40; --amber: #8a5208;
  --sheet: 0 1px 2px rgba(7, 20, 38, .08), 0 32px 64px -28px rgba(7, 20, 38, .38);
  --pop: 0 2px 6px rgba(7, 20, 38, .08), 0 24px 60px -12px rgba(7, 20, 38, .28);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1216px; --gutter: clamp(16px, 4vw, 40px); --nav-h: 64px;
  /* opening rhythm (height tiers below) */
  --pad: 72px; --h1: clamp(44px, 6.4vw, 92px); --lf: clamp(18px, 1.6vw, 23px); --lm: 24px; --am: 32px; --sg: 32px; --band: 152px;
}
@media (max-height: 820px) and (min-width: 768px) { :root { --pad: 56px; --h1: clamp(40px, 5.4vw, 76px); --lf: clamp(18px, 1.5vw, 21px); --lm: 18px; --am: 26px; --sg: 28px; } }
@media (max-height: 700px) and (min-width: 768px) { :root { --pad: 40px; --h1: clamp(38px, 4.8vw, 64px); --lf: 19px; --lm: 16px; --am: 22px; --sg: 24px; } }
@media (max-width: 767px) { :root { --pad: 40px; --h1: clamp(36px, 11.2vw, 46px); --lf: 18px; --lm: 18px; --am: 24px; --sg: 28px; --band: 118px; } }
@media (max-width: 767px) and (max-height: 700px) { :root { --pad: 24px; --h1: clamp(34px, 10.4vw, 42px); --lf: 17px; --lm: 14px; --am: 20px; --sg: 24px; } }

:where(html) { -webkit-text-size-adjust: 100%; scroll-behavior: auto; scrollbar-color: rgba(7, 20, 38, .32) transparent; }
:where(body) { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(fieldset) { border: 0; padding: 0; min-width: 0; }
:where(a) { color: inherit; text-decoration: none; }
:where(svg) { display: inline-block; flex: none; }
:where(i, em) { font-style: normal; }
:where(button) { font: inherit; color: inherit; }
::selection { background: rgba(23, 104, 242, .2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 14px; transition: top .15s var(--ease-out); }
.skip:focus-visible { top: 12px; outline-color: #fff; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------------- nav: a canvas strip; the plane's blue is clipped into it ---------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); background: var(--canvas); overflow: hidden; transition: box-shadow .25s; }
.nav.is-light { box-shadow: 0 1px 0 var(--line); }
.nav-blue { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; background: var(--blue); pointer-events: none; }
.nav-blue.is-off { visibility: hidden; }
.nav-in { position: relative; height: var(--nav-h); display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; border-radius: 8px; }
.mark { width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: -.02em; transition: background .18s, color .18s; }
.word { font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); transition: color .18s; }
.word i { color: var(--blue); transition: color .18s; }
.logo.on-blue .mark { background: #fff; color: var(--blue); }
.logo.on-blue .word, .logo.on-blue .word i { color: #fff; }
.links { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.links a, .login { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .18s, background .15s; }
.links a:hover, .login:hover { color: var(--ink); background: rgba(7, 20, 38, .06); }
.links a.on-blue, .login.on-blue { color: #fff; }
.links a.on-blue:hover, .login.on-blue:hover { background: rgba(255, 255, 255, .14); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 14.5px; font-weight: 600; transition: background .18s, color .18s, box-shadow .18s; }
.cta:hover { background: var(--blue-hover); }
.cta.on-blue { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .72); }
.cta.on-blue:hover { background: rgba(255, 255, 255, .12); }
.on-blue:focus-visible { outline-color: #fff; }
.menu { display: none; position: relative; }
.menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; color: var(--ink); transition: color .18s; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary.on-blue { color: #fff; }
.menu > summary svg { width: 22px; height: 22px; }
.sheet { position: fixed; left: var(--gutter); right: var(--gutter); top: calc(var(--nav-h) + 6px); z-index: 60; background: #fff; border-radius: 14px; padding: 8px; box-shadow: var(--pop); display: grid; gap: 2px; }
.sheet a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 10px; font-weight: 500; font-size: 16px; color: var(--ink); }
.sheet a:hover { background: rgba(7, 20, 38, .05); }
.sheet a.is-login { color: var(--blue); }

/* ---------------- the formation: the field resolves into the mark, the bar becomes solid ----------------
   One finite sequence started by a small scroll (home.js): the field gathers into the logo
   (0.62 s); 80 % of the way the bar turns from blue to an opaque surface and every label
   changes from light-on-blue to dark-on-light together, the tile showing as a blue outline;
   as the last of the field passes under the bar the tile fills blue and the bar's hairline and
   depth appear. Every change in the bar shares one duration and curve. No spring, no
   overshoot. Returning to the top reverses it: the bar turns blue, then the field opens out of
   the mark. */
html.motion .nav { background: #fff; transition: box-shadow .22s cubic-bezier(.4, 0, .2, 1); }
html.motion .nav-blue { clip-path: none; transition: opacity .22s cubic-bezier(.4, 0, .2, 1); }
html.motion .nav.is-solid .nav-blue { opacity: 0; }
html.motion .nav.is-resolved { box-shadow: 0 1px 0 rgba(7, 20, 38, .09), 0 12px 28px -22px rgba(7, 20, 38, .38); }
html.motion .nav:not(.is-resolved) .mark { background: #fff; color: var(--blue); }
html.motion .nav.is-resolved .mark { background: var(--blue); color: #fff; }
html.motion .nav.is-solid:not(.is-resolved) .mark { box-shadow: inset 0 0 0 1.5px var(--blue); }
html.motion .nav .mark { transition: background .22s cubic-bezier(.4, 0, .2, 1), color .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s cubic-bezier(.4, 0, .2, 1); }
html.motion .nav :is(.word, .word i, .links a, .login, .cta, .menu > summary) { transition-duration: .22s; transition-timing-function: cubic-bezier(.4, 0, .2, 1); }
html.motion .nav.is-instant, html.motion .nav.is-instant * { transition: none !important; }

/* ---------------- the headline, in motion: once, on arrival ----------------
   "Medical school," rises word by word out of its own baseline mask; "finally connected."
   arrives with its letters slightly apart and draws together into the set tracking, so the
   last words do what they say (on a phone the two words close up instead). Readable within
   0.4 s, settled by 1.25 s. The page's h1 keeps
   one accessible name (the moving letters are aria-hidden); nothing replays on scroll. */
.kt-m { display: inline-block; vertical-align: top; }
html.motion .kt-m { overflow: hidden; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
html.motion .kt.kt-done .kt-m { overflow: visible; }
html.motion .kt-w { display: inline-block; animation: kt-rise .72s cubic-bezier(.16, 1, .3, 1) .04s both; }
html.motion .kt-m + .kt-m .kt-w { animation-delay: .12s; }
html.motion .kt-l2 { white-space: nowrap; animation: kt-close 1.05s cubic-bezier(.16, 1, .3, 1) .2s both; }
@keyframes kt-rise { from { transform: translateY(125%); } to { transform: none; } }
@keyframes kt-close { 0% { opacity: 0; letter-spacing: .09em; } 38% { opacity: 1; } 100% { opacity: 1; letter-spacing: -.03em; } }
html.motion .h-copy .lead { animation: kt-up .7s cubic-bezier(.16, 1, .3, 1) .42s both; }
html.motion .h-copy .arow { animation: kt-up .7s cubic-bezier(.16, 1, .3, 1) .54s both; }
@keyframes kt-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* a phone has no room for the letters to stand apart: the two words close the gap instead,
   and the line may wrap as it would at rest */
@media (max-width: 767px) {
  html.motion .kt-l2 { white-space: normal; animation: none; }
  html.motion .kt-a, html.motion .kt-b { display: inline-block; animation: kt-meet .9s cubic-bezier(.16, 1, .3, 1) .2s both; }
  html.motion .kt-a { --kt-x: -.16em; }
  html.motion .kt-b { --kt-x: .16em; }
}
@keyframes kt-meet { from { opacity: 0; transform: translateX(var(--kt-x, 0)); } to { opacity: 1; transform: none; } }

/* ---------------- the statement: what the product preview is showing, in one active line ----------------
   One statement for each of the preview's five areas, set above the product's top-right corner: its
   baseline on the actions' baseline and every line ending on the product's right edge, so it reads
   as the caption of the demo beneath it and scrolls with it, leaving when the product does. A small
   five-part index over its end marks which area is playing. Like the headline it is drawn twice:
   white with light marks in the blue field, navy with blue marks on the page beneath. The field's
   own edge decides which is seen, so as the field gathers into the PF mark the statement changes
   exactly where the blue leaves it, and dark text never sits on blue. It follows the checked label
   in CSS: it changes when the scene does, holds with Pause, a hidden tab or a chosen label, and
   needs no script. In motion the old line rolls up and out and the new one rises in (exits faster
   than entrances); without motion it changes at once. Set at the lead's size, only heavier (600).
   White on the blue is 4.89:1; the navy on the page 17.6:1. Decorative (aria-hidden): the labels'
   own descriptions carry the meaning. On a phone it shares the "See how it works" baseline, sized
   to fit beside it, and only where it fits (350 px and wider). */
.stmt { display: none; color: var(--ink); }
.plane .stmt { color: #fff; }
.stmt-r { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 12px; }
.stmt-r i { flex: none; width: 16px; height: 2px; border-radius: 1px; background: var(--blue); opacity: .25; }
.plane .stmt-r i { background: #fff; opacity: .3; }
.stmt-w { display: grid; justify-items: end; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.stmt-w > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(-38%); }
.hero:has(#sc-placements:checked) .stmt [data-s="placements"],
.hero:has(#sc-updates:checked) .stmt [data-s="updates"],
.hero:has(#sc-learning:checked) .stmt [data-s="learning"],
.hero:has(#sc-opportunities:checked) .stmt [data-s="opportunities"],
.hero:has(#sc-future:checked) .stmt [data-s="future"] { opacity: 1; }
.hero:has(#sc-placements:checked) .stmt-w [data-s="placements"],
.hero:has(#sc-updates:checked) .stmt-w [data-s="updates"],
.hero:has(#sc-learning:checked) .stmt-w [data-s="learning"],
.hero:has(#sc-opportunities:checked) .stmt-w [data-s="opportunities"],
.hero:has(#sc-future:checked) .stmt-w [data-s="future"] { transform: none; }
html.motion .stmt { animation: kt-up .8s cubic-bezier(.16, 1, .3, 1) 1s both; }
html.motion .stmt-r i { transition: opacity .45s cubic-bezier(.16, 1, .3, 1); }
html.motion .stmt-w > span { transition: opacity .2s cubic-bezier(.4, 0, 1, 1), transform .28s cubic-bezier(.4, 0, 1, 1); }
html.motion .hero:has(#sc-placements:checked) .stmt-w [data-s="placements"],
html.motion .hero:has(#sc-updates:checked) .stmt-w [data-s="updates"],
html.motion .hero:has(#sc-learning:checked) .stmt-w [data-s="learning"],
html.motion .hero:has(#sc-opportunities:checked) .stmt-w [data-s="opportunities"],
html.motion .hero:has(#sc-future:checked) .stmt-w [data-s="future"] { transition: none; animation: stmt-in .62s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
@keyframes stmt-in { from { opacity: 0; transform: translateY(62%); } }
@media (min-width: 768px) {
  .h-copy { position: relative; }
  /* the line's baseline on the actions' baseline: 54 px controls with 16.5 px labels put it 20.8 px
     above their foot, and a 1.1 line box puts its own baseline .175 em above its foot */
  .stmt { display: block; position: absolute; right: 0; bottom: calc(20.8px - .175em); width: max-content; margin: 0; font-size: var(--lf); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; pointer-events: none; user-select: none; }
}
@media (min-width: 350px) and (max-width: 767px) {
  .h-copy { position: relative; }
  /* the stacked actions end with "See how it works" (a 44 px row, 16.5 px label, 154 px with its
     arrow): its baseline is 15.8 px above their foot; the longest line (11.45 em) fits beside it
     with 16 px to spare */
  .stmt { display: block; position: absolute; right: 0; bottom: calc(15.8px - .175em); width: max-content; margin: 0; font-size: min(16px, calc((100vw - 202px) / 11.45)); line-height: 1.1; font-weight: 600; letter-spacing: -.015em; pointer-events: none; user-select: none; }
  .stmt-r { gap: 3px; margin-bottom: 6px; }
  .stmt-r i { width: 12px; }
}

/* ---------------- the opening ---------------- */
.hero { position: relative; overflow-x: clip; }
.h-text { position: relative; }
.h-copy { padding-top: calc(var(--nav-h) + var(--pad)); }
.h1 { font-size: var(--h1); line-height: .98; font-weight: 700; letter-spacing: -.03em; max-width: 17ch; color: var(--ink); text-wrap: balance; }
.lead { margin-top: var(--lm); font-size: var(--lf); line-height: 1.45; max-width: 44ch; color: var(--ink-2); text-wrap: pretty; }
.arow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: var(--am); }
.btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 16.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; transition: background .15s, transform .15s var(--ease-out); }
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: translateY(1px); }
.quiet { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 6px; border-radius: 8px; font-size: 16.5px; font-weight: 600; color: var(--blue); }
.quiet svg { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.quiet:hover svg { transform: translateY(2px); }
.plane { position: absolute; left: 0; right: 0; top: 0; bottom: calc(-1 * var(--ext, 0px)); z-index: 2; background: var(--blue); pointer-events: none; }
.plane .h1, .plane .lead { color: #fff; }
.plane .btn { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(7, 20, 38, .12), 0 10px 24px -14px rgba(7, 20, 38, .45); }
.plane .quiet { color: #fff; }
.plane.is-off { visibility: hidden; }
/* before the engine measures, the plane already covers the first viewport */
html.motion .plane { bottom: calc(-1 * var(--ext, 100vh)); }
/* the plane mirrors the real actions' states, since it can sit above them */
.hero:has(.h-text > .h-copy .act-main:hover) .plane .act-main { background: #f4f7ff; }
.hero:has(.h-text > .h-copy .act-main:focus-visible) .plane .act-main { outline: 2px solid #fff; outline-offset: 3px; }
.hero:has(.h-text > .h-copy .act-how:focus-visible) .plane .act-how { outline: 2px solid #fff; outline-offset: 3px; }
.hero:has(.h-text > .h-copy .act-how:hover) .plane .act-how svg { transform: translateY(2px); }
html.motion .product { animation: fade .9s var(--ease-out) .35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(.22em); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------------- the product stage ---------------- */
.product { position: relative; z-index: 3; margin-top: var(--sg); scroll-margin-top: calc(var(--nav-h) + 24px); }
.stage { position: relative; background: #fff; border-radius: 14px; box-shadow: var(--sheet); overflow: hidden; color: var(--p-ink); font-size: 14px; line-height: 1.45; }
.tabs { display: flex; align-items: stretch; height: 46px; padding: 0 10px 0 8px; border-bottom: 1px solid var(--p-rule); background: #fff; }
.tabs-in { display: flex; align-items: stretch; min-width: 0; }
.tab { position: relative; display: flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--p-slate); white-space: nowrap; cursor: pointer; border-radius: 10px; transition: color .18s; }
.tab:hover { color: var(--p-ink); }
.tab input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.tab:has(input:checked) { color: var(--p-ink); }
.tab:has(input:focus-visible) { outline: 2px solid var(--p-brand); outline-offset: -7px; }
.tab .bar { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; overflow: hidden; border-radius: 1px; }
.tab:has(input:checked) .bar { background: var(--p-rule); }
.tab .bar::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform-origin: left center; transform: scaleX(0); }
.tab:has(input:checked) .bar::after { transform: scaleX(var(--prog, 1)); }
.l-short { display: none; }
.meta { margin-left: auto; align-self: center; font-size: 12px; color: var(--p-slate); white-space: nowrap; padding-left: 12px; }
.pp { align-self: center; margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--p-ink); cursor: pointer; transition: background .15s; }
.pp:hover { background: var(--p-open); }
.pp svg { width: 11px; height: 11px; }
.pp[hidden] { display: none; }
.qual { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.qual-label { display: none; }

.app { position: relative; }
.bar-top { display: grid; grid-template-columns: 196px minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 45px; padding: 0 16px 0 18px; border-bottom: 1px solid var(--p-rule); }
.a-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.a-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.a-word i { color: var(--blue); }
.srch { width: min(420px, 100%); height: 32px; border: 1px solid var(--p-rule); border-radius: 9px; padding: 0 8px 0 11px; display: flex; align-items: center; gap: 8px; color: var(--p-slate); font-size: 13px; white-space: nowrap; overflow: hidden; }
.srch svg { width: 13px; height: 13px; }
.srch kbd { margin-left: auto; font: 600 10.5px var(--font); color: var(--p-mist); border: 1px solid var(--p-rule); border-radius: 4px; padding: 0 5px; }
.bar-r { display: flex; align-items: center; gap: 12px; }
.msg { position: relative; display: inline-grid; width: 18px; height: 18px; color: var(--p-slate); }
.msg svg { width: 17px; height: 17px; }
.msg i { position: absolute; top: -6px; right: -7px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: var(--theatre); color: #fff; font: 700 9.5px/15px var(--font); text-align: center; }
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.nm { font-size: 13.5px; font-weight: 600; }
.body { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.side { padding: 12px 10px 14px 12px; border-right: 1px solid var(--p-rule); font-size: 13px; }
.chip { position: relative; border: 1px solid var(--p-rule); border-radius: 10px; padding: 7px 8px 7px 13px; margin-bottom: 6px; overflow: hidden; }
.chip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--site); }
.chip b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.chip span { display: block; font-size: 11.5px; color: var(--p-slate); }
.side li { display: flex; align-items: center; gap: 9px; height: 27px; padding: 0 8px; border-radius: 8px; font-weight: 500; transition: background .3s, box-shadow .3s; }
.side li svg { width: 15px; height: 15px; color: var(--p-slate); }
.side li.grp { height: 22px; margin-top: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--p-slate); font-weight: 600; }
.side li em { margin-left: auto; min-width: 19px; height: 17px; padding: 0 5px; border-radius: 9px; background: #eef1f6; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; }
.stage:has(#sc-learning:checked) .side [data-for="learning"],
.stage:has(#sc-placements:checked):has(.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"])) .side [data-for="placements"],
.stage:has(#sc-placements:checked):not(:has(.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"]))) .side [data-for="timetable"],
.stage:has(#sc-opportunities:checked) .side [data-for="opportunities"],
.stage:has(#sc-future:checked) .side [data-for="future"] { background: #f3f6fb; box-shadow: inset 2px 0 0 var(--p-brand); border-radius: 0 8px 8px 0; }
.main { position: relative; padding: 18px 24px 22px; min-width: 0; overflow: hidden; }
.tbar { display: none; grid-template-columns: repeat(5, 1fr); height: 56px; border-top: 1px solid var(--p-rule); font-size: 10.5px; color: var(--p-slate); text-align: center; align-items: center; }
.tbar span svg { display: block; margin: 0 auto 3px; width: 19px; height: 19px; }
.stage:has(#sc-learning:checked) .tbar [data-for~="learning"],
.stage:has(#sc-placements:checked):has(.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"])) .tbar [data-for~="placements"],
.stage:has(#sc-placements:checked):not(:has(.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"]))) .tbar [data-for~="timetable"],
.stage:has(#sc-opportunities:checked) .tbar [data-for~="opportunities"],
.stage:has(#sc-future:checked) .tbar [data-for~="future"] { color: var(--p-brand); font-weight: 600; }
.cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 20px; height: 24px; opacity: 0; pointer-events: none; transform: translate(-60px, -60px); transition: transform .55s var(--ease-out), opacity .25s ease; filter: drop-shadow(0 2px 3px rgba(7, 20, 38, .35)); }
.cursor svg { display: block; width: 20px; height: 24px; transform-origin: 3px 2px; transition: transform .12s; }
.cursor.on { opacity: 1; }
.cursor.press svg { transform: scale(.86); }
.cursor.jump { transition: none; }
html:not(.motion) .cursor { display: none; }

/* scenes share one cell: the stage is as tall as its tallest scene (the engine also
   holds that height while a scene changes state, so the page never moves) */
.scenes { display: grid; min-height: var(--scenes-h, 0); }
.scene { position: relative; grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease-out), visibility 0s linear .45s; }
.stage:has(#sc-learning:checked) .scene[data-scene="learning"],
.stage:has(#sc-placements:checked) .scene[data-scene="placements"],
.stage:has(#sc-updates:checked) .scene[data-scene="updates"],
.stage:has(#sc-opportunities:checked) .scene[data-scene="opportunities"],
.stage:has(#sc-future:checked) .scene[data-scene="future"] { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out), visibility 0s; }
.no-trans, .no-trans * { transition: none !important; }

/* product type, shared */
.lab { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-ink); }
.lab span { margin-left: 8px; letter-spacing: .02em; text-transform: none; font-weight: 500; color: var(--p-slate); }
.lk { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--p-brand-2); white-space: nowrap; }
.lk svg { width: 13px; height: 13px; }
.gbtn { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--p-rule); border-radius: 8px; font-size: 13.5px; font-weight: 600; background: #fff; }
.chev { width: 16px; height: 16px; color: var(--p-mist); }
.dbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 9px; background: var(--p-ink); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.dbtn svg { width: 13px; height: 13px; }

/* ---- scene 1 · Teaching D1.1 ---- */
.pg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--p-ink); }
.eyebrow, .ppill { display: none; }
.pg-title { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.pg-sub { margin-top: 5px; font-size: 13.5px; color: var(--p-slate); }
.tsearch-w { position: relative; flex: none; }
.tsearch { display: flex; align-items: center; gap: 8px; width: 300px; height: 38px; padding: 0 5px 0 11px; border: 1px solid var(--p-rule); border-radius: 10px; background: #fff; font-size: 13.5px; color: var(--p-slate); transition: border-color .2s, box-shadow .2s; }
.tsearch svg { width: 14px; height: 14px; }
.tq { display: inline-flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.tsearch .q { font-weight: 500; color: var(--p-ink); }
.caret { display: none; width: 1.5px; height: 16px; margin-left: 1px; background: var(--p-ink); }
.tpill { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #eef1f6; font-size: 11px; font-weight: 600; color: var(--p-ink); }
.scene[data-scene="learning"]:not([data-step="0"]) .ph-t { display: none; }
.scene[data-scene="learning"][data-step="0"] .q { display: none; }
.scene[data-scene="learning"]:not([data-step="0"]) .tsearch { border-color: var(--p-brand); box-shadow: 0 0 0 3px rgba(31, 111, 214, .14); color: var(--p-ink); }
html.motion .scene[data-scene="learning"]:not([data-step="0"]) .caret { display: inline-block; animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.live { position: absolute; top: calc(100% + 6px); right: -1px; z-index: 5; width: min(540px, 72vw); padding: 4px; border: 1px solid var(--p-rule); border-radius: 12px; background: #fff; box-shadow: var(--pop); transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), visibility 0s; }
.scene[data-scene="learning"][data-step] .live { opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility 0s linear .18s; }
.live-st { padding: 6px 10px 4px; font-size: 12px; color: var(--p-slate); }
.live-r { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 1px 10px; align-items: center; min-height: 44px; padding: 5px 10px; border-radius: 8px; }
.km { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.km svg { width: 12px; height: 12px; }
.k-note { background: #fff7df; color: #ad6b00; } .k-pdf { background: #fff0ee; color: #d54b45; } .k-ses { background: var(--p-tint); color: var(--p-brand); }
.live-t { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.live-p { display: block; font-size: 11.5px; line-height: 1.35; color: var(--p-slate); }
.live-k { font-size: 11.5px; color: var(--p-slate); white-space: nowrap; }
.live-f { padding: 4px 10px 5px; border-top: 1px solid var(--p-rule); }
.lab-browse { margin-top: 16px; }
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.door { border: 1px solid var(--p-rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.door-h { display: flex; align-items: center; gap: 9px; padding: 11px 11px 3px; }
.plate { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.plate svg { width: 14px; height: 14px; }
.pl-u { background: var(--p-tint); color: var(--p-brand); } .pl-p { background: #e4f5eb; color: var(--ok); } .pl-t { background: #efe9ff; color: var(--ward); } .pl-l { background: #fdf1df; color: var(--amber); }
.door-n { font-size: 14px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.door-h .go { margin-left: auto; width: 13px; height: 13px; color: var(--p-slate); }
.door-p { padding: 0 11px 9px; font-size: 12px; color: var(--p-slate); }
.door-w { margin-top: auto; padding: 9px 11px 11px; border-top: 1px solid var(--p-rule); background: var(--p-open); font-size: 12px; color: var(--p-slate); line-height: 1.4; }
.door-w b { display: block; font-size: 13px; font-weight: 600; color: var(--p-ink); }
.door-w span { display: block; }
.door-w em { margin-right: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p-slate); }
.recent { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--p-ink); }
.r-title { margin-top: 6px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.r-meta { margin-top: 3px; font-size: 12.5px; color: var(--p-slate); }
.r-sum { margin-top: 5px; font-size: 13.5px; }
.r-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--p-open); align-items: center; }
.r-item .n { font-size: 12px; font-weight: 600; color: var(--p-slate); white-space: nowrap; }
.r-item .t { font-size: 14px; font-weight: 600; }

/* ---- scene 2 · Placements: Today B3.2 → Timetable T1.2 → the session's own QR check-in ----
   States on the scene: today, week, select (desktop), scan, aim, confirm, ok, moment; none = checked in.
   The scanner, the check-in moment and the explorer are layers of .app (they cover its chrome, as the
   product's fixed overlays cover the screen), so their rules read the scene's state from .app. */
.p-pages { position: relative; display: grid; }
/* Today is a page taller than the frame: it starts at the top (the day and the placement)
   and scrolls to Your day; it never sets the stage's height. */
.p-today { position: absolute; left: 0; right: 0; top: 0; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(-12px); transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s; }
.p-week { grid-area: 1 / 1; min-width: 0; transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s; }
.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"]) .p-today { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s; }
.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"]) .p-week { opacity: 0; visibility: hidden; transform: translateX(12px); transition-delay: 0s, 0s, .4s; }
.p-today-in { transition: transform .75s var(--ease-out); }
.scene[data-scene="placements"][data-step="day"] .p-today-in { transform: translateY(calc(-1 * var(--day-lift, 0px))); }
/* Today's masthead and placement header (B3.2: the photograph or nothing; this site has none) */
.tm-whisper { padding-bottom: 14px; }
.tm-greet { font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--p-slate); }
.tm-greet b { font-weight: 600; color: var(--p-ink); }
.tm-date { margin-top: 2px; font-size: 40px; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; color: var(--p-brand); }
.tm-date span { color: var(--p-ink); }
.tm-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 32px; padding-bottom: 14px; }
.tm-hero-main { min-width: 0; }
.tm-kicker { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-slate); }
.tm-kicker i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7db4f0; }
.tm-htitle { margin-top: 4px; font-size: 26px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.tm-hsub { margin-top: 4px; font-size: 14px; color: var(--p-slate); font-variant-numeric: tabular-nums; }
.tm-hlinks { flex: none; display: flex; flex-direction: column; align-items: flex-end; padding-bottom: 2px; }
.tm-hl { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; font-size: 14px; font-weight: 600; color: var(--p-brand-2); white-space: nowrap; }
.tm-hl-q { color: var(--p-slate); } .tm-hl-q b { color: var(--p-ink); }
/* Today: Now, with the session's own check-in action, then the day */
.tm-mid { display: grid; grid-template-columns: 7fr 5fr; padding-top: 12px; border-top: 1px solid var(--p-ink); }
.tm-now { padding-right: 28px; }
.tm-glance { padding-left: 24px; border-left: 1px solid var(--p-rule); }
.tm-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.tm-tt { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--theatre); }
.tm-tt b { display: block; font-weight: 600; }
.tm-tt span { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--p-slate); }
.tm-ttl { font-size: 23px; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
.tm-m { margin-top: 4px; font-size: 14px; color: var(--p-slate); }
.tm-chips { display: flex; gap: 6px; margin-top: 8px; }
.tm-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 6px; background: #eef1f6; color: var(--p-slate); font-size: 12px; font-weight: 600; }
.tm-chip--mand { background: #fdf1df; color: var(--amber); }
.tm-prog { display: flex; align-items: center; gap: 12px; max-width: 420px; margin-top: 11px; font-size: 12.5px; color: var(--p-slate); white-space: nowrap; }
.tm-bar { position: relative; flex: 1; height: 2px; background: var(--p-rule); }
.tm-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 10%; background: var(--theatre); }
.tm-acts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
.tm-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 8px; background: #081f47; color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tm-btn svg { width: 17px; height: 17px; }
.tm-up { display: grid; grid-template-columns: 92px minmax(0, 1fr) 16px; gap: 12px; margin-top: 10px; font-size: 12px; line-height: 1.35; color: var(--p-slate); align-items: start; }
.tm-up b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--p-ink); }
.tm-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; }
.quiet-l { color: var(--p-slate); font-weight: 500; } .quiet-l b { color: var(--p-ink); }
.spine { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--p-ink); }
.dayh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.meta-d { font-size: 12.5px; color: var(--p-slate); }
.spine ol { margin-top: 4px; }
.slot { border-top: 1px solid var(--p-rule); }
.spine ol > li:first-child { border-top: 0; }
.slot-h { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; padding: 7px 0; }
.slot .tm-t { font-size: 16px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; color: var(--p-ink); }
.slot .tm-t b, .slot .tm-t span { display: block; }
.slot .tm-t b { font-weight: 600; }
.slot .tm-t span { font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--p-slate); }
.slot.cur { margin: 0 -12px; padding: 0 12px; border-radius: 10px; border-top-color: transparent; background: var(--p-open); }
.slot.cur .tm-t b { color: var(--theatre); }
.slot.cur + .gap { border-top-color: transparent; }
.slot-main { min-width: 0; }
.slot-t { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.slot-m { display: block; font-size: 12.5px; color: var(--p-slate); }
.nowtag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 1px 6px; border-radius: 3px; background: var(--theatre); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.st-mand { font-size: 12px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.gap { padding: 5px 0 5px 76px; border-top: 1px solid var(--p-rule); font-size: 12.5px; color: var(--p-slate); }
.day-end { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--p-rule); font-size: 13px; color: var(--p-slate); }
/* the Timetable T1.2: the week is the date control; an ink rule opens the section */
.pt-weekbar, .pt-att-slot { display: none; }
.tt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 11px; border-bottom: 1px solid var(--p-ink); }
.tt-head-l { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.tt-datenav { display: flex; align-items: center; gap: 6px; }
.tt-datestep { display: flex; align-items: center; height: 36px; padding: 2px; gap: 2px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; }
.tt-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 6px; color: var(--p-slate); }
.tt-step svg { width: 16px; height: 16px; }
.tt-datebtn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-datebtn svg { width: 14px; height: 14px; color: var(--p-slate); }
.tt-today { padding: 0 10px; font-size: 13px; font-weight: 600; color: var(--p-mist); }
.tt-sub { font-size: 12.5px; color: var(--p-slate); }
.tt-toggle { display: flex; gap: 2px; height: 36px; padding: 2px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; }
.tt-toggle span { display: inline-grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--p-slate); }
.tt-toggle .on { background: var(--p-tint); color: var(--p-brand-2); }
.tt-weekbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 9px 0 10px; }
.tt-sum { font-size: 13px; color: var(--p-slate); font-variant-numeric: tabular-nums; }
.tt-sum b { font-weight: 600; color: var(--p-ink); }
.tt-sum > i { display: inline-block; width: 3px; height: 3px; margin: 0 8px; border-radius: 50%; background: #c3cfe2; vertical-align: middle; }
.tt-legend { display: flex; gap: 14px; font-size: 11.5px; color: var(--p-slate); white-space: nowrap; }
.tt-legend i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 0; }
.tt-legend i.hatch, .tt-ev.mand::after { border-radius: 2px; background: repeating-linear-gradient(135deg, #e08a1e 0 1.5px, transparent 1.5px 4px); }
.tt-grid { --hh: 24px; --cols: 44px repeat(5, minmax(0, 1fr)) 76px; }
.tt-days, .tt-body { display: grid; grid-template-columns: var(--cols); }
.tt-days { border-bottom: 1px solid var(--p-rule); }
.tt-wd { padding: 0 10px 8px; }
.tt-wd b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--p-slate); }
.tt-wd i { display: block; margin-top: 1px; font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.tt-wd.is-past i { color: var(--p-slate); }
.tt-wd.is-today { box-shadow: inset 0 -2px 0 var(--p-brand); }
.tt-wd.is-today b, .tt-wd.is-today i { color: var(--p-brand); }
.tt-body { position: relative; height: calc(13 * var(--hh)); }
.tt-axis { position: relative; }
.tt-axis span { position: absolute; right: 10px; top: calc(var(--i) * var(--hh)); transform: translateY(-7px); font-size: 11px; color: var(--p-slate); font-variant-numeric: tabular-nums; }
.tt-axis span:first-child { transform: none; }
.tt-col { position: relative; border-left: 1px solid #f1f4f9; background-image: repeating-linear-gradient(to bottom, #f1f4f9 0 1px, transparent 1px var(--hh)); }
.tt-col.is-today { background-color: #fafbfd; }
.tt-ev { position: absolute; left: 4px; right: 4px; top: calc(var(--s) * var(--hh) + 1px); height: calc(var(--d) * var(--hh) - 3px); display: flex; flex-direction: column; gap: 1px; padding: 5px 8px 5px 9px; overflow: hidden; border: 1px solid var(--p-rule); border-left: 2px solid var(--c); border-radius: 6px; background: #fff; }
.tt-ev > b { font-size: 11.5px; font-weight: 600; color: var(--c); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt-ev .t { font-size: 13px; font-weight: 600; letter-spacing: -.012em; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tt-ev .m { font-size: 11.5px; line-height: 1.35; color: var(--p-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-ev.s .t { -webkit-line-clamp: 1; }
.tt-ev.s .m { display: none; }
.tt-ev.short { flex-direction: row; align-items: center; gap: 6px; padding: 2px 8px; }
.tt-ev.short > b > span, .tt-ev.short .m { display: none; }
.tt-ev.short .t { display: block; min-width: 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-ward { --c: var(--ward); } .c-clinic { --c: #0d9488; } .c-theatre { --c: var(--theatre); } .c-teach { --c: var(--p-brand); }
.tt-ev.mand::after { content: ""; position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; }
.tt-ev .tick { display: none; position: absolute; top: 3px; right: 19px; font-size: 12px; font-weight: 700; color: var(--ok); }
.tt-now { position: absolute; z-index: 5; left: 0; right: 0; top: calc(var(--s) * var(--hh)); height: 1.5px; background: var(--p-ink); pointer-events: none; }
.tt-now i { position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--p-brand); }
.tt-now span { position: absolute; right: 4px; top: -20px; padding: 2px 7px; border-radius: 4px; background: var(--p-ink); color: #fff; font-size: 10px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tt-wknd { padding: 16px 10px; border-left: 1px solid #f1f4f9; font-size: 11.5px; line-height: 1.4; color: var(--p-slate); }
.tt-wknd b { display: block; font-size: 12px; font-weight: 600; }
.scene[data-scene="placements"]:not([data-step="today"]):not([data-step="day"]):not([data-step="week"]) .tt-ev.is-sel { outline: 2px solid var(--p-brand); outline-offset: 0; }
/* the event drawer (desktop): the selected session's details and its own check-in action */
.tt-drawer { position: absolute; z-index: 4; top: -18px; right: -24px; bottom: -22px; width: 340px; display: flex; flex-direction: column; border-left: 1px solid var(--p-rule); background: #fff; box-shadow: -12px 0 40px -16px rgba(16, 26, 46, .22); transition: opacity .22s var(--ease-out), transform .26s var(--ease-out), visibility 0s; }
.scene[data-scene="placements"]:is([data-step="today"], [data-step="day"], [data-step="week"]) .tt-drawer { opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .18s ease, transform .2s ease, visibility 0s linear .2s; }
.tt-dh { position: relative; padding: 16px 20px 13px; border-bottom: 1px solid var(--p-ink); }
.tt-dl { margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.tt-dt { padding-right: 40px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.tt-ds { margin-top: 4px; font-size: 13.5px; color: var(--p-slate); font-variant-numeric: tabular-nums; }
.tt-dx { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--p-rule); border-radius: 8px; color: var(--p-slate); }
.tt-dx svg { width: 14px; height: 14px; }
.tt-db { min-height: 0; padding: 12px 20px 16px; overflow: hidden; }
.tt-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.bdg { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.b-warn { background: #fdf1df; color: var(--amber); } .b-neu { background: #eef1f6; color: var(--p-slate); } .b-ok { background: #e4f5eb; color: var(--ok); }
.tt-sect { margin: 12px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tt-meta div { display: flex; gap: 16px; padding: 7px 0; border-bottom: 1px solid #f1f4f9; }
.tt-meta dt { min-width: 84px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--p-slate); }
.tt-meta dd { margin: 0; font-size: 14px; font-weight: 500; }
.tt-empty { margin-top: 10px; font-size: 13px; color: var(--p-slate); }
.tt-act { margin-top: 12px; }
.tt-guide { font-size: 13px; color: var(--p-slate); }
.tt-scan { display: inline-flex; align-items: center; height: 34px; margin-top: 8px; padding: 0 14px; border-radius: 8px; background: #081f47; color: #fff; font-size: 13.5px; font-weight: 600; }
/* what the check-in changes: the week's count, the block's tick, the drawer's badge and action, the phone's card */
.tt-sum .c1, .b-ok { display: none; }
.scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .tt-sum .c0,
.scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .tt-act { display: none; }
.scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .tt-sum .c1 { display: inline; }
.scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .b-ok { display: inline-flex; }
.scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .tt-ev .tick { display: block; }

/* ---- scene · Updates: Today → Notices (the Timetable update) → Site info's Finding your way ----
   States: start, notices, read, more (phone), site; none = Finding your way, scrolled to the ward. */
.tm-up .when > span { display: block; }
.tm-up .when > span:not(:last-child)::after { content: " ·"; color: var(--p-mist); }
.tm-tt--ward, .tm-t--ward b { color: var(--ward) !important; }
.st-ok { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.st-ok svg { width: 12px; height: 12px; }
.u-pages { position: absolute; inset: 0; }
.u-today, .u-notices, .u-site { position: absolute; left: 0; right: 0; top: 0; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(12px);
  transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s; }
.scene[data-scene="updates"][data-step="start"] .u-today,
.scene[data-scene="updates"]:is([data-step="notices"], [data-step="read"], [data-step="more"]) .u-notices,
.scene[data-scene="updates"]:is([data-step="site"], :not([data-step])) .u-site { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease-out), transform .4s var(--ease-out), visibility 0s; }
/* Today opens scrolled to Next and Coming up (home.js --u-lift); the page is cut at the frame's
   top edge, so no part of the header shows above it */
.u-today { overflow: hidden; }
.u-today-in { transform: translateY(calc(-1 * var(--u-lift, 0px))); }
/* Notices: the list beside the reader (the product splits at 1024 px and wider) */
.u-head { padding-bottom: 12px; }
.u-head .pg-sub { margin-top: 4px; }
.nd-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; align-items: start; }
.nd-head { margin-bottom: 12px; }
.nd-summary-line { font-size: 15px; line-height: 1.45; color: var(--p-slate); }
.nd-summary-line b { font-weight: 600; color: var(--p-ink); }
.nd-scope { margin-top: 2px; font-size: 13px; color: var(--p-slate); }
.nd-filters { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.nd-filter { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; color: var(--p-slate); font-size: 13px; font-weight: 500; }
.nd-filter.on { border-color: #b9cdf0; background: var(--p-tint); color: var(--p-brand-2); font-weight: 600; }
.nd-group + .nd-group { margin-top: 14px; }
.nd-group-head { display: flex; align-items: center; gap: 8px; padding: 10px 0 4px; border-top: 1px solid var(--p-ink); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nd-group-count { margin-left: auto; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--p-slate); }
.nd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: start; margin: 0 -10px; padding: 9px 10px 10px; border-radius: 10px; transition: background-color .15s ease; }
.nd-row + .nd-row { border-top: 1px solid var(--p-rule); border-radius: 0; }
.nd-main { position: relative; min-width: 0; }
.nd-title { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -.012em; color: #34425c; }
.nd-row.is-unread .nd-title { font-weight: 600; color: var(--p-ink); }
.nd-dot { display: none; position: absolute; left: -10px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--p-brand); }
.nd-row.is-unread .nd-dot { display: block; }
.nd-meta { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--p-slate); }
.nd-src { color: #34425c; font-weight: 500; }
.nd-status--amber { font-weight: 600; color: var(--amber); }
.nd-time { padding-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--p-slate); white-space: nowrap; }
.nd-row.is-unread .nd-time { color: #34425c; font-weight: 500; }
.scene[data-scene="updates"] .n-3 { display: none; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"], [data-step="site"], :not([data-step])) .n-3 { display: inline; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"], [data-step="site"], :not([data-step])) .n-4 { display: none; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"], [data-step="site"], :not([data-step])) .u-new { background: var(--p-open); }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"], [data-step="site"], :not([data-step])) .u-new .nd-dot { display: none; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"], [data-step="site"], :not([data-step])) .u-new .nd-title { font-weight: 500; color: #34425c; }
.nd-pane-empty { padding: 16px 0 8px; border-top: 1px solid var(--p-ink); }
.nd-pane-empty-title { font-size: 16px; font-weight: 600; }
.nd-pane-empty-text { margin-top: 6px; max-width: 44ch; font-size: 14px; line-height: 1.5; color: var(--p-slate); }
.nd-reader { display: none; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"]) .nd-pane-empty { display: none; }
.scene[data-scene="updates"]:is([data-step="read"], [data-step="more"]) .nd-reader { display: block; animation: nd-enter .2s var(--ease-out) both; }
@keyframes nd-enter { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.nd-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; color: var(--p-brand-2); }
.nd-back svg { width: 15px; height: 15px; }
.nd-back .m { display: none; }
.nd-reader-head { padding-bottom: 14px; border-bottom: 1px solid var(--p-rule); }
.nd-reader-title { font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.nd-byline { margin-top: 8px; font-size: 14px; color: var(--p-slate); }
.nd-byline .nd-src { color: var(--p-ink); font-weight: 600; }
.nd-dates { margin-top: 2px; font-size: 13.5px; color: var(--p-slate); }
.nd-context { margin-top: 14px; border-top: 1px solid var(--p-ink); }
.nd-context-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--p-rule); }
.nd-context-row dt { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--p-slate); }
.nd-context-row dd { margin: 0; font-size: 14.5px; line-height: 1.45; }
.nd-context-row--act { align-items: center; padding: 10px 0; }
.nd-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 500; }
.nd-btn svg { width: 14px; height: 14px; }
.nd-btn--primary { min-height: 40px; padding: 0 16px; border-color: #081f47; background: #081f47; color: #fff; font-size: 14px; font-weight: 600; }
.nd-body { margin-top: 16px; max-width: 64ch; font-size: 16px; line-height: 1.6; color: #1d2a44; }
.nd-reader-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--p-rule); }
.nd-foot-note { font-size: 12.5px; color: var(--p-slate); }
/* Site info (SI2, no guide): the plate, then the main column beside the rail; the page
   scrolls to Finding your way and the rail stays put, as its sticky rail does */
.u-site { --sgv-ink: #16233f; --sgv-ink-2: #5d6b84; --sgv-ink-3: #8a97ad; --sgv-line: #e9edf4; --sgv-line-soft: #f2f5fa; --sgv-brand-ink: #0b4fb3; --sgv-brand-tint: #eaf2fd; --sgv-navy-0: #081f47; --sgv-navy-1: #0b2a5e; --sgv-navy-2: #123c86; --sgv-r: 16px; }
.u-site-in, .u-site .sgv-rail { transition: transform .75s var(--ease-out); }
.scene[data-scene="updates"]:not([data-step]) .u-site-in { transform: translateY(calc(-1 * var(--site-lift, 0px))); }
.scene[data-scene="updates"]:not([data-step]) .u-site .sgv-rail { transform: translateY(var(--site-lift, 0px)); }
.sgv-plate { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 18px 22px 18px; border-radius: var(--sgv-r); background: linear-gradient(118deg, var(--sgv-navy-0), var(--sgv-navy-1) 55%, var(--sgv-navy-2)); color: #fff; }
.sgv-plate-mono { position: absolute; right: 18px; top: -6px; z-index: -1; font-size: 130px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: rgba(255, 255, 255, .06); }
.sgv-plate-side { position: absolute; top: 16px; right: 18px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.sgv-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.sgv-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .84); }
.sgv-kicker i { width: 9px; height: 9px; border-radius: 50%; background: #7db4f0; }
.sgv-plate-name { max-width: 26ch; font-size: 27px; font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.sgv-plate-sub { margin-top: 6px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .9); }
.sgv-plate-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sgv-chip { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 11.5px; font-weight: 500; }
.sgv-chip--solid { background: #fff; color: var(--sgv-ink); }
.sgv-cols { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; margin-top: 18px; }
.sgv-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sgv-sect-h { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid var(--sgv-line); }
.sgv-sect-h h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.sgv-sect-sub { margin: -2px 0 6px; font-size: 13px; line-height: 1.55; color: var(--sgv-ink-2); }
.sgv-rows { display: flex; flex-direction: column; }
.sgv-row, .sgv-nrow { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--sgv-line-soft); }
.sgv-row:last-child, .sgv-nrow:last-child { border-bottom: 0; }
.sgv-num { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--sgv-brand-tint); color: var(--sgv-brand-ink); font-size: 11.5px; font-weight: 600; }
.sgv-row-main { min-width: 0; flex: 1; }
.sgv-row-k { margin-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--sgv-ink-3); }
.sgv-row-v { font-size: 14px; font-weight: 500; color: var(--sgv-ink); }
.sgv-row-m { margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--sgv-ink-2); }
.sgv-door-tag { flex: none; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--sgv-brand-tint); color: var(--sgv-brand-ink); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.u-hit { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; transition: background-color .3s ease; }
.scene[data-scene="updates"]:not([data-step]) .u-hit { background: #f3f7fd; }
.scene[data-scene="updates"]:not([data-step]) .u-hit-r .sgv-row-m { color: var(--sgv-brand-ink); font-weight: 500; }
/* without JavaScript nothing measures the page, so it rests near Finding your way */
.no-js .scene[data-scene="updates"] .u-site-in { transform: translateY(-330px); }
.no-js .scene[data-scene="updates"] .u-site .sgv-rail { transform: translateY(330px); }
.sgv-railcard { padding: 14px 16px 10px; border: 1px solid var(--sgv-line); border-radius: var(--sgv-r); background: #fff; box-shadow: 0 1px 2px rgba(20, 33, 64, .04), 0 2px 8px rgba(20, 33, 64, .05); }
.sgv-railcard-h { margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.sgv-railcard .sgv-row { padding: 5px 0; }
.sgv-railcard .sgv-row-v { font-size: 13px; }
.sgv-railcard .sgv-row-m { margin-top: 1px; font-size: 12px; }
.sgv-rail-link { padding: 8px 0 2px; font-size: 13px; font-weight: 500; color: var(--sgv-brand-ink); }
/* phones only: More */
.u-more { display: none; }
/* the sidebar and tab bar follow the page the scene is on */
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"][data-step="start"]) .side [data-for="placements"],
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"]:is([data-step="notices"], [data-step="read"])) .side [data-for="notices"],
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"]:is([data-step="site"], :not([data-step]))) .side [data-for="siteinfo"] { background: #f3f6fb; box-shadow: inset 2px 0 0 var(--p-brand); border-radius: 0 8px 8px 0; }
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"][data-step="start"]) .tbar [data-for~="placements"],
.stage:has(#sc-updates:checked):not(:has(.scene[data-scene="updates"][data-step="start"])) .tbar [data-for~="more"] { color: var(--p-brand); font-weight: 600; }
.side em .n-4 { display: none; }
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"]:is([data-step="start"], [data-step="notices"])) .side em .n-3 { display: none; }
.stage:has(#sc-updates:checked):has(.scene[data-scene="updates"]:is([data-step="start"], [data-step="notices"])) .side em .n-4 { display: inline; }

/* ---- scene 3 · Opportunities O4.1 ---- */
/* the frame shows Browse all scrolled to its tools, so the listings lead (the page opens at its
   top; its title and its Discover / Browse all / Saved bar sit above this crop) */
.o-pages { display: grid; }
.o-browse, .o-detail { grid-area: 1 / 1; min-width: 0; transition: opacity .4s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
.o-browse { opacity: 0; visibility: hidden; transform: translateX(-14px); transition-delay: 0s, 0s, .45s; }
.scene[data-scene="opportunities"][data-step="0"] .o-browse, .scene[data-scene="opportunities"][data-step="1"] .o-browse { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.scene[data-scene="opportunities"][data-step="0"] .o-detail, .scene[data-scene="opportunities"][data-step="1"] .o-detail { opacity: 0; visibility: hidden; transform: translateX(14px); transition-delay: 0s, 0s, .45s; }
.o-filt { padding: 10px; border-radius: 12px; background: #f1f4f9; display: grid; grid-template-columns: minmax(0, 1fr) 190px 150px 140px; gap: 8px; }
.o-in { height: 34px; border: 1px solid var(--p-rule); border-radius: 8px; background: #fff; padding: 0 10px; font-size: 13px; color: var(--p-slate); display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; overflow: hidden; }
.o-in > span { overflow: hidden; text-overflow: ellipsis; margin-right: auto; }
.o-in.set { color: var(--p-ink); font-weight: 600; }
.o-in svg { width: 12px; height: 12px; }
.o-grp { margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--p-rule); font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.o-grp2 { margin-top: 14px; }
.o-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 128px 40px; gap: 14px; padding: 13px 10px; margin: 0 -10px; border-radius: 10px; border-bottom: 1px solid var(--p-rule); align-items: start; transition: background .25s; }
.scene[data-scene="opportunities"][data-step="1"] .o-first { background: #f1f4f9; }
.o-kind { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 600; }
.o-kind svg { width: 13px; height: 13px; }
.k-prz { color: var(--amber); }
.o-t { font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.o-pv { margin-top: 2px; font-size: 12.5px; color: var(--p-slate); }
.o-amt { font-size: 14px; font-weight: 600; }
.o-cl { margin-top: 4px; font-size: 12.5px; color: var(--p-slate); display: flex; gap: 5px; align-items: center; }
.o-cl svg { width: 12px; height: 12px; }
.o-save { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: var(--p-slate); }
.o-save svg { width: 17px; height: 17px; }
/* the listing page: the route's h1 as a quiet running head, then its own Back button (O4.1), so the
   listing's title is the first thing the eye meets */
.od-run { font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--p-slate); }
.od-crumb { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--p-slate); }
.od-crumb .back { width: 15px; height: 15px; transform: rotate(180deg); }
.od-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-top: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--p-ink); }
.od-t { font-size: 24px; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; max-width: 24ch; }
.od-pv { margin-top: 4px; font-size: 14px; color: var(--p-slate); }
.od-kind { margin-top: 8px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--amber); }
.od-kind i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 2px; background: currentColor; vertical-align: 1px; }
.od-acts { display: flex; gap: 10px; align-items: center; flex: none; }
.od-acts .dbtn { background: var(--p-brand-2); }
.od-save { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid transparent; background: var(--p-tint); color: var(--p-brand-2); font-size: 14px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.od-save svg { width: 15px; height: 15px; fill: currentColor; }
.od-save .s-off { display: none; }
.scene[data-scene="opportunities"][data-step] .od-save { background: #fff; border-color: var(--p-rule); color: var(--p-ink); }
.scene[data-scene="opportunities"][data-step] .od-save svg { fill: none; }
.scene[data-scene="opportunities"][data-step] .od-save .s-on { display: none; }
.scene[data-scene="opportunities"][data-step] .od-save .s-off { display: inline; }
.od-glance { margin-top: 14px; }
.od-glance dl { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.od-glance dl div { padding: 10px 0; border-bottom: 1px solid var(--p-rule); }
.od-glance dt { font-size: 12.5px; color: var(--p-slate); }
.od-glance dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.od-src { margin-top: 12px; font-size: 12.5px; color: var(--p-slate); }
.toast { position: absolute; left: 50%; bottom: 0; z-index: 6; transform: translate(-50%, 6px); background: var(--p-ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; box-shadow: var(--pop); white-space: nowrap; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s linear .3s; }
.scene.toast-on .toast { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s; }

/* ---- scene 4 · Your future YF1.2 → the Foundation guide (FP1.4) → its Foundation School explorer ----
   States on the scene: yf, guide, schools, map; none = Severn selected in the explorer. Without the map
   (no JavaScript, or its data could not load) the final state is the guide's Overview instead. */
.f-pages { position: relative; display: grid; }
/* the guide: FP1.4's tokens; it opens in the Schools chapter under its own head (crumb, title and
   sub), which orients the scene, so nothing lifts it */
.f-gd { --fp-ink: #142747; --fp-muted: #526481; --fp-blue: #0757c7; --fp-rule: #d7e0ec; --fp-paper: #f4f7fb; --fp-wash: #edf3fb; --gd-lift: 86px;
  position: absolute; left: 0; right: 0; top: 0; color: var(--fp-ink);
  transition: opacity .4s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
.gd-top { height: var(--gd-lift); }
.gd-crumb { font-size: 13px; color: var(--p-slate); }
.gd-crumb b { font-weight: 600; color: var(--p-ink); }
.gd-h1 { margin-top: 6px; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.gd-sub { margin-top: 4px; font-size: 14.5px; color: var(--fp-muted); }
.gd-tabs { display: flex; gap: 22px; min-height: 44px; border-block: 1px solid var(--fp-rule); overflow: hidden; white-space: nowrap; }
.gd-tabs span { display: flex; align-items: center; flex: none; border-bottom: 2px solid transparent; font-size: 13.5px; font-weight: 500; color: var(--fp-muted); }
.gd-tabs .t-ov { color: var(--fp-ink); font-weight: 600; border-bottom-color: var(--fp-blue); }
.gd-sch { display: none; }
.scene[data-scene="future"]:is([data-step="schools"], [data-step="map"]) .gd-ov,
.app.fx-ready .scene[data-scene="future"]:not([data-step]) .gd-ov { display: none; }
.scene[data-scene="future"]:is([data-step="schools"], [data-step="map"]) .gd-sch,
.app.fx-ready .scene[data-scene="future"]:not([data-step]) .gd-sch { display: block; }
.scene[data-scene="future"]:is([data-step="schools"], [data-step="map"]) .gd-tabs .t-ov,
.app.fx-ready .scene[data-scene="future"]:not([data-step]) .gd-tabs .t-ov { color: var(--fp-muted); font-weight: 500; border-bottom-color: transparent; }
.scene[data-scene="future"]:is([data-step="schools"], [data-step="map"]) .gd-tabs .t-sch,
.app.fx-ready .scene[data-scene="future"]:not([data-step]) .gd-tabs .t-sch { color: var(--fp-ink); font-weight: 600; border-bottom-color: var(--fp-blue); }
/* Overview: the reference hero a 5th year sees */
.gd-ov { padding-top: 16px; }
.gd-brief { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 32px; padding: 24px 28px; border-radius: 5px; background: var(--fp-paper); }
.gd-status { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 500; color: var(--fp-muted); }
.gd-status i { width: 7px; height: 7px; border-radius: 50%; background: #667b96; }
.gd-bh { margin-bottom: 18px; font-size: 32px; font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.gd-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.gd-primary { display: inline-flex; align-items: center; gap: 12px; min-height: 42px; padding: 10px 14px; border-radius: 4px; background: var(--fp-blue); color: #fff; font-size: 14px; font-weight: 500; }
.gd-link { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; font-size: 14px; font-weight: 500; color: var(--fp-blue); }
.gd-primary svg, .gd-link svg { width: 16px; height: 16px; }
.gd-acts .short { display: none; }
.gd-cal { display: flex; flex-direction: column; justify-content: center; padding: 16px 20px; border-top: 2px solid var(--fp-blue); background: #fff; }
.gd-cal > p { font-size: 12px; line-height: 1.5; color: var(--fp-muted); }
.gd-cal-d { display: flex; align-items: center; gap: 16px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.gd-cal-d strong { font-size: 60px; font-weight: 400; line-height: 1; letter-spacing: -.04em; color: var(--fp-blue); }
.gd-cal-d span { font-size: 17px; line-height: 1.4; }
.gd-cal-d b { font-size: 14px; font-weight: 400; color: var(--fp-muted); }
.gd-cal .gd-cal-t { margin: 6px 0 12px; font-size: 13px; color: var(--fp-ink); }
.gd-cal-f { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px solid var(--fp-rule); }
.gd-cal-f strong { font-size: 13px; font-weight: 500; }
.gd-ext { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--fp-blue); }
.gd-ext svg { width: 12px; height: 12px; }
.gd-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-block: 1px solid var(--fp-rule); }
.gd-route > span { position: relative; padding: 14px 30px 14px 0; font-size: 14px; font-weight: 500; line-height: 1.4; }
.gd-route > span + span { padding-left: 20px; border-left: 1px solid var(--fp-rule); }
.gd-route small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--fp-muted); }
.gd-route svg { position: absolute; top: 17px; right: 12px; width: 15px; height: 15px; color: var(--fp-blue); }
/* the Foundation Schools chapter: the atlas leads, the directory answers it */
.gd-sch { padding-top: 14px; }
.gd-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 14px; }
.gd-sh2 { font-size: 24px; font-weight: 600; line-height: 1.14; letter-spacing: -.025em; }
.gd-shp { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--fp-muted); }
.gd-sha { display: flex; align-items: center; gap: 12px; flex: none; }
.gd-maplink { display: none; align-items: center; gap: 8px; min-height: 40px; font-size: 13px; font-weight: 500; color: var(--fp-blue); }
.gd-maplink svg { width: 16px; height: 16px; }
.gd-mgr { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--fp-rule); border-radius: 4px; background: #fff; font-size: 13px; }
.gd-mgr svg { width: 15px; height: 15px; }
.gd-mgr b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin: 0 2px; border-radius: 9px; background: var(--fp-wash); font-size: 11px; font-weight: 600; }
.gd-browser { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.gd-atlas { padding: 16px 18px 12px; background: var(--fp-paper); }
.gd-ah { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.gd-ap { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--fp-muted); }
.gd-amap { display: flex; justify-content: center; height: 128px; margin: 10px 0 8px; border-radius: 4px; transition: background-color .2s var(--ease-out); }
.gd-atlas-svg { display: block; width: 100%; height: 100%; fill: var(--fp-rule); fill-rule: evenodd; }
.gd-atlas-svg .fp13-coverage { fill: var(--fp-blue); stroke: var(--fp-blue); stroke-width: .65; }
.gd-atlas-svg .fp13-coverage-all { fill: #5f8fd6; stroke: #5f8fd6; opacity: .55; }
.gd-atlas-svg .fp14-context { fill: #bccde4; stroke: #bccde4; stroke-width: .65; }
.scene[data-scene="future"][data-step="schools"].is-aiming .gd-amap { background: var(--fp-wash); }
.gd-asel { padding-top: 10px; border-top: 1px solid var(--fp-rule); }
.gd-asel span { display: block; margin-bottom: 3px; font-size: 11.5px; color: var(--fp-muted); }
.gd-asel strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.gd-asel em { display: block; margin-top: 4px; font-size: 12px; font-style: normal; line-height: 1.5; color: var(--fp-muted); }
.gd-anote { margin: 8px 0 4px; font-size: 11.5px; line-height: 1.5; color: var(--fp-muted); }
.gd-aopen { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 13px; font-weight: 500; color: var(--fp-blue); }
.gd-aopen svg { width: 16px; height: 16px; }
.gd-search { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; border: 1px solid #aabbd0; border-radius: 4px; font-size: 14px; color: var(--fp-muted); }
.gd-search svg { width: 16px; height: 16px; }
.gd-nations { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.gd-nations span { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border: 1px solid var(--fp-rule); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; color: #33476a; }
.gd-nations i { font-size: 11.5px; color: var(--fp-muted); font-variant-numeric: tabular-nums; }
.gd-nations .on { border-color: var(--fp-ink); background: var(--fp-ink); color: #fff; }
.gd-nations .on i { color: #c9d6ea; }
.gd-meta { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--fp-ink); font-size: 12px; color: var(--fp-muted); }
.gd-meta .u { text-decoration: underline; text-underline-offset: 4px; }
.gd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--fp-rule); }
.gd-ctx { display: flex; gap: 12px; margin-bottom: 4px; font-size: 12px; color: var(--fp-muted); }
.gd-ctx span:first-child { color: var(--fp-blue); }
.gd-name { display: inline-flex; align-items: center; gap: 9px; font-size: 21px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.gd-name svg { flex: none; width: 16px; height: 16px; color: var(--fp-blue); }
.gd-pl { margin-top: 5px; font-size: 13px; line-height: 1.5; color: var(--fp-muted); }
.gd-ctl { display: flex; gap: 8px; }
.gd-ctl span { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--fp-rule); border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; color: #33476a; white-space: nowrap; }
.gd-ctl svg { width: 14px; height: 14px; }

/* ---------------- the app's layers: the scanner, the check-in moment, the explorer ---------------- */
.ov { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
.ov-scan { z-index: 20; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stage:has(#sc-placements:checked) .app:has(.scene[data-scene="placements"]:is([data-step="scan"], [data-step="aim"], [data-step="confirm"], [data-step="ok"])) .ov-scan { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
.qr-modal { width: min(440px, 100%); padding: 20px 22px 18px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, .18); color: #111827; transform: translateY(10px); transition: transform .28s var(--ease-out); }
.app:has(.scene[data-scene="placements"]:is([data-step="scan"], [data-step="aim"], [data-step="confirm"], [data-step="ok"])) .qr-modal { transform: none; }
.qr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.qr-h { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.qr-sub { margin-top: 3px; font-size: 14px; line-height: 1.4; color: #6b7280; }
.qr-x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #e5e7eb; border-radius: 10px; font-size: 19px; line-height: 1; color: #4b5563; }
.qr-reader { position: relative; height: 224px; margin-top: 14px; border-radius: 16px; overflow: hidden; background: #f3f4f6; }
.qr-feed { position: absolute; inset: 0; background: radial-gradient(120% 95% at 28% 18%, #6a717c 0%, #444b55 42%, #272b32 100%); opacity: 0; transition: opacity .35s ease; }
.qr-screen { position: absolute; left: 50%; top: 50%; width: 124px; height: 124px; padding: 9px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 7px #1d222b, 0 16px 30px rgba(0, 0, 0, .45); opacity: 0; filter: blur(3px); transform: translate(-50%, -50%) translate(86px, 70px) rotate(-11deg) scale(.82); transition: transform .75s var(--ease-out) .12s, filter .6s ease .12s, opacity .3s ease; }
.qr-screen svg { display: block; width: 100%; height: 100%; }
.qr-box { position: absolute; left: 50%; top: 50%; width: 152px; height: 152px; transform: translate(-50%, -50%); border-radius: 4px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .36); opacity: 0; transition: opacity .3s ease .1s; }
.qr-box i { position: absolute; width: 24px; height: 24px; border: 0 solid #fff; }
.qr-box i:nth-child(1) { left: -3px; top: -3px; border-width: 3px 0 0 3px; }
.qr-box i:nth-child(2) { right: -3px; top: -3px; border-width: 3px 3px 0 0; }
.qr-box i:nth-child(3) { left: -3px; bottom: -3px; border-width: 0 0 3px 3px; }
.qr-box i:nth-child(4) { right: -3px; bottom: -3px; border-width: 0 3px 3px 0; }
.app:has(.scene[data-scene="placements"]:is([data-step="aim"], [data-step="confirm"], [data-step="ok"])) :is(.qr-feed, .qr-box) { opacity: 1; }
.app:has(.scene[data-scene="placements"]:is([data-step="aim"], [data-step="confirm"], [data-step="ok"])) .qr-screen { opacity: 1; filter: none; transform: translate(-50%, -50%) rotate(-2deg); }
.app:has(.scene[data-scene="placements"]:is([data-step="confirm"], [data-step="ok"])) .qr-feed { opacity: .8; }
.qr-status { min-height: 21px; margin-top: 12px; font-size: 14px; line-height: 1.45; color: #6b7280; }
.qr-status span { display: none; }
.qr-status .s4 { color: #15803d; }
.app:has(.scene[data-scene="placements"][data-step="scan"]) .qr-status .s1,
.app:has(.scene[data-scene="placements"][data-step="aim"]) .qr-status .s2,
.app:has(.scene[data-scene="placements"][data-step="confirm"]) .qr-status .s3,
.app:has(.scene[data-scene="placements"][data-step="ok"]) .qr-status .s4 { display: inline; }
.qr-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.qr-cancel { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #dbe3ef; border-radius: 8px; font-size: 14px; font-weight: 600; color: #1f2937; }
/* the check-in moment: green take-over, drawn check, the session; the product dismisses it after 2.1 s */
.ov-moment { z-index: 25; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 32px 28px; text-align: center; color: #fff; background: linear-gradient(165deg, #1fae62, #159a52 55%, #0d7d40); transition: opacity .25s ease, visibility 0s linear .25s; }
.stage:has(#sc-placements:checked) .app:has(.scene[data-scene="placements"]:is([data-step="ok"], [data-step="moment"])) .ov-moment { opacity: 1; visibility: visible; transition: opacity .22s ease, visibility 0s; }
.cm-ring { width: 96px; height: 96px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .16); }
.cm-ring svg { width: 52px; height: 52px; }
.cm-ring path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.app:has(.scene[data-scene="placements"]:is([data-step="ok"], [data-step="moment"], :not([data-step]))) .cm-ring { animation: cm-pop .45s cubic-bezier(.2, .7, .3, 1); }
.app:has(.scene[data-scene="placements"]:is([data-step="ok"], [data-step="moment"], :not([data-step]))) .cm-ring path { animation: cm-draw .4s .18s cubic-bezier(.4, .01, .2, 1) forwards; }
@keyframes cm-draw { to { stroke-dashoffset: 0; } }
@keyframes cm-pop { 0% { transform: scale(.7); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
.cm-head { font-size: 27px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.cm-title { max-width: 32ch; margin-top: 4px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.cm-detail { margin-top: 2px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .82); }
.cm-hint { position: absolute; left: 0; right: 0; bottom: 22px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .65); }

/* the Foundation School explorer (styles/foundation-map.css, scoped): crisp coast, soft illustrative
   regions, soft round location tokens */
.fx { --fd-ink: #14213e; --fd-slate: #5d6b84; --fd-muted: #8793a7; --fd-line: #e6ebf3; --fd-ground: #f6f8fc; --fd-green-deep: #087449; --fd-green-soft: #e9f8ef;
  --fd-blue: #1f6fd6; --fd-blue-deep: #1559b0; --fd-blue-soft: #eaf2fd; --fd-shadow: 0 1px 2px rgba(18, 33, 62, .04), 0 6px 18px -14px rgba(18, 33, 62, .28); --fd-shadow-lift: 0 14px 35px -24px rgba(18, 33, 62, .45);
  --fdx-ease: cubic-bezier(.22, .68, .24, 1); --fdx-land: #fcfefd; --fdx-tint-0: #7fc4a6; --fdx-tint-1: #9bd0c6; --fdx-tint-2: #b9dcae; --fdx-tint-3: #8fc9bd; --fdx-select: #0b8b58; --fdx-marker: #08694a;
  position: absolute; inset: 0; z-index: 15; display: grid; grid-template-rows: auto minmax(0, 1fr); background: #c2dde8; color: var(--fd-ink); font-size: 12px; line-height: 1.4;
  opacity: 0; visibility: hidden; transition: opacity .32s var(--fdx-ease), visibility 0s linear .32s; }
.stage:has(#sc-future:checked) .app.fx-ready:has(.scene[data-scene="future"]:is([data-step="map"], :not([data-step]))) .fx { opacity: 1; visibility: visible; transition: opacity .32s var(--fdx-ease), visibility 0s; }
.fdx-topbar { position: relative; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-bottom: 1px solid rgba(120, 168, 182, .28); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.fdx-brand { display: flex; align-items: center; gap: 9px; min-width: 0; margin-right: auto; }
.fdx-brand-mark { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--fd-blue); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .02em; }
.fdx-brand-text { min-width: 0; }
.fdx-brand-text small { display: block; font-size: 8.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--fd-green-deep); }
.fdx-brand-text b { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdx-icon-button { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; border: 1px solid var(--fd-line); border-radius: 11px; background: #fff; color: var(--fd-slate); font-size: 11px; font-weight: 600; }
.fdx-icon-button svg { width: 15px; height: 15px; }
.fdx-stage { position: relative; min-height: 0; overflow: hidden; }
.fdx-stage-inner { position: absolute; inset: 0; transform-origin: 0 0; transition: transform .32s var(--fdx-ease), opacity .32s var(--fdx-ease); }
.fdx-stage-inner.is-jump { transition: none; }
.fdx-map { display: block; width: 100%; height: 100%; fill-rule: evenodd; clip-rule: evenodd; }
.fdx-landmass { fill: var(--fdx-land); }
.fdx-coast { fill: none; stroke: #46808f; stroke-linejoin: round; stroke-linecap: round; }
.fdx-cells { --fdx-strength: 62%; fill: color-mix(in srgb, var(--fdx-tint) var(--fdx-strength), var(--fdx-land)); stroke: color-mix(in srgb, var(--fdx-tint) var(--fdx-strength), var(--fdx-land)); transition: fill .18s ease, stroke .18s ease; }
.fdx-cells[data-tint="0"] { --fdx-tint: var(--fdx-tint-0); } .fdx-cells[data-tint="1"] { --fdx-tint: var(--fdx-tint-1); }
.fdx-cells[data-tint="2"] { --fdx-tint: var(--fdx-tint-2); } .fdx-cells[data-tint="3"] { --fdx-tint: var(--fdx-tint-3); }
.fdx-coverage[data-mode="national"] .fdx-cells[data-active="true"] { --fdx-strength: 92%; }
.fdx-coverage[data-mode="selected"] .fdx-cells { --fdx-strength: 30%; }
.fdx-coverage[data-mode="selected"] .fdx-cells[data-selected="true"] { fill: var(--fdx-select); stroke: var(--fdx-select); }
.fdx-labels text { fill: #17414a; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: -.01em; text-anchor: middle; paint-order: stroke fill; stroke: rgba(255, 255, 255, .92); stroke-width: 3px; stroke-linejoin: round; transition: fill .18s ease; }
.fdx-labels g { transition: opacity .18s ease; }
.fdx-labels g[data-visible="false"] text { display: none; }
.fdx-labels g[data-visible="true"] .fdx-label-dot { display: none; }
.fdx-label-dot { fill: #2f6b74; opacity: .5; }
.fdx-labels g[data-active="true"] .fdx-label-dot { opacity: .9; }
.fdx-labels g[data-hidden="true"] { opacity: 0; }
.fdx-labels g[data-active="true"] text { fill: #0a3f31; }
.fdx-labels g[data-selected="true"] text { fill: #063d2a; }
.fdx-labels g[data-title="true"] text { font-size: 15px; letter-spacing: -.02em; stroke-width: 4px; }
.fdx-marker .fdx-dot { fill: #fff; stroke: var(--fdx-marker); stroke-width: 2; }
.fdx-marker .fdx-halo { fill: var(--fdx-marker); opacity: .13; }
.fdx-marker { opacity: 0; }
.fdx-marker[data-shown="true"] { opacity: 1; transition: opacity .2s var(--fdx-ease); transition-delay: var(--fdx-delay, 0ms); }
.fdx-marker[data-ambiguous="true"] .fdx-dot { stroke-dasharray: 3 2.5; }
.fdx-marker text { fill: #17414a; font-family: var(--font); font-size: 12px; font-weight: 600; paint-order: stroke fill; stroke: rgba(255, 255, 255, .95); stroke-width: 2.6px; stroke-linejoin: round; }
.fdx-marker[data-labelled="false"] text { display: none; }
.fdx-layer { position: absolute; inset: 0; pointer-events: none; }
.fdx-finder { position: absolute; left: 16px; top: 16px; width: 268px; overflow: hidden; border: 1px solid var(--fd-line); border-radius: 15px; background: rgba(255, 255, 255, .95); box-shadow: var(--fd-shadow-lift); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: width .22s var(--fdx-ease); }
.fdx-finder[data-collapsed="true"] { width: 250px; }
.fdx-finder[data-collapsed="true"] .fdx-finder-list { display: none; }
.fdx-finder-field { display: flex; align-items: center; gap: 8px; padding: 9px 11px; }
.fdx-finder-field svg { flex: none; width: 15px; height: 15px; color: var(--fd-muted); }
.fdx-input { flex: 1 1 auto; min-width: 0; min-height: 26px; display: flex; align-items: center; overflow: hidden; font-size: 12px; font-weight: 500; color: var(--fd-muted); white-space: nowrap; }
.fdx-input .ph-s { display: none; }
.fdx-controls:has(.fdx-reset[data-shown="true"]) .ph-n { display: none; }
.fdx-controls:has(.fdx-reset[data-shown="true"]) .ph-s { display: inline; }
.fdx-finder-count { flex: none; font-size: 9.5px; font-weight: 600; color: var(--fd-green-deep); }
.fdx-finder-list { max-height: min(46vh, 300px); overflow: hidden; margin: 0; padding: 0 6px 6px; border-top: 1px solid var(--fd-line); }
.fdx-finder-option { width: 100%; min-height: 42px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 9px; border: 1px solid transparent; border-radius: 10px; }
.fdx-finder-option[aria-selected="true"] { border-color: #b7e2cc; background: var(--fd-green-soft); }
.fdx-finder-option b { display: block; font-size: 11.5px; font-weight: 600; line-height: 1.25; }
.fdx-finder-option small { display: block; margin-top: 2px; font-size: 9px; line-height: 1.3; color: var(--fd-slate); }
.fdx-swatch { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.fdx-legend { position: absolute; left: 16px; bottom: 16px; max-width: 268px; display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid #ecd39f; border-radius: 11px; background: rgba(255, 249, 237, .95); box-shadow: 0 10px 26px -20px rgba(18, 33, 62, .8); color: #754a13; font-size: 9.5px; font-weight: 600; line-height: 1.45; }
.fdx-legend-more { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #e0cb9c; border-radius: 999px; background: #fff; color: #8a5c16; }
.fdx-legend-more svg { width: 13px; height: 13px; }
.fdx-reset { position: absolute; left: 50%; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 15px; border: 1px solid var(--fd-line); border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--fd-blue-deep); font-size: 11px; font-weight: 600; white-space: nowrap; box-shadow: var(--fd-shadow-lift); opacity: 0; transform: translateX(-50%) translateY(6px); transition: opacity .22s var(--fdx-ease), transform .22s var(--fdx-ease); }
.fdx-reset[data-shown="true"] { opacity: 1; transform: translateX(-50%); }
.fdx-reset svg { width: 14px; height: 14px; }
.fdx-locator { position: absolute; left: 16px; top: 72px; width: 108px; padding: 8px 8px 6px; border: 1px solid var(--fd-line); border-radius: 13px; background: rgba(255, 255, 255, .95); box-shadow: var(--fd-shadow); opacity: 0; transform: translateY(6px); transition: opacity .22s var(--fdx-ease), transform .22s var(--fdx-ease); }
.fdx-locator[data-shown="true"] { opacity: 1; transform: none; }
.fdx-loc-svg { display: block; width: 100%; height: 132px; fill-rule: evenodd; clip-rule: evenodd; }
.fdx-locator > span { display: block; margin-top: 4px; font-size: 8px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; text-align: center; color: var(--fd-slate); }
.fdx-loc-land { fill: #eef4f5; }
.fdx-loc-coast { fill: none; stroke: #9dbcc6; }
.fdx-loc-cells { fill: #cfe3d8; }
.fdx-loc-cells[data-selected="true"] { fill: var(--fdx-select); }
.fdx-loc-view { fill: rgba(31, 111, 214, .1); stroke: var(--fd-blue); }
.fdx-panel { position: absolute; right: 16px; top: 16px; bottom: 16px; width: 330px; display: flex; flex-direction: column; border: 1px solid var(--fd-line); border-radius: 17px; background: rgba(255, 255, 255, .97); box-shadow: var(--fd-shadow-lift); opacity: 0; transform: translateX(10px); transition: opacity .22s var(--fdx-ease), transform .22s var(--fdx-ease); }
.fdx-panel[data-shown="true"] { opacity: 1; transform: none; }
.fdx-panel-head { padding: 15px 16px 12px; border-bottom: 1px solid var(--fd-line); }
.fd-label { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; background: var(--fd-blue-soft); color: var(--fd-blue-deep); font-size: 8.5px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; }
.fd-label--green { background: var(--fd-green-soft); color: var(--fd-green-deep); }
.fdx-panel-head .fd-label, .fdx-sheet-head .fd-label { margin-bottom: 7px; }
.fdx-panel-head h3, .fdx-sheet-head h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.18; letter-spacing: -.03em; }
.fdx-panel-geo { margin-top: 7px; font-size: 10.5px; line-height: 1.5; color: var(--fd-slate); }
.fdx-panel-body { min-height: 0; flex: 1 1 auto; overflow: hidden; padding: 13px 16px; }
.fdx-panel-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; padding: 11px 16px 13px; border-top: 1px solid var(--fd-line); }
.fd-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; border-radius: 11px; background: var(--fd-blue); color: #fff; font-size: 12px; font-weight: 600; }
.fd-btn svg { width: 13px; height: 13px; }
.fdx-panel-quiet { min-width: 42px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--fd-line); border-radius: 11px; background: #fff; color: var(--fd-slate); }
.fdx-panel-quiet svg { width: 16px; height: 16px; }
.fdx-spread { margin: 0 0 9px; padding: 11px 12px; border: 1px solid #b7e2cc; border-radius: 13px; background: linear-gradient(160deg, #f0fbf5, var(--fd-green-soft)); }
.fdx-spread strong { display: block; font-size: 24px; font-weight: 600; line-height: 1; letter-spacing: -.035em; color: var(--fd-green-deep); }
.fdx-spread span { display: block; margin-top: 4px; font-size: 10.5px; font-weight: 600; line-height: 1.4; color: #2a5f49; }
.fdx-spread small { display: block; margin-top: 6px; font-size: 8.8px; line-height: 1.45; color: #4d7a66; }
.fdx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0 0 12px; }
.fdx-stat { padding: 9px 10px; border: 1px solid var(--fd-line); border-radius: 11px; background: var(--fd-ground); }
.fdx-stat strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.fdx-stat span { display: block; margin-top: 3px; font-size: 8.6px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fd-slate); }
.fdx-block { margin: 0 0 13px; }
.fdx-note { margin: 0; font-size: 9.2px; line-height: 1.45; color: var(--fd-slate); }
.fdx-warn { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 9px 10px; border: 1px solid #ecd39f; border-radius: 11px; background: #fff9ed; color: #754a13; font-size: 9.4px; font-weight: 600; line-height: 1.45; }
.fdx-sheet { display: none; }
.fd-school-tag { display: inline-flex; align-items: center; min-height: 23px; padding: 0 7px; border-radius: 7px; background: var(--fd-ground); color: var(--fd-slate); font-size: 7.8px; font-weight: 500; }
.fd-school-tag--history { background: var(--fd-green-soft); color: var(--fd-green-deep); }
.fx-aim { position: absolute; width: 1px; height: 1px; }

/* ---------------- section 2 · built around your medical school ---------------- */
.s2 { padding: clamp(84px, 11vh, 124px) 0 clamp(56px, 8vh, 96px); }
.s2-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; }
.h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04; font-weight: 700; letter-spacing: -.028em; max-width: 16ch; text-wrap: balance; }
.sl { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.yr { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
.yr-l { position: relative; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.yr-c.now .yr-l { color: var(--blue); }
.yr-c.now .yr-l::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform-origin: left center; transition: transform .7s var(--ease-out) .1s; }
.yr-r { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 2px 14px; padding: 14px 0; font-size: 15px; }
.yr-r .d { font-size: 13px; color: var(--muted); line-height: 1.35; } .yr-r .d b { display: block; font-size: 14.5px; color: var(--ink); }
.yr-r .n { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.yr-r .s { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.yr-now { margin-top: 12px; background: #fff; border-radius: 14px; box-shadow: var(--sheet); padding: 20px 22px; color: var(--p-ink); transition: opacity .6s var(--ease-out) .15s, transform .6s var(--ease-out) .15s; }
.yr-now .site { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.yr-now .pl { margin-top: 4px; font-size: 15px; color: var(--p-slate); }
.yr-now .wk { margin-top: 8px; font-size: 15px; } .yr-now .wk b { color: var(--p-brand-2); }
.yr-now .acts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 14px; }
html.motion .s2:not(.is-in) .yr-c.now .yr-l::after { transform: scaleX(0); }
html.motion .s2:not(.is-in) .yr-now { opacity: 0; transform: translateY(10px); }
.continues { padding-bottom: 96px; font-size: 14px; color: var(--muted); }
.continues p { padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------------- without motion: the blue is a static band ---------------- */
html:not(.motion) .h-text { padding-bottom: var(--band); }
html:not(.motion) .product { margin-top: calc(var(--sg) - var(--band)); }
html:not(.motion) .plane { bottom: 0; clip-path: none !important; visibility: visible; }
.no-js .nav { position: absolute; background: var(--blue); }
.no-js .nav-blue { display: none; }

/* ---------------- widths ---------------- */
@media (max-width: 1180px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-grid { --cols: 44px repeat(5, minmax(0, 1fr)) 64px; }
  .gd-brief { grid-template-columns: minmax(0, 1fr) 210px; gap: 24px; padding: 22px 24px; } .gd-bh { font-size: 29px; }
  .gd-browser { grid-template-columns: 228px minmax(0, 1fr); gap: 22px; } .gd-ctl span { padding: 0 10px; }
}
@media (max-width: 1023px) {
  .meta { display: none; } .qual-label { display: inline; }
  /* Notices splits into list and reader only at 1024 px and wider, as the product's does */
  .nd-split { display: block; }
  .scene[data-scene="updates"]:is([data-step="read"], [data-step="more"]) .nd-list { display: none; }
  .nd-read .nd-pane-empty { display: none; }
  .nd-back .d { display: none; } .nd-back .m { display: inline; }
  .links, .login { display: none; }
  .menu { display: block; }
  .body { grid-template-columns: 56px minmax(0, 1fr); }
  .bar-top { grid-template-columns: auto minmax(0, 1fr) auto; } .a-word, .nm { display: none; }
  .side { padding: 12px 8px 14px; } .side li { justify-content: center; padding: 0; } .side li span, .side li em, .side li.grp, .chip b, .chip span { display: none; }
  .chip { height: 34px; padding: 0; } .chip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--site); }
  .o-filt { grid-template-columns: minmax(0, 1fr) 190px; } .o-x { display: none; }
  .o-row { grid-template-columns: 130px minmax(0, 1fr) 110px 40px; }
  .s2-head { grid-template-columns: 1fr; }
  .tm-now { padding-right: 18px; } .tm-glance { padding-left: 16px; }
  .tt-grid { --cols: 40px repeat(5, minmax(0, 1fr)); } .tt-wknd, .tt-wknd-h, .tt-legend { display: none; } .tt-drawer { width: 300px; }
  .gd-brief { grid-template-columns: minmax(0, 1fr) 190px; } .gd-browser { grid-template-columns: 200px minmax(0, 1fr); } .gd-ctl { display: none; }
  .yr { grid-template-columns: 1fr; gap: 18px; } .yr-c.now { order: -1; }
}
@media (min-width: 1024px) { .sheet { display: none; } }
@media (max-width: 767px) {
  .nav-r { gap: 2px; } .cta { padding: 0 12px; }
  .arow { flex-direction: column; align-items: stretch; gap: 8px; }
  .btn { width: 100%; }
  .quiet { min-height: 44px; padding: 0; }
  .product { scroll-margin-top: calc(var(--nav-h) + 16px); }
  .tabs { height: 44px; padding: 0 4px; }
  .tab { padding: 0 8px; font-size: 13px; } .tab .bar { left: 8px; right: 8px; }
  .tabs-in { flex: 1 1 auto; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
  .tabs-in::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .l-long, .meta { display: none; } .l-short { display: inline; }
  .pp { margin-left: auto; width: 32px; padding: 0; justify-content: center; } .pp span { display: none; }
  .qual-label { display: inline; }
  .bar-top, .side { display: none; }
  .body { grid-template-columns: 1fr; }
  .main { padding: 14px 16px 16px; }
  .tbar { display: grid; }
  .cursor svg { display: none; }
  .cursor::before { content: ""; position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; background: rgba(31, 111, 214, .16); box-shadow: 0 0 0 2px rgba(31, 111, 214, .38); }
  .cursor.press::before { background: rgba(31, 111, 214, .3); }
  /* Teaching, phone */
  .pg-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; padding-bottom: 0; border-bottom: 0; }
  .eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--p-mist); }
  .ppill { display: inline-flex; align-items: center; gap: 11px; height: 38px; padding: 0 6px 0 11px; border: 1px solid var(--p-rule); border-radius: 999px; box-shadow: 0 1px 2px rgba(7, 20, 38, .06); }
  .ppill > svg { width: 15px; height: 15px; color: var(--p-slate); } .ppill .av { width: 26px; height: 26px; }
  .pg-title { font-size: 26px; } .pg-sub { font-size: 12.5px; }
  .tsearch-w { grid-column: 1 / -1; } .tsearch { width: 100%; }
  .live { width: auto; left: -1px; }
  .live-k { display: none; } .live-r { grid-template-columns: 24px minmax(0, 1fr); }
  .live-r:nth-child(n+6) { display: none; }
  .lab-browse { margin-top: 14px; }
  .doors { grid-template-columns: 1fr 1fr; }
  .door-p, .door-w span { display: none; }
  .r-title { font-size: 19px; } .r-sum, .r-item { display: none; }
  /* Today, phone: the masthead and header stack; Now (with its check-in action) and the day */
  .tm-date { font-size: 30px; } .tm-date span { display: block; }
  .tm-hero { flex-direction: column; align-items: flex-start; }
  .tm-htitle { font-size: 22px; }
  .tm-hlinks { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 16px; }
  .tm-mid { grid-template-columns: 1fr; border-top: 0; padding-top: 0; }
  .tm-glance { display: none; }
  .tm-now { padding-right: 0; }
  .tm-row { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
  .tm-tt { font-size: 17px; } .tm-tt span { font-size: 12px; }
  .tm-ttl { font-size: 20px; } .tm-m { font-size: 13px; }
  .tm-btn { height: 40px; padding: 0 13px; font-size: 13.5px; }
  .spine { margin-top: 12px; }
  .dayh { flex-wrap: wrap; gap: 0 10px; } .meta-d { font-size: 12px; }
  .slot-h { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; } .slot-h .chev { display: none; }
  .slot-t { font-size: 14px; } .slot.cur { margin: 0 -8px; padding: 0 8px; }
  .gap { padding-left: 62px; font-size: 12px; }
  /* Timetable, phone (T1): the week control, the attendance card, the week as bars with their start times */
  .pt-weekbar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 3px; border: 1px solid var(--p-rule); border-radius: 12px; }
  .pt-weekbar b { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .pt-wk { width: 34px; height: 34px; display: grid; place-items: center; color: var(--p-slate); } .pt-wk svg { width: 16px; height: 16px; }
  .pt-att-slot { display: block; margin-top: 10px; }
  .pt-att { padding: 12px 13px 13px; border: 1px solid #e9edf4; border-radius: 14px; background: #fff; }
  .pt-att--open { border-color: #b9d4f5; background: var(--p-tint); box-shadow: 0 1px 2px rgba(20, 33, 64, .05), 0 4px 14px rgba(31, 111, 214, .13); }
  .pt-att-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 7px; }
  .pt-att-status { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 9px 0 6px; border-radius: 999px; background: var(--p-brand); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
  .pt-att-status > span { font-size: 8px; }
  .pt-att-mand { display: inline-flex; align-items: center; gap: 3px; height: 21px; padding: 0 8px 0 5px; border-radius: 999px; background: rgba(255, 255, 255, .82); color: #8a5410; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
  .pt-att-title { font-size: 15px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: #1b2740; }
  .pt-att-meta { margin-top: 3px; font-size: 12.5px; font-weight: 500; line-height: 1.35; color: var(--p-slate); }
  .pt-att-say { margin-top: 7px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--p-slate); }
  .pt-att-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 10px; border-radius: 12px; background: var(--p-brand); color: #fff; box-shadow: 0 2px 8px rgba(31, 111, 214, .3); font-size: 14.5px; font-weight: 600; }
  .pt-att-btn svg { width: 17px; height: 17px; }
  .pt-att-foot { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--p-mist); }
  .pt-att-foot svg { width: 13px; height: 13px; }
  .pt-att--done { display: none; align-items: center; gap: 9px; padding: 10px 13px; border-color: #c6e5d6; background: #e6f5ee; }
  .pt-att-tick { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #0d8a5f; color: #fff; font-size: 12px; font-weight: 700; }
  .pt-att-status-done { font-size: 14px; font-weight: 600; color: #0b6b4a; }
  .scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .pt-att--open { display: none; }
  .scene[data-scene="placements"]:is(:not([data-step]), [data-step="ok"], [data-step="moment"]) .pt-att--done { display: flex; }
  .tt-head, .tt-weekbar, .tt-drawer, .tt-wknd, .tt-wknd-h { display: none; }
  .tt-grid { --hh: 16px; --cols: 30px repeat(5, minmax(0, 1fr)); margin-top: 12px; }
  .tt-axis span:nth-child(even) { display: none; }
  .tt-ev.short { padding: 2px 3px 2px 4px; } .tt-ev.short .t { display: none; }
  .tt-wd { padding: 0 2px 6px; text-align: center; } .tt-wd b { font-size: 10px; letter-spacing: .06em; } .tt-wd i { font-size: 15px; }
  .tt-axis span { right: 5px; font-size: 9.5px; }
  .tt-ev { left: 2px; right: 2px; padding: 2px 3px 2px 4px; border-radius: 4px; }
  .tt-ev .t, .tt-ev .m, .tt-ev > b > span, .tt-now span { display: none; }
  .tt-ev > b { font-size: 10px; }
  .tt-ev.mand::after { top: 3px; right: 3px; width: 7px; height: 7px; }
  .tt-ev .tick { top: auto; bottom: 1px; right: 3px; font-size: 10px; }
  /* the scanner, phone: a bottom sheet */
  .ov-scan { align-items: flex-end; padding: 0; }
  .qr-modal { width: 100%; padding: 16px 16px 14px; border-radius: 22px 22px 0 0; transform: translateY(24px); }
  .qr-h { font-size: 18px; } .qr-sub { font-size: 13.5px; }
  .qr-reader { height: 206px; }
  .qr-cancel { width: 100%; justify-content: center; height: 46px; }
  /* Updates, phone: Today shows Next and Coming up; Notices is one pane at a time; More opens Site info */
  .u-today .tm-glance { display: block; margin-top: 14px; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--p-rule); }
  .u-today .tm-up { grid-template-columns: 84px minmax(0, 1fr) 16px; }
  .nd-reader-title { font-size: 23px; }
  .nd-context-row { grid-template-columns: 70px minmax(0, 1fr); column-gap: 12px; }
  .nd-row .nd-src { overflow-wrap: anywhere; }
  .nd-filters { flex-wrap: nowrap; overflow: hidden; }
  .sgv-plate { min-height: 0; padding: 54px 16px 16px; }
  .sgv-plate-side { left: 16px; right: auto; top: 14px; justify-content: flex-start; }
  .sgv-pill:nth-child(n+2) { display: none; }
  .sgv-plate-name { font-size: 22px; } .sgv-plate-mono { font-size: 96px; }
  .sgv-cols { grid-template-columns: 1fr; gap: 16px; }
  .scene[data-scene="updates"]:not([data-step]) .u-site .sgv-rail, .no-js .scene[data-scene="updates"] .u-site .sgv-rail { transform: none; }
  .no-js .scene[data-scene="updates"] .u-site-in { transform: translateY(-420px); }
  .sgv-door-tag { white-space: normal; text-align: center; max-width: 118px; }
  .u-more { display: block; position: absolute; z-index: 6; inset: -14px -16px -16px; background: rgba(15, 23, 41, .32); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; }
  .u-more-panel { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 6px; border-radius: 18px; background: #fff; box-shadow: 0 -10px 30px -12px rgba(7, 18, 38, .5); transform: translateY(20px); transition: transform .26s var(--ease-out); }
  .u-more-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
  .u-more-link svg { width: 18px; height: 18px; color: var(--p-slate); }
  .scene[data-scene="updates"][data-step="more"] .u-more { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
  .scene[data-scene="updates"][data-step="more"] .u-more-panel { transform: none; }
  /* Opportunities, phone */
  .o-filt { grid-template-columns: minmax(0, 1fr) auto; } .o-q span { display: none; }
  .o-grp2, .o-second { display: none; }
  .o-row { grid-template-columns: minmax(0, 1fr) 38px; gap: 6px 10px; }
  .o-row .o-kind, .o-row .o-main, .o-row .o-side { grid-column: 1; } .o-row .o-save { grid-column: 2; grid-row: 1 / span 2; }
  .od-run { display: none; } .od-crumb { margin-top: 0; }
  .od-head { flex-direction: column; gap: 10px; } .od-t { font-size: 20px; }
  .od-acts { flex-wrap: wrap; align-self: stretch; } .od-acts .dbtn { flex: 1 1 100%; justify-content: center; }
  .od-glance dl { grid-template-columns: 1fr; } .od-glance dl div { padding: 8px 0; }
  .toast { white-space: normal; width: calc(100% - 8px); text-align: center; }
  /* Your future, phone */
  /* the guide, phone */
  .f-gd { --gd-lift: 66px; }
  .gd-crumb { display: none; }
  .gd-h1 { margin-top: 0; font-size: 23px; } .gd-sub { font-size: 13px; }
  .gd-tabs { gap: 18px; min-height: 40px; } .gd-tabs span { font-size: 13px; }
  .gd-brief { grid-template-columns: 1fr; gap: 14px; padding: 18px 16px; }
  .gd-status { margin-bottom: 10px; font-size: 11.5px; }
  .gd-bh { margin-bottom: 14px; font-size: 25px; }
  .gd-acts { flex-direction: column; align-items: stretch; gap: 4px; }
  .gd-primary { justify-content: space-between; } .gd-acts .full { display: none; } .gd-acts .short { display: inline; }
  .gd-cal { padding: 12px 14px; } .gd-cal-d { gap: 12px; margin-top: 4px; } .gd-cal-d strong { font-size: 44px; } .gd-cal-d span { font-size: 15px; }
  .gd-cal .gd-cal-t { margin: 4px 0 0; } .gd-cal-f, .gd-route { display: none; }
  .gd-sch { padding-top: 12px; }
  .gd-sh { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 10px; }
  .gd-sh2 { font-size: 22px; } .gd-shp { font-size: 13px; }
  .gd-maplink { display: inline-flex; }
  .gd-mgr { min-height: 36px; padding: 0 10px; font-size: 12px; }
  .gd-browser { display: block; }
  .gd-atlas { display: none; }
  .gd-nations { flex-wrap: nowrap; overflow: hidden; }
  .gd-row { grid-template-columns: 1fr; gap: 8px; } .gd-name { font-size: 19px; } .gd-ctl span { min-height: 32px; }
  /* the explorer, phone: one control row, the caveat under it, and the sheet */
  .fdx-controls { position: absolute; left: 10px; right: 10px; top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; }
  .fdx-finder { position: static; width: auto; border-radius: 13px; }
  .fdx-finder[data-collapsed="true"] { width: auto; }
  .fdx-reset { position: static; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 13px; }
  .fdx-reset, .fdx-reset[data-shown="true"] { transform: none; }
  .fdx-reset span { display: none; }
  .fdx-legend { left: 10px; right: 10px; top: 64px; bottom: auto; max-width: none; padding: 7px 9px; font-size: 9px; }
  .fdx-locator, .fdx-panel { display: none; }
  .fdx-sheet { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; height: 92%; display: flex; flex-direction: column; border-top: 1px solid var(--fd-line); border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -18px 44px -30px rgba(7, 18, 38, .8); transform: translateY(100%); transition: transform .22s var(--fdx-ease); }
  .fdx-sheet[data-detent="peek"] { transform: translateY(calc(100% - var(--fdx-peek, 210px))); }
  .fdx-sheet-handle { display: block; flex: none; min-height: 28px; padding: 0 0 4px; }
  .fdx-sheet-grab { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: #d9dfe8; }
  .fdx-sheet-head { flex: none; padding: 4px 16px 11px; }
  .fdx-sheet-head h3 { font-size: 16px; line-height: 1.2; }
  .fdx-sheet-summary { margin-top: 5px; font-size: 10.5px; line-height: 1.5; color: var(--fd-slate); }
  .fdx-sheet-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
  .fdx-sheet-foot { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 7px; padding: 2px 16px 12px; }
  .fdx-topbar { gap: 8px; padding: 8px 10px; }
  .fdx-brand-text small { display: none; }
  .fdx-brand-text b { font-size: 12px; }
}
@media (max-width: 479px) { .nav-in { gap: 10px; } .cta { padding: 0 10px; font-size: 14px; } }
@media (max-width: 359px) { .word { display: none; } .tab { padding: 0 6px; font-size: 12.5px; } }
