/* JAX Dashboard — visual layer "PULSE" (2026-11-15, full redesign; replaces SIGNAL · NIGHT SKY, whose sky.css is no
   longer linked). Loads right after app.css and re-skins every screen, owner and rep, phone first.
   Palette (45 / 45 / 10): 45% Carbon (near-black neutral canvas, no navy), 45% Graphite + Bone (raised surfaces and
   warm-white type), 10% Pulse pink (#FF4D8D, the single action colour: the one primary button per screen, live data,
   progress). Aqua (#4FD8EB) is the "it worked" data colour (connects, booked, goals met); Ember (#FF6B57) is the only
   "stop" colour. No navy-and-orange, no green, no gold (green and gold belong to the public website and the logo).
   Type: Mona Sans (self-hosted variable, width axis) for everything: wide heavy numerals for the big figures, normal
   width for text; Geist Mono only for phone numbers and key caps. Shape: 12 / 16 / 22 radii, pill chips.
   Depth: tactile keys (lit top edge, 2-3 px ledge, press sinks), soft layered shadows, one quiet accent bloom behind
   the hero figure. Motion: 120-220 ms ease-out, press 90 ms; prefers-reduced-motion removes every movement.
   Raw colours live only in the token blocks (static check); everything after "pulse: components" uses tokens. */

/* Pulse Night (default) */
:root {
  color-scheme: dark;
  --page: #0B0B0E;
  --bg: #0B0B0E; --bg-2: #141418; --bg-3: #1C1C22; --bg-4: #26262E;
  --line: rgba(255, 255, 255, .075); --line-hi: rgba(255, 255, 255, .13); --ctrl: #5E5D6B;
  --ink: #F6F4F1; --ink-2: #BAB7C2; --ink-3: #95929F;
  --volt: #FF4D8D; --volt-ledge: #B81F5A; --volt-ink: #FF8DB6; --on-volt: #14060C;
  --signal: #A9B4FF; --ice: #4FD8EB; --flare: #FF9F6E; --on-flare: #14060C; --on-ice: #04181C;
  --warn: #FFB15E; --bad: #FF6B57; --focus: #FF8DB6;
  --volt-soft: rgba(255, 77, 141, .15); --signal-soft: rgba(169, 180, 255, .12); --ice-soft: rgba(79, 216, 235, .12); --flare-soft: rgba(255, 159, 110, .13); --warn-soft: rgba(255, 177, 94, .13); --bad-soft: rgba(255, 107, 87, .13);
  --island: rgba(22, 22, 27, .92); --veil: rgba(255, 255, 255, .1); --hdr: rgba(11, 11, 14, .82); --edge-hi: inset 0 1px 0 rgba(255, 255, 255, .06);
  --sh-float: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 18px 48px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .4); --sh-menu: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 48px rgba(0, 0, 0, .6);
  --scrim: rgba(4, 4, 6, .66);
  --btn-edge: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 0 0 1px rgba(255, 255, 255, .07); --tile-bg: var(--bg-2); --tile-edge: inset 0 0 0 1px var(--line); --island-edge: inset 0 0 0 1px rgba(255, 255, 255, .08);
  --card-sh: inset 0 1px 0 rgba(255, 255, 255, .045), 0 1px 2px rgba(0, 0, 0, .5); --dock-sh: inset 0 1px 0 rgba(255, 255, 255, .06), 0 -12px 32px rgba(0, 0, 0, .5);
  --key-bg: var(--bg-3); --key-edge: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06); --mark-tile-bg: transparent; --auth-tile: 64px; --stage-bg: var(--bg-2);
  --mark-tile: #141418;
  --key-ledge: rgba(0, 0, 0, .55); --key-top: rgba(255, 255, 255, .09);
  --bloom: rgba(255, 77, 141, .2); --bloom-2: rgba(79, 216, 235, .1);
  --hero-a: #1A1A20; --hero-b: #121216;
  --primary-hi: #FF6FA3;
  --o-book: #4FD8EB; --o-sold: #FF4D8D; --o-int: #A9B4FF; --o-cb: #C9C4D6; --o-vm: #8F8C9B; --o-na: #6E6C7A; --o-ni: #FF6B57; --o-wn: #FFB15E;
  /* SKY tokens (sky.css still supplies layout for the Nov 14-15 components; its sky is off): all flattened to PULSE */
  --page-0: transparent; --on-sky: var(--ink); --on-sky-2: var(--ink-2);
  --sky-0: var(--page); --sky-1: var(--page); --sky-2: var(--page); --sky-3: var(--page); --sky-4: var(--page);
  --dawn-0: var(--page); --dawn-1: var(--page); --dawn-2: var(--page); --dawn-3: var(--page); --dawn-4: var(--page); --dawn-rim: var(--line); --dawn-top: var(--page); --dawn-tint: transparent;
  --star: transparent; --spark: transparent; --orb-1: transparent; --orb-2: transparent; --orb-3: transparent; --orb-halo: transparent; --orb-halo-2: transparent;
  --aur-1: transparent; --aur-2: transparent; --aur-3: transparent; --glow-1: transparent; --glow-2: transparent; --glow-dawn: transparent; --veil-top: transparent; --veil-none: transparent;
  --burst-1: transparent; --burst-2: transparent; --burst-3: transparent; --burst-ray: transparent; --burst-sold: transparent;
  --far-top: var(--page); --far-mid: var(--page); --far-low: var(--page); --far-rim: var(--page); --far-hi: var(--page); --far-shade: var(--page); --wisp: transparent;
  --mid-top: var(--page); --mid-mid: var(--page); --mid-low: var(--page); --mid-rim: var(--page); --mid-hi: var(--page); --mid-shade: var(--page);
  --near-top: var(--page); --near-mid: var(--page); --near-low: var(--page); --near-rim: var(--page); --near-hi: var(--page); --near-shade: var(--page);
  --glass-c: var(--bg-2); --glass-c2: var(--bg-3); --glass-hi: var(--bg-2); --glass-lo: var(--bg-2); --sheet: var(--bg-2); --sheet-hi: var(--line); --frost: var(--hdr); --dock: var(--bg-2); --frost-hi: transparent; --frost-lo: transparent;
  --glass-edge: var(--line); --glass-rim: var(--key-top);
  --key-c: var(--bg-3); --key-hi: var(--bg-3); --key-lo: var(--bg-3);
  --o-none: var(--o-na); --o-book-2: var(--o-book); --o-sold-2: var(--o-sold);
  --call-1: var(--volt); --call-2: var(--volt); --call-3: var(--volt); --call-glow: var(--bloom); --call-ring: var(--volt-soft); --call-ledge: var(--volt-ledge);
  --page-8: rgba(11, 11, 14, .82); --glass-sh: rgba(0, 0, 0, .45);
}
/* Pulse Day ("Bone"): chosen in Settings (data-theme="light"), or Device on a phone set to light. */
:root[data-theme="light"] {
  color-scheme: light;
  --page: #F3F2EF;
  --bg: #F3F2EF; --bg-2: #FFFFFF; --bg-3: #FFFFFF; --bg-4: #ECEBE7;
  --line: rgba(20, 18, 24, .09); --line-hi: rgba(20, 18, 24, .16); --ctrl: #8C8A93;
  --ink: #141218; --ink-2: #4A4851; --ink-3: #66646D;
  --volt: #D61C66; --volt-ledge: #9C0E47; --volt-ink: #C0155A; --on-volt: #FFFFFF;
  --signal: #3F4FD0; --ice: #08788D; --flare: #9A3510; --on-flare: #FFFFFF; --on-ice: #FFFFFF;
  --warn: #9A5300; --bad: #C2341F; --focus: #C0155A;
  --volt-soft: rgba(214, 28, 102, .09); --signal-soft: rgba(63, 79, 208, .08); --ice-soft: rgba(8, 120, 141, .09); --flare-soft: rgba(182, 67, 27, .08); --warn-soft: rgba(154, 83, 0, .09); --bad-soft: rgba(194, 52, 31, .08);
  --island: rgba(255, 255, 255, .94); --veil: rgba(255, 255, 255, .3); --hdr: rgba(243, 242, 239, .86); --edge-hi: none;
  --sh-float: 0 1px 2px rgba(20, 18, 24, .06), 0 16px 40px rgba(20, 18, 24, .12); --sh-menu: 0 0 0 1px rgba(20, 18, 24, .08), 0 16px 40px rgba(20, 18, 24, .14);
  --scrim: rgba(20, 18, 24, .36);
  --btn-edge: inset 0 0 0 1px rgba(20, 18, 24, .1); --tile-bg: var(--bg-2); --tile-edge: inset 0 0 0 1px var(--line); --island-edge: inset 0 0 0 1px rgba(20, 18, 24, .08);
  --card-sh: 0 1px 2px rgba(20, 18, 24, .05), 0 0 0 1px rgba(20, 18, 24, .06); --dock-sh: 0 -1px 0 rgba(20, 18, 24, .08), 0 -10px 28px rgba(20, 18, 24, .07);
  --key-bg: var(--bg-2); --key-edge: inset 0 0 0 1px rgba(20, 18, 24, .1); --mark-tile-bg: transparent; --auth-tile: 64px; --stage-bg: var(--bg-2);
  --mark-tile: #141418;
  --key-ledge: rgba(20, 18, 24, .14); --key-top: rgba(255, 255, 255, .9);
  --bloom: rgba(214, 28, 102, .1); --bloom-2: rgba(8, 120, 141, .07);
  --hero-a: #FFFFFF; --hero-b: #FAF9F7;
  --primary-hi: #E5367C;
  --o-book: #08788D; --o-sold: #D61C66; --o-int: #3F4FD0; --o-cb: #5A5762; --o-vm: #6E6C76; --o-na: #8C8A93; --o-ni: #C2341F; --o-wn: #9A5300;
  /* SKY tokens (sky.css still supplies layout for the Nov 14-15 components; its sky is off): all flattened to PULSE */
  --page-0: transparent; --on-sky: var(--ink); --on-sky-2: var(--ink-2);
  --sky-0: var(--page); --sky-1: var(--page); --sky-2: var(--page); --sky-3: var(--page); --sky-4: var(--page);
  --dawn-0: var(--page); --dawn-1: var(--page); --dawn-2: var(--page); --dawn-3: var(--page); --dawn-4: var(--page); --dawn-rim: var(--line); --dawn-top: var(--page); --dawn-tint: transparent;
  --star: transparent; --spark: transparent; --orb-1: transparent; --orb-2: transparent; --orb-3: transparent; --orb-halo: transparent; --orb-halo-2: transparent;
  --aur-1: transparent; --aur-2: transparent; --aur-3: transparent; --glow-1: transparent; --glow-2: transparent; --glow-dawn: transparent; --veil-top: transparent; --veil-none: transparent;
  --burst-1: transparent; --burst-2: transparent; --burst-3: transparent; --burst-ray: transparent; --burst-sold: transparent;
  --far-top: var(--page); --far-mid: var(--page); --far-low: var(--page); --far-rim: var(--page); --far-hi: var(--page); --far-shade: var(--page); --wisp: transparent;
  --mid-top: var(--page); --mid-mid: var(--page); --mid-low: var(--page); --mid-rim: var(--page); --mid-hi: var(--page); --mid-shade: var(--page);
  --near-top: var(--page); --near-mid: var(--page); --near-low: var(--page); --near-rim: var(--page); --near-hi: var(--page); --near-shade: var(--page);
  --glass-c: var(--bg-2); --glass-c2: var(--bg-3); --glass-hi: var(--bg-2); --glass-lo: var(--bg-2); --sheet: var(--bg-2); --sheet-hi: var(--line); --frost: var(--hdr); --dock: var(--bg-2); --frost-hi: transparent; --frost-lo: transparent;
  --glass-edge: var(--line); --glass-rim: var(--key-top);
  --key-c: var(--bg-3); --key-hi: var(--bg-3); --key-lo: var(--bg-3);
  --o-none: var(--o-na); --o-book-2: var(--o-book); --o-sold-2: var(--o-sold);
  --call-1: var(--volt); --call-2: var(--volt); --call-3: var(--volt); --call-glow: var(--bloom); --call-ring: var(--volt-soft); --call-ledge: var(--volt-ledge);
  --page-8: rgba(243, 242, 239, .86); --glass-sh: rgba(20, 18, 24, .12);
}
@media (prefers-color-scheme: light) {
  :root[data-theme="device"] {
    color-scheme: light;
    --page: #F3F2EF;
    --bg: #F3F2EF; --bg-2: #FFFFFF; --bg-3: #FFFFFF; --bg-4: #ECEBE7;
    --line: rgba(20, 18, 24, .09); --line-hi: rgba(20, 18, 24, .16); --ctrl: #8C8A93;
    --ink: #141218; --ink-2: #4A4851; --ink-3: #66646D;
    --volt: #D61C66; --volt-ledge: #9C0E47; --volt-ink: #C0155A; --on-volt: #FFFFFF;
    --signal: #3F4FD0; --ice: #08788D; --flare: #9A3510; --on-flare: #FFFFFF; --on-ice: #FFFFFF;
    --warn: #9A5300; --bad: #C2341F; --focus: #C0155A;
    --volt-soft: rgba(214, 28, 102, .09); --signal-soft: rgba(63, 79, 208, .08); --ice-soft: rgba(8, 120, 141, .09); --flare-soft: rgba(182, 67, 27, .08); --warn-soft: rgba(154, 83, 0, .09); --bad-soft: rgba(194, 52, 31, .08);
    --island: rgba(255, 255, 255, .94); --veil: rgba(255, 255, 255, .3); --hdr: rgba(243, 242, 239, .86); --edge-hi: none;
    --sh-float: 0 1px 2px rgba(20, 18, 24, .06), 0 16px 40px rgba(20, 18, 24, .12); --sh-menu: 0 0 0 1px rgba(20, 18, 24, .08), 0 16px 40px rgba(20, 18, 24, .14);
    --scrim: rgba(20, 18, 24, .36);
    --btn-edge: inset 0 0 0 1px rgba(20, 18, 24, .1); --tile-bg: var(--bg-2); --tile-edge: inset 0 0 0 1px var(--line); --island-edge: inset 0 0 0 1px rgba(20, 18, 24, .08);
    --card-sh: 0 1px 2px rgba(20, 18, 24, .05), 0 0 0 1px rgba(20, 18, 24, .06); --dock-sh: 0 -1px 0 rgba(20, 18, 24, .08), 0 -10px 28px rgba(20, 18, 24, .07);
    --key-bg: var(--bg-2); --key-edge: inset 0 0 0 1px rgba(20, 18, 24, .1); --mark-tile-bg: transparent; --auth-tile: 64px; --stage-bg: var(--bg-2);
    --mark-tile: #141418;
    --key-ledge: rgba(20, 18, 24, .14); --key-top: rgba(255, 255, 255, .9);
    --bloom: rgba(214, 28, 102, .1); --bloom-2: rgba(8, 120, 141, .07);
    --hero-a: #FFFFFF; --hero-b: #FAF9F7;
    --primary-hi: #E5367C;
    --o-book: #08788D; --o-sold: #D61C66; --o-int: #3F4FD0; --o-cb: #5A5762; --o-vm: #6E6C76; --o-na: #8C8A93; --o-ni: #C2341F; --o-wn: #9A5300;
    /* SKY tokens (sky.css still supplies layout for the Nov 14-15 components; its sky is off): all flattened to PULSE */
    --page-0: transparent; --on-sky: var(--ink); --on-sky-2: var(--ink-2);
    --sky-0: var(--page); --sky-1: var(--page); --sky-2: var(--page); --sky-3: var(--page); --sky-4: var(--page);
    --dawn-0: var(--page); --dawn-1: var(--page); --dawn-2: var(--page); --dawn-3: var(--page); --dawn-4: var(--page); --dawn-rim: var(--line); --dawn-top: var(--page); --dawn-tint: transparent;
    --star: transparent; --spark: transparent; --orb-1: transparent; --orb-2: transparent; --orb-3: transparent; --orb-halo: transparent; --orb-halo-2: transparent;
    --aur-1: transparent; --aur-2: transparent; --aur-3: transparent; --glow-1: transparent; --glow-2: transparent; --glow-dawn: transparent; --veil-top: transparent; --veil-none: transparent;
    --burst-1: transparent; --burst-2: transparent; --burst-3: transparent; --burst-ray: transparent; --burst-sold: transparent;
    --far-top: var(--page); --far-mid: var(--page); --far-low: var(--page); --far-rim: var(--page); --far-hi: var(--page); --far-shade: var(--page); --wisp: transparent;
    --mid-top: var(--page); --mid-mid: var(--page); --mid-low: var(--page); --mid-rim: var(--page); --mid-hi: var(--page); --mid-shade: var(--page);
    --near-top: var(--page); --near-mid: var(--page); --near-low: var(--page); --near-rim: var(--page); --near-hi: var(--page); --near-shade: var(--page);
    --glass-c: var(--bg-2); --glass-c2: var(--bg-3); --glass-hi: var(--bg-2); --glass-lo: var(--bg-2); --sheet: var(--bg-2); --sheet-hi: var(--line); --frost: var(--hdr); --dock: var(--bg-2); --frost-hi: transparent; --frost-lo: transparent;
    --glass-edge: var(--line); --glass-rim: var(--key-top);
    --key-c: var(--bg-3); --key-hi: var(--bg-3); --key-lo: var(--bg-3);
    --o-none: var(--o-na); --o-book-2: var(--o-book); --o-sold-2: var(--o-sold);
    --call-1: var(--volt); --call-2: var(--volt); --call-3: var(--volt); --call-glow: var(--bloom); --call-ring: var(--volt-soft); --call-ledge: var(--volt-ledge);
    --page-8: rgba(243, 242, 239, .86); --glass-sh: rgba(20, 18, 24, .12);
  }
}

/* ---------- pulse: components ---------- */
:root {
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r: 12px;
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus);
  --sh-1: var(--card-sh); --sh-2: var(--card-sh); --sh-3: var(--sh-float);
  --ease: cubic-bezier(.2, .8, .2, 1); --t-press: 90ms; --t-quick: 120ms; --t-in: 200ms; --t-panel: 220ms;
  --fig: "Mona Sans", system-ui, sans-serif;
  --top-h: 60px; --tab-h: 68px;
}
html, body { background: var(--page); color: var(--ink); }
body { font-family: var(--sans); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -.005em; }
::selection { background: var(--volt-soft); }
.num, .fig, .stat-n, .kpi-n, .ring-n { font-variant-numeric: tabular-nums; }


/* ---------- type ---------- */
h1, h2, h3, .page-t, .tb-title, .pane-t, .card h2, .card h3 { font-family: var(--sans); color: var(--ink); }
.page-t { font-size: 30px; font-weight: 740; font-stretch: 110%; letter-spacing: -.035em; line-height: 1.08; }
.page-s { color: var(--ink-3); font-size: 14.5px; line-height: 1.45; margin-top: 4px; }
.pane-t, .card > h2, .card > header h2 { font-size: 15px; font-weight: 680; font-stretch: 104%; letter-spacing: -.01em; }
.pane-src { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.muted, .dim-text { color: var(--ink-3); }
.fig-v, .ring-n, .mini-n, .rc-v, .big, .kpi .fig-v { font-family: var(--fig); font-weight: 780; font-stretch: 118%; letter-spacing: -.045em; font-variant-numeric: tabular-nums lining-nums; color: var(--ink); }
.fig-l { color: var(--ink-3); font-size: 12.5px; font-weight: 560; letter-spacing: 0; }
.phone-big { font-family: var(--mono); font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.kc, kbd.kc { font-family: var(--mono); font-size: 11px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; background: var(--bg-4); color: var(--ink-2); border: 0; box-shadow: inset 0 -1px 0 var(--key-ledge), inset 0 1px 0 var(--key-top); }

/* ---------- surfaces ---------- */
.card, .pane { background: var(--bg-2); border: 0; border-radius: var(--r-lg); box-shadow: var(--card-sh); }
.pane-h { border-bottom: 1px solid var(--line); }
.badge, .chip, .tag { border-radius: 999px; }
.banner { border-radius: var(--r-md); border: 0; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- buttons: tactile keys (lit top edge, ledge underneath, the press sinks onto it) ---------- */
.btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--bg-3); color: var(--ink); font-weight: 620; font-size: 14.5px; font-stretch: 104%; letter-spacing: -.005em;
  box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 2px 0 var(--key-ledge); transition: transform var(--t-press) var(--ease); }
.btn:hover { background: var(--bg-4); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 0 0 var(--key-ledge); }
.btn:focus-visible { outline: none; box-shadow: inset 0 1px 0 var(--key-top), 0 2px 0 var(--key-ledge), var(--ring); }
.btn.primary { background: var(--volt); color: var(--on-volt); font-weight: 700; box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge), 0 10px 24px -10px var(--bloom); }
.btn.primary:hover { background: var(--primary-hi); }
.btn.primary:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--primary-hi), 0 0 0 var(--volt-ledge); }
.btn.primary:focus-visible { box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge), var(--ring); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn.ghost:active { transform: translateY(1px); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13.5px; border-radius: 10px; }
.btn.lg { min-height: 54px; padding: 0 22px; font-size: 16px; border-radius: var(--r-md); }
.btn.danger.solid, .btn.danger.primary { background: var(--bad); color: var(--on-volt); box-shadow: inset 0 1px 0 var(--key-top), 0 3px 0 var(--key-ledge); }
.btn.primary .kc, .btn-call .kc, .k-call .kc { background: var(--veil); color: var(--on-volt); box-shadow: none; }
.seg { background: var(--bg); border-radius: var(--r-sm); padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button, .seg a { border-radius: 9px; color: var(--ink-3); font-weight: 600; }
.seg [aria-checked="true"], .seg [aria-selected="true"], .seg [aria-pressed="true"], .seg .on { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 1px 0 var(--key-top), 0 1px 2px var(--key-ledge); }
.input, input.input, select.input, textarea.input { border-radius: var(--r-sm); background: var(--bg); border: 0; box-shadow: inset 0 0 0 1px var(--line-hi); color: var(--ink); }
.input:focus, .input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--focus), 0 0 0 3px var(--volt-soft); }

/* ---------- shell ---------- */
.rail { background: var(--bg); border-right: 1px solid var(--line); padding: 14px 12px 16px; }
.rail-g { color: var(--ink-3); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 14px 10px 6px; }
.rail-link, .rail-btn { height: 38px; border-radius: 10px; color: var(--ink-2); font-weight: 560; font-size: 14px; }
.rail-link:hover, .rail-btn:hover { background: var(--bg-3); color: var(--ink); }
.rail-link[aria-current="page"] { background: var(--bg-3); color: var(--ink); font-weight: 650; box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line); }
.rail-link[aria-current="page"]::before, .rail-link[aria-current="page"]::after { content: none !important; }
.rail-link[aria-current="page"] .rl-i { color: var(--volt); }
.nav-count { background: var(--bg-4); color: var(--ink-2); border-radius: 999px; font-size: 11.5px; font-weight: 650; }
.topbar { background: var(--hdr); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); }
.cmd, .topbar .cmd { border-radius: var(--r-sm); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); border: 0; }
.tb-profile .avatar, .avatar { background: var(--volt-soft); color: var(--volt-ink); font-weight: 700; }
.main { background: transparent; }
.page-h { align-items: flex-end; }
.toast { border-radius: var(--r-md); background: var(--bg-3); color: var(--ink); border: 0; box-shadow: var(--sh-float), inset 0 0 0 1px var(--line-hi); }
.sheet, .drawer, .palette, .dialog, .menu { background: var(--bg-2); border: 0; box-shadow: var(--sh-float), inset 0 0 0 1px var(--line); }
.sheet { border-radius: 24px 24px 0 0; }

/* ---------- home: the hero (today in big numbers) ---------- */
.momentum-card { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--hero-a), var(--hero-b)); box-shadow: var(--card-sh), inset 0 0 0 1px var(--line); border-radius: var(--r-lg); padding: 28px 20px 18px; }
.momentum-card::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -40%; width: 140%; height: 120%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--bloom), transparent 70%); pointer-events: none; opacity: calc(.45 + var(--day-p, 0) * .55); }
.momentum-card .ring-n { font-size: 64px; line-height: 1; }
.momentum-card .ring-g { color: var(--ink-3); font-weight: 560; }
.ring-track { stroke: var(--bg-4); }
.ring-arc { stroke: var(--volt); }
.ring.done .ring-arc { stroke: var(--ice); }
.figs3 { gap: 10px; padding: 0; }
.figs3 .fig, .figs .fig { background: var(--bg-2); border-radius: var(--r-md); padding: 14px 14px 12px; box-shadow: var(--card-sh); }
.figs3 .fig-v { font-size: 36px; line-height: 1; }
.welcome { background: var(--bg-2); border: 0; box-shadow: var(--card-sh), inset 3px 0 0 var(--volt); border-radius: var(--r-lg); }
.welcome .n { background: var(--volt-soft); color: var(--volt-ink); box-shadow: none; font-weight: 700; }
.streak-chip { background: var(--flare-soft); color: var(--flare); border-radius: 999px; font-weight: 680; }
.btn.start { min-height: 56px; border-radius: var(--r-md); font-size: 16.5px; }

/* ---------- call desk ---------- */
.momentum { background: var(--bg-2); border: 0; box-shadow: var(--card-sh); }
.climb { display: none !important; }
.dsw { background: var(--hdr); border-bottom: 1px solid var(--line); }
.dsw button[aria-selected="true"] { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 1px 0 var(--key-top), 0 1px 2px var(--key-ledge); }
.q-row, .qrow, .q-b { border-radius: 12px; }
.q-row[aria-selected="true"], .qrow.cur, .q-row.cur, [data-cur="true"] { background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-hi); }
.btn-call { height: 56px; border-radius: var(--r-md); padding: 0 20px 0 10px; background: var(--volt); color: var(--on-volt); font-weight: 720; box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge), 0 12px 28px -12px var(--bloom); transition: transform var(--t-press) var(--ease); }
.btn-call:hover { background: var(--primary-hi); }
.btn-call:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--primary-hi), 0 0 0 var(--volt-ledge); }
.btn-call .bc-i { background: var(--veil); color: var(--on-volt); }
.btn-call.live { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--ice), 0 3px 0 var(--key-ledge); }
.btn-call.live .bc-i { background: var(--ice-soft); color: var(--ice); }
.fkeys { background: var(--bg-2); border: 0; box-shadow: var(--dock-sh); border-radius: var(--r-lg); }
.fkey { --oc: var(--ink-3); min-height: 56px; border: 0; border-radius: 14px; background: var(--bg-3); color: var(--ink); font-weight: 650;
  box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 3px 0 var(--key-ledge); transition: transform var(--t-press) var(--ease); }
.fkey:hover { background: var(--bg-4); transform: none; box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line-hi), 0 3px 0 var(--key-ledge); border-color: transparent; }
.fkey:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 0 0 var(--key-ledge); }
.fkey:focus-visible { box-shadow: inset 0 1px 0 var(--key-top), 0 3px 0 var(--key-ledge), var(--ring); }
.fkey .fk-i, .fkey > .ico { color: var(--oc); }
.fkey.o-no_answer { --oc: var(--o-na); } .fkey.o-voicemail { --oc: var(--o-vm); } .fkey.o-callback { --oc: var(--o-cb); } .fkey.o-interested { --oc: var(--o-int); }
.fkey.o-not_interested { --oc: var(--o-ni); } .fkey.o-wrong_number { --oc: var(--o-wn); }
.fkey.o-booked { --oc: var(--on-ice); background: var(--ice); color: var(--on-ice); box-shadow: inset 0 1px 0 var(--key-top), 0 3px 0 var(--key-ledge); }
.fkey.o-sold { --oc: var(--on-volt); background: var(--volt); color: var(--on-volt); box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge); }
.fkey.o-booked:hover { background: var(--ice); filter: brightness(1.06); }
.fkey.o-sold:hover { background: var(--primary-hi); }
.fkey.o-sold .fk-i { background: transparent; color: var(--on-volt); }
.fkey.o-booked .kc, .fkey.o-sold .kc { background: var(--veil); color: inherit; box-shadow: none; }
.k-call, .fkey.k-call { background: var(--volt); color: var(--on-volt); box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge); }
.cp-strip { background: var(--bg-3); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-hi); }
.cps-dot { background: var(--ice); box-shadow: 0 0 0 4px var(--ice-soft); }
.cps-line { color: var(--ink); font-weight: 650; }
.cps-heard { color: var(--volt-ink); font-weight: 600; }

/* ---------- phone shell ---------- */
@media (max-width: 767px) {
  .topbar { background: var(--hdr); border-bottom: 1px solid var(--line); }
  .tb-title { font-size: 22px; font-weight: 760; font-stretch: 112%; letter-spacing: -.035em; }
  .tabbar { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); border-radius: 24px; background: var(--island); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: var(--sh-float), inset 0 0 0 1px var(--line-hi); }
  .tab { color: var(--ink-3); font-weight: 600; }
  .tab[aria-current="page"] { color: var(--ink); }
  .tab[aria-current="page"] .tab-i .ico { color: var(--volt); }
  .tab[aria-current="page"]::after { background: var(--volt); }
  .tab.tab-dial .tab-i { width: 58px; height: 58px; margin-left: -29px; top: -16px; border-radius: 20px; background: var(--volt); box-shadow: inset 0 1px 0 var(--primary-hi), 0 4px 0 var(--volt-ledge), 0 0 0 5px var(--page), 0 14px 28px -8px var(--bloom); }
  .tab.tab-dial:active .tab-i { transform: translateY(4px); box-shadow: inset 0 1px 0 var(--primary-hi), 0 0 0 var(--volt-ledge), 0 0 0 5px var(--page); }
  .page-s { font-size: 14px; }
  .btn.sm { min-height: 44px; }
  .fkeys { border-radius: 24px 24px 0 0; }
  .fkey { min-height: 58px; border-radius: 14px; }
  .momentum-card .ring-n { font-size: 60px; }
}
@media (min-width: 768px) {
  .page-t { font-size: 32px; }
}


/* outcome keys win over the older per-breakpoint rules: Booked = aqua, Sold = pink, everything else graphite */
.fkeys .fkey.k-out:not(.o-booked):not(.o-sold), .fkeys .k-skip, .fkeys .k-undo, .fkeys .k-more { background: var(--bg-3); color: var(--ink); box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 3px 0 var(--key-ledge); }
.fkeys .fkey.k-out:not(.o-booked):not(.o-sold):active, .fkeys .k-skip:active, .fkeys .k-undo:active { box-shadow: inset 0 1px 0 var(--key-top), inset 0 0 0 1px var(--line), 0 0 0 var(--key-ledge); }
.fkeys .fkey.o-booked, .fkeys .k-out.o-booked { background: var(--ice); color: var(--on-ice); box-shadow: inset 0 1px 0 var(--key-top), 0 3px 0 var(--key-ledge); margin-bottom: 0; }
.fkeys .fkey.o-sold, .fkeys .k-out.o-sold { background: var(--volt); color: var(--on-volt); box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge); margin-bottom: 0; }
.fkeys .fkey.o-booked .fk-l, .fkeys .fkey.o-booked .fk-i, .fkeys .fkey.o-booked .kc { color: var(--on-ice); opacity: 1; }
.fkeys .fkey.o-sold .fk-l, .fkeys .fkey.o-sold .fk-i, .fkeys .fkey.o-sold .kc { color: var(--on-volt); opacity: 1; }
.fkeys .fkey.o-booked:hover { background: var(--ice); } .fkeys .fkey.o-sold:hover { background: var(--primary-hi); }
.fkeys .fkey.o-booked:active, .fkeys .fkey.o-sold:active { transform: translateY(3px); box-shadow: none; }
.fkeys.precall .k-out:not(.o-booked):not(.o-sold) .fk-l { color: var(--ink-2); }
/* the simulated co-pilot (tour only) shows over the keys at every width */
.fkeys .cp-strip.sim:not([hidden]) { display: flex !important; flex-direction: column; gap: 4px; grid-column: 1 / -1; order: -2; padding: 10px 14px; border-radius: var(--r-md); background: var(--bg-3); box-shadow: inset 3px 0 0 var(--ice), inset 0 0 0 1px var(--line); }
.cps-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.cps-dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; }
/* rep Home on wide screens: hero left, today's figures and the queue right, first-run tips after them */
@media (min-width: 1024px) {
  .scr.home.rep > .welcome { order: 4; grid-column: 1 / -1; }
  .scr.home.rep > .momentum-card { order: 0; } .scr.home.rep > .figs3 { order: 1; } .scr.home.rep > .mini-list { order: 2; } .scr.home.rep > .home-trend { order: 3; }
  .scr.home.rep > :not(.momentum-card):not(.figs3):not(.mini-list):not(.home-trend):not(.welcome) { order: 5; }
}
.mini-list { background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--card-sh); }
.ml-row { border-radius: 12px; }
.ml-row:hover { background: var(--bg-3); text-decoration: none; }
.figs3 .f3 { background: var(--bg-2); border-radius: var(--r-md); padding: 16px; box-shadow: var(--card-sh); gap: 6px; }
.figs3 .f3.sold .fig-v { color: var(--volt-ink); }
.figs3 .f3.booked .fig-v { color: var(--ice); }


/* goal ring: pink while climbing, aqua once the goal is met */
.ring .ring-seg.on, .mini-goal .ring-seg.on { stroke: var(--volt); }
.ring.done .ring-seg.on, .mini-goal .ring.done .ring-seg.on { stroke: var(--ice); }
/* before the call: Call is the one primary key; Booked and Sold wait as tinted keys until the phone is ringing */
.fkeys.precall .fkey.o-booked { background: var(--ice-soft); color: var(--ice); box-shadow: inset 0 0 0 1px var(--ice-soft), 0 3px 0 var(--key-ledge); }
.fkeys.precall .fkey.o-sold { background: var(--volt-soft); color: var(--volt-ink); box-shadow: inset 0 0 0 1px var(--volt-soft), 0 3px 0 var(--key-ledge); }
.fkeys.precall .fkey.o-booked .fk-l, .fkeys.precall .fkey.o-booked .fk-i, .fkeys.precall .fkey.o-booked .kc { color: var(--ice); }
.fkeys.precall .fkey.o-sold .fk-l, .fkeys.precall .fkey.o-sold .fk-i, .fkeys.precall .fkey.o-sold .kc { color: var(--volt-ink); }
.fkeys .k-out .fk-i { background: transparent !important; box-shadow: none !important; }
.fkeys .k-out::before, .fkeys .k-out::after, .fkeys::before { content: none !important; }
.dial-card::after, .dial-card::before { content: none !important; }
.dial-card { background: var(--bg-2); box-shadow: var(--card-sh); }
@media (max-width: 767px) {
  .topbar { background: var(--hdr); }
  .desk-head .page-hl { position: static; width: auto; height: auto; overflow: visible; clip: auto; flex: 1 1 auto; min-width: 0; }
  .desk-head .page-t { font-size: 22px; font-weight: 760; font-stretch: 112%; letter-spacing: -.035em; white-space: nowrap; }
  .desk-head .page-s { display: none; }
  .desk-mini { flex: none; }
  .desk-mini .mini-goal { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
  .desk-mini .streak-chip.mini:not([hidden]) { background: var(--flare-soft); box-shadow: none; }
  .is-tour .dsw { top: calc(64px + var(--tour-h)); }
  .tb-search { background: transparent; box-shadow: none; }
  .t td.ce-td { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .t td.ce-td > .tiny { flex-basis: 100%; }
  .t td.ce-td > span { white-space: nowrap; }
}


/* ---------- sign in ---------- */
.auth { background: var(--page); }
.auth-body h1 { font-size: 40px; font-weight: 780; font-stretch: 114%; letter-spacing: -.045em; line-height: 1; }
.auth-sys { color: var(--ink-3); }
@media (min-width: 960px) {
  .auth { justify-content: center; }
  .auth-split { width: min(1080px, 100%); min-height: 620px; background: var(--bg-2); border-radius: 28px; box-shadow: var(--sh-float), inset 0 0 0 1px var(--line); }
  .auth-aside { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, var(--hero-a), var(--page)); color: var(--ink); padding: 48px; }
  .auth-aside::before { content: ""; position: absolute; z-index: -1; left: -20%; bottom: -35%; width: 120%; height: 90%; background: radial-gradient(closest-side, var(--bloom), transparent 70%); }
  .auth-aside::after { content: ""; position: absolute; z-index: -1; right: -25%; top: -30%; width: 80%; height: 70%; background: radial-gradient(closest-side, var(--bloom-2), transparent 70%); }
  .auth-aside h2 { font-size: 44px; line-height: 1.02; font-weight: 790; font-stretch: 116%; letter-spacing: -.045em; max-width: 12ch; color: var(--ink); }
  .auth-feats li { color: var(--ink-2); }
  .auth-feats .ico { color: var(--volt-ink); }
  .auth-card { padding: 48px; }
  .tour-pill-btn { background: var(--warn-soft); box-shadow: inset 0 0 0 1px var(--warn-soft); }
}

/* a blocked primary (e.g. Log with a bad follow-up time) reads as off without fading below AA */
.btn.primary[aria-disabled="true"], .btn.primary:disabled, .fu-log[aria-disabled="true"] { opacity: 1; background: var(--bg-4); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transform: none; }


/* ---------- PULSE layout moves (not just paint) ----------
   Home hero: the day's number is the hero, left-aligned and huge, a fill bar under it, the goal ring shrinks to a badge.
   Figures: one stat strip with hairline dividers instead of three boxes. Phone nav: a flush bar with a pink Call pill. */
.momentum-card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; align-content: stretch; align-items: start; justify-items: stretch; text-align: left; gap: 12px; padding: 22px 20px 18px; }
.momentum-card .mc-foot { align-self: end; }
.momentum-card .mc-ring { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; place-items: initial; }
.momentum-card .mc-ring .ring { order: 2; width: 58px !important; height: 58px !important; flex: none; }
.momentum-card .mc-ring .ring-c { position: static; order: 1; align-items: flex-start; justify-content: flex-start; inset: auto; }
.momentum-card .mc-ring .ring-c::before { content: "Calls today"; font: 600 13px/1.2 var(--sans); color: var(--ink-3); margin-bottom: 6px; letter-spacing: 0; }
.momentum-card .mc-ring .ring-n { font-size: 104px; line-height: .9; letter-spacing: -.06em; font-stretch: 120%; }
.momentum-card .ring-g { margin-top: 8px; max-width: none; text-align: left; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.momentum-card::after { content: ""; order: 1; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--volt) 0, var(--primary-hi) calc(var(--day-p, 0) * 100%), var(--bg-4) calc(var(--day-p, 0) * 100%)); box-shadow: inset 0 1px 2px var(--key-ledge); }
.momentum-card .mc-cap { order: 2; text-align: left; font-size: 14.5px; color: var(--ink-2); margin: 0; }
.momentum-card .mc-foot { order: 3; }
.mc-best { font-weight: 650; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--bg-3); }
.figs3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 6px 0; background: var(--bg-2); border-radius: var(--r-lg); box-shadow: var(--card-sh); }
.figs3 .f3 { background: transparent; box-shadow: none; border-radius: 0; padding: 10px 16px; border-left: 1px solid var(--line); }
.figs3 .f3:first-child { border-left: 0; }
.figs3 .fig-v { font-size: 40px; }
@media (min-width: 1024px) { .momentum-card .mc-ring .ring-n { font-size: 132px; } .momentum-card { padding: 28px; } }
@media (max-width: 767px) {
  .tabbar { left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding: 4px 6px env(safe-area-inset-bottom); border-radius: 0; background: var(--hdr); box-shadow: inset 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); }
  .tab { gap: 4px; }
  .tab[aria-current="page"]::after { content: none; }
  .tab[aria-current="page"] .tab-m { color: var(--ink); }
  .tab.tab-dial { justify-content: center; padding-bottom: 0; color: var(--ink-2); }
  .tab.tab-dial .tab-i { position: static; margin: 0; top: auto; left: auto; width: 64px; height: 38px; border-radius: 999px; background: var(--volt); color: var(--on-volt); box-shadow: inset 0 1px 0 var(--primary-hi), 0 3px 0 var(--volt-ledge), 0 10px 22px -10px var(--bloom); }
  .tab.tab-dial .tab-i .ico { width: 22px; height: 22px; color: var(--on-volt); }
  .tab.tab-dial:active .tab-i { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--primary-hi), 0 0 0 var(--volt-ledge); }
  .tab.tab-dial[aria-current="page"] .tab-m { color: var(--volt-ink); }
  .momentum-card .mc-ring .ring-n { font-size: 100px; }
}

@media (min-width: 768px) {
  .fkeys .cp-strip.sim .cps-line { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- tour mode ---------- */
/* Phones and tablets: a 34 px strip across the top that pushes the app down. Desktop: a chip at the foot of the sidebar. */
:root.is-tour { --tour-h: 34px; }
.tour-pill { position: fixed; z-index: 90; left: 0; right: 0; top: 0; height: calc(var(--tour-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; justify-content: center; background: var(--page); border-bottom: 1px solid var(--line); }
.is-tour .shell { padding-top: calc(var(--top-h) + var(--tour-h)); }
.is-tour .topbar { top: var(--tour-h); }
.is-tour .dsw { top: calc(var(--top-h) + var(--tour-h)); }
.is-tour .auth, .is-tour .ob-page { padding-top: var(--tour-h); }
@media (min-width: 768px) and (max-width: 1023px) { .is-tour .shell { padding-top: var(--tour-h); } .is-tour .rail { top: var(--tour-h); height: calc(100dvh - var(--tour-h)); } }
@media (min-width: 1024px) {
  :root.is-tour { --tour-h: 0px; }
  .tour-pill { left: 12px; right: auto; top: auto; bottom: 60px; height: auto; padding: 0; background: transparent; border: 0; width: 208px; justify-content: flex-start; }
  .is-tour .shell { padding-top: 0; }
  .tour-pill-btn { width: 100%; white-space: normal; text-align: left; line-height: 1.25; padding: 8px 10px; border-radius: 14px; }
  .tour-menu { left: 0; transform: none; top: auto; bottom: calc(100% + 6px); }
  .nav-min ~ .tour-pill, .is-tour .nav-min + .tour-pill { width: auto; }
}
.tour-pill > * { pointer-events: auto; }
.tour-pill-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 10px 4px 10px; border: 0; border-radius: 999px; background: var(--island); color: var(--ink); font: 600 12px/1 var(--sans); box-shadow: var(--sh-menu); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; white-space: nowrap; }
.tour-pill-btn .ico { width: 14px; height: 14px; color: var(--ink-3); }
.tp-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--warn); box-shadow: 0 0 0 3px var(--warn-soft); }
.tp-role { padding: 3px 7px; border-radius: 999px; background: var(--bg-4); color: var(--ink-2); font-size: 11px; }
.tour-menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: 240px; padding: 6px; border-radius: 16px; background: var(--bg-3); box-shadow: var(--sh-menu); display: grid; gap: 2px; }
.tour-menu[hidden] { display: none; }
.tour-menu .menu-i { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 500 14px/1.2 var(--sans); text-align: left; cursor: pointer; }
.tour-menu .menu-i:hover, .tour-menu .menu-i:focus-visible { background: var(--bg-4); }
.tour-guide { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 18px); max-width: 420px; margin: 0 auto; padding: 16px 16px 14px; border-radius: 22px; background: var(--bg-3); color: var(--ink); box-shadow: var(--sh-float), inset 0 0 0 1px var(--line-hi); animation: pulse-rise var(--t-in) var(--ease) both; }
.tg-top { display: flex; align-items: center; gap: 10px; }
.tg-n { font: 600 12px/1 var(--sans); color: var(--volt-ink); }
.tg-dots { display: flex; gap: 4px; flex: 1; }
.tg-dots i { width: 18px; height: 4px; border-radius: 999px; background: var(--bg-4); }
.tg-dots i.done { background: var(--ink-3); }
.tg-dots i.on { background: var(--volt); width: 28px; }
.tg-x { display: grid; place-items: center; width: 36px; height: 36px; margin: -8px -8px -8px 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); cursor: pointer; }
.tg-x:hover { background: var(--bg-4); color: var(--ink); }
.tg-t { margin: 10px 0 4px; font: 720 20px/1.15 var(--sans); font-stretch: 108%; letter-spacing: -.02em; }
.tg-b { margin: 0 0 14px; font: 400 14.5px/1.45 var(--sans); color: var(--ink-2); }
.tg-a { display: flex; gap: 8px; align-items: center; }
.tg-a .tg-skip { margin-right: auto; }
.tg-a .btn { min-height: 44px; }
.tour-spot { position: relative; z-index: 2; outline: 2px solid var(--volt); outline-offset: 4px; border-radius: var(--r-md); animation: pulse-spot 1.6s var(--ease) 2; }
.tour-cta { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; margin-top: 14px; min-height: 56px; padding: 10px 14px; }
.tour-cta .ico { grid-row: span 2; width: 20px; height: 20px; color: var(--volt-ink); }
.tour-cta-s { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.cp-strip.sim { box-shadow: inset 0 0 0 1px var(--volt-soft); }
@keyframes pulse-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse-spot { 0%, 100% { outline-color: var(--volt); } 50% { outline-color: var(--volt-soft); } }
@media (min-width: 768px) {
  .tour-guide { left: auto; right: 24px; bottom: 24px; margin: 0; width: 380px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .tour-spot { animation: none; }
}
