.ride-dashboard { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, 1fr); gap: 12px; margin-bottom: 16px; }
.effort-panel { min-width: 0; padding: 15px 18px 12px; border: 2px solid #333; border-radius: 4px 7px 3px 5px; background: #fff; }
.effort-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; letter-spacing: .8px; font-weight: 700; color: #666; }
.effort-heading span:last-child { text-align: right; font-size: 8px; }
.effort-main { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 10px 0; }
.effort-numbers { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.effort-numbers > div { display: flex; flex-direction: column; gap: 3px; }
.effort-numbers strong { font-size: clamp(35px, 3.7vw, 62px); font-variant-numeric: tabular-nums; line-height: 1; font-weight: 600; letter-spacing: -2px; }
.effort-numbers > div:last-child strong { font-weight: 400; color: #555; }
.effort-numbers > div > span { font-size: 8px; color: #555; letter-spacing: .6px; }
.effort-divider { color: #aaa; font-size: 32px; padding-bottom: 12px; }
.effort-cue { min-width: 0; max-width: 260px; }
.effort-cue > strong { display: block; font-size: 17px; line-height: 1.15; }
.effort-cue p { font-size: 11px; color: #666; margin-top: 5px; line-height: 1.4; }
.effort-gauge { position: relative; height: 11px; margin-top: 10px; background: #e9e9e9; border: 1px solid #bbb; }
.effort-target-band { position: absolute; top: -2px; bottom: -2px; background: repeating-linear-gradient(135deg, #ddd 0, #ddd 3px, #fff 3px, #fff 6px); border: 1px solid #555; }
.effort-target-mark { position: absolute; left: 50%; top: -5px; height: 19px; border-left: 2px solid #555; }
.effort-current-mark { position: absolute; top: -5px; height: 19px; width: 7px; background: #111; border: 1px solid white; transform: translateX(-50%); }
.effort-gauge-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 8px; letter-spacing: .3px; color: #666; }
.effort-gauge-labels strong { font-weight: 600; color: #333; }
.effort-panel[data-state="on-target"] { box-shadow: inset 4px 0 0 #222; }
.effort-panel[data-state="below"] .effort-cue strong::before { content: "↗ "; }
.effort-panel[data-state="above"] .effort-cue strong::before { content: "↘ "; }
.effort-panel[data-state="on-target"] .effort-cue strong::before { content: "✓ "; }
.effort-panel[data-state="missing"], .effort-panel[data-state="paused"] { border-style: dashed; }
.ride-dashboard .metrics { margin: 0; padding: 16px 12px; align-items: center; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ride-dashboard .metric { padding: 0 10px; min-width: 0; }
.ride-dashboard .metric > span { font-size: 8px; letter-spacing: .2px; }
.ride-dashboard .metric p { flex-wrap: wrap; gap: 3px; }
.ride-dashboard .metric strong { font-size: clamp(25px, 2.9vw, 48px); letter-spacing: -1.3px; }
.ride-dashboard .metric small { font-size: 8px; }
.training-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 14px 0; }
.training-actions span { color: #666; font-size: 12px; }
.difficulty-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 14px 0 9px; }
.difficulty-controls button { min-height: 46px; font-size: 13px; padding: 10px 7px; }
.difficulty-label { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #555; }
.difficulty-label button { background: none; text-decoration: underline; font-size: 11px; padding: 5px; }
.difficulty-note { font-size: 11px; line-height: 1.45; color: #666; margin-top: 6px; }
.workout-edit-live { width: 100%; margin-top: 12px; font-size: 12px; }
#workout-editor { width: min(980px, calc(100% - 32px)); }
#workout-editor h2 { margin-bottom: 9px; }
.editor-help { max-width: 760px; }
.editor-rows { display: flex; flex-direction: column; gap: 9px; margin: 20px 0 15px; max-height: 47vh; overflow: auto; padding: 2px 5px 8px 2px; }
.editor-row { display: grid; grid-template-columns: minmax(100px, 1.3fr) minmax(115px, 1fr) 90px minmax(105px, 1fr) auto; align-items: end; gap: 10px; border: 1px solid #bbb; background: #fff; padding: 12px; border-radius: 3px 6px 3px 4px; }
.editor-row label { display: flex; flex-direction: column; gap: 5px; font-size: 10px; color: #555; min-width: 0; }
.editor-row input, .editor-row select { padding: 9px 7px; background: #fafafa; border: 1px solid #aaa; width: 100%; color: #222; font-size: 13px; }
.editor-duration { display: grid; grid-template-columns: 1fr 58px; gap: 4px; }
.editor-order { display: flex; gap: 4px; }
.editor-order button { height: 35px; min-width: 29px; border: 1px solid #bbb; background: #f9f9f9; font-size: 15px; }
.editor-footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
#editor-total { font-size: 13px; color: #444; }
#editor-error { color: #222; font-weight: 700; margin-top: 12px; padding: 9px; border: 2px solid #555; }
@media (max-width: 1350px) { .ride-dashboard { grid-template-columns: 1fr; gap: 8px; } .ride-dashboard .metrics { padding: 10px 16px; } .ride-dashboard .metric p { margin-top: 3px; } .ride-dashboard .metric strong { font-size: 30px; } .effort-main { margin: 8px 0; } }
@media (max-width: 760px) { .effort-panel { padding: 13px; } .effort-cue > strong { font-size: 16px; } .effort-cue p { font-size: 10px; } .effort-main { gap: 12px; } .effort-numbers { gap: 7px; } .effort-numbers strong { font-size: 38px; } .effort-heading { font-size: 8px; } .effort-heading span:last-child { font-size: 7px; } .ride-dashboard .metrics { padding: 12px; } .ride-dashboard .metric strong { font-size: 29px; } .editor-row { grid-template-columns: 1fr 1fr; } .editor-order { grid-column: 1 / -1; justify-content: flex-end; } .editor-rows { max-height: 45vh; } .difficulty-controls button { font-size: 12px; } }

#bluetooth-local-access { display: block; text-align: center; text-decoration: none; padding: 15px; }
.trainer-panel { margin-top:16px; padding:18px; border:1px solid #bbb; background:#fff; font-size:12px; line-height:1.6; }

.brand>span{font-size:17px}.hero-copy .eyebrow{letter-spacing:1px}

.ride-scene-caption { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 14px; font-size:14px; }
.ride-scene-caption strong { font-family:"Segoe Print","Bradley Hand",cursive; font-size:19px; }
.ride-scene-caption span { color:#555; align-self:center; }
.streak-track { height:7px; background:#eee; border:1px solid #bbb; margin-top:12px; }
.streak-track span { display:block; height:100%; width:0; background:repeating-linear-gradient(125deg,#333 0,#333 2px,#ddd 2px,#ddd 4px); }
.streak-labels { display:flex; justify-content:space-between; flex-wrap:wrap; gap:6px; margin-top:7px; font-size:14px; }
.streak-labels span { color:#666; }
.motion-option { display:flex; align-items:center; gap:10px; margin:18px 0; font-size:14px; }
.motion-option input { width:20px; height:20px; accent-color:#222; }
.summary-story { padding:14px; border:1px dashed #777; font-size:15px; line-height:1.7; margin:18px 0; }

.legal-footer{display:flex;gap:24px;flex-wrap:wrap;margin:30px auto;padding:20px;max-width:1600px;border-top:1px solid #ccc;font-size:14px}.legal-footer a{color:inherit}.legal-footer span{color:#555}#storage-mode-note{font-size:14px;line-height:1.5}
