:root {
  --run-bg:#000;--run-panel:#000;--run-text:#edece4;--run-muted:#a6ad9d;--run-accent:#e4ff00;
  --run-edge:#ffffff24;--run-radius:26px;--run-space:20px;
}
#app.member-flow>.run-screen {
  padding:0;display:grid;grid-template-rows:minmax(130px,1fr) auto;overflow:hidden;background:var(--run-bg);
}
.run-map-stage {position:relative;min-height:0;isolation:isolate;background:#000000;overflow:hidden}
.run-map-stage--located::after {content:'';position:absolute;inset:0;z-index:450;pointer-events:none;background:linear-gradient(transparent 80%,#00000055)}
.run-welcome {height:100%;position:relative;overflow:hidden;background:radial-gradient(ellipse at 75% 80%,#00000055,transparent 65%),#000000}
.run-welcome-copy {position:relative;z-index:1;padding:28px var(--run-space) 0}
.run-eyebrow {margin:0 0 16px;color:#a7ae91;font:500 9px/1 var(--body-font);letter-spacing:.2em}
.run-welcome h2 {font:500 clamp(30px,10cqi,43px)/1.07 var(--body-font);letter-spacing:-.055em;margin:0;color:var(--run-text)}
.run-welcome h2 span {color:var(--run-accent)}
.run-welcome-note {margin:12px 0 0;color:#a9ae9f;font-size:11px;line-height:1.5}
.run-orbit {position:absolute;display:block;width:100%;height:auto;max-height:65%;left:0;bottom:0;pointer-events:none}
.run-welcome-hint {position:absolute;bottom:30px;left:20px;right:20px;margin:0;color:#8d957d;font-size:9px;text-align:center}
.run-map {width:100%;height:100%;background:radial-gradient(ellipse at 50% 60%,#000000,#000000);color:var(--run-text);touch-action:none}
.run-map .leaflet-overlay-pane svg {width:auto;height:auto;max-width:none;max-height:none}
.run-map--vector {background:#000000}
.run-map--vector .mapboxgl-canvas {outline:none;max-width:none}
.run-map--vector .mapboxgl-ctrl-bottom-left,.run-map--vector .mapboxgl-ctrl-bottom-right {bottom:23px}
.run-map--vector .mapboxgl-ctrl-group {border:1px solid #ffffff24;border-radius:15px;background:#000000ed;box-shadow:0 4px 18px #0005;overflow:hidden}
.run-map--vector .mapboxgl-ctrl-group button {width:44px;height:44px;min-height:44px;padding:0;border-radius:0;border-color:#ffffff18}
.run-map--vector .mapboxgl-ctrl-icon {filter:invert(1)}
.run-map--vector .mapboxgl-ctrl-attrib {font:9px/1.5 var(--body-font);color:#b9c3ba;background:#000000ea;border-radius:12px}
.run-map--vector .mapboxgl-ctrl-attrib a {color:#b9c3ba}
.run-map--vector .mapboxgl-ctrl-attrib-button {min-height:24px;filter:invert(1)}
.run-map--vector .mapboxgl-ctrl-scale {background:#000000aa;color:#b9c3ba;border-color:#a3b19e;font:9px/1.4 var(--body-font)}
.run-position {width:22px;height:22px;pointer-events:none}
.run-position-halo {position:absolute;inset:-12px;border:1px solid #e4ff0038;border-radius:50%;background:#e4ff0012;box-shadow:0 0 28px #e4ff001c}
.run-position-core {position:absolute;inset:3px;border-radius:50%;background:#e4ff00;border:3px solid #fffef0;box-shadow:0 2px 12px #0009}
.run-position-arrow {display:none;position:absolute;top:-11px;left:6px;width:10px;height:12px;background:#e4ff00;clip-path:polygon(50% 0,100% 100%,50% 78%,0 100%)}
.run-position--heading .run-position-arrow {display:block}
.run-orient {display:none;position:absolute;z-index:500;top:14px;right:14px;width:44px;height:44px;border:1px solid #ffffff24;border-radius:50%;place-items:center;background:#000000e8;color:#e4ff00;padding:9px}
.run-map-stage:has(.run-map--vector) .run-orient {display:grid}
.run-map-stage:has(.run-map--vector) .run-recenter {bottom:92px}
.run-orient svg {width:17px;height:17px}
.run-orient[aria-pressed='false'] {color:#b9c3ba}
.run-map:not(.run-map--mapbox) .leaflet-tile-pane {filter:grayscale(1) invert(1) contrast(1.12) brightness(.78)}
.run-mapbox-logo {display:block;width:70px;height:20px;background:url('./assets/mapbox-wordmark.svg') left center / contain no-repeat}
.run-map .leaflet-control-attribution {font:9px/1.4 var(--body-font);color:#a5aa9a;background:#000000de;padding:2px 5px}
.run-map .leaflet-control-attribution a {color:#c4cbb8}
.run-map .leaflet-bottom {bottom:22px}
.run-map .leaflet-control-zoom {border:1px solid var(--run-edge);box-shadow:none;border-radius:12px;overflow:hidden}
.run-map .leaflet-control-zoom a {width:34px;height:34px;line-height:34px;background:#000000eb;color:var(--run-text);border-color:var(--run-edge);font-weight:400}
.run-map-heading {position:absolute;z-index:500;top:16px;left:var(--run-space);right:60px;pointer-events:none}
.run-status {display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid var(--run-edge);border-radius:999px;background:#000000e8;color:#d6ddc9;font-size:10px;backdrop-filter:blur(10px)}
.run-status::before {content:'';width:5px;height:5px;border-radius:50%;background:var(--run-accent)}
.run-map-heading h2 {font:500 clamp(21px,7cqi,29px)/1.1 var(--body-font);letter-spacing:-.04em;margin:12px 0;color:var(--run-text);text-shadow:0 1px 12px #000}
.run-recenter {position:absolute;z-index:500;right:14px;bottom:34px;width:44px;height:44px;padding:12px;display:grid;place-items:center;border:1px solid var(--run-edge);border-radius:50%;background:#000000ed;color:var(--run-accent)}
.run-recenter svg {width:19px;height:19px}
.run-tile-status {position:absolute;z-index:500;bottom:74px;left:50px;right:54px;font-size:9px;line-height:1.4;color:#c3cab7;background:#000000de;border-radius:8px;padding:6px 8px;pointer-events:none}
.run-tile-status[hidden] {display:none}
.run-deck {position:relative;z-index:600;align-self:end;margin-top:-16px;padding:13px var(--run-space) 10px;border-radius:var(--run-radius) var(--run-radius) 0 0;background:var(--run-panel);box-shadow:0 -10px 35px #0005}
.run-sports {display:flex;justify-content:center;gap:22px}
.run-sports button {position:relative;min-height:36px;padding:4px 2px;border:0;border-radius:0;background:transparent;color:#989f8f;font:500 12px/1 var(--body-font)}
.run-sports button[aria-pressed='true'] {color:var(--run-accent)}
.run-sports button[aria-pressed='true']::after {content:'';position:absolute;bottom:0;left:30%;right:30%;height:2px;border-radius:2px;background:var(--run-accent)}
.run-sports button:disabled {opacity:1}
.run-stats {display:grid;grid-template-columns:1.1fr 1fr .9fr;gap:10px;margin:16px 0 20px}
.run-stats div {display:flex;flex-direction:column;gap:5px;min-width:0}
.run-stats dt {color:var(--run-muted);font-size:9px;font-weight:400;letter-spacing:.025em}
.run-stats dd {margin:0;white-space:nowrap;font:600 clamp(22px,7.4cqi,30px)/1 var(--body-font);font-variant-numeric:tabular-nums;letter-spacing:-.045em;color:var(--run-text)}
.run-stats div:first-child dd {color:var(--run-accent)}
[data-run-time] {font-size:clamp(18px,6.2cqi,26px)}
.run-controls {display:flex;gap:10px}
.run-main,.run-finish {display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;border:0;border-radius:999px;padding:10px 22px;font:600 14px/1.2 var(--body-font);flex:1}
.run-main {background:var(--run-accent);color:#0c1004}
.run-finish {background:#000000;color:var(--run-text);border:1px solid var(--run-edge);flex:.65}
.run-main svg,.run-finish svg {width:18px;height:18px}
.run-main:disabled {opacity:.45}
.run-capability {color:#8f9783;font-size:9px;line-height:1.5;margin:10px 0 0}
.run-error {padding:9px 11px;border:1px solid #ad70404d;border-radius:12px;background:#00000029;color:#f0c9a8;font-size:11px;line-height:1.45;margin:10px 0}
.run-summary-map {height:220px;margin:18px 0;border-radius:20px;overflow:hidden}
.run-summary-map .leaflet-bottom {bottom:0}
.run-save-screen,.run-detail-screen {padding-bottom:28px}
.run-save-form textarea {resize:vertical;min-height:90px}
.run-private,.run-notes {font-size:12px;color:var(--run-muted);overflow-wrap:anywhere}
.run-notes {white-space:pre-wrap;margin-bottom:24px}
.run-splits {margin:14px 0 24px}
.run-splits div {display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--run-edge);font-size:13px}
.run-splits dd {margin:0;font-variant-numeric:tabular-nums;color:var(--run-accent)}
.run-journal {padding:22px 0;margin:4px 0 12px;border-bottom:1px solid var(--run-edge)}
.run-journal .section-head {gap:10px;align-items:flex-start}
.run-journal .section-head h3 {margin:0}
.run-journal .plain-action {font-size:11px;margin:0;min-height:36px;max-width:160px;text-align:right}
.run-confirm {padding:12px;border-radius:16px;background:#000000;margin-top:12px}
.run-confirm p {font-size:12px;margin:0 0 10px}
.run-confirm button {min-height:40px;font-size:12px}
.run-deck>.plain-action {font-size:10px;min-height:30px;margin:0 auto;padding:5px}
.run-screen button:focus-visible,.run-map button:focus-visible {outline:2px solid var(--run-accent);outline-offset:3px}
@media(max-height:700px){.run-welcome-copy {padding-top:18px}.run-welcome h2 {font-size:32px}.run-eyebrow {margin-bottom:12px}.run-welcome-note {margin-top:8px}.run-orbit {max-height:52%;bottom:-12px}.run-welcome-hint {bottom:27px;font-size:8px}}
@media(max-height:620px){.run-deck {padding-block:9px}.run-stats {margin-block:10px}.run-capability {font-size:8px}.run-map-heading h2 {font-size:20px}}
/* One activity composition: athlete, effort and actual route. */
.run-recap {background:#000000;margin:0 0 24px;overflow:hidden}
.run-recap-header {display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0 24px}
.run-athlete {display:flex;align-items:center;gap:10px;min-width:0;padding:0;border:0;background:none;color:var(--run-text);text-align:left}
.run-avatar {display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #e4ff0045;border-radius:50%;background:#000000;color:#e4ff00;font:500 20px/1 var(--body-font)}
.run-athlete>span:last-child {display:flex;flex-direction:column;gap:5px;min-width:0}
.run-athlete strong {font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}
.run-athlete>span:last-child>span {font-size:10px;color:#9fa695;line-height:1.3}
.run-recap-private {display:inline-flex;align-items:center;gap:5px;flex:none;color:#9fa695;font-size:9px}
.run-recap-private svg {width:12px;height:12px}
.run-recap-copy .run-eyebrow {color:#c6dc67;margin-bottom:9px;font-size:8px;letter-spacing:.14em}
.run-recap-copy .page-heading {margin:0;font:500 clamp(25px,8.5cqi,34px)/1.1 var(--body-font);letter-spacing:-.045em;overflow-wrap:anywhere}
.run-recap .run-stats {margin:23px 0 20px;gap:12px;grid-template-columns:1.1fr 1fr .9fr}
.run-recap .run-stats dd {font-size:clamp(22px,7.5cqi,30px);font-weight:500}
.run-recap .run-stats div:first-child dd {font-size:clamp(29px,9cqi,36px)}
.run-recap .run-stats dt {font-size:9px}
.run-recap .run-summary-map {margin:0;border-radius:20px;height:220px}
.run-recap-legend {display:flex;align-items:center;gap:15px;padding:14px 2px 0;color:#a5ad9b;font-size:9px}
.run-recap-legend>span {display:inline-flex;align-items:center;gap:5px}
.run-start-dot,.run-end-dot {display:block;width:6px;height:6px;border:1.5px solid #e4ff00;border-radius:50%}
.run-end-dot {background:#e4ff00}
.run-recap-legend .run-recap-signature {margin-left:auto}
.run-recap-signature .uvofit-logo {font-size:17px}
.run-profile-summary {padding:18px 0 22px;margin-bottom:7px}
.run-profile-summary .section-head {align-items:center;margin:0 0 16px}
.run-profile-summary h3 {margin:0;font-size:18px;letter-spacing:-.025em}
.run-profile-summary .plain-action {font-size:10px;min-height:44px;padding:0;margin:0;color:#c6dc67}
.run-profile-summary dl {display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin:0}
.run-profile-summary dl>div {display:flex;flex-direction:column;gap:8px;min-width:0}
.run-profile-summary dt {font-size:9px;color:#9fa695}
.run-profile-summary dd {margin:0;font:500 25px/1 var(--body-font);font-variant-numeric:tabular-nums;letter-spacing:-.04em;color:#edece4}
.run-profile-summary dl>div:first-child dd {color:#e4ff00}
.run-summary-map .mapboxgl-ctrl-group,.run-summary-map .mapboxgl-ctrl-scale {display:none}
.run-summary-map .mapboxgl-ctrl-bottom-left,.run-summary-map .mapboxgl-ctrl-bottom-right {bottom:0}
/* Outdoor map and edge-to-edge recap following the supplied reference. */
.run-save-screen,.run-detail-screen {--run-recap-inset:20px;padding-inline:var(--run-recap-inset)}
.run-recap {margin-inline:calc(-1 * var(--run-recap-inset));overflow:visible}
.run-recap-header,.run-recap-copy,.run-recap .run-stats {padding-inline:var(--run-recap-inset)}
.run-recap .run-summary-map {height:300px;border-radius:0;background:#000000}
.run-recap-legend {padding-inline:var(--run-recap-inset)}
.run-recap .run-stats div:first-child dd {color:var(--run-text)}
.run-map--vector {background:#000000}
