:root{--bg:#f7f8fa;--ink:#282b38;--muted:#797d8b;--line:#e7e8ed;--pink:#dc8c9f;--pink-soft:#fbf0f3;--yellow:#d8c87d;--blue:#85b7cf;--font:'DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px var(--font);-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button{transition:background .18s,color .18s,box-shadow .18s,transform .18s}button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #bf7695;outline-offset:4px}button svg{flex-shrink:0}button:hover:not(:disabled){filter:brightness(.98)}[hidden]{display:none!important}.pink{color:var(--pink)}.header{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 4.2%;gap:68px}.brand{text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-size:35px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:13px}.brand-mark{display:flex;gap:4px;transform:rotate(-21deg)}.brand-mark i{width:7px;height:26px;border:2px solid #c48498;border-radius:10px}.brand-mark i:nth-child(2){height:34px;margin-top:-4px;background:#df9aad;border-color:#df9aad}.brand-mark i:nth-child(3){border-color:#d8c87d}.header nav{display:flex;gap:35px;height:100%;align-items:center;font-size:14px}.nav-active{height:100%;display:flex;align-items:center;position:relative;font-weight:650}.nav-active:after{content:'';position:absolute;bottom:0;width:100%;height:3px;background:var(--pink)}.header-actions{margin-left:auto;display:flex;gap:12px}.button{border-radius:9px;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:600;border:1px solid transparent;min-height:42px}.secondary{background:#fff;border-color:#e3e4e9;color:var(--ink)}.dark{background:var(--ink);color:#fff}.text-button{background:none;border:0;padding:8px 0;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:14px}.help-symbol{border:1px solid #a2a5b0;border-radius:50%;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;font-size:11px}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle}.icon-button{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:0;color:#777b89;border-radius:6px;padding:6px}.icon-button:hover:not(:disabled){background:#f0f0f4;color:var(--ink)}main{max-width:1510px;margin:auto;padding:42px 4.2% 0}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:700;color:#9395a1}.intro .eyebrow{color:#987381;display:flex;align-items:center;gap:8px;font-size:11px}.intro .eyebrow>span{height:6px;width:6px;background:var(--pink);border-radius:50%}h1{font:750 clamp(30px,3vw,42px)/1.25 Manrope,sans-serif;letter-spacing:-1.6px;margin:12px 0 10px}.intro p{color:var(--muted);font-size:15px;margin:0}.intro-note{display:flex;gap:16px;align-items:center;font-size:13px;color:#8b8d99;line-height:1.8;padding-right:8px}.intro-note strong{font-weight:500;color:#636775}.small-diagram{font-size:18px;line-height:1.2;color:#bc8d9c;border-left:1px solid var(--line);padding-left:30px}.workspace{display:grid;grid-template-columns:304px minmax(0,1fr);gap:28px;align-items:start}.composer{background:#fff;border:1px solid var(--line);border-radius:14px;padding:19px 20px 15px;box-shadow:0 3px 8px #25283403}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:5px}h2{font-size:16px;letter-spacing:-.3px;margin:0;font-weight:650}.panel-subtitle{font-size:13px;color:var(--muted);margin:2px 0 19px}.key-stage{background:#282c3a;border-radius:10px;padding:16px 14px 13px;position:relative;overflow:hidden}.stage-tag{font-size:9px;letter-spacing:1.8px;color:#9397aa;font-weight:600;text-align:center}.key-stage:before{content:'';width:180px;height:250px;position:absolute;top:45px;left:40px;border-radius:50%;background:radial-gradient(ellipse,#ffffff06,transparent 70%);pointer-events:none}#key-editor{height:308px;display:flex;justify-content:center;margin-top:9px}#key-editor svg{height:100%;width:100%;overflow:visible}.interactive-key{cursor:pointer;outline:none}.interactive-key .key-shape{transition:fill .18s,stroke-width .18s}.interactive-key:hover .key-shape{stroke-width:3.5;filter:brightness(1.2)}.interactive-key:focus-visible .key-shape{stroke:#fff;stroke-width:3.5}.key-hit{fill:transparent;stroke:none}.key-label{font-family:var(--font);font-size:9px;fill:#a3a7b7;pointer-events:none}.key-group-label{font-size:8px;letter-spacing:1.2px;fill:#73798d;font-family:var(--font)}.stage-legend{display:flex;justify-content:center;gap:20px;color:#b6b9c7;font-size:11px;margin-top:8px}.stage-legend span{display:flex;align-items:center;gap:6px}.stage-legend i{width:9px;height:9px;border:1.5px solid #c8cbd4;border-radius:50%}.stage-legend .filled{background:#e3a0b0;border-color:#e3a0b0}.control-section{margin-top:23px}h3{font-size:13px;margin:0;font-weight:650}h3>span{float:right;color:#a2a4b0;font-size:9px;letter-spacing:1px;font-weight:500}.duration-picker{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:11px}.duration-picker button{padding:8px 0 7px;background:#fff;border:1px solid #e8e9ee;border-radius:7px;color:#858794;display:flex;flex-direction:column;align-items:center;gap:4px}.duration-picker strong{font-size:10px;font-weight:500}.duration-picker small{font-size:10px}.duration-symbol{font-size:7px;color:#9498a6;height:10px;display:flex;align-items:center}.duration-picker button.active{border-color:#da96aa;background:var(--pink-soft);color:#9c586d}.duration-picker button.active .duration-symbol{color:#b16b82}.repeat-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:22px 0}.repeat-row p{font-size:10px;color:#9598a4;margin:5px 0 0}.stepper{border:1px solid var(--line);display:flex;align-items:center;border-radius:7px;height:34px}.stepper button{border:0;background:none;width:28px;font-size:17px;color:#797d8b;height:100%}.stepper output{font-size:13px;font-weight:600;width:20px;text-align:center}.add-button{width:100%;background:#e5a0b1;color:#3e2d36;font-size:13px;padding:12px 5px}.keyboard-hint{font-size:9px;color:#989ba7;text-align:center;margin:12px -7px 0;line-height:1.8}kbd{font:inherit;border:1px solid #e4e5ec;border-radius:3px;padding:1px 3px;background:#fafafb}.cancel-edit{display:block;margin:9px auto 0;background:transparent;border:0;color:#986b7d;font-size:12px}.score-area{min-width:0}.score-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:37px;margin-bottom:13px;gap:8px}.score-toolbar-left{display:flex;align-items:center;gap:9px}.score-toolbar strong{font-size:13px;font-weight:600}.sheet-indicator{color:#777d8f}.save-status{font-size:10px;color:#9297a3;border-left:1px solid #dfe2e7;padding-left:10px;margin-left:2px}.tool-buttons{display:flex;align-items:center;gap:4px}.tool-buttons .text-button{font-size:12px;color:#747988;padding:5px 8px}.divider{height:17px;width:1px;background:#dfe2e7;margin:0 5px}.paper{background:white;border:1px solid #e4e6ec;border-radius:3px;min-height:515px;padding:31px 33px 22px;box-shadow:0 6px 20px #2b314405;position:relative}.paper:after{content:'';position:absolute;left:5px;right:5px;bottom:-5px;height:4px;background:white;border:1px solid #e6e8ec;border-top:0;z-index:-1}.paper-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.paper .eyebrow{font-size:9px;letter-spacing:2px}.example-badge{font-size:8px;letter-spacing:.8px;border-radius:4px;background:#f5f4f7;color:#92909b;padding:5px 7px;white-space:nowrap}.score-title{font:700 27px/1.4 Manrope,sans-serif;letter-spacing:-1px;color:#303340;border:0;border-radius:3px;display:block;width:100%;padding:0;background:transparent;margin-top:17px}.score-title:hover,.score-meta>input:hover{background:#faf9fb}.score-meta{display:flex;align-items:center;gap:10px;margin-top:4px}.score-meta>input{font-size:12px;color:#9395a2;background:transparent;border:0;padding:3px 0;flex:1;min-width:0}.tempo-control{display:flex;gap:4px;align-items:center;color:#9395a2;font-size:10px}.tempo-control .icon{width:15px;height:15px;margin-right:2px}.tempo-control input{width:32px;appearance:textfield;border:0;background:none;color:#717581;font-size:12px;text-align:right;padding:0}.tempo-control input::-webkit-inner-spin-button{appearance:none}.paper-rule{height:1px;background:#ebecf0;margin:21px 0 23px}.score-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:15px 7px;align-items:start;min-height:258px}.note-card{border:1px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;position:relative;padding:12px 3px 14px;background:none;color:var(--ink);width:100%;min-width:0}.note-card:hover{background:#faf7f9;border-color:#efdee5}.note-card.selected{border-color:#d798ac;background:#fcf3f6}.note-card.playing{border-color:#b7748b;background:#fae6ed;box-shadow:0 0 0 3px #e8b4c335}.note-index{font-size:9px;letter-spacing:1px;color:#a4a7b1;margin-bottom:13px}.note-card svg{width:43px;height:161px;flex-shrink:0}.note-duration{display:flex;flex-direction:column;align-items:center;gap:7px;margin-top:17px;font-size:9px;color:#8e929e;white-space:nowrap}.duration-line{height:3px;border-radius:3px;background:#a6a9b6;display:block;max-width:100%}.note-card.selected .duration-line{background:#c57e96}.repeat-badge{font-size:10px;position:absolute;right:2px;top:24px;background:#f0eef4;color:#817288;border-radius:4px;padding:2px 3px;font-weight:600}.note-card.selected .repeat-badge{background:#f3dce4}.append-card{border:1px dashed #e3e1e9;border-radius:8px;min-height:218px;width:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:transparent;color:#b2acb8;gap:10px;margin-top:12px;font-size:10px}.append-card .icon{width:22px;height:22px}.append-card:hover{background:#fcf6f9;border-color:#d79aaf;color:#a97387}.paper-bottom{border-top:1px solid #f0f0f4;margin-top:18px;padding-top:16px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#999da8}.paper-signature{font-style:italic;color:#b0a1ac;font-family:Georgia,serif;font-size:12px}.selection-tools{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;margin:-10px 0 10px;background:#fbf0f4;border-radius:6px;color:#a16b80;font-size:11px}.selection-tools>div{display:flex;gap:2px}.selection-tools .icon-button{height:25px;width:27px;padding:5px;color:#9b7284}.delete-button:hover{color:#a13352!important}.playback-bar{display:flex;align-items:center;gap:16px;margin-top:21px;background:#f0f1f5;border:1px solid #e8e9f0;padding:9px 14px;border-radius:9px}.play-button{border:0;background:#fff;color:#5d6171;display:inline-flex;align-items:center;gap:8px;border-radius:6px;padding:9px 11px;font-size:11px;font-weight:550;white-space:nowrap;box-shadow:0 1px 3px #25283407}.play-button .icon{width:13px;height:13px;color:#997089}.playback-progress{height:3px;border-radius:3px;background:#dfe1e9;flex:1;overflow:hidden}.playback-progress>div{height:100%;width:0;background:#cb8ba1;transition:width .1s linear}#total-time{font-size:10px;color:#7c8192;font-variant-numeric:tabular-nums;white-space:nowrap}.visual-only{font-size:9px;color:#a0a4b1;border-left:1px solid #dcdfe7;padding-left:13px;white-space:nowrap}.bottom-guidance{display:flex;align-items:center;gap:14px;padding:25px 1px}.tip-icon{height:35px;width:35px;background:#eeeaf4;border-radius:50%;color:#b19abb;display:flex;align-items:center;justify-content:center;flex-shrink:0}.bottom-guidance strong{font-size:12px;font-weight:550;color:#6b6e7c}.bottom-guidance p{font-size:11px;color:#9a9daa;line-height:1.7;margin:5px 0 0}.bottom-guidance>.text-button{margin-left:auto;white-space:nowrap;font-size:11px;color:#9993a3}.bottom-guidance .help-symbol{width:14px;height:14px;font-size:10px}footer{border-top:1px solid #e7e8ed;display:flex;justify-content:space-between;padding:20px 0;margin-top:35px;font-size:13px;font-weight:650;color:#8b8e9b}footer>span:last-child{font-size:10px;font-weight:400;color:#a3a6b1}.footer-description{font-size:10px;font-weight:400;margin-left:10px;color:#a3a6b1}.empty-state{grid-column:1/-1;width:100%;padding:35px 10px 15px;text-align:center;color:#9a91a0}.empty-state .empty-dots{font-size:33px;color:#dca0b3;letter-spacing:8px;line-height:1.5}.empty-state h3{font-family:Manrope,sans-serif;font-size:19px;color:#777180;margin:18px 0 8px}.empty-state p{font-size:13px;line-height:1.7}.empty-state button{margin-top:8px;color:#a87489}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--ink);color:white;padding:13px 23px;border-radius:9px;font-size:13px;box-shadow:0 6px 30px #20233022;transition:.2s;z-index:20;max-width:90%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #e7e4eb;border-radius:18px;padding:29px;width:min(510px,calc(100% - 32px));color:var(--ink);box-shadow:0 25px 100px #151b3330}dialog::backdrop{background:#25293666;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.dialog-header h2{font:750 24px Manrope,sans-serif;letter-spacing:-.7px}dialog>p{font-size:14px;color:#85818d;line-height:1.8}.guide-steps{padding-left:24px;margin:24px 0}.guide-steps li{padding-left:7px;margin:18px 0;font-size:14px}.guide-steps p{color:#8a8591;font-size:13px;line-height:1.8;margin:5px 0}.guide-note{padding:15px;background:#fbf1f4;border-radius:8px;font-size:12px;line-height:1.8;color:#987083;margin-bottom:23px}.export-option{width:100%;display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #e7e4ed;border-radius:9px;padding:18px;background:white;margin-top:12px;color:#817188}.export-option strong{display:block;font-size:14px;font-weight:600;color:#4b4352}.export-option small{display:block;font-size:12px;color:#99929e;margin-top:6px}.export-option:hover{background:#fcf4f7}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}
.panel-subtitle{font-size:14px}.stage-legend{font-size:12px}h3{font-size:14px}.duration-picker strong,.duration-picker small{font-size:12px}.repeat-row p{font-size:11px}.add-button{font-size:14px}.score-toolbar strong{font-size:14px}.score-meta>input{font-size:14px}.tempo-control,.tempo-control input{font-size:13px}.tempo-control input{width:38px}.note-card svg{height:190px;width:51px}.note-index{font-size:12px}.note-duration{font-size:12px}.repeat-badge{font-size:12px;right:0}.paper-bottom{font-size:12px}.play-button{font-size:14px}#total-time{font-size:12px}.bottom-guidance strong{font-size:14px}.bottom-guidance p{font-size:13px}.append-card{min-height:252px;font-size:12px}
@media(min-width:1450px){.paper{padding:36px 43px;min-height:550px}.note-card svg{height:200px;width:54px}.score-grid{gap:18px}.note-card{padding-bottom:18px}.note-duration{margin-top:20px}.append-card{min-height:263px}}
@media(max-width:1160px){.header{gap:40px}.workspace{grid-template-columns:280px minmax(0,1fr);gap:22px}.composer{padding:16px}.paper{padding:26px 22px}.score-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.save-status{display:none}.intro-note{display:none}.bottom-guidance>.text-button{display:none}.visual-only{display:none}.repeat-row p{font-size:9px}}
@media(max-width:850px){main{padding:30px 24px 0}.header{padding:0 24px;height:76px;gap:30px}.header nav{gap:24px}.header-actions .secondary{display:none}.workspace{grid-template-columns:250px minmax(0,1fr);gap:18px}.composer{padding:14px}.panel-heading h2{font-size:14px}.panel-subtitle{font-size:11px}.score-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.paper-top .example-badge{display:none}.paper{padding:24px 18px}.score-title{font-size:24px}.score-meta>input{font-size:10px}.tool-buttons .text-button{font-size:0;gap:0}.score-toolbar strong{font-size:12px}.playback-bar{gap:9px;padding:8px}.play-button{font-size:10px;padding:9px 8px}.paper-signature{font-size:10px}.keyboard-hint{font-size:8px}.repeat-row p{display:none}.repeat-row{margin:21px 0}.score-grid{gap:12px 3px}}
@media(max-width:650px){.header{height:70px;padding:0 18px;gap:0}.brand{font-size:31px}.brand-mark i{height:22px;width:6px}.brand-mark i:nth-child(2){height:30px}.header nav{margin-left:auto;margin-right:18px}.nav-active{display:none!important}.header nav .text-button{font-size:0;gap:0}.header nav .help-symbol{font-size:12px;width:21px;height:21px}.header-actions .button{font-size:12px;padding:9px 13px;min-height:37px}main{padding:28px 18px 0}.intro{margin-bottom:25px}h1{font-size:30px;letter-spacing:-1.3px}.intro p{font-size:13px;max-width:300px;line-height:1.7}.workspace{grid-template-columns:1fr;gap:28px}.composer{padding:18px;display:grid;grid-template-columns:125px minmax(0,1fr);gap:0 20px}.panel-heading,.panel-subtitle{grid-column:1/-1}.panel-heading h2{font-size:16px}.panel-subtitle{font-size:12px;margin-bottom:17px}.key-stage{grid-column:1;grid-row:3/7;padding:13px 3px 10px}.stage-tag{font-size:7px;letter-spacing:1px}#key-editor{height:240px;margin-top:10px}.stage-legend{gap:8px;font-size:7px;flex-direction:column;align-items:center}.stage-legend i{height:7px;width:7px}.control-section{grid-column:2;grid-row:3;margin-top:6px}.control-section h3{font-size:12px}h3>span{font-size:8px}.duration-picker{grid-template-columns:repeat(2,1fr);gap:7px}.duration-picker button{padding:8px}.duration-picker strong,.duration-picker small{font-size:10px}.repeat-row{grid-column:2;grid-row:4;display:block;margin:18px 0}.stepper{margin-top:10px;width:100%;justify-content:space-between}.repeat-row h3{font-size:12px}.add-button{grid-column:2;grid-row:5;align-self:start;font-size:12px;min-height:47px;line-height:1.5;padding:8px;gap:5px}.add-button .icon{width:14px;flex-shrink:0}.cancel-edit{grid-column:2;grid-row:6;font-size:10px;margin:7px 0 0}.keyboard-hint{grid-column:1/-1;font-size:10px;margin-top:16px}.score-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px 4px}.paper{padding:24px 18px 20px;min-height:400px}.score-title{font-size:27px}.score-meta>input{font-size:11px}.note-card svg{height:148px;width:39px}.note-card{padding:10px 2px}.note-duration{font-size:8px}.note-index{font-size:8px}.repeat-badge{top:21px;font-size:8px;right:0}.append-card{min-height:205px}.paper-signature{font-size:11px}.score-toolbar strong{font-size:13px}.tool-buttons .text-button{font-size:11px;gap:3px}.save-status{display:none}.playback-bar{padding:10px;gap:13px}.play-button{font-size:11px}.bottom-guidance{padding:22px 0}.bottom-guidance p{font-size:11px}.bottom-guidance strong{font-size:12px}footer{margin-top:10px}.footer-description{font-size:9px;margin-left:5px}footer>span:last-child{display:none}.score-toolbar-left{gap:5px}.score-toolbar .sheet-indicator .icon{width:15px}.tool-buttons .icon-button{width:28px}}
@media(max-width:380px){.composer{grid-template-columns:113px minmax(0,1fr);gap:0 15px}.score-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.duration-picker strong{font-size:9px}.duration-picker button{padding:6px}.paper-signature{font-size:9px}.header nav{margin-right:14px}}
@media(max-width:850px){.header-actions .secondary{display:inline-flex;font-size:0;padding:9px;min-width:37px}.header-actions .secondary .icon{width:17px;height:17px}.header-actions{gap:8px}}
@media(max-width:380px){.header{padding:0 14px}.brand{font-size:27px;gap:9px}.brand-mark{gap:3px}.header nav{margin-right:8px}.header-actions .button{padding:9px}.header-actions .secondary{font-size:0}}
.key-actions{display:flex;gap:7px;margin:-5px 0 15px}.key-actions button{flex:1;min-width:0;min-height:38px;border:1px solid #eadde4;border-radius:7px;background:#fcf5f8;color:#926579;padding:7px 5px;font-size:12px;line-height:1.4}.key-actions button:hover{background:#f6e7ee}.collection-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.collection-actions .button{font-size:14px}.library-save{background:#f5e7ee;color:#80576b;border-color:#ead5df}.library-count{display:inline-flex;align-items:center;justify-content:center;background:#f2eef5;border-radius:5px;color:#8d758b;font-size:12px;padding:2px 6px;min-width:22px}.library-dialog-toolbar{display:flex;align-items:center;gap:10px;margin:20px 0}.library-dialog-toolbar input{width:100%;min-width:0;flex:1;padding:11px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px;background:#faf9fc;color:var(--ink)}.library-dialog-toolbar .button{white-space:nowrap;font-size:13px}#library-dialog{width:min(710px,calc(100% - 32px));max-height:85vh}#library-list{display:grid;gap:12px}.library-item{border:1px solid #e8e3eb;border-radius:12px;padding:18px;display:flex;gap:20px;align-items:center}.library-preview{display:flex;gap:8px;background:#faf6f8;border-radius:8px;min-width:115px;width:115px;height:134px;align-items:center;justify-content:center;padding:12px;flex-shrink:0}.library-preview svg{height:105px;width:24px}.library-preview>.icon{height:28px;width:28px;color:#b795a8}.library-item-content{min-width:0;flex:1}.library-item h3{font-size:17px;overflow-wrap:anywhere;line-height:1.4}.library-item p{font-size:14px;color:#81818f;margin:7px 0}.library-item time{font-size:12px;color:#9b94a1}.library-item-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}.library-item-actions .button{font-size:14px;min-height:38px;padding:8px 12px}.library-item-actions .icon-button{height:38px;width:38px;color:#a3788b}.library-active{display:inline-block;font-size:12px;color:#a4728a;margin-top:5px}.library-empty{text-align:center;padding:30px 16px;color:#9c8196}.library-empty>.icon{height:32px;width:32px;margin-bottom:15px}.library-empty h3{font-size:17px}.library-empty p,.library-error{font-size:14px;line-height:1.8}.library-error{color:#a3788b}.toast{z-index:30}
@media(max-width:1160px){.collection-actions .button{font-size:13px;padding:10px}.collection-actions{gap:8px}}
@media(max-width:850px) and (min-width:651px){.key-actions{flex-direction:column}.collection-actions{align-items:stretch}.collection-actions .button{width:100%}}
@media(max-width:650px){.key-actions{grid-column:1/-1;grid-row:3;margin:0 0 16px}.key-actions button{font-size:13px;min-height:42px}.key-stage{grid-row:4/8}.control-section{grid-row:4}.repeat-row{grid-row:5}.add-button{grid-row:6}.cancel-edit{grid-row:7}.collection-actions .button{font-size:13px}.collection-actions{margin-bottom:15px}.library-save{flex:1}.library-dialog-toolbar{flex-wrap:wrap}.library-dialog-toolbar input{flex-basis:100%}.library-dialog-toolbar .button{width:100%}#library-dialog{padding:22px}.library-item{gap:13px;padding:13px}.library-preview{width:64px;min-width:64px;gap:3px;padding:8px;height:116px}.library-preview svg{width:18px;height:90px}.library-preview svg:nth-child(3){display:none}.library-item h3{font-size:16px}.library-item-actions{gap:4px}.library-item-actions .button{font-size:13px;padding:8px}.library-item p{font-size:13px}}
@media(max-width:400px){.collection-actions .button{width:100%}.library-item{align-items:flex-start}.library-preview{width:43px;min-width:43px}.library-preview svg:nth-child(2){display:none}.library-item-actions .button{font-size:12px}.key-actions button{font-size:12px}}
@media print{.collection-actions{display:none!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:650px){.brand{font-size:27px;gap:7px;letter-spacing:-1.5px;flex-shrink:0}.header nav{margin-right:10px}.header-actions{gap:6px}.header-actions #export-button{font-size:0;gap:0;padding:9px;min-width:37px}.header-actions #export-button .icon{width:17px;height:17px}}
@media(max-width:380px){.header{padding:0 12px}.brand{font-size:24px;gap:5px}.header nav{margin-right:8px}}
@media print{@page{margin:16mm}body{background:white}.header,.intro,.composer,.score-toolbar,.playback-bar,.bottom-guidance,footer,.selection-tools,.append-card,.toast,dialog,.example-badge{display:none!important}main{padding:0;max-width:none}.workspace{display:block}.paper{box-shadow:none;border:0;padding:0;min-height:0}.paper:after{display:none}.score-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:24px 10px;min-height:0}.note-card{break-inside:avoid;border:0!important;background:transparent!important;box-shadow:none!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.note-card svg{height:172px;width:46px}.score-title{font-size:28px}.paper-top .eyebrow{font-size:10px}.score-meta input{color:#666}.paper-rule{margin:20px 0}.paper-bottom{margin-top:25px}.tempo-control input{width:34px}.score-meta>input{font-size:13px}.note-index{font-size:10px}.note-duration{font-size:10px}.repeat-badge{background:#eee!important}.duration-line{background:#666!important}.paper{overflow:visible}}
