/* Spectator surface stylesheet (ticket 07 port). Scoped under .spx (the mountSpectator root); a phone layout = .spx.phone.
   Section 1 = the design system (tools/spectator-ds.prototype.css at spec/spectator-r32, ported 1:1).
   Section 2 = home view layout (tools/spectator-home.prototype.html <style>, ported 1:1; prototype #ids → .hm-* classes; scoped with :where(.hm) so DS vs page specificity stays the prototype's).
   Views append their own section at the end; never rewrite another view's block. */

/* ================= 1 · design system ================= */

/* ---------- tokens ---------- */
.spx {
  --bg:#0a0a0a; --surface:#141414; --card:#1a1a1a; --raised:#1f1f1f; --border:#2a2a2a; --border-h:#3d3d3d; --field:#0f0f0f;
  --text:#f5f5f5; --text-2:#d6d3d1; --muted:#9a9a9a; --faint:#928b85;   /* muted = DESIGN --color-muted (round 29); 5.3–7:1 on every surface */
  --accent:#FF7A1A; --accent-h:#FF8C36; --gold:#F7C948; --warn:#F7C948; --bad:#ff5a5a; --live:#1e1915;
  --ui:'Hanken Grotesk',system-ui,sans-serif; --display:'Bricolage Grotesque','Hanken Grotesk',system-ui,sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
  /* type: body 14 · meta 13 (every secondary line) · field helper 12.5 (DESIGN › Field type, = ui/Field) · caption 12 (chips, badges, legends, axes, footnotes) */
  --fs-display:22px; --fs-title:16px; --fs-body:14px; --fs-meta:13px; --fs-help:12.5px; --fs-cap:12px;
  /* radii: controls 6 (= DESIGN --radius-md, ui/Button + ui/Field rounded-md; round 29) · chips 6 · cards 12 · sheets 16 (= --radius-xl) */
  --r-ctl:6px; --r-chip:6px; --r-card:12px; --r-sheet:16px;
  --tap:44px;
  /* risk levels (round 16): grey · amber outline · amber fill · red-orange outline · red */
  --rk-relaxed:#d6d3d1; --rk-relaxed-bg:#242424; --rk-relaxed-bd:#363636;
  --rk-tight:#ffcf5a;   --rk-tight-bg:#33260a;   --rk-tight-bd:#5e4610;
  --rk-risky:#1c1300;   --rk-risky-bg:#f2b83a;
  --rk-stretch:#ffb199; --rk-stretch-bg:#3b170c; --rk-stretch-bd:#e0603a;
  --rk-bad:#ff9696;     --rk-bad-bg:#3a1414;     --rk-bad-bd:#6b2222;
  /* free time: the one tint the list, the chart legend and the map halo share */
  --free:rgba(160,196,180,.13); --free-line:rgba(160,196,180,.38); --free-bg:#1d201f; --free-bd:#2c302e;
}

/* ---------- base ---------- */
.spx, .spx * { box-sizing:border-box }
.spx [hidden] { display:none !important }
.spx button, .spx input, .spx select { font:inherit; color:inherit }
.spx button { cursor:pointer }
.spx :focus-visible { outline:2px solid var(--accent); outline-offset:2px }
.spx .ic { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none }
.spx .mer { font-size:.72em; font-weight:650; letter-spacing:.02em; margin-left:2px; opacity:.8 }
.spx .sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
.spx * { scrollbar-width:thin; scrollbar-color:#3a3a3a transparent }   /* dark thin scrollbars, never the white gutter */
.spx ::-webkit-scrollbar { width:8px; height:8px } .spx ::-webkit-scrollbar-track { background:transparent }
.spx ::-webkit-scrollbar-thumb { background:#3a3a3a; border-radius:8px; border:2px solid transparent; background-clip:padding-box }
.spx .t-meta { font-size:var(--fs-meta); line-height:1.4; color:var(--muted) }
.spx .t-cap { font-size:var(--fs-cap); line-height:1.35; color:var(--muted) }

/* ---------- Button: primary · secondary (default) · ghost; md (default) · sm; .block = full width on phone only ---------- */
.spx .btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:var(--tap); padding:0 16px; border-radius:var(--r-ctl);
  border:1px solid var(--border-h); background:transparent; color:var(--text); font-size:var(--fs-body); font-weight:650; line-height:1.15;
  white-space:nowrap; text-decoration:none; text-align:center; transition:background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease) }
.spx .btn:hover { border-color:#6b6b6b; background:rgba(255,255,255,.05) }
.spx .btn:active { transform:translateY(1px) }
.spx .btn.pri { background:var(--accent); border-color:var(--accent); color:#0a0a0a; font-weight:700 }
.spx .btn.pri:hover { background:var(--accent-h); border-color:var(--accent-h) }
.spx .btn.ghost { border-color:transparent; background:transparent; color:var(--text-2); padding:0 10px }
.spx .btn.ghost:hover { background:var(--raised); color:var(--text) }
.spx .btn.ghost.danger { color:var(--rk-bad) } .spx .btn.ghost.danger:hover { color:#ffb3b3 }
.spx .btn.sm { min-height:32px; padding:0 12px; font-size:var(--fs-meta) }
.spx .btn.ghost.sm { padding:0 8px }
.spx .btn.ghost.flush { margin-left:-8px }
.spx .inl-link { border:0; background:none; padding:0; color:var(--text); font:inherit; font-weight:650; text-decoration:underline; text-underline-offset:3px; text-decoration-color:#555; display:inline }   /* a link inside a sentence, never an action row */   /* a ghost that starts a line keeps its label on the text edge */
.spx .btn .ic { width:16px; height:16px } .spx .btn.sm .ic { width:15px; height:15px }
.spx .btn:disabled, .spx .btn[aria-disabled="true"] { opacity:.4; cursor:default; transform:none }
.spx.phone .btn { min-width:var(--tap) } .spx.phone .btn.sm { min-height:var(--tap) }   /* phone: every action is a 44 px target, whatever it looks like */
.spx.phone .btn.block { width:100% }
@media (pointer:coarse) { .spx .btn.sm { min-height:var(--tap) } }

/* ---------- IconButton: 40 px desktop, 44 px phone ---------- */
.spx .ibn { width:40px; height:40px; flex:none; border:0; border-radius:var(--r-ctl); background:transparent; color:var(--text-2); display:inline-grid; place-items:center }
.spx .ibn:hover, .spx .ibn[aria-expanded="true"] { background:var(--raised); color:var(--text) }
.spx .ibn .ic { width:20px; height:20px }
.spx .ibn.danger:hover { color:var(--rk-bad) }
.spx .ibn:disabled { opacity:.3; cursor:default; background:transparent }
.spx.phone .ibn { width:var(--tap); height:var(--tap) }
@media (pointer:coarse) { .spx .ibn { width:var(--tap); height:var(--tap) } }

/* ---------- RiskChip: Relaxed · Tight · Risky · Stretch · Can't make it; md (22) · sm (20). .info = neutral tag ---------- */
.spx .chip { flex:none; display:inline-flex; align-items:center; gap:5px; height:22px; padding:0 8px; border-radius:var(--r-chip);
  font-size:var(--fs-cap); font-weight:650; line-height:1; white-space:nowrap }
.spx .chip.sm { height:20px; padding:0 6px }
.spx .chip.relaxed, .spx .chip.ok { color:var(--rk-relaxed); background:var(--rk-relaxed-bg); box-shadow:inset 0 0 0 1px var(--rk-relaxed-bd) }
.spx .chip.tight { color:var(--rk-tight); background:var(--rk-tight-bg); box-shadow:inset 0 0 0 1px var(--rk-tight-bd) }
.spx .chip.risky { color:var(--rk-risky); background:var(--rk-risky-bg) }   /* filled: outranks Tight at a glance */
.spx .chip.stretch { color:var(--rk-stretch); background:var(--rk-stretch-bg); box-shadow:inset 0 0 0 1.5px var(--rk-stretch-bd) }
.spx .chip.bad { color:var(--rk-bad); background:var(--rk-bad-bg); box-shadow:inset 0 0 0 1px var(--rk-bad-bd) }
.spx .chip.info { color:var(--muted); background:transparent; box-shadow:inset 0 0 0 1px #3a3a3a }
.spx .chipw { display:inline-flex; min-width:92px; flex:none }   /* reserves "Can’t make it": a re-grade never shifts the row */

/* ---------- tags that are not risk: duration, custom spot, transit line ---------- */
.spx .dur { display:inline-block; min-width:5.2ch; text-align:center; font-size:var(--fs-cap); font-weight:650; color:var(--text-2); padding:2px 7px; border-radius:5px; background:#262626; white-space:nowrap }
.spx .cpin { display:inline-flex; align-items:center; gap:3px; flex:none; height:20px; padding:0 7px 0 5px; border-radius:10px; font-size:var(--fs-cap); font-weight:700; color:#0a0a0a; background:#d6d3d1 }
.spx .cpin .ic { width:12px; height:12px; stroke-width:2.4 }
.spx .line { display:inline-grid; place-items:center; min-width:26px; height:18px; padding:0 5px; border-radius:4px; font-size:11px; font-weight:750; letter-spacing:.01em; line-height:1;
  background:var(--lc); color:var(--lt, #fff) }
.spx .lines { display:inline-flex; gap:3px }

/* ---------- RunnerDot · RunnerChip · avatar ---------- */
.spx .dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--c); flex:none }
.spx .dot.lg { width:10px; height:10px }
.spx .dot.miss { background:transparent; box-shadow:inset 0 0 0 1.5px var(--c) }
.spx .star { font-size:var(--fs-cap); color:var(--text-2); margin-left:1px; position:relative; top:-1px }
.spx .av { width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--c); color:#0a0a0a; font-size:13px; font-weight:800; flex:none }
.spx .av.lg { width:52px; height:52px; font-size:22px }
.spx .rcp { flex:none; display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 10px 0 9px; border:1px solid transparent; border-radius:999px; background:transparent;
  color:var(--text); font-size:var(--fs-body); font-weight:650; white-space:nowrap }
.spx .rcp:hover, .spx .rcp[aria-pressed="true"] { background:var(--raised); border-color:#333 }
.spx .rcp.radd { width:36px; padding:0; justify-content:center; color:var(--muted); border-color:#333; border-style:dashed }
.spx .rcp.radd:hover { color:var(--text) } .spx .rcp.radd .ic { width:15px; height:15px }
.spx.phone .rcp { min-height:var(--tap) } .spx.phone .rcp.radd { width:var(--tap) }
.spx .sws { display:flex; gap:10px; flex-wrap:wrap }   /* dot-colour picker */
.spx .sw { position:relative; width:32px; height:32px; border-radius:50%; border:0; padding:0; background:var(--c); box-shadow:0 0 0 2px var(--sw-ring, var(--surface)) }
.spx .sw[aria-pressed="true"] { box-shadow:0 0 0 2px var(--sw-ring, var(--surface)), 0 0 0 4px var(--text) }
.spx .sw i { position:absolute; inset:10px; border-radius:50%; background:rgba(10,10,10,.55) }
.spx.phone .sw { width:40px; height:40px } .spx.phone .sw i { inset:13px }

/* ---------- SegmentedToggle (the Pace plan's #tabs): Itinerary | Chart, Chart | Table, pace, mode ---------- */
.spx .segt { display:inline-flex; gap:2px; padding:2px; border-radius:var(--r-ctl); background:var(--raised); flex:none }
.spx .segt button { flex:1 1 0; display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:32px; padding:0 12px; border:0; border-radius:4px;
  background:transparent; color:var(--muted); font-size:var(--fs-meta); font-weight:600; white-space:nowrap; transition:background-color .15s var(--ease), color .15s var(--ease) }
.spx .segt button:hover { color:var(--text) }
.spx .segt button:is([aria-pressed="true"], [aria-selected="true"], .on) { background:var(--text); color:var(--bg) }
.spx .segt button small { display:block; font-size:var(--fs-cap); font-weight:600; color:var(--muted) }
.spx .segt button:is([aria-pressed="true"], [aria-selected="true"], .on) small { color:#4a4a4a }
.spx .segt button .ic { width:16px; height:16px }
.spx .segt.two { flex-direction:column } .spx .segt button.two { flex-direction:column; gap:0; line-height:1.15 }
.spx.phone .segt button { position:relative; min-height:40px } .spx.phone .segt button::after { content:''; position:absolute; inset:-2px -1px }   /* 44 px target inside the 2 px inset */
.spx.phone .segt.fill { display:flex; width:100% }

/* ---------- Field (DESIGN › Field type): title 14/600 ink, helper 12.5 muted, input 16 on phone ---------- */
.spx .f { display:grid; gap:5px; min-width:0; align-content:start }
.spx .f > label, .spx .f > .lb { font-size:var(--fs-body); line-height:1.3; font-weight:600; color:var(--text) }
.spx .help { font-size:var(--fs-help); line-height:1.4; color:var(--muted); margin:0 }
.spx .f > .help { margin-top:-3px; margin-bottom:3px }   /* hugs its title, air before the input */
.spx .opt-l { font-weight:500; color:var(--faint); margin-left:4px }
.spx .in { width:100%; min-height:var(--tap); padding:0 12px; border-radius:var(--r-ctl); border:1px solid #3a3a3a; background:var(--field); color:var(--text); font-size:var(--fs-body) }
.spx.phone .in { font-size:16px }   /* <16px makes iOS zoom the page on focus */
@media (max-width:640px) { .spx .in { font-size:16px } }
.spx .in::placeholder { color:#8f8984 }
.spx .in:focus { border-color:var(--accent); outline:none; box-shadow:0 0 0 3px rgba(255,122,26,.18) }
.spx select.in { appearance:none; padding-right:34px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%239a9a9a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:12px }
.spx .presets { display:flex; gap:6px; margin-top:6px }   /* quick-pick chips under a field (goal times) */
.spx .presets button { flex:1; min-height:36px; border-radius:var(--r-ctl); border:1px solid #333; background:transparent; color:var(--text-2); font-size:var(--fs-meta); font-weight:650 }
.spx .presets button:hover { border-color:#4a4a4a; color:var(--text) }
.spx .presets button[aria-pressed="true"] { border-color:var(--accent); color:var(--text); background:rgba(255,122,26,.1) }
.spx.phone .presets button { min-height:var(--tap) }
.spx .moreb { display:flex; align-items:center; gap:6px; width:100%; min-height:var(--tap); border:0; background:none; padding:0; color:var(--text-2); font-size:var(--fs-body); font-weight:650; text-align:left }
.spx .moreb .ic { width:14px; height:14px; margin-left:auto; color:var(--muted); transition:transform .2s var(--ease) } .spx .moreb[aria-expanded="true"] .ic { transform:rotate(90deg) }
.spx .moreb-in { display:grid; gap:14px; padding:4px 0 6px }
.spx .photo { display:flex; align-items:center; gap:10px; min-height:var(--tap); padding:0 12px; border-radius:var(--r-ctl); border:1px dashed #3a3a3a; color:var(--faint); cursor:not-allowed; font-size:var(--fs-meta) }
.spx .photo b { font-weight:650; color:var(--muted); margin-right:6px } .spx .photo .ic { width:18px; height:18px }

/* ---------- StopRow / LegRow parts: the node, the rail, per-runner times, arrive-by ---------- */
.spx .node { position:relative; z-index:1; width:12px; height:12px; border-radius:50%; background:var(--surface); box-shadow:inset 0 0 0 2px var(--accent) }
.spx .node.sm { width:10px; height:10px; background:var(--card) }
.spx .node.dia { width:10px; height:10px; border-radius:1px; background:var(--gold); box-shadow:none; transform:rotate(45deg) }
.spx .node.done { width:16px; height:16px; background:#3a3a3a; box-shadow:none; display:grid; place-items:center }
.spx .node.done svg { width:11px; height:11px; stroke:var(--text); stroke-width:3; fill:none }
.spx .node.cur { width:16px; height:16px; background:var(--accent); box-shadow:0 0 0 4px rgba(255,122,26,.22) }
.spx .legrail i { display:block; flex:1 1 0; min-height:3px; width:2px }
.spx .legrail i.walk { background:radial-gradient(circle, var(--accent) 0 1px, transparent 1.3px) 0 0 / 2px 5px repeat-y }   /* walk = dotted */
.spx .legrail i.ride { width:4px; border-radius:2px; background:var(--accent) }                                              /* ride = solid, thicker */
.spx .legrail i.free { width:2px; background:repeating-linear-gradient(to bottom, var(--free-line) 0 3px, transparent 3px 6px) }
.spx .pass { display:flex; flex-wrap:wrap; gap:2px 14px; font-size:var(--fs-meta); line-height:18px; color:var(--text-2) }
.spx .pass > span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap } .spx .pass .m { color:var(--muted) } .spx .pass .ic { width:13px; height:13px }
/* RunnerTime (round 31): "Anna ~9:44" bold + the range smaller and muted, same line; the range wraps under on a narrow row.
   No "window", no brackets, no italics. Taught once: "~ best guess · range = when they could pass". */
.spx .rt { display:inline-flex; flex-wrap:wrap; align-items:baseline; column-gap:6px; min-width:0; white-space:normal }
.spx .rt > b { font-weight:700; color:var(--text); white-space:nowrap }
.spx .rt > .rg { font-size:var(--fs-cap); font-weight:500; color:var(--muted); white-space:nowrap }
.spx .rw .rt > b { font-size:15px }
.spx .pass > span:has(> .rt) { align-items:baseline; min-width:0 } .spx .pass > span > .dot { align-self:center }
.spx .by { margin:2px 0 0; font-size:var(--fs-meta); line-height:18px; color:var(--muted) }
.spx .win { font-size:var(--fs-meta); font-weight:600; color:var(--text-2) } .spx .win .tm { white-space:nowrap }
.spx .say { margin:3px 0 0; font-size:var(--fs-meta); line-height:1.4; font-weight:600; color:var(--muted); text-wrap:pretty }

/* ---------- LegLine (round 31): [badges] 27 min · arrive ~11:11 │ spare cell │ Directions. The spare cell is a fixed-width
   column, so it sits in the same place on every leg; on phone (and in the compact card) it drops to line 2 under the duration.
   Relaxed = muted "33 min spare" · Tight / Risky = RiskChip "Tight · 8 min spare" · Stretch / Can't make it = RiskChip. ---------- */
.spx .legline, .spx .lt.legline { display:grid; grid-template-columns:minmax(0,1fr) 156px auto; align-items:center; column-gap:10px; row-gap:4px; min-width:0 }
.spx .legline > .ll { display:flex; flex-wrap:wrap; align-items:center; gap:2px 7px; min-width:0 }
.spx .spare { display:flex; align-items:center; min-width:0 } .spx .spare .chip { margin:0 }
.spx .spare .sp-t { font-size:var(--fs-meta); font-weight:600; color:var(--muted); white-space:nowrap }
.spx.phone .legline, .spx.phone .lt.legline { grid-template-columns:minmax(0,1fr) auto }
.spx.phone .legline > .ll { grid-column:1 / -1 } .spx.phone .legline > .spare { grid-row:2; grid-column:1 } .spx.phone .legline > .btn { grid-row:2; grid-column:2 }   /* phone: line 1 = duration · arrive, line 2 = spare │ Directions */
.spx .legline.stack, .spx.phone .legline.stack { grid-template-columns:minmax(0,1fr) } .spx .legline.stack > .spare { grid-row:auto; grid-column:1 }
.spx.phone .legline > .spare:empty, .spx .legline.stack > .spare:empty { display:none }
.spx :is(.itin .leg, .elg .lt, .race) > .legline { flex-basis:100% }   /* compact card rows are flex-wrap: the line takes the row */

/* "Then" row (round 31): the reunion after the finish line: ungraded, muted, no time or spare */
.spx .then { font-size:var(--fs-meta); color:var(--muted) } .spx .then b { color:var(--text-2); font-weight:650 }

/* ---------- RaceBars: runner's run vs your trip, one scale ---------- */
.spx .race { display:grid; gap:5px; margin:6px 0 3px; max-width:440px; font-variant-numeric:tabular-nums }
.spx .race .rh { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:var(--fs-meta); font-weight:700; color:var(--text) }
.spx .race .rc { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; column-gap:8px; row-gap:6px; font-size:var(--fs-cap); color:var(--text-2) }
.spx .race .rl { display:inline-flex; align-items:center; gap:4px; white-space:nowrap }
.spx .race .rb { position:relative; display:flex; height:6px; min-width:40px }
.spx .race .rb i { display:block; height:6px; flex:none }
.spx .race .rb i.run { border-radius:3px; background:var(--c) }
.spx .race .rb i.ride { border-radius:2px; background:var(--accent) }
.spx .race .rb i.walk { background:radial-gradient(circle, var(--accent) 0 1.4px, transparent 1.7px) 0 50% / 5px 6px repeat-x }
.spx .race .rv { text-align:right; white-space:nowrap; font-weight:650; color:var(--text) }
.spx .race .rr { font-size:var(--fs-meta); font-weight:700; color:var(--text-2) }
.spx .race .rf { font-size:var(--fs-cap); color:var(--muted) }
/* RiskChip levels as text (a leg's advice, a race result); after .race .rr so they win */
.spx :is(.say, .rr, .rtx).tight, .spx :is(.say, .rr, .rtx).risky { color:var(--rk-tight) }
.spx :is(.say, .rr, .rtx).stretch { color:var(--rk-stretch) } .spx :is(.say, .rr, .rtx).bad { color:var(--rk-bad) }

/* ---------- BreakRow: free time between two stops (time only; nearby places deferred past v1) ---------- */
.spx .brk { display:grid; grid-template-columns:16px minmax(0,1fr); gap:8px; width:100%; margin:0; padding:8px 10px 9px; border:0; border-radius:var(--r-ctl); text-align:left;
  background:var(--free-bg); box-shadow:inset 0 0 0 1px var(--free-bd); font-size:var(--fs-meta); line-height:1.4; color:var(--text-2); white-space:normal;
  transition:background-color .15s var(--ease), box-shadow .15s var(--ease) }
.spx button.brk:hover { background:#222826; box-shadow:inset 0 0 0 1px #3d4a44 }
.spx .brk > :is(.ic, .sp-ic) { width:16px; height:16px; color:var(--muted); margin-top:1px }
.spx .brk b { display:block; color:var(--text); font-weight:650 }
.spx .brk .op { display:block; margin-top:2px; color:var(--muted) }

/* ---------- SeenControl: one row per runner expected at a spot ---------- */
.spx .rws { list-style:none; margin:0; padding:0; display:grid; border-top:1px solid var(--border) }
.spx .rw { display:grid; grid-template-columns:12px minmax(0,1fr) auto; column-gap:12px; align-items:center; padding:10px 8px; border-bottom:1px solid var(--border) }
.spx .rw > .dot { width:10px; height:10px; align-self:start; margin-top:6px }
.spx .rw.is-sug { background:rgba(255,255,255,.05); border-radius:var(--r-ctl); border-bottom-color:transparent }
.spx .rw .r1 { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 10px }
.spx .rw .rn { font-size:15px; font-weight:700 }
.spx .rw .rs { font-size:var(--fs-meta); font-weight:600; color:var(--text-2); display:inline-flex; align-items:center; gap:4px }
.spx .rw .rs .ic { width:15px; height:15px }
.spx .rw.ask .rs { color:var(--warn) } .spx .rw.seen .rs { color:var(--text) } .spx .rw.miss .rs { color:var(--muted) }
.spx .rw .r2 { margin-top:2px; font-size:var(--fs-meta); color:var(--muted); line-height:1.35 }
.spx .rw .acts { display:flex; flex-wrap:wrap; gap:0 4px; margin:4px 0 -4px -8px }   /* ghost sm actions: Edit time · Undo · Add photo */
.spx .rw .ctl { display:flex; flex-direction:column; align-items:flex-end; gap:2px } .spx .rw .ctl.two { flex-direction:row; gap:6px }
.spx .rw .big { font-size:15px; font-weight:750; white-space:nowrap }
.spx .rw .ef { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:6px } .spx .rw .ef .in { flex:0 1 150px; width:auto }
.spx.phone .rw.ask { grid-template-columns:12px minmax(0,1fr) } .spx.phone .rw.ask .ctl { grid-column:2; justify-content:flex-start; margin-top:8px }

/* ---------- Sheet (phone bottom sheet) ---------- */
.spx .sheet { position:absolute; inset:0; z-index:var(--z-sheet, 25); display:flex; flex-direction:column; justify-content:flex-end; pointer-events:none }
.spx .sheet .bk { position:absolute; inset:0; background:rgba(0,0,0,.72); pointer-events:auto; animation:ds-fade .2s var(--ease) }
.spx .sheet .sh { position:relative; max-height:calc(100% - 20px); display:flex; flex-direction:column; background:#181818; border-radius:var(--r-sheet) var(--r-sheet) 0 0;
  box-shadow:0 -1px 0 #333, 0 -16px 40px rgba(0,0,0,.55); pointer-events:auto; animation:ds-up .26s var(--ease) }
.spx .sheet .shg { position:absolute; left:0; right:0; top:0; z-index:1; height:28px; touch-action:none; cursor:grab }
.spx .sheet .shg::before { content:''; position:absolute; left:50%; top:7px; width:40px; height:4px; margin-left:-20px; border-radius:2px; background:#4a4a4a }
.spx .sheet .shx { position:absolute; right:6px; top:6px; z-index:2 }
.spx .sheet .shc { overflow:auto; padding:22px 16px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior:contain }
.spx .sheet .rw.is-sug { background:#222 }
@keyframes ds-up { from { transform:translateY(40px); opacity:.4 } } @keyframes ds-fade { from { opacity:0 } }

/* ---------- Menu (popover list) ---------- */
.spx .menu { padding:6px; border-radius:var(--r-card); background:#181818; box-shadow:0 0 0 1px #333, 0 16px 40px rgba(0,0,0,.6) }
.spx .mi { width:100%; display:flex; align-items:center; gap:10px; min-height:var(--tap); padding:0 10px; border:0; border-radius:var(--r-ctl); background:transparent;
  color:var(--text); font-size:var(--fs-body); font-weight:600; text-align:left; text-decoration:none }
.spx .mi:hover, .spx .mi:focus-visible { background:#232323 } .spx .mi .ic { width:16px; height:16px; color:var(--muted) }
.spx .msep { height:1px; margin:6px 4px; background:#2a2a2a }
.spx .mi .mv { margin-left:auto; font-size:var(--fs-meta); font-weight:500; color:var(--muted); white-space:nowrap }   /* a row's current value */

/* ---------- GiftCard (round 31): give the RUNNER a year of RaceMob; email → gift link. ≤1 per screen, none on race day ---------- */
.spx .gift { position:relative; display:grid; gap:10px; padding-top:16px; border-top:1px solid var(--border) }
.spx .gift h3 { margin:0; padding-right:44px; font-size:var(--fs-title); font-weight:700; display:flex; align-items:center; gap:8px }
.spx .gift h3 .ic { width:18px; height:18px; color:var(--accent) }
.spx .gift p { margin:0; font-size:var(--fs-meta); color:var(--text-2); line-height:1.4 } .spx .gift p.help { color:var(--muted) }
.spx .gift .gx { position:absolute; right:-8px; top:6px }
.spx .gift form { display:flex; gap:8px; flex-wrap:wrap } .spx .gift label { font-size:var(--fs-body); font-weight:600; width:100% } .spx .gift .in { flex:1 1 200px; width:auto }

/* ---------- BenefitList (the Runners intro; ⋯ › Reading your itinerary) ---------- */
.spx .bl { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:12px }
.spx .bl li { display:grid; grid-template-columns:32px 1fr; column-gap:12px; align-items:start }
.spx .bl .bi { width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:#232323; color:var(--accent) }
.spx .bl .bi .ic { width:18px; height:18px }
.spx .bl b { display:block; font-size:14.5px; font-weight:700; letter-spacing:-.005em; line-height:1.25 }
.spx .bl span.s { display:block; font-size:var(--fs-meta); color:var(--muted); line-height:1.35; margin-top:1px }
.spx.phone .bl { gap:9px; margin-top:12px } .spx.phone .bl li { grid-template-columns:28px 1fr; column-gap:10px }
.spx.phone .bl .bi { width:28px; height:28px; border-radius:8px } .spx.phone .bl .bi .ic { width:16px; height:16px }
.spx.phone .bl span.s { white-space:nowrap; overflow:hidden; text-overflow:ellipsis }

/* ---------- Checkbox (native, 44 tap row) ---------- */
.spx .cbx { display:flex; align-items:center; gap:10px; min-height:var(--tap); font-size:var(--fs-body); color:var(--text-2); cursor:pointer }
.spx .cbx input { width:18px; height:18px; margin:0; accent-color:var(--accent); color-scheme:dark; flex:none }

/* ---------- LockedRow (round 31): a paid feature shown quiet and disabled, no CTA ---------- */
.spx .lockr { display:inline-flex; align-items:center; gap:6px; min-height:32px; font-size:var(--fs-meta); color:var(--muted) } .spx .lockr .ic { width:15px; height:15px } .spx .rw .acts .lockr { padding:0 12px }

/* ---------- spot picker (Custom editor): candidate rows ---------- */
.spx .cands { margin:8px 0 6px; padding:10px; border-radius:var(--r-card); background:#181818; box-shadow:inset 0 0 0 1px var(--border) }
.spx .cands ul { list-style:none; margin:0; padding:0; display:grid; gap:4px }
.spx .csub { margin:4px 4px 6px; font-size:var(--fs-meta); font-weight:700; color:var(--text-2) }
.spx .cands .csub:not(:first-child) { margin-top:14px }
.spx .cand { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto 18px; align-items:center; gap:10px; min-height:48px; padding:6px 10px; border:0; border-radius:var(--r-ctl);
  background:var(--card); text-align:left; color:var(--text) }
.spx .cand:hover { background:#222 }
.spx .cand.alt { grid-template-columns:minmax(0,1fr) 18px }
.spx .cand .cn b { display:flex; align-items:center; gap:6px; font-size:var(--fs-body); font-weight:650 }
.spx .cand .cn > span { display:block; font-size:var(--fs-cap); color:var(--muted); margin-top:1px }
.spx .cand > .ic { width:16px; height:16px; color:var(--muted) }
.spx .cand.alt[aria-expanded="true"] > .ic { transform:rotate(90deg) }
.spx .cnote { display:flex; align-items:center; gap:6px; margin:6px 4px 2px; font-size:var(--fs-cap); color:var(--muted) } .spx .cnote .ic { width:14px; height:14px; flex:none }
.spx .add { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 10px 0 6px; border:1px dashed #3a3a3a; border-radius:var(--r-ctl); background:transparent;
  color:var(--text-2); font-size:var(--fs-meta); font-weight:650 }
.spx .add:hover, .spx .open > .add, .spx .open .ai > .add { border-color:var(--accent); color:var(--text) }
.spx .add .ic { width:15px; height:15px; color:var(--accent) }
.spx.phone .add { min-height:var(--tap) }
.spx .pickr .pk-h { display:flex; align-items:center; gap:8px; flex-wrap:wrap } .spx .pickr .pk-h b { font-size:15px } .spx .pickr .pk-h span:not(.chip) { flex:1; font-size:var(--fs-meta); color:var(--text-2) }
.spx .scrub { width:100%; accent-color:var(--accent); height:28px }
.spx .pk-s { display:flex; justify-content:space-between; font-size:var(--fs-cap); color:var(--muted); margin-top:-6px }
.spx .pk-p { display:flex; flex-wrap:wrap; gap:4px 14px; margin:0; font-size:var(--fs-meta); color:var(--text-2) } .spx .pk-p span { display:inline-flex; align-items:center; gap:5px }
.spx .pickr .btn { justify-self:start }
.spx .undo { display:flex; align-items:center; gap:4px; font-size:var(--fs-meta); color:var(--text-2) }

/* ---------- PlanCard (card D): summary, route rail, who you'll see; the stops open on demand as a compact
   StopRow / LegRow / BreakRow list (.itin). Shared by plan-card and the Plan step. ---------- */
.spx .card { --cbg:var(--card); position:relative; height:100%; padding:14px 16px 15px; border-radius:var(--r-card); background:var(--cbg);
  box-shadow:inset 0 0 0 1px var(--border); cursor:pointer; transition:box-shadow .18s var(--ease), background-color .18s var(--ease) }
.spx .card:hover { box-shadow:inset 0 0 0 1px var(--border-h) }
.spx .card:is([aria-pressed="true"], .sel) { --cbg:#1e1915; box-shadow:inset 0 0 0 1.5px var(--accent) }
.spx .hd { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:6px 10px }
.spx .hd h3 { flex:0 1 auto; min-width:0; margin:0; font-size:17px; font-weight:700; letter-spacing:-.012em; line-height:1.25; text-wrap:balance }
.spx .desc { margin:3px 0 0; color:var(--muted); font-size:var(--fs-meta); line-height:1.4; text-wrap:pretty }
.spx .sp-ic { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none }
.spx .who { display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; margin-top:12px; font-size:var(--fs-meta) }
.spx .who > span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap }
.spx .who .nm { font-weight:600; color:var(--text) } .spx .who .ct { color:var(--muted) } .spx .who .chip { margin:0 }
.spx .who.solo { justify-content:flex-end }
.spx .tog { margin-left:auto; display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:var(--fs-meta); font-weight:600; border:0; background:none; padding:0 }
.spx .tog svg { width:12px; height:12px; transition:transform .2s var(--ease) }
.spx :is(.D[aria-expanded="true"], .D.open) .tog svg { transform:rotate(180deg) }
.spx .card.D:hover .tog { color:var(--text) }
.spx button.tog { position:relative } .spx button.tog::before { content:''; position:absolute; inset:-13px -8px }   /* 44 px target */
/* stats: time block | movement block */
.spx .rng { display:inline-flex; align-items:baseline; gap:7px; white-space:nowrap }
.spx .rng b { color:var(--text); font-size:14.5px; font-weight:650; letter-spacing:-.005em }
.spx .D .s1 { margin-top:12px } .spx .D .s1 .mv { display:flex; gap:18px; margin-top:7px }
.spx .D .s2 { display:grid; grid-template-columns:auto 1px auto; justify-content:start; column-gap:16px; align-items:center; margin-top:12px }
.spx .D .s2 .tm b { display:block; color:var(--text); font-size:14.5px; font-weight:650; letter-spacing:-.005em; white-space:nowrap }
.spx .D .s2 .tm span { display:block; margin-top:3px; font-size:var(--fs-meta); font-weight:600; color:var(--text-2) }
.spx .D .s2 .vr { align-self:stretch; background:#2e2e2e }
.spx .D .s2 .mv { display:grid; row-gap:4px }
.spx .D .mv { font-size:var(--fs-meta); color:var(--muted) }
.spx .D .mv span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap }
.spx .D .mv b { color:var(--text); font-size:var(--fs-body); font-weight:650 }
.spx .D .mv .sp-ic { color:var(--muted) }
/* horizontal route rail: the stop list turned on its side */
.spx .D .hr { margin-top:12px; padding-top:14px; border-top:1px solid #262626 }
.spx .D .hr .lab.top { height:15px; position:relative; margin-bottom:3px }
.spx .D .hr .trk { position:relative; height:16px; margin:0 5px }
.spx .D .hr .seg2 { position:absolute; top:7px; height:2px; display:flex; align-items:center }
.spx .D .hr .seg2 i { display:block; flex:1 1 0; min-width:2px }
.spx .D .hr .seg2 i.walk { height:2px; background:radial-gradient(circle, var(--accent) 0 .95px, transparent 1.25px) 0 0 / 4.5px 2px repeat-x }
.spx .D .hr .seg2 i.ride { height:4px; border-radius:2px; background:var(--accent) }
.spx .D .hr .bdg { position:absolute; top:50%; transform:translate(-50%,-50%); display:flex; gap:2px; z-index:2 }
.spx .D .hr .bdg .line { box-shadow:0 0 0 2px var(--cbg) }
.spx .D .hr .nd { position:absolute; top:3px; width:10px; height:10px; margin-left:-5px; border-radius:50%; background:var(--cbg); box-shadow:inset 0 0 0 2px var(--accent); z-index:1 }
.spx .D .hr .nd.dia { top:4px; width:8px; height:8px; margin-left:-4px; border-radius:1px; background:var(--gold); box-shadow:none; transform:rotate(45deg) }
.spx .D .hr .lab { position:relative; height:16px; margin-top:5px }
.spx .D .hr .lab span { position:absolute; top:0; font-size:var(--fs-cap); line-height:16px; font-weight:500; color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx .D .hr .lab span.more { color:var(--faint) }
/* compact stop list */
.spx .itin { display:grid; grid-template-columns:auto 16px minmax(0,1fr); column-gap:8px; margin-top:12px; padding-top:12px; border-top:1px solid #262626 }
.spx .itin .t { font-size:var(--fs-meta); font-weight:650; color:var(--text); text-align:right; line-height:22px; min-width:52px }
.spx .itin .rail { position:relative; display:flex; flex-direction:column; align-items:center }
.spx .itin .node { width:10px; height:10px; margin-top:6px; background:var(--cbg) }
.spx .itin .node.dia { width:9px; height:9px; margin-top:7px; background:var(--gold) }
.spx .itin .rail .stay { flex:1 1 auto; width:2px; min-height:4px; margin:4px 0 -6px; background:#333 } .spx .itin .rail .stay.g { margin:0 0 -6px }
.spx .itin .stop { line-height:22px; font-size:var(--fs-body); font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx .itin .stop small { font-size:var(--fs-cap); font-weight:500; color:var(--faint); margin-left:6px }
.spx .itin .sb { grid-column:3 / -1; min-width:0; padding-bottom:6px } .spx .itin .sb .stop { display:block }
.spx .itin .pass { gap:1px 12px }
.spx .itin .by { display:block; white-space:normal }
.spx .itin .gp { grid-column:3 / -1; min-width:0; padding:0 0 4px } .spx .itin .brk { margin:7px 0 1px }
.spx .itin .leg { display:flex; align-items:center; flex-wrap:wrap; column-gap:6px; row-gap:2px; padding:3px 0; min-height:24px; font-size:var(--fs-meta); color:var(--muted) }
.spx .itin .leg .say { flex-basis:100%; margin:0 }
.spx .itin .leg .say.relaxed { color:var(--muted) }
.spx .itin .legrail { display:flex; flex-direction:column; align-items:center; min-height:24px; margin:-6px 0 -8px }   /* runs under the nodes: the rail reads continuous */
.spx .itin .lt0 { display:flex; justify-content:flex-end; align-items:flex-start; padding-top:4px } .spx .itin .lt0 .chip { margin:0 }
.spx .itin .race { flex-basis:100%; margin:1px 0 3px }
.spx .itin .win { flex-basis:100% }

@media (prefers-reduced-motion: reduce) { .spx .btn, .spx .segt button, .spx .brk, .spx .moreb .ic, .spx .sheet .sh, .spx .sheet .bk, .spx .card, .spx .tog svg { transition:none; animation:none } }

/* ================= 2 · home view ================= */
/* Components (Button, IconButton, RiskChip, RunnerChip, SegmentedToggle, Field, rows, BreakRow, SeenControl, Sheet, Menu)
   live in spectator-ds.prototype.css. This block is page layout only. */
.spx {
  --paneH:min(72vh, 640px); --paneNow:640px;
  /* z scale: map < pane < sheet < bar < pop < toast */
  --z-pane:20; --z-sheet:25; --z-bar:30; --z-pop:40; --z-toast:50;
}

.spx { color:var(--text); font:14px/1.4 var(--ui); -webkit-font-smoothing:antialiased; font-variant-numeric:tabular-nums }
.spx.standalone { position:fixed; inset:0; background:#0c0d0f; overflow:hidden }   /* review pages: the prototype's body (the map band stays empty: map.js owns it) */
.spx.phone :where(.hm) { --paneH:78vh }

/* ---- pane ---- */
.spx :where(.hm) .hm-pane { position:fixed; left:0; right:0; bottom:0; height:var(--paneH); z-index:var(--z-pane); display:flex; flex-direction:column; background:var(--surface);
  border-top:1px solid var(--border); border-radius:14px 14px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.45) }
.spx :where(.hm) .hm-pane.collapsed { height:auto }
.spx :where(.hm) .hm-phdr { flex:none; padding:10px 16px 8px 24px; border-bottom:1px solid var(--border) } .spx.phone :where(.hm) .hm-phdr { padding:8px 8px 8px 16px }
.spx :where(.hm) .ph .hr1, .spx :where(.hm) .ph .hr2 { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0 }
.spx :where(.hm) .ph .hr1 { min-height:44px } .spx :where(.hm) .ph .hr2 { min-height:40px; margin-top:4px; padding-right:8px }
.spx :where(.hm) .ph .hl { display:flex; align-items:center; gap:12px; min-width:0 } .spx :where(.hm) .ph .ha { display:flex; align-items:center; gap:6px; flex:none }
.spx.phone :where(.hm) .ph .hr1 { gap:4px } .spx.phone :where(.hm) .ph .hr1 .hl { gap:4px } .spx.phone :where(.hm) .ph .hr1 .ha { gap:0 }   /* 44 px icon buttons; the plan name keeps its room */
.spx :where(.hm) .ph .vr { width:1px; height:18px; background:#333; flex:none }
.spx :where(.hm) .hn { display:inline-flex; align-items:center; gap:6px; min-width:0; min-height:44px; margin-left:-8px; padding:2px 8px; border:0; border-radius:var(--r-ctl); background:transparent; color:var(--text); text-align:left }
.spx :where(.hm) .hn:hover { background:#1c1c1c } .spx :where(.hm) .hn[aria-expanded="true"] { background:#222 }
.spx :where(.hm) .hn .hn-t { display:grid; grid-template-columns:minmax(0,1fr); min-width:0 }   /* the name ellipsizes inside; the ▾ stays outside it */ .spx :where(.hm) .hn-n { font-family:var(--display); font-size:21px; font-weight:800; letter-spacing:-.02em; line-height:1.15; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx.phone :where(.hm) .hn-n { font-size:18px }
.spx :where(.hm) .hn-s .chip { vertical-align:1px }   /* round 31 phone: the risk chip rides the stats line so the name gets the width */
.spx :where(.hm) .hn-s { font-size:var(--fs-cap); font-weight:600; color:var(--text-2); white-space:nowrap }
.spx :where(.hm) .hn .cv { flex:none; width:18px; height:18px; color:var(--muted) }   /* flex:none: .cv is also the chart view class */
.spx :where(.hm) .hn.plain { margin-left:0; padding-left:0 } .spx :where(.hm) .hn.plain:hover { background:transparent }
.spx :where(.hm) .tmc { display:inline-flex; align-items:center; gap:8px; white-space:nowrap }
.spx :where(.hm) .tmc b { display:inline-block; min-width:16.5ch; font-size:14px; font-weight:650 }   /* fixed width: previewing another plan never shifts the row */
.spx :where(.hm) .rchips { display:flex; align-items:center; gap:4px; min-width:0 }
.spx :where(.hm) .ibn.more .ic { stroke-width:2.4 }
/* Itinerary | Chart (Details | Chart on desktop), right of the header = the SegmentedToggle (round 30); fixed width, no shift */
.spx :where(.hm) .segt.vt { width:156px }
.spx.phone :where(.hm) .ph .hr2 .segt.vt { margin-right:4px }

/* ---- main: list | side ---- */
.spx :where(.hm) .hm-main { flex:1; min-height:0; display:flex; position:relative }
.spx :where(.hm) .hm-list { flex:1; min-width:0; overflow:auto; padding:0 16px 28px; overscroll-behavior:contain; position:relative }
.spx:not(.phone) :where(.hm) .hm-list { flex:0 0 40%; padding:0 16px 28px 20px; border-right:1px solid var(--border) }
.spx :where(.hm) .hm-list.chartv { overflow:hidden; display:flex; flex-direction:column; padding:6px 12px 10px }
.spx :where(.hm) .hm-side { flex:1; min-width:0; overflow:auto; padding:16px 28px 28px; overscroll-behavior:contain }
.spx :where(.hm) .hm-side.chartv { overflow:hidden; display:flex; flex-direction:column; padding:8px 20px 10px }
.spx.phone :where(.hm) .hm-side { display:none }
.spx :where(.hm) .stat { position:sticky; top:0; z-index:3; background:var(--surface); margin:0; padding:12px 0 6px; font-size:var(--fs-meta); color:var(--muted); display:flex; flex-wrap:wrap; gap:2px 10px }
.spx :where(.hm) .stat b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .stat .free { flex-basis:100%; display:inline-flex; align-items:center; gap:6px; color:var(--text-2) } .spx :where(.hm) .stat .free .ic { width:14px; height:14px; color:var(--muted) }
.spx :where(.hm) .offl { display:inline-flex; align-items:center; gap:6px; color:var(--text-2); font-weight:600 } .spx :where(.hm) .offl .ic { width:14px; height:14px; color:var(--warn) }
.spx :where(.hm) .pv { display:flex; align-items:center; gap:4px 10px; flex-wrap:wrap; margin:10px 0 0; padding:2px 4px 2px 12px; border-radius:var(--r-ctl); background:#2a221b; font-size:var(--fs-meta); color:var(--text-2) }
.spx :where(.hm) .pv b { color:var(--text) } .spx :where(.hm) .pv .sp { flex:1 }

/* ---- list rows (spectator-itinerary.prototype.html, copied) ---- */
.spx :where(.hm) .rows { position:relative; --infoW:100% } .spx :where(.hm) .rows .row { max-width:760px }
.spx :where(.hm) .row { position:relative; display:grid; grid-template-columns:var(--infoW) minmax(0,1fr); border-radius:10px; transition:background-color .15s var(--ease) }
.spx :where(.hm) .row[data-sel] { cursor:pointer }
.spx :where(.hm) .row.hl { background:#1b1b1b }
.spx :where(.hm) .row.stop.hl, .spx :where(.hm) .row.reu.hl { background:#1e1b18 }
.spx :where(.hm) .inf { display:grid; grid-template-columns:72px 20px minmax(0,1fr); column-gap:10px; min-width:0; padding-right:12px }
.spx.phone :where(.hm) .inf { grid-template-columns:64px 18px minmax(0,1fr); column-gap:8px; padding-right:4px }
.spx :where(.hm) .inf .t { text-align:right; padding-top:10px }
.spx :where(.hm) .inf .t b { display:block; font-size:16.5px; font-weight:750; letter-spacing:-.01em; line-height:20px; color:var(--text); white-space:nowrap }
.spx.phone :where(.hm) .inf .t b { font-size:15px }
.spx :where(.hm) .inf .t b .tl2 { color:var(--muted); font-weight:600 }
.spx :where(.hm) .inf .rail { position:relative; display:flex; flex-direction:column; align-items:center }
.spx :where(.hm) .row.stop .rail::before, .spx :where(.hm) .row.reu .rail::before { content:''; position:absolute; left:50%; width:2px; margin-left:-1px; top:0; bottom:0; background:#2d2d2d }
.spx :where(.hm) .row.stop.first .rail::before { top:16px } .spx :where(.hm) .row.reu .rail::before { bottom:calc(100% - 16px) }
.spx :where(.hm) .inf .node { margin-top:14px } .spx :where(.hm) .inf .node.dia { margin-top:15px } .spx :where(.hm) .inf .node:is(.done, .cur) { margin-top:12px }
.spx :where(.hm) .row.hl .node:not(.dia):not(.done) { background:var(--accent) }
.spx :where(.hm) .inf .c { min-width:0; padding:8px 0 12px }
.spx :where(.hm) .nmrow { display:flex; align-items:center; gap:8px; min-height:26px }
.spx :where(.hm) .nmx { border:0; background:none; padding:0; color:var(--text); text-align:left; font-size:15.5px; font-weight:700; letter-spacing:-.005em; line-height:22px; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx :where(.hm) .nmx:hover { text-decoration:underline; text-underline-offset:3px; text-decoration-color:#555 }
.spx :where(.hm) .nmrow small { font-size:var(--fs-meta); font-weight:600; color:var(--muted); white-space:nowrap }
.spx :where(.hm) .nmrow .tag { font-size:var(--fs-meta); font-weight:750; color:var(--text); white-space:nowrap }
.spx :where(.hm) .row.past .nmx { color:var(--text-2) } .spx :where(.hm) .row.past .inf .t b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .inf .pass { margin-top:3px }
.spx :where(.hm) .row.reu.then .c { padding:6px 0 8px } .spx :where(.hm) .row.reu.then .nmx { font-size:var(--fs-meta); font-weight:500; color:var(--muted) } .spx :where(.hm) .row.reu.then .nmx b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .row.gap.hl .brk { background:#222826; box-shadow:inset 0 0 0 1px #3d4a44 }
.spx :where(.hm) .row.gap .c { padding:2px 0 8px } .spx :where(.hm) .row.gap .inf .t { padding-top:9px } .spx :where(.hm) .row.gap .inf .t b { font-size:var(--fs-meta); font-weight:600; color:var(--muted); line-height:18px }
.spx :where(.hm) .inf .legrail { position:absolute; top:0; bottom:0; left:50%; display:flex; flex-direction:column; align-items:center; transform:translateX(-50%) }
.spx :where(.hm) .row.leg.past .legrail i.walk { background-image:radial-gradient(circle, #6b6b6b 0 1px, transparent 1.3px) } .spx :where(.hm) .row.leg.past .legrail i.ride { background:#555 }
.spx :where(.hm) .row.leg .inf .t { padding-top:6px } .spx :where(.hm) .row.leg .inf .t b { font-size:var(--fs-meta); font-weight:600; color:var(--muted); line-height:18px }
.spx :where(.hm) .row.leg .c { padding:6px 0 10px }
.spx :where(.hm) .lt { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; font-size:var(--fs-meta); color:var(--muted) }
.spx :where(.hm) .lt b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .lt .nmx { display:inline-flex; align-items:center; gap:7px; font-size:var(--fs-meta); font-weight:650; color:var(--text-2); line-height:20px }
.spx :where(.hm) .lt .tag { font-size:var(--fs-meta); font-weight:750; color:var(--text) }
.spx :where(.hm) .lt .nmx .arr { margin-left:-3px; white-space:nowrap }   /* round 31: your arrival rides the leg label */
/* LegLine in the list: the 40 % desktop column is phone-narrow, so under 440 px it takes the phone layout: line 1 =
   "27 min · arrive ~11:11", line 2 = spare │ Directions. Same place on every leg either way. */
.spx :where(.hm) .row.leg .c { container-type:inline-size }
@container (max-width: 440px) { .spx :where(.hm) .lt.legline { grid-template-columns:minmax(0,1fr) auto } .spx :where(.hm) .lt.legline > .ll { grid-column:1 / -1 } .spx :where(.hm) .lt.legline > .spare { grid-row:2; grid-column:1 } .spx :where(.hm) .lt.legline > .btn { grid-row:2; grid-column:2 } }
.spx :where(.hm) .inf .t .rk { display:block; margin-top:4px } .spx :where(.hm) .inf .t .rk .chip { margin:0 }
.spx :where(.hm) .row .win { margin:3px 0 0 }
.spx :where(.hm) .row.crew { cursor:default } .spx :where(.hm) .row.crew .inf .t { padding-top:4px } .spx :where(.hm) .row.crew .inf .t b { font-size:var(--fs-cap); font-weight:600; color:var(--muted) }
.spx :where(.hm) .row.crew .c { padding:3px 0 6px; font-size:var(--fs-meta); color:var(--muted) } .spx :where(.hm) .row.crew .c b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .row.crew .node { width:8px; height:8px; margin-top:8px; background:var(--c); box-shadow:0 0 0 3px var(--surface) }
.spx :where(.hm) .row.crew .rail::before { content:''; position:absolute; left:50%; width:2px; margin-left:-1px; top:0; bottom:0; background:#2d2d2d }
/* the live stop on the phone: expanded inline, content takes the full row width, warm tint, no nested card */
.spx :where(.hm) .row.open .c { margin:6px 0 10px; padding:14px 14px 16px; border-radius:14px; background:var(--live); box-shadow:inset 0 0 0 1px #3a2a1c }
.spx.phone :where(.hm) .row.open .inf { grid-template-columns:minmax(0,1fr); padding-right:0 }
.spx.phone :where(.hm) .row.open .inf .t, .spx.phone :where(.hm) .row.open .inf .rail { display:none }
.spx :where(.hm) .row.open .nmrow { margin-bottom:10px }
.spx :where(.hm) .teach { display:grid; gap:10px; margin-top:10px }
.spx :where(.hm) .teach p { margin:0; font-size:var(--fs-meta); line-height:1.4; color:var(--text-2) } .spx :where(.hm) .teach p b { color:var(--text) }
/* edit mode (Custom editor) */
.spx :where(.hm) .editnote { margin:12px 0 4px; font-size:var(--fs-meta); color:var(--muted) }
.spx :where(.hm) .list-undo { margin:6px 0 0 }
.spx :where(.hm) .nmrow .ibn { margin:-8px -6px -8px auto }
.spx :where(.hm) .row.addr { display:block; padding:2px 0; cursor:default }
.spx :where(.hm) .row.addr .ai { margin-left:102px } .spx.phone :where(.hm) .row.addr .ai { margin-left:90px }
.spx :where(.hm) .row.addr .cands { max-width:460px }
.spx.phone :where(.hm) .row.addr .cands { margin-left:-90px }
.spx :where(.hm) .sub { margin:6px 0 4px; padding:10px; border-radius:10px; background:#141414; box-shadow:inset 0 0 0 1px #262626; display:grid; gap:8px }
.spx :where(.hm) .sub .hits { list-style:none; margin:0; padding:0; display:grid; gap:4px }

/* ---- details (desktop right pane · phone sheet) ---- */
.spx :where(.hm) .dbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:-6px 0 8px; min-height:36px }
.spx :where(.hm) .det { display:grid; gap:18px; max-width:720px }
.spx :where(.hm) .dh { display:grid; gap:4px }
.spx :where(.hm) .dh1 { display:flex; align-items:center; gap:10px; flex-wrap:wrap }
.spx :where(.hm) .hm-sheet .dh1, .spx :where(.hm) .hm-sheet .fh, .spx :where(.hm) .hm-sheet .where, .spx :where(.hm) .hm-sheet .dbar { padding-right:44px }
.spx .dt { margin:0; font-family:var(--display); font-size:var(--fs-display); font-weight:800; letter-spacing:-.02em; line-height:1.15; text-wrap:balance }
.spx :where(.hm) .ds { margin:0; font-size:var(--fs-meta); color:var(--muted); line-height:1.4 } .spx :where(.hm) .ds b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .sec { display:grid; gap:6px }
.spx :where(.hm) .sh { margin:0; font-size:var(--fs-meta); font-weight:700; color:var(--text-2) }
.spx :where(.hm) .sec p { margin:0; font-size:var(--fs-body); line-height:1.45; color:var(--text) }
.spx :where(.hm) .dacts { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px }
.spx :where(.hm) .hint, .spx :where(.hm) .sec .hint { margin:0; font-size:var(--fs-meta); color:var(--muted); line-height:1.4 }
.spx :where(.hm) .sec .by { color:var(--text-2) }
.spx :where(.hm) .op-t { margin:0; font-size:15px; font-weight:700 } .spx :where(.hm) .op-s { margin:0; font-size:var(--fs-meta); color:var(--text-2); font-weight:600 }
.spx :where(.hm) .steps2 { display:grid; gap:0; margin:0; padding:0; list-style:none }
.spx :where(.hm) .steps2 li { display:grid; grid-template-columns:22px minmax(0,1fr) auto; column-gap:10px; align-items:center; min-height:36px; font-size:var(--fs-body); border-bottom:1px solid #232323 }
.spx :where(.hm) .steps2 li:last-child { border-bottom:0 }
.spx :where(.hm) .steps2 li .g { display:flex; justify-content:center; color:var(--muted) } .spx :where(.hm) .steps2 li .g .ic { width:17px; height:17px }
.spx :where(.hm) .steps2 li .d { color:var(--text-2); font-size:var(--fs-meta); font-weight:650 }
.spx :where(.hm) .tbl { list-style:none; margin:0; padding:0; display:grid }
.spx :where(.hm) .tbl li { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:12px; align-items:center; min-height:44px; padding:6px 0; border-bottom:1px solid #232323; font-size:var(--fs-body) }
.spx :where(.hm) .tbl li b { font-weight:650 } .spx :where(.hm) .tbl li small { display:block; font-size:var(--fs-meta); color:var(--muted) } .spx :where(.hm) .tbl li .v { text-align:right; font-weight:700; white-space:nowrap } .spx :where(.hm) .tbl li .v small { display:inline; font-weight:500 }
.spx :where(.hm) .tbl li.miss .v { color:var(--muted); font-weight:600 }

/* ---- race day: the Now content ---- */
.spx :where(.hm) .live { display:grid; gap:14px }
.spx :where(.hm) .nhl { margin:0; font-family:var(--display); font-size:var(--fs-display); font-weight:800; letter-spacing:-.02em; line-height:1.15; text-wrap:balance }
.spx :where(.hm) .where { margin:0; font-size:var(--fs-meta); color:var(--muted); font-weight:600; display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.spx :where(.hm) .where b { color:var(--text); font-weight:700 } .spx :where(.hm) .where .ic { width:15px; height:15px }
.spx :where(.hm) .cd { display:flex; align-items:flex-end; gap:14px; flex-wrap:wrap }
.spx :where(.hm) .cd .n { font-size:44px; font-weight:800; line-height:.9; letter-spacing:-.035em }
.spx :where(.hm) .cd .n small { font-size:20px; font-weight:750; letter-spacing:-.01em; margin-left:4px }
.spx :where(.hm) .cd .n .tl { font-size:.6em; font-weight:700; color:var(--text-2); margin-right:2px; letter-spacing:0 }
.spx :where(.hm) .cd .lab { padding-bottom:3px; font-size:var(--fs-body); line-height:1.35; color:var(--text-2); font-weight:600 }
.spx :where(.hm) .cd .lab > span:not(.chip) { display:block; color:var(--muted); font-weight:500; font-size:var(--fs-meta) }
.spx :where(.hm) .cdl { display:grid; gap:2px; justify-items:start }
.spx :where(.hm) .cdl .k { font-size:var(--fs-body); font-weight:650; color:var(--text-2); display:inline-flex; align-items:center; gap:8px }
.spx :where(.hm) .cdl .n { font-size:44px; font-weight:800; line-height:1; letter-spacing:-.035em }
.spx :where(.hm) .cdl .n small { font-size:20px; font-weight:750; letter-spacing:-.01em; margin-left:4px } .spx :where(.hm) .cdl .n .tl { font-size:.6em; font-weight:700; color:var(--text-2) }
.spx :where(.hm) .cdl .s { font-size:var(--fs-meta); color:var(--muted); margin-top:2px }
.spx :where(.hm) .wbar { position:relative; height:10px; border-radius:5px; background:#2a2a2a; margin:6px 0 4px }
.spx :where(.hm) .wbar i { position:absolute; top:0; bottom:0; left:0; border-radius:5px; background:var(--c); opacity:.55 }
.spx :where(.hm) .wbar b { position:absolute; top:-5px; width:4px; height:20px; margin-left:-2px; border-radius:2px; background:var(--text); box-shadow:0 0 0 2px var(--surface) }
.spx :where(.hm) .facts { display:grid; gap:8px; margin:0; padding:0; list-style:none }
.spx :where(.hm) .facts li { display:grid; grid-template-columns:22px 1fr; column-gap:8px; align-items:start; font-size:var(--fs-body); line-height:1.35; color:var(--text) }
.spx :where(.hm) .facts li .ic { width:18px; height:18px; margin-top:1px; color:var(--muted) } .spx :where(.hm) .facts li .dot { margin:6px 0 0 5px }
.spx :where(.hm) .facts li small { display:block; font-size:var(--fs-meta); color:var(--muted) }
.spx :where(.hm) .done1 { margin:0; display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:var(--fs-body); color:var(--text-2) } .spx :where(.hm) .done1 .ic { width:18px; height:18px; color:var(--text) } .spx :where(.hm) .done1 b { color:var(--text) }
.spx :where(.hm) .act { display:grid; gap:4px; align-content:start; justify-items:start }
.spx :where(.hm) .spot { display:grid; gap:12px }
.spx :where(.hm) .spot .cdw { display:grid; gap:4px }
.spx :where(.hm) .spot .cd { align-items:center; gap:12px } .spx :where(.hm) .spot .cd .dot { width:12px; height:12px; align-self:center }
.spx :where(.hm) .guide { margin:0; font-size:var(--fs-body); font-weight:600; color:var(--text-2) }
/* downtime: "You're free until 10:43" (round 28) */
.spx :where(.hm) .freeu { margin:0; display:flex; align-items:center; gap:8px; padding:9px 12px; border-radius:var(--r-ctl); background:var(--free-bg); box-shadow:inset 0 0 0 1px var(--free-bd); font-size:var(--fs-body); color:var(--text-2) }
.spx :where(.hm) .freeu b { color:var(--text); font-weight:700 } .spx :where(.hm) .freeu .ic { width:16px; height:16px; color:var(--muted) }
.spx :where(.hm) .gow { display:grid; gap:6px; justify-items:start }
.spx :where(.hm) .cons { margin:0; font-size:var(--fs-meta); color:var(--muted); line-height:1.4 }
.spx :where(.hm) .yside { margin:0; display:flex; align-items:center; gap:6px; font-size:var(--fs-meta); color:var(--muted) } .spx :where(.hm) .yside .ic { width:14px; height:14px }
.spx :where(.hm) .hm-side .spot, .spx :where(.hm) .hm-side .live { max-width:600px }   /* one column, phone order: countdown → runners + Seen → Go to next */
/* GiftCard + LockedRow = DS (round 31). ⋯ panels: Travel (spectator-plan.prototype.html Getting Around, copied) · How To Read It */
.spx :where(.hm) .det > .gift { border-top:0; padding-top:0 }
.spx :where(.hm) .blk { display:grid } .spx :where(.hm) .blk > .lb { display:block; font-size:var(--fs-body); line-height:1.3; font-weight:600; color:var(--text) } .spx :where(.hm) .blk > .help { margin:2px 0 10px }
.spx :where(.hm) .tiles { display:grid; gap:10px; grid-template-columns:repeat(var(--n, 3), minmax(0,1fr)) }
.spx :where(.hm) .tile { position:relative; display:grid; align-content:start; justify-items:start; gap:6px; min-height:44px; padding:14px 14px 13px; border-radius:12px; border:1px solid #333; background:var(--card);
  text-align:left; color:var(--text); transition:border-color .15s, background-color .15s }
.spx :where(.hm) .tile:hover { border-color:#4a4a4a; background:#1e1e1e }
.spx :where(.hm) .tile[aria-checked="true"] { border-color:var(--accent); background:#1e1915; box-shadow:inset 0 0 0 .5px var(--accent) }
.spx :where(.hm) .tile .tg { display:flex; gap:4px; color:var(--text) } .spx :where(.hm) .tile .tg .ic { width:24px; height:24px; stroke-width:1.6 }
.spx :where(.hm) .tile b { font-size:15px; font-weight:700; letter-spacing:-.005em; line-height:1.2 }
.spx :where(.hm) .tile .s { font-size:var(--fs-meta); color:var(--muted); line-height:1.35 }
.spx :where(.hm) .tile .mph { font-size:var(--fs-meta); font-weight:650; color:var(--text-2) }
.spx :where(.hm) .tile .ck { position:absolute; top:10px; right:10px; width:20px; height:20px; border-radius:50%; border:1.5px solid #4a4a4a }
.spx :where(.hm) .tile[aria-checked="true"] .ck { border:0; background:var(--accent); color:#0a0a0a; display:grid; place-items:center } .spx :where(.hm) .tile .ck .ic { width:13px; height:13px; stroke-width:2.6 }
.spx.phone :where(.hm) .tiles.mode { grid-template-columns:minmax(0,1fr); gap:8px }
.spx.phone :where(.hm) .tiles.mode .tile { grid-template-columns:auto 1fr auto; align-items:center; column-gap:12px; row-gap:2px; padding:12px 14px } .spx.phone :where(.hm) .tiles.mode .tile .s { grid-column:2; font-size:var(--fs-cap) }
.spx.phone :where(.hm) .tiles.mode .tile .tg { grid-row:1 / span 2; width:52px; justify-content:center } .spx.phone :where(.hm) .tiles.mode .tile .ck { position:static; grid-column:3; grid-row:1 / span 2 }
.spx.phone :where(.hm) .tiles.pace { gap:8px } .spx.phone :where(.hm) .tiles.pace .tile { padding:12px 10px 11px } .spx.phone :where(.hm) .tiles.pace .tile .ck { display:none } .spx.phone :where(.hm) .tiles.pace .tile .s { display:none }
.spx.phone :where(.hm) .segt.dirs { display:flex }
.spx :where(.hm) .segt.dirs { justify-self:start } .spx :where(.hm) .segt.dirs button { min-height:40px; padding:0 16px }
.spx :where(.hm) .lgs { display:flex; flex-wrap:wrap; gap:4px }
/* Email me my plan = spectator-runners.prototype.html save step + share card preview, copied */
.spx :where(.hm) .stack { display:grid; gap:14px }
.spx :where(.hm) .ssave .what { display:grid; grid-template-columns:32px 1fr; gap:12px; align-items:start; padding:12px 14px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border); font-size:var(--fs-meta); color:var(--text-2); line-height:1.45 }
.spx :where(.hm) .ssave .what .bi { width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:#232323; color:var(--accent) } .spx :where(.hm) .ssave .what .bi .ic { width:18px; height:18px }
.spx :where(.hm) .ssave .row2 { display:flex; align-items:center; gap:14px; flex-wrap:wrap }
.spx :where(.hm) .pcard { max-width:520px; border-radius:12px; background:#0f0f0f; box-shadow:inset 0 0 0 1px #2c2c2c; padding:12px 14px; display:grid; gap:10px }
.spx :where(.hm) .pcard .brand { font-size:var(--fs-cap); font-weight:650; color:var(--faint) } .spx :where(.hm) .pcard .nm { font-size:15px; font-weight:700 }
.spx :where(.hm) .pcard .meta { font-size:var(--fs-meta); color:var(--muted) } .spx :where(.hm) .pcard .meta b { color:var(--text-2); font-weight:650 }
.spx :where(.hm) .pcard .url { padding-top:8px; border-top:1px solid #262626; font-size:var(--fs-cap); color:var(--faint) }
.spx :where(.hm) .mstops { margin:0; padding-left:20px; display:grid; gap:3px; font-size:var(--fs-meta); color:var(--muted) } .spx :where(.hm) .mstops b { color:var(--text-2); font-weight:650 }

/* ---- runner form ---- */
.spx .form { display:grid; gap:14px; max-width:560px }
.spx .fh { display:flex; gap:12px; align-items:flex-start }
.spx .frow { display:grid; grid-template-columns:1fr 1fr; gap:12px } .spx.phone .frow { grid-template-columns:1fr }
.spx .fmore { border-top:1px solid #262626; padding-top:4px }
.spx .facts2 { display:flex; gap:8px; flex-wrap:wrap; align-items:center } .spx .facts2 .danger { margin-left:auto }

/* ---- chart (the Pace plan's #view rule: fills, never scrolls) ---- */
.spx :where(.hm) .cv { flex:1; min-height:0; display:flex; flex-direction:column }
.spx :where(.hm) .cro { flex:none; display:flex; align-items:flex-start; justify-content:space-between; gap:12px; min-height:28px; padding:2px 0 4px }
.spx.phone :where(.hm) .cro { flex-direction:column; gap:2px }
.spx :where(.hm) .readout { flex:1; min-height:22px; font-size:var(--fs-meta); line-height:18px; color:var(--text-2); display:flex; flex-wrap:wrap; column-gap:10px; align-content:flex-start; align-items:center }
.spx.phone :where(.hm) .readout { font-size:var(--fs-cap); line-height:16px }
.spx :where(.hm) .readout > span { display:inline-flex; align-items:center; gap:6px; white-space:nowrap }
.spx :where(.hm) .readout b { color:var(--text); font-weight:700 } .spx :where(.hm) .readout .hint { color:var(--muted) }
.spx :where(.hm) .readout .you i { width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 1.5px #fff }
.spx :where(.hm) .readout .ibn { margin:-12px -10px -12px auto }
.spx :where(.hm) .lgd { display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center; gap:2px 10px; font-size:var(--fs-cap); color:var(--muted) }
.spx.phone :where(.hm) .lgd { justify-content:flex-start }
.spx :where(.hm) .lgd .lg { display:inline-flex; align-items:center; gap:5px; white-space:nowrap } .spx :where(.hm) .lgd svg { width:18px; height:8px }
.spx :where(.hm) .lgd button.lg { border:0; background:none; padding:4px 4px; margin:-4px 0; border-radius:6px; color:var(--text-2); font-size:inherit; font-weight:650; min-height:28px }
.spx :where(.hm) .lgd button.lg:hover, .spx :where(.hm) .lgd button.lg[aria-pressed="true"] { background:#222; color:var(--text) }
.spx :where(.hm) .lgd .fr { width:14px; height:10px; border-radius:3px; background:var(--free); box-shadow:inset 0 0 0 1px var(--free-line) }
.spx :where(.hm) .chartwrap { position:relative; flex:1; min-height:0 }
.spx :where(.hm) .chartbox { position:absolute; inset:0; touch-action:pan-y; cursor:crosshair; border-radius:10px }
.spx :where(.hm) .chartbox:focus-visible { outline-offset:-2px }
.spx :where(.hm) .chartbox svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible }
.spx :where(.hm) .chartbox .gr { stroke:#212121; stroke-width:1 } .spx :where(.hm) .chartbox .gr.h { stroke:#2a2a2a }
.spx :where(.hm) .chartbox .spotln { stroke:#3a3a3a; stroke-width:1 } .spx :where(.hm) .chartbox .spotln.st0 { stroke:#2c2c2c } .spx :where(.hm) .chartbox .spotln.on { stroke:var(--text-2) }
.spx :where(.hm) .chartbox .kml { fill:#c9c4bf; font:650 12px var(--ui); paint-order:stroke; stroke:var(--surface); stroke-width:5px; stroke-linejoin:round; pointer-events:none } .spx :where(.hm) .chartbox .kml.on { fill:var(--text); font-weight:750 }
.spx :where(.hm) .chartbox .band polygon { fill:var(--c); opacity:.10 } .spx :where(.hm) .chartbox .band polyline { fill:none; stroke:var(--c); stroke-width:1; opacity:.5; stroke-dasharray:3 3 }
.spx :where(.hm) .chartbox .band.star polygon { opacity:.2 } .spx :where(.hm) .chartbox .band.star polyline { stroke-width:1.6; opacity:.9; stroke-dasharray:none }
.spx :where(.hm) .chartbox .band.on polygon { opacity:.32 } .spx :where(.hm) .chartbox .band.on polyline { stroke-width:2.4; opacity:1 }
.spx :where(.hm) .chartbox .st { stroke:var(--accent); fill:none; stroke-linecap:round; transition:opacity .15s var(--ease) }
.spx :where(.hm) .chartbox .stayc { stroke:#8a8a8a; stroke-width:1; opacity:.45 }
.spx :where(.hm) .chartbox .st.wait { stroke-width:1.5; opacity:.55 } .spx :where(.hm) .chartbox .st.ride { stroke-width:4 } .spx :where(.hm) .chartbox .st.walk { stroke-width:2.6; stroke-dasharray:0.1 4.6 }
.spx :where(.hm) .chartbox .st.on.wait { stroke-width:2.2; opacity:.8 } .spx :where(.hm) .chartbox .st.on.ride { stroke-width:5.2 }
.spx :where(.hm) .chartbox .free { fill:var(--free); stroke:var(--free-line); stroke-width:1; transition:opacity .15s }
.spx :where(.hm) .chartbox .freet { fill:#b9cfc6; font:650 12px var(--ui) }
.spx :where(.hm) .chartbox .sd { fill:var(--c); stroke:var(--surface); stroke-width:1.6 } .spx :where(.hm) .chartbox .sd.miss { fill:var(--surface); stroke:var(--c); stroke-width:1.8 }
.spx :where(.hm) .chartbox .dia { fill:var(--gold) }
.spx :where(.hm) .chartbox .bdg rect { stroke:var(--surface); stroke-width:2 } .spx :where(.hm) .chartbox .bdg text { font:750 11px var(--ui); letter-spacing:.01em }
.spx :where(.hm) .chartbox svg.dim [data-sel]:not(.on) { opacity:.35 }
.spx :where(.hm) .chartbox .now line { stroke:var(--text); stroke-width:1.2; stroke-dasharray:4 3; opacity:.8 } .spx :where(.hm) .chartbox .now text { fill:var(--text); font:750 12px var(--ui); paint-order:stroke; stroke:var(--surface); stroke-width:4px }
.spx :where(.hm) .chartbox .addg line { stroke:var(--text); stroke-width:1.2; stroke-dasharray:3 3 } .spx :where(.hm) .chartbox .addg circle { fill:var(--surface); stroke:var(--text); stroke-width:2 }
.spx :where(.hm) .chartbox .addg text { fill:var(--text); font:750 12px var(--ui); paint-order:stroke; stroke:var(--surface); stroke-width:4px }
.spx :where(.hm) .chartbox .cur line.v { stroke:#e7e5e4; stroke-width:1; opacity:.55 }
.spx :where(.hm) .chartbox .cur .rs { stroke:var(--c); stroke-width:7; stroke-linecap:round; opacity:.32 }
.spx :where(.hm) .chartbox .cur .rd { fill:var(--c); stroke:#0c0d0f; stroke-width:1.6 }
.spx :where(.hm) .chartbox .cur .yd { fill:var(--accent); stroke:#fff; stroke-width:2 } .spx :where(.hm) .chartbox .cur .yh { fill:rgba(255,122,26,.22) }
.spx :where(.hm) .axis { position:relative; flex:none; height:22px }
.spx :where(.hm) .axis span { position:absolute; bottom:2px; transform:translateX(-50%); font-size:var(--fs-cap); font-weight:600; color:#9a938d; white-space:nowrap }
.spx :where(.hm) .axis span.cur { color:var(--text); font-weight:750; padding:1px 6px; border-radius:5px; background:#2a2a2a; z-index:1 }
.spx :where(.hm) .csel { flex:none; display:flex; align-items:center; gap:10px; min-height:60px; margin-top:6px; padding:8px 0 0; border-top:1px solid var(--border) }
.spx :where(.hm) .csel .cs-t { flex:1; min-width:0; display:grid; gap:2px } .spx :where(.hm) .csel .cs-t b { font-size:15px; font-weight:700; display:flex; align-items:center; gap:8px }
.spx :where(.hm) .csel .cs-t span { font-size:var(--fs-meta); color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx :where(.hm) .csel.empty .cs-t span, .spx :where(.hm) .csel.add .cs-t span { white-space:normal }

/* ---- collapsed strip (Pace plan ticket 19) ---- */
.spx :where(.hm) .hm-cstrip { position:relative; display:flex; align-items:center; justify-content:center; padding:8px 64px 8px 16px; touch-action:pan-y; user-select:none; -webkit-user-select:none }
.spx :where(.hm) .cs-grab { position:absolute; right:16px; top:50%; transform:translateY(-50%) } .spx :where(.hm) .cs-grab .ic { transform:rotate(180deg) }
.spx :where(.hm) .cs-nav { display:grid; grid-template-columns:44px 240px 44px; align-items:center; flex:none }
.spx :where(.hm) .cs-nav .ibn { width:44px; height:44px; color:var(--muted) }
.spx :where(.hm) .cs-mid { display:grid; justify-items:center; gap:5px; min-width:0 }
.spx :where(.hm) .cs-name { width:100%; text-align:center; font-size:15px; font-weight:700; line-height:20px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.spx :where(.hm) .cs-dots { display:flex; justify-content:center; gap:5px; height:7px; align-items:center }
.spx :where(.hm) .cs-dots i { width:6px; height:6px; border-radius:50%; background:#4a4a4a; flex:none } .spx :where(.hm) .cs-dots i.lg { width:4px; height:4px; background:#3a3a3a }
.spx :where(.hm) .cs-dots i.on { background:var(--accent); box-shadow:0 0 0 2px rgba(255,122,26,.25) }
.spx :where(.hm) .cs-stats { display:grid; grid-template-columns:repeat(3, 124px); flex:none; margin-left:20px; border-left:1px solid var(--border) }
.spx :where(.hm) .cs-cell { display:grid; justify-items:center; row-gap:3px; line-height:1.15; white-space:nowrap; overflow:hidden }
.spx :where(.hm) .cs-cell .k { font-size:var(--fs-cap); color:var(--muted); min-height:13px }
.spx :where(.hm) .cs-cell b { font-size:var(--fs-title); font-weight:600; min-height:19px } .spx :where(.hm) .cs-cell b.warn { color:var(--rk-tight) } .spx :where(.hm) .cs-cell b.bad { color:var(--rk-bad) } .spx :where(.hm) .cs-cell b.mut { color:var(--muted); font-weight:500 }
.spx.phone :where(.hm) .hm-cstrip { display:grid; justify-content:stretch; justify-items:stretch; padding:0 12px 12px }
.spx.phone :where(.hm) .cs-grab { position:relative; top:auto; right:auto; transform:none; justify-self:center; width:64px; height:32px }
.spx.phone :where(.hm) .cs-nav { grid-template-columns:44px minmax(0,1fr) 44px }
.spx.phone :where(.hm) .cs-stats { grid-template-columns:repeat(3, minmax(0,1fr)); margin:6px 0 0; border-left:0 }

/* ---- phone: Jump to now, preview bar (the details sheet = DS Sheet) ---- */
.spx :where(.hm) .hm-jump { position:absolute; left:50%; bottom:16px; transform:translateX(-50%); z-index:6; display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 16px; border:0; border-radius:999px;
  background:var(--text); color:var(--bg); font-size:var(--fs-meta); font-weight:700; box-shadow:0 8px 24px rgba(0,0,0,.5) }
.spx :where(.hm) .hm-jump .ic { width:15px; height:15px; stroke-width:2.2 }
.spx :where(.hm) .hm-pvbar { flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); border-top:1px solid var(--border); background:var(--surface); font-size:var(--fs-meta); color:var(--muted) }
.spx :where(.hm) .hm-pvbar b { color:var(--text) } .spx :where(.hm) .hm-pvbar span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }

/* ---- popover (plan menu, ⋯) = DS Menu ---- */
.spx :where(.hm) .hm-pop { position:fixed; z-index:var(--z-pop); max-height:60vh; overflow:auto }
.spx :where(.hm) .hm-pop ul { list-style:none; margin:0 0 4px; padding:0; display:grid; gap:2px }
.spx :where(.hm) .hm-pop .csub { margin:10px 8px 6px }
.spx :where(.hm) .pc { width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; padding:0 10px 0 12px; border-radius:var(--r-ctl); border:0; background:transparent;
  color:var(--text-2); font-size:var(--fs-body); font-weight:650; white-space:nowrap; transition:background-color .15s, color .15s }
.spx :where(.hm) .pc:hover { background:#232323; color:var(--text) }
.spx :where(.hm) .pc.on { background:#262626; color:var(--text) }
.spx :where(.hm) .pc .pn { display:inline-flex; align-items:center; gap:6px } .spx :where(.hm) .pc .ck { width:15px; height:15px; color:var(--text); stroke-width:2.4 }

/* ---- toasts ---- */
.spx :where(.hm) .hm-toast { position:fixed; left:50%; bottom:calc(var(--paneNow) + 12px); transform:translateX(-50%); z-index:var(--z-toast); max-width:calc(100vw - 32px); padding:10px 14px; border-radius:10px; background:#262626; box-shadow:0 0 0 1px #3a3a3a, 0 10px 30px rgba(0,0,0,.5); font-size:var(--fs-body); color:var(--text) }
.spx :where(.hm) .hm-crew { position:fixed; left:50%; bottom:calc(var(--paneNow) + 12px); transform:translateX(-50%); z-index:var(--z-toast); width:min(520px, calc(100vw - 24px));
  display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; padding:12px 14px; border-radius:14px; background:#f5f5f5; color:#111; box-shadow:0 12px 30px rgba(0,0,0,.5); animation:tIn .28s var(--ease) }
.spx :where(.hm) .hm-crew .av { width:34px; height:34px; background:#2a2a2a; color:#fff; position:relative } .spx :where(.hm) .hm-crew .av i { position:absolute; right:-2px; bottom:-2px; width:12px; height:12px; border-radius:50%; background:var(--c); box-shadow:0 0 0 2px #f5f5f5 }
.spx :where(.hm) .hm-crew b { font-weight:750 } .spx :where(.hm) .hm-crew .s { display:block; font-size:var(--fs-meta); color:#44403c; margin-top:1px }
.spx :where(.hm) .hm-crew button { border:0; background:none; font-weight:750; font-size:var(--fs-body); color:#111; min-height:44px; padding:0 6px }
@keyframes tIn { from { opacity:0; transform:translate(-50%, 8px) } }

.spx :where(.hm) .xf { animation:xf .2s var(--ease) } @keyframes xf { from { opacity:.25 } }
@media (prefers-reduced-motion: reduce) { .spx :where(.hm) *, .spx :where(.hm) *::before { transition:none !important; animation:none !important } }

/* Mounted anywhere but a standalone review page (the flyover's Spectators panel): the pane fills the root, whatever its
   height; only the list and details scroll. The fixed viewport pane above is the standalone review pages' layout. */
.spx:not(.standalone) { position:relative; height:100%; overflow:hidden } .spx:not(.standalone) :where(.hm) { background:transparent }
.spx:not(.standalone) :where(.hm) .hm-pane { position:absolute; height:100%; border-radius:0; border-top:0; box-shadow:none }
.spx:not(.standalone) :where(.hm) .hm-pane.collapsed { height:auto }


/* ================= 3 · runners + plan views (port-p3b) =================
   = tools/spectator-runners.prototype.html (v=A) + tools/spectator-plan.prototype.html (frame D) <style>, ported 1:1.
   #pane/#head/#body/.wrap → .sx-step/.sx-head/.sx-body/.sx-wrap; each page's own rules scoped with :where(.sx-run) / :where(.sx-plan) (their class names overlap; :where keeps the prototype's DS-vs-page specificity). */
.spx .sx-step {position:fixed; left:0; right:0; bottom:0; height:min(72vh, 640px);   /* setup steps = the Pace plan's .surveying height (Kevin 2026-09-23) */ display:flex; flex-direction:column; background:var(--surface);
  border-top:1px solid var(--border); border-radius:14px 14px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.45)}
.spx.phone .sx-step {height:78vh}
.spx .sx-head {display:flex; align-items:center; gap:12px; padding:8px 24px 6px; border-bottom:1px solid var(--border); flex:none}
.spx.phone .sx-head {padding:8px 16px 6px}
.spx.phone :where(.sx-run) .steps button {min-height:44px}
.spx :where(.sx-run) .steps {display:flex; align-items:center; gap:4px; font-size:var(--fs-meta); font-weight:600; white-space:nowrap}
.spx :where(.sx-run) .steps button {display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:var(--muted); padding:6px 8px 6px 4px; min-height:36px; border-radius:var(--r-ctl)}
.spx :where(.sx-run) .steps button .i {width:20px; height:20px; border-radius:50%; border:1.5px solid #4a4a4a; display:grid; place-items:center; font-size:var(--fs-cap); font-weight:700}
.spx :where(.sx-run) .steps button.on {color:var(--text)}
.spx :where(.sx-run) .steps button.on .i {background:var(--text); border-color:var(--text); color:var(--bg)}
.spx :where(.sx-run) .steps button:disabled {opacity:.4; cursor:default}
.spx :where(.sx-run) .steps .sep {width:14px; height:1px; background:#3a3a3a}
.spx .sx-body {flex:1; min-height:0; overflow:auto; padding:18px 24px 28px}
.spx.phone .sx-body {padding:16px 16px 28px}
.spx .sx-wrap {max-width:1180px; margin:0 auto}
.spx :where(.sx-run) h2.q, .spx :where(.sx-run) h3.h {text-transform:capitalize}
.spx :where(.sx-run) h2.q {margin:0; font-size:20px; font-weight:700; letter-spacing:-.015em; line-height:1.2; text-wrap:balance}
.spx :where(.sx-run) h3.h {margin:0; font-size:15px; font-weight:650; letter-spacing:-.005em}
.spx :where(.sx-run) .sub {margin:4px 0 0; color:var(--muted); font-size:var(--fs-meta); line-height:1.45; text-wrap:pretty}
.spx :where(.sx-run) .mut {color:var(--muted)}
.spx :where(.sx-run) .must {white-space:nowrap; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border-radius:var(--r-ctl); border:1px solid #3a3a3a; background:transparent; color:var(--text-2); font-size:14px; font-weight:650}
.spx :where(.sx-run) .must .ic {width:17px; height:17px}
.spx :where(.sx-run) .must[aria-pressed="true"] {border-color:#6b5a1d; background:rgba(247,201,72,.08); color:var(--text)}
.spx :where(.sx-run) .must[aria-pressed="true"] .ic {color:var(--gold); fill:var(--gold)}
.spx :where(.sx-run) .form {display:grid; gap:12px; max-width:none}   /* not the home RunnerForm's 560 px cap (the runners page never had one) */
.spx :where(.sx-run) .form .row {display:grid; grid-template-columns:1fr 1fr; gap:12px}
.spx.phone :where(.sx-run) .form .row {grid-template-columns:1fr}
.spx :where(.sx-run) .form .acts {display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.spx :where(.sx-run) .list {list-style:none; margin:0; padding:0; display:grid; gap:8px}
.spx :where(.sx-run) .rr {display:grid; grid-template-columns:auto 1fr auto auto; align-items:center; column-gap:12px; padding:10px 8px 10px 14px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx :where(.sx-run) .rr .nm {font-size:15px; font-weight:650; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.spx :where(.sx-run) .rr .meta {font-size:var(--fs-meta); color:var(--muted); margin-top:1px}
.spx :where(.sx-run) .rr .meta b {color:var(--text-2); font-weight:600}
.spx :where(.sx-run) .from {font-size:var(--fs-cap); font-weight:650; color:var(--text-2); display:inline-flex; align-items:center; gap:4px}
.spx :where(.sx-run) .from .ic {width:13px; height:13px}
.spx :where(.sx-run) .key {font-size:var(--fs-cap); color:var(--muted); display:flex; align-items:center; gap:6px; margin-top:8px}
.spx :where(.sx-run) .key .ic {width:13px; height:13px; color:var(--gold); fill:var(--gold)}
.spx :where(.sx-run) .teach .hl {margin:0; font-size:22px; font-weight:750; letter-spacing:-.02em; line-height:1.15; text-wrap:balance}
.spx :where(.sx-run) .teach .facts {display:flex; flex-wrap:wrap; gap:6px 18px; margin:8px 0 0; padding:0; list-style:none; font-size:var(--fs-meta); color:var(--text-2)}
.spx :where(.sx-run) .teach .facts li {display:inline-flex; align-items:center; gap:7px}
.spx :where(.sx-run) .teach .facts li::before {content:''; width:5px; height:5px; border-radius:50%; background:var(--accent)}
.spx :where(.sx-run) .rail {position:relative; padding:12px 14px 12px; margin-top:14px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx :where(.sx-run) .rail .cap {display:flex; justify-content:space-between; font-size:var(--fs-cap); color:var(--muted); margin-bottom:10px}
.spx :where(.sx-run) .rail .cap b {color:var(--text-2); font-weight:650}
.spx :where(.sx-run) .rail .trk {position:relative; height:16px; margin:0 5px}
.spx :where(.sx-run) .rail .seg {position:absolute; top:7px; height:2px; display:flex; align-items:center}
.spx :where(.sx-run) .rail .seg i {display:block; flex:1 1 0}
.spx :where(.sx-run) .rail .seg i.walk {height:2px; background:radial-gradient(circle, var(--accent) 0 .95px, transparent 1.25px) 0 0 / 4.5px 2px repeat-x}
.spx :where(.sx-run) .rail .seg i.ride {height:4px; border-radius:2px; background:var(--accent)}
.spx :where(.sx-run) .rail .bdg {position:absolute; top:50%; transform:translate(-50%,-50%); display:flex; gap:2px; z-index:2}
.spx :where(.sx-run) .rail .nd {position:absolute; top:3px; width:10px; height:10px; margin-left:-5px; border-radius:50%; background:var(--card); box-shadow:inset 0 0 0 2px var(--accent); z-index:1}
.spx :where(.sx-run) .rail .nd.dia {top:4px; width:8px; height:8px; margin-left:-4px; border-radius:1px; background:var(--gold); box-shadow:none; transform:rotate(45deg)}
.spx :where(.sx-run) .rail .labs {position:relative; height:16px; margin-top:6px}
.spx :where(.sx-run) .rail .labs.dots {height:30px}
.spx :where(.sx-run) .rail .labs span {position:absolute; top:0; font-size:var(--fs-cap); line-height:15px; font-weight:500; color:var(--text-2); white-space:nowrap; transform:translateX(-50%); text-align:center}
.spx :where(.sx-run) .rail .labs span:first-child {transform:none; text-align:left}
.spx :where(.sx-run) .rail .labs span:last-child {transform:translateX(-100%); text-align:right}
.spx :where(.sx-run) .rail .labs small {display:flex; gap:4px; justify-content:inherit; margin-top:2px}
.spx :where(.sx-run) .rail .labs span:not(:first-child):not(:last-child) small {justify-content:center}
.spx :where(.sx-run) .rail .labs span:last-child small {justify-content:flex-end}
.spx :where(.sx-run) .rail .labs small i {width:7px; height:7px; border-radius:50%; background:var(--c)}
.spx :where(.sx-run) .intents {display:grid; gap:10px}
.spx :where(.sx-run) .intent {display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:14px; width:100%; padding:14px 16px; border-radius:12px; border:1px solid #333; background:var(--card); text-align:left; transition:border-color .15s, background-color .15s}
.spx :where(.sx-run) .intent:hover {border-color:#4a4a4a; background:#1e1e1e}
.spx :where(.sx-run) .intent .gl {width:40px; height:40px; border-radius:10px; display:grid; place-items:center; background:#262626; color:var(--text)}
.spx :where(.sx-run) .intent .gl .ic {width:20px; height:20px}
.spx :where(.sx-run) .intent b {display:block; font-size:15px; font-weight:650}
.spx :where(.sx-run) .intent span.s {display:block; font-size:var(--fs-meta); color:var(--muted); margin-top:2px}
.spx :where(.sx-run) .intent .chev {color:#6f6a66}
.spx :where(.sx-run) .free {display:flex; align-items:center; gap:7px; margin-top:12px; font-size:var(--fs-cap); color:var(--muted)}
.spx :where(.sx-run) .free .ic {width:14px; height:14px}
.spx :where(.sx-run) .save {display:grid; gap:12px; padding:14px 16px 16px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx :where(.sx-run) .save .hdr {display:grid; gap:2px}
.spx :where(.sx-run) .save .opt {display:grid; grid-template-columns:22px 1fr; column-gap:10px; align-items:start}
.spx :where(.sx-run) .save .opt > .ic {margin-top:13px; color:var(--muted)}
.spx :where(.sx-run) .save .ln {display:flex; gap:8px}
.spx :where(.sx-run) .save .hint {font-size:var(--fs-cap); color:var(--muted); margin-top:5px}
.spx :where(.sx-run) .urlbox {flex:1; min-width:0; display:flex; align-items:center; min-height:44px; padding:0 12px; border-radius:var(--r-ctl); border:1px solid #333; background:var(--field); font-size:var(--fs-meta); color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spx :where(.sx-run) .done {color:var(--text-2); font-size:var(--fs-meta); font-weight:650; display:inline-flex; align-items:center; gap:5px}
.spx :where(.sx-run) .two {display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:28px; align-items:start}
.spx.phone :where(.sx-run) .two {grid-template-columns:minmax(0,1fr); gap:18px}
.spx :where(.sx-run) .stack {display:grid; gap:14px}
.spx :where(.sx-run) .cta {display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.spx :where(.sx-run) .bn {position:relative}
.spx :where(.sx-run) .bn .slides {display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth; gap:10px; scrollbar-width:none; overscroll-behavior-x:contain}
.spx :where(.sx-run) .bn .slides::-webkit-scrollbar {display:none}
.spx :where(.sx-run) .bn .slide {flex:0 0 100%; scroll-snap-align:start; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border); padding:12px 14px 12px; display:grid; grid-template-rows:auto auto; gap:10px}
.spx :where(.sx-run) .bn .ill {height:104px; position:relative; border-radius:9px; background:#141414; box-shadow:inset 0 0 0 1px #242424; overflow:hidden; padding:10px 12px; font-size:var(--fs-cap)}
.spx :where(.sx-run) .bn .tx b {display:block; font-size:15px; font-weight:700; letter-spacing:-.005em}
.spx :where(.sx-run) .bn .tx span {display:block; margin-top:1px; font-size:var(--fs-meta); color:var(--muted); line-height:1.4}
.spx :where(.sx-run) .bn .nav {display:flex; align-items:center; justify-content:space-between; margin-top:8px}
.spx :where(.sx-run) .bn .dots {display:flex; gap:2px}
.spx :where(.sx-run) .bn .dots button {width:24px; height:24px; border:0; background:none; padding:0; display:grid; place-items:center; border-radius:6px}
.spx :where(.sx-run) .bn .dots button i {display:block; width:6px; height:6px; border-radius:50%; background:#4a4a4a; transition:transform .2s var(--ease), background-color .2s}
.spx :where(.sx-run) .bn .dots button[aria-current="true"] i {transform:scaleX(2.6); border-radius:3px; background:var(--accent)}
.spx :where(.sx-run) .bn .arrows {display:flex; gap:4px}
.spx :where(.sx-run) .bn .arrows button {width:32px; height:28px; border-radius:var(--r-ctl); border:1px solid #333; background:transparent; color:var(--text-2); display:grid; place-items:center}
.spx :where(.sx-run) .bn .arrows button:disabled {opacity:.35; cursor:default}
.spx.phone :where(.sx-run) .bn .arrows {display:none}
.spx :where(.sx-run) .bn .pr {display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:8px; height:28px}
.spx :where(.sx-run) .bn .pr .g {font-size:var(--fs-cap); font-weight:650; color:var(--faint); text-transform:none}
.spx :where(.sx-run) .bn .pr .n {display:flex; align-items:center; gap:7px; font-weight:600; color:var(--text-2); white-space:nowrap; overflow:hidden}
.spx :where(.sx-run) .bn .rings {display:inline-flex; gap:3px}
.spx :where(.sx-run) .bn .rings i {width:7px; height:7px; border-radius:50%; box-shadow:inset 0 0 0 1.5px var(--accent)}
.spx :where(.sx-run) .bn .sr {display:grid; grid-template-columns:14px 1fr auto; align-items:center; gap:8px; height:26px}
.spx :where(.sx-run) .bn .sr .nd {width:9px; height:9px; border-radius:50%; box-shadow:inset 0 0 0 2px var(--accent)}
.spx :where(.sx-run) .bn .sr b {font-weight:650; color:var(--text)}
.spx :where(.sx-run) .bn .sr .w {color:var(--muted); margin-left:6px}
.spx :where(.sx-run) .bn .sr .w i {display:inline-block; width:7px; height:7px; border-radius:50%; background:#3b9bff; margin-right:4px}
.spx :where(.sx-run) .bn .sr .t {font-weight:650; color:var(--text-2)}
.spx :where(.sx-run) .bn .sr .t small {font-size:.8em; opacity:.8}
.spx :where(.sx-run) .bn .lg {display:grid; grid-template-columns:14px 1fr; gap:8px; height:22px; align-items:center; color:var(--muted)}
.spx :where(.sx-run) .bn .lg .rl {justify-self:center; width:3px; height:100%; background:var(--accent); border-radius:2px}
.spx :where(.sx-run) .bn .lg b {color:var(--text-2); font-weight:650}
.spx :where(.sx-run) .bn .mapbox {position:relative; height:100%; aspect-ratio:2 / 1; margin:0 auto}
.spx :where(.sx-run) .bn .mm {position:absolute; inset:0; width:100%; height:100%}
.spx :where(.sx-run) .bn .mm path {fill:none; stroke:#5b5b5b; stroke-width:2.2; stroke-linejoin:round}
.spx :where(.sx-run) .bn .pin {position:absolute; transform:translate(-50%,-50%)}
.spx :where(.sx-run) .bn .pin i {display:block; width:10px; height:10px; border-radius:50%; background:#141414; box-shadow:inset 0 0 0 2.5px var(--accent)}
.spx :where(.sx-run) .bn .pin i::after {content:''; position:absolute; inset:-5px; border-radius:50%; box-shadow:0 0 0 1.5px rgba(255,122,26,.5); opacity:0; animation:pulse 2.8s var(--ease) infinite}
.spx :where(.sx-run) .bn .pin:nth-of-type(2) i::after {animation-delay:.9s}
.spx :where(.sx-run) .bn .pin:nth-of-type(3) i::after {animation-delay:1.8s}
@keyframes pulse { 0% { opacity:.9; transform:scale(.6) } 70%, 100% { opacity:0; transform:scale(1.6) } }
.spx :where(.sx-run) .bn .tag {position:absolute; white-space:nowrap; font-size:var(--fs-cap); font-weight:650; color:var(--text); background:rgba(10,10,10,.88); box-shadow:inset 0 0 0 1px #333; border-radius:5px; padding:2px 6px; display:inline-flex; align-items:center; gap:4px}
.spx :where(.sx-run) .bn .tag .line {box-shadow:none; height:14px; min-width:20px; font-size:9.5px}
.spx :where(.sx-run) .bn .gap {margin:2px 0 2px 22px; padding:5px 10px; border-radius:8px; background:var(--free-bg); box-shadow:inset 0 0 0 1px var(--free-bd); display:grid; gap:1px}
.spx :where(.sx-run) .bn .gap .f {font-weight:700; color:var(--text); font-size:var(--fs-meta)}
.spx :where(.sx-run) .bn .gap .nb {color:var(--muted); font-size:var(--fs-cap)}
.spx :where(.sx-run) .bn .leg5 {position:relative; margin:24px 6px 0; height:14px}
.spx :where(.sx-run) .bn .leg5 .sg {position:absolute; top:6px; height:2px}
.spx :where(.sx-run) .bn .leg5 .sg.walk {background:radial-gradient(circle, var(--accent) 0 .95px, transparent 1.25px) 0 0 / 4.5px 2px repeat-x}
.spx :where(.sx-run) .bn .leg5 .sg.ride {top:5px; height:4px; border-radius:2px; background:var(--accent)}
.spx :where(.sx-run) .bn .leg5 .nd {position:absolute; top:2px; width:10px; height:10px; margin-left:-5px; border-radius:50%; background:#141414; box-shadow:inset 0 0 0 2px var(--accent); z-index:1}
.spx :where(.sx-run) .bn .leg5 .bd {position:absolute; top:50%; transform:translate(-50%,-50%); z-index:2}
.spx :where(.sx-run) .bn .leg5 .bd .line {box-shadow:0 0 0 2px #141414}
.spx :where(.sx-run) .bn .leg5 .you {position:absolute; top:3px; width:8px; height:8px; margin-left:-4px; border-radius:50%; background:#fff; box-shadow:0 0 0 2px var(--accent); z-index:3; animation:ride 5s cubic-bezier(.45,0,.55,1) infinite}
@keyframes ride { 0%, 8% { left:0% } 22% { left:18% } 62% { left:78% } 78%, 100% { left:100% } }
.spx :where(.sx-run) .bn .leg5l {position:relative; margin:8px 6px 0; height:30px; font-size:var(--fs-cap); color:var(--muted)}
.spx :where(.sx-run) .bn .leg5l span {position:absolute; top:0; white-space:nowrap; transform:translateX(-50%); text-align:center}
.spx :where(.sx-run) .bn .leg5l span b {display:block; color:var(--text-2); font-weight:650; font-size:var(--fs-cap)}
@media (prefers-reduced-motion: reduce) { .spx :where(.sx-run) .bn .pin i::after, .spx :where(.sx-run) .bn .leg5 .you { animation:none } .spx :where(.sx-run) .bn .leg5 .you { left:18% } .spx :where(.sx-run) .bn .slides { scroll-behavior:auto } }
.spx :where(.sx-run) .must-wrap {display:grid; gap:4px}
.spx :where(.sx-run) .intro .ttl {margin:0; font-family:var(--display); font-size:26px; font-weight:800; letter-spacing:-.02em; line-height:1.1}
.spx :where(.sx-run) .intro .lede {margin:5px 0 0; font-size:14px; color:var(--text-2); line-height:1.4; text-wrap:pretty}
.spx :where(.sx-run) .how {margin-top:6px}
.spx :where(.sx-run) .howbox {margin-top:8px}
.spx :where(.sx-run) .starkey {display:flex; align-items:center; gap:6px; margin:0 0 8px; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-run) .starkey .ic {width:13px; height:13px; color:var(--gold); fill:var(--gold)}
.spx :where(.sx-run) .rr .look {color:var(--text-2)}
.spx :where(.sx-run) .ssave {max-width:520px; display:grid; gap:14px}
.spx :where(.sx-run) .ssave .ttl {margin:0; font-family:var(--display); font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.1}
.spx :where(.sx-run) .ssave .what {display:grid; grid-template-columns:32px 1fr; gap:12px; align-items:start; padding:12px 14px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border); font-size:var(--fs-meta); color:var(--text-2); line-height:1.45}
.spx :where(.sx-run) .ssave .what .bi {width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:#232323; color:var(--accent)}
.spx :where(.sx-run) .ssave .what .bi .ic {width:18px; height:18px}
.spx :where(.sx-run) .ssave .row2 {display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.spx :where(.sx-run) .stack > *, .spx :where(.sx-run) .share2 > *, .spx :where(.sx-run) .pcard > * {min-width:0}
.spx :where(.sx-run) .share2 {display:grid; gap:12px; padding:14px 16px 16px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx :where(.sx-run) .pcard {border-radius:12px; background:#0f0f0f; box-shadow:inset 0 0 0 1px #2c2c2c; padding:12px 14px; display:grid; gap:10px}
.spx :where(.sx-run) .pcard .top {display:flex; align-items:center; justify-content:space-between; gap:10px}
.spx :where(.sx-run) .pcard .brand {font-size:var(--fs-cap); font-weight:650; color:var(--faint)}
.spx :where(.sx-run) .pcard .nm {font-size:15px; font-weight:700}
.spx :where(.sx-run) .pcard .meta {font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-run) .pcard .meta b {color:var(--text-2); font-weight:650}
.spx :where(.sx-run) .pcard .url {font-size:var(--fs-cap); color:var(--faint); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spx :where(.sx-run) .pcard .rail {margin:0; padding:0; background:none; box-shadow:none}
.spx :where(.sx-run) .pcard .rail .labs {display:none}
.spx :where(.sx-run) .pcard .spots {font-size:var(--fs-cap); color:var(--text-2); white-space:normal; display:flex; flex-wrap:wrap; row-gap:2px}
.spx :where(.sx-run) .pcard .spots i {font-style:normal; color:var(--faint); margin:0 4px}
.spx :where(.sx-run) .share2 .acts2 {display:flex; gap:10px; flex-wrap:wrap}
.spx :where(.sx-run) .share2 .acts2 .btn.pri {flex:1 1 180px}
.spx :where(.sx-run) .share2 .what2 {margin:0; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-run) .emailme {display:grid; gap:6px; padding-top:12px; border-top:1px solid #262626}
.spx :where(.sx-run) .h.hi {display:flex; align-items:center; gap:8px}
.spx :where(.sx-run) .h.hi .ic {color:var(--accent)}
.spx :where(.sx-run) .acard {display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; padding:14px; border-radius:12px; background:#0f0f0f; box-shadow:inset 0 0 0 1px #2c2c2c}
.spx :where(.sx-run) .acard .nm {font-size:17px; font-weight:700}
.spx :where(.sx-run) .acard .meta {font-size:var(--fs-meta); color:var(--muted); margin-top:2px}
.spx :where(.sx-run) .acard .meta b {color:var(--text-2); font-weight:650}
.spx :where(.sx-run) .acard .url {font-size:var(--fs-cap); color:var(--faint); margin-top:6px}
.spx :where(.sx-run) .dotc {display:inline-block; width:8px; height:8px; border-radius:50%; background:var(--c); margin:0 4px 0 6px; vertical-align:0}
.spx :where(.sx-run) .dotc.hol {background:transparent; box-shadow:inset 0 0 0 1.5px var(--c)}
.spx :where(.sx-run) .ttl2 {margin:0; font-family:var(--display); font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.15}
.spx :where(.sx-run) .vlist {list-style:none; margin:0; padding:14px 14px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border); display:grid}
.spx :where(.sx-run) .vs, .spx :where(.sx-run) .vl {display:grid; grid-template-columns:50px 14px minmax(0,1fr) auto; column-gap:10px; align-items:center}
.spx :where(.sx-run) .vs {min-height:34px}
.spx :where(.sx-run) .vs .t {text-align:right; font-weight:650; font-size:var(--fs-meta)}
.spx :where(.sx-run) .vs .t small {font-size:.72em; margin-left:2px; opacity:.8}
.spx :where(.sx-run) .vs b {font-size:14px; font-weight:650; white-space:nowrap}
.spx :where(.sx-run) .vs small {display:block; font-size:var(--fs-cap); color:var(--faint); line-height:1.2}
.spx :where(.sx-run) .vs {padding:3px 0}
.spx :where(.sx-run) .vs .wh {display:flex; gap:8px; font-size:var(--fs-cap); color:var(--text-2); white-space:nowrap}
.spx :where(.sx-run) .vs .wh .dotc {margin-left:0}
.spx :where(.sx-run) .vs .wh .miss {color:var(--muted)}
.spx :where(.sx-run) .vs .nd {width:10px; height:10px; border-radius:50%; box-shadow:inset 0 0 0 2px var(--accent); justify-self:center; background:var(--card); position:relative; z-index:1}
.spx :where(.sx-run) .vs .nd.dia {width:9px; height:9px; border-radius:1px; background:var(--gold); box-shadow:none; transform:rotate(45deg)}
.spx :where(.sx-run) .vl {min-height:26px; font-size:var(--fs-cap); color:var(--muted)}
.spx :where(.sx-run) .vl i {justify-self:center; align-self:stretch; margin:-6px 0}
.spx :where(.sx-run) .vl i.rr2 {width:4px; border-radius:2px; background:var(--accent)}
.spx :where(.sx-run) .vl i.rw {width:2px; background:radial-gradient(circle, var(--accent) 0 .95px, transparent 1.25px) 0 0 / 2px 4.5px repeat-y}
.spx :where(.sx-run) .vl .line {box-shadow:none; margin-right:4px}
.spx :where(.sx-run) .sugg {display:grid; grid-template-columns:32px 1fr; gap:12px; align-items:start; padding:14px 16px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx :where(.sx-run) .sugg .bi {width:32px; height:32px; border-radius:9px; display:grid; place-items:center; background:#232323; color:var(--accent)}
.spx :where(.sx-run) .sugg .bi .ic {width:18px; height:18px}
.spx :where(.sx-run) .sugg .help {margin:3px 0 10px}
.spx :where(.sx-run) .rr[data-edit] {cursor:pointer; transition:box-shadow .15s}
.spx :where(.sx-run) .rr[data-edit]:hover {box-shadow:inset 0 0 0 1px var(--border-h)}
.spx :where(.sx-run) .rr.open {display:block; padding:14px 16px; box-shadow:inset 0 0 0 1.5px #4a4a4a}
.spx :where(.sx-run) .fh {display:flex; gap:12px; align-items:flex-start}
.spx :where(.sx-run) .more {border-top:1px solid #262626; padding-top:4px}
.spx :where(.sx-run) .line {box-shadow:0 0 0 2px var(--card)}
.spx :where(.sx-run) .rr.open {--sw-ring:var(--card)}
.spx :where(.sx-run) .rr .ibn.star-on, .spx :where(.sx-run) .ibn[data-star][aria-pressed="true"] {color:var(--gold)}
.spx :where(.sx-run) .ibn[data-star][aria-pressed="true"] .ic {fill:var(--gold)}
.spx :where(.sx-run) .ibn[data-star] {color:#8f8984}
.spx :where(.sx-run) .how .ic {transition:transform .2s var(--ease)}
.spx :where(.sx-run) .how[aria-expanded="true"] .ic {transform:rotate(90deg)}
.spx :where(.sx-run) .shr {position:relative}
.spx :where(.sx-run) .shr > .menu {position:absolute; left:0; top:calc(100% + 6px); z-index:5; min-width:220px; display:grid}
.spx :where(.sx-run) .acts .danger {margin-left:auto}
@media (prefers-reduced-motion: reduce) { .spx :where(.sx-run) * { transition:none !important } }
.spx :where(.sx-run) .form-col {min-width:0; display:grid; align-content:start; gap:10px}
.spx :where(.sx-run) .intent-chg {justify-self:start}
.spx.phone .sx-head:has(.backfly) .steps .sep {display:none}
.spx.phone .sx-head:has(.backfly) {gap:0}
.spx.phone :where(.sx-run) .backfly {padding:0 6px 0 0 !important}
.spx .sx-step {position:fixed; left:0; right:0; bottom:0; height:min(72vh, 640px); display:flex; flex-direction:column; background:var(--surface);
  border-top:1px solid var(--border); border-radius:14px 14px 0 0; box-shadow:0 -10px 40px rgba(0,0,0,.45)}
.spx.phone .sx-step {height:78vh}
.spx .sx-head {display:flex; align-items:center; gap:12px; padding:8px 24px 6px; border-bottom:1px solid var(--border); flex:none}
.spx.phone .sx-head {padding:8px 16px 6px}
.spx.phone :where(.sx-plan) .steps button {min-height:44px}
.spx :where(.sx-plan) .steps {display:flex; align-items:center; gap:4px; font-size:var(--fs-meta); font-weight:600; white-space:nowrap}
.spx :where(.sx-plan) .steps button {display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:var(--muted); padding:6px 8px 6px 4px; min-height:36px; border-radius:var(--r-ctl)}
.spx :where(.sx-plan) .steps button:hover {color:var(--text)}
.spx :where(.sx-plan) .steps button .i {width:20px; height:20px; border-radius:50%; border:1.5px solid #4a4a4a; display:grid; place-items:center; font-size:var(--fs-cap); font-weight:700}
.spx :where(.sx-plan) .steps button .i svg {width:12px; height:12px}
.spx :where(.sx-plan) .steps button.on {color:var(--text)}
.spx :where(.sx-plan) .steps button.on .i {background:var(--text); border-color:var(--text); color:var(--bg)}
.spx :where(.sx-plan) .steps button.done .i {border-color:#5a5a5a; color:var(--text-2)}
.spx :where(.sx-plan) .steps .sep {width:14px; height:1px; background:#3a3a3a}
.spx .psx {display:block; font-size:var(--fs-cap); color:var(--muted); margin-top:1px}
.spx .psx b {color:var(--text-2); font-weight:650}
.spx.phone .sx-head:has(.backfly) {gap:0}
.spx.phone .sx-head:has(.backfly) .steps .sep {width:6px}
.spx.phone .sx-head:has(.backfly) .steps button {padding-right:4px}
.spx .sx-body {flex:1; min-height:0; overflow:auto; padding:18px 24px 28px; scroll-padding-top:12px}
.spx.phone .sx-body {padding:16px 16px 28px}
.spx .sx-wrap {max-width:1180px; margin:0 auto}
.spx :where(.sx-plan) .ttl {margin:0; font-family:var(--display); font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.15; text-wrap:balance}
.spx :where(.sx-plan) .ctx {margin:5px 0 0; font-size:var(--fs-meta); color:var(--muted); line-height:1.4}
.spx :where(.sx-plan) .ctx b {color:var(--text-2); font-weight:650}
.spx :where(.sx-plan) .ctx .stc {color:var(--gold); margin-right:2px}
.spx :where(.sx-plan) .f {gap:0}
.spx :where(.sx-plan) .f > .segt {justify-self:start}
.spx.phone :where(.sx-plan) .f > .segt {justify-self:stretch; display:flex}
.spx :where(.sx-plan) .f > .help {margin:2px 0 8px}
.spx :where(.sx-plan) .segt button .ic {width:17px; height:17px}
.spx :where(.sx-plan) .segt button .ic + .ic {margin-left:-4px}
.spx :where(.sx-plan) .segt.pace button, .spx.phone :where(.sx-plan) .segt.mode button {flex-direction:column; gap:0; min-height:44px; line-height:1.15}
.spx.phone :where(.sx-plan) .segt button {flex:1 1 0; min-width:0; padding:0 6px}
.spx.phone :where(.sx-plan) .segt.mode .ics2 {display:none}
.spx.phone :where(.sx-plan) .segt.mode .soon {margin:0; font-weight:600}
.spx :where(.sx-plan) .segt.mode .lbl2 {display:inline-flex; align-items:center; gap:7px}
.spx :where(.sx-plan) .ics2 {display:inline-flex}
.spx :where(.sx-plan) .segt button.na {color:#8f8984}
.spx :where(.sx-plan) .segt button.na:hover {color:#b5b0ab}
.spx :where(.sx-plan) .soon {font-size:var(--fs-cap); font-weight:700; letter-spacing:.01em; color:var(--faint); margin-left:-2px}
.spx :where(.sx-plan) .segt button[aria-pressed="true"] .soon {color:#6a6a6a}
.spx :where(.sx-plan) .note {display:flex; gap:9px; align-items:flex-start; padding:10px 12px; border-radius:10px; background:#1b1b1b; box-shadow:inset 0 0 0 1px #2c2c2c; font-size:var(--fs-meta); color:var(--text-2); line-height:1.4}
.spx :where(.sx-plan) .note .ic {width:15px; height:15px; margin-top:1px; color:var(--muted)}
.spx :where(.sx-plan) section.grp {margin:0 0 22px}
.spx :where(.sx-plan) section.grp h2 {display:flex; align-items:baseline; gap:8px; margin:0 0 10px; font-size:15px; font-weight:650; letter-spacing:-.005em}
.spx :where(.sx-plan) section.grp h2 span {color:var(--muted); font-size:var(--fs-meta); font-weight:500}
.spx :where(.sx-plan) ul.grid {list-style:none; margin:0; padding:0; display:grid; gap:12px; grid-template-columns:repeat(3, minmax(0,1fr)); align-items:start}
.spx.phone :where(.sx-plan) ul.grid {grid-template-columns:minmax(0,1fr)}
@media (max-width: 900px) { .spx :where(.sx-plan) ul.grid { grid-template-columns:minmax(0,1fr) } }
.spx :where(.sx-plan) .acts {display:flex; align-items:center; gap:10px 16px; flex-wrap:wrap; margin-top:14px; padding-top:14px; border-top:1px solid #262626}
.spx :where(.sx-plan) .own {display:grid; grid-template-columns:40px 1fr auto; align-items:center; gap:14px; width:100%; margin-top:4px; padding:14px 16px; border-radius:12px;
  border:1.5px dashed #3a3a3a; background:transparent; text-align:left; transition:border-color .15s, background-color .15s}
.spx :where(.sx-plan) .own:hover {border-color:#555; background:#171717}
.spx :where(.sx-plan) .own .gl {width:40px; height:40px; border-radius:10px; display:grid; place-items:center; background:#232323; color:var(--text)}
.spx :where(.sx-plan) .own .gl .ic {width:19px; height:19px}
.spx :where(.sx-plan) .own b {display:block; font-size:15px; font-weight:650}
.spx :where(.sx-plan) .own span.s {display:block; font-size:var(--fs-meta); color:var(--muted); margin-top:2px}
.spx :where(.sx-plan) .own .chev {color:#6f6a66}
.spx :where(.sx-plan) .D2 {max-width:980px; margin:0 auto}
.spx :where(.sx-plan) .D2.enter {animation:dIn .22s var(--ease)}
@keyframes dIn { from { opacity:0; transform:translateY(6px) } }
@media (prefers-reduced-motion: reduce) { .spx :where(.sx-plan) .D2.enter { animation:none } }
.spx :where(.sx-plan) .D2 .nav {display:flex; align-items:center; justify-content:space-between; min-height:28px; margin:-4px 0 6px}
.spx :where(.sx-plan) .D2 .pips {display:flex; gap:6px; margin-left:auto}
.spx :where(.sx-plan) .D2 .pips i {width:6px; height:6px; border-radius:50%; background:#3d3d3d}
.spx :where(.sx-plan) .D2 .pips i.on {background:var(--text-2); width:18px; border-radius:3px}
.spx :where(.sx-plan) .D2 .q {margin:0; font-family:var(--display); font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.15; text-wrap:balance}
.spx :where(.sx-plan) .D2 .ctx {margin-top:5px}
.spx :where(.sx-plan) .D2 .blk {margin-top:22px}
.spx :where(.sx-plan) .D2 .blk > .lb {display:block; font-size:14px; line-height:1.3; font-weight:600; color:var(--text)}
.spx :where(.sx-plan) .D2 .blk > .help {margin:2px 0 10px}
.spx :where(.sx-plan) .tiles {display:grid; gap:10px; grid-template-columns:repeat(var(--n, 3), minmax(0,1fr))}
.spx :where(.sx-plan) .tile {position:relative; display:grid; align-content:start; justify-items:start; gap:6px; min-height:44px; padding:14px 14px 13px; border-radius:12px; border:1px solid #333; background:var(--card);
  text-align:left; color:var(--text); transition:border-color .15s, background-color .15s}
.spx :where(.sx-plan) .tile:hover {border-color:#4a4a4a; background:#1e1e1e}
.spx :where(.sx-plan) .tile[aria-checked="true"] {border-color:var(--accent); background:#1e1915; box-shadow:inset 0 0 0 .5px var(--accent)}
.spx :where(.sx-plan) .tile .tg {display:flex; gap:4px; color:var(--text)}
.spx :where(.sx-plan) .tile .tg .ic {width:24px; height:24px; stroke-width:1.6}
.spx :where(.sx-plan) .tile b {font-size:15px; font-weight:700; letter-spacing:-.005em; line-height:1.2}
.spx :where(.sx-plan) .tile .s {font-size:var(--fs-meta); color:var(--muted); line-height:1.35}
.spx :where(.sx-plan) .tile .mph {font-size:var(--fs-meta); font-weight:650; color:var(--text-2)}
.spx :where(.sx-plan) .tile .ck {position:absolute; top:10px; right:10px; width:20px; height:20px; border-radius:50%; border:1.5px solid #4a4a4a}
.spx :where(.sx-plan) .tile[aria-checked="true"] .ck {border:0; background:var(--accent); color:#0a0a0a; display:grid; place-items:center}
.spx :where(.sx-plan) .tile .ck .ic {width:13px; height:13px; stroke-width:2.6}
.spx :where(.sx-plan) .tile[aria-disabled="true"] {cursor:not-allowed; background:transparent; border-style:dashed; border-color:#333}
.spx :where(.sx-plan) .tile[aria-disabled="true"] .tg, .spx :where(.sx-plan) .tile[aria-disabled="true"] b {color:#8f8984}
.spx :where(.sx-plan) .tile .soon2 {font-size:var(--fs-cap); font-weight:650; color:var(--muted); padding:2px 7px; border-radius:5px; background:#232323}
.spx :where(.sx-plan) .D2 .foot2 {display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:22px}
.spx :where(.sx-plan) .D2 .foot2 .btn.pri {min-width:200px}
.spx :where(.sx-plan) .D2 .foot2 {position:sticky; bottom:-28px; z-index:2; margin:18px -24px -28px; padding:20px 24px 28px; background:linear-gradient(to bottom, rgba(20,20,20,0), var(--surface) 14px)}
.spx.phone :where(.sx-plan) .D2 .foot2 {margin:18px -16px -28px; padding:20px 16px 28px}
.spx.phone :where(.sx-plan) .tiles.mode .tile .s {font-size:var(--fs-cap)}
.spx.phone :where(.sx-plan) .tiles.mode .tile {padding:10px 12px; row-gap:2px}
.spx.phone :where(.sx-plan) .tiles.mode {gap:8px}
.spx.phone :where(.sx-plan) .D2 .blk {margin-top:18px}
.spx.phone :where(.sx-plan) .D2 .q {font-size:22px}
.spx.phone :where(.sx-plan) .D2 .foot2 .btn.pri {flex:1 1 0}
.spx.phone :where(.sx-plan) .tiles.mode {grid-template-columns:minmax(0,1fr)}
.spx.phone :where(.sx-plan) .tiles.mode .tile {grid-template-columns:auto 1fr auto; align-items:center; column-gap:12px; padding:12px 14px}
.spx.phone :where(.sx-plan) .tiles.mode .tile .s {grid-column:2}
.spx.phone :where(.sx-plan) .tiles.mode .tile .tg {grid-row:1 / span 2; width:52px; justify-content:center}
.spx.phone :where(.sx-plan) .tiles.mode .tile .ck {position:static; grid-column:3; grid-row:1 / span 2}
.spx.phone :where(.sx-plan) .tiles.mode .tile .soon2 {grid-column:3; grid-row:1 / span 2}
.spx.phone :where(.sx-plan) .tiles.pace {gap:8px}
.spx.phone :where(.sx-plan) .tiles.pace .tile {padding:12px 10px 11px}
.spx.phone :where(.sx-plan) .tiles.pace .tile .ck {display:none}
.spx.phone :where(.sx-plan) .tiles.pace .tile .s {display:none}
.spx :where(.sx-plan) .D2 .gsum {display:flex; align-items:center; gap:8px; min-width:0; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .D2 .gsum .gi {display:inline-flex; gap:1px}
.spx :where(.sx-plan) .D2 .gsum .ic {width:16px; height:16px; color:var(--muted)}
.spx :where(.sx-plan) .D2 .gsum b {color:var(--text); font-weight:650}
.spx :where(.sx-plan) .ans {display:grid; gap:10px; grid-template-columns:repeat(3, minmax(0,1fr)); margin-top:16px}
.spx.phone :where(.sx-plan) .ans {grid-template-columns:minmax(0,1fr)}
.spx :where(.sx-plan) .an {display:grid; align-content:start; gap:8px; padding:16px; border-radius:12px; border:1px solid #333; background:var(--card); text-align:left; color:var(--text); transition:border-color .15s, background-color .15s}
.spx :where(.sx-plan) .an:hover {border-color:#4a4a4a; background:#1e1e1e}
.spx :where(.sx-plan) .an {grid-template-rows:auto auto 1fr auto}
.spx :where(.sx-plan) .an .dat {align-self:end}
.spx :where(.sx-plan) .an .top2 {display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:22px}
.spx :where(.sx-plan) .an svg.gl2 {width:76px; height:14px; overflow:visible}
.spx :where(.sx-plan) .an b {font-size:16px; font-weight:700; letter-spacing:-.01em}
.spx :where(.sx-plan) .an .s {font-size:var(--fs-meta); color:var(--muted); line-height:1.4}
.spx :where(.sx-plan) .an .dat {display:flex; flex-wrap:wrap; gap:2px 14px; padding-top:9px; margin-top:2px; border-top:1px solid #262626; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .an .dat b {font-size:var(--fs-meta); font-weight:650; color:var(--text-2); letter-spacing:0}
.spx :where(.sx-plan) .an .sug2 {font-size:var(--fs-cap); font-weight:700; color:var(--accent)}
.spx :where(.sx-plan) .an .tt {display:flex; align-items:center; justify-content:space-between; gap:8px}
.spx :where(.sx-plan) .an .chev {color:#8f8984; width:18px; height:18px; transition:transform .15s var(--ease)}
.spx :where(.sx-plan) .an:hover .chev {color:var(--text); transform:translateX(2px)}
.spx :where(.sx-plan) .an.off {cursor:not-allowed; background:transparent; border-style:dashed}
.spx :where(.sx-plan) .an.off:hover {background:transparent; border-color:#333}
.spx :where(.sx-plan) .an.off b {color:var(--text-2)}
.spx :where(.sx-plan) .D2 .fact {display:flex; align-items:center; gap:10px; margin-top:8px; padding:12px 14px; border-radius:12px; background:#181818; box-shadow:inset 0 0 0 1px var(--border); font-size:14px; color:var(--text-2)}
.spx :where(.sx-plan) .D2 .fact .ic {width:20px; height:20px; color:var(--text)}
.spx :where(.sx-plan) .D2 .fact .ic + .ic {margin-left:-6px}
.spx :where(.sx-plan) .D2 .fact b {color:var(--text); font-weight:650}
.spx.phone :where(.sx-plan) .an {padding:12px 14px; gap:5px}
.spx.phone :where(.sx-plan) .ans {gap:8px; margin-top:12px}
.spx.phone :where(.sx-plan) .an .dat {padding-top:7px}
.spx :where(.sx-plan) .D2 ul.plans {list-style:none; margin:16px 0 0; padding:0; display:grid; gap:12px; grid-template-columns:repeat(var(--n), minmax(0,1fr)); max-width:calc(var(--n) * 400px); align-items:start}
.spx.phone :where(.sx-plan) .D2 ul.plans {grid-template-columns:minmax(0,1fr); max-width:none}
.spx :where(.sx-plan) .sugg3 {display:flex; align-items:baseline; gap:6px; margin:0 0 8px; font-size:var(--fs-meta); color:var(--muted); line-height:1.35}
.spx :where(.sx-plan) .sugg3 b {flex:none; font-size:var(--fs-cap); font-weight:700; color:var(--accent)}
.spx :where(.sx-plan) .sugg3 span {white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spx :where(.sx-plan) .sugg3.ph {visibility:hidden}
.spx.phone :where(.sx-plan) .sugg3.ph {display:none}
.spx :where(.sx-plan) .D2 .others {margin-top:18px}
.spx :where(.sx-plan) .an {gap:0; padding:16px 16px 14px}
.spx :where(.sx-plan) .an .hd2 {display:flex; align-items:center; gap:8px; min-height:24px}
.spx :where(.sx-plan) .an .hd2 .tt {flex:1; font-size:17px; font-weight:700; letter-spacing:-.012em}
.spx :where(.sx-plan) .an .hd2 .chev {margin-left:2px}
.spx :where(.sx-plan) .an .s {margin-top:3px}
.spx :where(.sx-plan) .an .mini {display:block; margin:14px 0 2px}
.spx :where(.sx-plan) .an .mini .hr {margin:0; padding:0; border:0}
.spx :where(.sx-plan) .an .mini .hr .lab {margin-top:6px}
.spx :where(.sx-plan) .an .mini .hr .bdg .line {box-shadow:0 0 0 2px var(--card)}
.spx :where(.sx-plan) .an .tm2 {display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; margin-top:12px; padding-top:12px; border-top:1px solid #262626}
.spx :where(.sx-plan) .an .tm2 b {font-size:14.5px; font-weight:650; color:var(--text); letter-spacing:-.005em; white-space:nowrap}
.spx :where(.sx-plan) .an .tm2 .dur {font-size:var(--fs-meta); font-weight:600; color:var(--text-2); padding:1px 7px; border-radius:5px; background:#262626; white-space:nowrap}
.spx :where(.sx-plan) .an .tm2.soon3 {font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .an .facts {display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; margin-top:8px; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .an .facts > span {display:inline-flex; align-items:center; gap:5px; white-space:nowrap}
.spx :where(.sx-plan) .an .facts b {font-size:var(--fs-meta); font-weight:650; color:var(--text)}
.spx :where(.sx-plan) .an .facts > i {width:1px; height:14px; background:#333}
.spx :where(.sx-plan) .an .facts .sp-ic {color:var(--muted)}
.spx :where(.sx-plan) .an.sug {box-shadow:inset 0 0 0 1px rgba(255,122,26,.45); border-color:rgba(255,122,26,.45)}
.spx :where(.sx-plan) .an.sug .sug2 {padding:2px 7px; border-radius:5px; background:rgba(255,122,26,.12)}
.spx :where(.sx-plan) .an.off .hd2 .tt {color:var(--text-2)}
.spx :where(.sx-plan) .an {--gbg:var(--card); gap:0; padding:16px 16px 15px; grid-template-rows:auto auto auto 1fr}
.spx :where(.sx-plan) .an:hover {--gbg:#1e1e1e}
.spx :where(.sx-plan) .an .g3 {display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:22px; color:#8f8984; margin-bottom:12px}
.spx :where(.sx-plan) .an .gl3 {width:92px; height:16px; overflow:visible}
.spx :where(.sx-plan) .an .hd2 .tt {font-size:17px}
.spx :where(.sx-plan) .an .s {margin-top:3px}
.spx :where(.sx-plan) .an .fact3 {align-self:end; margin-top:12px; font-size:var(--fs-meta); color:var(--text-2)}
.spx :where(.sx-plan) .an.sug {border-color:#5a5a5a; box-shadow:inset 0 0 0 1px #5a5a5a}
.spx :where(.sx-plan) .an.sug .g3 {color:var(--text-2)}
.spx :where(.sx-plan) .an .sug2, .spx :where(.sx-plan) .an.sug .sug2 {padding:2px 8px; border-radius:6px; font-size:var(--fs-cap); font-weight:650; color:var(--text); background:#2a2a2a; box-shadow:inset 0 0 0 1px #3d3d3d}
.spx.phone :where(.sx-plan) .an {padding:14px 14px 13px}
.spx.phone :where(.sx-plan) .an .g3 {margin-bottom:8px}
.spx.phone :where(.sx-plan) .an .fact3 {margin-top:8px}
.spx :where(.sx-plan) .sugg3 b {color:var(--text) !important; padding:1px 7px; border-radius:5px; background:#2a2a2a; box-shadow:inset 0 0 0 1px #3d3d3d}
.spx :where(.sx-plan) .D2 .ed {display:grid; gap:14px; margin-top:16px}
.spx:not(.phone) :where(.sx-plan) .D2 .ed {grid-template-columns:minmax(0,320px) minmax(0,1fr); align-items:start; gap:20px}
.spx :where(.sx-plan) .esum {padding:14px 16px; border-radius:12px; background:var(--card); box-shadow:inset 0 0 0 1px var(--border)}
.spx:not(.phone) :where(.sx-plan) .esum {position:sticky; top:0}
.spx :where(.sx-plan) .esum .hd {display:flex; align-items:center; justify-content:space-between; gap:10px}
.spx :where(.sx-plan) .esum .hd .k {font-size:var(--fs-meta); font-weight:650; color:var(--text-2)}
.spx :where(.sx-plan) .esum.empty p {margin:0; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .elist {list-style:none; margin:0; padding:0}
.spx :where(.sx-plan) .est {display:grid; grid-template-columns:56px 16px minmax(0,1fr) auto 44px; column-gap:8px; align-items:center; min-height:52px; padding:4px 0}
.spx :where(.sx-plan) .est > .node {justify-self:center}
.spx :where(.sx-plan) .est .ibn {align-self:start}
.spx :where(.sx-plan) .elg {display:grid; grid-template-columns:56px 16px minmax(0,1fr) auto 44px; column-gap:8px; align-items:center; min-height:30px}
.spx :where(.sx-plan) .elg .legrail {grid-column:2; display:flex; flex-direction:column; align-items:center; align-self:stretch; min-height:30px}
.spx :where(.sx-plan) .elg .say {flex-basis:100%; margin:0}
.spx :where(.sx-plan) .elg .chip {grid-column:1; grid-row:1; justify-self:end; align-self:start; margin-top:4px}
.spx :where(.sx-plan) .est .t {font-size:var(--fs-meta); font-weight:650; text-align:right; align-self:start; line-height:20px; padding-top:2px}
.spx :where(.sx-plan) .est > .node {align-self:start; margin-top:6px}
.spx :where(.sx-plan) .est .nm {min-width:0}
.spx :where(.sx-plan) .est .nm b {display:flex; align-items:center; gap:6px; font-size:14.5px; font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spx :where(.sx-plan) .est .nm > span {display:block; font-size:var(--fs-meta); color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.spx :where(.sx-plan) .est .nm > .pass {display:flex; white-space:normal; overflow:visible; color:var(--text-2); margin-top:2px}
.spx :where(.sx-plan) .est .nm > .by {white-space:normal; font-size:var(--fs-cap)}
.spx :where(.sx-plan) .est .seen {display:flex; gap:5px}
.spx :where(.sx-plan) .est .dot.miss {background:transparent; box-shadow:inset 0 0 0 1.5px var(--c)}
.spx :where(.sx-plan) .elg .lt {grid-column:3 / 5; display:flex; flex-wrap:wrap; align-items:center; gap:2px 6px; font-size:var(--fs-meta); color:var(--muted)}
.spx :where(.sx-plan) .elg .lt .lines {display:inline-flex; gap:3px}
.spx :where(.sx-plan) .egap .legrail .stay {width:2px; background:#333}
.spx :where(.sx-plan) .egap .gp {grid-column:3 / 5}
.spx :where(.sx-plan) .addrow {display:grid; grid-template-columns:56px minmax(0,1fr); column-gap:8px; padding:2px 0}
.spx :where(.sx-plan) .addrow .add {grid-column:2; justify-self:start}
.spx :where(.sx-plan) .cands {grid-column:2}
.spx.phone :where(.sx-plan) .cands {grid-column:1 / -1}
.spx :where(.sx-plan) .cnote.map {margin-top:12px; padding-top:10px; border-top:1px solid #262626}
.spx :where(.sx-plan) .sub {margin:6px 0 4px; padding:10px; border-radius:10px; background:#141414; box-shadow:inset 0 0 0 1px #262626; display:grid; gap:8px}
.spx :where(.sx-plan) .sub .hits {list-style:none; margin:0; padding:0; display:grid; gap:4px}
.spx :where(.sx-plan) .ed .undo {margin:12px 0 0}
@media (prefers-reduced-motion: reduce) { .spx :where(.sx-plan) * { transition:none !important } }
.spx.emb .sx-step { position:absolute; height:100%; border-radius:0; border-top:0; box-shadow:none }   /* in the flyover panel, as .hm-pane */
.spx.emb :where(.hm) .hm-toast { bottom:16px }   /* the tab: toasts sit inside the panel, not over the map (phase 4a) */
/* The tab's setup steps share the built panel height (50vh): the Runners step's primary action sticks to the panel's bottom
   edge while its block is on screen, so Add Runner / Choose Where To Cheer are reachable without scrolling (the Plan step's
   .foot2 is already sticky) (phase 4a). */
.spx.emb :where(.sx-run) .form > .acts, .spx.emb :where(.sx-run) .cta {
  position:sticky; bottom:-28px; z-index:2; margin-bottom:-12px; padding:12px 0; background:var(--surface); box-shadow:0 -12px 16px -12px rgba(0,0,0,.6) }
