/* Approved Clinicians public composition, integrated with released Today captures and accurately labelled illustrative workflows. Shared public styles remain unchanged. */

body.cl { --cl-band: #1559b0; --cl-band-soft: #c3d8f6; --cl-navy: #0b2a5e; --cl-teal: #0f766e; --cl-teal-tint: #e6f3f0;
  --cl-h1: clamp(38px, 4.4vw, 64px); --cl-pull: clamp(120px, 17vh, 184px); }

/* ---------------- the opening ---------------- */
.cl-open { background: var(--cl-band); color: #fff; padding: calc(var(--nav-h) + clamp(40px, 7.4vh, 88px)) 0 calc(var(--cl-pull) + clamp(36px, 5vh, 56px)); }
.cl-open ::selection, .cl-close ::selection { background: rgba(255, 255, 255, .3); }
.cl-h1 { font-size: var(--cl-h1); line-height: 1.04; font-weight: 700; letter-spacing: -.034em; text-wrap: balance; }
.cl-h1 span { display: block; }
.cl-h1-b { color: var(--cl-band-soft); }
.cl-under { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(18px, 3vh, 30px); }
.cl-lead { max-width: 46ch; font-size: clamp(18px, 1.42vw, 21px); line-height: 1.5; color: #fff; text-wrap: pretty; }
.cl-acts, .cl-path-a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.cl-acts { flex: none; }
.cl-btn-w { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; background: #fff; color: var(--cl-band); font-size: 16.5px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.cl-btn-w:hover { background: #f1f6ff; }
.cl-btn-w:active { transform: translateY(1px); }
.cl-q { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; border-radius: 8px; color: #fff; font-size: 16.5px; font-weight: 600; }
.cl-q svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.cl-open .cl-q:hover svg { transform: translateY(2px); }
.cl-close .cl-q:hover svg { transform: translateX(3px); }
.cl-open a:focus-visible, .cl-close a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Ms Hart's Today rises out of the band */
.cl-hero { position: relative; margin-top: calc(-1 * var(--cl-pull)); }
.cl-today { margin: 0; }
/* whose Today: two people on the same block, chosen by name rather than by permission */
body.cl { --cl-hart: var(--blue); --cl-mehta: var(--cl-teal); }
.cl-av--hart { background: var(--cl-hart); color: #fff; }
.cl-av--mehta { background: var(--cl-mehta); color: #fff; }
.cl-who { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cl-who-b { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 8px; border: 0; border-radius: 12px; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.cl-who-b:hover { background: rgba(7, 20, 38, .14); box-shadow: inset 0 0 0 1.5px #fff; }
.cl-who-b[aria-pressed="true"] { background: #fff; color: var(--p-ink); box-shadow: 0 10px 24px -14px rgba(7, 20, 38, .5); }
.cl-who-b .ms-av { width: 34px; height: 34px; font-size: 11.5px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.cl-who-b span { display: grid; }
.cl-who-b b { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.cl-who-b small { font-size: 12.5px; color: var(--cl-band-soft); }
.cl-who-b[aria-pressed="true"] small { color: var(--p-slate); }
.cl-who-b:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cl-faces { display: grid; }
.cl-faces > .cl-app { grid-area: 1 / 1; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility 0s; }
.cl-today[data-who="hart"] [data-face="mehta"], .cl-today[data-who="mehta"] [data-face="hart"] { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.cl-run-by { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ms-rule); font-size: 14px; color: var(--p-slate); }
.cl-cap { display: grid; gap: 4px; margin-top: 14px; }
.cl-say { font-size: 15.5px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.cl-cap-note { font-size: 13px; color: var(--muted); }

/* ---------------- the clinician app: rail, band, body ---------------- */
.cl-app { position: absolute; inset: 0; display: grid; grid-template-columns: var(--cl-rail, 184px) minmax(0, 1fr); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--sheet); color: var(--p-ink); font-size: 14px; line-height: 1.4; }
.cl-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px 12px; border-right: 1px solid var(--ms-rule); }
.cl-brand { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 14.5px; font-weight: 650; letter-spacing: -.015em; color: var(--p-ink); }
.cl-brand b { font-weight: 650; color: var(--cl-band); }
.cl-me { display: flex; align-items: center; gap: 9px; padding: 0 4px; }
.cl-me .ms-av { flex: none; width: 30px; height: 30px; font-size: 10.5px; }
.cl-me span { display: grid; min-width: 0; }
.cl-me b { overflow: hidden; font-size: 13px; font-weight: 650; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis; }
.cl-me small { font-size: 11.5px; line-height: 1.3; color: var(--p-slate); }
.cl-app--day[data-who="hart"] [data-me="mehta"], .cl-app--day[data-who="mehta"] [data-me="hart"] { display: none; }
.cl-ctx { display: grid; grid-template-columns: 7px minmax(0, 1fr); gap: 9px; padding: 0 6px 14px; border-bottom: 1px solid var(--ms-rule); }
.cl-ctx i { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--cl-teal); }
.cl-ctx span { display: grid; min-width: 0; }
.cl-ctx b { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.cl-ctx small { font-size: 11.5px; line-height: 1.35; color: var(--p-slate); }
/* the current section's marker slides between items as the day moves on */
.cl-nav { position: relative; display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.cl-nav::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; border-radius: 8px; background: var(--ms-tint); box-shadow: inset 2.5px 0 0 var(--cl-band); transform: translateY(calc(var(--i, 0) * 38px)); transition: transform .55s var(--ease-out); }
.cl-nav li { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; font-size: 13.5px; color: var(--p-ink); white-space: nowrap; transition: color .25s; }
.cl-nav svg { flex: none; width: 17px; height: 17px; color: var(--p-slate); transition: color .25s; }
.cl-nav li.is-on { font-weight: 600; color: var(--cl-band); }
.cl-nav li.is-on svg { color: var(--cl-band); }
.cl-nav em { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--ms-tint); color: var(--cl-band); font-size: 11px; font-style: normal; font-weight: 650; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.cl-nav li.is-on em { background: #fff; }

.cl-main { position: relative; min-width: 0; min-height: 0; }
.cl-band { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 10px calc(var(--ms-dov) + 20px) 10px 22px; background: var(--cl-band); color: #fff; }
.cl-bt { min-width: 0; overflow: hidden; font-size: 19px; font-weight: 700; letter-spacing: -.018em; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.cl-bt span { margin-left: 8px; font-size: .74em; font-weight: 600; letter-spacing: -.005em; color: var(--cl-band-soft); }
.cl-bs { margin-top: 6px; font-size: 14px; color: var(--cl-band-soft); }
.cl-bs b { font-weight: 600; color: #fff; }
.cl-acct { flex: none; display: none; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cl-acct .ms-av { width: 26px; height: 26px; font-size: 10px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.cl-rail-demo { margin-top: auto; padding: 0 6px; font-size: 11.5px; color: var(--p-slate); }

/* the opening's Today: the band as tall as the app draws it, then Next and what is waiting */
.cl-app--today { position: relative; inset: auto; --cl-rail: 212px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), var(--sheet); }
.cl-band--today { align-items: flex-start; padding: 26px 28px 24px; }
.cl-band--today .cl-bt { font-size: clamp(24px, 2.3vw, 34px); letter-spacing: -.026em; white-space: normal; }
.cl-band--today .cl-bt span { margin-left: .2em; font-size: 1em; font-weight: 700; letter-spacing: inherit; }
.cl-band-t { min-width: 0; }
.cl-bbtn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-left: auto; padding: 0 16px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .72); font-size: 14px; font-weight: 600; white-space: nowrap; }
.cl-bbtn svg { width: 15px; height: 15px; }
.cl-tbody { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.cl-next, .cl-side { padding: 24px 28px 26px; }
.cl-side { border-left: 1px solid var(--ms-rule); }
.cl-k { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; color: var(--p-ink); }
.cl-k b { font-weight: 600; color: var(--cl-band); }
.cl-next-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; margin-top: 14px; }
.cl-time b { display: block; font-size: 26px; font-weight: 650; letter-spacing: -.012em; line-height: 1.1; color: var(--cl-band); font-variant-numeric: tabular-nums; }
.cl-time small { font-size: 14px; color: var(--p-slate); }
.cl-next-t { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.cl-next-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; font-size: 15px; color: var(--p-slate); }
.cl-pill { padding: 2px 8px; border-radius: 6px; background: var(--ms-tint); color: var(--cl-band); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.cl-pill--teal { background: var(--cl-teal-tint); color: var(--cl-teal); }
.cl-next-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cl-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 9px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cl-btn--navy { background: var(--cl-navy); color: #fff; }
.cl-btn--line { box-shadow: inset 0 0 0 1.5px #c9d6ea; color: var(--cl-navy); }
.cl-k--later { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ms-rule); font-size: 14px; }
.cl-later { display: grid; grid-template-columns: 84px minmax(0, 1fr) 16px; gap: 16px; align-items: start; margin-top: 10px; }
.cl-later > b { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cl-later span { display: grid; }
.cl-later span b { font-size: 15px; font-weight: 600; }
.cl-later small { font-size: 13px; color: var(--p-slate); }
.cl-later svg, .cl-wait svg { width: 16px; height: 16px; align-self: center; color: var(--p-mist); }
.cl-wait { display: grid; grid-template-columns: 30px minmax(0, 1fr) 16px; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 0 14px; border-bottom: 1px solid var(--ms-rule); }
.cl-wait b { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.cl-wait span { font-size: 15px; }
.cl-k--teal { margin-top: 18px; }
.cl-k--teal svg { width: 18px; height: 18px; color: var(--cl-teal); }
.cl-mine { list-style: none; margin: 8px 0 0; padding: 0; }
.cl-mine li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.cl-mine span { display: grid; }
.cl-mine b { font-size: 14px; font-weight: 600; }
.cl-mine small { font-size: 12.5px; color: var(--p-slate); }

/* ---------------- a teaching day ---------------- */
.cl-day { background: #fff; }
.cl-run { margin-top: clamp(40px, 6vh, 68px); }
/* her clock: five stops, and a marker that travels the day */
.cl-clock-bar { position: relative; display: flex; align-items: flex-start; gap: 20px; }
.cl-clock-bar .ms-play { position: absolute; right: 0; bottom: calc(100% + 10px); margin: 0; }
#cday { scroll-margin-top: calc(var(--nav-h) + 12px); }
.cl-clock { position: relative; flex: 1 1 auto; --at: 1; }
.cl-track { position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: #d5deea; pointer-events: none; }
.cl-track i { position: absolute; left: 0; top: 0; height: 100%; width: calc((var(--at) - 1) * 25%); background: var(--blue); transition: width .9s cubic-bezier(.65, 0, .35, 1); }
.cl-clock::after { content: ""; position: absolute; top: 3px; left: calc(10% + (var(--at) - 1) * 20%); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--cl-hart); box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px rgba(23, 104, 242, .3); pointer-events: none; transition: left .9s cubic-bezier(.65, 0, .35, 1), background .3s .6s, box-shadow .3s .6s; }
.cl-stops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.cl-stop { position: relative; display: grid; justify-items: center; gap: 1px; width: 100%; padding: 28px 6px 4px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.cl-stop::before { content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #9aa5b5; transition: background .25s, box-shadow .25s; }
.cl-stop.is-past::before { background: var(--cl-hart); box-shadow: none; }
.cl-stop[data-who="mehta"]::before { box-shadow: inset 0 0 0 2px var(--cl-mehta); }
.cl-stop time { font-size: clamp(17px, 1.45vw, 21px); font-weight: 650; letter-spacing: -.012em; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .25s; }
.cl-stop span { font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: color .25s; }
.cl-stop:hover span { color: var(--ink); }
.cl-stop[aria-current="step"] time { color: var(--cl-hart); }
.cl-stop[data-who="mehta"].is-past::before { background: var(--cl-mehta); }
.cl-stop[data-who="mehta"][aria-current="step"] time { color: var(--cl-mehta); }
.cl-clock[data-who="mehta"]::after { background: var(--cl-mehta); box-shadow: 0 0 0 4px #fff, 0 0 0 5.5px rgba(15, 118, 110, .32); }
.cl-stop[aria-current="step"] span { color: var(--ink); }
.cl-stop:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cl-caps { max-width: 56ch; }
.cl-run-note { max-width: 76ch; margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--ms-rule); font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* the stage: the schools stage, with her app on the staff side and a fifth moment */
.cl-stage .cl-app--day { --cl-rail: clamp(156px, 15cqw, 184px); }
.cl-pane { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); transition: opacity .32s var(--ease-out), visibility 0s .32s; }
.ms-dstage:not([data-at="5"]) [data-p="5"] { opacity: 0; visibility: hidden; }
.cl-pbody { position: relative; min-height: 0; overflow: hidden; padding: 16px calc(var(--ms-dov) + 22px) 18px 22px; }

/* 1 · her students */
.cl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cl-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: #eef2f7; }
.cl-seg span { padding: 4px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--p-slate); white-space: nowrap; }
.cl-seg span.is-on { background: #fff; color: var(--p-ink); box-shadow: 0 1px 2px rgba(7, 20, 38, .12); }
.cl-seg--q { margin-left: auto; }
.cl-st-h, .cl-st li { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr) 96px minmax(0, 1.25fr); gap: 10px; align-items: center; }   /* was 70px; the 92px "Setup needed" chip ran into Relationship */
.cl-st-h { margin-top: 14px; padding: 0 4px 8px; border-bottom: 1px solid var(--ms-rule); font-size: 11.5px; font-weight: 600; color: var(--p-slate); }
.cl-st-h span:first-child { grid-column: span 2; }
.cl-st { list-style: none; margin: 0; padding: 0; }
.cl-st li { padding: 9px 4px; border-bottom: 1px solid #eef2f7; font-size: 13.5px; transition: box-shadow .3s var(--ease-out); }
.cl-st li.is-lit { border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(23, 104, 242, .34); }
.cl-st b { min-width: 0; overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.cl-st-today { min-width: 0; overflow: hidden; color: var(--p-slate); white-space: nowrap; text-overflow: ellipsis; }
.cl-st-w { color: var(--p-slate); }
.cl-st-w em { padding: 2px 8px; border-radius: 999px; background: var(--ms-amber-bg); color: var(--amber); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; }
.cl-st-rel { min-width: 0; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--cl-teal); }
/* her record, opened under the list: a section of the page, not a card on it */
.cl-drawer { max-width: 560px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ms-rule); }
.cl-dr-who { display: flex; align-items: center; gap: 10px; }
.cl-dr-who span { display: grid; min-width: 0; }
.cl-dr-who b { font-size: 15px; font-weight: 650; }
.cl-dr-who small { font-size: 12.5px; color: var(--p-slate); }
.cl-dr-rel { display: inline-block; margin-top: 8px; padding: 2px 9px; border-radius: 999px; background: var(--cl-teal-tint); color: var(--cl-teal); font-size: 12px; font-weight: 600; }
.cl-dr-dl { margin: 8px 0 0; }
.cl-dr-dl > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--ms-rule); font-size: 13px; }
.cl-dr-dl dt { color: var(--p-slate); }
.cl-dr-dl dd { margin: 0; font-variant-numeric: tabular-nums; }

/* 2, 3 · the register; once closed, its window light goes grey */
.cl-rg-closed::before { background: #9aa5b5; box-shadow: 0 0 0 3px #eef1f5; }

/* 4 · her queue, by student, and the form she signs */
.cl-pbody.cl-so { display: grid; grid-template-columns: minmax(196px, 33%) minmax(0, 1fr); padding: 0; }
.cl-queue { min-width: 0; padding: 16px 14px 16px 18px; border-right: 1px solid var(--ms-rule); background: var(--ms-soft); }
.cl-q-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: 13px; }
.cl-q-h:first-child { margin-top: 0; }
.cl-q-h b { font-weight: 650; }
.cl-q-h span { font-size: 11.5px; color: var(--p-slate); white-space: nowrap; }
.cl-q-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding: 9px 10px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px var(--ms-rule); transition: box-shadow .25s; }
.cl-q-row span { display: grid; min-width: 0; }
.cl-q-row b { font-size: 13px; font-weight: 600; }
.cl-q-row small { font-size: 11.5px; color: var(--p-slate); }
.cl-q-row.is-sel { box-shadow: inset 0 0 0 2px var(--blue); }
.cl-q-done { padding: 2px 8px; border-radius: 999px; background: var(--ms-green-bg); color: var(--ms-green); font-size: 11.5px; font-style: normal; font-weight: 600; opacity: 0; transition: opacity .3s; }
.cl-q-row.is-signed .cl-q-done { opacity: 1; }
.cl-doc { position: relative; min-width: 0; overflow: hidden; padding: 16px calc(var(--ms-dov) + 22px) 16px 22px; }
.cl-doc .ms-so-who b { font-size: 14.5px; }

/* 5 · the session she moves */
.cl-wk { margin-top: 0; }
.cl-chg { transition: box-shadow .25s, background .25s; }
.cl-chg.is-chg { background: var(--ms-tint); box-shadow: inset 0 0 0 1.5px var(--blue); }
.cl-edit { top: 54px; }
/* once moved, the session keeps a quiet tint so the change still reads */
.cl-wk .ms-ds-new.is-moved::after { opacity: 1; }
.cl-wk .ms-ds-new.is-moved .ms-ds-tm { font-weight: 600; color: var(--ms-blue-ink); }
/* the update arrives on Priya's phone as a banner */
.cl-note { position: absolute; left: 8px; right: 8px; top: 4px; z-index: 2; padding: 9px 11px 10px; border-radius: 14px; background: #f6f8fb; box-shadow: 0 12px 28px -10px rgba(7, 20, 38, .4), 0 0 0 1px rgba(7, 20, 38, .07); opacity: 0; transform: translateY(-115%); transition: transform .5s var(--ease-out), opacity .3s; }
.cl-note.is-on { opacity: 1; transform: none; }
.cl-note-h { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--p-slate); }
.cl-note-h .ms-mk { width: 16px; height: 16px; border-radius: 4px; font-size: 7px; }
.cl-note-h small { margin-left: auto; font-size: 11px; }
.cl-note-t { margin-top: 4px; font-size: 13px; font-weight: 650; color: var(--p-ink); }
.cl-note-b { margin-top: 1px; font-size: 12.5px; line-height: 1.35; color: var(--p-ink); text-wrap: pretty; }

/* ---------------- what it gives back: three rooms on one stage, each marked with how far along it is ---------------- */
.cy { background: var(--deep); color: #fff; }
.cy ::selection { background: rgba(143, 184, 255, .35); }
.cy .ms-h2 { color: #fff; }
.cy .ms-h2-b { color: #8fb8ff; }
.cy .ms-ch-lead { color: rgba(255, 255, 255, .8); }
.cy-rooms { display: grid; grid-template-columns: minmax(250px, 296px) minmax(0, 1fr); gap: 24px clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 6vh, 64px); }
.cy-side { display: grid; gap: 22px; align-content: start; }
.cy-index { display: grid; gap: 8px; }
.cy-notes .cy-note { margin: 0; }
.cy-notes .cy-note[hidden] { display: none; }
.cy-tab { display: grid; gap: 5px; width: 100%; padding: 16px 18px 17px; border: 0; border-radius: 14px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.cy-tab:hover { background: rgba(255, 255, 255, .06); }
.cy-tab[aria-selected="true"] { background: #fff; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .7); color: var(--ink); }
.cy-tab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cy-tab-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cy-tab-h b { font-size: 17px; font-weight: 650; letter-spacing: -.012em; line-height: 1.25; }
.cy-tab-s { font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .74); text-wrap: pretty; }
.cy-tab[aria-selected="true"] .cy-tab-s { color: var(--muted); }
/* how far along: in the app, a pilot, or in development — always in words, never colour alone */
.cy-tag { flex: none; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }
.cy-tag--live { background: #e7f5ec; color: #137a40; }
.cy-tag--pilot { background: #fff1d6; color: #7a4705; }
.cy-tag--dev { box-shadow: inset 0 0 0 1.5px rgba(195, 216, 246, .75); color: #dbe7fa; }
.cy-tab[aria-selected="true"] .cy-tag--dev { box-shadow: inset 0 0 0 1.5px #b9c6d8; color: var(--p-slate); }
.cy-panel[hidden] { display: none; }
.cy-panel { animation: cy-in .32s var(--ease-out) both; }
@keyframes cy-in { from { opacity: 0; transform: translateY(6px); } }

/* the stage: the app sheet, with the student's phone over its right edge where the student is part of it */
.cy-stage { position: relative; height: clamp(400px, calc(100svh - var(--nav-h) - 270px), 450px); container: cy-stage / size; }
.cy-app { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .75); color: var(--p-ink); font-size: 14px; line-height: 1.4; }
.cy-stage--phone .cy-app { right: 150px; }
.cy-band { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 20px; background: var(--cl-band); color: #fff; }
.cy-stage--phone .cy-band, .cy-stage--phone .cy-body { padding-right: 92px; }
.cy-bt { min-width: 0; overflow: hidden; font-size: 18px; font-weight: 700; letter-spacing: -.018em; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.cy-bt span { margin-left: 8px; font-size: .74em; font-weight: 600; color: var(--cl-band-soft); }
.cy-bacts { display: flex; gap: 6px; margin-left: auto; }
.cy-chip { flex: none; margin-left: auto; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-style: normal; font-weight: 650; white-space: nowrap; }
.cy-bacts + .cy-chip, .cy-chip + .cy-acct { margin-left: 0; }
.cy-chip--live { background: #e7f5ec; color: #137a40; }
.cy-chip--pilot { background: #fff1d6; color: #7a4705; }
.cy-chip--dev { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .78); color: #fff; }
.cy-bacts span { transition: background .2s; }
.cy-stage[data-step="copy"] .cy-bacts span[data-press="pdf"] { background: rgba(255, 255, 255, .22); }
.cy-bacts span { padding: 6px 11px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.cy-acct { flex: none; display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cy-acct .ms-av { width: 26px; height: 26px; font-size: 10px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
.cy-body { min-height: 0; overflow: hidden; padding: 16px 20px; }
.cy-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: #eef2f7; }
.cy-seg span { padding: 4px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--p-slate); white-space: nowrap; }
.cy-seg span.is-on { background: #fff; color: var(--p-ink); box-shadow: 0 1px 2px rgba(7, 20, 38, .12); }

/* 1 · the portfolio */
.cy-pf { display: grid; grid-template-columns: minmax(200px, 38%) minmax(0, 1fr); gap: 18px; margin-top: 14px; }
.cy-cats { display: grid; gap: 2px; align-content: start; list-style: none; margin: 0; padding: 0; }
.cy-cats li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 10px; border-radius: 9px; transition: background .2s, box-shadow .2s; }
.cy-cats i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--ms-tint); color: var(--cl-band); }
.cy-cats svg { width: 16px; height: 16px; }
.cy-cats span { display: grid; min-width: 0; }
.cy-cats b { font-size: 13.5px; font-weight: 600; }
.cy-cats small { font-size: 12px; line-height: 1.3; color: var(--p-slate); }
.cy-cats li.is-off i { background: #eef1f5; color: var(--p-slate); }
.cy-cats li.is-off b { color: var(--p-slate); }
.cy-stage[data-step="sessions"] .cy-cats [data-c="sessions"], .cy-stage[data-step="assess"] .cy-cats [data-c="assess"], .cy-stage[data-step="materials"] .cy-cats [data-c="materials"] { background: var(--ms-tint); box-shadow: inset 0 0 0 1.5px rgba(21, 89, 176, .32); }
.cy-pf-d { display: none; min-width: 0; }
.cy-stage[data-step="sessions"] .cy-pf-d[data-c="sessions"], .cy-stage[data-step="assess"] .cy-pf-d[data-c="assess"], .cy-stage[data-step="materials"] .cy-pf-d[data-c="materials"] { display: block; animation: cy-in .3s var(--ease-out) both; }
.cy-pf-h { font-size: 15px; font-weight: 650; }
.cy-pf-n { margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--p-slate); text-wrap: pretty; }
.cy-rows { list-style: none; margin: 10px 0 0; padding: 0; }
.cy-rows li { display: grid; padding: 9px 0; border-top: 1px solid #eef2f7; }
.cy-rows b { font-size: 13.5px; font-weight: 600; }
.cy-rows small { font-size: 12px; color: var(--p-slate); font-variant-numeric: tabular-nums; }
.cy-paper { position: absolute; right: 26px; top: 66px; width: 262px; padding: 18px 20px 16px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(7, 20, 38, .08), 0 26px 50px -18px rgba(7, 20, 38, .55); color: var(--p-ink); opacity: 0; visibility: hidden; transform: translateY(24px) rotate(2deg); transition: opacity .3s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s; }
.cy-stage[data-step="copy"] .cy-paper { opacity: 1; visibility: visible; transform: rotate(-1.5deg); transition: opacity .3s var(--ease-out), transform .5s var(--ease-out), visibility 0s; }
.cy-paper-h { display: grid; padding-bottom: 8px; border-bottom: 1.5px solid var(--p-ink); }
.cy-paper-h b { font-size: 15px; font-weight: 700; }
.cy-paper-h span { font-size: 11.5px; color: var(--p-slate); }
.cy-paper-k { margin-top: 10px; font-size: 12px; font-weight: 650; }
.cy-paper-l { padding: 4px 0; border-bottom: 1px solid #e3e8f0; font-size: 12px; color: var(--p-ink); }
.cy-paper-f { margin-top: 12px; font-size: 11.5px; color: var(--p-slate); }
.cy-cats li[data-c] { cursor: pointer; }
.cy-rec { margin-top: 10px; padding: 12px 14px 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ms-rule); }
.cy-rec-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cy-rec-t b { font-size: 14px; font-weight: 650; }
.cy-rec dl { margin: 8px 0 0; }
.cy-rec dl > div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding: 5px 0; border-top: 1px solid #eef2f7; font-size: 12.5px; }
.cy-rec dt { color: var(--p-slate); }
.cy-rec dd { margin: 0; font-variant-numeric: tabular-nums; }
.cy-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid #eef2f7; font-size: 12px; line-height: 1.45; color: var(--p-slate); text-wrap: pretty; }

/* the student's phone */
.cy-phone { position: absolute; right: 0; top: 14px; bottom: 10px; width: 222px; overflow: hidden; border: 8px solid #0e1728; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 30px 60px -30px rgba(0, 0, 0, .8); color: var(--p-ink); transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
.cy-ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 2px; font-size: 12px; }
.cy-ph-bar b { font-variant-numeric: tabular-nums; }
.cy-ph-bar svg { width: 44px; height: 10px; }
.cy-ph-in { position: relative; padding: 4px 12px; }
.cy-ph-k { padding: 4px 2px 9px; border-bottom: 1px solid #eef2f7; font-size: 15px; font-weight: 650; }
.cy-rate, .cy-ask { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--ms-soft); box-shadow: inset 0 0 0 1px var(--ms-rule); }
.cy-rate-t, .cy-ask-t { font-size: 14px; font-weight: 650; line-height: 1.3; }
.cy-stars { display: flex; gap: 4px; margin-top: 8px; color: #d99a06; }
.cy-stars svg { width: 22px; height: 22px; }
.cy-stars .is-dim { color: #d5deea; }
.cy-rate-b { display: flex; align-items: center; justify-content: center; min-height: 34px; margin-top: 10px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; }
.cy-rate-n { margin-top: 8px; font-size: 11.5px; line-height: 1.38; color: var(--p-slate); }

/* 2 · feedback: the window, then the results */
.cy-form { display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; background: var(--ms-soft); box-shadow: inset 0 0 0 1px var(--ms-rule); }
.cy-form b { font-size: 13px; font-weight: 600; }
.cy-form small { font-size: 12px; color: var(--p-slate); }
.cy-fb-wait { margin-top: 18px; }
.cy-fb-st { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.cy-fb-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--ms-green); box-shadow: 0 0 0 3px var(--ms-green-bg); }
.cy-days { display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: 3px; list-style: none; margin: 12px 0 0; padding: 0; }
.cy-days li { display: grid; place-items: center; height: 30px; border-radius: 6px; background: #eef1f5; color: var(--p-slate); font-size: 11.5px; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.cy-days b { font-weight: 600; }
.cy-days li.is-end { box-shadow: inset 0 0 0 1.5px #9fb0c7; }
.cy-stage[data-step="open"] .cy-days li:nth-child(-n + 6) { background: var(--ms-tint); color: var(--cl-band); }
.cy-stage[data-step="rate"] .cy-days li:nth-child(1), .cy-stage[data-step="open"] .cy-days li:nth-child(7) { background: var(--cl-band); color: #fff; }
.cy-fb-lock { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--p-ink); }
.cy-fb-lock svg { width: 15px; height: 15px; color: var(--p-slate); }
.cy-stage--phone[data-step="results"] .cy-app { right: 0; }
.cy-stage--phone[data-step="results"] .cy-band, .cy-stage--phone[data-step="results"] .cy-body { padding-right: 20px; }
.cy-fb-n { margin-top: 10px; max-width: 54ch; font-size: 13px; line-height: 1.45; color: var(--p-slate); text-wrap: pretty; }
.cy-fb-res { display: none; }
.cy-stage[data-step="results"] .cy-fb-wait { display: none; }
.cy-stage[data-step="results"] .cy-fb-res { display: block; animation: cy-in .35s var(--ease-out) both; }
.cy-fb-big { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 14px; }
.cy-fb-big b { font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.cy-fb-big svg { width: 22px; height: 22px; color: #d99a06; }
.cy-fb-big span { font-size: 13px; color: var(--p-slate); }
.cy-qs { list-style: none; margin: 10px 0 0; padding: 0; }
.cy-qs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 7px 0 8px; border-top: 1px solid #eef2f7; font-size: 13px; }
.cy-qs b { font-weight: 650; font-variant-numeric: tabular-nums; }
.cy-qs em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--ms-tint); color: var(--cl-band); font-size: 11.5px; font-style: normal; font-weight: 600; }
.cy-qs i { position: relative; grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #eef1f5; }
.cy-qs i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 2px; background: var(--cl-band); }
.cy-fb-held { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--p-slate); text-wrap: pretty; }
.cy-stage[data-step="results"] .cy-phone { opacity: 0; transform: translateY(14px); }

/* 3 · opportunities: the post, then the people who asked */
.cy-op-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 15px; font-weight: 650; }
.cy-op-h span { font-size: 12.5px; font-weight: 500; color: var(--p-slate); white-space: nowrap; }
.cy-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cy-chips span { padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #d5deea; font-size: 12.5px; font-weight: 600; color: var(--p-slate); }
.cy-chips span.is-on { background: var(--cl-band); box-shadow: none; color: #fff; }
.cy-op-f { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 0; }
.cy-op-f .cy-w { grid-column: 1 / -1; }
.cy-op-f dt { font-size: 11.5px; font-weight: 600; color: var(--p-slate); }
.cy-op-f dd { margin: 3px 0 0; padding: 6px 9px; border-radius: 7px; box-shadow: inset 0 0 0 1px #d8e0eb; font-size: 13px; line-height: 1.4; }
.cy-op-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--p-slate); }
.cy-op-list { display: none; }
.cy-stage:not([data-step="post"]) .cy-op-post { display: none; }
.cy-stage:not([data-step="post"]) .cy-op-list { display: block; animation: cy-in .35s var(--ease-out) both; }
.cy-op-n { margin-top: 3px; font-size: 12.5px; color: var(--p-slate); }
.cy-apps { list-style: none; margin: 10px 0 0; padding: 0; }
.cy-apps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 10px; padding: 10px 0; border-top: 1px solid #eef2f7; }
.cy-apps .ms-av { grid-row: span 2; }
.cy-apps span { display: grid; gap: 2px; min-width: 0; }
.cy-apps b { font-size: 13.5px; font-weight: 600; }
.cy-apps b small { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--p-slate); }
.cy-apps q { font-size: 12.5px; line-height: 1.4; color: var(--p-ink); quotes: "“" "”"; }
.cy-dec { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.cy-dec .ms-btn { min-height: 30px; padding: 0 11px; font-size: 12.5px; }
.cy-done { display: none; grid-column: 2; justify-self: start; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--ms-green-bg); color: var(--ms-green); font-size: 12px; font-style: normal; font-weight: 600; }
.cy-stage[data-step="decide"] [data-who="priya"] .cy-dec { display: none; }
.cy-stage[data-step="decide"] [data-who="priya"] .cy-done { display: inline-block; }
.cy-ask-s { margin-top: 2px; font-size: 12px; color: var(--p-slate); }
.cy-ask-k { margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--p-slate); }
.cy-ask-in { margin-top: 3px; padding: 7px 9px; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px #c9d6ea; font-size: 12.5px; line-height: 1.4; }
.cy-ok { display: none; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--ms-green-bg); color: var(--ms-green); }
.cy-ok svg { width: 18px; height: 18px; }
.cy-ok b { display: block; margin-top: 4px; font-size: 14px; font-weight: 650; }
.cy-ok span { display: block; font-size: 12px; color: var(--p-ink); }
.cy-stage--phone[data-step="post"] .cy-phone { opacity: 0; transform: translateY(14px); }
.cy-stage[data-step="decide"] .cy-ask { display: none; }
/* while Priya writes, her note has the whole screen */
.cy-stage[data-step="ask"] .cy-ph-k { display: none; }
.cy-stage[data-step="decide"] .cy-ok { display: block; animation: cy-in .35s var(--ease-out) both; }

/* each room's own moments, chosen by the visitor; nothing plays by itself */
.cy-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cy-steps button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.cy-steps button:hover { background: rgba(255, 255, 255, .08); }
.cy-steps button[aria-pressed="true"] { background: #fff; box-shadow: none; color: var(--ink); }
.cy-steps button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.cy-cap { max-width: 60ch; margin-top: 14px; font-size: 16px; line-height: 1.5; color: #fff; text-wrap: pretty; }
.cy-fine { margin-top: clamp(28px, 4vh, 40px); font-size: 13px; color: rgba(255, 255, 255, .68); }
.cy-note { max-width: 60ch; margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .8); text-wrap: pretty; }
.cy-note b { color: #fff; font-weight: 650; }
html.reduce .cy-panel, html.reduce .cy-pf-d, html.reduce .cy-fb-res, html.reduce .cy-op-list, html.reduce .cy-ok { animation: none; }
html.reduce .cy-phone, html.reduce .cy-days li, html.reduce .cy-paper { transition: none; }

/* a short stage (a short laptop): the portfolio drops its two not-yet rows, the results their form card, Priya's phone its heading */
@container cy-stage (max-height: 420px) {
  .cy-cats li.is-off { display: none; }
  .cy-pf-n { display: none; }
  .cy-rec { margin-top: 6px; }
  .cy-stage[data-step="results"] .cy-form { display: none; }
  .cy-stage[data-step="results"] .cy-fb-big { margin-top: 2px; }
  .cy-ph-k, .cy-ask-s { display: none; }
  .cy-ask { margin-top: 8px; }
}

/* ---------------- the questions clinicians ask: an accordion, answered from what the product does today ---------------- */
.cl-faq { background: var(--ms-ground); }
.cl-faq-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(40px, 6vw, 96px); align-items: start; }
.cl-faq-lead { max-width: 40ch; margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.cl-faq-head .ms-gov-links { margin-top: 22px; }
.cl-qa { border-top: 1px solid var(--line); }
.cl-q-item { border-bottom: 1px solid var(--line); }
.cl-q-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 16px 4px; border-radius: 8px; list-style: none; cursor: pointer; font-size: clamp(17px, 1.35vw, 19.5px); font-weight: 650; letter-spacing: -.012em; line-height: 1.3; color: var(--ink); transition: color .2s; }
.cl-q-item summary::-webkit-details-marker { display: none; }
.cl-q-item summary:hover { color: var(--blue-hover); }
.cl-q-item summary svg { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease-out), color .2s; }
.cl-q-item[open] summary svg { transform: rotate(180deg); color: var(--blue); }
.cl-q-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cl-a { padding: 0 4px 22px; }
.cl-a p { max-width: 55ch; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.cl-a p + p { margin-top: 10px; }
html.motion .cl-q-item[open] .cl-a { animation: cy-in .3s var(--ease-out) both; }
/* how far along, in words: the same scale as the showcases */
.cl-tag { display: inline-block; margin: 0 2px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-style: normal; font-weight: 650; line-height: 1.5; vertical-align: 1px; white-space: nowrap; }
.cl-tag--pilot { background: #fff1d6; color: #7a4705; }
.cl-tag--dev { box-shadow: inset 0 0 0 1.5px #b9c6d8; color: var(--p-slate); }
.cl-faq-foot { max-width: 55ch; margin-top: 18px; font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }


/* ---------------- the close ---------------- */
.cl-close { background: var(--cl-band); color: #fff; padding: clamp(96px, 11vw, 160px) 0 clamp(88px, 10vw, 150px); }
.cl-close-h { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -.034em; text-wrap: balance; }
.cl-close-h span { display: block; }
.cl-close-h span + span { color: var(--cl-band-soft); }
/* getting started: two paths, side by side under one hairline, split by another */
.cl-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(255, 255, 255, .3); }
.cl-path { padding: 28px clamp(24px, 3vw, 44px) 4px 0; }
.cl-path + .cl-path { padding-left: clamp(24px, 3vw, 44px); border-left: 1px solid rgba(255, 255, 255, .3); }
.cl-path h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 650; letter-spacing: -.018em; line-height: 1.25; }
.cl-path p { max-width: 46ch; margin-top: 10px; font-size: 16.5px; line-height: 1.55; color: #fff; text-wrap: pretty; }
.cl-path .cl-path-a { max-width: none; margin-top: 22px; gap: 10px 24px; }
.cl-btn-o { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); color: #fff; font-size: 16.5px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.cl-btn-o:hover { background: rgba(255, 255, 255, .12); }

/* ---------------- motion settings ---------------- */
.cl-step { display: none; }
html.reduce .cl-pane, html.reduce .cl-nav::before, html.reduce .cl-clock::after, html.reduce .cl-track i, html.reduce .cl-note { transition: none; }
.no-js .cl-stage { height: auto; container-type: normal; }
.no-js .cl-who { display: none; }
html.reduce .cl-faces > .cl-app { transition: none; }

/* ---------------- narrower screens ---------------- */
@media (max-width: 1100px) {
  .cy-rooms { grid-template-columns: minmax(0, 1fr); }
  .cy-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cy-tab-h { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cl-app--today { --cl-rail: 184px; }
  .cl-tbody { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .cl-next, .cl-side { padding: 22px 22px 24px; }
  .cl-next-row, .cl-later { grid-template-columns: 70px minmax(0, 1fr); }
  .cl-later svg { display: none; }
}
@media (max-width: 900px) {
  .cl-app--today { grid-template-columns: minmax(0, 1fr); }
  .cl-app--today .cl-rail { display: none; }
}
@media (max-width: 760px) {
  .cy-index { gap: 6px; }
  .cy-tab { padding: 12px; }
  .cy-tab-h b { font-size: 14.5px; }
  .cy-tab-s { display: none; }
  .cy-tag { font-size: 11.5px; padding: 1px 7px; }
  .cy-stage { height: auto; display: grid; gap: 16px; container-type: normal; }
  .cy-panel { display: flex; flex-direction: column; }
  .cy-steps { order: -2; margin: 0 0 4px; }
  .cy-cap { order: -1; margin: 0 0 14px; font-size: 15px; }
  .cy-steps button { min-height: 44px; }
  .cy-stage--phone[data-step="ask"] .cy-phone { order: -1; }
  .cy-paper { position: relative; right: auto; top: auto; width: auto; margin: -30px 12px 0; display: none; }
  .cy-stage[data-step="copy"] .cy-paper { display: block; }
  /* keeping a copy: the sheet shrinks to its band, which shows the export actions, and the printed page comes up into view */
  .cy-stage[data-step="copy"] .cy-app { min-height: 0; }
  .cy-stage[data-step="copy"] .cy-band { flex-wrap: wrap; row-gap: 8px; }
  .cy-stage[data-step="copy"] .cy-bacts { display: flex; order: 3; width: 100%; margin-left: 0; }
  .cy-phone { border-radius: 32px; }
  /* on a phone each sheet takes the height of what it shows, never cutting its last line */
  .cy-app, .cy-stage--phone .cy-app { position: relative; inset: auto; height: auto; min-height: 420px; }
  .cy-body { overflow: visible; }
  .cy-stage--phone .cy-band, .cy-stage--phone .cy-body { padding-right: 14px; }
  .cy-band { min-height: 50px; padding: 8px 14px; }
  .cy-bt { font-size: 16px; }
  .cy-bacts { display: none; }
  .cy-acct span { display: none; }
  .cy-body { padding: 12px 14px; }
  .cy-pf { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cy-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .cy-cats li { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 4px; padding: 8px; }
  .cy-cats li.is-off { display: none; }
  .cy-cats small { display: none; }
  .cy-phone { position: relative; inset: auto; width: min(260px, 100%); height: auto; margin: 0 auto; padding-bottom: 14px; -webkit-mask-image: none; mask-image: none; }
  .cy-stage--phone[data-step="post"] .cy-phone { display: none; }
  .cy-stage[data-step="results"] .cy-phone { display: none; }
  .cy-op-f { grid-template-columns: minmax(0, 1fr); }
  .cy-op-foot { flex-direction: column; align-items: stretch; }
  .cl-faq-in { grid-template-columns: minmax(0, 1fr); }
  .cl-q-item summary { min-height: 56px; padding: 14px 2px; }
  .cl-paths { grid-template-columns: minmax(0, 1fr); }
  .cl-path { padding: 24px 0 20px; }
  .cl-path + .cl-path { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
  .cl-path .cl-path-a .cl-btn-w, .cl-path .cl-path-a .cl-btn-o { flex: 1 1 100%; }
  body.cl { --cl-h1: clamp(36px, 10.4vw, 44px); --cl-pull: 72px; }
  .cl-open { padding-top: calc(var(--nav-h) + 36px); }
  .cl-under { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cl-lead { font-size: 17.5px; }
  .cl-acts { width: 100%; }
  .cl-acts .cl-btn-w { flex: 1 1 100%; }
  .cl-band--today { padding: 18px 18px 16px; }
  .cl-band--today .cl-bt { font-size: 24px; }
  .cl-band--today .cl-bt span { display: block; margin-left: 0; }
  .cl-band--today { position: relative; }
  .cl-bbtn { position: absolute; top: 14px; right: 14px; width: 40px; min-height: 40px; padding: 0; justify-content: center; }
  .cl-bbtn span { display: none; }
  .cl-band--today .cl-band-t { padding-right: 46px; }
  .cl-tbody { grid-template-columns: minmax(0, 1fr); }
  .cl-next, .cl-side { padding: 18px 18px 20px; }
  .cl-side { border-left: 0; border-top: 1px solid var(--ms-rule); }
  .cl-next-row, .cl-later { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .cl-time b { font-size: 22px; }
  .cl-who-b { flex: 1 1 0; min-width: 0; padding-right: 10px; }
  .cl-who-b b { font-size: 14px; }
  .cl-say { font-size: 15px; }
  /* the day: her clock in five narrow columns, and her app without its rail */
  .cl-clock-bar { flex-direction: column; gap: 6px; }
  /* on a phone the moment reads in order: the clock, what happens, then both screens, then the next moment */
  .cl-run { display: flex; flex-direction: column; }
  .cl-clock-bar { order: 1; }
  .cl-caps { order: 2; margin-top: 10px; }
  .cl-stage { order: 3; margin-top: 18px; }
  .cl-step { order: 4; }
  .cl-run-note { order: 5; }
  .cl-step:not([hidden]) { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 16px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--ms-tint); color: var(--cl-band); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
  .cl-step span { font-weight: 500; color: var(--ink-2); }
  .cl-step b { font-weight: 650; font-variant-numeric: tabular-nums; }
  .cl-step svg { width: 16px; height: 16px; margin-left: auto; }
  .cl-step:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
  .cl-clock { width: 100%; }
  .cl-stop { padding: 26px 2px 4px; }
  .cl-stop time { font-size: 14px; }
  .cl-stop span { font-size: 12px; line-height: 1.25; }
  .cl-app--day { grid-template-columns: minmax(0, 1fr); }
  .cl-app--day .cl-rail { display: none; }
  .cl-band { min-height: 50px; padding: 8px 14px; }
  .cl-bt { font-size: 16.5px; }
  .cl-acct { display: flex; font-size: 12px; }
  .cl-pbody { padding: 12px 14px 14px; }
  .cl-seg--q { display: none; }
  .cl-st-h { display: none; }
  .cl-st li { grid-template-columns: 28px minmax(0, 1fr) auto; row-gap: 1px; margin-top: 2px; }
  .cl-st li .ms-av { grid-row: span 2; }
  .cl-st-today { display: none; }
  .cl-st-rel { grid-column: 2; grid-row: 2; font-size: 12px; }
  .cl-st-w { grid-column: 3; grid-row: 1 / span 2; }
  .cl-dr-dl > div { grid-template-columns: 70px minmax(0, 1fr); }
  /* her record keeps only what the list does not already say */
  .cl-dr-rel, .cl-dr-dl > div:nth-child(2n + 1) { display: none; }
  .cl-dr-dl > div:nth-child(2) { border-top: 0; }
  /* the week keeps its times, since the change is one */
  .cl-wk li { grid-template-columns: 40px 76px minmax(0, 1fr); }
  .cl-wk .ms-ds-tm { display: block; font-size: 12.5px; }
  .cl-wk li > :nth-child(4) { display: none; }
  /* the short register keeps Tom, since his correction is the moment */
  .cl-pane[data-p="3"] .ms-rg-rows li:nth-child(4) { display: grid; }
  .cl-pbody.cl-so { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .cl-queue { padding: 10px 14px 12px; border-right: 0; border-bottom: 1px solid var(--ms-rule); }
  .cl-queue > :nth-child(n + 3) { display: none; }
  .cl-doc { padding: 12px 14px 14px; }
  .cl-edit { top: 40px; }
  .cl-close-h { font-size: clamp(36px, 10.4vw, 46px); }
  .cl-start { padding: 72px 0 56px; }
}
/* a short laptop: the stage and its caption sit closer, so both can be read in one screen while the day plays */
@media (min-width: 761px) and (max-height: 720px) {
  .cl-stage { margin-top: 12px; }
  .cl-caps { margin-top: 8px; }
}
/* a short wide stage: her students lose the filters, her record its repeated relationship, Priya's Today its later session */
@container ms-dstage (max-height: 500px) {
  .cl-tools { display: none; }
  .cl-st-h { margin-top: 0; }
  .cl-st li { padding: 7px 4px; }
  .cl-dr-rel { display: none; }
  .cl-q-h { margin-top: 10px; }
  .ms-sp[data-p="1"] .ms-now--next { display: none; }
}
@media (max-width: 760px) { .ms-sp[data-p="1"] .ms-now--next { display: none; } }
/* Priya's Today before theatre: her next session as a line of her day, not a card inside the phone */
.ms-sp[data-p="1"] .ms-now { padding: 4px 0 12px; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid #eef2f7; }

/* Integration: released Today captures, same approved composition. */
.cl-capture { display: block; overflow: hidden; }
.cl-capture picture, .cl-capture img { display: block; width: 100%; height: auto; }
.cl-pane[data-p="4"] .ms-so-sign, .cl-pane[data-p="4"] .ms-so-decl { opacity: .35; }
.cl-pane[data-p="4"] .ms-so-a { pointer-events: none; }
@media (max-width: 600px) { .cl-capture img { aspect-ratio: 390 / 900; object-fit: cover; object-position: top; } }

/* Current app concepts within the approved illustrated teaching-day frame. */
.cl-app--day .cl-rail .cl-me { display: none; }
.cl-formguide { display: flex; gap: 3px; margin-bottom: 4px; }
.cl-formguide i { width: 9px; height: 12px; border-radius: 2px; background: var(--p-teal, #087c76); }
.cl-formguide i:last-child { background: #dfe6ef; }
.cl-cal-tools { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 11px; }
.cl-cal-head, .cl-calendar { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 7px; }
.cl-cal-head { padding-bottom: 8px; font-size: 10px; color: var(--p-slate); }
.cl-calendar { min-height: 185px; align-content: start; }
.cl-calendar li { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 8px; min-width: 0; border-radius: 6px; font-size: 10px; background: #eef4fd; border: 1px solid #d7e2f1; }
.cl-calendar li:nth-child(1), .cl-calendar li:nth-child(2) { grid-column: 3; }
.cl-calendar li:nth-child(3), .cl-calendar li:nth-child(4) { grid-column: 4; }
.cl-calendar li:nth-child(5) { grid-column: 5; }
.cl-calendar li:nth-child(1), .cl-calendar li:nth-child(3), .cl-calendar li:nth-child(5) { grid-row: 1; }
.cl-calendar li:nth-child(2), .cl-calendar li:nth-child(4) { grid-row: 2; }
.cl-calendar .ms-ds-d { display: none; }
.cl-calendar .ms-ds-n b { font-size: 11px; }
.cl-calendar .ms-ds-n small { font-size: 9px; }
.cl-calendar .ms-mand { font-size: 9px; white-space: normal; }
.cl-edit-sections { margin: 3px 0 8px; font-size: 10px; color: var(--p-slate); }
@media (max-width: 760px) {
  .cy-tab-h { min-width: 0; max-width: 100%; }
  .cy-tag { max-width: 100%; white-space: normal; }
  .cl-path .cl-btn-o { min-width: 0; max-width: 100%; white-space: normal; text-align: center; padding-block: 12px; }
}
