:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25332f;background:#f6f7f4;font-synthesis:none;--accent:#186d60;--accent-hover:#125649;--muted:#747c77;--line:#e0e5df;--paper:#fff;--sidebar:#f5f6f2;--soft:#e6efe9;--radius:9px;--space:24px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;font-size:13px;font-weight:550;transition:background .15s}button:hover:not(:disabled){background:#e8ede8}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #65b39e;outline-offset:3px}a{color:inherit;text-decoration:none}.primary{border-radius:var(--radius);background:var(--accent);color:#fff;padding:12px 17px;font-weight:600}.primary:hover:not(:disabled){background:var(--accent-hover)}.icon-btn{width:44px;min-width:44px;border-radius:7px;padding:0}.muted{color:var(--muted);line-height:1.7}.app-shell{height:100dvh;min-height:680px;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{background:var(--sidebar);border-right:1px solid var(--line);padding:32px 20px 14px;display:flex;flex-direction:column;min-height:0}.brand{display:flex;gap:10px;align-items:center;margin:0 3px 35px;font-size:23px;font-weight:650;letter-spacing:-1px}.brand-icon{color:var(--accent);display:flex}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;color:#737d76;font-weight:600}.new-project{width:100%;justify-content:flex-start;min-height:46px;padding-left:13px;font-size:12px}.library-heading{display:flex;align-items:center;gap:9px;margin:33px 7px 17px;font-size:13px}.library-heading>span{margin-left:auto;font-size:11px;color:var(--muted);background:#e9ede7;padding:2px 6px;border-radius:4px}.search{display:flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:7px;padding:0 10px;background:#fcfcfa;color:#7f8781}.search input{border:0;background:none;min-width:0;width:100%;height:38px;font-size:12px;outline:none}.project-list{flex:1;overflow:auto;margin:12px -8px;min-height:100px}.project-item{width:100%;text-align:left;justify-content:flex-start;padding:13px 12px;border-radius:8px;color:#59635b}.project-item.active{background:#e3ece4;color:#174e43}.project-item>svg{flex-shrink:0}.project-item>span{min-width:0}.project-item strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;max-width:154px}.project-item small{font-size:10px;display:block;font-weight:400;margin-top:5px;color:#758177}.library-empty{padding:49px 22px;color:#929a91;font-size:13px;line-height:1.8}.library-empty p{color:#5e695f;margin:13px 0 9px}.library-empty small{font-size:11px;line-height:1.7;display:block;max-width:145px}.no-results{padding:12px;font-size:12px}.local-card{border-top:1px solid var(--line);padding:21px 5px 14px;font-size:11px;color:#566459}.status-dot{display:inline-block;background:#4a9678;width:6px;height:6px;border-radius:50%;margin-right:7px}.local-card strong{font-size:11px;font-weight:550}.local-card p{font-size:11px;line-height:1.8;color:#798478;margin:10px 0}.local-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#687a6b}.help-button{justify-content:flex-start;font-size:11px;color:#6d776e;padding:0 6px;margin-top:4px}.help-button svg:last-child{margin-left:auto}.workspace{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff}.topbar{height:113px;min-height:113px;padding:25px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.project-title{min-width:0}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#6b8275;font-weight:650}.topbar h1{font-size:20px;letter-spacing:-.5px;margin:9px 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar p{font-size:11px;color:#849087;margin:0}.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.export{font-size:12px;min-height:42px}.download-wrap{position:relative}.download-menu{position:absolute;right:0;top:52px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:0 12px 30px #12261f1a;z-index:10;width:210px;padding:6px}.download-menu a,.download-menu button{display:flex;width:100%;justify-content:space-between;align-items:center;min-height:44px;padding:10px 14px;font-size:13px;border-radius:5px}.download-menu a:hover{background:var(--soft)}.download-menu small{color:var(--muted);font-size:11px}.viewbar{height:58px;min-height:58px;padding:0 29px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #eef0eb;gap:10px}.view-tabs{display:flex;gap:5px}.view-tabs button{font-size:11px;min-height:35px;padding:8px 12px;border-radius:6px;color:#7b827d}.view-tabs .selected{background:#edf1eb;color:#2e4438}.draft-label{font-size:10px;color:#78867b;display:flex;align-items:center;gap:5px;white-space:nowrap}.sheet-panel{flex:1.3;min-height:280px;position:relative;overflow:auto;background:#fff}.empty-score{height:100%;min-height:340px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;position:relative;isolation:isolate}.score-symbol{height:46px;width:46px;border:1px solid #dfe8df;background:#f7f9f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#52816b;margin-bottom:14px}.empty-score .eyebrow{font-size:8px}.empty-score h2{font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:400;line-height:1.22;letter-spacing:-.7px;margin:12px 0 9px}.empty-score h2 em{font-weight:400;color:#537964}.empty-score p{font-size:12px;line-height:1.8;color:#7b857c;margin:5px 0 19px}.empty-score>small{font-size:11px;color:#7b857c}.begin{font-size:12px;min-height:43px;padding:11px 16px}.supported{font-size:9px;color:#929a92;display:flex;gap:10px;align-items:center;margin-top:16px}.supported i{height:3px;width:3px;background:#b1b9b0;border-radius:50%}.staff-decoration{position:absolute;z-index:-1;width:calc(100% - 90px);height:57px;top:45%;opacity:.16;background:repeating-linear-gradient(to bottom,transparent 0,transparent 10px,#c6cec6 10px,#c6cec6 11px);-webkit-mask-image:linear-gradient(to right,#000,transparent 28%,transparent 72%,#000);mask-image:linear-gradient(to right,#000,transparent 28%,transparent 72%,#000)}.staff-decoration span{position:absolute;font-family:serif;font-size:74px;left:17px;top:-26px;color:#a1b39f}.piano-panel{flex:1;min-height:220px;background:#151c1c;display:flex;flex-direction:column}.roll-heading{padding:17px 24px;display:flex;align-items:center;justify-content:space-between;color:#adbbb6;font-size:9px;min-height:48px;gap:12px}.roll-heading>span{display:flex;align-items:center;gap:8px;letter-spacing:1.6px}.roll-heading>div{display:flex;align-items:center;gap:7px;color:#aebcb7;font-size:10px}.hand{width:6px;height:6px;border-radius:50%;display:inline-block}.left-hand{background:#6da7da}.right-hand{background:#5dbda1;margin-left:12px}.roll-canvas{position:relative;flex:1;min-height:170px}.roll-canvas canvas{width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;display:block}.roll-empty{position:absolute;left:50%;top:35%;transform:translate(-50%,-50%);text-align:center;white-space:nowrap;pointer-events:none}.roll-empty>span{font-family:Georgia,serif;font-size:18px;color:#7c9088;font-style:italic}.roll-empty>small{display:block;color:#6d7f76;font-size:10px;margin-top:9px}.timeline{position:absolute;top:-4px;left:0;width:100%;margin:0;height:8px;accent-color:#7ec7aa;cursor:pointer;opacity:0;transition:opacity .15s}.roll-canvas:hover .timeline,.timeline:focus-visible{opacity:1}.transport{height:78px;min-height:78px;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#165b51;color:#eef5ee}.audio-mode{display:flex;background:#114c43;padding:4px;border-radius:8px}.audio-mode button{font-size:10px;min-height:34px;color:#b2d0c6;padding:6px 12px;border-radius:5px}.audio-mode .selected{background:#edf2e9;color:#214a3d}.audio-mode button:hover:not(:disabled){background:#326f61}.play-controls{display:flex;align-items:center;gap:16px}.transport-icon{color:#d4e6d9;min-width:36px;padding:0}.transport-icon:hover:not(:disabled){background:#236e60}.play-button{width:48px;height:48px;border-radius:50%;color:#f3f7ee;background:#0e493f;padding:0}.play-button:hover:not(:disabled){background:#287a67}.play-button svg{width:21px}.time-display{font-size:12px;font-variant-numeric:tabular-nums;min-width:90px;white-space:nowrap}.time-display>span{color:#a8c7bb}.speed-control{display:flex;align-items:center;gap:9px;color:#b8d2c5;font-size:10px}.speed-control select{background:#14554a;color:#eff6ed;border:1px solid #3c7b6b;border-radius:6px;height:36px;padding:4px 6px;font-size:12px}.view-sheet .piano-panel,.view-roll .sheet-panel{display:none}.view-sheet .sheet-panel,.view-roll .piano-panel{flex:1}.score-render{padding:12px 20px 30px;min-width:0}.sheet-loading{padding:24px;text-align:center;color:var(--muted);font-size:13px}.zoom-controls{position:sticky;bottom:10px;margin-left:auto;margin-right:15px;background:#fbfcfaef;border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;width:max-content;height:40px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.zoom-controls span{font-size:11px;width:40px;text-align:center}.zoom-controls button{min-height:38px;width:38px;min-width:38px}.banner{margin:0;padding:12px 25px;font-size:12px}.help-panel{padding:16px 24px;background:#f1f5ef;font-size:12px;line-height:1.8;border-bottom:1px solid var(--line)}.help-panel button{float:right}.help-panel p{margin:5px 0}.help-panel small{color:#68766c}.error{color:#a33c2d!important;background:#fcf1ed;padding:12px;border-radius:7px;font-size:12px;line-height:1.6}.loading-icon{color:var(--accent);margin-bottom:8px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.convert-dialog{padding:30px;border:1px solid #dce5db;border-radius:18px;width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);color:#293c32;box-shadow:0 24px 80px #10231d30}.convert-dialog::backdrop{background:#12271f70;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-icon{display:flex;align-items:center;justify-content:center;border:1px solid #dce8dd;border-radius:12px;background:#f2f7ef;color:var(--accent);width:48px;height:48px}.convert-dialog h2{font-family:Georgia,serif;font-size:29px;font-weight:400;letter-spacing:-.5px;margin:23px 0 8px}.convert-dialog .muted{font-size:12px;margin:0 0 24px}.input-tabs{display:flex;gap:5px;background:#f0f3ed;padding:4px;border-radius:9px;margin-bottom:18px}.input-tabs button{flex:1;border-radius:6px;min-height:39px;color:#6f7b70;font-size:12px}.input-tabs .selected{background:#fff;color:#255e49;box-shadow:0 1px 3px #1d392910}.dropzone{display:flex;width:100%;flex-direction:column;border:1.5px dashed #c7d6c8;background:#fafcf8;border-radius:10px;padding:27px 15px;gap:10px;color:#5e856b;text-align:center}.dropzone.dragging{background:#e1efdf;border-color:#46866a}.dropzone strong{font-size:12px;font-weight:550;max-width:100%;overflow-wrap:anywhere}.dropzone span{font-size:10px;font-weight:400;color:#7e8b7e}.dropzone small{font-size:9px;font-weight:400;color:#8d988c}.options{display:grid;grid-template-columns:1.3fr 1fr;gap:14px;margin:20px 0}.options label,.link-fields label{font-size:11px;font-weight:550;display:flex;flex-direction:column;gap:8px}.options label span{color:#8b9589;display:contents}.options input,.options select,.link-fields input{width:100%;min-width:0;height:42px;border:1px solid #dce4d8;border-radius:7px;padding:9px 12px;color:#42573f;background:#fff;font-size:12px}.note{display:flex;gap:9px;align-items:flex-start;color:#818c7f;font-size:10px;line-height:1.8;background:#f6f8f2;padding:12px;border-radius:8px}.note svg{flex-shrink:0;margin-top:2px}.convert-submit{width:100%;margin-top:20px;min-height:46px;font-size:13px}.convert-submit svg:last-child{margin-left:auto}.privacy{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#8e988b;margin:14px 0 0}.link-fields{display:flex;flex-direction:column;gap:15px}.link-fields small{font-size:10px;line-height:1.7;color:#7c8979}@media(min-height:950px){.empty-score h2{font-size:42px}.empty-score{min-height:390px}.empty-score p{font-size:14px}.score-symbol{margin-bottom:20px}}@media(max-width:1100px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:27px 14px 14px}.brand{font-size:20px;gap:7px}.brand small{font-size:7px}.new-project{font-size:11px}.topbar{padding:22px}.topbar h1{font-size:18px}.viewbar{padding:0 16px}.draft-label{display:none}.transport{padding:12px 16px;gap:10px}.play-controls{gap:9px}.audio-mode button{padding:6px 8px;font-size:9px}.speed-control{gap:4px}.time-display{min-width:75px;font-size:10px}.speed-control{font-size:0}.project-item strong{max-width:125px}}@media(max-width:760px){.app-shell{height:auto;min-height:100dvh;display:flex;flex-direction:column}.sidebar{border:0;border-bottom:1px solid var(--line);padding:15px 18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.brand{margin:0;font-size:20px}.brand small{font-size:6px}.new-project{font-size:0;width:44px;height:44px;padding:0;justify-content:center}.new-project svg{width:22px}.library-heading,.search,.local-card,.help-button{display:none}.project-list{grid-column:1/-1;display:flex;overflow:auto;gap:8px;margin:0;min-height:0;max-height:70px}.project-item{width:auto;flex-shrink:0;padding:9px 12px;border:1px solid var(--line)}.project-item strong{max-width:160px}.library-empty{display:none}.workspace{min-height:calc(100dvh - 82px)}.topbar{height:95px;min-height:95px;padding:17px 18px;gap:8px}.topbar h1{font-size:16px;max-width:calc(100vw - 145px)}.topbar p{font-size:9px}.eyebrow{font-size:8px}.header-actions{gap:2px}.header-actions>.icon-btn{display:none}.export{width:44px;height:44px;padding:0}.export span,.export svg:last-child{display:none}.viewbar{padding:0 13px;height:55px;min-height:55px}.view-tabs{width:100%;justify-content:space-between;gap:0}.view-tabs button{font-size:10px;min-height:44px;padding:8px 9px}.sheet-panel{min-height:375px;max-height:600px}.empty-score{min-height:375px;padding:24px 16px}.empty-score h2{font-size:32px}.empty-score p{font-size:11px}.supported{font-size:8px}.piano-panel{min-height:260px}.roll-heading{padding:14px 18px}.roll-canvas{min-height:205px}.transport{height:auto;min-height:120px;padding:14px 16px;flex-wrap:wrap;gap:10px}.audio-mode{order:2;flex:1}.audio-mode button{flex:1;font-size:10px;min-height:36px}.play-controls{order:1;justify-content:center;width:100%}.speed-control{order:3}.speed-control select{min-height:44px}.play-button{width:44px;height:44px}.time-display{font-size:12px}.transport-icon{min-height:44px}.view-sheet .sheet-panel{min-height:65dvh;max-height:none}.view-roll .piano-panel{min-height:55dvh}.convert-dialog{padding:22px}.convert-dialog h2{font-size:25px}.convert-dialog .muted{font-size:11px}.input-tabs button{min-height:44px}.privacy{font-size:8px}.dropzone{padding:24px 12px}.options input,.options select,.link-fields input{height:44px}.score-render{padding:12px 6px}.help-panel{padding:14px 18px}.desktop-break{display:none}}@media print{body{background:#fff}.app-shell{display:block;height:auto;min-height:0}.sidebar,.topbar,.viewbar,.piano-panel,.transport,.zoom-controls,.help-panel,.banner,.convert-dialog{display:none!important}.workspace,.sheet-panel{display:block!important;overflow:visible;height:auto!important;max-height:none!important;min-height:0!important}.score-render{padding:0}#cursorImg-0{display:none}.score-render svg{max-width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.brand{min-height:44px}.brand small,.topbar p,.project-item small,.empty-score p,.empty-score>small,.supported,.supported span,.draft-label,.local-card p,.library-heading>span,.view-tabs button,.library-empty small,.convert-dialog .muted,.dropzone span,.dropzone small,.privacy,.link-fields small,.note{color:#637264}.roll-empty>small{color:#a1b3a9}.roll-empty>span{color:#a7bbb1}.audio-mode button{min-height:44px}.transport-icon{min-width:44px}.view-tabs button{min-height:44px}.zoom-controls,.zoom-controls button{height:44px;min-height:44px}.zoom-controls button{width:44px;min-width:44px}.search input{height:44px}.input-tabs button,.speed-control select,.export{min-height:44px}.eyebrow,.local-label,.help-button,.library-heading>span{color:#596c5b}.time-display>span{color:#c8e0d3}.sheet-title{font-family:Georgia,serif;font-size:28px;font-weight:400;text-align:center;margin:30px 24px 4px;overflow-wrap:anywhere}.score-render{padding-top:0}@media(max-width:760px){.sheet-title{font-size:21px;margin:25px 20px 4px}}.source-mode{display:flex;flex-direction:column;gap:8px;margin-top:18px;font-size:11px;font-weight:550}.source-mode select{min-height:44px;border:1px solid var(--line);border-radius:7px;padding:9px 10px;background:#fff;color:#42573f;font-size:12px}.source-mode small{font-weight:400;color:#637264;line-height:1.6}.arrangement-actions{display:flex;gap:12px;align-items:center}.arrange-button{min-height:40px;padding:8px 12px;border:1px solid #cbdcce;border-radius:7px;color:#21654d;font-size:11px}.time-display{min-width:105px}@media(max-width:1000px){.arrange-button{font-size:10px;padding:6px 8px}.arrangement-actions{gap:4px}}@media(max-width:760px){.viewbar{height:auto;min-height:55px;flex-wrap:wrap;padding-bottom:8px;padding-top:5px}.arrangement-actions{width:100%;justify-content:flex-end}.arrange-button{min-height:44px}.source-mode select{font-size:11px}}.difficulty-bar{padding:10px 29px;border-bottom:1px solid var(--line);background:#f8faf6}.difficulty-controls{display:flex;align-items:center;gap:14px}.difficulty-controls>strong{font-size:12px;font-weight:550}.difficulty-options{display:flex;gap:4px;padding:3px;background:#eaf0e7;border-radius:8px}.difficulty-options button{min-height:38px;padding:6px 15px;border-radius:6px;font-size:12px}.difficulty-options button.selected{background:#fff;color:var(--accent);box-shadow:0 1px 4px #173d2314}.difficulty-bar p{font-size:11px;color:#637264;margin:6px 0 0}.sheet-title small{display:block;font-family:inherit;font-size:13px;color:#637264;margin-top:8px}@media(max-width:760px){.difficulty-bar{padding:10px 16px}.difficulty-controls{gap:8px;flex-wrap:wrap}.difficulty-options{flex:1}.difficulty-options button{min-height:44px;flex:1;padding:6px 9px}.difficulty-bar p{line-height:1.6}}@media print{.difficulty-bar{display:none!important}}.sheet-learning-toggle{display:flex;justify-content:flex-end;padding:6px 20px 10px}.sheet-learning-toggle button{display:flex;align-items:center;gap:10px;min-height:38px;padding:8px 12px;background:#eaf3ed;color:#245a49;border-radius:8px;font-size:12px}.sheet-learning-toggle span{font-size:10px;color:#586e60}.score-with-guide{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}.score-with-guide.learning-enabled{grid-template-columns:minmax(0,1fr) 270px;gap:12px}.score-with-guide .score-render{min-width:0}.score-with-guide #sheet-reading-guide{position:sticky;top:10px;margin:0 12px 24px 0;max-height:350px;overflow:auto;border:1px solid #dbe5dc;border-radius:12px;background:#f7faf6}.sheet-guide{padding:15px}.sheet-guide header{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#244d3f}.sheet-guide header span{font-size:11px;color:#596e60}.guide-intro,.reading-hand p{font-size:11px;line-height:1.6;color:#607264}.reading-hand{border-left:3px solid #5dbda1;padding-left:10px;margin:14px 0}.reading-hand.left{border-color:#6da7da}.reading-hand h3{font-size:12px;margin:0 0 8px;color:#284d40}.reading-note{margin:9px 0}.reading-note>div{display:flex;justify-content:space-between;gap:6px;align-items:center}.reading-note strong{font-size:14px;font-weight:550}.reading-note b{font-size:12px;padding:3px 6px;border-radius:4px;background:#fff;color:#235947}.reading-note small,.reading-note>span{display:block;font-size:10px;line-height:1.5;color:#586d5f;margin-top:3px}.reading-basics{border-top:1px solid #dce7dc;padding-top:12px}.reading-basics summary{font-size:12px;cursor:pointer;line-height:1.6;color:#255c48;min-height:36px}.reading-basics dt{font-size:12px;font-weight:650;margin:14px 0 5px}.reading-basics dd,.reading-basics>p{font-size:11px;line-height:1.7;margin:0;color:#536958}.reading-basics>p{margin-top:15px;font-style:italic}@media(max-width:1050px){.score-with-guide.learning-enabled{grid-template-columns:minmax(0,1fr)}.score-with-guide #sheet-reading-guide{position:static;grid-row:1;margin:0 12px 15px;max-height:230px}.reading-hands{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sheet-learning-toggle{padding:5px 12px}.sheet-learning-toggle button{min-height:44px}.sheet-guide{padding:12px}.reading-basics summary{min-height:44px}}@media print{.sheet-learning-toggle,#sheet-reading-guide{display:none!important}.score-with-guide.learning-enabled{display:block}}.sheet-panel .sheet-title{font-size:23px;margin:12px 20px 2px}.sheet-panel .sheet-title small{margin-top:4px}.sheet-learning-toggle{padding-top:0;padding-bottom:5px}.reading-note strong small{display:inline;font-size:10px;font-weight:400}.sheet-panel:has(.learning-enabled) .zoom-controls{right:290px}@media(max-width:1050px){.sheet-panel:has(.learning-enabled) .zoom-controls{right:12px}.score-with-guide #sheet-reading-guide{max-height:210px}}.reading-hands{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.reading-hand{min-width:0;padding-left:7px;margin:9px 0}.reading-note strong{font-size:13px}.reading-note>div{flex-wrap:wrap}.score-with-guide.learning-enabled{grid-template-columns:minmax(0,1fr) 320px}.score-with-guide #sheet-reading-guide{max-height:270px}.sheet-panel:has(.learning-enabled) .zoom-controls{right:340px}@media(max-width:1050px){.score-with-guide.learning-enabled{grid-template-columns:minmax(0,1fr)}.score-with-guide #sheet-reading-guide{max-height:230px}.sheet-panel:has(.learning-enabled) .zoom-controls{right:12px}}@media print{.score-with-guide.learning-enabled{display:block}}.app-shell{height:100dvh;min-height:0;grid-template-columns:260px minmax(0,1fr);overflow:hidden}.app-shell.sidebar-collapsed{grid-template-columns:minmax(0,1fr)}.sidebar-collapsed .sidebar{display:none}.sidebar{min-height:0;overflow:hidden;padding:20px 14px 12px;display:flex;flex-direction:column}.sidebar .brand{margin-bottom:15px}.sidebar .new-project{min-height:42px;margin-bottom:12px}.sidebar-controls{flex-shrink:0;border-bottom:1px solid var(--line);margin-bottom:10px;padding-bottom:8px}.sidebar .viewbar{padding:0;height:auto;min-height:0;display:block;border:0}.sidebar .view-tabs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px}.sidebar .view-tabs button{padding:7px 3px;font-size:10px;display:flex;flex-direction:column;gap:4px;align-items:center;min-height:54px}.sidebar .arrangement-actions{margin-top:8px;justify-content:flex-start;flex-wrap:wrap}.sidebar .difficulty-bar{padding:10px 0 0;border:0;background:none}.sidebar .difficulty-controls{display:block}.sidebar .difficulty-controls>strong{font-size:11px}.sidebar .difficulty-options{display:flex;margin-top:7px;gap:2px}.sidebar .difficulty-options button{flex:1;padding:6px 4px;font-size:11px;white-space:nowrap}.sidebar .difficulty-bar p{font-size:10px;line-height:1.5;margin:6px 0 0}.sidebar .library-heading{margin:8px 0 10px;font-size:12px}.sidebar .search{margin-bottom:8px}.sidebar .project-list{flex:1;min-height:0;overflow:auto;margin:0 -4px;padding:0 4px}.project-row{display:flex;align-items:center;gap:2px;margin-bottom:4px;border-radius:8px}.project-row.active{background:#e6eee8}.project-row .project-item{flex:1;min-width:0;margin:0;padding:11px 6px 11px 8px;gap:8px}.project-row .project-item strong{max-width:none;font-size:12px}.project-row .project-item>span{min-width:0;flex:1}.delete-project{display:flex;align-items:center;justify-content:center;flex:0 0 30px;min-height:36px;border-radius:6px;color:#728077}.delete-project:hover:not(:disabled){color:#a7352a;background:#fae9e6}.delete-project:disabled{opacity:.3;cursor:wait}.sidebar .local-card{padding:10px;font-size:10px;margin-top:10px}.sidebar .local-card p,.sidebar .local-label{display:none}.sidebar .help-button{margin-top:8px;min-height:36px}.sidebar-backdrop{display:none}.workspace{min-height:0;height:100dvh;overflow:hidden}.topbar{height:66px;min-height:66px;padding:10px 18px;gap:12px}.topbar .eyebrow{display:none}.project-title{flex:1}.topbar h1{font-size:17px;margin:0 0 5px}.topbar p{margin:0;font-size:10px}.menu-toggle{flex-shrink:0}.score-roll-grid{flex:1;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);overflow:hidden}.score-roll-grid>.sheet-panel,.score-roll-grid>.piano-panel{min-height:0;max-height:none;overflow:hidden}.score-roll-grid>.sheet-panel{overflow:auto;overscroll-behavior:contain}.score-roll-grid .sheet-title{display:none}.view-sheet .score-roll-grid,.view-roll .score-roll-grid{grid-template-rows:minmax(0,1fr)}.view-sheet .score-roll-grid>.piano-panel,.view-roll .score-roll-grid>.sheet-panel{display:none}.score-roll-grid .roll-heading{padding:10px 20px;min-height:36px}.score-roll-grid .roll-canvas{min-height:0}.sheet-learning-toggle{padding:5px 14px}.sheet-learning-toggle button{min-height:32px;padding:5px 10px;font-size:11px}.score-with-guide #sheet-reading-guide{max-height:240px}.transport{height:76px;min-height:76px;padding:10px 18px;gap:14px}.volume-control{display:flex;align-items:center;gap:7px;font-size:10px}.volume-control input{width:95px;accent-color:#c7e4d1}.volume-control output{min-width:30px;font-variant-numeric:tabular-nums}.speed-control{white-space:nowrap}.delete-dialog{border:1px solid #dce4da;border-radius:16px;padding:24px;width:min(440px,calc(100vw - 32px));color:#263b31}.delete-dialog::backdrop{background:#152c2466}.delete-dialog h2{font-size:21px;margin:0 0 15px}.delete-dialog p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.delete-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.delete-actions button{padding:10px 17px;min-height:44px;border-radius:8px;background:#edf2eb}.delete-actions .danger{background:#ad382d;color:#fff}@media(max-width:1100px){.volume-control>span{display:none}.volume-control input{width:72px}.transport{gap:9px;padding:9px 12px}.play-controls{gap:10px}.audio-mode button{padding:6px 9px}}@media(max-width:760px){.app-shell{display:block;height:100dvh;min-height:0;overflow:hidden}.sidebar-open .sidebar{position:fixed;z-index:50;inset:0 auto 0 0;width:min(300px,85vw);height:100dvh;display:flex;padding:18px 14px;background:#f5f7f2;border-right:1px solid var(--line)}.sidebar-open .sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#14291e55;z-index:49}.sidebar .new-project{font-size:12px;width:100%;justify-content:flex-start;padding:10px 12px}.sidebar .library-heading,.sidebar .search,.sidebar .local-card,.sidebar .help-button{display:flex}.sidebar .project-list{display:block;max-height:none;flex:1;overflow:auto}.sidebar .project-item{width:auto;flex-shrink:1;border:0}.sidebar .library-empty{display:block}.workspace{height:100dvh;min-height:0}.topbar{height:66px;min-height:66px;padding:8px 10px;gap:7px}.topbar h1{font-size:14px;max-width:calc(100vw - 112px)}.topbar p{font-size:9px}.header-actions>.icon-btn{display:none}.score-roll-grid{min-height:0;flex:1}.score-roll-grid>.sheet-panel,.view-sheet .score-roll-grid>.sheet-panel,.view-roll .score-roll-grid>.piano-panel{min-height:0;max-height:none}.transport{height:108px;min-height:108px;display:flex;flex-wrap:wrap;gap:5px;padding:6px 9px}.play-controls{order:0;width:auto;flex:1;justify-content:flex-start;gap:5px}.audio-mode{order:2;flex:0 0 auto}.audio-mode button{font-size:9px;padding:5px 7px;min-height:34px}.volume-control{order:3;margin-left:auto}.volume-control input{width:70px}.speed-control{order:1;font-size:9px}.speed-control select{min-height:36px;padding:5px}.time-display{font-size:10px}.play-button{height:36px;width:36px}.transport-icon{min-width:30px;min-height:36px}.score-with-guide #sheet-reading-guide{max-height:130px}.sheet-learning-toggle span{display:none}.roll-heading{font-size:8px}.roll-heading>div{font-size:8px}}@media print{.app-shell,.workspace,.score-roll-grid{display:block!important;height:auto!important;overflow:visible!important}.score-roll-grid>.sheet-panel{height:auto!important;overflow:visible!important;max-height:none!important}.score-roll-grid .sheet-title{display:block}.sidebar-backdrop{display:none!important}}.sidebar-close{display:none}@media(max-width:760px){.sidebar-close{display:flex;position:absolute;right:5px;top:8px;min-width:34px;width:34px}.sidebar .brand{padding-right:24px}.sidebar .brand small{font-size:6px}}.conversion-progress{width:min(440px,100%);display:flex;flex-direction:column;align-items:center;gap:12px}.conversion-progress h2{font-size:28px;margin:0}.conversion-progress p{margin:0}.conversion-progress small{line-height:1.6;color:var(--muted)}.conversion-timing{display:flex;justify-content:space-between;align-items:center;width:100%;font-size:13px;background:#f3f6ef;border-radius:10px;padding:12px 16px}.conversion-timing strong{font-size:22px;font-variant-numeric:tabular-nums;color:var(--accent)}.conversion-track{width:100%;height:10px;background:#e7ede3;border-radius:10px;overflow:hidden}.conversion-track>span{display:block;height:100%;background:var(--accent);border-radius:10px;transition:width .4s ease}@media(prefers-reduced-motion:reduce){.conversion-track>span{transition:none}}.login-page{min-height:100dvh;background:#f4f6ef;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.login-card{width:min(560px,100%);padding:48px 32px;background:#fff;border:1px solid var(--line);border-radius:24px;text-align:center;box-shadow:0 20px 70px #244d3710}.login-card>.brand-icon{margin:0 auto 22px;width:62px;height:62px}.login-card h1{font-family:Georgia,serif;font-size:36px;font-weight:400;line-height:1.25;color:#25473b}.login-card h1 em{color:var(--accent)}.login-card p{font-size:14px;line-height:1.8;color:var(--muted)}.login-card small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:24px}.google-login-button{display:flex;justify-content:center;margin:28px 0}.login-card .quality-disclaimer{background:#f3f6ef;border-radius:12px;padding:14px;font-size:12px;margin-top:30px}.logout-button{margin-top:8px;text-decoration:underline;font-size:12px;padding:4px 0}.local-card p{overflow-wrap:anywhere}@media(max-width:760px){.sidebar .local-card:has(.logout-button){display:block;grid-column:1/-1}.login-card{padding:30px 20px}.login-card h1{font-size:29px}}
