.demo-tool .demo-toolbar { background:#102d23; color:#fff; gap:24px; }
.demo-tool .demo-toolbar h3 { font-size:27px; }
.demo-tool .demo-context { color:#bdcdc5; }
.demo-tool .toolbar-actions { align-items:center; gap:20px; }
.demo-tool .toolbar-actions > .icon-button { background:transparent; border-color:#759688; color:#fff; }
.showcase-selector { display:flex; align-items:center; gap:12px; color:#d9e4df; font-size:12px; }
.showcase-selector select { background:#fff; color:var(--ink); margin:0; min-width:130px; font-size:14px; min-height:40px; padding:8px 12px; }
.showcase-tabs { display:flex; padding:0 24px; border-bottom:1px solid var(--line); background:#fff; }
.showcase-tabs button { border:0; border-bottom:3px solid transparent; border-radius:0; padding:17px 20px 14px; background:transparent; color:var(--muted); font:500 14px/1.5 var(--body); min-height:52px; }
.showcase-tabs button:hover { color:var(--ink); background:var(--tint); }
.showcase-tabs button[aria-selected="true"] { color:var(--green); border-bottom-color:var(--green); font-weight:700; }
.showcase-panel { padding:28px; }
.telemetry-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:24px; }
.telemetry-heading h4 { font-size:20px; }
.telemetry-heading p { color:var(--muted); font-size:12px; margin:5px 0 0; }
.data-tag { display:inline-block; margin-left:12px; padding-left:12px; border-left:1px solid #b8c9bf; color:var(--green); }
.athlete-signals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-bottom:26px; border-block:1px solid var(--line); }
.athlete-signal { position:relative; display:grid; grid-template-columns:1fr auto; align-items:baseline; gap:5px 8px; padding:14px 16px; border:0; border-right:1px solid var(--line); border-radius:0; background:#fff; text-align:left; font-family:var(--body); color:var(--ink); }
.athlete-signal:last-child { border-right:0; }
.athlete-signal strong { font-size:13px; font-weight:500; }
.athlete-signal[aria-pressed="true"] { background:#f3f6f4; box-shadow:inset 0 -3px var(--signal); }
.athlete-signal:focus-visible { outline:3px solid #285f9a; outline-offset:3px; }
.signal-number { font-size:20px; font-weight:600; white-space:nowrap; }
.signal-description { grid-column:1/-1; font-size:11px; color:var(--signal); font-weight:500; }
[data-zone="green"],.zone-green { --signal:#086449; --signal-bg:#e9f3ee; }
[data-zone="amber"],.zone-amber { --signal:#865900; --signal-bg:#fff4d7; }
[data-zone="red"],.zone-red { --signal:#aa3541; --signal-bg:#fcedef; }
.zone-neutral { --signal:#53605a; --signal-bg:#f3f6f4; }
.telemetry-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding:0 0 23px; margin:0 0 24px; border-bottom:1px solid var(--line); }
.telemetry-stats dt { font-size:12px; color:var(--muted); font-weight:400; }
.telemetry-stats dd { margin:7px 0 0; color:var(--muted); font-size:12px; line-height:1.2; }
.telemetry-stats strong { font-size:30px; color:var(--ink); font-weight:600; }
.history-layout { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(230px,1fr); gap:32px; }
.history-layout > * { min-width:0; }
.history-layout .chart-heading { margin-bottom:8px; }
.plot-unit { font-size:12px; color:var(--muted); }
.line-legend { display:flex; gap:12px 24px; flex-wrap:wrap; font-size:11px; color:var(--muted); margin:0 0 12px; }
.line-legend span { display:inline-flex; align-items:center; gap:7px; }
.line-legend i { width:22px; height:0; border-top:2px solid #086449; }
.line-legend .chronic-key { border-top:2px dashed #285f9a; }
.telemetry-chart { width:100%; min-width:0; height:248px; }
.telemetry-chart svg { display:block; max-width:100%; overflow:visible; }
.plot-tick { fill:#53605a; font:11px var(--body); }
.plot-value { fill:#15211d; font:600 13px var(--body); }
.scrubber-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:12px 0 7px; }
.scrubber-heading label,.scrubber-heading output { font-size:12px; }
.scrubber-heading output { color:var(--muted); }
input.timeline { min-height:32px; height:32px; padding:0; border:0; border-radius:0; margin:0; background:transparent; accent-color:#086449; cursor:pointer; }
.timeline-detail { font-size:11px; color:var(--muted); margin:5px 0 0; }
.baseline-detail { border-left:1px solid var(--line); padding-left:28px; }
.eyebrow-small { font-size:12px; color:var(--muted); }
.baseline-score { display:flex; align-items:baseline; gap:8px; margin:8px 0 14px; }
.baseline-score strong { font:600 44px/1.1 var(--body); }
.baseline-score > span { font-size:12px; color:var(--muted); }
.zone-label { display:inline-flex; align-items:center; gap:8px; color:var(--signal); background:var(--signal-bg); padding:5px 9px; font-size:12px; font-weight:600; margin:0 0 12px; border-radius:2px; }
.zone-label::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.baseline-copy { font-size:13px; line-height:1.7; margin:0 0 18px; color:var(--muted); }
.baseline-facts { margin:0; }
.baseline-facts > div { display:flex; justify-content:space-between; gap:16px; padding:9px 0; border-bottom:1px solid var(--line); }
.baseline-facts dt { font-size:11px; font-weight:400; color:var(--muted); }
.baseline-facts dd { margin:0; font-size:12px; font-weight:500; color:var(--ink); text-align:right; white-space:nowrap; }
.zone-key { display:flex; flex-wrap:wrap; gap:5px 14px; margin-top:18px; }
.zone-key span { display:flex; align-items:center; gap:6px; font-size:10px; color:var(--muted); }
.signal-dot { width:7px; height:7px; background:var(--signal); border-radius:50%; }
.chart-caveat { font-size:11px; color:var(--muted); line-height:1.6; margin:14px 0 0; }
.demo-method { margin-top:26px; }
.demo-method summary { font:500 12px/1.5 var(--body); padding:16px 0; }
.demo-method > div { padding-bottom:18px; }
.demo-method p { font-size:12px; color:var(--muted); max-width:100ch; }
.history-values-scroll { max-height:310px; overflow:auto; }
.history-values-scroll table { min-width:420px; }
.history-values-scroll th,.history-values-scroll td { padding:10px 12px; font-size:12px; }
.trial-selector { font-size:11px; min-width:105px; }
.trial-selector select { font-size:13px; min-height:40px; margin-top:4px; padding:8px 12px; }
#jump-chart { height:280px; }
.replay-clock { font-size:25px; font-weight:600; white-space:nowrap; }
.heart-athletes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0 0 26px; border-block:1px solid var(--line); }
.heart-athlete { position:relative; padding:18px 20px; border:0; border-right:1px solid var(--line); background:transparent; color:var(--ink); text-align:left; font-family:var(--body); }
.heart-athlete:last-child { border-right:0; }
.heart-athlete[aria-pressed="true"] { background:#f0f5f2; box-shadow:inset 0 -3px #086449; }
.heart-athlete > strong { font-size:13px; font-weight:500; }
.heart-reading { display:flex; gap:8px; align-items:baseline; margin:8px 0; }
.heart-reading b { font-size:36px; line-height:1.2; font-weight:600; }
.heart-reading small { font-size:12px; color:var(--muted); }
.heart-meta { display:block; font-size:11px; color:var(--muted); }
#heart-chart { height:230px; }
.replay-controls { display:flex; gap:16px; align-items:center; margin:12px 0 24px; }
.replay-controls .icon-button { flex-shrink:0; }
.replay-end { font-size:12px; color:var(--muted); }
.heart-summary { display:grid; grid-template-columns:2fr 1fr; gap:36px; border-top:1px solid var(--line); padding-top:22px; }
.heart-zone-bar { display:flex; height:12px; margin:18px 0 12px; background:#f3f6f4; }
.heart-zone-bar > span { border-right:1px solid white; }
.heart-zone-values { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin:0; }
.heart-zone-values dt { display:flex; align-items:center; gap:6px; font-size:11px; font-weight:400; }
.heart-zone-values i { display:block; width:8px; height:8px; border-radius:2px; }
.heart-zone-values dd { margin:4px 0 0; font-size:12px; }
.hr-zone-1 { background:#b8c3cb; }
.hr-zone-2 { background:#285f9a; }
.hr-zone-3 { background:#086449; }
.hr-zone-4 { background:#b57a13; }
.hr-zone-5 { background:#aa3541; }
.showcase-footer { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 28px; border-top:1px solid var(--line); background:#fafcfb; }
.showcase-footer > span { font-size:11px; color:var(--muted); }
.showcase-footer a { font-size:13px; }
.showcase-footer .icon { width:17px; height:17px; }
.page-content .film-section { padding-top:0; }
.concept-film { margin:0; }
.film-player { position:relative; background:#102d23; aspect-ratio:16/9; border:1px solid var(--line); border-radius:4px; overflow:hidden; }
.film-player video { display:block; width:100%; height:100%; object-fit:contain; }
.film-launch { position:absolute; bottom:24px; left:24px; display:flex; align-items:center; gap:14px; min-height:52px; padding:12px 20px; color:var(--green); background:#fff; border:1px solid #aebfb4; border-radius:3px; font:600 16px/1.4 var(--body); }
.film-launch:hover { background:#e9f3ee; }
.film-launch:disabled { opacity:.7; cursor:wait; }
.film-launch small { font-size:12px; font-weight:400; margin-left:18px; color:var(--muted); }
.concept-film figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px 24px; padding-top:14px; margin:0; font-size:12px; color:var(--muted); }
.film-status { font-size:14px; color:var(--muted); margin:16px 0 0; }
.film-status:empty { display:none; }
.film-transcript { margin-top:22px; }
.film-transcript summary { font-size:14px; padding:16px 0; }
.film-transcript > div { padding:4px 0 20px; max-width:78ch; }
.film-transcript p { font-size:15px; color:var(--muted); }
.film-next { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-top:22px; }
.film-next a { font-size:14px; }
.film-next > a:last-child { text-decoration:underline; text-underline-offset:4px; color:var(--muted); }
@media (max-width:1000px) {
 .history-layout { grid-template-columns:minmax(0,1.7fr) minmax(190px,1fr); gap:24px; }
 .baseline-detail { padding-left:22px; }
 .athlete-signal { padding:12px; }
 .signal-number { font-size:18px; }
 .telemetry-stats strong { font-size:27px; }
}
@media (max-width:760px) {
 .demo-tool .demo-toolbar { flex-wrap:wrap; gap:16px; }
 .demo-tool .toolbar-actions { width:100%; justify-content:space-between; }
 .showcase-selector { gap:10px; }
 .showcase-tabs { display:grid; grid-template-columns:repeat(2,1fr); padding:0 12px; }
 .showcase-tabs button { padding:12px 8px; min-height:48px; font-size:12px; }
 .showcase-panel { padding:22px 18px; }
 .telemetry-heading { align-items:start; margin-bottom:20px; }
 .telemetry-heading h4 { font-size:18px; }
 .data-tag { display:block; border:0; padding:0; margin:4px 0 0; }
 .athlete-signals { gap:0; margin-bottom:22px; }
 .athlete-signal { grid-template-columns:1fr; padding:10px 7px; gap:4px; }
 .athlete-signal strong { font-size:11px; }
 .signal-description { min-height:30px; font-size:10px; line-height:1.5; }
 .signal-number { font-size:18px; }
 .signal-number[data-compact="true"] { font-size:14px; }
 .telemetry-stats { gap:12px; margin-bottom:22px; }
 .telemetry-stats dt { font-size:11px; line-height:1.6; min-height:36px; }
 .telemetry-stats strong { display:block; font-size:24px; margin-bottom:5px; }
 .telemetry-stats strong[data-compact="true"] { font-size:18px; }
 .history-layout { grid-template-columns:1fr; gap:24px; }
 .baseline-detail { padding:24px 0 0; border-left:0; border-top:1px solid var(--line); }
 .baseline-facts dt { font-size:12px; }
 .zone-key span { font-size:11px; }
 .baseline-score strong { font-size:38px; }
 .heart-athlete { padding:14px 8px; }
 .heart-athlete > strong { font-size:11px; }
 .heart-reading { flex-wrap:wrap; gap:2px 5px; }
 .heart-reading b { font-size:29px; }
 .heart-reading small { font-size:10px; }
 .heart-meta { font-size:10px; }
 .heart-summary { grid-template-columns:1fr; gap:20px; }
 .replay-clock { font-size:21px; }
 .showcase-footer { flex-direction:column; align-items:start; padding:18px; gap:10px; }
 .film-launch { bottom:12px; left:12px; min-height:44px; padding:9px 13px; font-size:14px; gap:10px; }
 .film-launch small { margin-left:12px; }
 .film-next { align-items:start; flex-direction:column; gap:12px; }
}
