#practice{padding-top:8px}.score-nav{display:flex;gap:16px;align-items:center}.score-nav .back{border:0;background:none;padding:4px 0;margin:2px 0;color:#e6cbd5;font-size:.92rem}.score-nav .back+button{margin-left:auto}.score-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:132px}.score-header h1,.sheet-top h2,#vocals h2{font-family:"Barlow Condensed","Arial Narrow",Impact,system-ui,sans-serif;text-transform:uppercase;font-stretch:condensed;letter-spacing:-.052em;font-weight:950}.score-header h1{font-size:clamp(2.75rem,6.5vw,6rem);line-height:.94}.score-header img{width:clamp(105px,21vw,225px);height:105px;object-fit:contain;transform:rotate(-4deg);flex-shrink:0}.score-header .kicker{font-size:.82rem;margin-bottom:6px}.score-header #meta{font:600 .93rem/1.5 ui-monospace,monospace}.section-tape{margin:12px 0 19px;display:inline-flex;max-width:100%;padding:4px;background:var(--paper);border-radius:1px;transform:rotate(-.55deg);gap:2px}.section-tape button{background:transparent;border:0;border-radius:0;color:#332030;font-weight:850;font-size:.96rem;min-height:35px;padding:4px 15px}.section-tape button[aria-pressed=true]{background:var(--orange);color:#281c29}.score-sheet,#vocals{background:#fff0d9;color:#2d1e2b;padding:20px clamp(10px,2vw,24px) 12px;border-radius:2px;box-shadow:3px 4px #170e18}.sheet-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.sheet-top h2,#vocals h2{margin:0;background:#30212d;color:#fff0d9;display:inline-block;transform:rotate(-1.1deg);font-size:clamp(1.55rem,3vw,2.35rem);padding:6px 10px 8px;line-height:.95}.sheet-top output{white-space:nowrap;color:#513744;font:700 clamp(.8rem,1.4vw,1rem) ui-monospace,monospace}#liveScore{display:block;width:100%;height:clamp(210px,26vh,300px);touch-action:pan-y;cursor:crosshair}#liveScore:focus-visible{outline:3px solid #a8421e;outline-offset:2px}#scoreSource{font-size:.87rem;color:#604951;margin:10px 0 0;border-top:1px solid #d4bcaa;padding-top:8px}#practice .transport{border:0;background:transparent;padding:15px 0 0}#practice .controls{gap:8px}#practice .controls label{margin-left:auto}#practice .listen{display:flex;gap:5px;margin:0}.controls output{margin-right:0}.wave{height:34px;border:1px solid var(--line)}.practice-tools{margin:14px 0;border-block:1px solid var(--line);padding:12px 0}.practice-tools summary{cursor:pointer;font-weight:650;width:fit-content}.practice-tools .desk{margin-top:12px}#practice footer{margin:14px 0}#vocals #currentLyric{color:#9d3a18}#vocals #nextLyric,#vocals #lyricStatus{color:#5c4652}#vocals small{display:block}#vocals .lyric-import input{color:#332433}#practice .controls button{min-height:44px}
@media(max-width:650px){.score-header{min-height:100px}.score-header img{height:75px;width:94px}.score-header #meta{font-size:.8rem}.section-tape{margin:10px 0 12px}.section-tape button{padding:4px 9px;font-size:.85rem}.score-sheet{margin-inline:-5px}.sheet-top{margin-bottom:6px}#liveScore{height:210px}#practice .controls .listen{order:2;width:100%}.score-header h1{font-size:2.8rem}.score-nav .back{min-height:34px}.controls output{font-size:.78rem}#practice .controls label{font-size:.84rem}#practice .controls label select{padding:4px;max-width:75px}.score-header{gap:5px}.controls .accent{min-width:71px}}
.header-actions,.score-options,.guide-top,.guide-step,.guide-part{display:flex;gap:10px;align-items:center}.score-options{flex-wrap:wrap;justify-content:flex-end}.header-actions #openGuide{background:transparent}.score-options button{background:transparent;color:#382537;border-color:#a28c89;padding:5px 10px;min-height:34px;font-size:.88rem}.score-options button:hover{border-color:#4a3743}.score-options button:focus-visible{outline-color:#9f471f}#guide{border:1px solid #705364;border-radius:10px;background:#30212f;color:#fff0d9;width:min(580px,94vw);max-height:90dvh;padding:clamp(16px,3vw,28px);box-shadow:0 20px 90px #150f19a0}#guide::backdrop{background:#170e19cc}.guide-top{justify-content:space-between;margin-bottom:10px}.guide-top p{margin:0}#guide h2{margin:.35em 0 .65em;font-size:clamp(1.55rem,3vw,2.1rem)}.guide-part{font-weight:650}#guide p{line-height:1.5}#guideImport{color:var(--muted);font-size:.9rem;border-top:1px solid var(--line);padding-top:12px}.guide-grid{width:100%;border-collapse:collapse;background:#fff0d9;color:#30212f;font:700 1rem ui-monospace,monospace;text-align:center}.guide-grid caption{background:#fff0d9;color:#493342;text-align:left;padding:10px;font-size:.85rem}.guide-grid th,.guide-grid td{padding:6px 1px;border-bottom:1px solid #d5beae}.guide-grid th:first-child{text-align:left;padding-left:10px}.guide-grid .here{background:#ffa36f;color:#281c29}.guide-step{margin-top:12px;justify-content:space-between}.guide-step output,#guideAction{font-weight:750}#guideAction{color:#ffb38b}@media(max-width:500px){header .brand{font-size:.95rem;gap:4px}.header-actions{gap:4px}.header-actions button{font-size:.8rem;padding:4px 6px}.sheet-top{align-items:flex-start}.score-options{flex-direction:column;align-items:flex-end;gap:4px}.score-options button{font-size:.78rem}.guide-grid{font-size:.83rem}}
#analysisPanel{border-left:3px solid var(--orange);padding:2px 14px;margin:20px 0;max-width:72ch}#analysisPanel h2{font-size:1.1rem;margin:0 0 4px}#analysisPanel p{margin:.3em 0;line-height:1.45}#analysisDetails{color:var(--muted);font-size:.93rem}#notice:not(:empty){padding:7px 0}

#scoreEmpty{margin:12px 0;padding:22px 14px;border-block:1px solid #cdb3a5;color:#382537;font-size:1.06rem;font-weight:650}
#liveScore[hidden],#scoreEmpty[hidden],#scoreCount[hidden]{display:none}

.setlist-intro{color:var(--muted);margin:.9rem 0 0;line-height:1.5}
#partToolbar,.recovery-actions,#chartActions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
#partToolbar{margin:.5rem 0 .2rem}
#partToolbar label{font-weight:700}
#partToolbar select{min-height:40px}
#gridNote{color:var(--muted);font-size:.9rem}
#scoreRecovery{margin:.7rem 0;padding:1rem 0;border-block:1px solid #cdb3a5}
#scoreRecovery h3{font-size:1.22rem;margin:0}
#scoreRecovery #scoreEmpty{border:0;margin:.4rem 0 .85rem;padding:0;font-size:1rem;font-weight:400}
.recovery-actions button,#chartActions button{min-height:40px;background:transparent;color:#382537;border-color:#9b7e73}
.recovery-actions button:first-child:not([hidden]){background:#382537;color:var(--paper)}
#chartActions{margin:.65rem 0 0}
#midiDialog,#scorePlacement{max-width:min(92vw,35rem);border-radius:8px;border:1px solid var(--line);background:var(--ink);color:var(--paper);padding:1.3rem}
#midiDialog label{display:flex;gap:.5rem;align-items:center}
#midiDialog select{max-width:80%}
#midiDialog::backdrop,#scorePlacement::backdrop{background:#1b1126b0}
#switchRole{display:none}

.loop-controls{display:inline-flex;align-items:stretch}
.loop-controls button{border-radius:7px 0 0 7px}
.loop-controls select{border-left:0;border-radius:0 7px 7px 0}
#loopInfo{display:block;margin-top:.55rem;color:var(--muted);font-size:.9rem}
#loopInfo:empty{display:none}

#loopRegion{position:absolute;inset-block:0;border-inline:2px solid #f1a6c5;background:#ed8fb944;pointer-events:none}

.rehearsal-options{margin:12px 0;color:var(--paper)}
.rehearsal-options summary{cursor:pointer;font-weight:650}
.rehearsal-options label{display:block;margin:12px 0 5px}
.rehearsal-options input[type=checkbox]{width:1rem;height:1rem;accent-color:var(--orange);vertical-align:middle}

#knownArrangement{font-size:.9rem;margin:.55rem 0;color:#513744}#knownArrangement a{display:inline-block;color:#642b49;font-weight:700;margin-inline-start:.45rem;text-underline-offset:.15em}

#scorePlacement audio{width:100%}
#scorePlacement fieldset{display:grid;gap:.5rem;border:1px solid var(--line);margin:.6rem 0}
#scorePlacement label{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
#scorePlacement select{max-width:65%}
#scorePlacement input{width:8ch}
#scorePlacement fieldset button{justify-self:start}

#videoFingering{max-width:min(94vw,600px);max-height:90vh;overflow:auto}
.video-review-heading,.video-review-times{display:flex;align-items:center;gap:.75rem}
.video-review-heading{justify-content:space-between}
.video-review-heading h2{margin:0}
#videoFingering form,#videoFingering label{display:grid;gap:.45rem}
#videoFingering form{gap:.85rem}
#videoFingering label{min-width:0}
#videoFingering input{width:100%;box-sizing:border-box}
#videoFingering form p{margin:0}
#videoFingering form button{justify-self:start}
#videoFingering li+li{margin-top:.5rem}
#videoFingering ul:empty,#videoFingering [role=status]:empty{display:none}
#videoFingering details{margin-top:1rem}
#videoFingering details form{margin-top:.75rem}
#videoPitchChange:not([hidden]){display:flex;align-items:center}
#videoPitchChange input{width:auto}
#videoFingering li button{margin-left:.5rem}
#videoFingering form[hidden]{display:none}

.drum-practice:not([hidden]){display:grid;grid-template-columns:minmax(155px,1fr) minmax(250px,2fr) minmax(108px,.72fr);align-items:center;gap:12px;padding:12px clamp(12px,2.5vw,30px);background:#31232e;color:#fff0d9;border-radius:3px}
.drum-practice svg{display:block;width:100%;max-height:216px;overflow:visible}
.kit-caption h3{font:850 1.4rem/1.1 "Barlow Condensed","Arial Narrow",system-ui,sans-serif;margin:0}
.kit-caption p,.kit-caption small,.kit-hit span{font-size:.83rem;line-height:1.38;color:#e2cfd5}
.kit-caption p{margin:.4rem 0 .65rem;max-width:26ch}
.kit-caption label{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:700;cursor:pointer}
.kit-caption input{accent-color:#ffac70;width:17px;height:17px;margin:0}
.kit-caption small,.kit-hit span,.kit-hit output{display:block}
.kit-caption small{margin:.3rem 0 0}
.kit-hit output{min-height:2.8em;font-weight:750;line-height:1.35;color:#ffe2aa}
.drum-label{text-anchor:middle;fill:#fff;font:bold 15px system-ui,sans-serif;paint-order:stroke;stroke:#33232c;stroke-width:3px;stroke-linejoin:round}
.drum-rim{fill:none;stroke:#fff4cf;stroke-width:0}
.unused .drum-surface,.unused .drum-target{opacity:.48}
.struck .drum-rim{stroke-width:5}
.struck .drum-target{stroke:#fff3cb;stroke-width:3}
@media(max-width:730px){.drum-practice:not([hidden]){grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:4px 12px}.kit-hit{grid-column:1/-1;display:flex;align-items:baseline;gap:8px}.kit-hit output{min-height:1.35em}}
@media(max-width:480px){.drum-practice:not([hidden]){display:flex;flex-direction:column;align-items:stretch;padding:12px}.kit-caption{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center}.kit-caption p{grid-row:2;grid-column:1/-1;max-width:none;margin:.28rem 0}.kit-caption label{grid-row:1;grid-column:2;font-size:.8rem}.kit-caption small{font-size:.76rem;grid-column:1/-1;margin:0}.kit-caption small br{display:none}.kit-caption small br::after{content:' '}.drum-practice svg{height:155px}.kit-hit{justify-content:center}}

#findSongs{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.4rem .85rem;border-radius:5px;background:var(--orange);color:#271a24;font-weight:750;text-decoration:none;white-space:nowrap}
#findSongs:focus-visible{outline:3px solid #ffe7a3;outline-offset:3px}
@media(max-width:680px){body>header{height:auto;min-height:76px;flex-wrap:wrap;gap:6px 10px;padding-block:8px}.header-actions{flex-wrap:wrap}#findSongs{padding:.3rem .6rem;font-size:.88rem}}
