/* Story (story/page.js, story/chart.js), the CTE story's layout and chart sizing whole, in this explorer's register: its cards,
   type and colors. The stage holds still while the steps scroll past it (a sticky stage);
   a laptop sets the steps beside it, anything narrower lets the steps pass over it. Each card fades in once (scroll.js).
   Reduced motion: no move and no fade, each step at its end. */
.sty { --sty-top: 3.5rem; --sty-foot: 0px; --sty-stage-h: calc(100dvh - var(--sty-top) - var(--sty-foot) - 1.5rem); position: relative; }
/* the reader's scroll is the story's timeline: the browser never moves it on its own to hold a part of the story in place
   (scroll anchoring) when a step's words change */
.sty, .sty * { overflow-anchor: none; }
@media (max-width: 767px) { .sty { --sty-foot: 4.25rem; } }

/* (laptop and wider: the chart's panel is capped, so it never fills the whole window, and it holds the middle of the screen
   with room around it; the dots scale to fit it) */
.sty-scroller { position: relative; display: grid; grid-template-columns: minmax(19rem, 25rem) minmax(0, 52rem); justify-content: center; gap: 1.75rem; align-items: start; }
/* the stage: sticky, clipped, no taller than the cap and set in the middle of the room under the header */
.sty-stage { --sty-cap: min(calc(var(--sty-stage-h) - 2rem), 50rem); position: sticky; top: calc(var(--sty-top) + max(0.75rem, (100dvh - var(--sty-top) - var(--sty-cap)) / 2)); height: var(--sty-cap); grid-column: 2; grid-row: 1; overflow: clip; z-index: 1; }
.sty-steps { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.sty-step { min-height: 88dvh; padding-top: 4dvh; }
/* (laptop and wider: each step's card in the middle of its stretch of the page, so the card on screen sits level with the stage's
   middle, and larger, its words set to the stage's scale; the column beside the stage is the step, not an empty photo) */
@media (min-width: 1200px) {
  .sty-step { display: flex; flex-direction: column; justify-content: center; padding-top: 0; }
  .sty-card { padding: 2rem 2rem 1.9rem; }
  .sty-card .sty-title { font-size: clamp(1.75rem, 1.1rem + 1.15vw, 2.5rem); line-height: 1.16; }
  .sty-card .sty-read { font-size: var(--type-body); line-height: 1.55; margin-top: 1rem; }
  .sty-card .story-eye-row { margin-top: 1.4rem; }
}
.sty-step:last-child { min-height: calc(100dvh - var(--sty-top)); }

.sty-board { position: relative; height: 100%; display: flex; flex-direction: column; padding: 1rem 1.25rem 1.1rem; }
.sty-card { padding: 1.4rem 1.5rem 1.5rem; }
.sty-kicker { margin: 0; font-family: var(--font-heading); font-size: var(--type-kicker); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-navy-700); }
.sty-title { margin: 0.45rem 0 0; font-size: clamp(1.45rem, 1.1rem + 1vw, 2rem); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; color: var(--color-navy-900); font-variant-numeric: tabular-nums; }
.sty-title .fig-prose { font-weight: 400; }
.sty-read { margin: 0.85rem 0 0; font-size: var(--type-secondary); line-height: 1.55; color: var(--color-navy-800); max-width: 60ch; }
.sty-small { font-size: var(--type-meta); color: var(--color-navy-700); }

/* the steps' names, the step on screen marked (the explorer's segments); where they do not fit one row they wrap to a
   second, every name whole, never a row that scrolls sideways */
.sty-nav { display: inline-flex; flex: none; flex-wrap: wrap; max-width: 100%; gap: 4px; padding: 3px; border-radius: 22px; background: rgba(17, 19, 22, 0.05); align-self: flex-start; }
.sty-pill { flex: none; }
.sty-pill { flex: none; }
.sty-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font-size: var(--type-meta); color: var(--color-navy-700); cursor: pointer; white-space: nowrap; transition: background-color 420ms ease, color 420ms ease, box-shadow 420ms ease; }
.sty-pill:hover { color: var(--color-navy-900); transition-duration: 150ms; }
.sty-pill:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.sty-pill[aria-current="step"] { background: #fff; color: var(--color-navy-900); box-shadow: 0 1px 3px rgba(17, 19, 22, 0.14); transition-duration: 150ms; }

/* ---------- a step's own control (the CTE story's what-if: a question, a slider, a readout) */
.sty-mover { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(17, 19, 22, 0.08); }
.sty-ask { margin: 0 0 0.6rem; font-size: var(--type-body); line-height: 1.45; font-weight: 500; color: var(--color-navy-900); }
.sty-mover-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 0.9rem; }
.sty-mover-label { font-size: var(--type-meta); color: var(--color-navy-700); }
.sty-mover-out { font-size: 1.75rem; font-weight: 300; letter-spacing: -0.02em; color: var(--color-navy-900); font-variant-numeric: tabular-nums; }
.sty-range { display: block; }
.sty-mover-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 0.9rem; }

/* ---------- a pick list: the CTE story's pathways */
.sty-picker { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(17, 19, 22, 0.08); }
/* (16px, so a phone does not zoom into the field) */
.sty-search { display: block; width: 100%; min-height: 2.75rem; padding: 0 14px; border: 1px solid rgba(17, 19, 22, 0.16); border-radius: 12px; background: #fff; font-size: 16px; color: var(--color-navy-900); }
.sty-search:focus-visible { outline: none; box-shadow: var(--focus-ring); }
/* (the whole list at its own height: the page scrolls through it, never a box of its own) */
.sty-options { list-style: none; margin: 0.5rem 0 0; padding: 0; border: 1px solid rgba(17, 19, 22, 0.08); border-radius: 12px; background: rgba(255, 255, 255, 0.7); }
.sty-options > li[hidden] { display: none; }
.sty-options > li + li .sty-option { border-top: 1px solid rgba(17, 19, 22, 0.06); }
.sty-option { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 2.75rem; padding: 7px 12px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.sty-option:hover { background: rgba(17, 19, 22, 0.04); }
.sty-option:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.sty-option[aria-pressed="true"] { background: rgba(47, 174, 125, 0.13); }
.sty-option-name { font-size: var(--type-secondary); line-height: 1.35; font-weight: 500; color: var(--color-navy-900); }
.sty-option-sector { font-size: var(--type-kicker); line-height: 1.35; color: var(--color-navy-600); }
.sty-none-match { margin: 0.5rem 0 0; }
/* ---------- the chart */
.sty-chart { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 0.75rem; }
.sty-chart-head { min-height: 1.6rem; }
.sty-legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; font-size: var(--type-meta); line-height: 1.5; color: var(--color-navy-700); }
.sty-legend[hidden] { display: none; }
.sty-key { display: inline-flex; align-items: baseline; gap: 7px; }
.sty-key b { color: var(--color-navy-900); font-weight: 600; }
.sty-swatch { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--color-navy-200); transform: translateY(-1px); }
.sty-key--s .sty-swatch { background: var(--hue-sky); }
.sty-key--p .sty-swatch { background: color-mix(in srgb, var(--hue-sky) 38%, #fff); }
.sty-key--note .sty-swatch, .sty-key--note > i { display: none; }
/* the schools' marks: the LCAP target's dark, the Board goal's light */
.sty-key--target .sty-swatch, .sty-key--board .sty-swatch { width: 2px; height: 12px; border-radius: 0; background: #07253b; transform: translateY(1px); }
.sty-key--board .sty-swatch { background: #7d8f9c; }
.sty-plot { position: relative; flex: 1; min-height: 0; margin-top: 0.5rem; overflow-x: hidden; overflow-y: hidden; }
/* a state whose rows need more height than the chart has (a phone, many rows): the chart scrolls within itself */
.sty-plot.is-tall { overflow-y: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.sty-sheet { position: relative; width: 100%; }
.sty-canvas { position: absolute; left: 0; top: 0; display: block; }
.sty-labels { position: absolute; inset: 0; pointer-events: none; }
.sty-labels[hidden] { display: none; }
.sty-labels > * { position: absolute; left: 0; top: 0; margin: 0; white-space: nowrap; }
.sty-labels > [hidden] { display: none; }
/* a name wraps at its row's width (chart.js measures it in this face, so its pile starts under its last line); a number is
   centred on its pile (chart.js places it) */
.sty-labels > .sty-name, .sty-name { white-space: normal; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--color-navy-800); }
.sty-num { pointer-events: auto; font-size: 13px; line-height: 17px; font-weight: 600; color: var(--color-navy-900); font-variant-numeric: tabular-nums; }
.sty-num--s { color: #2a64c9; }
/* a pile's lit part set apart (layout.js apart): its label beside its own block of dots, a size up so the eye lands there */
.sty-labels > .sty-num[data-apart] { white-space: normal; font-family: inherit; font-size: clamp(1.35rem, 0.85rem + 0.9vw, 2.1rem); line-height: 1.16; font-weight: 300; letter-spacing: -0.02em; color: var(--color-navy-900); }
.sty-labels > .sty-num[data-apart] .fig-prose, .sty-labels > .sty-num[data-apart] b { font-weight: 400; color: var(--color-navy-900); }
.sty-labels > .sty-num[data-apart].is-compact { font-size: 1.15rem; line-height: 1.2; }
/* the group with the most and the school chosen in the sky's ink  a level's heading
   set apart */
.sty-name[data-mark] { color: #2a64c9; font-weight: 600; }
.sty-name[data-head] { font-weight: 600; color: var(--color-navy-900); }
/* narrow, or rows in two columns: the names and numbers a little smaller */
.sty-name.is-compact { font-size: 12.5px; line-height: 16px; }
.sty-num.is-compact { font-size: 12.5px; line-height: 16px; }
.sty-board .sty-labels > * { transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 1200px) { .sty-name, .sty-num { font-size: 14px; } }

/* ---------- narrower than a laptop: the card above, the chart below it, held at the foot of the screen; the cards scroll up
   behind the chart's solid board and out above it, so a card's words and the dots never sit on each other */
@media (max-width: 1199px) {
  .sty { --sty-chart-h: clamp(17rem, 50dvh, 40rem); }
  .sty-scroller { display: flex; flex-direction: column; gap: 0; }
  .sty-steps { order: 1; }
  /* (held at the foot, its solid lower half running down under the phone's navigation, so no card shows between them) */
  .sty-stage { order: 2; position: sticky; top: auto; bottom: 0; height: calc(var(--sty-chart-h) + var(--sty-foot) + 0.5rem); padding-bottom: calc(var(--sty-foot) + 0.5rem); z-index: 3; margin-top: 0.75rem;
    width: 100%; min-width: 0; overflow: visible; background: linear-gradient(to bottom, transparent 40%, rgba(240, 244, 247, 0.98) 40%); }
  .sty-board { min-width: 0; max-width: 100%; }
  .sty-nav { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sty-nav::-webkit-scrollbar { display: none; }
  .sty-step { min-height: calc(100dvh - var(--sty-top) - var(--sty-foot) - var(--sty-chart-h) - 1rem); padding: 0 0 1.25rem; }
  .sty-step:last-child { min-height: calc(100dvh - var(--sty-top) - var(--sty-foot) - var(--sty-chart-h) - 1rem); padding-bottom: 1.25rem; }
  .sty-card { max-width: 44rem; margin: 0 auto; }
  #work .sty-card { background: rgba(255, 255, 255, 0.92); }
  .sty-board { padding: 0.8rem 0.9rem 0.9rem; background: rgba(250, 252, 253, 0.98); box-shadow: 0 -10px 30px -18px rgba(7, 37, 59, 0.35); }
  /* (solid, over the panels' frost: the step cards pass behind the board, and none of their words may show through it) */
  #work .sty-board, #work .sty-board:hover { background: rgb(250, 252, 253); }
  .sty-pill { min-height: 44px; min-width: 44px; }
}
@media (max-width: 499px) {
  .sty-card { padding: 1.1rem 1.1rem 1.2rem; }
  .sty-name, .sty-num { font-size: 12.5px; }
  .sty-legend { gap: 2px 12px; font-size: 12px; line-height: 1.4; }
}
/* very wide: the story keeps a measure a reader can follow, centred, and the card's column grows a little */
@media (min-width: 1700px) {
  .sty { max-width: 1760px; margin-inline: auto; }
  .sty-scroller { grid-template-columns: minmax(22rem, 28rem) minmax(0, 58rem); gap: 2.25rem; }
  .sty-stage { --sty-cap: min(calc(var(--sty-stage-h) - 4rem), 52rem); }
}

/* ---------- each card fades in the first time it shows (scroll.js revealOnce) */
html.motion-live [data-sty-in] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 620ms cubic-bezier(0.23, 1, 0.32, 1), transform 620ms cubic-bezier(0.23, 1, 0.32, 1); }
html.motion-live [data-sty-in].sty-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-sty-in] { opacity: 1; transform: none; transition: none; }
  .sty-board .sty-labels > *, .sty-pill { transition: none; }
}

/* ---------- printed: one step a page, each with its own chart at the step's end */
.sty-print-fig { display: none; }
html[data-printing] .sty-print-fig { display: block !important; height: 3.6in; margin-top: 10px; }
html[data-printing] .sty-print-fig .sty-chart { height: 100%; margin: 0; }
/* (the first step shares its page with the page's heading and its band's words, so its chart is a little shorter) */
html[data-printing] .sty-step:first-child .sty-print-fig { height: 3in; }
@media print {
  .sty-stage { display: none !important; }
  .sty-scroller { display: block !important; }
  .sty-steps { margin: 0 !important; pointer-events: auto; }
  .sty-step { min-height: 0 !important; padding: 0 !important; break-inside: avoid; page-break-inside: avoid; }
  .sty-step + .sty-step { break-before: page; page-break-before: always; }
  #work .sty-card { max-width: none; margin: 0; padding: 0 0 6px !important; background: #fff !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  [data-sty-in] { opacity: 1 !important; transform: none !important; }
  .sty-mover { display: none !important; }
  .sty-print-fig { display: block !important; height: 3.6in; margin-top: 10px; }
  .sty-step:first-child .sty-print-fig { height: 3in; }
  .sty-print-fig .sty-chart { height: 100%; margin: 0; }
}

/* ---------- each step's headline strip (where it is, its title, its lead) and the way into its full read */
.story-head .sty-read { margin-top: 0.6rem; }
.story-kicker { display: block; font-family: var(--font-heading); font-size: var(--type-kicker); font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--color-navy-700); }
.story-text { margin: 10px 0 0; font-size: var(--type-body); line-height: 1.55; color: var(--color-navy-900); }
.story-eye-row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-top: 1rem; }
.story-door { color: inherit; text-decoration: none; }
.story-eye { flex: none; background: rgba(17, 19, 22, 0.06); }
@media (hover: hover) and (pointer: fine) { .story-eye:hover { background: rgba(17, 19, 22, 0.1); } }
.story-eye:focus-visible { outline: 2px solid var(--k-focus); outline-offset: 2px; }
/* the full read: Kit v5's overlay, a dialog over the page (a bottom sheet on a phone) */
dialog.story-read { width: min(720px, calc(100vw - 32px)); padding: 24px 26px 26px; border: 0; border-radius: var(--k-r-tile, 22px); background: rgba(255, 255, 255, 0.98); color: var(--color-navy-900); }
.story-read__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.story-read__title { margin: 6px 0 0; font-family: var(--font-heading); font-size: var(--type-title); font-weight: 600; line-height: 1.3; }
.story-read__body { margin-top: 6px; }
.story-read__src { margin: 16px 0 0; font-size: var(--type-meta); color: var(--quiet, #5a5d63); }
dialog.story-read:not([data-k-sheet]) { position: fixed; inset: 0; margin: auto; height: fit-content; }
dialog.story-read[data-k-sheet] { width: 100%; padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
@media print { .story-eye-row { display: none !important; } }

/* ---------- the band's controls: Copy link to this view and Print this page (the CTE explorer's, explorer.css) */
.band-corner { position: absolute; top: 14px; right: 14px; z-index: 20; display: flex; gap: 8px; }
@media (min-width: 768px) { .band-corner { top: 20px; right: 24px; } }
.share-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 2rem; padding: 0 11px; border-radius: 999px; border: 1px solid rgba(17, 19, 22, 0.1); background: rgba(255, 255, 255, 0.72); color: var(--color-navy-800); font-size: var(--type-meta); line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color 420ms ease, color 420ms ease; }
.share-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(79, 141, 245, 0.45); }
.share-btn--band { min-height: 2.75rem; padding: 0 16px; border-color: rgba(255, 255, 255, 0.36); background: rgba(7, 37, 59, 0.46); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--type-secondary); }
.share-btn--band:hover { background: rgba(7, 37, 59, 0.68); color: #fff; }
.share-btn--band:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5); }
.share-btn--band[data-state="done"] { color: #d3f5e2; border-color: rgba(211, 245, 226, 0.6); }
.share-words { display: inline; }
@media (max-width: 767px) {
  .share-btn--band { width: 2.75rem; padding: 0; justify-content: center; }
  .share-btn--band .share-words { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.share-toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 90; transform: translate(-50%, 8px); max-width: min(92vw, 30rem); padding: 10px 18px; border-radius: 999px; background: var(--color-navy-900); color: #fff; font-size: var(--type-secondary); box-shadow: 0 14px 34px -14px rgba(7, 37, 59, 0.6); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 220ms ease; }
.share-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 768px) { .share-toast { bottom: 28px; } }
@media print { .band-corner, [data-share-skip], .share-toast, .sty-picker, .sty-copy, .sty-own { display: none !important; } }
html[data-printing] .sty-own { display: none !important; }

/* ---------- step 7: the ways into the explorer's pages (the CTE story's doors) */
.sty-doors ul { list-style: none; display: grid; gap: 6px; margin: 1.1rem 0 0; padding: 0; }
.sty-door { display: flex; align-items: center; gap: 12px; min-height: 2.75rem; padding: 10px 14px; border: 1px solid rgba(17, 19, 22, 0.1); border-radius: 14px; background: rgba(255, 255, 255, 0.75); color: var(--color-navy-900); text-decoration: none; transition: background-color 420ms ease, border-color 420ms ease; }
.sty-door:hover { background: #fff; border-color: rgba(17, 19, 22, 0.22); transition-duration: 150ms; }
.sty-door:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.sty-door-words { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.sty-door-title { font-size: var(--type-secondary); font-weight: 600; line-height: 1.35; }
.sty-door-sub { font-size: var(--type-meta); line-height: 1.4; color: var(--color-navy-700); }
.sty-copy { margin-top: 0.9rem; }
.sty-copy .share-btn { min-height: 2.75rem; }

/* ---------- a phone: the Schools step's own piles in its card (story/page.js ownPiles), grown to their height */
.sty-own { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(17, 19, 22, 0.08); }
.sty-own .sty-chart { height: 22rem; margin-top: 0; }


/* ---------- the paired dot field (story/pairs.js): the CTE Jobs step's two fields side by side, in the system */
.pairs-chart .pairs-name { display: block; padding: 0; border: 0; background: none; font-family: inherit; text-align: left; cursor: pointer; pointer-events: auto; }
.pairs-chart .pairs-name:hover { color: var(--color-navy-900); }
.pairs-chart .pairs-name:focus-visible { outline: 2px solid var(--k-focus, #4f8df5); outline-offset: 2px; border-radius: 2px; }
.pairs-chart .sty-labels > * { transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
.sty-num--l { color: #2a64c9; }
.sty-num--r { color: #19744f; }
.sty-off { font-weight: 400; color: var(--color-navy-600); }
.pairs { display: grid; grid-template-columns: minmax(19rem, 25rem) minmax(0, 52rem); justify-content: center; gap: 1.75rem; align-items: start; }
.pairs-card { padding: 1.4rem 1.5rem 1.5rem; }
.pairs-board { --pairs-h: min(calc(100dvh - 9rem), 50rem); height: var(--pairs-h); display: flex; flex-direction: column; padding: 1rem 1.25rem 1.1rem; position: sticky; top: 4.5rem; }
.pairs-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pairs-ctl .sty-nav { align-self: auto; }
.pairs-ctl-label { font-family: var(--font-heading); font-size: var(--type-kicker); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-navy-600); }
.pairs-share { margin: 0.85rem 0 0; font-size: var(--type-secondary); line-height: 1.55; color: var(--color-navy-800); }
.pairs-share b { font-weight: 600; color: var(--color-navy-900); }
@media (max-width: 1199px) {
  .pairs { display: flex; flex-direction: column; gap: 1rem; }
  .pairs-board { position: static; --pairs-h: clamp(26rem, 70dvh, 44rem); }
  .pairs-card { max-width: 44rem; width: 100%; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .pairs-chart .sty-labels > * { transition: none; } }
/* the stage with more than one kind of chart on it (story/stage.js): the one shown fills the board, as the dots' own chart does */
.sty-stack { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 0.75rem; }
/* (the kinds lie one over the other, each filling the stage, so a morph shows the dots and the marks they fly into at once) */
.sty-stack > .sty-chart { position: absolute; inset: 0; margin-top: 0; }
.sty-stack > .sty-chart[hidden] { display: none; }
/* the bars and the line (story/kinds.js): the chart in the middle of the stage's height */
.sty-kind-plot { display: flex; flex-direction: column; justify-content: center; justify-content: safe center; }
.sty-pill--more { gap: 4px; }

/* ---------- the paired dot field's options (story/pairs.js): groups on panels, headings over columns, arrows between stages */
.pairs-panels { position: absolute; inset: 0; pointer-events: none; }
.pairs-panel { position: absolute; left: 0; top: 0; width: 100%; border-radius: 8px; background: color-mix(in srgb, var(--hue-mist) 46%, transparent); transition: transform 700ms cubic-bezier(.2, .8, .2, 1), height 700ms cubic-bezier(.2, .8, .2, 1); }
.pairs-panel[data-tone="mint"] { background: color-mix(in srgb, var(--hue-mint) 70%, transparent); }
.pairs-panel[data-tone="sand"] { background: color-mix(in srgb, var(--data-sand, #c9a878) 16%, transparent); }
.pairs-group-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; white-space: normal; overflow: hidden; font-size: 13px; line-height: 26px; color: var(--color-navy-900); pointer-events: auto; }
.pairs-group-label { font-family: var(--font-heading); font-size: var(--type-kicker); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pairs-group-note { font-size: 12.5px; font-weight: 400; color: var(--color-navy-700); }
.pairs-col-head { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.01em; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 8px; }
.pairs-arrow { font-size: 16px; line-height: 1; color: var(--color-navy-600); }
.sty-num--m { color: #2a64c9; }
.sty-num.is-live { animation: pairs-num-in 420ms ease-out both; }
@keyframes pairs-num-in { from { opacity: 0.2; } to { opacity: 1; } }
.pairs-chart .sty-labels > .pairs-group-head, .pairs-chart .sty-labels > .pairs-col-head, .pairs-chart .sty-labels > .pairs-arrow { transition: transform 700ms cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .pairs-panel, .sty-num.is-live { transition: none; animation: none; } }
/* the CTE story's later steps: a made-up sample marked in the card, the what-if's controls */
.sty-sample { margin: 0.85rem 0 0; padding: 0.45rem 0.7rem; border-radius: 8px; background: color-mix(in srgb, var(--data-sand, #c9a878) 18%, transparent); font-size: var(--type-meta); line-height: 1.45; color: var(--color-navy-800); }
.sty-sample b { font-weight: 600; color: var(--color-navy-900); }
.sty-per { font-weight: 400; font-size: 0.86em; color: var(--color-navy-700); }
.sty-live { font-weight: 600; color: var(--color-navy-900); font-variant-numeric: tabular-nums; }
.sty-mover .sty-ask { margin-bottom: 0.6rem; }
.sty-move-pick { display: grid; gap: 0.25rem; margin-top: 0.55rem; }
.sty-move-label { font-family: var(--font-heading); font-size: var(--type-kicker); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-navy-600); }
.sty-whatif { margin: 0.5rem 0 0; color: var(--color-navy-700); }
.sty-move-lines { margin-top: 0.7rem; display: grid; gap: 0.55rem; }
.sty-move-line { margin: 0; display: grid; gap: 0.1rem; font-size: var(--type-meta); line-height: 1.45; color: var(--color-navy-800); }
.sty-move-line b { font-weight: 600; color: var(--color-navy-900); }

.pairs-chart .pairs-name.has-thumb { padding-left: 28px; }
.pairs-thumb { position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(30, 42, 74, 0.12); }
/* a pick list whose options carry a small photo (the CTE story's pathways) */
.sty-option--photo { flex-direction: row; align-items: center; gap: 0.7rem; }
.sty-option-words { display: flex; flex-direction: column; min-width: 0; }
.sty-thumb { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 8px; object-fit: cover; background: rgba(17, 19, 22, 0.06); }
.sty-view-head { display: flex; align-items: center; gap: 0.9rem; }
.sty-view-head > div { min-width: 0; }
.sty-view-photo { flex: none; width: 4.5rem; height: 4.5rem; border-radius: 10px; object-fit: cover; background: rgba(17, 19, 22, 0.06); }
@media (prefers-reduced-motion: reduce) { .pairs-chart .sty-labels > .pairs-group-head, .pairs-chart .sty-labels > .pairs-col-head, .pairs-chart .sty-labels > .pairs-arrow { transition: none; } }

.pairs-chart .sty-num.is-compact .pairs-aside { display: none; }
.pairs-group-head.is-compact { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; line-height: 18px; padding-top: 3px; }
/* the student groups step: the groups above the reference rate, a plain list (never ranked) */
.sty-support { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid rgba(17, 19, 22, 0.08); }
.sty-support-head { margin: 0 0 0.4rem; font-size: var(--type-meta); line-height: 1.45; font-weight: 600; color: var(--color-navy-900); }
.sty-support-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.25rem; font-size: var(--type-meta); line-height: 1.45; color: var(--color-navy-800); }
.sty-support-list li { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.sty-support-note { margin: 0.5rem 0 0; color: var(--color-navy-600); }
