:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fbfaf7;--fg:#1d1b18;--muted:#6b665e;font-family:system-ui,Noto Sans KR,sans-serif}*{box-sizing:border-box}body{background:var(--bg);color:var(--fg);margin:0}.top{border-bottom:1px solid #e4e0d8;padding:12px 16px}.top h1{margin:0;font-size:1.15rem}.top small{color:var(--muted);margin-left:.4em;font-weight:400}main{padding:16px}.score{background:#fff;min-height:200px;overflow-x:auto}:root{--ink:#1d1b18;--muted:#6b665e;--soft:#4a463f;--line:#e4e0d8;--edge:#d8d2c4;--paper:#fff;--desk:#dedad2;--tint:#f3f1ec;--accent:#0a5bdb;--accent-bg:#eef3fd}html,body{height:100%}body{background:var(--desk);color:var(--ink);margin:0;font-family:Noto Sans KR,system-ui,sans-serif}.sr{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}button{font:inherit;color:inherit}.app{grid-template-rows:auto auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr);height:100dvh;display:grid;overflow:hidden}.appbar{grid-row:1}.toolbar{grid-row:2}.workspace{grid-row:3}.status{grid-row:4}.dock{grid-row:5}.appbar{background:var(--paper);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 14px;padding:8px 16px;display:flex}.brand{align-items:center;gap:8px;display:flex}.brand .logo{margin:0;line-height:0}.brand .logo img{width:auto;height:36px;display:block}.title{flex:220px;min-width:0;max-width:520px;display:flex}.title input{min-width:0;font:inherit;color:var(--ink);background:#f7f5f0;border:1px solid #0000;border-radius:8px;flex:1;padding:6px 10px;font-size:15px;font-weight:500}.title input:focus{border-color:var(--edge);background:#fff;outline:none}.save-chip{color:#2e6b3a;white-space:nowrap;background:#eaf4ec;border-radius:999px;padding:3px 10px;font-size:12px}.appbar-actions{gap:8px;margin-left:auto;display:flex}.appbar-actions>button,.appbar-actions .menu-wrap>button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:38px;padding:0 14px}.appbar-actions .primary{background:var(--ink);color:#fff;border-color:var(--ink)}.appbar-actions button:disabled{opacity:.45;cursor:default}.menu-wrap{position:relative}.popover{z-index:20;box-sizing:border-box;border:1px solid var(--edge);background:#fff;border-radius:12px;flex-direction:column;gap:14px;width:300px;padding:16px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 30px #1d1b1829}.popover[hidden]{display:none}.popover.menu{gap:2px;width:260px;padding:8px}.popover.menu>button,.popover.menu>label{text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 10px;font-size:14px;display:flex}.popover.menu>button:hover,.popover.menu>label:hover{background:var(--tint)}.file-btn{position:relative}.file-btn input{opacity:0;cursor:pointer;position:absolute;inset:0}.menu-select select{font:inherit;max-width:140px;margin-left:auto;font-size:13px}.popover h2{margin:0;font-size:15px}.popover .field{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.popover select,.popover input[type=number]{font:inherit;border:1px solid var(--edge);min-height:36px;color:var(--ink);box-sizing:border-box;background:#fff;border-radius:8px;width:100%;padding:0 8px;font-size:14px}.choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.choice button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;min-height:46px;line-height:1.2;display:flex}.choice button small{color:var(--muted);font-size:11px}.choice button[aria-checked=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.choice button[aria-checked=true] small{color:var(--accent)}.row2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.toolbar{background:var(--paper);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:6px 8px;padding:6px 12px;display:flex}.seg{background:var(--tint);border-radius:10px;gap:2px;padding:3px;display:flex}.seg[hidden]{display:none}.seg button{cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;min-width:38px;height:38px;padding:0 6px;font-size:15px;display:flex}.seg button:hover{background:#e8e5de}.seg button[aria-pressed=true]{background:var(--ink);color:#fff}.seg button:disabled{opacity:.35;cursor:default}.line-len>div:first-child{flex-wrap:wrap}.line-len strong{white-space:nowrap}.line-len .seg output{font-variant-numeric:tabular-nums;justify-content:center;align-items:center;min-width:32px;font-weight:700;display:flex}.toolbar-end{align-items:center;gap:4px;margin-left:auto;display:flex}.paper-btn{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:6px;min-height:36px;padding:0 9px;font-size:14px;display:inline-flex}.paper-btn[aria-expanded=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.ico{display:inline-flex}.zoom{border:1px solid var(--edge);background:#fff;border-radius:8px;align-items:center;display:flex}.zoom button{cursor:pointer;background:0 0;border:0;min-width:30px;height:34px;font-size:15px}#zoom-label{color:var(--soft);min-width:44px;font-size:12px}.round{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:50%;width:34px;height:34px;font-weight:700}.workspace{min-width:0;min-height:0;display:flex}.desk{background:var(--desk);outline:none;flex:1;min-width:0;overflow:auto}.pages{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;box-sizing:border-box;flex-direction:column;align-items:center;gap:20px;width:max-content;min-width:100%;padding:24px;display:flex}.page{background:var(--paper);flex:none;box-shadow:0 1px 3px #1d1b182e,0 12px 32px #1d1b181a}.page svg{display:block}.page{position:relative}.ghost{pointer-events:none;width:0;height:0;position:absolute}.ghost[hidden]{display:none}.ghost .head{left:0;top:calc(var(--sp) * -.5);width:calc(var(--sp) * 1.18);height:var(--sp);opacity:.35;background:#0b68ff;border-radius:50%;position:absolute;transform:rotate(-20deg)}.ghost .ledger{left:calc(var(--sp) * -.35);width:calc(var(--sp) * 1.9);height:max(1px, calc(var(--sp) * .13));margin-top:calc(var(--sp) * -.06);opacity:.45;background:#0b68ff;position:absolute}@media print{.ghost{display:none!important}}.page svg [data-ref]{cursor:pointer}.sidebar .side-tabs{z-index:1;background:var(--tint);border-bottom:1px solid var(--edge);align-items:flex-end;gap:4px;margin:-18px -18px 0;padding:12px 12px 0;display:flex;position:sticky;top:-18px}.sidebar .side-tabs button{height:38px;color:var(--soft);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:0;border-radius:10px 10px 0 0;flex:1;margin-bottom:-1px;padding:0 8px;font-size:14px}.sidebar .side-tabs button:hover{color:var(--ink);background:#e8e5de}.sidebar .side-tabs button[aria-selected=true]{background:var(--paper);border-color:var(--edge);color:var(--ink);box-shadow:inset 0 3px 0 var(--accent);font-weight:700}.sidebar .side-tabs button small{opacity:.7;margin-left:4px;font-size:12px;font-weight:400}.sidebar .side-panel{flex-direction:column;gap:20px;margin-top:-2px;display:flex}.sidebar .side-panel>.measure{border-top:0;padding-top:0}.sidebar{background:var(--paper);border-left:1px solid var(--line);box-sizing:border-box;flex-direction:column;flex:none;gap:20px;width:300px;padding:18px 18px 28px;display:flex;overflow:auto}:is(.sidebar,.note-sheet) section{flex-direction:column;gap:8px;display:flex}:is(.sidebar,.note-sheet) h2{color:var(--muted);margin:0;font-size:12px;font-weight:500}:is(.sidebar,.note-sheet) .big{align-items:baseline;gap:10px;display:flex}:is(.sidebar,.note-sheet) .big strong{font-size:30px}:is(.sidebar,.note-sheet) .big span,:is(.sidebar,.note-sheet) .where{color:var(--soft);font-size:14px}:is(.sidebar,.note-sheet) .pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}:is(.sidebar,.note-sheet) .pair button,:is(.sidebar,.note-sheet) .arts button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:38px;font-size:14px}:is(.sidebar,.note-sheet) .seg{justify-content:space-between}:is(.sidebar,.note-sheet) .seg button{flex:1;min-width:0}:is(.sidebar,.note-sheet) .arts{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}:is(.sidebar,.note-sheet) .arts button{flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:52px;display:flex}:is(.sidebar,.note-sheet) .arts button small{color:var(--soft);font-size:10.5px}:is(.sidebar,.note-sheet) .arts button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}:is(.sidebar,.note-sheet) .arts button[aria-pressed=true] small{color:var(--accent)}:is(.sidebar,.note-sheet) .verse{color:var(--soft);align-items:center;gap:10px;font-size:13px;display:flex}:is(.sidebar,.note-sheet) .verse input{min-width:0;font:inherit;border:1px solid var(--edge);min-height:36px;color:var(--ink);border-radius:8px;flex:1;padding:0 10px}:is(.sidebar,.note-sheet) .hint{color:var(--muted);margin:0;font-size:12px;line-height:1.55}:is(.sidebar,.note-sheet) .note{color:var(--soft);background:#f7f5f0;border-radius:8px;margin:0;padding:8px 10px;font-size:12.5px;line-height:1.55}:is(.sidebar,.note-sheet) select{font:inherit;border:1px solid var(--edge);min-height:36px;color:var(--ink);background:#fff;border-radius:8px;padding:0 6px;font-size:14px}:is(.sidebar,.note-sheet) .linkish{color:var(--accent);cursor:pointer;background:0 0;border:0;align-self:flex-start;padding:0;font-size:13px}.sidebar .measure{border-top:1px solid #ece8df;padding-top:14px}.status{background:var(--paper);border-top:1px solid var(--line);color:var(--soft);flex-wrap:wrap;align-items:center;gap:4px 18px;padding:6px 16px;font-size:12.5px;display:flex}.status .end{color:var(--muted);margin-left:auto}.fab,.dock{display:none}@media (min-width:761px){.phone-only{display:none!important}}@media (max-width:760px){.desk-only{display:none!important}.toolbar,.sidebar,.status{display:none}.appbar{padding:6px 10px}.save-chip{display:none}.brand .logo img{height:30px}.appbar-actions>button:not(.primary){display:none}.pages{gap:12px;padding:12px}.fab{z-index:15;background:var(--ink);color:#fff;border:0;border-radius:999px;align-items:center;gap:6px;min-height:40px;padding:0 14px;font-size:14px;display:inline-flex;position:fixed;right:10px;box-shadow:0 2px 8px #1d1b1840}.fab.done{top:calc(8px + env(safe-area-inset-top));display:none}body.input .appbar{display:none}body.input .fab.done{display:inline-flex}body.input .dock{display:flex}.dock{padding:0 8px calc(12px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);flex-direction:column;gap:7px;position:relative}.dock-status{color:var(--soft);gap:8px;padding:6px 6px 0;font-size:12.5px;display:flex}.dock-row{gap:4px;display:grid}.dock-row.top{grid-template-columns:1.6fr 1fr 1.3fr 1fr 1fr;gap:6px}.dock-row.keys{grid-template-columns:repeat(7,minmax(0,1fr))}.dock-row.keys.tab,.dock-row.nav{grid-template-columns:repeat(6,minmax(0,1fr))}.dock button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:4px;min-height:44px;padding:0;font-size:17px;display:flex}.dock-row.top button{border-radius:12px;min-height:48px}.dock-row.top small{color:var(--muted);font-size:10px}.dock .dur-btn{background:var(--ink);color:#fff;border-color:var(--ink);font-size:13px}.dock .dur-btn small{color:#fff;opacity:.8}.dock-row.keys button{background:#fbfaf7;flex-direction:column;gap:1px;min-height:58px}.dock-row.keys button strong{font-size:19px}.dock-row.keys button span{color:var(--muted);font-size:11px}.dock-row.keys button[aria-checked=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.dock-row.keys button[aria-checked=true] span{color:var(--accent)}.dock button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.sheet{z-index:25;background:#fff;border-radius:16px;flex-direction:column;gap:10px;margin:0 8px;padding:14px 12px 12px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 -6px 30px #1d1b1838}.sheet[hidden]{display:none}.sheet h2{margin:0 4px;font-size:15px}.sheet .grid{gap:6px;display:grid}.sheet .g3{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet .g5{grid-template-columns:repeat(5,minmax(0,1fr))}.sheet .g2{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet .g2 button{font-size:14px}.sheet .grid button{flex-direction:column;gap:2px;min-height:52px}.sheet .grid button small{color:var(--soft);font-size:11px}.sheet .grid button[aria-checked=true]{border:2px solid var(--accent);background:var(--accent-bg);color:var(--accent)}.sheet .grid button[aria-checked=true] small{color:var(--accent)}.sheet .popover{width:auto;box-shadow:none;border:0;padding:0;position:static}}dialog#help{border:1px solid var(--edge);box-sizing:border-box;width:min(920px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:14px;padding:0}dialog#help::backdrop{background:#1d1b184d}#help .layout-head{z-index:1;border-bottom:1px solid var(--edge);background:#fff;justify-content:space-between;align-items:center;padding:14px 20px 10px;display:flex;position:sticky;top:0}#help .layout-head h2{margin:0;font-size:16px}#help .layout-head form{margin:0}#help-body{columns:2 380px;column-gap:32px;padding:4px 20px 20px}#help section{break-inside:avoid;border-bottom:1px solid var(--edge);flex-direction:column;gap:10px;padding:12px 0;display:flex}#help h3{color:var(--soft);margin:0;font-size:13px}#help dl{grid-template-columns:9.5em 1fr;gap:6px 16px;margin:0;font-size:14px;display:grid}#help dt{font-weight:700}#help dd{color:var(--soft);margin:0}#help .hint{break-inside:avoid;color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.6}@media (max-width:760px){dialog#help{border-radius:14px 14px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}#help dl{grid-template-columns:1fr;gap:2px}#help dd{margin-bottom:6px}}@media print{body{background:#fff}.appbar,.toolbar,.sidebar,.status,.dock,.fab,dialog{display:none!important}.app{height:auto;display:block}.workspace,.desk{background:0 0;display:block;overflow:visible}.pages{padding:0;display:block}.page{box-shadow:none;break-after:page}.page:last-child{break-after:auto}}.save-chip.warn{color:#8a4b00;background:#fdf1e2}.popover.menu hr{border:0;border-top:1px solid var(--line);margin:4px 0}dialog#omr-report{border:1px solid var(--edge);box-sizing:border-box;border-radius:14px;width:min(520px,100vw - 32px);padding:20px 24px}dialog#omr-report::backdrop{background:#1d1b184d}dialog#omr-report h2 small{color:var(--muted);font-size:13px;font-weight:400}dialog#omr-report ul{max-height:40vh;padding-left:1.2em;font-size:14px;overflow-y:auto}dialog#omr-report .note{color:var(--soft);font-size:13px}dialog#omr-report .ai-read{border:1px solid var(--edge);border-radius:10px;margin:12px 0;padding:8px 12px;font-size:14px}dialog#omr-report .ai-read summary{cursor:pointer;font-weight:600}dialog#omr-report .ai-read ol{padding-left:1.4em}dialog#omr-report .ai-read li{margin:6px 0}dialog#omr-report .ai-read textarea{box-sizing:border-box;width:100%;font:12px/1.4 ui-monospace,monospace}dialog#omr-report .ai-row{flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;display:flex}dialog#omr-report .ai-read button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:32px;padding:0 12px}dialog#pdf-pick{border:1px solid var(--edge);box-sizing:border-box;border-radius:14px;width:min(760px,100vw - 32px);max-height:calc(100dvh - 32px);padding:20px 24px;overflow-y:auto}dialog#pdf-pick::backdrop{background:#1d1b184d}dialog#pdf-pick h2{overflow-wrap:anywhere;margin:0 0 6px;font-size:18px}dialog#pdf-pick h2 small{color:var(--muted);font-size:13px;font-weight:400}dialog#pdf-pick #pdf-pick-status{color:var(--soft);margin:0 0 10px;font-size:14px}#pdf-pick-songs{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}#pdf-pick-songs button{border:1px solid var(--edge);cursor:pointer;text-align:left;background:#fff;border-radius:8px;min-height:36px;padding:4px 12px}#pdf-pick-songs button small{color:var(--muted);margin-left:4px}#pdf-pick-songs button:hover{border-color:var(--ink)}dialog#pdf-pick .pdf-range{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;font-size:14px;display:flex}dialog#pdf-pick .pdf-range input{border:1px solid var(--edge);border-radius:6px;width:4.5em;min-height:32px;padding:0 6px;font-size:16px}dialog#pdf-pick .pdf-range button,dialog#pdf-pick form button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:36px;padding:0 16px}#pdf-pick-pages{grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px;max-height:40dvh;padding:2px;display:grid;overflow-y:auto}#pdf-pick-pages figure{cursor:pointer;text-align:center;color:var(--muted);margin:0;font-size:12px}#pdf-pick-pages canvas{border:1px solid var(--edge);border-radius:4px;width:100%;height:auto;display:block}#pdf-pick-pages figure.start canvas{border:2px solid var(--accent,#2563eb)}#pdf-pick-pages figure.start figcaption:after{content:" · 곡 시작";color:var(--accent,#2563eb)}#pdf-pick-pages figure.empty canvas{opacity:.45}dialog#pdf-pick .note{color:var(--soft);font-size:13px}dialog#omr-report form button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:36px;padding:0 16px}dialog#library{border:1px solid var(--edge);box-sizing:border-box;border-radius:14px;width:min(520px,100vw - 32px);padding:20px 24px}dialog#library::backdrop{background:#1d1b184d}dialog#library h2{margin:0 0 12px;font-size:18px}dialog#library h2 small{color:var(--muted);font-size:13px;font-weight:400}#library-list{flex-direction:column;gap:6px;max-height:50vh;margin:0;padding:0;list-style:none;display:flex;overflow:auto}#library-list li{border:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}#library-list li.current{border-color:var(--accent);background:var(--accent-bg)}#library-list .t{flex-direction:column;flex:1;min-width:0;display:flex}#library-list .t strong{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}#library-list .t span{color:var(--muted);font-size:12px}#library-list button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:36px;padding:0 12px}#library-list .empty{color:var(--muted);border:0}dialog#library .note{color:var(--soft);background:#fdf1e2;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6}dialog#library form button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:36px;padding:0 16px}.menu-note{color:var(--soft);background:#fdf1e2;border-radius:8px;max-width:260px;margin:2px 4px 6px;padding:8px 10px;font-size:12px;line-height:1.5}.menu-note strong{color:var(--ink,#1d1b18);display:block}#pages .playing,#pages .playing [fill]:not([fill=none]){fill:#12a150}#pages .playing [stroke]:not([stroke=none]){stroke:#12a150}.play-btn[aria-pressed=true]{background:#12a150;border-color:#12a150}.rep-row{grid-template-columns:1fr 1fr;gap:6px;margin-bottom:8px;display:grid}.rep-row button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:38px;font-size:13px}.rep-row button[aria-pressed=true]{background:var(--accent-bg);border-color:var(--accent);color:var(--accent);font-weight:600}#pop-measure .measure{padding:4px 0}#pop-measure .measure h2{margin:0 0 8px;font-size:15px}.measure .verse{color:var(--soft);align-items:center;gap:10px;margin:6px 0;font-size:13px;display:flex}.measure .verse select{min-width:0;min-height:36px;font:inherit;color:var(--ink);border:1px solid var(--edge);background:#fff;border-radius:8px;flex:1;padding:0 8px}#sidebar .measure .verse,#pop-measure .measure .verse{grid-template-columns:5.5em minmax(0,1fr);gap:10px;display:grid}#sidebar .measure .verse select,#pop-measure .measure .verse select{width:100%}#pop-measure .measure .verse{font-size:14px}#pop-measure .measure .verse select{min-height:40px}.toolbar .ico-btn{min-width:32px;padding:0 3px}.toolbar .ico-btn svg{display:block}.sheet button[hidden]{display:none!important}#pop-more .grid [data-cmd=mute]{flex-direction:row;gap:6px}.appbar-actions>.mute-btn{border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.mute-btn svg{flex:none}.mute-btn[aria-pressed=true]{color:var(--muted)}dialog#layout{border:1px solid var(--edge);box-sizing:border-box;width:min(560px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:14px;padding:0}dialog#layout::backdrop{background:#1d1b184d}#layout .layout-head{z-index:1;border-bottom:1px solid var(--edge);background:#fff;justify-content:space-between;align-items:center;padding:14px 20px 10px;display:flex;position:sticky;top:0}#layout .layout-head h2{margin:0;font-size:16px}#layout .layout-head form{margin:0}#layout .layout-head button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:50%;width:34px;height:34px;font-size:14px}#layout-body{flex-direction:column;gap:4px;padding:4px 20px 20px;display:flex}#layout section{border-bottom:1px solid var(--edge);flex-direction:column;gap:10px;padding:12px 0;display:flex}#layout section:last-child{border-bottom:0}#layout h3{color:var(--soft);margin:0;font-size:13px}#layout .field{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;display:flex}#layout .field small{font-size:11px}#layout input,#layout select{font:inherit;border:1px solid var(--edge);min-height:38px;color:var(--ink);box-sizing:border-box;background:#fff;border-radius:8px;width:100%;padding:0 10px;font-size:15px}#layout .meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}#layout .meta-grid .field:first-child{grid-column:1/-1}#layout .hint{color:var(--muted);margin:0;font-size:12px}@media (max-width:760px){dialog#layout{border-radius:14px 14px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}#layout .meta-grid{grid-template-columns:1fr}#layout input,#layout select{font-size:16px}}.desk.drag-pitch,.desk.drag-pitch .page svg [data-ref]{cursor:ns-resize}body.input .page svg [data-role=notehead]{touch-action:none}#layout .meta-row{gap:6px;display:flex}#layout .meta-row input{flex:1;min-width:0}#layout .style-btn{border:1px solid var(--edge);cursor:pointer;width:42px;min-height:38px;color:var(--soft);background:#fff;border-radius:8px;flex:none;font-family:Georgia,serif;font-size:15px;position:relative}#layout .style-btn:hover:not(:disabled){background:var(--tint)}#layout .style-btn:disabled{opacity:.4;cursor:default}#layout .style-btn.on{border-color:var(--accent);color:var(--accent);background:var(--accent-bg)}#layout .style-btn.on:after{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:4px}.ts-form{flex-direction:column;gap:12px;display:flex}.ts-form h2 small{color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}.ts-form .field{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;display:flex}.ts-form .field small{font-size:11px}.ts-form select,.ts-form input[type=number],.ts-form input[type=text]{font:inherit;border:1px solid var(--edge);min-height:38px;color:var(--ink);box-sizing:border-box;background:#fff;border-radius:8px;width:100%;padding:0 10px;font-size:15px}.ts-form .stepper{grid-template-columns:40px minmax(0,1fr) 40px;gap:6px;display:grid}.ts-form .stepper button{border:1px solid var(--edge);cursor:pointer;min-height:38px;color:var(--ink);background:#fff;border-radius:8px;font-size:17px}.ts-form .stepper input{text-align:center}.ts-form .ts-toggles button{min-height:38px;color:var(--ink);font-size:14px}.ts-form .ts-toggles button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}.ts-form .color-row{align-items:center;gap:6px;display:flex}.ts-form input[type=color]{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;width:48px;height:38px;padding:2px}.ts-form .color-row button,.ts-form .ts-foot>button:not(.linkish){border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:38px;padding:0 12px;font-size:13px}.ts-form button:disabled{opacity:.45;cursor:default}.ts-form .ts-foot{justify-content:space-between;align-items:center;gap:8px;display:flex}.page svg text[data-ref^=hdr\:]{cursor:pointer}#pop-text .ts-form{padding:4px 0}#pop-text .ts-form h2{margin:0;font-size:15px}@media (max-width:760px){.ts-form select,.ts-form input[type=number],.ts-form input[type=text]{font-size:16px}#pop-text{max-height:46dvh;overflow-y:auto}}.ghost.tab .head{width:calc(var(--sp) * 1.1);height:calc(var(--sp) * 1.1);top:calc(var(--sp) * -.55);border-radius:3px;transform:none}#sidebar .staff-sec .choice,#pop-staff .choice{grid-template-columns:repeat(2,minmax(0,1fr))}#sidebar .staff-sec .choice button,#pop-staff .choice button{min-height:34px}#sidebar .staff-sec .seg,#pop-staff .seg{flex-wrap:wrap}#sidebar .staff-sec .seg button,#pop-staff .seg button{padding:0 8px;font-size:13px}#pop-staff .measure{padding:4px 0}#pop-staff .measure h2{margin:0 0 8px;font-size:15px}#pop-staff .measure .verse{grid-template-columns:5.5em minmax(0,1fr);gap:10px;font-size:14px;display:grid}#pop-staff .measure .verse select{width:100%;min-height:40px}.staff-sec h2 small{color:var(--muted);font-size:12px;font-weight:400}.toolbar .seg button{min-width:32px;padding:0 4px}dialog#new-score{border:1px solid var(--edge);box-sizing:border-box;width:min(600px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:14px;padding:0}dialog#new-score::backdrop{background:#1d1b184d}#new-score .layout-head{z-index:1;border-bottom:1px solid var(--edge);background:#fff;justify-content:space-between;align-items:center;padding:14px 20px 10px;display:flex;position:sticky;top:0}#new-score .layout-head h2{margin:0;font-size:16px}#new-score .layout-head form{margin:0}#new-score .layout-head button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:50%;width:34px;height:34px}#new-score-body{flex-direction:column;padding:4px 20px 18px;display:flex}#new-score section{border-bottom:1px solid var(--edge);flex-direction:column;gap:10px;padding:12px 0;display:flex}#new-score h3{color:var(--soft);margin:0;font-size:13px}#new-score .field{color:var(--muted);flex-direction:column;gap:6px;font-size:12px;display:flex}#new-score input,#new-score select{font:inherit;border:1px solid var(--edge);min-height:38px;color:var(--ink);box-sizing:border-box;background:#fff;border-radius:8px;width:100%;padding:0 10px;font-size:15px}#new-score .row3{grid-template-columns:1fr 2fr 1fr;gap:10px;display:grid}#new-score .hint{color:var(--muted);margin:0;font-size:12px}.tpl-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;display:grid}.tpl-grid button{text-align:left;border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;gap:3px;min-height:62px;padding:8px 12px;display:flex}.tpl-grid button strong{font-size:14px}.tpl-grid button small{color:var(--muted);font-size:11.5px;line-height:1.35}.tpl-grid button[aria-checked=true]{border-color:var(--accent);background:var(--accent-bg)}.tpl-grid button[aria-checked=true] strong{color:var(--accent)}#new-score .ts-foot{justify-content:flex-end;gap:8px;padding-top:14px;display:flex}#new-score .ts-foot form{margin:0}#new-score .ts-foot button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:40px;padding:0 18px;font-size:14px}#new-score .ts-foot .primary{background:var(--ink);color:#fff;border-color:var(--ink)}@media (max-width:760px){dialog#new-score{border-radius:14px 14px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}#new-score .row3{grid-template-columns:1fr 1fr}#new-score .row3 .field:nth-child(2){order:-1;grid-column:1/-1}#new-score input,#new-score select{font-size:16px}.tpl-grid{grid-template-columns:1fr 1fr}}@media print{dialog#new-score{display:none!important}}dialog#staves{border:1px solid var(--edge);box-sizing:border-box;width:min(600px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--ink);border-radius:14px;padding:0}dialog#staves::backdrop{background:#1d1b184d}#staves .layout-head{z-index:1;border-bottom:1px solid var(--edge);background:#fff;justify-content:space-between;align-items:center;padding:14px 20px 10px;display:flex;position:sticky;top:0}#staves .layout-head h2{margin:0;font-size:16px}#staves .layout-head form{margin:0}#staves .layout-head button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:50%;width:34px;height:34px}#staves-body{flex-direction:column;padding:4px 20px 18px;display:flex}#staves section{border-bottom:1px solid var(--edge);flex-direction:column;gap:10px;padding:12px 0;display:flex}#staves h3{color:var(--soft);margin:0;font-size:13px}#staves .field{color:var(--muted);flex-direction:column;gap:6px;min-width:0;font-size:12px;display:flex}#staves .field small{font-size:11px}#staves input,#staves select{font:inherit;border:1px solid var(--edge);min-height:38px;color:var(--ink);box-sizing:border-box;background:#fff;border-radius:8px;width:100%;padding:0 10px;font-size:15px}#staves .staff-rows{flex-direction:column;gap:8px;display:flex}#staves .staff-row{border:1px solid var(--edge);background:var(--paper);border-radius:10px;grid-template-columns:26px minmax(0,1fr) minmax(0,1fr) 56px;align-items:end;gap:8px;padding:8px;display:grid}#staves .staff-row>strong{text-align:center;color:var(--soft);align-self:center;font-size:14px}#staves button.rm,#staves button.add{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;min-height:38px;font-size:13px}#staves button.rm{color:#b42318}#staves button.add{align-self:flex-start;padding:0 14px}#staves .hint{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.55}.voices{flex-wrap:wrap;margin-top:8px}.voices button{padding:0 10px;font-size:13px}@media (max-width:760px){dialog#staves{border-radius:14px 14px 0 0;width:100vw;max-width:100vw;max-height:92dvh;margin:auto 0 0}#staves .staff-row{grid-template-columns:26px minmax(0,1fr) 56px}#staves .staff-row>label:nth-of-type(2){grid-area:2/2/auto/3}#staves input,#staves select{font-size:16px}}@media print{dialog#staves{display:none!important}}.line-mark{pointer-events:none;background:#0b68ff0d;border:2px solid #0b68ff;border-radius:8px;position:absolute}@media print{.line-mark{display:none!important}}.page svg [data-role=clef][data-ref^=sys\:]{cursor:pointer}.line-sec h2 small{color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}.line-staff{border-bottom:1px solid var(--line,#eee);flex-direction:column;gap:6px;padding:10px 0;display:flex}.line-staff>div:first-child{justify-content:space-between;align-items:baseline;gap:8px;font-size:14px;display:flex}.line-staff small{color:var(--muted);font-size:12px}.line-staff .seg button{flex:1;font-size:13px}.check{color:var(--soft);flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 6px;font-size:13px;display:flex}.check input{width:18px;height:18px;min-height:0;margin:0}.check small{color:var(--muted);font-size:11.5px}#pop-line .line-sec h2{margin:0 0 4px;font-size:15px}#staves .check input{width:18px;height:18px;min-height:0;padding:0}.ts-form .row2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.ts-form .row2 .stepper{grid-template-columns:34px minmax(0,1fr) 34px;gap:4px}.ts-form .hint{color:var(--muted);margin:-4px 0 0;font-size:12px;line-height:1.5}#notice{background:var(--ink);color:#fff;z-index:50;border-radius:10px;max-width:min(560px,100vw - 32px);padding:10px 16px;font-size:13px;line-height:1.5;position:fixed;bottom:44px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #0003}#notice[hidden]{display:none}@media (max-width:760px){#notice{top:12px;bottom:auto}}@media print{#notice{display:none!important}}#staves h3{justify-content:space-between;align-items:center;gap:8px;display:flex}#staves h3 .rm{min-height:30px;padding:0 10px;font-size:12px}#staves .row2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}#staves .add-part{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}#staves .add-part .add{white-space:nowrap;padding:0 14px}@media (max-width:760px){#staves .row2{grid-template-columns:1fr}}:is(#staves,#layout,#new-score){background:var(--tint)}:is(#staves,#layout,#new-score) .layout-head{border-bottom:1px solid var(--line);background:#fff;padding:10px 12px 10px 20px;box-shadow:0 1px 3px #1d1b180d}:is(#staves,#layout,#new-score) .layout-head h2{font-size:17px}:is(#staves,#layout,#new-score,#help) .layout-head .dlg-x{width:36px;height:36px;color:var(--soft);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}:is(#staves,#layout,#new-score,#help) .layout-head .dlg-x:hover{background:var(--tint);color:var(--ink)}:is(#staves,#layout,#new-score,#help) .layout-head .dlg-x svg{display:block}:is(#staves-body,#layout-body,#new-score-body){gap:12px;padding:14px 16px 18px}:is(#staves,#layout,#new-score) section{border:1px solid var(--line);background:#fff;border-radius:12px;gap:10px;padding:14px 16px 16px;box-shadow:0 1px 2px #1d1b180a}:is(#staves,#layout,#new-score) section:last-child{border-bottom:1px solid var(--line)}:is(#staves,#layout,#new-score) h3{color:var(--ink);margin:0 0 2px;font-size:15px;font-weight:700}#staves .staff-row{background:var(--tint);border-color:#0000}#staves .hint,#new-score .hint,#layout .hint{line-height:1.55}#staves-body>.hint{margin:2px 4px 0}#new-score .ts-foot{padding-top:4px}@media (max-width:760px){:is(#staves-body,#layout-body,#new-score-body){gap:10px;padding:12px 12px 16px}:is(#staves,#layout,#new-score) section{padding:12px 14px 14px}}:is(.sidebar,.note-sheet) .arts.marks{grid-template-columns:repeat(3,minmax(0,1fr))}.dyns{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:6px;display:grid}.dyns button{border:1px solid var(--edge);cursor:pointer;min-height:36px;color:var(--ink);background:#fff;border-radius:8px;font:italic 700 16px/1 Georgia,Times New Roman,serif}.dyns button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-bg);color:var(--accent)}#pop-more .dyns{grid-template-columns:repeat(7,minmax(0,1fr));margin-top:10px}:is(.sidebar,.note-sheet) .edit-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}:is(.sidebar,.note-sheet) .edit-row button{border:1px solid var(--edge);cursor:pointer;background:#fff;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:44px;font-size:13px;display:flex}:is(.sidebar,.note-sheet) .edit-row button small{color:var(--soft);font-size:10px}:is(.sidebar,.note-sheet) .edit-row button:disabled{opacity:.45;cursor:default}.range-mark{pointer-events:none;background:#0b68ff1a;border-radius:4px;outline:1.5px solid #0b68ff8c;position:absolute}.marquee{pointer-events:none;z-index:3;background:#0b68ff14;border:1px dashed #0b68ff;position:absolute}.desk.select-mode,.desk.select-mode .page svg{cursor:default}@media print{.range-mark,.marquee{display:none!important}}.voices-bar button{min-width:30px;font-weight:600}.voices-bar span{color:var(--soft);align-self:center;padding:0 6px 0 2px;font-size:13px}:is(.voices-bar,.seg.voices) .v1{--vc:var(--ink)}:is(.voices-bar,.seg.voices) .v2{--vc:#1a8a3a}:is(.voices-bar,.seg.voices) .v3{--vc:#b4570a}:is(.voices-bar,.seg.voices) .v4{--vc:#8a3ab9}:is(.voices-bar,.seg.voices) button[class^=v]{color:var(--vc)}:is(.voices-bar,.seg.voices) button[class^=v][aria-pressed=true]{background:var(--vc);border-color:var(--vc);color:#fff}:is(.sidebar,.note-sheet) .seg.voices{margin-top:2px}:is(.sidebar,.note-sheet) .words-row,:is(.sidebar,.note-sheet) .tempo-row{align-items:center;gap:6px;display:flex}:is(.sidebar,.note-sheet) .words-row input,:is(.sidebar,.note-sheet) .tempo-row input{min-width:0;font:inherit;border:1px solid var(--edge);min-height:36px;color:var(--ink);border-radius:8px;flex:1;padding:0 10px;font-size:14px}:is(.sidebar,.note-sheet) .words-row input[data-words]{font-style:italic}:is(.sidebar,.note-sheet) .words-row button,:is(.sidebar,.note-sheet) .tempo-row button{border:1px solid var(--edge);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;min-height:36px;padding:0 10px;font-size:13px}:is(.sidebar,.note-sheet) .tempo-row select{flex:1.2;min-width:0}:is(.sidebar,.note-sheet) .tempo-row span{color:var(--soft)}:is(.sidebar,.note-sheet) .arts button b{font-size:15px;line-height:1}:is(.sidebar,.note-sheet) .arts.tech{grid-template-columns:repeat(5,minmax(0,1fr))}:is(.sidebar,.note-sheet) .flip{display:inline-flex;transform:scaleY(-1)}:is(.sidebar,.note-sheet) .dyns{grid-template-columns:repeat(6,minmax(0,1fr))}.note-sheet{flex-direction:column;gap:18px;max-height:70vh;display:flex;overflow:auto}.note-sheet section{flex-direction:column;gap:8px;display:flex}.note-sheet h2{color:var(--muted);margin:0;font-size:13px;font-weight:600}.note-sheet .big{align-items:baseline;gap:10px;display:flex}.note-sheet .big strong{font-size:24px}#pop-more .voices-bar{gap:6px;margin-top:10px;display:flex}#pop-more .voices-bar button{border:1px solid var(--edge);background:#fff;border-radius:8px;flex:1;min-height:40px}.voices-bar .eye-btn{color:var(--soft);justify-content:center;align-items:center;display:inline-flex}.voices-bar .eye-btn svg{display:block}.voices-bar .eye-btn[aria-pressed=true]{background:var(--accent-bg);color:var(--accent)}#pop-more .voices-bar button[class^=v][aria-pressed=true]{background:var(--vc);border-color:var(--vc);color:#fff}.grid.g4,:is(.sidebar,.note-sheet) .arts:not(.marks):not(.tech){grid-template-columns:repeat(4,minmax(0,1fr))}:is(.sidebar,.note-sheet) .arts button small{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}:is(.sidebar,.note-sheet) .dyns button{padding:0;font-size:14px;overflow:hidden}.appbar-actions .play-set{border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.play-set svg{flex:none}.popover.play-pop{width:340px;max-height:min(70vh,560px);overflow-y:auto}.play-sheet{max-height:70vh;overflow-y:auto}.play-form{flex-direction:column;gap:8px;display:flex}.play-form h3{color:var(--ink);justify-content:space-between;align-items:baseline;margin:6px 0 0;font-size:13px;font-weight:600;display:flex}.play-form h3:first-child{margin-top:0}.play-form h3 output{font-variant-numeric:tabular-nums;color:var(--accent)}.play-form input[type=range]{width:100%;accent-color:var(--accent)}.play-form .speeds{grid-template-columns:repeat(5,1fr);display:grid}.play-form .speeds button{padding:0;font-size:12.5px}.play-form .hint{margin:0;font-size:12px}.part-sounds{flex-direction:column;gap:6px;display:flex}.part-sound{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:8px;display:grid}.part-sound .check{color:var(--ink);flex-wrap:nowrap;min-width:0;margin:0}.part-sound .check span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.part-sound select{width:100%;min-width:0;min-height:34px}.part-sound .drum-note{color:var(--soft);font-size:13px}.sf-list{flex-direction:column;gap:4px;display:flex}.sf-row{border:1px solid var(--edge);cursor:pointer;border-radius:8px;align-items:flex-start;gap:8px;padding:6px 8px;font-size:13px;display:flex}.sf-row:has(input:checked){border-color:var(--accent);background:var(--accent-bg)}.sf-row input{margin:2px 0 0}.sf-row small{color:var(--muted);font-size:11.5px;display:block}.sf-status{color:var(--accent)}.menu-links{color:var(--muted);margin:4px 10px 2px;font-size:12px}.menu-links a{color:var(--soft)}@media (max-width:760px){.appbar .popover{width:auto;max-height:calc(100dvh - 150px);position:fixed;top:130px;left:12px;right:12px;overflow-y:auto}.play-form select{font-size:16px}}.play-head{box-sizing:border-box;pointer-events:none;background:#12a1501f;border:2px solid #12a150;border-radius:6px;position:absolute}@media print{.play-head{display:none!important}}.play-panel{background:var(--paper);border-left:1px solid var(--line);box-sizing:border-box;flex:none;width:300px;padding:16px 18px 28px;overflow:auto}.play-panel[hidden],body.play-session .sidebar{display:none}.pp-head{align-items:center;gap:8px;margin-bottom:14px;display:flex}.pp-head h2{margin:0 auto 0 0;font-size:18px}.pp-head button{border:1px solid var(--edge);cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;min-height:36px;padding:0 12px}.pp-head .primary{background:var(--ink);color:#fff;border-color:var(--ink)}.pp-head .primary[aria-pressed=true]{background:#12a150;border-color:#12a150}.pp-more{display:none}.sf-row.recommend{background:#fff8e1;border-color:#e3c25b;position:relative;overflow:hidden}.sf-row.recommend:after{content:"";pointer-events:none;background:linear-gradient(100deg,#0000 30%,#fffc 50%,#0000 70%);animation:2.6s ease-in-out .6s infinite sf-shine;position:absolute;inset:0;transform:translate(-100%)}@keyframes sf-shine{0%{transform:translate(-100%)}45%,to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.sf-row.recommend:after{animation:none}}.sf-badge{color:#8a6300;font-size:11.5px;font-style:normal}@media (max-width:760px){.play-panel{z-index:14;border-left:0;border-top:1px solid var(--line);width:auto;max-height:55dvh;padding:10px 14px calc(10px + env(safe-area-inset-bottom));position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 16px #1d1b181f}.pp-head{margin-bottom:0}.pp-more{display:inline-block}.play-panel:not(.open) .pp-body{display:none}.play-panel.open .pp-head{margin-bottom:12px}.play-panel .play-form select{font-size:16px}body.input .play-panel{display:none}body.play-session .pages{padding-bottom:90px}}@media print{.play-panel{display:none!important}}@media (pointer:fine) and (min-width:761px){.appbar{gap:6px 12px;padding:5px 12px}.brand .logo img{height:28px}.appbar-actions{gap:6px}.appbar-actions>button,.appbar-actions .menu-wrap>button{min-height:32px;padding:0 11px;font-size:14px}.appbar-actions>.mute-btn,.appbar-actions .play-set{width:32px;height:32px}.save-chip{font-size:11.5px}.toolbar{gap:4px 6px;padding:4px 10px}.seg{border-radius:8px;padding:2px}.seg button{border-radius:6px;min-width:28px;height:30px;font-size:13.5px}.toolbar .seg button{min-width:27px;padding:0 3px}.toolbar .ico-btn{min-width:27px}.paper-btn{min-height:30px;padding:0 7px;font-size:13px}.zoom button{min-width:26px;height:28px;font-size:13px}.toolbar .round{width:30px;height:30px;min-height:30px}.sidebar,.play-panel{width:260px;padding:14px 14px 24px}.sidebar{gap:14px}.sidebar .big strong{font-size:24px}.sidebar .pair button{min-height:32px;font-size:13px}.sidebar .arts button{min-height:44px}.status{padding:4px 14px;font-size:12px}.pp-head button{min-height:30px;padding:0 10px;font-size:13px}}@media (pointer:fine) and (min-width:761px) and (max-width:1599px){.toolbar-end .paper-btn>span:not(.ico){display:none}}.dyn-pick{color:var(--soft);align-items:center;gap:8px;margin-top:6px;font-size:13px;display:flex}.dyn-pick select{flex:1;min-width:0;min-height:32px;font-size:14px}.dyn-pick select.on{border-color:var(--accent);color:var(--accent);font-weight:600}@media (max-width:760px){.dyn-pick select{min-height:38px;font-size:16px}}.toolbar #dur-group button>svg,.toolbar #btn-select svg{width:18px;height:18px}.toolbar #dur-group [data-cmd=dot] svg{width:9px;height:9px}.toolbar #btn-rest svg{width:14px;height:19px}.toolbar #btn-tie svg{width:20px;height:14px}.toolbar #btn-slur svg{width:22px;height:17px}.toolbar .eye-btn svg{width:17px;height:17px}.popover.menu{width:248px}.popover.menu small,.sub-list small{color:var(--muted);white-space:nowrap;margin-left:auto;padding-left:10px;font-size:12px}.popover.menu>.menu-note{margin:0 0 4px;padding:7px 10px;font-size:12px}.popover.menu>.menu-note strong{margin-right:4px;display:inline}.sub{position:relative}.sub-btn,.sub-list>button{text-align:left;cursor:pointer;width:100%;min-height:38px;font:inherit;color:var(--ink);background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 10px;font-size:14px;display:flex}.sub-btn:after{content:"";border-right:1.6px solid var(--muted);border-bottom:1.6px solid var(--muted);width:6px;height:6px;margin-left:auto;transform:rotate(-45deg)}.sub-btn:hover,.sub.open>.sub-btn,.sub-list>button:hover{background:var(--tint)}.sub-list{flex-direction:column;gap:2px;display:none}.sub.open>.sub-list{display:flex}.sub-list{padding-left:12px}.sub.open>.sub-btn:after{transform:rotate(45deg)}@media (pointer:fine) and (min-width:761px){.sub-list{z-index:21;border:1px solid var(--edge);background:#fff;border-radius:12px;width:230px;padding:8px;position:absolute;top:-8px;right:calc(100% + 10px);box-shadow:0 10px 30px #1d1b1829}.sub-list:after{content:"";width:12px;position:absolute;top:0;bottom:0;left:100%}.sub:hover>.sub-btn{background:var(--tint)}.sub-btn:after,.sub.open>.sub-btn:after{transform:rotate(135deg)}.sub.open>.sub-list{display:none}.sub:hover>.sub-list{display:flex}.sub:has(:focus-visible)>.sub-list{display:flex}}.zoom #zoom-label{font-variant-numeric:tabular-nums;align-items:baseline;gap:4px;padding:0 6px;display:inline-flex}.zoom #zoom-label small{color:var(--muted);font-size:11px}@media (pointer:fine) and (min-width:761px){.sub-list{width:max-content;min-width:200px}.sub-list>button{white-space:nowrap}}.zoom #zoom-label{align-self:stretch;align-items:center}.zoom #zoom-label small{line-height:1}.range-mark.pick{border-radius:5px}.tuplet-pick{border:1px solid var(--edge);cursor:pointer;width:100%;min-height:36px;font:inherit;color:var(--ink);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;margin-top:8px;font-size:14px;display:flex}.tuplet-pick svg{width:20px;height:20px}.tuplet-pick:hover:not(:disabled){background:var(--tint)}.tuplet-pick:disabled{opacity:.45;cursor:default}:is(#staves,#layout,#new-score)[open]{flex-direction:column;display:flex;overflow:hidden}:is(#staves,#layout,#new-score) .layout-head{flex:none;position:static}:is(#staves-body,#layout-body,#new-score-body){overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}#new-score .ts-foot{background:var(--tint);border-top:1px solid var(--line);margin:0 -16px -18px;padding:10px 16px 18px;position:sticky;bottom:-18px}@media (max-width:760px){#new-score .ts-foot{margin:0 -12px -16px;padding:10px 12px 16px;bottom:-16px}}.page svg [data-role=legerLine],.page svg [data-role=staffLine]{pointer-events:none}
