/* 271/11. Local notation layout; engraving and audio engines are unchanged. */
.hk-score-preview .tool-header{padding:.35rem 0 .8rem;margin:0 0 1rem}
.hk-score-preview .tool-header h1{font-size:clamp(2rem,3.5vw,3rem);margin:.35rem 0 .6rem}
.hk-score-preview .tool-intro{max-width:70ch;font-size:1rem;line-height:1.6}
.hk-score-preview .sc-workspace{padding:1.25rem}
.hk-score-preview .sc-filebar{gap:.6rem}
.hk-score-preview .sc-filebar .btn{margin:0}
.hk-score-preview .sc-filebar #sc-clear{margin-left:auto;font-size:.8rem;background:transparent}
.hk-score-preview .sc-filebar>span{margin-left:0}
.hk-score-preview .sc-filename{font-size:.85rem;margin:.8rem 0 0}
.hk-score-preview .sc-filename:empty{display:none}
.hk-score-preview #sc-status{font-family:inherit;min-height:1.6em;font-size:.85rem;line-height:1.6;margin:.7rem 0 1rem}
.hk-score-preview .sc-bench{gap:1rem;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.hk-score-preview .sc-settings,.hk-score-preview .sc-listen{padding:1.15rem;background:#101a21;border-color:#3c515c}
.hk-score-preview .sc-settings{border-top:3px solid #d8ad79}
.hk-score-preview .sc-listen{border-top:3px solid #6accc0}
.hk-score-preview .sc-workspace h2{font-family:inherit;font-size:1.1rem;line-height:1.4;font-weight:600;margin:0 0 1rem}
.hk-score-preview .sc-workspace .sc-grid{gap:.85rem}
.hk-score-preview .sc-grid>div{min-width:0}
.hk-score-preview .sc-grid label{display:block;font-size:.83rem}
.hk-score-preview .sc-workspace input:not([type=checkbox]),.hk-score-preview .sc-workspace select{min-height:44px;box-sizing:border-box;font-size:.85rem}
.hk-score-preview .sc-workspace #sc-parts{border-color:#415a66;border-radius:8px}
.hk-score-preview .sc-part{padding:.7rem;gap:.7rem;background:#152630}
.hk-score-preview .sc-part label{min-height:44px;font-size:.8rem;align-items:center}
.hk-score-preview .sc-part select{font-size:.8rem}
.hk-score-preview .sc-note{font-size:.8rem;color:#b9cbd1;line-height:1.65}
.hk-score-preview .sc-advanced{border-color:#354b55;margin-top:.8rem;padding-top:.6rem}
.hk-score-preview .sc-advanced>summary{min-height:36px;align-content:center;font-size:.83rem;font-weight:500}
.hk-score-preview .sc-check{min-height:36px;align-items:center}
.hk-score-preview .sc-check input{margin:0}
.hk-score-preview .sc-actions{margin:1rem 0 0}
.hk-score-preview .sc-actions .btn{min-height:46px;margin:0}
.hk-score-preview .sc-versions{gap:.5rem}
.hk-score-preview .sc-versions .btn{margin:0;font-size:.85rem;min-width:0}
.hk-score-preview #sc-listen-state{font-size:.8rem;min-height:3.2em;line-height:1.6;margin:.7rem 0 1rem}
.hk-score-preview .sc-playback-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-bottom:1rem}
.hk-score-preview .sc-workspace .sc-playback-choices label{display:grid;gap:.35rem;margin:0;min-width:0;max-width:none;font-size:.8rem}
.hk-score-preview .sc-playback-choices select{min-width:0;max-width:none;width:100%;font-size:.8rem}
.hk-score-preview .sc-workspace .midi-transport{margin:0;gap:.5rem}
.hk-score-preview .midi-transport .btn{margin:0;font-size:.85rem}
.hk-score-preview .midi-transport [data-play]{background:#6accc0;color:#092420;border-color:#6accc0;font-weight:600}
.hk-score-preview .sc-workspace .midi-transport [data-stop]{background:#22343d;color:#e1edef;border-color:#526c78}
.hk-score-preview .midi-transport>label{margin:.6rem 0 0}
.hk-score-preview .sc-workspace .midi-seek-label{display:grid;gap:.25rem;margin:.8rem 0 0;font-size:.82rem}
.hk-score-preview .midi-seek-label input{width:100%;margin:0;min-height:36px}
.hk-score-preview .sc-workspace [data-time]{margin:.2rem 0;font-size:.8rem;font-variant-numeric:tabular-nums}
.hk-score-preview .sc-workspace [data-state]{min-height:1.5em;margin:.6rem 0;color:#c4d7dc;font-size:.8rem}
.hk-score-preview .midi-preview-details{margin:.8rem 0 0;padding:.6rem 0 0}
.hk-score-preview .midi-preview-details summary{min-height:34px;align-content:center;font-size:.82rem}
.hk-score-preview .midi-preview-details>label{font-size:.8rem;padding:.5rem 0;min-width:0}
.hk-score-preview .midi-preview-details>.midi-sound-label{display:grid;gap:.35rem;max-width:none;margin:.7rem 0}
.hk-score-preview .sc-workspace #sc-output{margin:1rem 0 0;padding:1.15rem;border:1px solid #3c515c;border-top:3px solid #6accc0;border-radius:10px;background:#101a21;min-width:0}
.hk-score-preview .sc-downloads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:.8rem 0 0}
.hk-score-preview .sc-downloads>.btn{min-height:46px;min-width:0;max-width:none;margin:0;white-space:normal;font-size:.83rem}
.hk-score-preview .sc-export-help{margin:.6rem 0 .8rem;padding:.4rem 0 .6rem;border-bottom:1px solid #354b55;font-size:.8rem}
.hk-score-preview .sc-export-help>summary{min-height:36px;align-content:center;cursor:pointer}
.hk-score-preview .sc-export-help p{color:#b9cbd1;line-height:1.65;max-width:75ch}
.hk-score-preview .sc-pagebar{border:1px solid #405864;border-radius:9px;background:#192b34;padding:.6rem;gap:.6rem}
.hk-score-preview .sc-pagebar>.btn{min-height:44px;margin:0;font-size:.83rem}
.hk-score-preview .sc-pagebar>label{margin-bottom:0}
.hk-score-preview .sc-workspace #sc-preview{margin:.8rem 0 0;max-height:720px;border-color:#6a7e87}
.hk-score-preview .sc-workspace #sc-preview>img{padding:0;margin:0;box-shadow:none}
.hk-score-preview .sc-instructions>summary{min-height:44px;align-content:center;font-size:1rem;font-weight:600;cursor:pointer}
.hk-score-preview .sc-instructions[open]>summary{margin-bottom:1rem}
@media(max-width:850px){.hk-score-preview .sc-bench{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){
 .hk-score-preview .studio-toolbar{min-height:44px;margin:0;padding:.2rem 0;gap:.6rem}
 .hk-score-preview .studio-toolbar>a{font-size:.8rem}
 .hk-score-preview .studio-toolbar .tool-favorite{width:44px;min-width:44px;max-width:44px;min-height:44px;padding:0;font-size:0}
 .hk-score-preview .studio-toolbar .tool-favorite:before{content:'☆' / '';font-size:1.3rem}
 .hk-score-preview .studio-toolbar .tool-favorite[aria-pressed=true]:before{content:'★' / ''}
 .hk-score-preview .tool-header h1{font-size:2rem}
 .hk-score-preview .tool-intro{font-size:.9rem;line-height:1.55}
 .hk-score-preview .sc-workspace{padding:.85rem}
 .hk-score-preview .sc-filebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
 .hk-score-preview .sc-filebar .btn{width:100%;min-width:0;font-size:.8rem;padding:.6rem .4rem;box-sizing:border-box}
 .hk-score-preview .sc-filebar #sc-clear{margin:0;min-height:36px;padding:.4rem;font-size:.75rem}
 .hk-score-preview .sc-filebar>span{font-size:.7rem;text-align:right}
 .hk-score-preview .sc-filebar #sc-clear:disabled{display:none}
 .hk-score-preview .sc-filebar:has(#sc-clear:disabled)>span{grid-column:1/-1;text-align:left}
 .hk-score-preview .sc-settings,.hk-score-preview .sc-listen,.hk-score-preview .sc-workspace #sc-output{padding:.85rem}
 .hk-score-preview .sc-workspace .sc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
 .hk-score-preview .sc-workspace .sc-grid>div:nth-child(3){grid-column:1/-1}
 .hk-score-preview .sc-workspace .sc-grid>div>label:first-child{min-height:2.8em;font-size:.78rem;align-content:end}
 .hk-score-preview .sc-workspace .sc-grid select{font-size:.78rem}
 .hk-score-preview .sc-part{grid-template-columns:minmax(0,1fr);gap:.4rem}
 .hk-score-preview .sc-playback-choices{gap:.6rem}
 .hk-score-preview .sc-playback-choices select{font-size:.77rem}
 .hk-score-preview .sc-downloads{gap:.4rem}
 .hk-score-preview .sc-downloads>.btn{font-size:.73rem;padding:.55rem .3rem;min-height:56px}
 .hk-score-preview .sc-pagebar>.btn{font-size:.78rem;padding:.5rem}
 .hk-score-preview .sc-workspace #sc-preview{max-height:560px}
}
