*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:#101216;color:#f3f3f5;font:16px/1.45 "Inter",Arial,sans-serif;--line:#30333b;--teal:#67e0c3;--muted:#a0a4af}button,select,input{font:inherit}button,select{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:none;color:inherit;border:0;border-radius:7px;font-weight:550}button:hover{filter:brightness(1.15);background-color:#ffffff12}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid var(--teal)}button:disabled{opacity:.46;cursor:default}svg.icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}i[data-i]{display:inline-flex}aside{position:fixed;inset:0 auto 0 0;width:218px;background:#15171d;border-right:1px solid var(--line);padding:28px 16px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:26px;letter-spacing:-1.5px;font-weight:730;margin:0 9px 48px}.logo{width:34px;height:34px;background:var(--teal);color:#14251e;border-radius:9px;display:grid;place-content:center;font:italic 900 34px/1 Georgia;transform:rotate(-5deg);padding-right:3px}aside small,.eyebrow{font:650 11px/1.4 Arial;letter-spacing:1.6px;color:#989ea9}aside small{padding:0 12px;margin-bottom:12px}.nav,.recent,.help{width:100%;justify-content:flex-start;text-align:left;padding:11px 13px;color:#b0b3be}.active{background:#233832;color:#83e4cb}.sep{border-top:1px solid var(--line);margin:24px 8px}.recent{font-size:14px;gap:12px}.recent i{color:#7e8490}.help{margin-top:auto;font-size:14px}.right{margin-left:auto}main{margin-left:218px}header{height:65px;padding:0 clamp(20px,4vw,76px);border-bottom:1px solid #26292f;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted)}header b{color:#e2e4ea;font-weight:500}.slash{margin:0 10px;color:#626774}.mobilebrand{display:none}.local{display:flex;align-items:center;gap:8px}.local i{width:7px;height:7px;border-radius:50%;background:var(--teal)}#work,#books{max-width:1510px;margin:auto;padding:34px clamp(20px,4vw,76px) 42px}.heading,.editorhead,.trackhead,.transport,.toolbar,.foot,.modalhead{display:flex;align-items:center}.heading{justify-content:space-between;gap:16px;margin-bottom:26px}h1,h2,p{margin:0}h1{font-size:clamp(28px,3.2vw,48px);line-height:1.15;letter-spacing:-1.9px}h2{font-size:21px;letter-spacing:-.6px}.heading p,.info{color:var(--muted);margin-top:7px}.primary,.play{background:var(--teal);color:#10231e}.primary{padding:12px 17px}.primary:hover,.play:hover{background:#8bead2}.track,.editor{background:#191c22;border:1px solid var(--line);border-radius:13px;overflow:hidden}.track{padding:20px 22px 0}.trackhead{gap:12px}.trackicon{background:#233e37;color:var(--teal);border:1px solid #35574c;border-radius:10px;padding:11px}.trackicon svg{width:23px;height:23px}.trackhead h2{font-size:21px}.eyebrow{font-size:10px;letter-spacing:1.4px}.badge{border:1px solid #424650;border-radius:5px;color:#c1c6ce;padding:1px 7px;font-size:12px}.iconbtn{min-width:34px;height:34px;color:#b8bbc3}.wavewrap{position:relative;margin:20px 0 0}canvas{width:100%;height:80px;display:block;cursor:crosshair}.times,.clock,.foot{font:12px/1.5 ui-monospace,monospace;color:#a9aeb9}.times{display:flex;justify-content:space-between;margin:3px 0 12px}.transport{gap:12px;border-top:1px solid var(--line);padding:11px 0}.play{border-radius:50%;height:34px;width:34px}.play svg{width:16px;height:16px;fill:currentColor}.vline{height:19px;border-left:1px solid var(--line)}select,input{border:1px solid #3c4049;background:#242830;color:#f4f4f4;border-radius:6px;padding:7px 9px}.transport select{font-size:13px}.editor{margin-top:21px}.editorhead{padding:16px 20px;justify-content:space-between}.outline,.subtle{font-size:14px;padding:8px 11px}.outline{background:#24272e;border:1px solid #3a3e47}.toolbar{padding:0 20px 15px;gap:8px}.seg{background:#101216;padding:3px;border:1px solid #30343c;border-radius:8px;display:flex}.seg button{padding:6px 10px;font-size:13px;color:#a8adba}.seg .chosen{background:#353a43;color:#fff}.subtle{color:#c5c9d1}.subtle.on{color:var(--teal)}.paper{background:#f6f5f0;color:#262926;padding:22px 22px 8px;overflow:auto;max-height:62vh;min-height:200px}.scoretitle{text-align:center;font:600 27px Georgia,serif;margin:0 0 4px}.paper .meta{text-align:center;font:13px Georgia,serif;color:#656863}.system{display:block;width:100%;min-width:560px;height:auto}.note{cursor:pointer}.note:hover .hit{fill:#65cab766}.foot{padding:11px 20px;justify-content:space-between;gap:5px}.modalhead{justify-content:space-between;margin-bottom:14px}.modalhead button{font-size:24px}dialog{background:#1b1e25;color:inherit;border:1px solid #414651;border-radius:15px;width:min(480px,94vw);padding:23px;max-height:90vh}dialog::backdrop{background:#06080cb8}label.field{display:grid;gap:5px;color:#c8cbd2;margin:12px 0;font-size:14px}.field input,.field select{width:100%}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0 0}.choice,.bookrow{display:flex;width:100%;border:1px solid var(--line);background:#21252c;padding:14px;margin:9px 0;justify-content:flex-start;text-align:left}.choice i{color:var(--teal)}.choice span{display:grid}.choice small,.bookrow small{color:var(--muted);font-weight:400}.info{font-size:14px}.error{color:#ffb49c}.bookrow{justify-content:space-between}.bookrow b,.bookrow small{display:block}.bookrow:hover{background:#2a3034}audio{max-width:100%;margin-top:12px}meter{width:100%;height:18px}.recTime{font:42px ui-monospace,monospace;margin:12px 0}.mobilebrand{color:var(--teal)}#toast{position:fixed;right:16px;bottom:14px;background:#2d3436;color:#fff;border-radius:8px;padding:10px;display:none;z-index:10}#toast.show{display:block}
@media(max-width:850px){aside{width:170px}.brand{font-size:23px}main{margin-left:170px}.heading{align-items:flex-start;flex-wrap:wrap}.paper{padding:15px 8px}.system{min-width:400px}}
@media(max-width:650px){aside{position:static;display:flex;flex-direction:row;width:100%;height:54px;padding:7px 12px;align-items:center;border-bottom:1px solid var(--line)}aside small,.sep,#recent,.help{display:none}.brand{margin:0 auto 0 0}.logo{width:27px;height:27px;font-size:27px}.nav{width:auto;padding:7px;font-size:13px}main{margin:0}header{height:36px;font-size:12px;padding:0 14px}#work,#books{padding:21px 12px}.heading{margin-bottom:18px}.heading p{font-size:14px}.primary{font-size:14px}.track{padding:14px 12px 0}.toolbar,.editorhead{padding-left:10px;padding-right:10px}.toolbar{flex-wrap:wrap}.subtle,.seg button{font-size:12px;padding:6px}.paper{max-height:68vh}.system{min-width:0}.foot{font-size:10px;padding:9px}.track canvas{height:64px}.heading h1{letter-spacing:-1px}.transport{gap:6px}.clock{font-size:11px}}
@media print{html,body,main{margin:0;background:white;color:black}aside,header,.heading,.track,.editorhead,.toolbar,.foot,dialog,#toast{display:none!important}#work,.editor,.paper{padding:0;margin:0;border:0;background:white;max-height:none;overflow:visible}.system{break-inside:avoid;min-width:0}.cursor{display:none}}
@font-face{font-family:FretMusic;src:url(music.ttf)}.system text{font-family:FretMusic,Georgia,serif}.system text[font-family=monospace]{font-family:monospace}.paper .note:focus{outline:1px solid #278670}.editorTools{display:flex;gap:5px;align-items:center;padding:0 16px 12px;flex-wrap:wrap}.editorTools[hidden]{display:none}.editorTools button{padding:5px 8px;font-size:13px;border:1px solid #484d56}
