:root{--green:#1db954;--green-hover:#1ed760;--bg:#0a0a0a;--surface:#161616;--border:#2a2a2a;--text:#fff;--text-muted:#888;--text-dim:#555;--run-color:#e05252;--walk-color:#6e9fff;--radius:10px}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);height:100%;color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}#root{height:100%}.app{flex-direction:column;align-items:center;min-height:100vh;padding:2rem 1rem 4rem;display:flex}.error-banner{color:#ff8080;border-radius:var(--radius);background:#3a1a1a;border:1px solid #7a2a2a;justify-content:space-between;align-items:center;gap:1rem;width:100%;max-width:480px;margin-bottom:1.5rem;padding:.75rem 1rem;font-size:.875rem;display:flex}.error-banner button{color:inherit;cursor:pointer;background:0 0;border:none;flex-shrink:0;font-size:1rem;line-height:1}.view{flex-direction:column;gap:1.5rem;width:100%;max-width:480px;display:flex}.logo{letter-spacing:-.03em;color:var(--green);margin-bottom:.25rem;font-size:2rem;font-weight:800}.login-view{text-align:center;align-items:center;padding-top:20vh}.tagline{color:var(--text-muted);max-width:280px}.fine-print{color:var(--text-dim);max-width:300px;font-size:.75rem}.btn-primary{background:var(--green);color:#000;cursor:pointer;border:none;border-radius:500px;justify-content:center;align-items:center;width:100%;padding:.85rem 2rem;font-size:.95rem;font-weight:700;text-decoration:none;transition:background .15s;display:inline-flex}.btn-primary:hover{background:var(--green-hover)}.btn-ghost{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:500px;width:100%;padding:.65rem 1.5rem;font-size:.875rem;transition:border-color .15s,color .15s}.btn-ghost:hover{border-color:var(--text-muted);color:var(--text)}.setup-view{padding-top:10vh}.field{flex-direction:column;gap:.75rem;display:flex}.field label{justify-content:space-between;align-items:center;font-size:.95rem;font-weight:600;display:flex}.value-label{color:var(--green);font-size:1.1rem;font-weight:700}input[type=range]{-webkit-appearance:none;background:var(--border);border-radius:2px;outline:none;width:100%;height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--green);cursor:pointer;border-radius:50%;width:20px;height:20px}.range-labels{color:var(--text-dim);justify-content:space-between;font-size:.75rem;display:flex}.pill-group{gap:.5rem;display:flex}.pill{background:var(--surface);border:1px solid var(--border);color:var(--text-muted);cursor:pointer;border-radius:500px;flex:1;padding:.6rem 1rem;font-size:.875rem;transition:all .15s}.pill.active{background:var(--green);border-color:var(--green);color:#000;font-weight:700}.pill:hover:not(.active){border-color:var(--text-muted);color:var(--text)}.hint{color:var(--text-dim);min-height:1.2rem;font-size:.8rem}.c25k-summary{flex-direction:column;gap:.5rem;display:flex}.c25k-intervals{flex-wrap:wrap;gap:.35rem;display:flex}.interval-chip{border-radius:4px;padding:.25rem .5rem;font-size:.72rem;font-weight:600}.interval-chip.run{color:var(--run-color);background:#e0525226}.interval-chip.walk{color:var(--walk-color);background:#6e9fff26}.generating-view{text-align:center;align-items:center;padding-top:20vh}.step-label{color:var(--text-muted);min-height:1.5rem;font-size:.95rem}.progress-track{background:var(--border);border-radius:2px;width:100%;height:4px;overflow:hidden}.progress-fill{background:var(--green);border-radius:2px;height:100%;transition:width .3s}.percent-label{color:var(--text-dim);font-size:.8rem}.done-view{padding-top:6vh}.result-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.result-card h2{color:var(--text-muted);font-size:1rem;font-weight:600;line-height:1.4}.stats{text-align:center;grid-template-columns:repeat(4,1fr);gap:.75rem;display:grid}.stat{flex-direction:column;gap:.25rem;display:flex}.stat-value{color:var(--text);font-size:1.1rem;font-weight:700}.stat-label{color:var(--text-dim);text-transform:uppercase;letter-spacing:.05em;font-size:.7rem}.track-list{border:1px solid var(--border);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.track-row{border-bottom:1px solid var(--border);grid-template-columns:1.5rem 1fr auto auto auto auto;align-items:center;gap:.75rem;padding:.6rem .875rem;font-size:.8rem;display:grid}.track-row:last-child{border-bottom:none}.track-row.run{background:#e052520a}.track-row.walk{background:#6e9fff0a}.track-type{font-size:1rem}.track-row.run .track-type{color:var(--run-color)}.track-row.walk .track-type{color:var(--walk-color)}.track-name{white-space:nowrap;text-overflow:ellipsis;font-weight:500;overflow:hidden}.track-artist{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.track-duration{color:var(--text-dim);white-space:nowrap;font-size:.75rem}.track-bpm{color:var(--text-dim);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.7rem}.attribution{color:var(--text-dim);text-align:center;padding:.75rem 0 .25rem;font-size:.7rem}.attribution a{color:var(--text-muted);text-decoration:underline}.track-reject{color:var(--text-dim);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.2rem .35rem;font-size:.7rem;line-height:1;transition:color .15s,background .15s}.track-reject:hover{color:var(--text);background:var(--border)}.workout-timeline{justify-content:center;align-items:flex-start;gap:1.25rem;padding:1.25rem 0 .5rem;display:flex}.timeline-col{flex-direction:column;align-items:center;gap:.5rem;display:flex}.timeline-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;font-weight:600}.timeline-bar{background:var(--border);border-radius:6px;flex-direction:column;gap:1px;width:56px;height:220px;display:flex;overflow:hidden}.timeline-segment.run{background:var(--run-color)}.timeline-segment.walk{background:var(--walk-color)}.timeline-total{color:var(--text-dim);font-size:.7rem}.timeline-legend{flex-direction:column;justify-content:center;align-self:center;gap:.6rem;padding-top:1.4rem;display:flex}.timeline-legend-item{white-space:nowrap;font-size:.72rem}.timeline-legend-item.run{color:var(--run-color)}.timeline-legend-item.walk{color:var(--walk-color)}
