@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(./bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(./instrument-sans-latin-ext-wght-normal-B5bTHO_g.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Instrument Sans Variable;font-style:normal;font-display:swap;font-weight:400 700;src:url(./instrument-sans-latin-wght-normal-BbzFLZTg.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#0f1f1b;--panel:#162a25;--panel2:#1e3730;--line:#2b4a41;--line-strong:#47695e;--ink:#f2ecdc;--muted:#9db3a8;--accent:#f0b44c;--on-accent:#1d1608;--root:#e8604c;--third:#4ea5e6;--fifth:#5cc287;--display:"Bricolage Grotesque Variable", "Arial Narrow", system-ui, sans-serif;--body:"Instrument Sans Variable", system-ui, -apple-system, sans-serif;--pad:max(20px, env(safe-area-inset-left,0px));--pad-r:max(20px, env(safe-area-inset-right,0px));--pad-b:max(12px, env(safe-area-inset-bottom,0px));--pad-t:max(8px, env(safe-area-inset-top,0px));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--ink);font:17px/1.4 var(--body);-webkit-text-size-adjust:100%;overscroll-behavior:none;margin:0}#app{height:100dvh;position:relative;overflow:hidden}[hidden]{display:none!important}h1,h2,h3,p,ol,ul,figure{margin:0}ol,ul{padding:0;list-style:none}a{color:inherit}button,select,input,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.muted{color:var(--muted)}.spacer{flex:1}.empty{color:var(--muted)}.bar{min-height:64px;padding:var(--pad-t) var(--pad-r) 8px var(--pad);align-items:center;gap:14px;display:flex}.bar h1{font:650 26px/1.1 var(--display);letter-spacing:-.01em;white-space:nowrap}.bar .heading{min-width:0;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:16px;overflow:hidden}.navlink{border:1px solid var(--line);background:var(--panel);white-space:nowrap;border-radius:22px;align-items:center;min-height:44px;padding:0 16px;font-size:16px;font-weight:600;text-decoration:none;display:inline-flex}.navlink.strong{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.bar select{min-height:44px}.seg{background:var(--panel2);border-radius:12px;gap:2px;padding:3px;display:flex}.seg button{min-height:42px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:9px;flex:auto;padding:0 10px;font-size:16px;font-weight:600}.seg button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.seg.small button{min-height:38px;font-size:15px}select{border:1px solid var(--line);background:var(--panel2);border-radius:12px;max-width:100%;min-height:44px;padding:0 12px}.toggle{cursor:pointer;align-items:center;gap:12px;min-height:44px;font-weight:500;display:flex}.toggle input{width:24px;height:24px;accent-color:var(--accent);flex:none}.ghost{border:1px solid var(--line);background:0 0;border-radius:12px;min-height:44px;padding:0 16px;font-size:16px;font-weight:600}.lbl{color:var(--muted);font-size:14px;font-weight:500}#toast{left:50%;bottom:calc(var(--pad-b) + 104px);background:var(--ink);color:var(--bg);opacity:0;pointer-events:none;z-index:50;border-radius:14px;max-width:90vw;padding:12px 20px;font-weight:600;transition:opacity .2s,translate .2s;position:fixed;translate:-50% 12px}#toast.show{opacity:1;translate:-50%}.stage{grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr) 340px;height:100%;display:grid}.stage>.bar{grid-area:1/1/auto/-1}.stage>.play,.stage>.panel{grid-row:2}.stage>.transport{grid-area:3/1/auto/-1}.play{padding:4px 16px 8px var(--pad);grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px;min-width:0;display:grid}.play>.now{grid-row:1}.play>.strip{grid-row:2}.play>.neck{grid-row:3}.play>.legend{grid-row:4}.songplay .play>.neck{grid-row:2}.now{align-items:center;gap:20px;min-height:76px;display:flex}.now-big{font:700 60px/1 var(--display);color:var(--accent);letter-spacing:-.02em;white-space:nowrap;flex:none;min-width:1.6em}.now-text{flex:1 1 0;min-width:0}.now-line{font-size:19px;font-weight:600}.now-sub{color:var(--muted);font-size:16px}.now-aside{flex:none;align-items:flex-end;gap:14px;margin-left:auto;display:flex}.now-aside figure{text-align:center}.now-aside figure.next{opacity:.7}.now-aside figcaption{color:var(--muted);font-size:14px}.now-aside svg{display:block}.strip{gap:5px;min-width:0;display:flex}.strip button{border:1px solid var(--line);background:var(--panel);border-radius:11px;flex:1 1 0;align-content:center;justify-items:center;min-width:0;max-width:84px;min-height:54px;padding:3px 0;line-height:1.15;display:grid}.strip i{color:var(--muted);white-space:nowrap;font-size:12px;font-style:normal}.strip b{color:var(--c,var(--ink));font-size:17px}.strip em{color:var(--muted);font-size:14px;font-style:normal}.strip .root b{color:var(--root)}.strip .on{background:var(--accent);border-color:var(--accent)}.strip .on i,.strip .on b,.strip .on em{color:var(--on-accent)}.neck{min-width:0;min-height:0;overflow:hidden}.neck svg{font-family:var(--body);display:block}.neck g[data-midi]{cursor:pointer}.legend{color:var(--muted);flex-wrap:wrap;justify-content:center;gap:4px 20px;min-height:22px;font-size:15px;display:flex}.legend i{vertical-align:-1px;border-radius:50%;width:13px;height:13px;margin-right:7px;display:inline-block}.legend i.ring{border:3px solid var(--accent);background:0 0}.panel{border-left:1px solid var(--line);padding:10px var(--pad-r) 10px 18px;scrollbar-width:none;flex-direction:column;gap:12px;display:flex;overflow-y:auto}.panel section{border-bottom:1px solid var(--line);gap:10px;padding-bottom:12px;display:grid}.panel .field,.tips .field{gap:5px;display:grid}.panel select{width:100%}.autoline{color:var(--muted);font-size:15px;line-height:2.5}.panel .autoline select,.autoline select{width:auto;min-height:38px;padding:0 6px}.panel section:last-child{border-bottom:0;padding-bottom:0}.transport{min-height:88px;padding:10px var(--pad-r) var(--pad-b) var(--pad);border-top:1px solid var(--line);background:var(--panel);align-items:center;gap:20px;display:flex}.start{background:var(--accent);min-width:168px;height:64px;color:var(--on-accent);font:700 24px/1 var(--display);border:0;border-radius:32px;flex:none}.tempo{align-items:center;gap:10px;display:flex}.round{border:1px solid var(--line-strong);background:var(--panel2);border-radius:50%;width:52px;height:52px;font-size:26px;line-height:1}.bpm{text-align:center;min-width:78px}.bpm b{font:700 40px/1 var(--display);font-variant-numeric:tabular-nums;display:block}.bpm span{color:var(--muted);font-size:13px;font-weight:600}.bpm span.warn{color:var(--accent)}.transport input[type=range]{min-width:80px;height:44px;accent-color:var(--accent);flex:1}.beats{gap:10px;display:flex}.beats i{background:var(--line);border-radius:50%;width:18px;height:18px}.beats i.on{background:var(--ink);scale:1.25}.beats i:first-child.on{background:var(--accent)}.status{color:var(--muted);flex:0 300px;font-size:15px}.status:empty{display:none}.meter{justify-items:center;gap:8px;display:grid}.subs{gap:6px;min-height:8px;display:flex}.subs i{background:var(--line);border-radius:50%;width:8px;height:8px}.subs i.on{background:var(--accent)}.tap{white-space:nowrap;flex:none}.metro .tap{min-width:300px}.panel-note{color:var(--muted);font-size:15px;line-height:1.45}.panel .ghost{width:100%}.start:disabled{opacity:.45}.stage[data-kind=explore]{grid-template-rows:auto minmax(0,1fr)}.stage[data-kind=explore] .play{padding-bottom:var(--pad-b)}.stage[data-panel=off]{grid-template-columns:minmax(0,1fr)}.stage[data-panel=off]>.panel{display:none}.stage[data-panel=off] .play{padding-right:var(--pad-r)}.count-row{grid-template-columns:repeat(var(--n), minmax(0, 1fr));align-items:center;gap:10px;height:100%;display:grid}.count-row span{aspect-ratio:1;background:var(--panel);border:2px solid var(--line);max-height:100%;font:700 clamp(22px, 5vw, 84px)/1 var(--display);color:var(--muted);border-radius:50%;place-items:center;display:grid}.count-row span.off{font-size:clamp(16px,3vw,48px);scale:.62}.count-row span.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.count-row span.first.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.metro .play{grid-template-rows:minmax(0,1fr) auto auto;gap:14px}.metro .play>.neck{grid-row:1}.metro-tempo{grid-row:2;justify-content:center;align-items:center;gap:10px;min-width:0;display:flex}.metro-bpm{text-align:center;min-width:3.2ch;font:700 clamp(96px, 18dvh, 150px)/.85 var(--display);padding:0 10px}.metro-bpm b{font-variant-numeric:tabular-nums;letter-spacing:-.03em;display:block}.metro-bpm span{font:600 17px/1.6 var(--body);color:var(--muted);display:block}.metro-tempo .round{width:80px;height:80px;font:700 26px/1 var(--display);flex:none}.metro-tempo .round.small{width:60px;height:60px;font-size:20px}.metro .play>input[type=range]{width:100%;height:44px;accent-color:var(--accent);grid-row:3}.metro .start.stop{background:var(--ink)}.metro .status{text-align:right;color:var(--ink);flex:1;font-size:18px}.words{grid-template-rows:auto auto minmax(0,1fr);height:100%;display:grid}.words-tabs{padding:4px var(--pad-r) 0 var(--pad);gap:8px;display:flex}.words-tabs button{min-height:50px;color:var(--muted);font:650 20px/1 var(--display);background:0 0;border:0;border-radius:14px;padding:0 18px}.words-tabs button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.words-list{padding:16px var(--pad-r) var(--pad-b) var(--pad);grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:12px;min-height:0;margin:0;display:grid}.words-list>div{background:var(--panel);border-radius:18px;padding:14px 18px;overflow:hidden}dt{font:650 22px/1.2 var(--display);margin-bottom:4px}dd{color:var(--ink);margin:0;font-size:16px;line-height:1.4}.tips.help{width:min(980px,96vw);max-height:94dvh;padding:22px 26px;overflow-y:auto}.help-what{text-wrap:pretty;margin-bottom:14px;font-size:19px;line-height:1.4}.help-cols{grid-template-columns:minmax(0,1fr) minmax(0,1.9fr);gap:26px;display:grid}.help-cols>div:only-child{grid-column:1/-1}.help ul{gap:8px;font-size:15px;line-height:1.4}.help dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:0;display:grid}.help dt{margin-bottom:1px;font-size:18px}.help dd{color:var(--muted);font-size:14.5px;line-height:1.35}.songplay .play{grid-template-rows:minmax(0,1.25fr) minmax(0,1fr)}.tabwrap{scrollbar-width:none;background:var(--panel);border-radius:18px;min-height:0;position:relative;overflow:auto hidden}.tabwrap::-webkit-scrollbar{display:none}.tabmsg{color:var(--muted);text-align:center;place-items:center;padding:24px;font-size:18px;display:grid;position:absolute;inset:0}.at-cursor-bar{background:#f0b44c24}.at-cursor-beat{background:var(--accent);width:3px}.at-highlight *{fill:var(--accent);stroke:var(--accent)}.songplay .bpm{align-items:baseline;gap:10px;display:flex}.songplay .status{text-align:right;flex:1}.stage[data-mode=live]>.bar,.stage[data-mode=live]>.panel,.stage[data-mode=live] .start,.stage[data-mode=live] .round,.stage[data-mode=live] .tap,.stage[data-mode=live] .transport input{display:none}.stage[data-mode=live]{cursor:pointer}.stage[data-mode=live] .play{padding:var(--pad-t) var(--pad-r) 8px var(--pad);grid-column:1/-1;gap:12px}.stage[data-mode=live] .now{gap:32px;min-height:clamp(110px,19dvh,190px)}.stage[data-mode=live] .now-big{font-size:clamp(100px,17dvh,170px)}.stage[data-mode=live] .now-line{font-size:clamp(26px,3.6dvh,36px)}.stage[data-mode=live] .now-sub{font-size:clamp(19px,2.6dvh,25px)}.stage[data-mode=live] .strip button{max-width:110px;min-height:72px}.stage[data-mode=live] .strip b{font-size:26px}.stage[data-mode=live] .strip i,.stage[data-mode=live] .strip em{font-size:16px}.stage[data-mode=live] .transport{justify-content:space-between}.stage[data-mode=live] .bpm{align-items:baseline;gap:8px;display:flex}.stage[data-mode=live] .bpm b{font-size:56px}.stage[data-mode=live] .bpm span{font-size:18px}.stage[data-mode=live] .beats{gap:22px}.stage[data-mode=live] .beats i{width:38px;height:38px}.stage[data-mode=live] .subs{gap:12px}.stage[data-mode=live] .subs i{width:14px;height:14px}.stage[data-mode=live] .status{text-align:right;flex:0 auto;font-size:18px}.stage[data-count=true] .now-line{color:var(--muted)}.finish{-webkit-backdrop-filter:blur(6px);z-index:20;background:#0f1f1bdb;place-items:center;padding:20px;display:grid;position:absolute;inset:0}.card{background:var(--panel);border:1px solid var(--line-strong);border-radius:24px;gap:8px;width:min(600px,100%);padding:30px 34px;display:grid}.card-kicker{color:var(--muted);font-weight:600}.card-big{font:700 84px/1 var(--display);color:var(--accent);letter-spacing:-.02em}.card h2{font:650 26px/1.2 var(--display);margin-top:14px}.rate{grid-template-columns:1fr 1fr;gap:14px;margin:6px 0 10px;display:grid}.rate button{border:1px solid var(--line-strong);background:var(--panel2);height:84px;font:700 26px/1 var(--display);border-radius:18px}.rate .yes{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.card .row{gap:12px;display:flex}.tips{border:1px solid var(--line-strong);background:var(--panel);width:min(600px,90vw);color:var(--ink);border-radius:22px;margin:auto;padding:26px 30px}.tips::backdrop{background:#08100eb3}.tips h2{font:650 24px/1.2 var(--display);margin-bottom:12px}.tips ul{gap:10px;padding-left:22px;list-style:outside;display:grid}.home{height:100%;padding-bottom:var(--pad-b);grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:190px minmax(0,1fr);column-gap:16px;display:grid}.home>.bar,.home>.summary{grid-column:1/-1}.brand{font-size:30px!important}.summary{padding:4px var(--pad-r) 0 var(--pad);grid-template-columns:minmax(350px,1fr) 1.7fr;gap:16px;display:grid}.summary h2,.runs h2{font:600 16px/1.3 var(--body);color:var(--muted)}.week,.lesson{background:var(--panel);border-radius:20px;height:116px;padding:14px 20px;overflow:hidden}.week{grid-template-columns:auto minmax(0,1fr);gap:20px;display:grid}.week-total{color:var(--muted);font-size:15px;line-height:1.3}.week-total b{font:700 38px/1.1 var(--display);color:var(--ink);margin-right:4px}.week-bars{grid-template-columns:repeat(7,minmax(0,1fr));align-items:end;gap:5px;min-width:0;display:grid}.week-bars div{grid-template-rows:minmax(0,1fr) auto;place-items:end center;height:100%;display:grid}.week-bars i{background:var(--line-strong);border-radius:5px 5px 2px 2px;width:100%;max-width:30px;min-height:3px}.week-bars .today i{background:var(--accent)}.week-bars span{color:var(--muted);font-size:13px}.week-bars .today span{color:var(--ink);font-weight:600}.lesson{grid-template-rows:auto minmax(0,1fr);gap:4px;text-decoration:none;display:grid}.lesson p{white-space:pre-line;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:17px;line-height:1.45;display:-webkit-box;overflow:hidden}.groups{padding:16px 0 0 var(--pad);grid-column:1;align-content:start;gap:4px;display:grid}.groups a{min-height:50px;font:650 21px/1 var(--display);color:var(--muted);border-radius:14px;align-items:center;padding:0 16px;text-decoration:none;display:flex}.groups a.on{background:var(--ink);color:var(--bg)}.group{padding:16px var(--pad-r) 0 0;grid-column:2;grid-template-rows:auto minmax(0,1fr);gap:10px;min-height:0;display:grid}.group-blurb{color:var(--muted);min-height:24px;font-size:17px}.tiles{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-height:0;display:grid;overflow:hidden}.tile{background:var(--panel);border:1px solid var(--line);border-radius:20px;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:2px;min-height:0;padding:14px 16px;text-decoration:none;display:grid;overflow:hidden}.tile h3{font:650 20px/1.15 var(--display);text-wrap:balance}.tile-blurb{color:var(--muted);font-size:14px;line-height:1.3}.tile-num{align-self:end;align-items:flex-end;gap:8px;min-height:0;display:flex}.tile-num b{font:700 46px/.95 var(--display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}.tile-num span{color:var(--muted);padding-bottom:3px;font-size:13px;line-height:1.2}.tile-spark{color:var(--accent);height:32px}.tile-spark svg{width:100%;height:32px;display:block}.tile-foot{color:var(--muted);justify-content:space-between;gap:8px;min-height:18px;font-size:13px;display:flex}.tile.add{border-style:dashed;grid-template-rows:auto minmax(0,1fr) auto auto;gap:8px}.tile.add .navlink{justify-content:center}.trend.up{color:var(--fifth);font-weight:600}.trend.down{color:var(--root);font-weight:600}.warn{color:var(--root)}.home-warn{left:var(--pad);font-size:14px;position:absolute;bottom:6px}.paste{display:none}.paste:popover-open{gap:12px;display:grid}.paste input[type=text]{border:1px solid var(--line);background:var(--panel2);border-radius:12px;min-height:48px;padding:0 14px}.paste textarea{resize:none;border:1px solid var(--line);background:var(--panel2);white-space:pre;border-radius:12px;height:40dvh;padding:12px 14px;font:15px/1.3 ui-monospace,Menlo,monospace}.history{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr) 420px;height:100%;display:grid}.history>.bar{grid-column:1/-1}.chartpane{padding:6px 16px var(--pad-b) var(--pad);grid-template-rows:auto minmax(0,1fr) auto;gap:12px;min-width:0;display:grid}.facts{gap:36px;display:flex}.facts div{align-items:flex-end;gap:10px;display:flex}.facts b{font:700 58px/.95 var(--display);font-variant-numeric:tabular-nums}.facts span{color:var(--muted);padding-bottom:5px;font-size:14px;line-height:1.25}.chart{background:var(--panel);border-radius:20px;place-items:center;min-height:0;display:grid;overflow:hidden}.chart svg{font-family:var(--body);display:block}.chartkey{color:var(--muted);min-height:20px;font-size:14px}.chartkey .k{border:2.5px solid var(--muted);vertical-align:-1px;border-radius:50%;width:12px;height:12px;margin:0 5px 0 12px;display:inline-block}.chartkey .k.clean{background:var(--accent);border-color:var(--accent)}.runs{border-left:1px solid var(--line);padding:6px var(--pad-r) 0 18px;grid-template-rows:auto minmax(0,1fr);gap:8px;min-height:0;display:grid}.runs ol{overscroll-behavior:contain;padding-bottom:var(--pad-b);overflow-y:auto}.runs li{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 0;display:flex}.run-main{flex:1;min-width:0;font-size:15px;display:grid}.run-main b{font:650 21px/1.2 var(--display)}.x{width:44px;height:44px;color:var(--muted);background:0 0;border:0;border-radius:50%;flex:none;font-size:24px}.notes{grid-template-rows:auto minmax(0,1fr);grid-template-columns:300px minmax(0,1fr);height:100%;display:grid}.notes>.bar{grid-column:1/-1}.notelist{overscroll-behavior:contain;padding:4px 12px var(--pad-b) var(--pad);align-content:start;gap:6px;display:grid;overflow-y:auto}.notelist button{text-align:left;background:0 0;border:1px solid #0000;border-radius:14px;gap:2px;width:100%;min-height:60px;padding:12px 14px;display:grid}.notelist button.on{background:var(--panel);border-color:var(--line)}.notelist b{font:650 19px/1.2 var(--display)}.notelist span{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.notelist .empty{padding:12px 14px}.editor{padding:4px var(--pad-r) var(--pad-b) 12px;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0;display:grid}.editor>.empty{padding:14px}.editor-top{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;display:flex}.editor-top input{border:1px solid var(--line);background:var(--panel2);min-height:44px;color:var(--ink);border-radius:12px;margin-left:8px;padding:0 12px}.editor textarea{resize:none;border:1px solid var(--line);background:var(--panel);border-radius:20px;width:100%;height:100%;padding:20px 24px;font-size:20px;line-height:1.55}.editor textarea::placeholder{color:var(--line-strong)}@media (width<=860px){#app{height:auto;min-height:100dvh;overflow:visible}.stage,.history,.notes{height:auto;display:block}.stage:not([data-mode=live]) .neck{height:300px}.stage[data-mode=live]{grid-template-columns:minmax(0,1fr);height:100dvh;display:grid}.panel,.runs{border-left:0}.transport{flex-wrap:wrap;position:sticky;bottom:0}.home{grid-template-columns:1fr;height:auto}.groups,.group{padding-left:var(--pad);padding-right:var(--pad-r);grid-column:1}.groups{grid-auto-flow:column;overflow-x:auto}.tiles{grid-template-rows:none;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.summary{grid-template-columns:1fr}.chart{height:300px}.editor textarea{min-height:50dvh}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.caged{gap:8px;min-width:0;height:100%;display:grid}.caged-row{gap:8px;min-width:0;display:flex}.caged-row button{border:1px solid var(--line);background:var(--panel);border-radius:14px;flex:1 1 0;align-content:center;justify-items:center;gap:3px;min-width:0;line-height:1.1;display:grid}.caged-row button b{font:700 24px/1 var(--display);color:var(--c,var(--ink))}.caged-row button span{color:var(--muted);white-space:nowrap;font-size:13px}.caged-row button.on{background:var(--panel2);border-color:var(--c,var(--accent));box-shadow:inset 0 0 0 2px var(--c,var(--accent))}.caged-row button:disabled{opacity:.35;cursor:default}.caged-mid{flex:2 1 0;align-content:center;justify-items:center;min-width:0;line-height:1.1;display:grid}.caged-mid b{font:700 36px/1 var(--display);letter-spacing:-.01em}.caged-mid span{color:var(--muted);white-space:nowrap;font-size:15px}.caged-neck{min-width:0;overflow:hidden}.caged-info{background:var(--panel);border-radius:16px;align-items:center;gap:16px;padding:6px 16px;display:flex;overflow:hidden}.caged-box{flex:none}.caged-text{min-width:0;font-size:15px;line-height:1.35}.caged-text h2{font:650 18px/1.25 var(--display)}.caged-text p{color:var(--ink)}.chord-changes{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;min-height:0;display:flex}.chord-changes svg{display:block}.chord-changes-pair{justify-content:center;align-items:center;gap:28px;display:flex}.chord-changes-box{border:1px solid var(--line);background:var(--panel);border-radius:18px;justify-items:center;gap:2px;min-height:44px;padding:10px 18px 8px;display:grid}.chord-changes-box b{font:700 40px/1 var(--display);color:var(--accent)}.chord-changes-to{color:var(--muted);font-size:20px;font-weight:600}.chord-changes-hint{max-width:34em;font-size:18px}.chord-changes-best,.chord-changes-kicker{color:var(--muted);font-size:16px;font-weight:600}.chord-changes-go{background:var(--accent);min-width:220px;height:64px;color:var(--on-accent);font:700 24px/1 var(--display);border:0;border-radius:32px;flex:none;padding:0 28px}.chord-changes-go:disabled{opacity:.4;cursor:default}.chord-changes[data-phase=run]{justify-content:flex-start;align-items:stretch}.chord-changes-top{flex:none;justify-content:space-between;align-items:center;gap:20px;display:flex}.chord-changes-top figure{justify-items:center;min-width:110px;display:grid}.chord-changes-top figure b{font:700 26px/1 var(--display)}.chord-changes-clock{justify-items:center;display:grid}.chord-changes-clock b{font:700 110px/.95 var(--display);color:var(--accent);font-variant-numeric:tabular-nums;letter-spacing:-.02em}.chord-changes-clock span{color:var(--muted);font-size:18px;font-weight:600}.chord-changes-hit{background:var(--accent);min-height:120px;color:var(--on-accent);-webkit-user-select:none;user-select:none;border:0;border-radius:28px;flex:1 1 0;align-content:center;justify-items:center;gap:4px;display:grid}.chord-changes-hit:active{filter:brightness(.9)}.chord-changes-hit b{font:700 120px/.95 var(--display);font-variant-numeric:tabular-nums}.chord-changes-hit span{font-size:22px;font-weight:600}.chord-changes-cancel{flex:none;align-self:center}.chord-changes-score{justify-content:center;align-items:baseline;gap:14px;display:flex}.chord-changes-score b{font:700 150px/1 var(--display);color:var(--accent);letter-spacing:-.02em}.chord-changes-score span{font:650 30px/1 var(--display);color:var(--muted)}.chord-changes-row{align-items:center;gap:14px;margin-top:6px;display:flex}.chord-changes-row .ghost{border-radius:32px;min-height:64px;padding:0 24px}.chord-progressions-next{opacity:.8}.chord-progressions-next b{font:700 26px/1.1 var(--display);color:var(--ink);display:block}.stage[data-mode=live] .chord-progressions-next b{font-size:46px}.keys-chords{gap:8px;min-width:0;height:100%;display:grid}.keys-chords-intro{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.keys-chords-cells{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.keys-chords-cells button{background:var(--panel);border:2px solid #0000;border-radius:14px;grid-template-rows:auto auto auto 22px;align-content:center;justify-items:center;min-width:0;padding:4px 0;line-height:1.15;display:grid}.keys-chords-cells i{color:var(--muted);font-size:13px;font-style:normal;font-weight:600}.keys-chords-cells b{font:700 24px/1.1 var(--display)}.keys-chords-cells em{color:var(--muted);font-size:13px;font-style:normal}.keys-chords-cells span{color:#fff;border-radius:9px;align-self:end;padding:1px 8px;font-size:12px;font-weight:700}.keys-chords-cells .kc-root{background:var(--root)}.keys-chords-cells .kc-3rd{background:var(--third)}.keys-chords-cells .kc-5th{background:var(--fifth);color:var(--on-accent)}.keys-chords-cells .on{background:var(--panel2);border-color:var(--accent)}.keys-chords-low{gap:10px;min-height:0;display:grid}.keys-chords-neck{min-width:0;overflow:hidden}.keys-chords-text{background:var(--panel);border-radius:16px;flex-direction:column;justify-content:center;gap:9px;min-width:0;padding:10px 16px;font-size:15.5px;line-height:1.36;display:flex;overflow:hidden}.keys-chords-text h2{font:600 16px/1.25 var(--body);color:var(--muted)}.keys-chords-text h2 b{font:700 32px/1 var(--display);color:var(--ink);margin-right:8px}.keys-chords-text p b{color:var(--accent)}.neck-notes{gap:8px;min-width:0;height:100%;display:grid}.neck-notes-neck{min-width:0;overflow:hidden}.neck-notes-info{background:var(--panel);border-radius:16px;flex-direction:column;justify-content:center;gap:6px;padding:6px 16px;font-size:15px;line-height:1.33;display:flex;overflow:hidden}.neck-notes-info b{color:var(--accent)}.neck-notes-top{align-items:center;gap:16px;min-width:0;display:flex}.neck-notes-status{flex:1 1 0;align-items:center;gap:14px;min-width:0;display:flex}.neck-notes-status>b{font:700 56px/1 var(--display);color:var(--accent);letter-spacing:-.02em;font-variant-numeric:tabular-nums;min-width:1.2em}.neck-notes-meter{min-width:0;color:var(--muted);flex:1 1 0;gap:6px;font-size:16px;line-height:1.25;display:grid}.neck-notes-meter .strong{color:var(--ink);font-size:19px;font-weight:600}.neck-notes-bar{background:var(--panel2);border-radius:5px;height:10px;overflow:hidden}.neck-notes-bar i{background:var(--accent);transform-origin:0;width:100%;height:100%;animation:linear both neck-notes-run;display:block}@keyframes neck-notes-run{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.neck-notes-go{background:var(--accent);min-width:150px;height:60px;color:var(--on-accent);font:700 22px/1 var(--display);border:0;border-radius:30px;flex:none}.neck-notes-go.quiet{border:1px solid var(--line-strong);color:var(--ink);background:0 0;min-width:110px}.neck-notes-answers{grid-template-columns:repeat(var(--n,7), minmax(0, 1fr));gap:6px;display:grid}.neck-notes-answers button{border:1px solid var(--line-strong);background:var(--panel2);border-radius:14px;align-content:center;justify-items:center;min-width:0;padding:0;line-height:1.05;display:grid}.neck-notes-answers b{font:700 26px/1 var(--display)}.neck-notes-answers span{color:var(--muted);font-size:13px}.neck-notes-answers button:disabled{opacity:.35;cursor:default}.neck-notes-answers button:active{background:var(--accent);color:var(--on-accent)}.neck-notes-note{color:var(--muted);text-align:center;white-space:nowrap;text-overflow:ellipsis;font-size:17px;line-height:28px;overflow:hidden}.neck-notes-note .ok{color:var(--fifth);font-weight:600}.neck-notes-note .no{color:var(--root);font-weight:600}.power-chords-next{opacity:.8}.power-chords-next b{font:700 26px/1.1 var(--display);color:var(--ink);display:block}.stage[data-mode=live] .power-chords-next b{font-size:46px}.scale-positions-keys{background:var(--panel2);border-radius:12px;gap:4px;height:46px;margin-bottom:8px;padding:1px;display:flex}.scale-positions-keys button{min-width:0;height:44px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:1 1 0;padding:0;font-size:16px;font-weight:600}.scale-positions-keys button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.strumming{grid-template-rows:auto minmax(0,1fr);gap:8px;height:100%;display:grid}.strumming-head{min-height:44px;color:var(--muted);align-items:baseline;gap:24px;font-size:17px;display:flex}.strumming-word{font:700 100px/1 var(--display);letter-spacing:-.02em;min-width:3.1em}.stage[data-mode=live] .strumming-head{min-height:110px;font-size:34px;font-weight:600}.strumming-row{grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;min-height:0;display:grid}.strumming-slot{border:1px solid var(--line);background:var(--panel);min-width:0;min-height:44px;color:var(--ink);border-radius:16px;align-content:center;justify-items:center;gap:4px;padding:6px 0;display:grid}.strumming-slot.strumming-beat{background:var(--panel2)}.strumming-slot svg{height:var(--strumming-a);width:calc(var(--strumming-a) * .6);display:block}.strumming-count{font:700 calc(var(--strumming-a) * .45)/1 var(--display)}.strumming-name{color:var(--muted);font-size:15px}.stage[data-mode=live] .strumming-name{display:none}.strumming-down{color:var(--third)}.strumming-up{color:var(--fifth)}.strumming-mute{color:var(--root)}.strumming-miss{color:var(--muted)}.strumming-slot.strumming-miss svg{opacity:.28}.strumming-slot .strumming-count{color:var(--ink)}.strumming-slot.strumming-miss .strumming-count{color:var(--muted)}.strumming-slot.on{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.strumming-slot.on .strumming-count{color:var(--on-accent)}.strumming-slot.on.strumming-miss svg{opacity:.4}.tuner{grid-template-rows:auto minmax(0,1fr) auto auto;gap:clamp(8px,2dvh,20px);height:100%;padding:4px 0 8px;display:grid}.tuner-top{align-items:center;gap:16px;min-height:56px;display:flex}.tuner-mic{background:var(--accent);min-height:56px;color:var(--on-accent,#1d1608);font:700 21px/1 var(--display);border:0;border-radius:28px;flex:none;padding:0 28px}.tuner[data-mic=on] .tuner-mic,.tuner[data-mic=asking] .tuner-mic{background:var(--panel2);color:var(--ink);border:1px solid var(--line)}.tuner-msg{color:var(--ink);background:var(--panel);border:1px solid var(--root);border-radius:12px;padding:8px 14px;font-size:16px;line-height:1.3}.tuner-read{justify-content:center;align-items:center;gap:clamp(20px,4vw,56px);min-height:0;display:flex}.tuner-letter{font:700 clamp(120px, 34dvh, 280px)/.9 var(--display);color:var(--accent);text-align:center;letter-spacing:-.03em;min-width:.9em}.tuner-letter:empty{display:none}.tuner-words{min-width:0}.tuner-advice{font:700 clamp(40px, 8dvh, 72px)/1.05 var(--display);color:var(--accent)}.tuner-advice:empty,.tuner-string:empty{display:none}.tuner-cents{font:600 clamp(24px, 4.4dvh, 36px)/1.2 var(--display)}.tuner-string{color:var(--muted);font-size:19px}.tuner[data-state=none] .tuner-cents{color:var(--muted);text-align:center}.tuner[data-state=ok] .tuner-letter,.tuner[data-state=ok] .tuner-advice,.tuner[data-state=ok] .tuner-cents{color:var(--fifth)}.tuner-meter{align-items:center;gap:14px;display:flex}.tuner-end{width:52px;color:var(--muted);text-align:center;flex:none;font-size:16px;font-weight:600}.tuner-track{background:var(--panel);border:1px solid var(--line);border-radius:16px;flex:1 1 0;height:clamp(56px,10dvh,84px);position:relative;overflow:hidden}.tuner-zone{background:var(--fifth);opacity:.28;position:absolute;top:0;bottom:0}.tuner[data-state=ok] .tuner-zone{opacity:.5}.tuner-tick{background:var(--line-strong,var(--line));width:2px;margin-left:-1px;position:absolute;top:34%;bottom:34%}.tuner-tick.mid{background:var(--fifth);top:0;bottom:0}.tuner-marker{background:var(--accent);border-radius:6px;width:12px;margin-left:-6px;transition:left 90ms linear;position:absolute;top:6px;bottom:6px}.tuner[data-state=ok] .tuner-marker{background:var(--fifth)}.tuner-refs{grid-template-columns:auto repeat(6,minmax(0,1fr));align-items:center;gap:10px;display:grid}.tuner-refs p{color:var(--muted);padding-right:6px;font-size:16px;font-weight:500}.tuner-refs button{border:2px solid var(--line);background:var(--panel);min-height:clamp(60px,10dvh,76px);color:var(--ink);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}.tuner-refs b{font:700 28px/1 var(--display)}.tuner-refs i{color:var(--muted);font-size:14px;font-style:normal}.tuner-refs button:active{background:var(--panel2)}.tuner-refs button.on{border-color:var(--accent)}.tuner[data-state=ok] .tuner-refs button.on{border-color:var(--fifth)}
