/* The showreel frame: a 16:9 viewport holding the fixed 1920 x 1080 stage, and the chapter
   controls under it. Flat: hairlines and fills only, never a shadow. */
.reel { position: relative; margin: 0; display: grid; gap: .75rem; min-width: 0; }
.reel-viewport { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-white); border-radius: clamp(.5rem, 1.1vw, 1rem); isolation: isolate; }
.reel-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; overflow: hidden; background: var(--color-white); font-family: var(--font-primary); font-weight: 400; color: var(--color-black); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; font-synthesis: none; }
.reel-stage * { box-sizing: border-box; }
/* The stage is an illustration drawn in stage pixels: its paragraphs take the stage's sizes,
   not the page's paragraph role (which sets size, leading and spacing on every p). */
:where(.reel-stage) p { margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
:where(.reel-stage) p + p { margin-top: 0; }
.reel-scene { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.reel-scene img { display: block; max-width: none; }

.k-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .06em .18em; margin: -.04em -.06em -.18em; line-height: inherit; }
.k-in { display: inline-block; will-change: transform; }

.reel-cursor { position: absolute; left: 0; top: 0; z-index: 50; width: 34px; height: 34px; margin: -4px 0 0 -6px; transform-origin: 6px 4px; pointer-events: none; }
.reel-cursor svg { display: block; }
.reel-click { position: absolute; left: 0; top: 0; z-index: 49; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--color-periwinkle); background: color-mix(in srgb, var(--color-periwinkle) 18%, transparent); pointer-events: none; visibility: hidden; }

/* Chapter controls: one segment per chapter, sized to its length, with its own progress. */
.reel-controls { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .75rem 1rem; }
.reel-toggle { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: var(--rule); background: var(--color-white); color: var(--color-black); cursor: pointer; padding: 0; touch-action: manipulation; }
.reel-toggle:hover { border-color: var(--color-black); }
.reel-toggle:focus-visible, .reel-seg:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; }
.reel-segs { display: flex; gap: 4px; min-width: 0; padding-top: 1.1rem; }
.reel-seg { flex: 1 1 0; min-width: 0; display: grid; gap: .5rem; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--color-text-grey); font: inherit; touch-action: manipulation; }
.reel-seg-track { position: relative; display: block; height: 3px; border-radius: 2px; background: var(--color-rule-grey); overflow: hidden; }
.reel-seg-fill { position: absolute; inset: 0; background: var(--color-black); transform-origin: 0 50%; transform: scaleX(0); }
.reel-seg-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-seg.is-current, .reel-seg:hover { color: var(--color-black); }
.reel-clock { padding-top: .8rem; color: var(--color-text-grey); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Up to 950px the chapter names no longer fit their segments, so only the bar and the clock
   show (spec docs/specs/2026-10-08-mobile-pass.md). */
@media (max-width: 950px) {
  .reel-seg-label { display: none; }
  .reel-segs { padding-top: 1.2rem; }
  .reel-clock { padding-top: .85rem; }
}

/* ---- Hastko app screens (inside the stage only). The apps' own lime marks the active
   item and primary actions, as it does in the product; everything else is greyscale. */
.reel-stage {
  --hx-lime: #DBFF69; --hx-lime-deep: #C8EF4A; --hx-lime-edge: #B9DB45; --hx-bg: #FAFAFA; --hx-line: #EBEBEB;
  --hx-muted: #6B6B6B; --hx-faint: #A3A3A3; --hx-ink-2: #3A3A3A; --hx-slate: #6B7280; --hx-bar: #BDBDBD; --hx-dash: #CFCFCF;
  --hx-gain: #15803D; --hx-gain-bg: #E7F5EC; --hx-veil: rgba(250, 250, 250, .75);
}
/* Telemyr's own colours in the reel (captions, the data map, cards) are palette tokens or tints
   mixed from them. Literal colours appear only in the --hx-* block above. Each mix lands exactly
   on a grey approved in the reel (92, 163, 212 and 51 of 255 per channel). */
.reel-stage {
  --rl-ink-soft: color-mix(in srgb, var(--color-black) 63.92157%, var(--color-white));
  --rl-ink-faint: color-mix(in srgb, var(--color-black) 36.07843%, var(--color-white));
  --rl-trace: color-mix(in srgb, var(--color-black) 16.86275%, var(--color-white));
  --rl-dark-rule: color-mix(in srgb, var(--color-white) 20%, var(--color-black));
}
.hx-icon { display: block; flex: none; }
.hx-window { position: absolute; background: var(--color-white); border: 1px solid var(--color-rule-grey); border-radius: 24px; overflow: hidden; transform-origin: 50% 0; }
.hx-bar { position: absolute; left: 0; right: 0; top: 0; height: 58px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--hx-line); background: var(--color-white); }
.hx-dots { position: absolute; left: 24px; top: 23px; display: flex; gap: 9px; }
.hx-dots i { width: 13px; height: 13px; border-radius: 50%; background: var(--color-rule-grey); }
.hx-app { position: absolute; left: 0; right: 0; top: 58px; bottom: 0; background: var(--hx-bg); overflow: hidden; font-size: 18px; line-height: 1.35; color: var(--color-black); }
.hx-page { position: absolute; inset: 0; }
.hx-logo { position: absolute; left: 34px; top: 26px; height: 46px; width: auto; }
.hx-title { position: absolute; font-size: 30px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; white-space: nowrap; }
.hx-sub { position: absolute; font-size: 18px; color: var(--hx-muted); white-space: nowrap; }
.hx-card { position: absolute; isolation: isolate; background: var(--color-white); border: 1px solid var(--hx-line); border-radius: 22px; overflow: hidden; }
.hx-card-head { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; align-items: center; gap: 14px; }
.hx-card-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--hx-lime); color: var(--color-black); flex: none; }
.hx-card-icon.is-black { background: var(--color-black); color: var(--color-white); }
.hx-card-title { font-size: 21px; line-height: 1.2; white-space: nowrap; }
.hx-card-sub { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.hx-thumb { position: relative; display: inline-block; flex: none; border-radius: 12px; background: var(--color-light-grey); overflow: hidden; }
.hx-thumb img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.hx-dock { position: absolute; display: flex; align-items: center; padding: 0 7px; background: var(--color-white); border: 1px solid var(--hx-line); border-radius: 22px; }
.hx-dock-fill { position: absolute; left: 0; top: 7px; border-radius: 15px; background: var(--hx-lime); }
.hx-dock-item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; font-size: 13px; color: var(--hx-muted); white-space: nowrap; }
.hx-dock-item.is-on { color: var(--color-black); }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 15px; background: var(--color-light-grey); color: var(--color-black); white-space: nowrap; }
.hx-chip--lime { background: var(--hx-lime); }
.hx-chip--black { background: var(--color-black); color: var(--color-white); }
.hx-chip--line { background: var(--color-white); border: 1px solid var(--hx-line); }
.hx-chip--gain { background: var(--hx-gain-bg); color: var(--hx-gain); }
.hx-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hx-line); background: var(--color-white); font-size: 17px; white-space: nowrap; }
.hx-btn--lime { background: var(--hx-lime); border-color: var(--hx-lime); }
.hx-btn--black { background: var(--color-black); border-color: var(--color-black); color: var(--color-white); }
.hx-num { font-variant-numeric: tabular-nums; }
.hx-table { position: absolute; left: 0; right: 0; }
.hx-row { position: absolute; left: 0; right: 0; display: grid; align-items: center; column-gap: 16px; padding: 0 26px; border-top: 1px solid var(--hx-line); font-size: 17px; white-space: nowrap; }
.hx-row.is-head { border-top: 0; color: var(--hx-muted); font-size: 14px; letter-spacing: .02em; text-transform: uppercase; }
.hx-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hx-right { text-align: right; }
.hx-pop { position: absolute; background: var(--color-white); border: 1px solid var(--color-rule-grey); border-radius: 18px; overflow: hidden; }
.hx-pop-item { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; font-size: 18px; white-space: nowrap; }
.hx-pop-item.is-hover { background: var(--color-light-grey); }
.hx-kpi-label { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.hx-kpi-value { font-size: 42px; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.hx-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 15px; color: var(--hx-gain); white-space: nowrap; }
.hx-toast { position: absolute; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--color-black); color: var(--color-white); font-size: 18px; white-space: nowrap; }
.hx-toast .hx-icon { color: var(--hx-lime); }

/* ---- Reel type and stage furniture */
.rl-cap { position: absolute; left: 160px; top: 48px; right: 160px; display: flex; align-items: baseline; justify-content: space-between; gap: 40px; }
.rl-cap-title { font-size: 64px; letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.rl-cap-text { font-size: 28px; line-height: 1.3; color: var(--rl-ink-soft); text-align: right; letter-spacing: -.01em; max-width: 820px; }
.rl-big { position: absolute; font-size: 150px; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.reel-scene.is-white { background: var(--color-white); }
.reel-scene.is-black { background: var(--color-black); color: var(--color-white); }

/* 1. Opening */
.rl-intro-head { position: absolute; left: 150px; top: 236px; font-size: 176px; line-height: 1.02; letter-spacing: -.05em; }
.rl-intro-swap { position: relative; height: 1.04em; }
.rl-swap { position: absolute; left: 0; top: 0; white-space: nowrap; isolation: isolate; }
.rl-hl { position: absolute; left: -.02em; right: .1em; top: .58em; height: .3em; background: var(--hx-lime); z-index: -1; transform-origin: 0 50%; transform: scaleX(0); }
.rl-intro-sub { position: absolute; left: 156px; top: 640px; width: 820px; margin: 0; font-size: 36px; line-height: 1.25; letter-spacing: -.015em; color: var(--rl-ink-soft); }
.rl-lockup { position: absolute; left: 156px; top: 806px; display: flex; align-items: center; gap: 22px; }
.rl-lockup-hastko { height: 34px; width: auto; }
.rl-lockup-x { font-size: 34px; color: var(--color-text-grey); line-height: 1; }
.rl-lockup-telemyr { font-size: 46px; letter-spacing: -.045em; line-height: 1; }
.rl-card { position: absolute; left: 1090px; top: 110px; width: 680px; height: 860px; border-radius: 28px; overflow: hidden; background: var(--color-light-grey); }
.rl-shot { position: absolute; inset: 0; overflow: hidden; }
.rl-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.rl-shot-label { position: absolute; left: 24px; bottom: 24px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--color-white); display: inline-flex; align-items: center; font-size: 16px; letter-spacing: .02em; }
.rl-mini { position: absolute; inset: 0; background: var(--hx-bg); padding: 36px; }
.rl-mini-head { display: flex; align-items: center; justify-content: space-between; }
.rl-mini-logo { height: 30px; width: auto; }
.rl-mini-title { display: flex; align-items: center; gap: 14px; margin: 34px 0 18px; font-size: 26px; letter-spacing: .02em; text-transform: uppercase; }
.rl-mini-row { display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 96px; border-top: 1px solid var(--hx-line); }
.rl-mini-rank { color: var(--color-text-grey); font-size: 16px; }
.rl-mini-name { font-size: 17px; line-height: 1.3; }

/* 2. Sources */
.rl-src-head { position: absolute; left: 150px; top: 96px; font-size: 100px; line-height: 1.04; letter-spacing: -.045em; }
.rl-src-body { position: absolute; left: 1180px; top: 118px; width: 600px; margin: 0; font-size: 28px; line-height: 1.35; color: var(--rl-ink-soft); letter-spacing: -.01em; }
.rl-dg { position: absolute; inset: 0; }
.rl-traces { position: absolute; left: 0; top: 0; overflow: visible; }
.rl-trace { fill: none; stroke: var(--rl-trace); stroke-width: 2; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.rl-pulse { fill: none; stroke: var(--color-black); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .07 .93; opacity: 0; }
.rl-src { position: absolute; border: 1px solid var(--color-rule-grey); border-radius: 20px; background: var(--color-white); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.rl-src > .hx-icon { position: absolute; left: 18px; top: 18px; }
.rl-src-dot { position: absolute; right: 20px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--hx-lime); border: 1px solid var(--hx-lime-edge); transform: scale(0); }
.rl-src-name { font-size: 20px; letter-spacing: -.015em; line-height: 1.15; white-space: nowrap; }
.rl-src-sub { font-size: 14px; color: var(--hx-muted); line-height: 1.25; }
.rl-hub { position: absolute; display: flex; align-items: center; gap: 20px; padding: 0 26px; border-radius: 26px; background: var(--color-black); color: var(--color-white); }
.rl-hub-icon { color: var(--hx-lime); }
.rl-hub-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.rl-hub-name { font-size: 28px; letter-spacing: -.02em; }
.rl-hub-sub { font-size: 16px; color: var(--rl-ink-faint); }
.rl-hub-live { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--hx-lime); color: var(--color-black); font-size: 15px; }
.rl-hub-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-black); }
.rl-app { position: absolute; display: flex; align-items: center; gap: 18px; padding: 0 24px; border: 1px solid var(--color-rule-grey); border-radius: 24px; background: var(--color-white); }
.rl-app-text { display: flex; flex-direction: column; gap: 2px; }
.rl-app-name { font-size: 26px; letter-spacing: -.02em; }
.rl-app-sub { font-size: 16px; color: var(--hx-muted); }

/* Wipes between chapters */
.rl-wipe { position: absolute; inset: 0; z-index: 40; visibility: hidden; display: grid; place-items: center; }
.rl-wipe-mark { width: 150px; height: auto; color: var(--hx-lime); }

/* 3. Retailer ATS */
.rl-slot { position: relative; height: 63px; overflow: hidden; }
.rl-slot-roll { position: absolute; left: 0; right: 0; top: 0; }
.rl-slot-row { display: grid; align-items: center; column-gap: 16px; height: 63px; white-space: nowrap; }
.rl-slot-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rl-col-hl { position: absolute; border-radius: 12px; background: color-mix(in srgb, var(--hx-lime) 38%, transparent); visibility: hidden; }
.rl-tr-row { position: absolute; left: 22px; right: 22px; height: 80px; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 14px; border-top: 1px solid var(--hx-line); }
.rl-tr-name { font-size: 14px; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rl-detail { z-index: 6; visibility: hidden; }
.rl-detail-thumb { position: absolute; left: 26px; top: 22px; }
.rl-detail-name { position: absolute; left: 128px; top: 20px; right: 26px; font-size: 19px; line-height: 1.25; }
.rl-detail-sku { position: absolute; left: 128px; top: 70px; font-size: 14px; color: var(--hx-muted); }
.rl-detail-tags { position: absolute; left: 128px; top: 94px; display: flex; gap: 8px; }
.rl-label { position: absolute; left: 28px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--hx-muted); }
.rl-q-row { position: absolute; left: 28px; right: 28px; height: 44px; display: grid; grid-template-columns: 180px minmax(0, 1fr) 76px; align-items: center; gap: 16px; font-size: 17px; border-top: 1px solid var(--hx-line); }
.rl-q-track { position: relative; height: 10px; border-radius: 5px; background: var(--color-light-grey); overflow: hidden; }
.rl-q-fill { position: absolute; inset: 0; border-radius: 5px; background: var(--hx-bar); transform-origin: 0 50%; transform: scaleX(0); }
.rl-q-fill.is-lime { background: var(--hx-lime-deep); }
.rl-q-fill.is-black { background: var(--color-black); }
.rl-q-val { text-align: right; }
.rl-fin { position: absolute; left: 28px; right: 28px; top: 404px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rl-fin span { display: grid; gap: 2px; }
.rl-fin i { font-style: normal; font-size: 14px; color: var(--hx-muted); }
.rl-fin b { font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.rl-total { position: absolute; left: 28px; right: 28px; top: 468px; height: 54px; padding: 0 22px; border-radius: 16px; background: var(--color-black); color: var(--color-white); display: flex; align-items: center; justify-content: space-between; font-size: 17px; }
.rl-total .hx-num { font-size: 30px; letter-spacing: -.02em; color: var(--hx-lime); }

/* 4. S&OP */
.hx-btn.is-hover { background: var(--color-light-grey); }
.hx-btn.is-press { transform: scale(.94); }
.rl-scen { position: absolute; left: 1370px; top: 21px; width: 194px; height: 58px; justify-content: space-between; border-radius: 16px; padding: 0 14px 0 18px; }
.rl-scen-text { display: grid; line-height: 1.15; }
.rl-scen-wh { font-size: 12px; color: var(--hx-muted); }
.rl-scen-name { font-size: 16px; white-space: nowrap; }
.rl-season { display: grid; grid-template-columns: 150px repeat(4, 1fr); align-items: center; padding: 0 28px; }
.rl-season > span { display: grid; gap: 2px; }
.rl-season i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-season b { font-weight: 400; font-size: 34px; letter-spacing: -.02em; line-height: 1.1; }
.rl-exc-title { position: absolute; left: 22px; top: 20px; right: 22px; font-size: 18px; line-height: 1.3; white-space: normal; }
.rl-exc-n { position: absolute; left: 22px; top: 82px; font-size: 64px; letter-spacing: -.04em; line-height: 1; }
.rl-exc-was { position: absolute; left: 22px; top: 152px; font-size: 15px; color: var(--hx-muted); }
.rl-exc-spark { position: absolute; right: 22px; top: 96px; }
.rl-exc-ok { position: absolute; right: 22px; top: 54px; transform: scale(0); height: 28px; font-size: 14px; }
.rl-exc-foot { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: var(--hx-muted); }
.rl-exc-foot .hx-btn { height: 38px; padding: 0 18px; font-size: 15px; color: var(--color-black); }
.rl-f-name { position: absolute; left: 124px; top: 20px; font-size: 22px; }
.rl-f-sub { position: absolute; left: 124px; top: 52px; font-size: 15px; color: var(--hx-muted); }
.rl-f-tags { position: absolute; left: 124px; top: 78px; display: flex; gap: 8px; }
.rl-f-tags .hx-chip { height: 28px; font-size: 14px; }
.rl-f-kpi { position: absolute; top: 28px; display: grid; gap: 2px; }
.rl-f-kpi i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-f-kpi b { font-weight: 400; font-size: 36px; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.rl-legend { display: inline-flex; align-items: center; gap: 8px; margin-left: 22px; font-size: 15px; color: var(--hx-muted); }
.rl-legend i { width: 14px; height: 14px; border-radius: 4px; }
.rl-legend i.is-dash { width: 22px; height: 0; border-top: 2px dashed var(--hx-slate); border-radius: 0; }
.rl-flag { position: absolute; width: 0; transform-origin: 0 100%; display: grid; justify-items: start; }
.rl-flag .hx-chip { height: 34px; font-size: 15px; transform: translateX(-50%); }
.rl-flag.is-end .hx-chip { transform: translateX(-88%); }
.rl-flag i { width: 2px; height: 26px; background: var(--color-black); margin-left: -1px; }
.rl-po-tag { position: absolute; transform: translateX(-50%); font-size: 14px; white-space: nowrap; padding: 4px 10px; border-radius: 8px; background: var(--color-black); color: var(--hx-lime); }
.rl-t-row { position: absolute; left: 0; right: 0; height: 34px; font-size: 15px; }
.rl-t-label { position: absolute; left: 22px; top: 7px; color: var(--hx-muted); white-space: nowrap; }
.rl-t-cell { position: absolute; top: 4px; height: 26px; line-height: 26px; text-align: center; border-radius: 8px; }
.rl-t-cell.is-new { background: color-mix(in srgb, var(--hx-lime) 60%, transparent); }
.rl-po-head { position: absolute; left: 26px; right: 26px; top: 22px; display: flex; align-items: center; gap: 14px; }
.rl-po-id { font-size: 28px; letter-spacing: -.02em; }
.rl-po-sup { font-size: 15px; color: var(--hx-muted); }
.rl-po-prod { position: absolute; left: 26px; top: 82px; display: flex; align-items: center; gap: 16px; }
.rl-po-prod > span:last-child { display: grid; gap: 2px; }
.rl-po-prod b { font-weight: 400; font-size: 19px; }
.rl-po-prod i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-po-fields { position: absolute; left: 26px; right: 26px; top: 168px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rl-po-fields span { display: grid; gap: 2px; }
.rl-po-fields i { font-style: normal; font-size: 14px; color: var(--hx-muted); }
.rl-po-fields b { font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.rl-steps { position: absolute; left: 112px; right: 112px; top: 268px; height: 60px; }
.rl-steps-line, .rl-steps-fill { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--color-light-grey); }
.rl-steps-fill { background: var(--hx-lime-deep); transform-origin: 0 50%; transform: scaleX(0); }
.rl-step-dot { position: absolute; top: 0; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; display: grid; place-items: center; background: var(--color-white); border: 2px solid var(--color-rule-grey); color: transparent; }
.rl-step-dot.is-done { background: var(--color-black); border-color: var(--color-black); color: var(--hx-lime); }
.rl-step-label { position: absolute; top: 40px; transform: translateX(-50%); font-size: 14px; color: var(--hx-faint); white-space: nowrap; }
.rl-step-label.is-done { color: var(--color-black); }
.rl-del { position: absolute; left: 26px; right: 26px; height: 66px; padding: 0 18px; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--hx-line); border-radius: 16px; background: var(--color-white); }
.rl-del > span:nth-child(2) { display: grid; line-height: 1.25; }
.rl-del b { font-weight: 400; font-size: 18px; }
.rl-del i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-del-u { font-size: 20px; letter-spacing: -.01em; }
.rl-del-note { position: absolute; left: 26px; right: 26px; bottom: 24px; font-size: 15px; color: var(--hx-muted); }
.rl-pop-btns { display: flex; gap: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--hx-line); margin-top: 6px; }
.rl-pop-btns .hx-btn { height: 40px; padding: 0 12px; font-size: 15px; flex: 1; justify-content: center; }
.hx-toast { transform: translateX(-50%); z-index: 9; }

/* 5. Analytics: the app's primary is black, so the dock's active item is black. */
.hx-app.is-analytics .hx-dock-fill { background: var(--color-black); }
.hx-app.is-analytics .hx-dock-item.is-on { color: var(--color-white); }
.rl-kbar { position: absolute; left: 34px; right: 34px; top: 98px; display: flex; align-items: center; gap: 8px; }
.rl-kbar .hx-btn { height: 42px; padding: 0 16px; font-size: 16px; }
.rl-kbar-sep { width: 1px; height: 26px; background: var(--hx-line); margin: 0 6px; }
.rl-kpill { color: var(--hx-muted); min-width: 170px; }
.rl-kpill kbd, .rl-pal kbd { font: inherit; font-size: 13px; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--hx-line); color: var(--hx-muted); margin-left: auto; }
.rl-kpi { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 22px; }
.rl-kpi .hx-kpi-value { font-size: 36px; }
.rl-end-chip { position: absolute; display: flex; align-items: center; gap: 10px; font-size: 22px; letter-spacing: -.01em; white-space: nowrap; }
.rl-tip { position: absolute; left: 0; top: 0; display: grid; gap: 6px; padding: 14px 16px; width: 290px; border-radius: 14px; background: var(--color-white); border: 1px solid var(--color-rule-grey); font-size: 15px; visibility: hidden; }
.rl-tip b { font-weight: 400; font-size: 16px; margin-bottom: 2px; }
.rl-tip > span { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; color: var(--hx-muted); }
.rl-tip > span .hx-num { color: var(--color-black); text-align: right; }
.rl-tip i { width: 10px; height: 10px; border-radius: 3px; }
.rl-veil { position: absolute; inset: 0; background: var(--hx-veil); visibility: hidden; z-index: 7; }
.rl-pal { left: 50%; top: 150px; width: 760px; z-index: 8; visibility: hidden; border-radius: 20px; }
.rl-pal-in { display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 22px; border-bottom: 1px solid var(--hx-line); font-size: 24px; }
.rl-pal-q { flex: 1; letter-spacing: -.01em; }
.rl-pal-list { padding: 8px; }
.rl-pal-list .hx-pop-item { border-radius: 12px; }
.rl-enter { margin-left: 8px !important; }
.rl-g3 { position: absolute; left: 26px; right: 26px; top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rl-g3 span { display: grid; gap: 2px; }
.rl-g3 i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-g3 b { font-weight: 400; font-size: 34px; letter-spacing: -.02em; }
.rl-cover { display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: center; gap: 12px; }
.rl-cover .hx-num { text-align: right; }

/* 6. AI inside (black) */
.rl-ai-head { position: absolute; left: 150px; top: 230px; font-size: 128px; line-height: 1.02; letter-spacing: -.05em; white-space: nowrap; }
.rl-ai-sub { position: absolute; left: 156px; top: 400px; width: 680px; margin: 0; font-size: 32px; line-height: 1.3; letter-spacing: -.015em; color: var(--rl-ink-faint); }
.rl-ai-sum { position: absolute; left: 156px; top: 640px; width: 700px; padding: 26px 28px; border: 1px solid var(--rl-dark-rule); border-radius: 22px; display: grid; gap: 14px; }
.rl-ai-sum-head { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--rl-ink-faint); }
.rl-ai-sum-text { font-size: 25px; line-height: 1.35; letter-spacing: -.01em; min-height: 2.7em; }
.rl-ai-chat { position: absolute; left: 980px; top: 120px; width: 790px; height: 840px; border-radius: 30px; background: var(--color-white); color: var(--color-black); visibility: hidden; }
.rl-ai-chat-head { position: absolute; left: 32px; right: 32px; top: 28px; display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--hx-line); }
.rl-ai-q { position: absolute; right: 32px; top: 150px; max-width: 520px; padding: 18px 22px; border-radius: 22px 22px 6px 22px; background: var(--color-light-grey); font-size: 22px; line-height: 1.35; }
.rl-ai-dots { position: absolute; left: 92px; top: 300px; display: flex; gap: 8px; visibility: hidden; }
.rl-ai-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hx-bar); }
.rl-ai-a { position: absolute; left: 32px; right: 40px; top: 284px; padding-bottom: 16px; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; visibility: hidden; }
.rl-ai-av { width: 44px; height: 44px; border-radius: 13px; }
.rl-ai-a-text { font-size: 25px; line-height: 1.42; letter-spacing: -.01em; min-height: 6em; }
.rl-ai-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rl-ai-input { position: absolute; left: 32px; right: 32px; bottom: 30px; height: 70px; padding: 0 12px 0 24px; border: 1px solid var(--color-rule-grey); border-radius: 999px; display: flex; align-items: center; gap: 12px; }
.rl-ai-input-text { flex: 1; font-size: 21px; white-space: nowrap; overflow: hidden; }
.rl-ai-input-text.is-ph:empty::before { content: "Ask about a formula, column, button\2026"; color: var(--hx-faint); }
.rl-ai-send { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--hx-lime); }
.rl-ai-send.is-press { transform: scale(.88); }

/* Chapter cards and the Telemyr mark iris */
.rl-cv { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }
.rl-iris { position: absolute; inset: 0; z-index: 41; visibility: hidden; }
.rl-iris.is-dark { overflow: hidden; background: var(--color-black); color: var(--color-white); }
.rl-iris-mark { position: absolute; left: 50%; top: 470px; width: 220px; height: 220px; visibility: hidden; }
.rl-iris-word { position: absolute; left: 50%; top: 640px; font-size: 54px; letter-spacing: -.045em; line-height: 1; visibility: hidden; }
.rl-chap { position: absolute; inset: 0; z-index: 42; visibility: hidden; overflow: hidden; background: var(--color-off-white); color: var(--color-black); }
.rl-chap.is-dark { background: var(--color-black); color: var(--color-white); }
.rl-chap-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; transform-origin: 30% 30%; }
.rl-chap-cv { position: absolute; inset: 0; }
.rl-chap-body { position: absolute; inset: 0; transform-origin: 50% 45%; }
.rl-chap-head { position: absolute; left: 120px; right: 120px; top: 84px; display: flex; align-items: center; justify-content: space-between; font-size: 24px; letter-spacing: -.01em; }
.rl-chap-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 34px; letter-spacing: -.04em; }
.rl-chap-mark { width: 46px; height: 46px; }
.rl-chap-num { position: absolute; left: 124px; top: 296px; font-size: 34px; font-variant-numeric: tabular-nums; }
.rl-chap-title { position: absolute; left: 112px; top: 360px; font-size: 230px; line-height: 1.02; letter-spacing: -.055em; white-space: nowrap; }
.rl-chap-line { position: absolute; left: 122px; top: 640px; width: 1300px; font-size: 46px; line-height: 1.2; letter-spacing: -.025em; opacity: .78; }
.rl-chap-row { position: absolute; left: 120px; right: 120px; bottom: 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 22px; }
.rl-chap-row span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 14px; opacity: .42; white-space: nowrap; }
.rl-chap-row b { grid-column: 1 / -1; }
.rl-chap-row em { font-style: normal; font-variant-numeric: tabular-nums; }
.rl-chap-row span.is-on, .rl-chap-row span.is-done { opacity: 1; }
.rl-chap-row b { position: relative; height: 3px; background: currentColor; opacity: .25; overflow: hidden; }
.rl-chap-row span.is-on b { opacity: 1; background: color-mix(in srgb, var(--color-black) 18%, transparent); }
.rl-chap.is-dark .rl-chap-row span.is-on b { background: color-mix(in srgb, var(--color-white) 22%, transparent); }
.rl-chap-row b i { position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; transform: scaleX(0); }
.rl-chap-row span:not(.is-on) b i { display: none; }

/* Disclaimer: inverts against whatever is behind it, so it reads on white, black and the gradient. */
.rl-disclaimer { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 60; margin: 0; text-align: center; font-size: 19px; letter-spacing: .01em; color: var(--color-white); mix-blend-mode: difference; opacity: .8; pointer-events: none; }

/* 7. End card */
.rl-end { position: absolute; inset: 0; overflow: hidden; background: var(--color-off-white); }
.rl-end-lock { position: absolute; left: 0; right: 0; top: 384px; display: flex; align-items: center; justify-content: center; gap: 40px; }
.rl-end-hastko { height: 80px; width: auto; }
.rl-end-x { font-size: 64px; color: color-mix(in srgb, var(--color-black) 45%, transparent); line-height: 1; }
.rl-end-telemyr { display: inline-flex; align-items: center; gap: 18px; font-size: 118px; letter-spacing: -.05em; line-height: 1; }
.rl-end-mark { width: 96px; height: 96px; }
.rl-end-apps { position: absolute; left: 0; right: 0; top: 586px; margin: 0; text-align: center; font-size: 36px; letter-spacing: -.015em; }
.rl-end-line { position: absolute; left: 0; right: 0; top: 646px; margin: 0; text-align: center; font-size: 28px; letter-spacing: -.01em; color: color-mix(in srgb, var(--color-black) 66%, transparent); }
.rl-end-white { position: absolute; inset: 0; background: var(--color-white); visibility: hidden; }
/* The dark end card: white type, the client's black wordmark drawn in white. */
.rl-end.is-dark { background: var(--color-black); color: var(--color-white); }
.rl-end.is-dark .rl-end-hastko { filter: invert(1); }
.rl-end.is-dark .rl-end-x { color: color-mix(in srgb, var(--color-white) 55%, transparent); }
.rl-end.is-dark .rl-end-line { color: color-mix(in srgb, var(--color-white) 66%, transparent); }

/* Tours: one caption per page, stacked; components from reel-kit.js */
.rl-tour-cap { display: block; height: 96px; }
.rl-cap-item { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 40px; }
.rl-cap-left { display: flex; align-items: baseline; gap: 24px; min-width: 0; }
.rl-cap-idx { font-size: 22px; color: var(--color-text-grey); letter-spacing: .02em; visibility: hidden; }
.rl-k-titles { display: grid; gap: 2px; min-width: 0; }
.rl-k-muted { color: var(--hx-muted); }
.rl-k-cell { display: flex; align-items: center; gap: 12px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rl-heat { position: absolute; display: grid; gap: 4px; font-size: 15px; }
.rl-heat-col { display: flex; align-items: center; justify-content: center; color: var(--hx-muted); font-size: 14px; }
.rl-heat-row { display: flex; align-items: center; color: var(--color-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-heat-cell { display: flex; align-items: center; justify-content: center; border-radius: 8px; background: color-mix(in srgb, var(--hx-lime-deep) calc(var(--v) * 95%), transparent); color: var(--color-black); visibility: hidden; }
.rl-fun { position: absolute; display: grid; align-items: center; column-gap: 20px; }
.rl-fun-text { display: grid; gap: 2px; }
.rl-fun-label { font-size: 15px; color: var(--hx-muted); white-space: nowrap; }
.rl-fun-val { font-size: 28px; letter-spacing: -.02em; }
.rl-fun-track { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--hx-bg); }
.rl-fun-bar { height: 72%; border-radius: 10px; transform-origin: 50% 50%; transform: scaleX(0); }
.rl-fun-rate { justify-self: end; visibility: hidden; }
.rl-tg { position: absolute; display: flex; padding: 4px; border-radius: 999px; background: var(--color-light-grey); }
.rl-tg-pill { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--color-black); }
.rl-tg-opt { position: relative; height: 36px; display: grid; place-items: center; font-size: 15px; color: var(--hx-muted); }
.rl-tg-opt.is-on { color: var(--color-white); }
.rl-note { position: absolute; font-size: 15px; color: var(--hx-muted); }
.rl-sum-box { position: absolute; left: 26px; right: 26px; padding: 20px 22px; border-radius: 16px; background: var(--hx-bg); border: 1px solid var(--hx-line); }
.rl-sum-box p { margin: 0; font-size: 19px; line-height: 1.45; min-height: 4.35em; }
.rl-sum-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; color: var(--hx-muted); }
.rl-cell-chip { display: inline-flex; }
.rl-month { position: absolute; display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hx-line); }
.rl-month i { font-style: normal; font-size: 15px; color: var(--hx-muted); }
.rl-month b { font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
.rl-month.is-on { background: var(--hx-lime); border-color: var(--hx-lime); }
.rl-pct { position: absolute; font-size: 15px; transform: translateX(-50%); white-space: nowrap; }
.rl-formula { position: absolute; left: 26px; right: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 18px; }
.rl-formula span { padding: 6px 12px; border-radius: 10px; background: var(--color-light-grey); }
.rl-formula span.is-on { background: var(--hx-lime); }
.rl-formula em { font-style: normal; color: var(--hx-muted); }
.rl-drop { position: absolute; left: 26px; right: 26px; border: 1.5px dashed var(--hx-dash); border-radius: 16px; display: grid; place-items: center; text-align: center; color: var(--hx-muted); font-size: 16px; }
.rl-file { position: absolute; left: 26px; right: 26px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--hx-line); background: var(--color-white); font-size: 16px; }
.hx-btn.rl-btn-sm { height: 40px; padding: 0 16px; font-size: 16px; }
.rl-swap-cell { position: relative; display: inline-flex; align-items: center; height: 40px; overflow: visible !important; }
.rl-swap-cell .hx-chip { position: absolute; left: 0; top: 50%; transform: translateY(-50%); visibility: hidden; }
.rl-k-two { display: grid; min-width: 0; line-height: 1.25; }
.rl-k-two > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-k-two > i { font-style: normal; font-size: 14px; color: var(--hx-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-cover-cell { display: inline-flex; align-items: center; gap: 8px; overflow: visible !important; }
.rl-after { height: 28px; font-size: 14px; visibility: hidden; transform-origin: 0 50%; }
.rl-btn-row { position: absolute; left: 26px; right: 26px; display: flex; gap: 10px; }
.rl-term { position: absolute; left: 26px; right: 26px; height: 68px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 0 18px 0 12px; border-radius: 16px; background: var(--color-light-grey); font-size: 19px; }
.rl-term-op { color: var(--hx-muted); text-align: center; font-size: 22px; }
.rl-term-val { font-size: 24px; letter-spacing: -.01em; }
.rl-term.is-on { background: var(--hx-lime); }
.rl-term.is-on .rl-term-op { color: var(--color-black); }
.rl-gain { color: var(--hx-gain); }
.hx-row.rl-subrow { background: var(--hx-bg); }
.rl-okbox { position: absolute; left: 26px; right: 26px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--hx-lime) 45%, transparent); font-size: 16px; }
.rl-ver { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 30px; border-radius: 8px; background: var(--color-black); color: var(--color-white); font-size: 15px; }
.rl-pp { padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; z-index: 6; visibility: hidden; }
.rl-pp-head { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--hx-line); }
.rl-pp-head .rl-k-two > span { font-size: 18px; }
.rl-pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rl-pp-cell { display: grid; align-content: start; gap: 6px; padding: 14px 16px; border: 1px solid var(--hx-line); border-radius: 14px; min-height: 124px; }
.rl-pp-cell > i { font-style: normal; font-size: 14px; color: var(--hx-muted); }
.rl-pp-cell > b { font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.rl-pp-cell .hx-chip { justify-self: start; }
.rl-pp-mix { display: flex; align-items: stretch; gap: 10px; height: 70px; }
.rl-pp-mixbar { flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: stretch; gap: 4px; font-size: 13px; color: var(--hx-muted); text-align: center; }
.rl-pp-mixbar em { position: relative; display: block; border-radius: 6px; background: var(--color-light-grey); overflow: hidden; }
.rl-pp-mixbar em i { position: absolute; inset: 0; background: var(--color-black); transform-origin: 50% 100%; transform: scaleY(0); }
.rl-pp-ad { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 52px; padding: 0 14px; border: 1px solid var(--hx-line); border-radius: 14px; font-size: 16px; }
