:root{--bg:#f2f7f5;--surface:#fff;--surface-2:#e8f1ee;--surface-3:#dbe9e5;--line:#d5e5e1;--line-strong:#bcd4ce;--ink:#10333a;--ink-2:#3c6068;--muted:#6d8b90;--accent:#14796f;--accent-ink:#fff;--accent-soft:#d9efe9;--accent-line:#14796f;--good:#1c7f5f;--warn:#8a6412;--bad:#a94232;--early:#3d6f96;--late:#a3631f;--h-theory:#40738f;--h-technique:#147a6e;--h-expression:#94701c;--h-sight:#4a76a8;--h-songs:#a85c37;--shadow:0 1px 2px #10333a0d, 0 8px 24px -16px #10333a40;--radius:14px;--radius-sm:10px;--sheet-ink:#10333a;--sheet-bg:#fff;--gauge-bg:#10333a1a;--quality-ring:#087967;--tempo-ring:#7555bc;--key-white:#fff;--key-black:#1b3038;--key-edge:#b9d0cb;--scrim:#0a1e2266;--font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--nav-w:148px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#0d1f24;--surface:#142c33;--surface-2:#1c3a42;--surface-3:#245059;--line:#23444d;--line-strong:#2f5b66;--ink:#eaf6f4;--ink-2:#a6c3c6;--muted:#6d8b90;--accent:#35c2ae;--accent-ink:#05221f;--accent-soft:#123b3c;--accent-line:#35c2ae;--good:#4ec79b;--warn:#dfae55;--bad:#e0796a;--early:#7cb0d8;--late:#e0a165;--h-theory:#7fb0cf;--h-technique:#46cfba;--h-expression:#dfbc70;--h-sight:#8ab4de;--h-songs:#e59a76;--shadow:0 1px 2px #00000047, 0 10px 28px -18px #0009;--sheet-ink:#eaf6f4;--sheet-bg:#142c33;--gauge-bg:#ffffff14;--quality-ring:#4bd6af;--tempo-ring:#bea1ff;--key-white:#dde8e6;--key-black:#0a1a1f;--key-edge:#7d9a9c;--scrim:#030e118c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=warm]{--bg:#fdf6f0;--surface:#fff;--surface-2:#fbeadb;--surface-3:#f6dcc6;--line:#f0dbc5;--line-strong:#e2c3a3;--ink:#3a2110;--ink-2:#6c4526;--muted:#9c7454;--accent:#c95c10;--accent-ink:#fff;--accent-soft:#fde3cd;--accent-line:#c95c10;--good:#5c7b28;--warn:#9a6a10;--bad:#b23b2a;--early:#3f6ba3;--late:#b45418;--h-theory:#8a5a2c;--h-technique:#a06018;--h-expression:#96701a;--h-sight:#7a5a3a;--h-songs:#b0511f;--shadow:0 1px 2px #3a21100f, 0 8px 24px -16px #3a211040;--sheet-ink:#3a2110;--sheet-bg:#fff;--gauge-bg:#3a21101a;--quality-ring:#177662;--tempo-ring:#7650b1;--key-white:#fffaf4;--key-black:#2e1c0d;--key-edge:#d8bb9a;--scrim:#2814086b;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body,#root{height:100%;height:100dvh}.app{height:100%}body{background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;overscroll-behavior:none;touch-action:manipulation;margin:0;font-size:15px;line-height:1.45}h1,h2,h3{letter-spacing:-.015em;margin:0;font-weight:600}h1{font-size:24px}h2{font-size:18px}h3{font-size:15px}p{margin:0}a{color:var(--accent)}button{color:inherit;font-family:inherit}kbd{background:var(--surface-2);border:1px solid var(--line);border-radius:5px;padding:1px 6px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.muted{color:var(--muted)}.small{font-size:13px}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.eyebrow{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:700}.spacer{flex:1}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.stack{flex-direction:column;gap:12px;display:flex}.screen{background:var(--bg);display:flex;position:fixed;inset:0;overflow:hidden}.screen-main{min-width:0;padding:14px 16px calc(12px + env(safe-area-inset-bottom));padding-right:max(16px, env(safe-area-inset-right));flex-direction:column;flex:1;display:flex;overflow:hidden}.screen-head{flex:none;align-items:center;gap:10px;padding:0 2px 10px;display:flex}.screen-head h1{font-size:19px}.screen-head .sub{color:var(--muted);font-size:12.5px}.screen-back{width:36px;height:36px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;margin:-4px 0 -4px -6px;padding:0;display:inline-flex}.screen-back:active{background:var(--surface-2);color:var(--ink)}.screen-gear{border:1.5px solid var(--line-strong);background:var(--surface);width:44px;height:44px;color:var(--ink);cursor:pointer;box-shadow:var(--shadow);border-radius:999px;flex:none;justify-content:center;align-items:center;margin:-6px -2px -6px 6px;padding:0;display:inline-flex;position:relative}.screen-gear .nav-dot{top:2px;right:2px}.screen-body{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.screen-foot{text-align:right;color:var(--muted);flex:none;padding-top:8px;font-size:11.5px}.report-trigger{z-index:55;right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));background:color-mix(in srgb, var(--surface) 82%, transparent);height:32px;color:var(--muted);cursor:pointer;opacity:.72;border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:600;display:inline-flex;position:fixed}.report-trigger:hover,.report-trigger:focus-visible{opacity:1;color:var(--accent);border-color:var(--line-strong);background:var(--surface)}.report-scrim{z-index:80;background:var(--scrim);justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.report-dialog{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:min(560px,100%);max-height:min(720px,100%);box-shadow:var(--shadow);overflow:auto}.report-dialog form{flex-direction:column;gap:14px;padding:18px;display:flex}.report-head{align-items:flex-start;gap:12px;display:flex}.report-head>div{flex:1}.report-types{grid-template-columns:1fr 1fr;gap:8px;display:grid}.report-types button{text-align:left;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);color:var(--ink-2);cursor:pointer;flex-direction:column;gap:2px;padding:11px;display:flex}.report-types button.on{border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}.report-types span{color:var(--muted);font-size:11.5px}.report-field{flex-direction:column;gap:5px;font-size:13px;font-weight:600;display:flex}.report-field small{color:var(--muted);font-weight:400}.report-field input,.report-field textarea{border:1px solid var(--line-strong);background:var(--bg);width:100%;color:var(--ink);font:inherit;resize:vertical;border-radius:8px;padding:9px 10px}.report-field input:focus,.report-field textarea:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}.report-context{background:var(--surface-2);color:var(--ink-2);border-radius:8px;padding:9px 11px;font-size:12px}.report-context summary{cursor:pointer;font-weight:600}.report-context p{margin-top:7px}.report-actions{justify-content:flex-end;gap:8px;display:flex}.report-success{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:300px;padding:28px;display:flex}.report-success svg{color:var(--good)}.report-honeypot{width:1px;height:1px;position:absolute!important;left:-10000px!important}@media (max-width:560px){.report-trigger span{display:none}.report-trigger{justify-content:center;width:34px;padding:0}.report-types{grid-template-columns:1fr}}.sidenav,.rail{padding:8px 8px calc(8px + env(safe-area-inset-bottom));padding-top:max(8px, env(safe-area-inset-top));background:var(--surface);-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;flex-direction:column;flex:none;gap:6px;display:flex}.sidenav{width:var(--nav-w);padding-left:max(10px, env(safe-area-inset-left));border-right:1px solid var(--line);overscroll-behavior:contain;scrollbar-width:none;transition:transform .32s cubic-bezier(.4,0,.2,1),margin-left .32s cubic-bezier(.4,0,.2,1);overflow-y:auto}.screen.no-nav .sidenav{margin-left:calc(-1 * var(--nav-w));pointer-events:none;transform:translate(-110%)}@media (prefers-reduced-motion:reduce){.sidenav{transition:none}}.sidenav::-webkit-scrollbar{display:none}.rail-mid::-webkit-scrollbar{display:none}.rail{--rail-pad-left:max(8px, env(safe-area-inset-left,0px));--rail-pad-right:8px;--rail-box-h:56px;box-sizing:border-box;width:var(--nav-w);min-width:var(--nav-w);max-width:var(--nav-w);width:calc(var(--nav-w) - 16px + var(--rail-pad-left) + var(--rail-pad-right));min-width:calc(var(--nav-w) - 16px + var(--rail-pad-left) + var(--rail-pad-right));max-width:calc(var(--nav-w) - 16px + var(--rail-pad-left) + var(--rail-pad-right));padding-left:var(--rail-pad-left);padding-right:var(--rail-pad-right);border-right:1px solid var(--line);z-index:12;flex:none;overflow:hidden}.rail-mid{flex:auto;grid-template-columns:1fr 1fr;grid-auto-rows:minmax(0,1fr);align-content:stretch;gap:6px;min-width:0;min-height:0;display:grid;overflow:hidden}.play-rail{grid-template-rows:auto minmax(0,1fr) auto;gap:6px;display:grid}.play-rail .rail-mid{min-height:0}.play-rail>.rail-btn.quiet{height:36px;min-height:36px}.play-rail>.rail-btn.primary{height:48px;min-height:48px}.nav-item,.rail-btn,.rail-metric{cursor:pointer;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface-2);min-height:0;color:var(--ink-2);flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px;transition:background .14s,color .14s,border-color .12s;display:flex;position:relative;overflow:hidden;box-shadow:0 1px 2px #10333a0a}.nav-item{flex:1 1 0;min-height:72px;max-height:96px}.rail-btn{box-sizing:border-box;letter-spacing:0;text-transform:none;flex:none;align-self:stretch;width:100%;height:100%;font-size:11px;font-weight:650;line-height:1.1}.bar-glyph{flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex;position:relative}.bar-glyph svg{width:22px;height:22px}.bar-glyph.photo{background:var(--surface-3);width:40px;height:40px;box-shadow:inset 0 0 0 1px var(--line);border-radius:8px;overflow:hidden}.bar-glyph.photo img{object-fit:cover;width:100%;height:100%;display:block}.bar-label{text-align:center;letter-spacing:-.02em;text-transform:none;white-space:normal;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;-webkit-box-orient:vertical;flex:none;align-self:stretch;font-size:clamp(9px,2.2vh,12px);font-weight:650;line-height:1.15;display:-webkit-box;overflow:hidden}.nav-item.on,.rail-btn.on,.rail-metric.live{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.nav-item.on .bar-glyph.art{color:var(--accent)}.nav-dot{border:1.5px solid var(--surface);border-radius:50%;width:9px;height:9px;position:absolute;top:-2px;right:-4px}.nav-dot.ok{background:var(--good)}.nav-dot.warn{background:var(--warn)}.nav-sep{background:var(--line);flex:none;height:1px;margin:2px 8px}.rail-btn:disabled{opacity:.4;cursor:not-allowed}.rail-btn.quiet{color:var(--muted);background:0 0;border-color:#0000}.rail-btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink);height:auto;min-height:0;box-shadow:0 4px 14px -8px var(--accent)}.rail-btn.wide{flex-shrink:0;width:100%;min-width:0}.rail-btn.span,.rail-tempo.span,.rail-metric.span,.rail-pair.span{grid-column:1/-1}.rail-btn.inline{flex-direction:row;justify-content:flex-start;gap:8px;height:36px;min-height:36px;padding:6px 10px}.rail-btn.inline .bar-glyph{width:18px;height:18px}.rail-btn.inline .bar-glyph svg{width:16px;height:16px}.rail-btn.inline .bar-label{text-align:left;font-size:13px;font-weight:650}.rail>.rail-btn,.rail-mid>.rail-btn,.rail-pair,.rail-tempo,.rail-mid>.rail-metric{flex-shrink:0;align-self:stretch;width:100%}.rail-pair{flex:none;grid-column:1/-1;gap:6px;width:100%;min-width:0;height:100%;min-height:0;display:flex}.rail-pair .rail-btn{flex:1 1 0;width:auto;min-width:0;height:100%;min-height:0}.rail-pair .bar-glyph{width:22px;height:22px}.rail-pair .bar-glyph svg{width:20px;height:20px}.rail-pair .bar-label{letter-spacing:-.02em;font-size:clamp(9px,2.1vh,11px)}.rail-tempo{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);flex:none;grid-template-columns:1fr 1.15fr 1fr;align-items:stretch;width:100%;height:100%;min-height:0;display:grid;overflow:hidden;box-shadow:0 1px 2px #10333a0a}.rail-tempo.dim{opacity:.45;pointer-events:none}.rail-tempo>button,.rail-tempo-v{min-width:0}.rail-tempo-v{background:var(--surface-2);border-left:1px solid var(--line);border-right:1px solid var(--line);flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:4px 2px;display:flex}.rail-tempo-v b{font-variant-numeric:tabular-nums;font-size:clamp(13px,3.2vh,17px);font-weight:700;line-height:1}.rail-tempo-v .bar-label{color:var(--muted);-webkit-line-clamp:1;font-size:10px;font-weight:600}.rail-tempo>button{background:var(--surface);color:var(--ink-2);cursor:pointer;border:0;justify-content:center;align-items:center;height:100%;min-height:0;display:flex}.rail-tempo>button:disabled{opacity:.35;cursor:not-allowed}.rail-metric{cursor:default;text-align:center;width:100%;height:100%}.rail-metric .v{font-variant-numeric:tabular-nums;font-size:clamp(14px,3.2vh,17px);font-weight:700;line-height:1.1}.wall{gap:var(--wall-gap,14px);max-width:100%;max-height:100%;margin:auto;display:grid}.tile{cursor:pointer;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);color:var(--ink);box-shadow:var(--shadow);flex-direction:column;padding:0;transition:transform .14s,border-color .14s,box-shadow .14s;display:flex;position:relative;overflow:hidden}.tile:active{transform:translateY(0)}.tile-art{min-height:0;color:var(--hue,var(--accent));flex:1;justify-content:center;align-items:center;display:flex;position:relative}.tile-art>svg{opacity:.9;width:66%;height:66%}.tile-art>img{object-fit:cover;width:100%;height:100%;display:block}.tile-art:has(img):after{display:none}.tile-art:after{content:"";background:radial-gradient(120% 90% at 50% 25%, var(--hue,var(--accent)) 0%, transparent 62%);opacity:.09;pointer-events:none;position:absolute;inset:0}.tile-foot{border-top:1px solid var(--line);flex:none;align-items:center;gap:8px;padding:8px 10px;display:flex}.tile-name{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:13px;font-weight:600;line-height:1.2;overflow:hidden}.tile>.progress-pair{flex:none;padding:2px 12px 9px}.progress-pair{justify-content:center;align-items:flex-start;gap:12px;min-width:0;display:flex}.progress-measure{color:var(--quality-ring);flex-direction:column;align-items:center;gap:3px;min-width:0;display:flex}.progress-measure-tempo{color:var(--tempo-ring)}.progress-circle{aspect-ratio:1;width:72px;display:block;position:relative}.progress-circle svg{width:100%;height:100%;display:block;transform:rotate(-90deg)}.progress-circle-track,.progress-circle-fill{fill:none;stroke-width:8px}.progress-circle-track{stroke:color-mix(in srgb, currentColor 17%, var(--surface))}.progress-circle-fill{stroke:currentColor;stroke-linecap:round}.progress-circle-value{color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.03em;justify-content:center;align-items:center;font-size:21px;font-weight:800;display:flex;position:absolute;inset:0}.progress-circle-value small{align-self:center;margin:8px 0 0 1px;font-size:9px}.progress-measure-label{color:currentColor;font-size:11px;font-weight:750;line-height:1.1}.progress-pair-mini{gap:13px}.progress-pair-mini .progress-circle{width:41px}.progress-pair-mini .progress-circle-value{font-size:12px}.progress-pair-mini .progress-circle-value small{margin-top:4px;font-size:6px}.progress-pair-mini .progress-measure-label{font-size:9px}.progress-pair-hero{gap:clamp(18px,5vw,62px)}.progress-pair-hero .progress-circle{width:clamp(118px,24vh,182px)}.progress-pair-hero .progress-circle-value{font-size:clamp(35px,8vh,58px)}.progress-pair-hero .progress-circle-value small{margin-top:16px;font-size:13px}.progress-pair-hero .progress-measure-label{font-size:16px}.progress-circle-animate .progress-circle-fill{animation:2.3s cubic-bezier(.2,.7,.2,1) .2s backwards progressFill}.progress-measure-tempo .progress-circle-animate .progress-circle-fill{animation-delay:.45s}.progress-pair-hero .progress-circle-animate .progress-circle-value{animation:.42s ease-out 2.65s backwards revealProgress}@keyframes progressFill{0%{stroke-dashoffset:100px}}@keyframes revealProgress{0%{opacity:0;transform:scale(.8)}}.continue{cursor:pointer;text-align:left;border:1px solid var(--accent);border-radius:var(--radius);background:var(--accent-soft);color:var(--ink);flex:none;align-items:center;gap:12px;min-height:64px;margin-bottom:12px;padding:10px 14px 10px 10px;display:flex}.continue .bar-glyph.photo{border-radius:12px;width:64px;height:64px}.continue-text{flex-direction:column;min-width:0;display:flex}.continue-title{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.continue-sub{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.ladder-scroller{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;flex:1;align-items:center;min-width:0;min-height:0;padding-inline:calc(50% - 104px);scroll-padding-inline:50%;display:flex;overflow:auto hidden}.ladder{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:14px;width:max-content;margin:0;padding:16px 0;display:flex}.stage-node{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);cursor:pointer;scroll-snap-align:center;flex-direction:column;flex:0 0 208px;justify-content:center;align-items:center;gap:9px;width:208px;min-height:172px;padding:14px 12px;display:flex;position:relative}.stage-node.current{border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 40%, var(--surface))}.node-step{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:10px;font-weight:750}.node-title{text-align:center;min-height:34px;color:var(--ink);justify-content:center;align-items:center;font-size:13px;font-weight:700;line-height:1.2;display:flex}.btn{border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:7px;padding:9px 14px;font-size:13.5px;font-weight:500;transition:background .12s,border-color .12s;display:inline-flex}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.btn.danger{color:var(--bad);border-color:var(--bad)}.btn.ghost{background:0 0;border-color:#0000}.btn.sm{padding:6px 10px;font-size:12.5px}.btn.lg{padding:12px 20px;font-size:15px}.seg{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);display:inline-flex;overflow:hidden}.seg button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;padding:8px 13px;font-size:13px}.seg button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.chip{background:var(--surface-2);color:var(--ink-2);border-radius:999px;align-items:center;gap:5px;padding:3px 9px;font-size:11.5px;font-weight:500;display:inline-flex}.chip.good{background:var(--accent-soft);color:var(--accent)}.chip.warn{color:var(--warn)}.chip.bad{color:var(--bad)}.dot{background:currentColor;border-radius:50%;width:7px;height:7px;display:inline-block}.pulse{animation:1.5s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:.3}50%{opacity:1}}.switch{cursor:pointer;align-items:center;gap:9px;font-size:13.5px;display:inline-flex}.switch input{appearance:none;background:var(--line-strong);cursor:pointer;border-radius:999px;flex:none;width:36px;height:20px;margin:0;transition:background .15s;position:relative}.switch input:after{content:"";background:var(--surface);border-radius:50%;width:14px;height:14px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch input:checked{background:var(--accent)}.switch input:checked:after{transform:translate(16px)}label.field{color:var(--muted);flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}input[type=text],input[type=number],select{font:inherit;border-radius:var(--radius-sm);border:1px solid var(--line);background:var(--surface);color:var(--ink);min-width:0;padding:8px 10px;font-size:14px}input:focus,select:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}input[type=range]{width:100%;accent-color:var(--accent)}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:14px}.stage{background:var(--bg);display:flex;position:fixed;inset:0;overflow:hidden}.stage.immersive .stage-main{padding:0}.stage-main{flex-direction:column;flex:1;min-width:0;display:flex;position:relative;overflow:hidden}.stage-pause{top:max(10px, env(safe-area-inset-top));left:max(10px, env(safe-area-inset-left));z-index:12;background:var(--surface);width:48px;height:48px;color:var(--ink);cursor:pointer;border:0;border-radius:999px;justify-content:center;align-items:center;display:flex;position:absolute;box-shadow:0 2px 4px #10333a14,0 12px 28px -12px #10333a73}.stage-pause:active{transform:scale(.96)}.stage-sheet{background:#fff;flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.stage-sheet .sheet{flex:1;min-width:0}.pause-overlay{z-index:14;background:color-mix(in srgb, var(--scrim) 72%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.pause-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;align-items:center;gap:16px;width:min(360px,100% - 32px);padding:22px 20px 18px;display:flex;box-shadow:0 18px 48px -20px #10333a8c}.pause-actions{gap:18px;display:flex}.pause-action{cursor:pointer;width:96px;color:var(--ink);background:0 0;border:0;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.pause-glyph{background:var(--surface-2);border:1px solid var(--line);width:64px;height:64px;box-shadow:var(--shadow);border-radius:999px;justify-content:center;align-items:center;display:flex}.pause-action.play .pause-glyph{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.count-overlay{z-index:13;pointer-events:none;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.count-num{letter-spacing:-.06em;color:var(--accent);text-shadow:0 8px 28px color-mix(in srgb, var(--accent) 35%, transparent);font-size:min(28vh,160px);font-weight:800;animation:.18s ease-out countPop}@keyframes countPop{0%{opacity:.4;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.sheet-zoom{right:max(10px, env(safe-area-inset-right));z-index:8;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);border-radius:999px;display:flex;position:absolute;bottom:10px;overflow:hidden}.sheet-zoom button{width:34px;height:32px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;display:flex}.sheet-zoom button+button{border-left:1px solid var(--line)}.sheet-zoom button:disabled{opacity:.35;cursor:not-allowed}.stage-toast{z-index:8;cursor:pointer;border-radius:var(--radius-sm);box-shadow:var(--shadow);background:var(--surface);color:var(--bad);border:1px solid var(--bad);padding:10px 14px;font-size:12.5px;position:absolute;bottom:14px;left:14px;right:14px}.wait-banner{z-index:7;border-radius:var(--radius-sm);max-width:calc(100% - 24px);box-shadow:var(--shadow);background:var(--surface);color:var(--ink);border:1px solid var(--accent);pointer-events:none;align-items:center;gap:10px;padding:8px 12px;font-size:13px;font-weight:500;display:flex;position:absolute;top:auto;bottom:10px;left:50%;transform:translate(-50%)}.wait-banner .wait-n{font-variant-numeric:tabular-nums;color:var(--accent);font-weight:700}.keystrip{height:var(--keystrip-h,84px);background:var(--surface);border-top:1px solid var(--line);flex-direction:column;flex:none;gap:3px;padding:4px 4px 5px;display:flex;position:relative}.keystrip-keys{flex:1;min-width:0;min-height:0;display:flex;position:relative;overflow:hidden}.kb-white{box-sizing:border-box;border:1px solid var(--key-edge);background:var(--key-white);border-top:0;border-radius:0 0 2px 2px;flex:none;min-width:0;margin-right:-1px;position:relative}.kb-white.next{background:var(--accent);border-color:var(--accent)}.kb-black{background:var(--key-black);border:1px solid var(--key-black);z-index:2;border-radius:0 0 2px 2px;height:58%;position:absolute;top:0}.kb-black.next{background:var(--accent);border-color:var(--accent)}.kb-oct{z-index:1;text-align:center;color:var(--muted);pointer-events:none;font-size:7px;font-weight:650;position:absolute;bottom:2px;left:0;right:0}.kb-tag{z-index:3;color:var(--accent-ink);pointer-events:none;white-space:nowrap;font-size:8px;font-weight:700;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.kb-black .kb-tag{color:var(--accent-ink)}.kb-finger{z-index:3;background:var(--accent);width:12px;height:12px;color:var(--accent-ink);border-radius:50%;justify-content:center;align-items:center;font-size:8px;font-weight:700;display:flex;position:absolute;top:3px;left:50%;transform:translate(-50%)}.kb-black .kb-finger{top:-16px}.sheet{--sheet-ink:#10333a;--sheet-bg:#fff;color:#10333a;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;background:#fff;position:relative;overflow:auto}.sheet.fill{width:100%;height:100%}.sheet.layout-rolling{touch-action:pan-x pinch-zoom;display:block;overflow:hidden}.sheet.layout-rolling.playing{touch-action:none}.sheet.layout-perform{scroll-behavior:auto;overflow:hidden auto}.sheet.layout-perform.playing{overflow-y:hidden}.sheet .osmd{padding:0}.sheet-roll-track{box-sizing:border-box;will-change:transform;width:max-content;min-width:100%;position:relative}.sheet.layout-rolling .osmd{box-sizing:border-box;width:max-content;min-width:100%}.sheet .osmd svg{max-width:none;height:auto}.sheet .osmd>img{display:none!important}.sheet .overlay{pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.sheet-pending{color:#6d8b90;background:#fff;justify-content:center;align-items:center;font-size:13px;display:flex;position:absolute;inset:0}.sheet .osmd .score-note-glow,.sheet .osmd .score-note-glow *{filter:drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 72%, transparent));animation:.18s ease-out both scoreNoteGlowIn;fill:var(--accent)!important;stroke:var(--accent)!important}.sheet .osmd .score-note-glow.out,.sheet .osmd .score-note-glow.out *{animation:.18s ease-in both scoreNoteGlowOut}@keyframes scoreNoteGlowIn{0%{filter:drop-shadow(0 0 #0000)}to{filter:drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 72%, transparent))}}@keyframes scoreNoteGlowOut{0%{fill:var(--accent);stroke:var(--accent);filter:drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 72%, transparent))}to{fill:#10333a;stroke:#10333a;filter:drop-shadow(0 0 #0000)}}@media (prefers-reduced-motion:reduce){.score-note-glow,.score-note-glow.out,.count-num{animation:none}}.sheet .tip{z-index:9;pointer-events:none;background:var(--ink);color:var(--bg);white-space:nowrap;box-shadow:var(--shadow);border-radius:7px;padding:5px 9px;font-size:12px;font-weight:600;animation:.12s ease-out tipIn;position:absolute;transform:translate(-50%,-100%)}.sheet .tip small{opacity:.75;font-size:10.5px;font-weight:500;display:block}.sheet .tip:after{content:"";background:var(--ink);width:8px;height:8px;position:absolute;bottom:-4px;left:50%;transform:translate(-50%)rotate(45deg)}@keyframes tipIn{0%{opacity:0;transform:translate(-50%,-92%)}to{opacity:1;transform:translate(-50%,-100%)}}.sheet .measure-hl{fill:var(--accent);opacity:.1}.sheet .play-cursor{fill:var(--accent);opacity:.16;stroke:var(--accent);stroke-width:1.5px;stroke-opacity:.5}.sheet .anchor-line{stroke-width:1.2px;opacity:.55}.sheet .anchor-tag{letter-spacing:.02em;font-size:9px;font-weight:700}.sheet .note-name-disk{fill:var(--sheet-ink)}.sheet .note-name-label{fill:var(--sheet-bg);letter-spacing:-.03em;font-size:7px;font-weight:800}.sheet.take .osmd .vf-notehead,.sheet.take .osmd .vf-notehead *,.sheet.take .osmd .vf-stem,.sheet.take .osmd .vf-stem *,.sheet.take .osmd .vf-beam,.sheet.take .osmd .vf-beam *,.sheet.take .osmd .vf-flag,.sheet.take .osmd .vf-flag *,.sheet.take .osmd .vf-modifiers{fill:color-mix(in srgb, var(--sheet-ink) 34%, var(--sheet-bg))!important;stroke:color-mix(in srgb, var(--sheet-ink) 34%, var(--sheet-bg))!important}.sheet .take-head{stroke:var(--sheet-bg);stroke-width:1.5px}.sheet .take-head.ok{fill:var(--good)}.sheet .take-head.off{fill:var(--bad)}.sheet .take-head.octave{fill:var(--warn)}.sheet .take-error{stroke:var(--bad);stroke-width:2.2px;fill:none}.sheet .dyn-ref{fill:color-mix(in srgb, var(--sheet-ink) 45%, var(--sheet-bg));font-family:Times New Roman,Times,Georgia,serif;font-size:15px;font-style:italic;font-weight:700}.sheet .dyn-play{fill:var(--bad);font-family:Times New Roman,Times,Georgia,serif;font-size:16px;font-style:italic;font-weight:700}.sheet .take-error-head{fill:var(--bad);stroke:none}.sheet .take-octave{fill:var(--warn);font-size:10px;font-weight:800}.sheet .take-extra{stroke:var(--bad);stroke-width:2.2px;stroke-linecap:round}.sheet .take-ms{fill:var(--bad);font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--sheet-bg);stroke-width:3.2px;stroke-linejoin:round;font-size:9px;font-weight:800}.sheet .dur-ref{fill:color-mix(in srgb, var(--sheet-ink) 28%, var(--sheet-bg))}.sheet .dur-play{fill:var(--good)}.sheet .dur-play.short{fill:var(--warn)}.sheet .dur-play.long{fill:var(--bad)}.sheet .dur-play.pedal{fill:color-mix(in srgb, var(--muted) 70%, var(--sheet-bg))}.sheet .dur-play.ok{fill:var(--good)}.sheet .pedal-lane-bg{fill:color-mix(in srgb, var(--sheet-ink) 6%, var(--sheet-bg))}.sheet .pedal-lane-label{fill:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:8px;font-weight:800}.sheet .pedal-score{fill:color-mix(in srgb, var(--sheet-ink) 32%, var(--sheet-bg))}.sheet .pedal-take{fill:var(--good);opacity:.85}.sheet .pedal-missing{fill:none;stroke:var(--warn);stroke-width:1.6px;stroke-dasharray:3 2}.sheet .pedal-extra{fill:none;stroke:var(--bad);stroke-width:1.6px}.sheet .mark-missed{fill:none;stroke:var(--bad);stroke-width:2px;stroke-dasharray:3.2 2.6}.sheet .mark-sync{stroke-width:2.4px;fill:none;stroke-linecap:round}.sheet .mark-sync.together{stroke:var(--good)}.sheet .mark-sync.apart{stroke:var(--bad)}.sheet .mark-rest{stroke:var(--bad);stroke-width:2.2px;stroke-linecap:round}.sheet .mark-art{stroke-width:2px;stroke-linecap:round}.sheet .mark-stem{stroke-width:1px;opacity:.7}.sheet .mark-chip{fill:var(--sheet-bg);stroke-width:1px}.sheet .mark-chip-text{font-size:9px;font-weight:700}.sheet-gutter{pointer-events:none;width:0;position:absolute;top:0;bottom:0;left:0}.scrim{background:var(--scrim);z-index:30;animation:.15s fade;position:fixed;inset:0}@keyframes fade{0%{opacity:0}to{opacity:1}}.panel{z-index:31;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:min(380px,60%);box-shadow:var(--shadow);flex-direction:column;animation:.18s cubic-bezier(.2,.8,.3,1) slidein;display:flex;position:fixed;top:12px;bottom:12px;right:12px}@keyframes slidein{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.panel-head{flex:none;align-items:center;gap:10px;padding:12px 14px 8px;display:flex}.panel-body{flex-direction:column;flex:1;gap:12px;min-height:0;padding:0 14px 14px;display:flex;overflow:auto}@media (max-width:640px){.panel{width:auto;left:12px;right:12px}}.results{flex:1;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:12px;min-height:0;display:grid}.results-col{flex-direction:column;gap:10px;min-height:0;display:flex}.metric-wall{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.metric{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);cursor:pointer;flex-direction:column;gap:3px;padding:8px 10px;transition:border-color .12s;display:flex}.metric.on{border-color:var(--accent);background:var(--accent-soft)}.metric.showing{border-color:var(--line-strong)}.metric.showing .k{color:var(--accent)}.metric.flat{cursor:default;background:var(--surface-2)}.metric .k{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-size:10px;font-weight:700}.metric .v{font-variant-numeric:tabular-nums;font-size:20px;font-weight:700;line-height:1}.metric .bar{background:var(--gauge-bg);border-radius:2px;height:3px;overflow:hidden}.metric .bar>i{background:var(--accent);height:100%;display:block}.metric .tempo-bar>i{background:var(--tempo-ring)}.headline{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex:none;align-items:center;gap:10px;padding:12px 14px;display:flex}.headline-overall{color:var(--ink);flex-direction:column;flex:none;align-items:center;display:flex}.headline-overall strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:36px;font-weight:800;line-height:1}.headline-overall small{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:700}.headline .progress-pair{flex:none}.headline .verdict{font-size:15px;font-weight:600}.headline .headline-tempo{font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.headline .note{color:var(--muted);font-size:12px}.score-q{border:1px solid var(--line-strong);background:var(--surface-2);width:28px;height:28px;color:var(--ink-2);cursor:pointer;border-radius:50%;flex:none;margin-left:auto;font-size:15px;font-weight:700;line-height:1}.tempo-nudge{border-radius:var(--radius-sm);background:var(--accent-soft);color:var(--accent);margin:0;padding:8px 12px;font-size:13px;font-weight:600}.score-help-scrim{z-index:40;background:var(--scrim);justify-content:center;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.score-help{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:min(520px,100%);max-height:min(78%,640px);box-shadow:var(--shadow);flex-direction:column;gap:10px;padding:14px 16px 16px;display:flex;overflow:auto}.score-help-head{align-items:center;gap:10px;display:flex}.score-help-head h2{flex:1;font-size:16px}.score-help dl{flex-direction:column;gap:10px;margin:0;display:flex}.score-help dt{font-size:13px;font-weight:700}.score-help dd{color:var(--ink-2);margin:2px 0 0;font-size:12.5px}.celebrate{z-index:50;background:radial-gradient(circle at 50% 38%, var(--accent-soft), var(--bg) 48%);color:var(--ink);text-align:center;--burst-distance:118px;border:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;padding:20px;animation:.42s cubic-bezier(.2,.85,.25,1) celebrateIn;display:flex;position:fixed;inset:0}.celebrate-kicker{color:var(--muted);margin:0;font-size:13px;font-weight:600}.celebrate .progress-pair{margin:6px 0}.celebrate-verdict{letter-spacing:-.02em;margin:0;font-size:clamp(22px,4.8vh,32px);font-weight:800;animation:.42s ease-out 2.7s backwards revealProgress}.celebrate-tempo{color:var(--ink-2);font-size:13px;font-weight:650}.celebrate-metrics{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;width:min(610px,100%);margin-top:6px;display:grid}.celebrate-metrics span{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--surface) 82%, transparent);letter-spacing:.05em;text-transform:uppercase;color:var(--muted);flex-direction:column;gap:2px;padding:7px 5px;font-size:9px;font-weight:700;display:flex}.celebrate-metrics b{color:var(--ink);letter-spacing:0;text-transform:none;font-variant-numeric:tabular-nums;font-size:21px;font-weight:800}.celebrate-nudge{max-width:360px;color:var(--accent);margin:3px 0 0;font-size:13px;font-weight:650}.celebrate-actions{align-items:center;gap:12px;margin-top:5px;display:flex}.celebrate-burst{pointer-events:none;position:absolute;inset:0;overflow:hidden}.celebrate-burst i{background:var(--accent);--i:0;width:8px;height:8px;animation:1.1s ease-out both burst;animation-delay:calc(1.25s + var(--i) * 24ms);transform:rotate(calc(var(--i) * 20deg)) translateY(-12px);border-radius:50%;position:absolute;top:42%;left:50%}.celebrate-strong{--burst-distance:138px}.celebrate-exceptional{--burst-distance:158px}.celebrate-burst i:nth-child(3n){background:var(--good)}.celebrate-burst i:nth-child(3n+1){background:var(--tempo-ring)}.celebrate-burst i:nth-child(3n+2){border-radius:2px;width:6px;height:14px}@keyframes celebrateIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes burst{to{opacity:0;transform:rotate(calc(var(--i) * 20deg)) translateY(calc(-1 * var(--burst-distance))) scale(.4)}}.teacher-commentary{background:var(--surface-2);border-left:3px solid var(--accent);border-radius:var(--radius-sm);flex-direction:column;gap:4px;padding:9px 11px;display:flex}.teacher-commentary p{color:var(--ink-2);margin:0}.teacher-commentary .tempo-comment{color:var(--accent);font-weight:650}.issue-list{flex-direction:column;flex:1;gap:5px;min-height:0;display:flex;overflow-y:auto}.issue{border-radius:var(--radius-sm);border:1px solid var(--line);cursor:pointer;background:var(--surface);align-items:center;gap:9px;padding:7px 9px;font-size:12.5px;display:flex}.issue.on{border-color:var(--accent);background:var(--accent-soft)}.issue .bar-no{flex:none;font-size:12px;font-weight:700}.issue .msg{flex:1;min-width:0}.sev{border-radius:50%;flex:none;width:8px;height:8px}.recommend{cursor:pointer;text-align:left;border:1px solid var(--accent);background:var(--accent-soft);border-radius:var(--radius-sm);flex:none;align-items:center;gap:10px;padding:9px 12px;display:flex}.recommend svg{flex:none;width:22px;height:22px}.legend-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:4px 14px;display:grid}.legend-item{color:var(--muted);align-items:center;gap:8px;font-size:11.5px;display:flex}.legend-sample{flex:none;display:inline-flex}.legend-sample .take-head{stroke:var(--surface);stroke-width:1.4px}.legend-sample .take-head.ok{fill:var(--good)}.legend-sample .take-head.off{fill:var(--bad)}.legend-sample .take-error{stroke:var(--bad);stroke-width:1.7px}.legend-sample .take-extra{stroke:var(--bad);stroke-width:2.2px;stroke-linecap:round}.legend-sample .mark-missed{fill:none;stroke:var(--bad);stroke-width:2px;stroke-dasharray:3.2 2.6}.legend-sample .mark-sync{stroke-width:2.4px;fill:none;stroke-linecap:round}.legend-sample .mark-sync.together{stroke:var(--good)}.legend-sample .mark-sync.apart{stroke:var(--bad)}.legend-sample .dyn-ref{fill:var(--muted);font-family:Times New Roman,Times,Georgia,serif;font-size:13px;font-style:italic;font-weight:700}.legend-sample .take-ms{fill:var(--bad);font-size:8px;font-weight:800}.legend-sample .dur-ref{fill:var(--muted)}.legend-sample .dur-play.short{fill:var(--warn)}.legend-sample .pedal-lane-bg{fill:var(--surface-2)}.legend-sample .pedal-score{fill:var(--muted)}.legend-sample .pedal-take{fill:var(--good)}.legend-sample .pedal-missing{fill:none;stroke:var(--warn);stroke-width:1.4px;stroke-dasharray:3 2}.pane-grid{flex:1;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-content:start;gap:10px;min-height:0;display:grid;overflow-y:auto}.pane{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:9px;padding:12px;display:flex}.pane h3{font-size:13.5px}.pane-wide{grid-column:1/-1}.midi-embed{flex-direction:column;gap:8px;display:flex}.opt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.opt{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer;border-radius:var(--radius-sm);min-height:36px;padding:8px 5px;font-size:12px;font-weight:600}.opt.on{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.tabs{border-bottom:1px solid var(--line);flex:none;gap:4px;display:flex}.tabs button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:8px 11px;font-size:13px;font-weight:600}.tabs button.active{color:var(--ink);border-bottom-color:var(--accent)}.notice{border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:var(--radius-sm);padding:9px 12px;font-size:12.5px}.notice.warn{border-color:var(--warn)}.notice.bad{border-color:var(--bad)}.steps{counter-reset:s;flex-direction:column;gap:8px;display:flex}.steps>div{align-items:flex-start;gap:10px;display:flex}.steps>div:before{counter-increment:s;content:counter(s);background:var(--accent-soft);width:20px;height:20px;color:var(--accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.log{background:var(--surface-2);border-radius:var(--radius-sm);max-height:150px;padding:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;overflow:auto}.log div{gap:10px;display:flex}.piano{-webkit-user-select:none;user-select:none;height:74px;display:flex;position:relative}.piano .white{border:1px solid var(--line-strong);background:var(--surface);border-radius:0 0 4px 4px;flex:1;position:relative}.piano .white.on{background:var(--accent-soft)}.piano .black{background:var(--ink);z-index:2;border-radius:0 0 3px 3px;width:60%;height:62%;position:absolute;top:0}.piano .black.on{background:var(--accent)}.piano .lbl{text-align:center;color:var(--muted);font-size:9px;position:absolute;bottom:3px;left:0;right:0}.spark{width:100%;height:44px}.centre-screen{background:var(--bg);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.centre-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);width:min(560px,100%);box-shadow:var(--shadow);flex-direction:column;gap:12px;max-height:100%;padding:22px;display:flex;overflow:auto}.rotate-phone-prompt{display:none}@media (max-width:720px) and (orientation:portrait){.rotate-phone-prompt{z-index:100;background:var(--bg);text-align:center;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.rotate-phone-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);width:min(320px,100%);box-shadow:var(--shadow);flex-direction:column;align-items:center;gap:8px;padding:24px;display:flex}.rotate-phone-card strong{font-size:18px}.rotate-phone-card>span:last-child{color:var(--muted);font-size:13px}.rotate-phone-icon{color:var(--accent);font-size:42px;line-height:1}}@media (prefers-reduced-motion:reduce){.celebrate,.celebrate-burst i,.progress-circle-animate .progress-circle-fill,.progress-pair-hero .progress-circle-animate .progress-circle-value,.celebrate-verdict{animation:none}}@media (max-width:600px){.celebrate-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-height:430px){.celebrate .progress-pair-hero .progress-circle{width:100px}.celebrate .progress-pair-hero .progress-circle-value{font-size:34px}.celebrate .progress-pair-hero .progress-measure-label{font-size:12px}.celebrate-metrics{margin-top:1px}.stage-node{min-height:152px;padding:9px 12px}}@media (max-height:470px){:root{--nav-w:140px;--keystrip-h:74px}.sidenav,.rail,.rail-mid{gap:4px}.rail{--rail-box-h:52px}.screen-main{padding:10px 12px calc(8px + env(safe-area-inset-bottom))}.screen-head{padding-bottom:7px}.screen-head h1{font-size:17px}.nav-item,.rail-btn,.rail-pair .rail-btn,.rail-metric,.rail-tempo{min-height:var(--rail-box-h);height:var(--rail-box-h)}.play-rail .rail-btn,.play-rail .rail-pair .rail-btn,.play-rail .rail-metric,.play-rail .rail-tempo{height:100%;min-height:0}.play-rail .rail-btn.quiet{height:32px;min-height:32px}.nav-item{height:auto;min-height:64px;max-height:80px}.rail-btn.primary{min-height:var(--rail-box-h);height:var(--rail-box-h)}.play-rail .rail-btn.primary{height:100%;min-height:0}.rail-btn.inline{height:32px;min-height:32px;padding:4px 8px}.bar-glyph.photo{width:36px;height:36px}.continue{min-height:52px;margin-bottom:9px;padding:8px 12px 8px 8px}.continue .bar-glyph.photo{width:44px;height:44px}.continue-title{font-size:14px}.rail-tempo>button{height:100%;min-height:0}}.wall-flex{flex-wrap:wrap;place-content:center;margin:auto;display:flex}.kb-white.held{background:var(--accent-line);border-color:var(--accent-line);filter:brightness(1.15)}.kb-black.held{background:var(--accent-line);border-color:var(--accent-line);opacity:.85}.legend-box{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);flex:none;padding:7px 11px}.legend-box>summary{cursor:pointer;font-weight:600}.legend-box[open]>summary{margin-bottom:7px}.results-col>.sheet{border:1px solid var(--line);border-radius:var(--radius);flex:1;min-height:0}@media (max-width:720px){.results{grid-template-rows:minmax(210px,1.15fr) auto;grid-template-columns:1fr;gap:8px}.results-col:first-child{min-height:210px}.results-col>.sheet{min-height:190px}.results-col:last-child{max-height:48%;overflow:auto}.headline .progress-pair-mini .progress-circle{width:36px}.metric-wall{gap:6px}}@media (hover:hover){.nav-item:not(.on):hover{background:var(--surface-3);border-color:var(--accent);color:var(--ink-2)}.screen-back:hover{background:var(--surface-2);color:var(--ink)}.screen-gear:hover{border-color:var(--accent);color:var(--accent)}.tile:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 10px 26px -18px #00000080}.continue:hover{background:var(--accent);color:var(--accent-ink)}.continue:hover .continue-sub,.continue:hover .eyebrow{color:inherit;opacity:.85}.continue:hover .bar-glyph.photo{opacity:.92}.stage-pause:hover{color:var(--accent)}.btn:not(.danger):not(.primary):not(.ghost):hover{border-color:var(--accent)}.btn.ghost:hover{background:var(--surface-2);border-color:#0000}.rail-btn:hover{border-color:var(--accent)}.rail-btn.quiet:hover{background:var(--surface-2);border-color:#0000}.metric:hover{border-color:var(--accent)}.issue:hover{border-color:var(--accent);background:var(--accent-soft)}.recommend:hover{background:var(--accent);color:var(--accent-ink)}.opt:hover{border-color:var(--accent)}.rail-tempo>button:hover,.sheet-zoom button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent)}}@media (max-height:340px){:root{--nav-w:140px}.sidenav,.rail,.rail-mid{gap:4px}.rail{--rail-box-h:48px}.sidenav,.rail{padding-top:max(6px, env(safe-area-inset-top));padding-bottom:calc(6px + env(safe-area-inset-bottom))}.nav-item,.rail-btn,.rail-pair .rail-btn,.rail-metric,.rail-tempo{min-height:var(--rail-box-h);height:var(--rail-box-h);padding:4px}.play-rail .rail-btn,.play-rail .rail-pair .rail-btn,.play-rail .rail-metric,.play-rail .rail-tempo{height:100%;min-height:0}.play-rail .rail-btn.quiet{height:30px;min-height:30px}.nav-item{height:auto;min-height:58px;max-height:72px}.rail-btn.primary{min-height:var(--rail-box-h);height:var(--rail-box-h)}.play-rail .rail-btn.primary{height:100%;min-height:0}.rail-btn.inline{height:30px;min-height:30px;padding:4px 8px}.bar-glyph.photo{width:32px;height:32px}.rail-tempo-v{padding:1px}.rail-tempo-v b{font-size:15px}.rail-tempo>button{height:100%;min-height:0}.rail-metric .v{font-size:14px}}
