/* Product pages (W3, 2026-11-14): diagnostic, plan, misses, node, test day, features.
   Loaded after site.css on every page. Everything here is scoped to these pages' own classes, so nothing on the
   home page changes. Two halves on every page: ink drawings (svg.ink-scene, from tools/drawings.py) and product
   screens (.shot.shot--xl with the ui- parts below). */

/* ---------------------------------------------------------------- ink drawings beside the screens */
div.ink { min-width: 0; }
div.ink > svg { display: block; width: 100%; height: auto; overflow: visible; }
svg.tl-scene.ink-scene { font-family: var(--body); }
svg.tl-scene.ink-scene :is(rect, circle, path) { stroke: var(--text); stroke-width: 2.4; }
svg.tl-scene.ink-scene .f-p { fill: #0E1513; }
svg.tl-scene.ink-scene .f-dk { fill: #1C2925; }
svg.tl-scene.ink-scene .f-am { fill: var(--amber); }
svg.tl-scene.ink-scene .f-rose { fill: rgba(242, 123, 114, .78); }
svg.tl-scene.ink-scene .f-sky { fill: var(--sky); }
svg.tl-scene.ink-scene .no-s { stroke: none !important; }
svg.tl-scene.ink-scene .s-g { stroke: var(--g) !important; }
svg.tl-scene.ink-scene .s-am { stroke: var(--amber) !important; }
svg.tl-scene.ink-scene .s-mu { stroke: #5F6E68 !important; }
svg.tl-scene.ink-scene .s-dim { stroke: var(--g-4) !important; }
svg.tl-scene.ink-scene .thick { stroke-width: 4 !important; }
svg.tl-scene.ink-scene .dash { stroke-dasharray: 6 7; }
svg.tl-scene.ink-scene .k-draw.dash { stroke-dasharray: 1; }
svg.tl-scene.ink-scene .arc-sky { stroke: var(--sky); }
svg.tl-scene.ink-scene .f-k { fill: none; stroke: var(--ink) !important; stroke-width: 2.6; }
svg.tl-scene.ink-scene text { stroke: none; }
svg.tl-scene.ink-scene .d-tag { font: 700 17px var(--head); letter-spacing: 1.5px; text-transform: uppercase; fill: var(--g); }
svg.tl-scene.ink-scene .d-h { font: 800 36px var(--head); text-transform: uppercase; fill: var(--g); letter-spacing: -.01em; }
svg.tl-scene.ink-scene .d-m { font: 700 21px var(--head); fill: var(--text); }
svg.tl-scene.ink-scene .d-s { font: 500 18.5px var(--body); fill: var(--text); }
svg.tl-scene.ink-scene .d-xs { font: 500 17px var(--body); fill: var(--text-2); }
svg.tl-scene.ink-scene .d-mono { font: 600 16px var(--mono); fill: var(--muted); }
svg.tl-scene.ink-scene .d-hand { font: 700 22px var(--head); fill: var(--text); }
svg.tl-scene.ink-scene .d-hand-g { font: 700 22px var(--head); fill: var(--g); }
svg.tl-scene.ink-scene .d-hand-am { font: 700 22px var(--head); fill: var(--amber); }
svg.tl-scene.ink-scene .d-chip, svg.tl-scene.ink-scene .d-chip-dk { font: 700 18px var(--head); letter-spacing: .02em; }
svg.tl-scene.ink-scene .d-chip { fill: var(--text); }
svg.tl-scene.ink-scene .d-chip-dk, svg.tl-scene.ink-scene .d-dk { fill: var(--ink) !important; }
svg.tl-scene.ink-scene .d-g { fill: var(--g); }
svg.tl-scene.ink-scene .d-rose { fill: var(--rose); }
.ink__cap { font: 600 12.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------------------------------------------------------------- the story row: copy and drawing on one side, the screen on the other */
.feat.story { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 52px; align-items: center; margin-bottom: 120px; }
.feat.story.story--flip .story__side { order: 2; }
.story__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: center; min-width: 0; }
.story__side .feat__copy { gap: 12px; }
.story__side .feat__copy > p { font-size: 16.5px; }
.story .h-feat { font-size: clamp(25px, 2.4vw, 34px); }
.story .shot--xl .shot__body { padding: 22px; gap: 14px; }
.story .callouts li { font-size: 13px; }
.story .eyebrow .num { min-width: 34px; }
.hold.is-pinned .story .ink { opacity: clamp(.2, calc(var(--p) * 4), 1); }

/* the step strip under the page head */
.stepnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.stepnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); text-decoration: none; color: var(--text-2); font-size: 14px; }
.stepnav a b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-wash); color: var(--g); font: 700 12.5px var(--head); }
.stepnav a:hover { border-color: var(--g); color: var(--text); }
.exstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: var(--r-el); color: var(--text-2); font-size: 14.5px; }
.exstrip b { font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g); }

/* ---------------------------------------------------------------- product screen parts */
.scr .shot__bar { gap: 7px; }
.scr .shot__bar span { flex: 1 1 auto; }
.scr__meta { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; }
.shot--xl.scr .shot__bar .scr__meta { font-size: 12px; color: var(--muted); flex: none; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ui-h { font: 700 19px var(--head); letter-spacing: .01em; color: var(--text); }
.ui-sub { font-size: 13px; color: var(--muted); }
.ui-lbl { font: 600 11.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ui-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font: 600 12px var(--mono); white-space: nowrap; border: 1px solid var(--line-2); color: var(--text-2); background: var(--bg-2); }
.ui-pill--g { color: var(--g); border-color: var(--line-g); background: var(--g-wash); }
.ui-pill--am { color: var(--amber); border-color: rgba(242, 184, 75, .4); background: rgba(242, 184, 75, .1); }
.ui-pill--sky { color: var(--sky); border-color: rgba(124, 199, 242, .4); background: rgba(124, 199, 242, .1); }
.ui-pill--rose { color: var(--rose); border-color: rgba(242, 123, 114, .4); background: rgba(242, 123, 114, .1); }
.ui-pill--solid { background: var(--g); color: var(--ink); border-color: var(--g); }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 16px; border-radius: var(--r-pill); font: 600 13.5px var(--head); letter-spacing: .04em; text-transform: uppercase; background: var(--g); color: var(--ink); white-space: nowrap; }
.ui-btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.ui-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-tools span { font: 500 12px var(--mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 9px; background: var(--bg-2); }
.ui-tools .is-on { border-color: var(--g); color: var(--g); }
.ui-tools .sp { margin-left: auto; }
.ui-foot { display: flex; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.ui-foot span { font: 500 12px var(--mono); color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 12px; }
.ui-foot .first { margin-right: auto; }

.ui-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.ui-tbl th, .ui-tbl td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ui-tbl thead th { font: 600 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-2); }
.ui-tbl tbody th { font-weight: 600; color: var(--text); white-space: nowrap; }
.ui-tbl td { color: var(--text-2); }
.ui-tbl tr:last-child th, .ui-tbl tr:last-child td { border-bottom: 0; }
.ui-tbl .num { font: 600 13px var(--mono); color: var(--text); white-space: nowrap; text-align: right; }
.ui-tbl .hi { color: var(--g); } .ui-tbl .lo { color: var(--amber); }
.ui-tbl .is-now th, .ui-tbl .is-now td { background: var(--g-wash); }

.ui-list { display: grid; gap: 7px; }
.ui-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 9px 12px; font-size: 14px; color: var(--text-2); }
.ui-list li > .ic { color: var(--g); }
.ui-list li div { display: grid; min-width: 0; }
.ui-list b { color: var(--text); font-weight: 600; font-size: 14px; }
.ui-list small { font-size: 12.5px; color: var(--muted); }
.ui-list em { font: 500 12px var(--mono); font-style: normal; color: var(--text-2); white-space: nowrap; }
.ui-list .is-hot { border-color: var(--line-g); background: var(--g-wash); }
.ui-list .is-warn { border-color: rgba(242, 184, 75, .38); }
.ui-list .is-dim { opacity: .62; }
.ui-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--g); justify-self: center; }
.ui-dot--s { background: var(--g-wash-2); border: 1.5px solid var(--g-3); } .ui-dot--am { background: var(--amber); } .ui-dot--sky { background: var(--sky); } .ui-dot--mu { background: var(--panel-3); } .ui-dot--rose { background: var(--rose); }

.ui-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ui-kv > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 9px 11px; display: grid; gap: 1px; min-width: 0; }
.ui-kv span { font-size: 12px; color: var(--muted); }
.ui-kv b { font: 700 22px var(--head); color: var(--text); letter-spacing: -.01em; }
.ui-kv small { font: 500 11.5px var(--mono); color: var(--text-2); }
.ui-kv .is-lo { border-color: rgba(242, 184, 75, .4); } .ui-kv .is-lo b { color: var(--amber); }
.ui-kv .is-hi b { color: var(--g); }

/* a question as the student sees it */
.ui-q { display: grid; gap: 10px; }
.ui-q__note { font: 500 12.5px var(--body); font-style: italic; color: var(--muted); }
.ui-q__stem { font-size: 15px; color: var(--text); line-height: 1.55; }
.ui-ch { display: grid; gap: 6px; }
.ui-ch li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r-el); font-size: 14.5px; color: var(--text-2); }
.ui-ch li > b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); font: 700 12px var(--head); color: var(--text-2); }
.ui-ch .is-sel { border-color: var(--g); color: var(--text); } .ui-ch .is-sel > b { background: var(--g); border-color: var(--g); color: var(--ink); }
.ui-ch .is-struck span { text-decoration: line-through; text-decoration-color: var(--text-2); color: var(--muted); }
.ui-ch .is-key { border-color: var(--line-g); background: var(--g-wash); color: var(--text); } .ui-ch .is-key > b { background: var(--g); border-color: var(--g); color: var(--ink); }
.ui-ch .is-wrong { border-color: rgba(242, 123, 114, .5); background: rgba(242, 123, 114, .07); } .ui-ch .is-wrong > b { border-color: var(--rose); color: var(--rose); }
.ui-ch .tag { justify-self: end; }
.ui-ch li.has-tag { grid-template-columns: 26px minmax(0, 1fr) auto; }

/* passage text inside a screen */
.ui-passage { font-family: Georgia, "Times New Roman", serif; font-size: 14.5px; line-height: 1.65; color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 12px 14px; display: grid; gap: 8px; }
.ui-passage p { margin: 0; }
.ui-passage mark { background: var(--g-wash-2); color: var(--text); border-bottom: 2px solid var(--g); padding: 1px 0; }
.ui-passage mark.m2 { background: rgba(124, 199, 242, .14); border-bottom-color: var(--sky); }
.ui-passage mark.you { background: rgba(242, 184, 75, .16); border-bottom-color: var(--amber); }
.ui-passage sup { font: 700 10.5px var(--mono); color: var(--ink); background: var(--g); border-radius: 4px; padding: 0 4px; margin-left: 2px; }
.ui-passage .pn { font: 600 11px var(--mono); color: var(--muted); margin-right: 6px; }

/* bars with counts */
.ui-bars { display: grid; gap: 8px; }
.ui-bars li { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 70px; gap: 12px; align-items: center; font-size: 14px; color: var(--text-2); }
.ui-bars i { display: block; height: 11px; border-radius: 6px; background: var(--panel-3); position: relative; overflow: hidden; }
.ui-bars i b { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--g-3); border-radius: 6px; }
.ui-bars .is-top span { color: var(--text); font-weight: 600; } .ui-bars .is-top i b { background: var(--g); }
.ui-bars em { font: 600 12.5px var(--mono); font-style: normal; color: var(--text); text-align: right; white-space: nowrap; }

/* the gap map with evidence */
.ui-gmap { display: grid; gap: 9px; }
.ui-gmap > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; }
.ui-gmap > div > b { font: 600 13px var(--body); color: var(--text-2); }
.ui-gmap > div > span { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.ui-gmap .c { display: grid; justify-items: center; align-content: center; gap: 3px; height: 40px; border-radius: 7px; font: 600 11.5px var(--mono); min-width: 0; }
.ui-gmap .c::after { content: ""; height: 4px; width: calc(var(--n, 0) * 7px - 3px); background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 0 0 / 7px 4px repeat-x; opacity: .9; }
.ui-gmap .c--s { background: rgba(46, 230, 166, .14); color: var(--g); border: 1px solid rgba(46, 230, 166, .3); }
.ui-gmap .c--b { background: #1C2925; color: var(--text-2); border: 1px solid rgba(242, 247, 245, .16); }
.ui-gmap .c--g { background: var(--amber); color: #2A1C02; border: 1px solid var(--amber); }
.ui-gmap .c--one { background: transparent; }
.ui-gmap .c--g.c--one { color: var(--amber); }
.ui-gmap .c--none { background: transparent; color: var(--muted); border: 1.5px dashed rgba(242, 247, 245, .22); }
.ui-gmap .cars span { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ui-gmap .cars .c { font-family: var(--body); font-size: 12px; text-align: center; padding: 0 4px; line-height: 1.15; height: 46px; }
.ui-gkey { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.ui-gkey span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.ui-gkey i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.ui-gkey .k-s { background: rgba(46, 230, 166, .3); } .ui-gkey .k-b { background: #2A3A35; } .ui-gkey .k-g { background: var(--amber); }
.ui-gkey .k-one { border: 1.5px solid var(--g); } .ui-gkey .k-none { border: 1.5px dashed var(--muted); }

/* the estimate */
.ui-est { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; }
.ui-est__n { font: 800 64px/0.9 var(--head); color: var(--g); letter-spacing: -.03em; }
.ui-est__r { font: 600 14px var(--mono); color: var(--text); margin-top: 6px; }
.ui-est .rangebar__ticks { font-size: 11.5px; }
.ui-sec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ui-sec > div { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-el); padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.ui-sec span { font-size: 12.5px; color: var(--muted); }
.ui-sec b { font: 700 24px var(--head); color: var(--text); }
.ui-sec small { font: 500 12px var(--mono); color: var(--text-2); }
.ui-sec .mini { position: relative; height: 6px; border-radius: 3px; background: var(--panel-3); margin-top: 6px; }
.ui-sec .mini::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--l); right: var(--r); border-radius: 3px; background: var(--g-3); }
.ui-sec .is-lo { border-color: rgba(242, 184, 75, .4); } .ui-sec .is-lo .mini::before { background: var(--amber); }

/* a week, day by day */
.ui-days { display: grid; gap: 6px; }
.ui-days li { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r-el); background: var(--bg-2); font-size: 13.5px; color: var(--text-2); }
.ui-days li > b { font: 700 13px var(--mono); color: var(--text); }
.ui-days li > em { font: 600 12.5px var(--mono); font-style: normal; color: var(--g); white-space: nowrap; }
.ui-days li > span { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.ui-days li > span i { font-style: normal; font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; }
.ui-days li > span i.g { border-color: var(--line-g); color: var(--text); }
.ui-days li > span i.am { border-color: rgba(242, 184, 75, .45); color: var(--text); }
.ui-days li > span i.sky { border-color: rgba(124, 199, 242, .45); color: var(--text); }
.ui-days li > span i.mv { border-color: var(--g); background: var(--g-wash); color: var(--g); }
.ui-days .is-miss { border-color: rgba(242, 123, 114, .45); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(242, 123, 114, .06) 6px 12px); }
.ui-days .is-miss > em { color: var(--rose); }
.ui-days .is-exam { border-color: rgba(124, 199, 242, .45); }
.ui-days .is-exam > em { color: var(--sky); }
.ui-days .is-today { border-color: var(--g); box-shadow: inset 3px 0 0 var(--g); }

/* a choice of causes, the guess preselected */
.ui-causes { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-causes span { font-size: 12.5px; padding: 5px 11px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.ui-causes .is-on { background: var(--g); border-color: var(--g); color: var(--ink); font-weight: 600; }
.ui-box { display: grid; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-el); background: var(--bg-2); }
.ui-box--g { border-color: var(--line-g); background: rgba(46, 230, 166, .05); }

/* chat inside a screen */
.ui-chat { display: grid; gap: 8px; }
.ui-chat p { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.ui-chat .n i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 12.5px var(--head); font-style: normal; }
.ui-chat .n span { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: 7px 11px; color: var(--text); }
.ui-chat .y { justify-content: flex-end; }
.ui-chat .y span { background: var(--g-wash-2); border: 1px solid var(--line-g); border-radius: 12px 4px 12px 12px; padding: 7px 11px; color: var(--text); }
.ui-chat sup { font: 600 10.5px var(--mono); color: var(--g); margin-left: 4px; }
.ui-rail { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-rail li { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border-radius: var(--r-pill); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.ui-rail li i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-3); font: 700 11px var(--head); font-style: normal; color: var(--text-2); }
.ui-rail .is-done { color: var(--text-2); } .ui-rail .is-done i { background: var(--g-3); color: var(--ink); }
.ui-rail .is-on { border-color: var(--g); color: var(--text); } .ui-rail .is-on i { background: var(--g); color: var(--ink); }

/* two columns inside one screen */
.ui-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.ui-2--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

/* a phone frame for the mobile screen */
.phone { width: 260px; max-width: 100%; margin: 0 auto; border: 2px solid rgba(242, 247, 245, .3); border-radius: 34px; padding: 12px; background: #0B110F; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); }
.phone__in { border-radius: 24px; background: #0E1513; border: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 10px; min-height: 420px; align-content: start; }
.phone__notch { width: 70px; height: 6px; border-radius: 3px; background: var(--panel-3); margin: 0 auto 6px; }

/* ---------------------------------------------------------------- page sections */
.pg-sec-head { max-width: 860px; }
.notlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 56px; }
.notlist .card { padding: 22px; }
.notlist .card h3 { font-size: 19px; margin: 4px 0 6px; }
.notlist .card p { font-size: 14.5px; }
.pair2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.pair2 > div { display: grid; gap: 14px; min-width: 0; }
.pair2 .h-card { margin: 0; }
.pair2 p.muted { font-size: 15px; }
.causegrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.causegrid .card { padding: 20px; gap: 8px; }
.causegrid .card h3 { font-size: 18px; margin: 0; }
.causegrid .card p { font-size: 14px; }
.causegrid .card .ui-pill { justify-self: start; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { display: grid; gap: 14px; align-content: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); min-width: 0; }
.tile h3 { font: 700 21px var(--head); margin: 0; }
.tile > p { color: var(--text-2); font-size: 15px; }
.tile .shot { box-shadow: none; }
.tile .shot__body { padding: 14px; gap: 10px; }
.tile .honest { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.tile .honest b { color: var(--text-2); font-weight: 600; }
.linkrow { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; }
.td-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.td-screens .shot__body { padding: 16px; gap: 10px; }
.td-screens .shot { box-shadow: none; }
.td-screens h3 { font: 700 18px var(--head); margin: 0; }
.td-screens p { font-size: 14px; color: var(--text-2); }
.ptable { overflow-x: auto; }
.ptable__grid { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 3px; min-width: 470px; }
.ptable__grid i { display: grid; place-items: center; height: 26px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); font: 600 11px var(--mono); font-style: normal; color: var(--text-2); }
.ptable__grid i.gap { visibility: hidden; }
.ptable__grid i.nm { background: rgba(124, 199, 242, .1); }
.ptable__grid i.ng { background: rgba(46, 230, 166, .1); }
.modal { border: 1px solid var(--line-2); border-radius: var(--r-el); background: #0B110F; padding: 12px; display: grid; gap: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .feat.story { gap: 36px; }
  .causegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .feat.story, .feat.story.story--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat.story.story--flip .story__side { order: 0; }
  .story__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; }
  .notlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .td-screens { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}
@media (max-width: 860px) {
  .story__side { grid-template-columns: minmax(0, 1fr); }
  .story__side .ink { max-width: 620px; }
  .pair2 { grid-template-columns: minmax(0, 1fr); }
  .causegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .feat.story { margin-bottom: 84px; }
  .ui-kv, .ui-sec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-2, .ui-2--wide { grid-template-columns: minmax(0, 1fr); }
  .ui-est { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ui-gmap > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ui-gmap > div > span { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ui-bars li { grid-template-columns: minmax(0, 1fr) 64px; }
  .ui-bars li i { grid-column: 1 / -1; grid-row: 2; }
  .ui-days li { grid-template-columns: 40px minmax(0, 1fr); }
  .ui-days li > span { grid-column: 1 / -1; }
  .ui-tbl { font-size: 13px; }
  .ui-tbl th, .ui-tbl td { padding: 7px 5px; }
  .notlist, .tiles, .causegrid { grid-template-columns: minmax(0, 1fr); }
  .story .shot--xl .shot__body { padding: 16px; }
  .scr .shot__bar { flex-wrap: wrap; }
  .scr__meta { margin-left: 25px; }
}
@media (max-width: 400px) {
  .story .callouts { grid-template-columns: minmax(0, 1fr); }
}

/* PGX START */
/* ================================================================ plan, misses, Node and essentials, in depth (2026-11-14)
   Every section is half drawing (behind the screen) and half product screen (on your screen), in the home page's app shell.
   Scoped to .pgx, which wraps the sections of those four pages. */
.pgx .feat.story { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 44px; align-items: center; margin-bottom: 0; }
.pgx .hold { margin-bottom: 120px; }
html:not(.anim) .pgx .feat.story { margin-bottom: 120px; }
.pgx .feat.story.story--flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.pgx .feat.story.story--wide { grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: start; }
.pgx .story--wide .story__side { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 44px; align-items: center; }
.pgx .story--wide .story__side .ink { max-width: 560px; justify-self: center; width: 100%; }
.pgx .story--wide.story--flip .story__side { order: 0; }
.pgx .draw { display: grid; gap: 8px; min-width: 0; align-content: start; }
.pgx .lab { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pgx .shotwrap > .lab { margin: 0 0 -4px; }
.pgx .story h2.h-feat, .pgx .story h3.h-feat { font-size: clamp(25px, 2.4vw, 34px); }
.pgx .shot__cap { text-align: center; }
.pgx .story .shot--app { box-shadow: none; background: none; border: 0; }
.pgx .story .callouts { margin-top: 18px; }

/* beside a drawing the shell's rail shows as icons */
.pgx :is(.story:not(.story--wide), .pair2--app) .app { font-size: 13.5px; }
.pgx :is(.story:not(.story--wide), .pair2--app) .app__main { padding: 14px 16px 16px; gap: 10px; }
.pgx :is(.story:not(.story--wide), .pair2--app) .app__head h4 { font-size: 19px; }
.pgx :is(.story:not(.story--wide), .pair2--app) .apc { padding: 11px 13px; }
.pgx :is(.story:not(.story--wide), .pair2--app) .apc__h { margin-bottom: 7px; }
@media (min-width: 701px) {
  .pgx :is(.story:not(.story--wide), .pair2--app) .app { grid-template-columns: 56px minmax(0, 1fr); }
  .pgx :is(.story:not(.story--wide), .pair2--app) .app__rail { padding: 10px 6px; }
  .pgx :is(.story:not(.story--wide), .pair2--app) .app__rail span { justify-content: center; padding: 8px 0; }
  .pgx :is(.story:not(.story--wide), .pair2--app) .app__rail span b, .pgx :is(.story:not(.story--wide), .pair2--app) .app__goal, .pgx :is(.story:not(.story--wide), .pair2--app) .app__wk { display: none; }
  .pgx :is(.story:not(.story--wide), .pair2--app) .app__brand { width: auto; }
}
.pgx .pair2--app { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.pgx .pair2--app > figure { min-width: 0; }
.pgx .pair2--app .ui-days li { grid-template-columns: 40px 46px minmax(0, 1fr); }
.pgx :is(sub, sup):not(.ic) { font-size: 11.5px; line-height: 0; }
.pgx .app .ui-list li { padding: 7px 10px; }
.pgx .app .ui-list b { font-size: 13.5px; }

/* drawing arcs keep their own colours (the shared rule paints every path in the text colour) */
svg.tl-scene.ink-scene .arc-a { stroke: var(--g); }
svg.tl-scene.ink-scene .arc-s { stroke: rgba(46, 230, 166, .55); }
svg.tl-scene.ink-scene .arc-w { stroke: #CFF7E8; }
svg.tl-scene.ink-scene .arc-sp { stroke: var(--g-4); }
svg.tl-scene.ink-scene .arc-am { stroke: var(--amber); }
svg.tl-scene.ink-scene .arc-rose { stroke: var(--rose); }

/* ---- plan: a Leap check */
.pgx .lp__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 22px; align-items: center; }
.pgx .lp__n { font: 800 52px/1 var(--head); color: var(--g); letter-spacing: -.02em; }
.pgx .lp__n small { font: 600 18px var(--body); color: var(--text-2); letter-spacing: 0; }
.pgx .lp__n--am { color: var(--amber); font-size: 40px; margin-bottom: 4px; }
.pgx .lp__sub { font-size: 13px; color: var(--muted); }
.pgx .lp__rail { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin-top: 12px; }
.pgx .lp__rail li { display: grid; place-items: center; height: 30px; border-radius: 8px; font: 700 12px var(--mono); }
.pgx .lp__rail .ok { background: rgba(46, 230, 166, .18); color: var(--g); border: 1px solid rgba(46, 230, 166, .4); }
.pgx .lp__rail .no { background: rgba(242, 184, 75, .12); color: var(--amber); border: 1px solid rgba(242, 184, 75, .5); }
.pgx .lp__rail i { font-style: normal; }
.pgx .lp__two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.pgx .lp__fail { border-color: rgba(242, 184, 75, .38); }

/* ---- plan: tune your path */
.pgx .tn__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.pgx .tn__kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; font-size: 13.5px; align-items: baseline; }
.pgx .tn__kv dt { color: var(--text-2); }
.pgx .tn__kv dd { margin: 0; text-align: right; display: grid; justify-items: end; }
.pgx .tn__kv dd b { font: 800 22px/1.1 var(--head); color: var(--text); }
.pgx .tn__kv dd small { font: 500 11.5px var(--mono); color: var(--muted); }
.pgx .tn__was span { text-decoration: none; }
.pgx .tn__was .a-strike::after { background: var(--amber); }
.pgx .tn__slider { position: relative; height: 8px; border-radius: 4px; background: #1C2925; margin: 16px 6px 22px; }
.pgx .tn__slider i { position: absolute; inset: 0 auto 0 0; width: 66.7%; border-radius: 4px; background: var(--g-3); }
.pgx .tn__slider b { position: absolute; top: -5px; left: 66.7%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(46, 230, 166, .2); }
.pgx .tn__slider p { position: absolute; left: 0; right: 0; top: 14px; display: flex; justify-content: space-between; font: 500 11px var(--mono); color: var(--faint); }
.pgx .tn__hrs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 110px; }
.pgx .tn__hrs li { display: grid; grid-template-rows: 1fr auto auto; justify-items: center; align-items: end; height: 100%; gap: 3px; }
.pgx .tn__hrs i { display: block; width: 70%; max-width: 30px; height: calc(var(--h) * 9px); border-radius: 6px; background: var(--g-3); }
.pgx .tn__hrs li:nth-child(6) i { background: var(--sky); }
.pgx .tn__hrs b { font: 600 11.5px var(--mono); color: var(--text-2); }
.pgx .tn__hrs em { font: 700 12px var(--mono); font-style: normal; color: var(--text); }
.pgx .tn__seg { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 7px; }
.pgx .tn__seg span { font-size: 12.5px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); }
.pgx .tn__seg .on { background: var(--g); border-color: var(--g); color: var(--ink); font-weight: 600; }
.pgx .tn__sub { margin-top: 6px; }
.pgx .tn__tog { display: grid; gap: 9px; }
.pgx .tn__tog li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.pgx .tn__tog i { flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #22312C; }
.pgx .tn__tog i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-2); }
.pgx .tn__tog i.on { background: var(--g); }
.pgx .tn__tog i.on::after { left: 19px; background: var(--ink); }
.pgx .tn__res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pgx .tn__res li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(46, 230, 166, .07); border: 1px solid var(--line-g); min-width: 0; }
.pgx .tn__res b { font: 800 22px/1.1 var(--head); color: var(--g); white-space: nowrap; }
.pgx .tn__res span { font-size: 11.5px; color: var(--text-2); line-height: 1.35; }

/* ---- plan: stamina */
.pgx .sm__scroll { overflow-x: auto; }
.pgx .sm__svg { display: block; width: 100%; min-width: 540px; height: auto; }
.pgx .sm__svg .b { fill: rgba(242, 247, 245, .035); }
.pgx .sm__svg .g { fill: none; stroke: rgba(242, 247, 245, .12); stroke-width: 1; }
.pgx .sm__svg .av { fill: none; stroke: rgba(242, 247, 245, .5); stroke-width: 1.4; stroke-dasharray: 5 5; }
.pgx .sm__svg .ln { fill: none; stroke: var(--g); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.pgx .sm__svg .pt { fill: #0B1210; stroke: var(--g); stroke-width: 2; }
.pgx .sm__svg .pt.lo { stroke: var(--amber); stroke-width: 2.6; }
.pgx .sm__svg text { font: 500 11.5px var(--mono); fill: var(--muted); }
.pgx .sm__svg .s { font: 600 11.5px var(--body); fill: var(--text-2); }
.pgx .sm__svg .v { font: 600 11.5px var(--mono); fill: var(--text-2); }
.pgx .sm__svg .v.lo { fill: var(--amber); font-weight: 700; font-size: 13px; }
.pgx .sm__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.pgx .sm__sec { display: grid; gap: 4px; }
.pgx .sm__sec li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pgx .sm__sec li:last-child { border-bottom: 0; }
.pgx .sm__sec b { font-weight: 600; }
.pgx .sm__sec span { font: 600 12.5px var(--mono); color: var(--text-2); }
.pgx .sm__sec em { font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); }
.pgx .sm__sec .is-lo span { color: var(--amber); }
.pgx .sm__pace { margin-top: 8px; font-size: 12.5px; color: var(--muted); }


/* ---- misses: the fingerprint, where each miss came from, a new question */
.pgx .fx__sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pgx .fx__sum li { display: grid; gap: 1px; padding: 9px 11px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.pgx .fx__sum b { font: 800 22px/1.1 var(--head); color: var(--text); white-space: nowrap; }
.pgx .fx__sum span { font-size: 12px; color: var(--muted); }
.pgx .fx__tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.pgx .fx__tbl th, .pgx .fx__tbl td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--line); font-family: var(--mono); font-weight: 600; color: var(--text-2); }
.pgx .fx__tbl thead th { font: 600 11.5px var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--faint); }
.pgx .fx__tbl th:first-child { text-align: left; font: 600 13px var(--body); color: var(--text); }
.pgx .fx__tbl td.na { font: 500 11px var(--mono); color: var(--faint); }
.pgx .fx__tbl .tot > * { border-bottom: 0; border-top: 1px solid var(--line-2); color: var(--g); }
.pgx .fx__tbl .tot th { color: var(--text); }
.pgx .sr__src { display: flex; flex-wrap: wrap; gap: 5px; }
.pgx .sr__src li { font-size: 12.5px; padding: 4px 11px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pgx .sr__src .on { background: var(--g); border-color: var(--g); color: var(--ink); font-weight: 600; }
.pgx .sr__tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.pgx .sr__tbl th, .pgx .sr__tbl td { text-align: left; padding: 7px 6px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.pgx .sr__tbl thead th { font: 600 11.5px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--faint); padding-top: 0; }
.pgx .sr__tbl tbody th { font-weight: 600; color: var(--text); }
.pgx .sr__tbl small { display: block; font: 400 11.5px var(--body); color: var(--muted); }
.pgx .sr__tbl tr:last-child > * { border-bottom: 0; }
.pgx .sr__tbl .is-sel > * { background: rgba(46, 230, 166, .07); }
.pgx .sr__tbl .cz { white-space: nowrap; }
.pgx .cz--g { background: rgba(242, 184, 75, .14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(242, 184, 75, .5); }
.pgx .sr__open { display: grid; gap: 9px; align-content: start; }
.pgx .sr__open .apc__h { margin-bottom: 0; }
.pgx .sr__q { font: 500 14px/1.45 Georgia, "Times New Roman", serif; color: var(--text); }
.pgx .sr__ch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; font-size: 12.5px; }
.pgx .sr__ch span { padding: 5px 9px; border-radius: 8px; background: #18221F; color: var(--text-2); }
.pgx .sr__ch .pick { box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--text); }
.pgx .sr__ch .key { box-shadow: inset 0 0 0 1.5px var(--g); color: var(--text); }
.pgx .nq__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.pgx .nq__txt { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.pgx .nq__res { border-color: var(--line-g); background: rgba(46, 230, 166, .05); }
.pgx .nq__res .apc__h { margin-bottom: 6px; }


/* ---- node: a custom session, explain with line references */
.pgx .cs__modes { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 99px; background: #111A17; border: 1px solid var(--line); justify-self: start; }
.pgx .cs__modes span { font: 500 12.5px var(--body); color: var(--muted); padding: 5px 12px; border-radius: 99px; }
.pgx .cs__modes .on { background: var(--g); color: var(--ink); font-weight: 700; }
.pgx .cs__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; align-items: start; }
.pgx .cs__ag { display: grid; gap: 6px; }
.pgx .cs__ag li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 9px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; }
.pgx .cs__ag i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #1C2925; font: 700 11px var(--head); font-style: normal; color: var(--text-2); }
.pgx .cs__ag div { display: grid; min-width: 0; }
.pgx .cs__ag b { font-weight: 600; color: var(--text); }
.pgx .cs__ag small { font-size: 12px; color: var(--muted); }
.pgx .cs__ag em { font: 500 11.5px var(--mono); font-style: normal; color: var(--text-2); white-space: nowrap; }
.pgx .cs__ag .is-done { color: var(--text-2); } .pgx .cs__ag .is-done i { background: var(--g-3); color: var(--ink); }
.pgx .cs__ag .is-on { border-color: var(--g); background: rgba(46, 230, 166, .08); } .pgx .cs__ag .is-on i { background: var(--g); color: var(--ink); }
.pgx .cs__clock { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 10px; font: 500 11.5px var(--mono); color: var(--muted); }
.pgx .cs__clock i { position: relative; height: 6px; border-radius: 3px; background: #1C2925; overflow: hidden; }
.pgx .cs__clock b { position: absolute; inset: 0 auto 0 0; width: 52%; background: var(--g); border-radius: 3px; }
.pgx .cs__clock em { font-style: normal; color: var(--text); }
.pgx .cs__ref { display: inline-block; margin: 4px 4px 0 0; font: 600 11.5px var(--mono); font-style: normal; color: var(--g); padding: 1px 7px; border-radius: 6px; background: rgba(46, 230, 166, .1); border: 1px solid var(--line-g); }
.pgx .cs__ref--o { color: var(--amber); background: rgba(242, 184, 75, .1); border-color: rgba(242, 184, 75, .4); }
.pgx .cs__chat p, .pgx .xp__chat p { display: block; }
.pgx .xp__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pgx .xp__pass { display: grid; gap: 7px; align-content: start; padding: 12px 14px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.pgx .xp__pass .apc__h { margin-bottom: 0; }
.pgx .xp__l { font: 400 13.5px/1.5 Georgia, "Times New Roman", serif; color: var(--text-2); padding: 3px 6px 3px 8px; border-radius: 6px; }
.pgx .xp__l sup { font: 700 11.5px var(--mono); color: var(--faint); margin-right: 6px; vertical-align: 3px; }
.pgx .xp__l.is-hl { background: rgba(46, 230, 166, .16); box-shadow: inset 2px 0 0 var(--g); color: var(--text); }
.pgx .xp__l.is-hl2 { background: rgba(242, 184, 75, .14); box-shadow: inset 2px 0 0 var(--amber); color: var(--text); }
.pgx .xp__q { font: 600 13.5px/1.45 var(--body); color: var(--text); padding-top: 7px; border-top: 1px solid var(--line); margin-top: 2px; }
.pgx .xp__ch { display: grid; gap: 5px; font-size: 13px; }
.pgx .xp__ch li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 9px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); }
.pgx .xp__ch b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 11px var(--mono); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.pgx .xp__ch em { font: 600 11.5px var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; }
.pgx .xp__ch .is-x span { text-decoration: line-through; color: var(--faint); }
.pgx .xp__ch .is-wrong { box-shadow: inset 0 0 0 1.5px var(--rose); color: var(--text); } .pgx .xp__ch .is-wrong em { color: var(--rose); }
.pgx .xp__ch .is-key { box-shadow: inset 0 0 0 1.5px var(--g); background: rgba(46, 230, 166, .08); color: var(--text); } .pgx .xp__ch .is-key b { background: var(--g); color: var(--ink); box-shadow: none; } .pgx .xp__ch .is-key em { color: var(--g); }
.pgx .xp__chat { display: grid; gap: 8px; align-content: start; }
.pgx .xp__chat li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.pgx .xp__chat i { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--g); color: var(--ink); font: 700 11.5px var(--head); font-style: normal; }
.pgx .xp__chat p { padding: 8px 11px; border-radius: 4px 12px 12px 12px; background: #16201D; border: 1px solid var(--line); color: var(--text); }
.pgx .xp__cat { display: flex; gap: 8px; align-items: center; font: 500 12px var(--mono); color: var(--muted); }
.pgx .xp__cat .ic { color: var(--g); flex: none; }
.pgx .nq .ui-tbl thead th { text-transform: none; letter-spacing: 0; }
@media (min-width: 1081px) { .pgx .story:not(.story--wide) .xp__grid { grid-template-columns: minmax(0, 1fr); } }


/* ---- essentials: what is included, each tool honestly */
.pgx .inc { display: grid; border: 1px solid var(--line); border-radius: var(--r-surface); background: var(--panel); overflow: hidden; margin-top: 8px; }
.pgx .inc__row { display: grid; grid-template-columns: minmax(0, .9fr) 150px minmax(0, 2.2fr); gap: 8px 28px; align-items: center; padding: 16px 26px; border-top: 1px solid var(--line); }
.pgx .inc__row:first-child { border-top: 0; }
.pgx .inc__row--h { padding-block: 12px; background: rgba(242, 247, 245, .03); font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pgx .inc__row b { font: 700 17px var(--head); color: var(--text); }
.pgx .inc__row p { color: var(--text-2); font-size: 15px; line-height: 1.5; margin: 0; }
.pgx .inc__r, .pgx .inc__y { justify-self: start; font: 600 12.5px var(--mono); font-style: normal; padding: 4px 12px; border-radius: 99px; white-space: nowrap; }
.pgx .inc__r { color: var(--g); background: var(--g-wash); border: 1px solid var(--line-g); }
.pgx .inc__y { color: var(--amber); background: rgba(242, 184, 75, .1); border: 1px solid rgba(242, 184, 75, .4); }
.pgx .inc__row--you { background: rgba(242, 184, 75, .035); }
.pgx .es__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pgx .es__tile { display: grid; gap: 14px; align-content: start; grid-template-rows: auto auto 1fr auto; padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); min-width: 0; }
.pgx .es__tile h3 { font: 700 22px var(--head); margin: 0; }
.pgx .es__tile > p { color: var(--text-2); font-size: 15.5px; }
.pgx .es__tile .shot--app { align-self: start; margin: 0; }
.pgx .es__tile .phone { align-self: start; }
.pgx .es__tile .app { font-size: 13.5px; }
.pgx .es__tile .app__main { padding: 14px 16px 16px; gap: 10px; }
.pgx .es__tile .app__head h4 { font-size: 19px; }
.pgx .es__tile .apc { padding: 11px 13px; }
.pgx .es__tile .apc__h { margin-bottom: 7px; }
.pgx .es__tile .ui-list li { padding: 7px 10px; }
.pgx .es__tile .ui-list b { font-size: 13.5px; }
@media (min-width: 701px) {
  .pgx .es__tile .app { grid-template-columns: 56px minmax(0, 1fr); }
  .pgx .es__tile .app__rail { padding: 10px 6px; }
  .pgx .es__tile .app__rail span { justify-content: center; padding: 8px 0; }
  .pgx .es__tile .app__rail span b, .pgx .es__tile .app__goal, .pgx .es__tile .app__wk { display: none; }
  .pgx .es__tile .app__brand { width: auto; }
  .pgx .es__tile .app__test { display: none; }
}
.pgx .es__dd { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.pgx .es__dd p { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.pgx .es__dd b { display: inline-block; min-width: 76px; margin-right: 8px; font: 700 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--g); }
.pgx .es__dd .no b { color: var(--amber); }
.pgx .es__tbl small { display: block; font: 400 11.5px var(--body); color: var(--muted); }
.pgx .es__tbl thead th.num { white-space: normal; }
.pgx .es__kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pgx .es__kv li { display: grid; gap: 1px; padding: 9px 11px; border-radius: 12px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.pgx .es__kv span { font-size: 12px; color: var(--muted); }
.pgx .es__kv b { font: 700 19px var(--head); color: var(--text); white-space: nowrap; }
.pgx .es__kv .is-hi b { color: var(--g); }
.pgx .linkrow.center { justify-content: center; }

svg.tl-scene.ink-scene .d-mono { font-size: 18px; }
@media (max-width: 480px) {
  .pgx .fx__tbl, .pgx .fx__tbl tbody { display: block; }
  .pgx .fx__tbl thead { display: none; }
  .pgx .fx__tbl tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .pgx .fx__tbl tr.tot { border-bottom: 0; border-top: 1px solid var(--line-2); }
  .pgx .fx__tbl th, .pgx .fx__tbl td { border: 0 !important; padding: 0; text-align: left; }
  .pgx .fx__tbl th { grid-column: 1 / -1; font-size: 13.5px; }
  .pgx .fx__tbl td::before { content: attr(data-l); display: block; font: 500 11.5px var(--body); color: var(--muted); }
}
/* ---- responsive */
@media (max-width: 1180px) {
  .pgx .feat.story, .pgx .feat.story.story--flip { gap: 32px; }
}
@media (max-width: 1080px) {
  .pgx .feat.story, .pgx .feat.story.story--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pgx .story--wide .story__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pgx .pair2--app { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; width: 100%; }
  .pgx .es__grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .pgx .story--wide .story__side { grid-template-columns: minmax(0, 1fr); }
  .pgx .lp__two, .pgx .sm__two, .pgx .nq__grid, .pgx .cs__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .pgx .inc__row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 18px; gap: 6px 12px; }
  .pgx .inc__row--h span:nth-child(3) { display: none; }
  .pgx .inc__row p { grid-column: 1 / -1; font-size: 14.5px; }
}
@media (max-width: 700px) {
  .pgx .hold { margin-bottom: 84px; }
  html:not(.anim) .pgx .feat.story { margin-bottom: 84px; }
  .pgx .es__tile { padding: 18px; }
  .pgx .es__kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgx .cs__modes { display: flex; }
  .pgx .tn__grid { grid-template-columns: minmax(0, 1fr); }
  .pgx .tn__res, .pgx .fx__sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgx .sr__tbl .opt { display: none; }
  .pgx .lp__n { font-size: 44px; }
  .pgx .pair2--app .ui-days li { grid-template-columns: 40px minmax(0, 1fr); }
}
/* PGX END */

/* ---------------------------------------------------------------- the Product menu: differentiators first, then the essentials */
.dd__menu { width: 380px; }
.dd__group { font: 700 11px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; }
.dd__group:not(:first-child) { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; }
.dd__menu a[aria-current] { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-g); }
@media (max-width: 1080px) { .dd__menu { width: auto; } .dd__group { padding-left: 12px; } }

/* phones: drawings run edge to edge so their type stays readable */
@media (max-width: 560px) {
  .story__side .ink, .ink--bleed { margin-left: -18px; margin-right: -18px; }
  .ui-foot { flex-wrap: wrap; }
  .ui-foot .first { flex: 1 1 100%; border: 0; padding-left: 0; }
}
@media (max-width: 380px) { .story__side .ink, .ink--bleed { margin-left: -14px; margin-right: -14px; } }

/* numbered list rows, the lesson plot, cause cards inside a story row */
.ui-num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-3); font: 700 12px var(--head); color: var(--text); }
.ui-list .is-warn .ui-num { background: var(--amber); color: #2A1C02; }
.lplot { display: block; width: 100%; height: auto; max-width: 460px; }
.lplot__ax { fill: none; stroke: var(--text-2); stroke-width: 1.6; }
.lplot__ref { fill: none; stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.lplot__a { fill: none; stroke: var(--g); stroke-width: 2.6; stroke-linejoin: round; }
.lplot__b { fill: none; stroke: var(--amber); stroke-width: 2.6; stroke-linejoin: round; }
.lplot text { font: 500 12.5px var(--mono); fill: var(--muted); }
.lplot text.g { fill: var(--g); } .lplot text.w { fill: var(--amber); }
.story .causegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: center; }
.story .causegrid .card:first-child { grid-column: 1 / -1; }
.pair2 > div > .card + .card { margin-top: 0; }
@media (max-width: 680px) { .story .causegrid { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- test day mode, a still of the exam layout (light, like the real exam) */
.exam-shot { background: #F4F6F8; border-color: rgba(242, 247, 245, .3); }
.exam-shot .shot__cap { background: var(--bg-2); }
.exam { display: grid; color: #1B2430; font: 400 14px/1.5 Arial, Helvetica, sans-serif; color-scheme: light; }
.exam__top { display: flex; align-items: center; gap: 14px; background: #1F3F6E; color: #fff; padding: 9px 14px; font-size: 13px; }
.exam__top b { flex: 1 1 auto; font-weight: 700; min-width: 0; }
.exam__top span { white-space: nowrap; font-weight: 600; }
.exam__tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; background: #D6E2F0; padding: 6px 10px; border-bottom: 1px solid #A9BBD1; }
.exam__tools span { font-size: 12.5px; padding: 4px 10px; border: 1px solid #8DA4C2; border-radius: 3px; background: #EEF3F9; color: #1B2430; white-space: nowrap; }
.exam__tools .is-on { background: #1F3F6E; color: #fff; border-color: #1F3F6E; }
.exam__tools .exam__flag { margin-left: auto; }
.exam__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; min-height: 300px; }
.exam__pass { padding: 14px 16px; border-right: 3px solid #C9D3DF; display: grid; gap: 10px; align-content: start; font-size: 13.5px; }
.exam__ph { font-weight: 700; }
.exam__hl { background: #FFF07A; }
.exam__q { padding: 14px 16px; display: grid; gap: 12px; align-content: start; font-size: 13.5px; }
.exam__q ol { display: grid; gap: 8px; }
.exam__q li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.exam__q li i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #5A6878; margin-top: 2px; background: #fff; }
.exam__q .is-sel i { background: radial-gradient(circle, #1F3F6E 0 4px, #fff 4.5px); border-color: #1F3F6E; }
.exam__q .is-struck span { text-decoration: line-through; color: #6B7684; }
.exam__bot { display: flex; justify-content: flex-end; gap: 8px; background: #1F3F6E; padding: 8px 12px; }
.exam__bot span { font-size: 12.5px; color: #fff; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 3px; }
.exam__modal { background: #fff; margin: 12px; border: 1px solid #8DA4C2; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); padding: 10px; display: grid; gap: 8px; }
.exam__mh { font-weight: 700; font-size: 13.5px; }
.exam__note { font-size: 12px; color: #4A5664; }
.exam__close { justify-self: end; font-size: 12.5px; padding: 4px 12px; border: 1px solid #8DA4C2; border-radius: 3px; background: #EEF3F9; }
.exam .ptable__grid i { background: #EEF3F9; border-color: #C9D3DF; color: #1B2430; }
.keys { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-surface); overflow: hidden; }
.keys th, .keys td { padding: 11px 16px; }
@media (max-width: 680px) {
  .exam__body { grid-template-columns: minmax(0, 1fr); }
  .exam__pass { border-right: 0; border-bottom: 3px solid #C9D3DF; }
  .exam__top { flex-wrap: wrap; gap: 4px 12px; }
  .exam__top b { flex-basis: 100%; }
}
.ui-2--stack { grid-template-columns: minmax(0, 1fr); }

/* tables inside screens wrap instead of pushing the screen wider */
.ui-tbl tbody th { white-space: normal; }
.ui-tbl .ui-pill { white-space: normal; text-align: center; }
.ui-chat sup { font-size: 11.5px; }
@media (max-width: 680px) {
  .ui-tbl .opt { display: none; }
  .ui-tbl .num { font-size: 12px; }
  .ui-tbl thead th { font-size: 11px; letter-spacing: .03em; }
}
@media (max-width: 380px) {
  .story .shot--xl .shot__body, .pair2 .shot--xl .shot__body { padding: 12px; }
  .ui-tbl th, .ui-tbl td { padding: 6px 3px; }
}
.td-screens > div { display: grid; gap: 10px; align-content: start; }

/* ---------------------------------------------------------------- the diagnostic page (storyboard: docs/reviews/diagnostic/storyboard.md)
   Eight steps, each a drawing (what happens behind the screen) beside a screen in the app shell (what the student sees). */
svg.tl-scene.ink-scene .d-am { fill: var(--amber); }
.pg-diagnostic .dx-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pg-diagnostic .dx-nav > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pg-diagnostic .dx-nav > div > span { font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.pg-diagnostic .dx-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 14px 7px 8px; border: 1px solid var(--line-2); border-radius: var(--r-pill); text-decoration: none; color: var(--text-2); font-size: 14px; }
.pg-diagnostic .dx-nav a b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--g-wash); color: var(--g); font: 700 12.5px var(--head); }
.pg-diagnostic .dx-nav a:hover { border-color: var(--g); color: var(--text); }
.pg-diagnostic .dx-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.pg-diagnostic .dx-pay a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-el); background: var(--panel); text-decoration: none; color: var(--text-2); font-size: 14px; }
.pg-diagnostic .dx-pay a:hover { border-color: var(--line-g); }
.pg-diagnostic .dx-pay b { font: 800 28px/1.05 var(--head); color: var(--g); letter-spacing: -.01em; }
.pg-diagnostic .dx-part { max-width: 760px; margin: 24px 0 56px; display: grid; gap: 10px; }
.pg-diagnostic .dx-part .eyebrow { margin-bottom: 0; }
.pg-diagnostic .dx-part p:not(.eyebrow) { color: var(--text-2); font-size: 17px; }
.pg-diagnostic .dx-part + .hold, .pg-diagnostic .dx-part + .feat { margin-top: 0; }
.pg-diagnostic .hold + .dx-part { margin-top: 96px; }
.pg-diagnostic .dx-lab { font: 600 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 -10px; }
.pg-diagnostic .shotwrap > .dx-lab { margin: 0 0 -4px; }
.pg-diagnostic .story h3.h-feat { font-size: clamp(25px, 2.4vw, 34px); }

/* the story row gives the screen more room, and beside a drawing the shell's rail shows as icons */
.pg-diagnostic .feat.story { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 44px; }
.pg-diagnostic .feat.story.story--flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); }
.pg-diagnostic .story .shot--app { box-shadow: none; background: none; border: 0; }
.pg-diagnostic .story .app { font-size: 13.5px; }
.pg-diagnostic .story .app__main { padding: 14px 16px 16px; gap: 10px; }
.pg-diagnostic .story .app__head h4 { font-size: 19px; }
.pg-diagnostic .story .apc { padding: 11px 13px; }
.pg-diagnostic .story .apc__h { margin-bottom: 7px; }
@media (min-width: 701px) {
  .pg-diagnostic .story .app { grid-template-columns: 56px minmax(0, 1fr); }
  .pg-diagnostic .story .app__rail { padding: 10px 6px; }
  .pg-diagnostic .story .app__rail span { justify-content: center; padding: 8px 0; }
  .pg-diagnostic .story .app__rail span b, .pg-diagnostic .story .app__goal, .pg-diagnostic .story .app__wk { display: none; }
  .pg-diagnostic .story .app__brand { width: auto; }
}

/* screen parts */
.pg-diagnostic .dx-kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; font-size: 13.5px; align-items: center; }
.pg-diagnostic .dx-kv dt { color: var(--muted); }
.pg-diagnostic .dx-kv dd { margin: 0; color: var(--text-2); min-width: 0; }
.pg-diagnostic .dx-kv b { color: var(--text); font-weight: 600; }
.pg-diagnostic .dx-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pg-diagnostic .dx-seg i { font-style: normal; font-size: 12.5px; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--muted); }
.pg-diagnostic .dx-seg .on { background: var(--g); border-color: var(--g); color: var(--ink); font-weight: 600; }
.pg-diagnostic .dx-note { font-size: 12.5px; color: var(--muted); }
.pg-diagnostic .apc .dx-note { margin-top: 8px; }
.pg-diagnostic .dx-tbl { font-size: 13px; }
.pg-diagnostic .dx-tbl th, .pg-diagnostic .dx-tbl td { padding: 6px 6px; }
.pg-diagnostic .dx-tbl .num small { display: block; font: 500 11.5px var(--mono); color: var(--muted); }
.pg-diagnostic .dx-tbl .na { color: var(--faint); font-weight: 500; }
.pg-diagnostic .dx-rules { display: grid; gap: 4px; font-size: 13px; color: var(--text-2); }
.pg-diagnostic .dx-rules li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; align-items: start; }
.pg-diagnostic .dx-rules .ic { color: var(--g); margin-top: 2px; }

/* the question, as answered */
.pg-diagnostic .dx-prog { display: grid; grid-template-columns: repeat(40, minmax(0, 1fr)); gap: 3px; }
.pg-diagnostic .dx-prog i { height: 6px; border-radius: 3px; background: var(--panel-3); }
.pg-diagnostic .dx-prog i.d { background: var(--text-2); opacity: .55; }
.pg-diagnostic .dx-prog i.c { background: var(--g); }
.pg-diagnostic .dx-q { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 12px; align-items: start; }
.pg-diagnostic .dx-q .ui-passage { font-size: 13.5px; line-height: 1.55; padding: 10px 12px; gap: 6px; }
.pg-diagnostic .dx-q .ui-q__stem { font-size: 14px; }
.pg-diagnostic .dx-q .ui-ch li { padding: 6px 9px; font-size: 14px; }
.pg-diagnostic .dx-t1 { width: 100%; border-collapse: collapse; font: 500 12.5px var(--mono); color: var(--text-2); }
.pg-diagnostic .dx-t1 caption { text-align: left; font: 600 12px var(--body); color: var(--text); padding: 2px 0 4px; }
.pg-diagnostic .dx-t1 th, .pg-diagnostic .dx-t1 td { padding: 3px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.pg-diagnostic .dx-t1 th:first-child { text-align: left; }
.pg-diagnostic .dx-t1 thead th { color: var(--muted); font-weight: 600; }
.pg-diagnostic .dx-t1 sup { font: inherit; font-size: 11px; color: inherit; background: none; padding: 0; margin: 0; vertical-align: super; }
.pg-diagnostic .dx-sure { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pg-diagnostic .dx-sure i { font-style: normal; padding: 4px 11px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--text-2); }
.pg-diagnostic .dx-sure .on { border-color: var(--amber); color: var(--amber); background: rgba(242, 184, 75, .1); }

/* reviewing one miss */
.pg-diagnostic .dx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-diagnostic .dx-exp { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.pg-diagnostic .dx-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-diagnostic .dx-rev { display: grid; gap: 6px; font: 500 12.5px var(--mono); color: var(--muted); }
.pg-diagnostic .dx-rev i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--g) var(--w), var(--panel-3) var(--w)); }

/* why you miss */
.pg-diagnostic .dx-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pg-diagnostic .dx-sum li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px; background: #111A17; border: 1px solid var(--line); min-width: 0; }
.pg-diagnostic .dx-sum b { font: 700 18px var(--head); color: var(--text); white-space: nowrap; }
.pg-diagnostic .dx-sum span { font-size: 12px; color: var(--muted); }
.pg-diagnostic .dx-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.pg-diagnostic .dx-miss { display: grid; gap: 5px; }
.pg-diagnostic .dx-miss li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); }
.pg-diagnostic .dx-miss b { font: 700 12px var(--mono); color: var(--text); background: var(--panel-3); border-radius: 6px; text-align: center; padding: 2px 0; }
.pg-diagnostic .dx-miss em { font: 600 11.5px var(--mono); font-style: normal; color: var(--amber); white-space: nowrap; }
.pg-diagnostic .dx-more { margin-top: 6px; font: 500 12px var(--mono); color: var(--muted); }
.pg-diagnostic .story .app .fp { gap: 7px; }
.pg-diagnostic .story .app .fp li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 16px 34px; gap: 8px; font-size: 13px; }
.pg-diagnostic .dx-grid .is-now th, .pg-diagnostic .dx-grid .is-now td { background: var(--g-wash); }
.pg-diagnostic .dx-grid .dx-tot th, .pg-diagnostic .dx-grid .dx-tot td { border-top: 1px solid var(--line-2); font-weight: 700; color: var(--text); }
.pg-diagnostic .dx-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-diagnostic .dx-facts span { font-size: 12.5px; color: var(--text-2); padding: 4px 10px; border-radius: var(--r-pill); background: #18221F; }

/* gap map key: missed once */
.pg-diagnostic .ui-gkey .k-onew { border: 1.5px solid var(--amber); }
.pg-diagnostic .ui-gmap .c { height: 36px; }
.pg-diagnostic .ui-gmap .cars .c { height: 42px; }
.pg-diagnostic .ui-gmap > div > b { font-size: 12.5px; }
.pg-diagnostic .story .ui-list li { padding: 7px 10px; }
.pg-diagnostic .story .ui-list b { font-size: 13.5px; }

/* week one */
.pg-diagnostic .dx-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; }
.pg-diagnostic .dx-week li { display: grid; gap: 3px; justify-items: center; padding: 6px 4px; border-radius: 10px; border: 1px solid transparent; }
.pg-diagnostic .dx-week li.is-on { border-color: var(--line-g); background: var(--g-wash); }
.pg-diagnostic .dx-week li > span { display: flex; flex-direction: column; gap: 1px; width: 70%; max-width: 40px; }
.pg-diagnostic .dx-week li > span i { display: block; height: calc(var(--m) * .26px); min-height: 2px; border-radius: 2px; }
.pg-diagnostic .dx-week b { font: 700 12px var(--mono); color: var(--text); }
.pg-diagnostic .dx-week em { font: 500 11.5px var(--mono); font-style: normal; color: var(--muted); }
.pg-diagnostic :is(.dx-week, .dx-src, .dx-mon) i.f { background: var(--g); }
.pg-diagnostic :is(.dx-week, .dx-src, .dx-mon) i.g { background: var(--amber); }
.pg-diagnostic :is(.dx-week, .dx-src, .dx-mon) i.u { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.pg-diagnostic :is(.dx-week, .dx-src, .dx-mon) i.o { background: var(--sky); }
.pg-diagnostic :is(.dx-week, .dx-src, .dx-mon) i.b { background: var(--panel-3); box-shadow: inset 0 0 0 1px rgba(242, 247, 245, .2); }
.pg-diagnostic .dx-src { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.pg-diagnostic .dx-src span { display: inline-flex; align-items: center; gap: 6px; }
.pg-diagnostic .dx-src i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.pg-diagnostic .dx-mon { display: grid; gap: 6px; }
.pg-diagnostic .dx-mon li { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.pg-diagnostic .dx-mon li > i { align-self: stretch; border-radius: 3px; }
.pg-diagnostic .dx-mon div { display: grid; min-width: 0; }
.pg-diagnostic .dx-mon b { font-size: 13.5px; font-weight: 600; color: var(--text); }
.pg-diagnostic .dx-mon small { font-size: 12px; color: var(--muted); }
.pg-diagnostic .dx-mon em { font: 600 12px var(--mono); font-style: normal; color: var(--text-2); white-space: nowrap; }
.pg-diagnostic .dx-days { display: grid; gap: 3px; }
.pg-diagnostic .dx-days li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 3px 0; border-bottom: 1px solid var(--line); }
.pg-diagnostic .dx-days li:last-child { border-bottom: 0; }
.pg-diagnostic .dx-days b { font: 700 12px var(--mono); color: var(--text); }

/* from the first 45 minutes to test day, six cards with ink icons */
.pg-diagnostic .dx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pg-diagnostic .dx-steps .card { display: grid; gap: 10px; align-content: start; padding: 24px; }
.pg-diagnostic .dx-ico { width: 72px; height: 52px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-diagnostic .dx-ico .g { fill: var(--g); stroke: var(--g); }
.pg-diagnostic .dx-ico path.g { fill: none; }
.pg-diagnostic .dx-n { font: 800 34px/1 var(--head); color: transparent; -webkit-text-stroke: 1.2px var(--g); letter-spacing: .02em; }
.pg-diagnostic .dx-steps h3 { font: 700 19px var(--head); letter-spacing: .02em; text-transform: uppercase; margin: 0; }
.pg-diagnostic .dx-steps p { font-size: 14.5px; color: var(--text-2); }
.pg-diagnostic .dx-stepsnote { max-width: 860px; margin-top: 26px; color: var(--text-2); font-size: 15.5px; }

@media (max-width: 1080px) {
  .pg-diagnostic .feat.story, .pg-diagnostic .feat.story.story--flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pg-diagnostic .dx-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-diagnostic .dx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .pg-diagnostic .dx-q, .pg-diagnostic .dx-2 { grid-template-columns: minmax(0, 1fr); }
  .pg-diagnostic .dx-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-diagnostic .dx-kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pg-diagnostic .dx-kv dd { margin-bottom: 6px; }
  .pg-diagnostic .dx-prog { gap: 2px; }
  .pg-diagnostic .dx-tbl th, .pg-diagnostic .dx-tbl td { padding: 6px 3px; }
  .pg-diagnostic .dx-part { margin-bottom: 40px; }
  .pg-diagnostic .hold + .dx-part { margin-top: 56px; }
  .pg-diagnostic .ui-gmap .cars .c { height: 46px; }
}
@media (max-width: 400px) {
  .pg-diagnostic .dx-pay, .pg-diagnostic .dx-steps { grid-template-columns: minmax(0, 1fr); }
  .pg-diagnostic .dx-week { gap: 3px; }
  .pg-diagnostic .dx-nav > div > span { flex-basis: 100%; }
}

.pg-diagnostic .dx-week em { white-space: nowrap; }
@media (max-width: 700px) {
  .pg-diagnostic .dx-fmt thead { display: none; }
  .pg-diagnostic .dx-fmt tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
  .pg-diagnostic .dx-fmt tr:last-child { border-bottom: 0; }
  .pg-diagnostic .dx-fmt th, .pg-diagnostic .dx-fmt td { border: 0; padding: 0; }
  .pg-diagnostic .dx-fmt td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 12.5px; color: var(--muted); }
  .pg-diagnostic .dx-fmt td.num:nth-child(3)::after { content: " questions"; font-weight: 500; color: var(--muted); }
}

.pg-diagnostic .story :is(sub, sup):not(.ic) { font-size: 11.5px; line-height: 0; }
.pg-diagnostic svg.tl-scene.ink-scene .d-mono { font-size: 18px; }

/* ================================================================ QC round 3 (R-007, R-015) on /diagnostic/, /features/, /misses/, /node/ and /plan/ (CSS only, no words changed)
   R-007: small text in held scenes is drawn at 0.8 to 0.89 of its size, so its size is raised until the drawn size stays at 10.5 px or more at the
   engine's floor of 0.8 (13.5 px x 0.8 = 10.8 px). Every line box keeps its old height with an explicit line-height, so a held scene keeps its fit scale.
   Scoped to these five pages (the home page loads this file too and stays frozen). */
:is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina, .pg-test-day) .eyebrow .num { font-size: 13.5px; line-height: 14px; }
:is(.pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .lab, .pg-diagnostic .dx-lab { font-size: 13.5px; line-height: 15px; letter-spacing: .08em; }
:is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .shot__cap { font-size: 13.5px; line-height: 16px; }
.pg-misses .hero-cap { font-size: 13.5px; line-height: 20px; }
.pg-misses .scene__bar span { font-size: 13.5px; line-height: 15px; }
.pg-misses .card .ui-pill { font-size: 13.5px; line-height: 15px; }
.pg-features .inc__row--h { font-size: 13.5px; line-height: 15px; letter-spacing: .06em; }

/* R-015 on /plan/: the app mock's top line and the exam calendar keep their text inside their boxes (no words changed).
   The crumb "Plan · Your week" was 10 px too wide beside the two date chips, so the gaps and chip padding give it the room.
   In the exam calendar the day cells grow with their three lines ("7", "FL1", "508"), and on small phones the week labels move onto a line
   of their own so seven day cells get the width that "Today" and "Busy" need. */
@media (min-width: 701px) {
  :is(.pg-plan, .pg-diagnostic) .app__top { gap: 8px; padding: 0 14px; }
  :is(.pg-plan, .pg-diagnostic) .app__crumb i { margin: 0 4px; }
  :is(.pg-plan, .pg-diagnostic) .app__when { gap: 4px; }
  :is(.pg-plan, .pg-diagnostic) .app__when > span { padding: 5px 6px; }
}
/* the same crumb room on phones for /diagnostic/ and the /features/ tiles: "Diagnostic" and "Practice" were cut beside the days chip */
@media (max-width: 700px) {
  :is(.pg-diagnostic, .pg-features) .app__top { gap: 6px; padding: 0 10px; }
  :is(.pg-diagnostic, .pg-features) .app__when > span { padding: 4px 6px; }
  :is(.pg-diagnostic, .pg-features) .app__count { font-size: 11px; }
}
.pg-plan .ex__wks i { height: auto; min-height: 52px; }
@media (max-width: 700px) {
  .pg-plan .ex__wks i { min-height: 46px; }
  .pg-plan .ex__wks i em { line-height: 1.1; }
}
@media (max-width: 380px) {
  .pg-plan .app__main.ex { padding-inline: 8px; }
  .pg-plan .ex__days, .pg-plan .ex__wks { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .pg-plan .ex__days > span:first-child { display: none; }
  .pg-plan .ex__wks .wn { grid-column: 1 / -1; line-height: 11px; margin-top: 2px; }
  .pg-plan .ex__wks i { padding: 3px 0; }
  .pg-plan .ex__wks i b { font-weight: 600; letter-spacing: -.02em; }
}

/* QC round 3, phones: nothing in an app mock is wider than its frame (no words changed, text stays at 11 px or more).
   /features/ tiles: the tab bar's five tabs share the tile's width instead of each asking for 58 px.
   /diagnostic/ at 320 px: the results table needs 276 px, so the frame's side padding and the table's cell padding give back 20 px. */
@media (max-width: 700px) {
  .pg-features .app__rail span { min-width: 0; flex: 1 1 0; }
}
@media (max-width: 380px) {
  .pg-diagnostic .app__main { padding-inline: 10px; }
  .pg-diagnostic .dx-tbl th, .pg-diagnostic .dx-tbl td { padding-inline: 2px; }
  .pg-misses .sr__tbl th, .pg-misses .sr__tbl td { padding-inline: 3px; }
}

/* QC round 3, R-007 in the product screens (.app) of held scenes (owner rule: visible text is drawn at 10.5 px or more).
   Every small text in a mock that a held scene draws at 0.8 to 0.89 is raised to 13.2 px (x 0.8 = 10.6 px). The line box keeps its old height:
   the old "normal" line height in px, or the explicit one it already had, so a scene does not get taller. Desktop and tablet only; phones draw at full size. */
@media (min-width: 701px) {
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    span.gm__cells i.gk.gk--b,
    span.gm__cells i.gk.gk--g,
    span.gm__cells i.gk.gk--l,
    span.gm__cells i.gk.gk--s
  ) { font-size: 13.2px; line-height: 12.1px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ol.cs__ag li i
  ) { font-size: 13.2px; line-height: 13px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    i.gk.gk--b small,
    i.gk.gk--g small,
    i.gk.gk--l small,
    i.gk.gk--s small
  ) { font-size: 13.2px; line-height: 13.2px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.cars span i.c.c--b,
    div.cars span i.c.c--g
  ) { font-size: 13.2px; line-height: 13.8px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ol.ls__toc li i,
    table.sr__tbl tbody tr td i.cz.cz--c,
    table.sr__tbl tbody tr td i.cz.cz--m,
    table.sr__tbl tbody tr td i.cz.cz--t,
    table.sr__tbl tbody tr td small,
    table.sr__tbl tbody tr th small
  ) { font-size: 13.2px; line-height: 14px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.apc p.apc__h,
    div.apc p.apc__h.tn__sub,
    div.apc.sr__open p.apc__h,
    div.apc.tu__soft p.apc__h,
    div.cars b,
    div.cs__clock em,
    div.cs__clock span,
    div.gm__row b,
    div.rangebar__ticks span,
    div.ui-gmap div b,
    div.ui-gmap div span i.c.c--b,
    div.ui-gmap div span i.c.c--g,
    div.ui-gmap div span i.c.c--g.c--one,
    div.ui-gmap div span i.c.c--none,
    div.ui-gmap div span i.c.c--s.c--one,
    div.ui-passage p span.pn,
    div.ui-row span.ui-lbl,
    dl.tn__kv dd small,
    li.has-tag b,
    li.n i,
    li.n p em.cs__ref,
    ol.cs__ag li em,
    ol.dx-week li em,
    ol.ls__toc li span em,
    ol.tn__hrs li b,
    ol.tu__off li,
    ol.tu__wks i.c,
    ol.tu__wks i.c.h,
    ol.tu__wks i.p.f,
    ol.tu__wks i.p.h,
    ol.tu__wks i.t,
    ol.ui-ch li b,
    p.apc__h span,
    p.apc__h.tn__sub span,
    p.cs__modes span,
    p.cs__modes span.on,
    p.mq2__cz i,
    p.tu__wk b,
    small.tn__was span,
    span.tu__set i,
    table.dx-t1 caption,
    table.fx__tbl tbody tr td.na,
    table.ls__tbl thead tr th,
    table.sr__tbl thead tr th,
    table.sr__tbl thead tr th.opt,
    table.st-tbl.st-tbl--sc tbody tr th span,
    table.st-tbl.st-tbl--sc thead tr th,
    table.ui-tbl.dx-tbl.dx-fmt thead tr th,
    table.ui-tbl.dx-tbl.dx-grid thead tr th,
    table.ui-tbl.dx-tbl.dx-set thead tr th,
    td.num small,
    ul.dx-miss li em,
    ul.lc__list li em,
    ul.st-cards li em,
    ul.ui-list.ui-list--n li span.ui-num
  ) { font-size: 13.2px; line-height: 15px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ul.tn__res li span
  ) { font-size: 13.2px; line-height: 15.5px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.app__head span.ap-chip,
    div.app__head span.ap-chip.ap-chip--g,
    div.app__head span.ap-chip.ap-chip--r,
    div.ui-foot span,
    div.ui-foot span.first,
    div.ui-sec div small,
    div.ui-tools span,
    div.ui-tools span.sp,
    li.has-tag em.ui-pill.ui-pill--g.tag,
    li.has-tag em.ui-pill.ui-pill--rose.tag,
    ol.st-wk li em,
    ol.tn__hrs li em,
    ol.ui-days li em,
    p.dx-chips span.ap-chip,
    p.gm__meta span,
    p.tu__wk i,
    p.tu__wk i.rs,
    p.tu__wk i.td,
    p.tu__wk i.was,
    span.app__count b,
    span.app__test b,
    span.app__when span.app__count,
    span.app__when span.app__test,
    span.app__when span.app__wk,
    table.dx-t1 tbody tr td,
    table.dx-t1 tbody tr th,
    table.dx-t1 thead tr th,
    table.ui-tbl.es__tbl tbody tr td span.ui-pill,
    table.ui-tbl.es__tbl tbody tr td span.ui-pill.ui-pill--am,
    ul.lc__list li b,
    ul.st-bars li em,
    ul.st-bars li small,
    ul.ui-list li em,
    ul.ui-list li span.ui-num,
    ul.ui-list.ui-list--n li em.ui-pill,
    ul.ui-list.ui-list--n li em.ui-pill.ui-pill--am
  ) { font-size: 13.2px; line-height: 16px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ul.lc__list li span
  ) { font-size: 13.2px; line-height: 16.2px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    p.tu__key span
  ) { font-size: 13.2px; line-height: 16.7px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.apc.lc__sel p b,
    table.ui-tbl.dx-tbl.dx-set tbody tr td.num,
    table.ui-tbl.dx-tbl.dx-set thead tr th.num,
    ul.tu__ba li s
  ) { font-size: 13.2px; line-height: 17px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ol.cs__ag li div small,
    p.tr__key span,
    ul.es__kv li span
  ) { font-size: 13.2px; line-height: 17.4px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    ol.tu__rows li span.tu__did
  ) { font-size: 13.2px; line-height: 17.5px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.dx-sure i,
    div.dx-sure i.on,
    div.dx-sure span,
    div.ui-sec div span,
    ol.ui-days li span i,
    ol.ui-days li span i.am,
    ol.ui-days li span i.g,
    ol.ui-days li span i.sky,
    p.dx-note,
    p.gm__key span,
    p.lc__key span,
    p.ui-gkey span,
    ul.ui-list li div small,
    ul.ui-list.ui-list--n li div small
  ) { font-size: 13.2px; line-height: 18.1px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    div.app__head div p
  ) { font-size: 13.2px; line-height: 18.9px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app :is(
    p.dx-exp sub,
    p.ui-q__stem sub,
    table.dx-t1 thead tr th sub,
    table.dx-t1 thead tr th sup
  ) { font-size: 13.2px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan) .hold :is(.inc__r, .inc__y) { font-size: 13.2px; line-height: 16.5px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .callouts li { font-size: 13.2px; line-height: 18.85px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .callouts b { font-size: 13.2px; line-height: 15px; }
  /* these draw at 0.78 to 0.79 in two scenes the engine holds just under its floor, so they get a little more */
  .pg-diagnostic .hold .app :is(.rangebar__ticks span, p.ui-q__stem sub) { font-size: 13.6px; }
  /* room for the wider text: the head and its chip keep one row, the week legend keeps its two rows */
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app .app__head { column-gap: 12px; }
  :is(.pg-diagnostic, .pg-features, .pg-misses, .pg-node, .pg-plan, .pg-leap, .pg-stamina) .hold .app .app__head .ap-chip { padding-inline: 9px; }
  .pg-plan .hold .app .tu__key { column-gap: 7px; row-gap: 4px; }
  .pg-plan .hold .app .tu__key span { gap: 3px; }
  .pg-plan .hold .app .tn__res { gap: 6px; }
  .pg-plan .hold .app .tn__res li { padding-inline: 8px; }
  .pg-plan .hold .app .ui-days li > span { gap: 4px; }
  /* the wider text wraps onto extra lines in a few rows, so the scene gives that height back in its padding and gaps */
  .pg-plan .hold .app .app__main { gap: 8px; }
  .pg-plan .hold .app .tn__res li { padding-block: 6px; }
  .pg-plan .hold .app .tu__rows li { padding-block: 6px; }
  .pg-plan .hold .app .ui-days { gap: 5px; }
  .pg-plan .hold .app .ui-days li { padding-block: 5px; }
  .pg-node .hold .app .ui-list { gap: 5px; }
  .pg-node .hold .app .ui-list li { padding-block: 7px; }
  .pg-plan .hold .app .ui-days li > span i { padding-inline: 6px; }
  .pg-leap .hold .app .ls__toc em { letter-spacing: -.04em; }
  .pg-leap .hold .app .ls__toc li { padding-block: 6px; }
  .pg-leap .hold .app .apc__h { letter-spacing: .03em; }
  .pg-leap .hold .app .ls__toc { gap: 4px; }
  .pg-leap .hold .app .ls__toc li { padding-block: 5px; }
}
