.study-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}.study-actions button:first-child{border-color:#b9d5fb;background:#eaf3ff;color:#144a9f}.study-actions button:nth-child(2){background:#fff4c9;border-color:#e9cc62;color:#735300}.study-actions [role=status]{flex-basis:100%;font-size:13px;color:#506683;line-height:1.5}.study-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:22px}.study-controls{flex-wrap:wrap;background:#edf4ff;border-bottom:1px solid #c9dafa}.study-controls strong{color:#134da9;font-size:20px;min-width:35px;text-align:center}.study-controls>div{display:flex;align-items:center;gap:8px}.study-controls small{color:#395984}.study-options{display:flex;gap:15px;flex-wrap:wrap;padding:5px 18px;background:#f8faff;border-bottom:1px solid #dae4f2}.study-options label{flex:1;min-width:135px;font-size:12px;color:#395984}.study-options select{padding:8px}.shape-info{font-size:12px;padding:12px 20px;margin:0;color:#466286;background:#fffbea;border-bottom:1px solid #efe2ae}.study-layout #chords{height:65vh;min-height:350px;overflow:auto;padding:28px 22px;font:18px/1.6 'Cascadia Mono',Consolas,monospace}.study-layout #chord-columns{column-gap:40px;column-rule:1px solid #e0e9f7;min-width:0}.chord-block{break-inside:avoid;margin:0 0 1.6em;min-width:max-content}.study-layout .chordline{min-height:1.6em;white-space:pre;line-height:1.7;color:#182c4b}.study-layout .chordline b.inline-chord{color:#135fd2;font-size:1em;position:relative;top:-.65em;font-weight:800;margin-right:.15em}.chordline:has(.inline-chord){padding-top:.55em}.chord-row{position:relative;height:1.75em}.chord-token{position:absolute;color:#075bd2;font-weight:800;top:0}.section-token{color:#ad6500;font-weight:700;font-size:.92em}.chord-row .section-token{position:absolute}.study-layout .tablature{color:#1d7a53;font-size:.9em;line-height:1.35;min-height:1.35em}.sheet-note{font-size:12px!important;line-height:1.6;color:#586d88;margin:12px 20px}.sheet-note a{color:#1559bd;text-decoration:underline}.study-video iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#101e37;margin:15px 0 10px;min-height:200px}.study-video a{font-size:11px;line-height:1.5}.study-video{border-top:4px solid #e23b42}.reader-side>section:nth-child(2){border-top:4px solid #ffcc2a}.reader-side>section:nth-child(3){border-top:4px solid #119b64}.reader-side>section:nth-child(4){border-top:4px solid #1c60cd}.reader-side h3{margin-bottom:12px}.tuning-notes{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 17px}.tuning-notes button{padding:9px;flex:1;font-size:13px;background:#eaf7f1;color:#087649;border-color:#abdac8}.tuner-display{background:#102b57;color:#ffdc5c;border-radius:9px;padding:16px 8px;text-align:center;font:700 16px/1.6 monospace}.reader-side meter{width:100%;height:24px;margin:10px 0}.reader-side details summary{color:#1458b6;font-weight:700;cursor:pointer;margin:14px 0}.strum-pattern{display:flex;justify-content:space-around;background:#edf3fc;padding:12px 8px;border-radius:10px;font-size:23px;color:#1b57ac}.strum-pattern span{padding:0 4px;border-radius:5px}.strum-pattern .current{background:#ffcd2a;color:#102a5b}.chord-import-preview{max-height:42vh;overflow:auto;white-space:pre;background:#f4f7fc;border:1px solid #d5e1f1;padding:16px;border-radius:10px;font:14px/1.5 monospace}#reader-metadata .music-details{margin-bottom:0}.music-lookup-actions a{font-size:12px;text-decoration:underline;color:#1657b4}
.stage .study-controls,.stage .study-options{background:#11274e;border-color:#2a4779}.stage .study-controls small,.stage .study-options label{color:#bdcee8}.stage #key{color:#ffdb54}.stage .shape-info{background:#1d3153;color:#d9e5fb;border-color:#385076}.stage .chordline{color:#edf4ff}.stage .chord-token,.stage .chordline b.inline-chord{color:#ffdb54}.stage .section-token{color:#64dbae}.stage .tablature{color:#85d2b8}.stage .sheet-note{color:#b0c1de}.stage .study-layout #chords{height:calc(100vh - 240px)}
@media(max-width:1100px){.study-layout{grid-template-columns:minmax(0,1fr) 265px}.study-controls{gap:10px;padding:12px}.study-controls small{font-size:11px}.study-layout #chords{padding:22px 16px}}
@media(max-width:850px){.study-layout{grid-template-columns:1fr}.study-layout .reader-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.study-video iframe{min-height:200px}.study-options{gap:10px}}
@media(max-width:540px){.study-layout .reader-side{grid-template-columns:1fr}.study-actions button{width:100%;font-size:13px}.study-controls>div{gap:5px}.study-options label{min-width:95px}.study-layout #chords{height:58vh;padding:20px 12px}.study-controls #reset-key{font-size:11px;padding:8px}.study-layout .sheet{min-width:0}}

.study-scroll-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:10px 18px;background:#fff8dc;border-bottom:1px solid #ead99a}.study-scroll-controls strong{font-size:13px;color:#6b5100}.study-scroll-controls label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px}.study-scroll-controls input{width:150px;margin:0;min-height:24px}.study-scroll-controls button{margin-left:auto}.stage .study-scroll-controls{background:#172e54;border-color:#34557f;color:#edf4ff}.stage .study-scroll-controls strong{color:#ffdb54}.stage .study-scroll-controls label{color:#d5e5ff}.stage .study-layout .sheet{height:calc(100dvh - 40px);display:flex;flex-direction:column}.stage .study-layout #chords{height:auto;min-height:0;flex:1}.stage .sheet-note,.stage #chord-attribution{display:none}@media(max-width:760px){.stage .study-layout .sheet{height:calc(100dvh - 16px)}.study-scroll-controls{gap:8px;padding:8px 12px}.study-scroll-controls strong{flex-basis:100%}.study-scroll-controls input{width:100px}.study-scroll-controls button{font-size:12px;padding:8px}}
