/* Practice v8: header line, section row, phrase row, waveform, one readout line, four-control dock. Nothing else. */
.practice-shell .practice-workspace.song-workspace{--v8-gold:var(--red-accent)}
.practice-shell .song-workspace .v8-head{display:flex;align-items:center;justify-content:space-between;gap:8px;height:56px;padding:0 12px 0 16px;border-bottom:1px solid var(--red-line);background:var(--red-bg)}
.practice-shell .song-workspace .v8-title{font:700 17px/1.2 system-ui;color:var(--red-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.practice-shell .song-workspace .v8-head-right{display:flex;align-items:center;gap:6px;flex:none}
.practice-shell .song-workspace .v8-part{min-height:36px!important;padding:4px 12px;border:1px solid var(--v8-gold);border-radius:20px;background:transparent;color:var(--v8-gold);font-size:14px;font-weight:600;white-space:nowrap;display:flex;align-items:center;gap:4px}
.practice-shell .song-workspace .v8-part i{font-style:normal;font-size:12px}
.practice-shell .song-workspace .v8-part small{font-size:11px;font-weight:500;opacity:.85}
.practice-shell .song-workspace .v8-more{width:44px;min-width:44px;height:44px;min-height:44px!important;padding:0;border:0;background:transparent;color:var(--red-muted);font-size:22px;line-height:1}
.practice-shell .song-workspace .practice-body{padding:0 0 calc(var(--transport-height,110px) + 16px)}
.practice-shell .song-workspace [data-song-map]{display:block}
.practice-shell .song-workspace .v8-analysis{margin:12px 16px 0;padding:10px 12px;border:1px solid var(--red-line);border-radius:12px;background:var(--red-card);font-size:13px;color:var(--red-muted)}
.practice-shell .song-workspace .v8-analysis[hidden]{display:none}
.practice-shell .song-workspace .v8-row{display:flex;gap:8px;padding:12px 16px 0;overflow-x:auto;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.practice-shell .song-workspace .v8-row::-webkit-scrollbar{display:none}
.practice-shell .song-workspace .v8-row[hidden]{display:none}
.practice-shell .song-workspace .v8-chip{flex:0 0 auto;min-height:44px!important;padding:10px 16px;border:1px solid var(--red-line);border-radius:14px;background:var(--red-card);color:var(--red-text);font-size:16px;line-height:1.2;display:inline-flex;align-items:center}
.practice-shell .song-workspace .v8-chip.v8-chip-small{padding:8px 18px;border-radius:12px;min-height:40px!important}
.practice-shell .song-workspace .v8-chip[aria-pressed=true]{background:var(--v8-gold);color:#15181e;border-color:var(--v8-gold);font-weight:700}
.practice-shell .song-workspace .v8-chip.is-current{box-shadow:inset 0 0 0 1px var(--v8-gold)}
.practice-shell .song-workspace .v8-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--v8-gold);margin-left:6px}
.practice-shell .song-workspace .v8-chip[aria-pressed=true] .v8-dot{background:#15181e}
.practice-shell .song-workspace .practice-wave-layer{display:grid;margin:14px 16px 0;padding:0;border:1px solid var(--red-line);border-radius:14px;background:var(--red-card);position:relative;overflow:hidden}
.practice-shell .song-workspace .wave-editor{background:transparent;border-radius:14px;padding:0;margin:0}
.practice-shell .song-workspace .wave-stage{height:180px;margin:0;border-radius:14px;background:transparent}
.practice-shell .song-workspace .wave-simple .wave-handle{top:8px;height:32px;min-height:32px;width:36px;min-width:36px;border:1px solid var(--v8-gold);border-radius:8px;background:var(--red-card);color:var(--v8-gold);font:700 14px/30px system-ui}
.practice-shell .song-workspace .wave-simple .wave-times{position:absolute;left:0;right:0;bottom:0;padding:0 10px 4px;font-size:11px;color:var(--red-muted);pointer-events:none}
.practice-shell .song-workspace .practice-wave-layer.is-your-turn::after{content:'';position:absolute;inset:0;background:rgba(232,189,122,.14);pointer-events:none;border-radius:14px}
.practice-shell .song-workspace .practice-load{position:absolute;inset:0;display:grid;place-items:center;padding:16px;text-align:center;font-size:13px;color:var(--red-muted);background:rgba(21,24,30,.85)}
.practice-shell .song-workspace .practice-load[hidden]{display:none}
.practice-shell .song-workspace .v8-pos{margin:8px 16px 0;font-size:14px;color:var(--red-muted);display:flex;align-items:baseline;gap:10px;white-space:nowrap;overflow:hidden}
.practice-shell .song-workspace .v8-pos b{font:500 22px/1 Georgia,serif;color:var(--red-text);font-variant-numeric:tabular-nums}
.practice-shell .song-workspace .learn-transport{padding:12px 16px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--red-line);background:var(--red-bg);display:flex;flex-direction:column;gap:8px}
.practice-shell .song-workspace .v8-dock{display:flex;gap:8px;align-items:stretch}
.practice-shell .song-workspace .v8-dock>button{flex:1;min-height:56px!important;padding:8px 0;border:1px solid var(--red-line);border-radius:12px;background:var(--red-card);color:var(--red-text);font-size:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.practice-shell .song-workspace .v8-dock>button small{font-size:12px;color:var(--red-muted)}
.practice-shell .song-workspace .v8-dock .v8-rw{flex:.6;font-size:16px}
.practice-shell .song-workspace .v8-dock .v8-play{flex:1.3;background:var(--v8-gold);border-color:var(--v8-gold);color:#15181e;font-weight:700;font-size:18px}
.practice-shell .song-workspace .v8-dock .v8-tog[aria-pressed=true]{border-color:var(--v8-gold);color:var(--v8-gold)}
.practice-shell .song-workspace .v8-dock .v8-tog[aria-pressed=true] small{color:var(--v8-gold)}
.practice-shell .song-workspace .v8-dock>button:disabled{opacity:.45}
.practice-shell .song-workspace .practice-verdict{display:flex;gap:8px}
.practice-shell .song-workspace .practice-verdict[hidden]{display:none}
.practice-shell .song-workspace .practice-status[hidden]{display:none}
.practice-shell dialog.practice-menu .v8-menu-toggles{margin-bottom:10px;padding-bottom:10px;border-bottom:1px solid var(--red-line)}
.practice-shell dialog.practice-menu .v8-menu-toggles button[aria-pressed=true]{border-color:var(--red-accent)}
.practice-shell dialog.practice-menu .v8-menu-toggles button[aria-pressed=true] strong{color:var(--red-accent)}
.practice-shell dialog.song-sheet .practice-hear-toggle{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}
.practice-shell dialog.song-sheet .practice-hear-toggle button{min-height:48px;border:1px solid var(--red-line);border-radius:12px;background:var(--red-sunk);color:var(--red-text);font-weight:600}
.practice-shell dialog.song-sheet .practice-hear-toggle button[aria-pressed=true]{background:var(--red-accent);border-color:var(--red-accent);color:#15181e}
.practice-shell dialog.song-sheet [data-part-consequence]{margin:0 0 10px;font-size:14px;color:var(--red-muted)}
@media(min-width:600px){.practice-shell .song-workspace .wave-stage{height:220px}}
.practice-shell .song-workspace .wave-simple .wave-times{display:none}

/* Phrase ranges on Solo sections: chips in the range read as one joined gold block. */
.practice-shell .song-workspace .v8-chip{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation}
.practice-shell .song-workspace .v8-chip.v8-range{background:var(--v8-gold);color:#15181e;border-color:var(--v8-gold);font-weight:700}
.practice-shell .song-workspace .v8-chip.v8-range:not(.v8-range-end){border-top-right-radius:0;border-bottom-right-radius:0;border-right:0;margin-right:-8px;padding-right:22px}
.practice-shell .song-workspace .v8-chip.v8-range:not(.v8-range-start){border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}
.practice-shell .v8-dock .v8-tog[hidden]{display:none}
.practice-shell .build-reps{display:flex;align-items:center;justify-content:center;gap:16px;margin:12px 0 2px}
.practice-shell .build-reps button{min-width:48px;min-height:48px;border-radius:12px;border:1px solid var(--v8-gold);background:transparent;color:var(--v8-gold);font-size:24px;line-height:1}
.practice-shell .build-reps output{font-size:30px;font-weight:700;min-width:40px;text-align:center}
.practice-shell .build-reps-caption{text-align:center;margin:0 0 8px;opacity:.75}
