/* EDEN for Hannah, the app (hannah/SPEC.md section 9). Every class starts with "ed-", every token "--ed-", everything
   is scoped to .ed-root. The host sets --ed-w / --ed-h on the mount; app.js writes the geometry table (--ed-tdCov,
   --ed-rnGc ...) on .ed-root, so the rects the API returns and the boxes drawn here are the same numbers.
   Dark only: her black, her white cards, her lime. Motion: transform, opacity and stroke-dashoffset only. */

@font-face {
  font-family: "Sofia XC";
  font-style: normal;
  font-display: swap;
  font-weight: 1 1000;
  src: url("media/fonts/sofia-xc-latin-ext.woff2") format("woff2-variations"), url("media/fonts/sofia-xc-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sofia XC";
  font-style: normal;
  font-display: swap;
  font-weight: 1 1000;
  src: url("media/fonts/sofia-xc-latin.woff2") format("woff2-variations"), url("media/fonts/sofia-xc-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("media/fonts/figtree-latin-ext.woff2") format("woff2-variations"), url("media/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("media/fonts/figtree-latin.woff2") format("woff2-variations"), url("media/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url("media/fonts/figtree-italic-latin-ext.woff2") format("woff2-variations"), url("media/fonts/figtree-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url("media/fonts/figtree-italic-latin.woff2") format("woff2-variations"), url("media/fonts/figtree-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ms Madi";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("media/fonts/ms-madi-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ms Madi";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("media/fonts/ms-madi-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ root, tokens, resets */
.ed-root {
  --ed-ground: #0A0A09; --ed-s1: #141413; --ed-s2: #1F1F1D; --ed-s3: #34342F;
  --ed-hair: rgba(244, 244, 240, .10); --ed-hair2: rgba(244, 244, 240, .16);
  --ed-text: #F4F4F0; --ed-muted: #A6A69E; --ed-faint: #5E5E58;
  --ed-card: #FFFFFF; --ed-ink: #111111; --ed-meta: #555555;
  --ed-lime: #B0C43A; --ed-lime-deep: #8EA02A; --ed-night: #0A0A09;
  --ed-shadow: 0 30px 60px -25px rgba(0, 0, 0, .85);
  --ed-ios: cubic-bezier(.32, .72, 0, 1); --ed-out: cubic-bezier(.22, 1, .36, 1);
  --ed-display: "Sofia XC", "Arial Narrow", "Roboto Condensed", sans-serif;
  --ed-sans: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ed-script: "Ms Madi", cursive;
  --ed-hl: 1px;
  position: absolute; left: 0; top: 0; display: block; overflow: hidden; overflow: clip;
  width: var(--ed-w, 393px); height: var(--ed-h, 852px);
  background: var(--ed-ground); color: var(--ed-text);
  font: 500 17px/1.3 var(--ed-sans); letter-spacing: 0; text-align: left;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; font-kerning: normal;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  touch-action: pan-y pinch-zoom; isolation: isolate; contain: layout paint style;
}
@media (min-resolution: 2dppx) { .ed-root { --ed-hl: .5px; } }
.ed-root :where(*), .ed-root :where(*)::before, .ed-root :where(*)::after { box-sizing: border-box; touch-action: pan-y pinch-zoom; }
.ed-root :where(button) { -webkit-appearance: none; appearance: none; font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; letter-spacing: inherit; -webkit-tap-highlight-color: transparent; }
.ed-root :where(h2, h3, h4, p, ul, ol, li, figure, blockquote) { margin: 0; padding: 0; font: inherit; list-style: none; }
.ed-root :where(img, video, svg) { display: block; max-width: none; }
.ed-root :where(img) { -webkit-user-drag: none; }
.ed-root :where(b, strong) { font-weight: inherit; }
.ed-root :where(i, em) { font-style: normal; }
.ed-root :where(small) { font-size: inherit; }
.ed-root[data-mode="story"], .ed-story { pointer-events: none; }
.ed-desk.ed-live :where(button, [role="button"]) { cursor: pointer; }
.ed-root :focus { outline: none; }
.ed-root :focus-visible { outline: 2px solid var(--ed-lime); outline-offset: 3px; border-radius: 12px; }
.ed-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ed-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------------ shared type and parts */
.ed-lt { font: 900 34px/.9 var(--ed-display); letter-spacing: -.01em; text-transform: uppercase; color: var(--ed-text); }
.ed-ov { display: block; font: 700 12px/14px var(--ed-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ed-muted); white-space: nowrap; }
.ed-h3 { font: 700 17px/22px var(--ed-sans); letter-spacing: -.005em; color: var(--ed-text); }
.ed-sep { display: inline-block; margin: 0 1px; color: inherit; opacity: .7; }
.ed-draft { display: inline-flex; align-items: center; flex: none; height: 18px; padding: 1px 6px 0; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--ed-muted); font: 700 10px/1 var(--ed-sans); letter-spacing: .1em; color: var(--ed-muted); white-space: nowrap; }
/* calc.: plain words, no box (DRAFT stays the only outlined tag); the meta grey on white, the muted grey on dark */
.ed-calc { display: inline-block; flex: none; margin-left: 4px; font: 600 11px/1 var(--ed-sans); letter-spacing: .01em; color: var(--ed-muted); white-space: nowrap; }
.ed-src { display: inline-flex; align-items: center; gap: 5px; font: 600 12px/14px var(--ed-sans); letter-spacing: .01em; color: var(--ed-muted); white-space: nowrap; }
.ed-src__ic { width: 12px; height: 12px; flex: none; }
.ed-srcm { display: inline-flex; align-items: center; gap: 8px; }
.ed-av { position: relative; display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--ed-s3); }
.ed-av__i { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); transform-origin: 66% 40%; }
.ed-av::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244, 244, 240, .14); }
.ed-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ed-ic-check { width: 14px; height: 14px; }
.ed-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 14px; background: var(--ed-s2); font: 700 13px/1 var(--ed-sans); color: var(--ed-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ed-chip i { display: inline-flex; color: var(--ed-text); }
.ed-chip--lime { height: 24px; padding: 0 10px; border-radius: 12px; background: var(--ed-lime); color: var(--ed-night); font-size: 12px; letter-spacing: .01em; }
.ed-chip--o { background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair2); font-weight: 600; }
.ed-chip--o .ed-calc { margin-left: -2px; }
/* the check disc of her checked card: lime, our night check */
.ed-ckd { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ed-lime); color: var(--ed-night); }
.ed-ckd .ed-ic-check { width: 13px; height: 13px; }
/* the heart rate value: heart, numerals, bpm */
.ed-hrv { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.ed-hrt { display: inline-block; white-space: nowrap; line-height: 1; }
.ed-hrt i { display: inline-block; vertical-align: middle; margin: -3px 6px 0 0; color: var(--ed-text); }
.ed-hrt i svg { display: block; }
.ed-hrt b { font: 800 28px/1 var(--ed-display); font-variant-numeric: tabular-nums; letter-spacing: 0; vertical-align: baseline; }
.ed-hrt small { font: 700 12px/1 var(--ed-sans); letter-spacing: .02em; color: var(--ed-muted); vertical-align: baseline; }
/* a zero-size probe on the digits' baseline (getHRNumRect reads it) */
.ed-bl { display: inline-block; width: 0; height: 0; vertical-align: baseline; }

/* her card (5.4): one white rounded box per line, Figtree 700 ink, boxes touching with a 2 px gap, centred */
.ed-hc { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ed-hc__r { position: relative; display: flex; align-items: center; }
.ed-hc__b { display: inline-flex; align-items: center; padding: .22em .55em; border-radius: .28em; background: var(--ed-card); color: var(--ed-ink); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.ed-ck { position: absolute; left: calc(100% + 7px); top: 50%; width: 1.42em; height: 1.42em; margin-top: -.71em; border-radius: 50%; background: var(--ed-lime); color: var(--ed-night); display: flex; align-items: center; justify-content: center; opacity: 0; }
.ed-ck .ed-ic-check { width: .9em; height: .9em; }

/* her lines in the app: her mark, her words in quotes, the source under them */
.ed-her { display: flex; align-items: flex-start; gap: 10px; }
.ed-her__b { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ed-her__q { font: 600 16px/1.32 var(--ed-sans); letter-spacing: -.003em; color: var(--ed-text); }
.ed-ego { font: 900 26px/.95 var(--ed-display); letter-spacing: -.005em; text-transform: uppercase; color: var(--ed-text); }
.ed-ego--sm { font-size: 21px; }

/* pills: lime is the primary action; status pills are dark */
.ed-pill { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 26px; background: var(--ed-lime); color: var(--ed-night); font: 700 17px/1 var(--ed-sans); letter-spacing: -.005em; white-space: nowrap; transition: transform .16s var(--ed-out), background-color .16s linear; }
.ed-pill[hidden] { display: none; }
.ed-pill__i { display: inline-flex; flex: none; }
.ed-pill__i svg { width: 15px; height: 15px; }
.ed-pill__i--ok { display: none; }
.ed-pill.is-done .ed-pill__i--ok, .ed-pill--stat.is-done .ed-pill__i--ok { display: inline-flex; }
.ed-pill.is-done { background: var(--ed-s2); color: var(--ed-muted); }
.ed-live .ed-pill:not(.is-done):not(.ed-pill--stat):active { transform: scale(.97); background: var(--ed-lime-deep); }
.ed-live .ed-pill.is-done { pointer-events: none; }
.ed-pill--stat { overflow: hidden; background: var(--ed-s2); color: var(--ed-text); font-weight: 600; box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-pill--stat.is-done { color: var(--ed-muted); }
.ed-story .ed-pill { transition: none; }
/* the soft lime pulses: the hint on "Start rep 4" until her first touch, the "Hold pace" pulse (none under reduced motion) */
/* a lime ring that grows about 11 pt out of the pill and fades: transform and opacity only */
.ed-pill.is-hint::after, .ed-pill.is-pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 2px rgba(176, 196, 58, .6); opacity: 0; animation: ed-ring 1.8s var(--ed-out) infinite; }
.ed-pill.is-pulse::after { animation-duration: 1.1s; }
@keyframes ed-ring { 0% { opacity: 1; transform: scale(1, 1); } 70%, 100% { opacity: 0; transform: scale(1.06, 1.42); } }
.ed-osrm .ed-pill::after, .ed-rm .ed-pill::after { animation: none; box-shadow: none; }

/* video slots: the poster, the clip over it once it plays */
.ed-vs { position: relative; display: block; overflow: hidden; background: var(--ed-s2); }
.ed-vs__p, .ed-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ed-video { opacity: 0; transition: opacity .2s linear; pointer-events: none; }
.ed-vs.is-playing .ed-video { opacity: 1; }

/* 44 pt minimum targets: small controls extend their hit area (invisible) */
.ed-ib { position: relative; display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ed-s2); color: var(--ed-muted); }
.ed-ib::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }

/* ------------------------------------------------------------------ the glass, layers, chrome */
.ed-glass { position: absolute; inset: 0; overflow: hidden; background: var(--ed-ground); }
.ed-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--ed-ground); contain: layout style size; }
.ed-layer:not(.is-on):not(.is-leaving) { opacity: 0 !important; visibility: hidden; pointer-events: none; }
/* the warm layer (story): the next screen, painted ahead under the current one, invisible; turning it on flips a class */
.ed-layer.is-warm:not(.is-on):not(.is-leaving) { opacity: .001 !important; visibility: visible; }
/* the push shadow: a permanent strip on the moving edge, faded with the push (no blurred shadow on a full layer) */
.ed-psh { position: absolute; top: 0; bottom: 0; left: -24px; width: 24px; z-index: 3; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .42)); }
.ed-l-lift, .ed-l-run, .ed-l-zone2 { z-index: 3; }
.ed-l-day { z-index: 6; background: transparent; }
.ed-l-splash { z-index: 9; background: transparent; }
.ed-l-plan { transform-origin: 50% 0; }

.ed-status { position: absolute; left: 0; right: 0; top: 0; height: 54px; z-index: 20; pointer-events: none; color: var(--ed-text); }
.ed-status__t { position: absolute; left: 0; width: 140px; top: 18px; text-align: center; font: 600 17px/1 var(--ed-sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ed-status__r { position: absolute; right: 26px; top: 20px; display: flex; align-items: center; gap: 6px; }
.ed-homeind { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(244, 244, 240, .9); z-index: 20; pointer-events: none; }
.ed-full .ed-status, .ed-full .ed-homeind { display: none; }
.ed-tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 83px; z-index: 5; display: flex; padding: 0 10px 34px; background: rgba(10, 10, 9, .92); box-shadow: inset 0 var(--ed-hl) 0 var(--ed-hair2); }
.ed-tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; padding-top: 9px; color: var(--ed-muted); font: 600 11px/1.2 var(--ed-sans); letter-spacing: .01em; }
.ed-tab svg { width: 26px; height: 26px; }
.ed-tab.is-on { color: var(--ed-text); }
.ed-tab__dot { position: absolute; left: 50%; top: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ed-lime); opacity: 0; }
.ed-tab.is-on .ed-tab__dot { opacity: 1; }

/* ------------------------------------------------------------------ splash (the app icon, the wordmark, the lockup) */
.ed-sp { position: absolute; inset: 0; }
.ed-sp__ground { position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 70% at 82% -6%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 62%), var(--ed-ground); }
.ed-sp__in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 54px; }
.ed-sp__icon { width: 104px; height: 104px; opacity: 0; will-change: transform, opacity; }
.ed-icon { position: relative; display: block; width: 104px; height: 104px; border-radius: 25px; background: linear-gradient(165deg, #1E1E1C 0%, #0E0E0D 62%, #0A0A09 100%); box-shadow: inset 0 0 0 1px rgba(244, 244, 240, .11), inset 0 1px 0 rgba(255, 255, 255, .07), 0 26px 44px -22px rgba(0, 0, 0, .95); }
.ed-icon b { position: absolute; left: 0; right: 0; top: 15px; text-align: center; font: 900 68px/1 var(--ed-display); color: var(--ed-lime); }
.ed-icon i { position: absolute; left: 39px; right: 39px; bottom: 19px; height: 3px; border-radius: 2px; background: var(--ed-lime); }
.ed-sp__wm { display: flex; margin-top: 30px; }
.ed-sp__m { display: block; overflow: hidden; padding: 0 .5px; }
.ed-sp__l { display: block; font: 900 88px/.86 var(--ed-display); letter-spacing: .02em; color: var(--ed-text); opacity: 0; padding-top: 6px; }
.ed-sp__dot { color: var(--ed-lime); }
.ed-sp__lock { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; opacity: 0; }
.ed-sp__k { font: 700 11px/1 var(--ed-sans); letter-spacing: .2em; color: var(--ed-muted); padding-left: .2em; }
.ed-sp__by { font: 400 26px/1.15 var(--ed-script); color: var(--ed-text); }

/* ------------------------------------------------------------------ today */
.ed-td { position: absolute; inset: 0; }
.ed-td__ov { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tdOv); height: 32px; display: flex; align-items: center; justify-content: space-between; }
/* the week strip: 7 columns of 20, the weekday initial over an 8 pt dot, today in a 20 pt chalk ring */
.ed-wk { display: flex; align-items: flex-start; }
.ed-wk__c { display: flex; flex-direction: column; align-items: center; width: 20px; }
.ed-wk__c b { display: block; height: 10px; margin-bottom: 2px; font: 700 10px/10px var(--ed-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--ed-muted); }
.ed-wk__c i { position: relative; display: block; width: 20px; height: 20px; }
.ed-wk__c i::before { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--ed-faint); }
.ed-wk__c.is-run i::before { background: var(--ed-text); }
.ed-wk__c.is-rest i::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ed-faint); }
.ed-wk__c.is-today i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ed-text); }
.ed-td__cov { position: absolute; left: 16px; top: var(--ed-tdCov); width: var(--ed-cw); height: var(--ed-covH); border-radius: 18px; overflow: hidden; background: var(--ed-s2); transform: translateZ(0); }
.ed-td__vs { position: absolute; inset: 0; }
.ed-td__hl { position: absolute; left: 16px; width: var(--ed-cw); top: calc(var(--ed-tdCov) + var(--ed-covH) - 112px); height: 112px; border-radius: 0 0 18px 18px; overflow: hidden; }
.ed-td__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 9, 0) 0%, rgba(10, 10, 9, .55) 46%, rgba(10, 10, 9, .86) 100%); }
.ed-td__hlin { position: absolute; left: 16px; right: 16px; bottom: 15px; }
.ed-td__t { font-size: 34px; }
.ed-td__m { display: flex; align-items: center; gap: 6px; margin-top: 7px; font: 600 15px/18px var(--ed-sans); color: rgba(244, 244, 240, .88); white-space: nowrap; }
.ed-td__m .ed-calc { margin-left: -2px; color: rgba(244, 244, 240, .8); }
.ed-td__rows { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tdRow); display: flex; flex-direction: column; gap: 2px; }
.ed-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: var(--ed-tdRowH); padding: 0 11px 0 12px; border-radius: 5px; background: var(--ed-card); color: var(--ed-ink); }
.ed-row b { font: 700 15px/1 var(--ed-sans); letter-spacing: -.005em; white-space: nowrap; }
.ed-row__l { display: flex; align-items: center; gap: 6px; }
/* the session done: a 14 pt ink check before each row label (never lime on white) */
.ed-row__ck { display: none; flex: none; color: var(--ed-ink); }
.ed-row__ck .ed-ic-check { width: 14px; height: 14px; }
.ed-td.is-done .ed-row__ck { display: inline-flex; }
.ed-row i { font: 600 14px/1 var(--ed-sans); color: var(--ed-meta); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ed-short .ed-row b { font-size: 14px; }
.ed-short .ed-row i { font-size: 13px; }
.ed-td__src { position: absolute; left: 16px; top: var(--ed-tdSrc); }
.ed-note { display: flex; align-items: center; gap: 10px; }
.ed-note__t { font: 600 15px/1.2 var(--ed-sans); letter-spacing: -.005em; color: var(--ed-text); white-space: nowrap; }
.ed-td__note { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tdNote); height: var(--ed-tdNoteH); }
.ed-td__sum { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tdNote); height: var(--ed-tdNoteH); display: flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; border-radius: 14px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); opacity: 0; }
.ed-td__sd { font: 700 15px/1 var(--ed-sans); }
.ed-td__sm { font: 600 14px/1 var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
.ed-td__hr { position: absolute; right: 12px; top: calc((var(--ed-tdNoteH) - 30px) / 2); width: 104px; height: 30px; justify-content: flex-end; }
.ed-td__hr .ed-hrt b { font-size: 24px; }
.ed-td__pill { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-pill); }

/* ------------------------------------------------------------------ plan */
.ed-pl { position: absolute; inset: 0; }
.ed-pl__ov { position: absolute; left: 16px; top: var(--ed-plOv); }
.ed-pl__t { position: absolute; left: 16px; top: var(--ed-plTitle); }
.ed-pl__bar { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-plBar); height: 6px; display: flex; gap: 4px; }
.ed-pl__seg { position: relative; flex: 1; height: 6px; border-radius: 3px; overflow: hidden; background: var(--ed-s3); }
.ed-pl__fill { position: absolute; inset: 0; background: var(--ed-lime); transform-origin: 0 50%; opacity: 0; }
.ed-pl__ha { position: absolute; left: 16px; top: var(--ed-plHA); }
.ed-pl__hb { position: absolute; left: 16px; top: var(--ed-plHB); }
.ed-pl__runs { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-plRun); display: flex; flex-direction: column; gap: var(--ed-plRunGap); }
.ed-pl__rest { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-plRow); display: flex; flex-direction: column; gap: var(--ed-plRowGap); }
.ed-day { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: var(--ed-plRowH); padding: 0 12px 0 10px; border-radius: 14px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); color: var(--ed-text); text-align: left; }
.ed-day__d { flex: none; width: 40px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ed-day__wd { font: 700 10.5px/12px var(--ed-sans); letter-spacing: .08em; color: var(--ed-muted); }
.ed-day__n { font: 800 24px/1 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-day__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ed-day__t { font: 700 17px/21px var(--ed-sans); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-day__m { display: flex; align-items: center; font: 500 15px/17px var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
.ed-day__go { display: inline-flex; flex: none; color: var(--ed-faint); }
.ed-day.is-rest .ed-day__t { color: var(--ed-muted); font-weight: 600; }
.ed-day.is-rest .ed-day__n { color: var(--ed-muted); }
.ed-day--run { height: var(--ed-plRunH); padding: 0 12px 0 10px; border-radius: 16px; background: var(--ed-card); color: var(--ed-ink); box-shadow: 0 18px 32px -22px rgba(0, 0, 0, .9); }
.ed-day--run .ed-day__wd, .ed-day--run .ed-day__m { color: var(--ed-meta); }
.ed-day--run .ed-day__t { font-size: 17px; }
.ed-short .ed-day__m { font-size: 14px; }
.ed-day--run .ed-day__n { font-size: 28px; }
.ed-day--run .ed-calc { color: var(--ed-meta); }
.ed-day--run .ed-day__go { color: #9A9A94; }
.ed-day--run .ed-day__d { width: 42px; }
.ed-short .ed-day__t { font-size: 16px; }

/* ------------------------------------------------------------------ lift */
.ed-lf { position: absolute; inset: 0; }
.ed-lf__ov { position: absolute; left: 16px; top: var(--ed-lfOv); }
.ed-lf__t { position: absolute; left: 16px; top: var(--ed-lfTitle); }
.ed-lf__m { position: absolute; left: 16px; top: var(--ed-lfMeta); display: flex; align-items: center; font: 600 15px/18px var(--ed-sans); color: var(--ed-muted); }
.ed-lf__her { position: absolute; left: 16px; right: 16px; top: var(--ed-lfHer); }
.ed-act { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-lfCard); height: var(--ed-lfCardH); display: flex; gap: 14px; padding: 12px; border-radius: 18px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-act__vs { flex: none; width: var(--ed-lfClipW); height: var(--ed-lfClipH); border-radius: 12px; }
.ed-act__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 1px; }
.ed-act__ov { display: inline-flex; align-items: center; gap: 6px; color: var(--ed-muted); }
.ed-act__ov svg { width: 14px; height: 14px; }
.ed-act__n { font: 700 17px/1.2 var(--ed-sans); letter-spacing: -.005em; }
.ed-act__s { font: 600 15px/1.2 var(--ed-sans); color: var(--ed-muted); }
.ed-sets { display: flex; gap: 8px; margin-top: auto; }
.ed-set { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ed-s3); font: 700 13px/1 var(--ed-sans); color: var(--ed-muted); font-style: normal; }
.ed-set__ck { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ed-lime); color: var(--ed-night); opacity: 0; }
.ed-set__ck .ed-ic-check { width: 15px; height: 15px; }
.ed-lf__rows { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-lfRow); display: flex; flex-direction: column; gap: var(--ed-lfRowGap); }
.ed-ex { display: flex; align-items: center; gap: 12px; height: var(--ed-lfRowH); padding: 0 14px 0 8px; border-radius: 14px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-ex__th { flex: none; width: 96px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--ed-s2); }
.ed-ex__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ed-ex__b b { font: 700 17px/1.2 var(--ed-sans); letter-spacing: -.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-ex__b span { font: 500 15px/1.2 var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
/* one 6 pt dot per set */
.ed-ex__dots { display: flex; flex: none; gap: 4px; }
.ed-ex__dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ed-faint); }
.ed-short .ed-ex__th { width: 88px; height: 66px; }
.ed-ex--sm .ed-ex__th { width: 56px; height: 42px; border-radius: 10px; }

/* ------------------------------------------------------------------ run (the signature screen) */
.ed-rn { position: absolute; inset: 0; }
.ed-rn__top { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-rnTop); height: 18px; z-index: 4; display: flex; align-items: center; justify-content: space-between; }
.ed-pips { display: flex; gap: 8px; padding-right: 2px; }
.ed-pip { display: block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ed-s3); }
.ed-pip.is-cur { box-shadow: inset 0 0 0 2px var(--ed-text); }
.ed-pip.is-on { background: var(--ed-lime); box-shadow: none; }
.ed-rn__grp { position: absolute; left: 0; right: 0; top: var(--ed-rnCard); height: calc(var(--ed-rnSrc) - var(--ed-rnCard) + 28px); z-index: 4; transform-origin: 50% calc(2 * var(--ed-rnBoxH) + 3px); }
.ed-rn__grp.is-mv, .ed-rn__src.is-mv { will-change: transform; }
.ed-rn__card { font-size: var(--ed-rnFs); }
.ed-rn__card .ed-hc__b { height: var(--ed-rnBoxH); padding: 0 .62em; }
.ed-rn__src { position: absolute; left: 0; right: 0; top: calc(var(--ed-rnSrc) - var(--ed-rnCard)); height: 28px; display: flex; justify-content: center; transform-origin: 50% 0; }
/* the Ego alert (her line holds the run, before her hold): the card at .35, the stats at .45, the centre darker; in with
   the line's pop (200 ms), back over 300 ms on her hold. Opacity only */
.ed-rn__card, .ed-rn__src, .ed-rn__stats { transition: opacity .3s var(--ed-out); }
.ed-rn.is-ego .ed-rn__card, .ed-rn.is-ego .ed-rn__src { opacity: .35; transition-duration: .2s; }
.ed-rn.is-ego .ed-rn__stats { opacity: .45; transition-duration: .2s; }
.ed-rm .ed-rn__card, .ed-rm .ed-rn__src, .ed-rm .ed-rn__stats, .ed-rm .ed-gc__dk { transition-duration: .15s; }
.ed-rn__mid { position: absolute; inset: 0; z-index: 2; }
.ed-rn__ego { position: absolute; left: 16px; right: 16px; top: var(--ed-rnEgo); height: var(--ed-rnEgoH); display: flex; align-items: center; justify-content: center; gap: 12px; opacity: 0; transform-origin: 50% 60%; }
.ed-rn__eb { display: flex; flex-direction: column; gap: 5px; }
.ed-rn__tgt { position: absolute; left: 16px; right: 16px; top: var(--ed-rnEgo); height: var(--ed-rnEgoH); display: flex; align-items: center; justify-content: center; gap: 10px; }
.ed-rn__tgt b { font: 700 16px/1 var(--ed-sans); letter-spacing: -.005em; font-variant-numeric: tabular-nums; }
.ed-rn__tgt .ed-calc { margin-left: -6px; }
.ed-gc { position: absolute; left: 16px; top: var(--ed-rnGc); width: var(--ed-cw); height: var(--ed-gcH); border-radius: 18px; overflow: hidden; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); transform: translateZ(0); }
.ed-gc__vs { position: absolute; inset: 0; opacity: .4; background: var(--ed-s1); }
/* the darkening, centred on the gauge (50% 58%), a 150 x 140 radial: .78 at the centre, .72 at 70%, .2 at the edge; the
   Ego alert lifts the centre to .9 (a second layer at .545 inside 70%, faded in) */
.ed-gc__veil { position: absolute; inset: 0; background: radial-gradient(150px 140px at 50% 58%, rgba(20, 20, 19, .78), rgba(20, 20, 19, .72) 70%, rgba(20, 20, 19, .2) 100%), linear-gradient(180deg, rgba(20, 20, 19, .1) 0%, rgba(20, 20, 19, 0) 40%); }
.ed-gc__dk { position: absolute; inset: 0; opacity: 0; background: radial-gradient(150px 140px at 50% 58%, rgba(20, 20, 19, .545), rgba(20, 20, 19, 0) 70%); transition: opacity .3s var(--ed-out); }
.ed-rn.is-ego .ed-gc__dk { opacity: 1; transition-duration: .2s; }
.ed-g { position: absolute; inset: 0; }
.ed-g__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.ed-g__tr { fill: none; stroke: var(--ed-faint); stroke-opacity: .6; stroke-width: 10; stroke-linecap: round; }
.ed-g__ht { fill: none; stroke-width: 10; }
.ed-g__bd { fill: none; stroke: var(--ed-lime); stroke-width: 10; }
.ed-g__tk { fill: none; stroke: var(--ed-faint); stroke-width: 1.5; stroke-linecap: round; }
.ed-g__tk.is-maj { stroke: var(--ed-muted); stroke-width: 2; }
.ed-g__lb { position: absolute; transform: translate(-50%, -50%); font: 700 12px/1 var(--ed-sans); letter-spacing: .04em; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-g__n { position: absolute; width: 3px; border-radius: 2px; background: var(--ed-text); transform-origin: 50% 100%; will-change: transform; }
.ed-g__n.is-in { background: var(--ed-lime); }
.ed-g__hub { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--ed-text); box-shadow: 0 0 0 4px rgba(20, 20, 19, .85); }
.ed-g__pace { position: absolute; left: 0; right: 0; display: flex; align-items: baseline; justify-content: center; gap: 5px; }
.ed-g__pv { font: 800 64px/.86 var(--ed-display); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.ed-g__pace span { font: 700 15px/1 var(--ed-sans); color: var(--ed-muted); }
/* the pace state bar, 10 under the numerals: lime in the band, the hatch with a chalk outline at 30% when faster than
   5:00 (the .is-fast state), the track between */
.ed-g__bar { position: absolute; left: 50%; top: calc(100% + 3px); width: 96px; height: 6px; margin-left: -48px; border-radius: 3px; overflow: hidden; background: var(--ed-s3); }
.ed-g__bl, .ed-g__bh { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .2s linear; }
.ed-g__bl { background: var(--ed-lime); }
.ed-g.is-in .ed-g__bl { opacity: 1; }
.ed-g.is-fast .ed-g__bar { background: transparent; box-shadow: inset 0 0 0 1px rgba(244, 244, 240, .3); }
.ed-g.is-fast .ed-g__bh { opacity: 1; }
.ed-rr { position: absolute; left: calc(50% - 80px); top: calc(50% - 80px); width: 160px; height: 160px; opacity: 0; }
.ed-rr__svg { position: absolute; inset: 0; }
.ed-rr::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(20, 20, 19, .82); }
.ed-rr__tr { fill: none; stroke: var(--ed-s3); stroke-width: 6; }
.ed-rr__a { fill: none; stroke: var(--ed-lime); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.ed-rr__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-top: 4px; }
.ed-rr__v { font: 800 44px/.9 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-rr__c span { font: 600 13px/1 var(--ed-sans); color: var(--ed-muted); }
.ed-rn__stats { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-rnStats); height: 54px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ed-rn__stats > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ed-rn__stats > div + div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: var(--ed-hl); background: var(--ed-hair2); }
.ed-rn__stats > div > b { display: flex; align-items: center; justify-content: center; height: 32px; font: 800 28px/1 var(--ed-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-rn__stats > div > span { font: 700 11px/14px var(--ed-sans); letter-spacing: .08em; color: var(--ed-muted); }
.ed-rn__hr { width: 112px; }
.ed-rn__res { position: absolute; left: 16px; right: 16px; top: var(--ed-rnRes); height: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1 var(--ed-sans); opacity: 0; }
.ed-rn__cta { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-pill); height: 52px; z-index: 2; }
.ed-rn__cta > .ed-pill { position: absolute; inset: 0; }
.ed-rn__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ed-lime); transform-origin: 0 50%; transform: scaleX(0); }
/* the done overlay: her line in our words, the data line, the heart rate */
.ed-dn { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; }
.ed-dn__line { position: absolute; left: 12px; right: 12px; top: var(--ed-dnLine); height: 32px; display: flex; align-items: center; justify-content: center; gap: 10px; }
/* the line types in under one cover (the ground, a soft leading edge) that slides off it */
.ed-dn__t { position: relative; overflow: hidden; font: 900 26px/1 var(--ed-display); letter-spacing: -.005em; text-transform: uppercase; white-space: nowrap; }
.ed-dn__cv { position: absolute; top: 0; bottom: 0; left: -24px; width: calc(100% + 24px); background: linear-gradient(90deg, rgba(10, 10, 9, 0), var(--ed-ground) 24px); }
.ed-dn__data { position: absolute; left: 12px; right: 12px; top: var(--ed-dnData); text-align: center; font: 800 22px/24px var(--ed-display); letter-spacing: .01em; text-transform: uppercase; color: var(--ed-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ed-dn__chip { position: absolute; left: calc(50% - 66px); top: var(--ed-dnChip); width: 132px; height: 40px; border-radius: 20px; background: var(--ed-s2); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-dn__chip .ed-hrt b { font-size: 26px; }

/* ------------------------------------------------------------------ zone 2 */
.ed-z2 { position: absolute; inset: 0; }
.ed-z2__strip { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-z2Strip); height: var(--ed-z2StripH); border-radius: 18px; overflow: hidden; background: var(--ed-s2); transform: translateZ(0); }
.ed-z2__vs { position: absolute; inset: 0; }
.ed-z2__ov { position: absolute; left: 16px; top: var(--ed-z2Ov); display: flex; gap: 6px; }
.ed-z2__t { position: absolute; left: 16px; top: var(--ed-z2Title); }
.ed-z2__m { position: absolute; left: 16px; right: 16px; top: var(--ed-z2Meta); display: flex; align-items: center; gap: 6px; font: 600 15px/18px var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
.ed-z2__m .ed-calc { margin-left: -2px; }
.ed-z2__f { position: absolute; left: 16px; right: 16px; top: var(--ed-z2Form); font-size: var(--ed-z2FormFs); }
.ed-z2__src { position: absolute; left: 0; right: 0; top: var(--ed-z2Src); display: flex; justify-content: center; }
.ed-z2__zone { position: absolute; left: 16px; right: 16px; top: var(--ed-z2Zone); display: flex; justify-content: center; gap: 8px; }
.ed-z2__card { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-z2Card); height: var(--ed-z2CardH); border-radius: 18px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-zr { position: absolute; left: 12px; top: 12px; width: var(--ed-z2Ring); height: var(--ed-z2Ring); }
.ed-zr__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-zr__tr { fill: none; stroke: var(--ed-s3); stroke-width: 9; }
.ed-zr__ht { fill: none; stroke-width: 9; opacity: 0; }
.ed-zr__a { fill: none; stroke: var(--ed-lime); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ed-zr__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding-top: 4px; }
.ed-zr__v { font: 800 44px/.9 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-zr__c span { font: 700 13px/1 var(--ed-sans); letter-spacing: .02em; color: var(--ed-muted); }
/* beside the ring: the pace (7:05 /km), the mile, the status line, centred on the ring */
.ed-z2__r { position: absolute; left: calc(var(--ed-z2Ring) + 32px); right: 14px; top: 12px; height: var(--ed-z2Ring); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
.ed-z2__st { display: inline-flex; align-items: center; gap: 8px; height: 22px; margin-top: 6px; font: 700 13px/1 var(--ed-sans); letter-spacing: .02em; color: var(--ed-text); }
.ed-z2__in { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--ed-lime); }
.ed-z2__hi { display: none; color: var(--ed-text); }
.ed-z2__st.is-hot .ed-z2__in { display: none; }
.ed-z2__st.is-hot .ed-z2__hi { display: inline-flex; }
.ed-z2__pr { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.ed-z2__pv { font: 800 36px/.9 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-z2__u { font: 700 14px/1 var(--ed-sans); color: var(--ed-muted); }
.ed-z2__mile { font: 600 15px/18px var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
/* the bottom row, under a hairline at 156: her mark, her line on one line, its source */
.ed-z2__rule { position: absolute; left: 14px; right: 14px; top: 156px; height: var(--ed-hl); background: var(--ed-hair2); }
.ed-z2__ego { position: absolute; left: 14px; right: 14px; top: 156px; bottom: 0; display: flex; align-items: center; gap: 10px; }
.ed-z2__eb { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ed-z2__ego .ed-ego { white-space: nowrap; }
.ed-z2__easy { position: absolute; left: 16px; right: 16px; top: var(--ed-z2Easy); }

/* ------------------------------------------------------------------ progress */
.ed-pg { position: absolute; inset: 0; }
.ed-pg__ov { position: absolute; left: 16px; top: var(--ed-pgOv); }
.ed-pg__t { position: absolute; left: 16px; top: var(--ed-pgTitle); }
.ed-pg__chart { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-pgChart); height: var(--ed-pgChartH); border-radius: 18px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-pg__ch { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; align-items: baseline; justify-content: space-between; }
.ed-pg__ch b { font: 700 17px/22px var(--ed-sans); }
.ed-pg__ch span { font: 600 13px/1 var(--ed-sans); color: var(--ed-muted); }
.ed-pg__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.ed-pg__grid { fill: none; stroke: var(--ed-hair); stroke-width: 1; }
.ed-pg__race { fill: none; stroke: var(--ed-faint); stroke-width: 1.5; stroke-dasharray: 4 4; opacity: 0; }
.ed-pg__rl { position: absolute; font: 700 11px/11px var(--ed-sans); letter-spacing: .08em; color: var(--ed-muted); white-space: nowrap; opacity: 0; }
.ed-pg__line { fill: none; stroke: var(--ed-text); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.ed-pg__pt { fill: var(--ed-text); transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; }
.ed-pg__pt.is-last { fill: var(--ed-lime); }
.ed-pg__halo { fill: none; stroke: var(--ed-lime); stroke-width: 1.5; opacity: 0; }
.ed-pg__lbs { position: absolute; inset: 0; }
.ed-pg__v { position: absolute; transform: translateX(-50%); font: 800 24px/1 var(--ed-display); font-variant-numeric: tabular-nums; white-space: nowrap; opacity: 0; }
.ed-pg__w { position: absolute; transform: translateX(-50%); font: 700 12px/1 var(--ed-sans); letter-spacing: .08em; color: var(--ed-muted); opacity: 0; }
.ed-pg__head { position: absolute; left: 16px; right: 16px; top: var(--ed-pgHead); height: 46px; display: flex; align-items: baseline; gap: 8px; }
.ed-pg__big { font: 800 50px/.9 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-pg__hs { font: 700 17px/1.2 var(--ed-sans); letter-spacing: -.005em; }
.ed-pg__head .ed-calc { margin-left: -4px; }
.ed-pg__sess { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-pgSess); height: 66px; padding: 14px 16px 0; border-radius: 16px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-pg__sh { display: flex; align-items: center; gap: 6px; font: 600 15px/18px var(--ed-sans); color: var(--ed-muted); }
.ed-pg__sh b { font-weight: 700; color: var(--ed-text); }
.ed-pg__bar { display: flex; gap: 10px; margin-top: 12px; }
.ed-pg__bar > span { flex: 1; display: flex; gap: 4px; }
.ed-pg__bar i { flex: 1; height: 6px; border-radius: 3px; background: var(--ed-s3); }
.ed-pg__bar i.is-on { background: var(--ed-lime); }
.ed-pg__next { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-pgNext); height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-radius: 16px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); color: var(--ed-faint); }
.ed-pg__ni { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ed-s2); color: var(--ed-text); }
.ed-pg__nt { flex: 1; display: flex; align-items: center; gap: 6px; font: 600 15px/1 var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
.ed-pg__nt b { font-weight: 700; color: var(--ed-text); }

/* ------------------------------------------------------------------ tests (live only) */
.ed-ts { position: absolute; inset: 0; }
.ed-ts__por { position: absolute; left: 16px; top: var(--ed-tsPor); width: 157px; height: 196px; border-radius: 18px; overflow: hidden; background: var(--ed-s2); }
.ed-ts__hd { position: absolute; left: 189px; right: 16px; top: var(--ed-tsTitle); display: flex; flex-direction: column; gap: 8px; }
.ed-ts__t { font-size: 44px; }
.ed-ts__card { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tsCard); height: 116px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px 0 16px; border-radius: 18px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-ts__cl { display: flex; flex-direction: column; gap: 6px; }
.ed-ts__cl b { font: 700 18px/1.1 var(--ed-sans); }
.ed-ts__ic { display: inline-flex; color: var(--ed-text); margin-bottom: 4px; }
.ed-ts__ic svg { width: 20px; height: 20px; }
.ed-ts__big { font: 800 76px/.86 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-ts__l { font: 600 14px/18px var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }
.ed-ts__rows { position: absolute; left: 16px; width: var(--ed-cw); top: var(--ed-tsRows); display: flex; flex-direction: column; gap: 8px; }
.ed-ts__row { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 14px 0 10px; border-radius: 14px; background: var(--ed-s1); box-shadow: inset 0 0 0 1px var(--ed-hair); }
.ed-ts__ri { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ed-s2); }
.ed-ts__k { flex: 1; font: 700 16px/1 var(--ed-sans); }
.ed-ts__v { display: inline-flex; align-items: center; font: 600 15px/1 var(--ed-sans); color: var(--ed-muted); white-space: nowrap; }

/* ------------------------------------------------------------------ the day sheet (live) */
.ed-dy { position: absolute; inset: 0; }
.ed-dy__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .58); opacity: 0; }
.ed-dy__p { position: absolute; left: 0; right: 0; top: var(--ed-dySheet); bottom: 0; padding: 22px 16px 0; border-radius: 28px 28px 0 0; background: var(--ed-s1); box-shadow: inset 0 var(--ed-hl) 0 var(--ed-hair2), 0 -24px 48px -16px rgba(0, 0, 0, .7); transform: translate3d(0, 100%, 0); }
.ed-grab { position: absolute; left: 50%; top: 7px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(244, 244, 240, .22); }
.ed-dy__hd { display: flex; align-items: center; justify-content: space-between; height: 32px; }
.ed-dy__in { margin-top: 4px; display: flex; flex-direction: column; gap: 14px; }
.ed-dy__t { font-size: 32px; }
.ed-dy__m { display: flex; align-items: center; gap: 10px; margin-top: -4px; font: 600 15px/1 var(--ed-sans); color: var(--ed-muted); }
.ed-dy__m .ed-calc { margin-left: -6px; }
.ed-dy__list, .ed-dy__rows { display: flex; flex-direction: column; gap: 8px; }
.ed-dy__rows { gap: 2px; }
.ed-dy__rows .ed-row { --ed-tdRowH: 28px; }
.ed-ex--sm { height: 60px; background: var(--ed-s2); }
.ed-dy__blk { display: flex; align-items: center; gap: 10px; font: 500 15px/1.3 var(--ed-sans); color: var(--ed-muted); }
.ed-dy__blk b { font-weight: 700; color: var(--ed-text); margin-right: 4px; }
.ed-dy__bi { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ed-s2); color: var(--ed-text); }
.ed-hl { display: flex; flex-direction: column; gap: 6px; }
.ed-hl__r { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 10px; border-radius: 12px; background: var(--ed-s2); }
.ed-hl__i { display: inline-flex; color: var(--ed-muted); }
.ed-hl__g { width: 52px; font: 800 26px/1 var(--ed-display); font-variant-numeric: tabular-nums; }
.ed-hl__s { flex: 1; font: 700 15px/1 var(--ed-sans); }
.ed-hl__x { font: 600 14px/1 var(--ed-sans); color: var(--ed-muted); }
.ed-dy__src { display: flex; }
.ed-dy__f { font-size: 13px; }
.ed-dy__zone { position: static; justify-content: flex-start; }
