@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-opsz-normal-Czevyj-6.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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-opsz-normal-CJcjJNj7.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:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-opsz-normal-DihXLNYH.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.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{--paper:#f6f2ea;--paper-deep:#ece6da;--surface:#fffdf8;--surface-raised:#fff;--ink:#1b1916;--ink-soft:#4a453e;--muted:#8a8278;--hairline:#e4ddcf;--lacquer:#16140f;--on-lacquer:#fbf7ee;--brass:#a8762a;--brass-soft:#f1e4c8;--felt:#7a1f2b;--success:#2f8a5b;--success-soft:#e1f0e6;--error:#c2412d;--error-soft:#f7e2dc;--speed:#3b5ba9;--accuracy:#a8762a;--glow:#ffffffb3;--accent:var(--speed);--border:var(--hairline);--text:var(--ink);--key-ivory-top:#fffefb;--key-ivory-bottom:#f0eadf;--key-ivory-edge:#d9d1c2;--key-ivory-pressed:#e7e0d2;--key-ebony-top:#3a3631;--key-ebony-bottom:#0f0e0c;--key-ebony-pressed:#2a2622;--shadow-sm:0 1px 2px #1b19160d, 0 1px 1px #1b191608;--shadow-md:0 12px 32px -18px #1b191647, 0 2px 6px #1b19160d;--shadow-lg:0 24px 48px -24px #1b191659, 0 4px 12px #1b19160f;--radius-xl:28px;--radius-lg:20px;--radius-md:14px;--radius-sm:10px;--font-display:"Fraunces Variable", "Iowan Old Style", "Palatino", Georgia, serif;--font-ui:"Inter Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;--gutter:max(20px, env(safe-area-inset-left), env(safe-area-inset-right));--ease-out:cubic-bezier(.22, 1, .36, 1);--ease-spring:cubic-bezier(.34, 1.56, .64, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}:root[data-theme=dark]{--paper:#13120f;--paper-deep:#0d0c0a;--surface:#1c1a16;--surface-raised:#24211c;--ink:#f2ece1;--ink-soft:#cdc5b7;--muted:#8f877b;--hairline:#2f2b25;--lacquer:#f2ece1;--on-lacquer:#16140f;--brass:#d8a651;--brass-soft:#3a2e1a;--felt:#8e2a36;--success:#5cc28c;--success-soft:#16301f;--error:#ef7a63;--error-soft:#3a1c16;--speed:#8aa3ea;--accuracy:#d8a651;--glow:#ffffff0a;--key-ivory-top:#f4efe6;--key-ivory-bottom:#ddd5c7;--key-ivory-edge:#b9b0a0;--key-ivory-pressed:#cfc6b6;--shadow-sm:0 1px 2px #0006;--shadow-md:0 12px 32px -18px #000c, 0 2px 6px #0000004d;--shadow-lg:0 24px 48px -24px #000000e6, 0 4px 12px #00000059;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--paper:#13120f;--paper-deep:#0d0c0a;--surface:#1c1a16;--surface-raised:#24211c;--ink:#f2ece1;--ink-soft:#cdc5b7;--muted:#8f877b;--hairline:#2f2b25;--lacquer:#f2ece1;--on-lacquer:#16140f;--brass:#d8a651;--brass-soft:#3a2e1a;--felt:#8e2a36;--success:#5cc28c;--success-soft:#16301f;--error:#ef7a63;--error-soft:#3a1c16;--speed:#8aa3ea;--accuracy:#d8a651;--glow:#ffffff0a;--key-ivory-top:#f4efe6;--key-ivory-bottom:#ddd5c7;--key-ivory-edge:#b9b0a0;--key-ivory-pressed:#cfc6b6;--shadow-sm:0 1px 2px #0006;--shadow-md:0 12px 32px -18px #000c, 0 2px 6px #0000004d;--shadow-lg:0 24px 48px -24px #000000e6, 0 4px 12px #00000059}}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(html,body,body *){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea{-webkit-user-select:text;user-select:text}body{background:radial-gradient(120% 60% at 50% -10%, var(--glow), transparent 70%), var(--paper);min-height:100dvh;color:var(--ink);font-family:var(--font-ui);font-feature-settings:"cv11", "ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-attachment:fixed;margin:0;font-size:16px;line-height:1.45;overflow-x:hidden}h1,h2,h3{margin:0;font-weight:600}h1{font-family:var(--font-display);letter-spacing:-.015em;font-variation-settings:"SOFT" 50;font-size:clamp(30px,8vw,38px);line-height:1.08}h2{font-family:var(--font-display);letter-spacing:-.01em;font-size:21px}h3{font-size:17px}p{margin:0}a{color:inherit}button,input,select{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--brass);outline-offset:2px}.page{width:100%;max-width:600px;padding:max(14px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom));flex-direction:column;gap:20px;margin:0 auto;display:flex}.eyebrow{font-family:var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:11.5px;font-weight:650}.muted{color:var(--muted)}.hint{color:var(--muted);font-size:14px;line-height:1.5}.num{font-variant-numeric:tabular-nums}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.rise{animation:rise .42s var(--ease-out) both}.rise-1{animation-delay:60ms}.rise-2{animation-delay:.12s}.rise-3{animation-delay:.18s}.rise-4{animation-delay:.24s}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:1ms!important;animation-duration:1ms!important}}.card{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:18px}.card-title{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.btn{appearance:none;border-radius:var(--radius-md);letter-spacing:-.005em;min-height:48px;transition:transform .14s var(--ease-out), background-color .16s, box-shadow .16s, opacity .16s;-webkit-user-select:none;user-select:none;border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:16px;font-weight:600;text-decoration:none;display:inline-flex}.btn:active{transform:scale(.97)}.btn:disabled{opacity:.45;pointer-events:none}.btn-primary{background:var(--lacquer);color:var(--on-lacquer);box-shadow:0 1px 0 #ffffff14 inset, var(--shadow-md)}.btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--hairline);box-shadow:var(--shadow-sm)}.btn-ghost{color:var(--ink-soft);background:0 0}.btn-block{width:100%}.btn-lg{border-radius:16px;min-height:56px;font-size:17px}.btn .icon{width:20px;height:20px}.icon-btn{appearance:none;border:1px solid var(--hairline);background:var(--surface);width:44px;height:44px;color:var(--ink);box-shadow:var(--shadow-sm);transition:transform .14s var(--ease-out), background-color .16s;border-radius:50%;flex:none;place-items:center;text-decoration:none;display:inline-grid}.icon-btn:active{transform:scale(.94)}.icon-btn.flat{box-shadow:none;background:0 0;border-color:#0000}.icon-btn.active{background:var(--paper-deep);color:var(--ink)}.icon{flex:none;width:22px;height:22px}.topbar{align-items:center;gap:12px;min-height:44px;display:flex}.screen-title{flex-direction:column;gap:6px;display:flex}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:10px;padding:0}.field+.field{margin-top:22px}.segmented{background:var(--paper-deep);border-radius:var(--radius-md);grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;padding:4px;display:grid;position:relative}.segmented label{border-radius:var(--radius-sm);min-height:44px;color:var(--muted);cursor:pointer;transition:color .16s, background-color .2s var(--ease-out), box-shadow .2s;font-variant-numeric:tabular-nums;place-items:center;font-size:15px;font-weight:600;display:grid;position:relative}.segmented label.selected{background:var(--surface-raised);color:var(--ink);box-shadow:0 1px 2px #1b19161f,0 0 0 .5px #1b19160f}.segmented input{opacity:0;pointer-events:none;position:absolute}.segmented label:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:1px}.switch-row{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}.switch-row .label{flex-direction:column;gap:2px;font-weight:600;display:flex}.switch-row .label small{color:var(--muted);font-size:13.5px;font-weight:400}.switch{appearance:none;background:var(--hairline);cursor:pointer;border-radius:999px;flex:none;width:51px;height:31px;margin:0;transition:background-color .2s;position:relative}.switch:after{content:"";width:27px;height:27px;transition:transform .24s var(--ease-spring);background:#fff;border-radius:50%;position:absolute;top:2px;left:2px;box-shadow:0 3px 8px #00000026,0 1px 1px #00000029}.switch:checked{background:var(--success)}.switch:checked:after{transform:translate(20px)}.select{align-items:center;display:inline-flex;position:relative}.select select{appearance:none;border:1px solid var(--hairline);background:var(--surface-raised);min-height:44px;box-shadow:var(--shadow-sm);cursor:pointer;border-radius:999px;padding:0 38px 0 16px;font-size:16px;font-weight:600}.select:after{content:"";border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);pointer-events:none;width:7px;height:7px;margin-top:-6px;position:absolute;top:50%;right:16px;transform:rotate(45deg)}.pill{background:var(--surface);border:1px solid var(--hairline);min-height:32px;color:var(--ink-soft);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:0 12px;font-size:13.5px;font-weight:600;display:inline-flex}.dot{background:var(--muted);border-radius:50%;flex:none;width:8px;height:8px}.pill.live .dot{background:var(--success);box-shadow:0 0 0 4px color-mix(in srgb, var(--success) 22%, transparent)}.chip{font-variant-numeric:tabular-nums;background:var(--paper-deep);color:var(--ink-soft);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:3px 9px;font-size:13px;font-weight:650;display:inline-flex}.chip.better{background:var(--success-soft);color:var(--success)}.chip.worse{background:var(--error-soft);color:var(--error)}.chip .icon{width:14px;height:14px}.input{border-radius:var(--radius-md);border:1px solid var(--hairline);background:var(--surface-raised);width:100%;min-height:52px;padding:0 16px;font-size:17px;transition:border-color .16s,box-shadow .16s;box-shadow:inset 0 1px 2px #1b19160a}.input:focus{border-color:var(--brass);box-shadow:0 0 0 4px color-mix(in srgb, var(--brass) 18%, transparent);outline:none}.form-error{color:var(--error);font-size:14px;font-weight:500}.brand{font-family:var(--font-display);letter-spacing:-.01em;align-items:center;gap:10px;font-size:20px;font-weight:600;display:inline-flex}.logo{flex:none;width:32px;height:32px}.sound-toggle{appearance:none;border:1px solid var(--hairline);background:var(--surface);height:44px;color:var(--ink);box-shadow:var(--shadow-sm);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:0 16px 0 13px;font-size:.875rem;font-weight:600;display:inline-flex}.sound-toggle .icon{width:20px;height:20px}.sound-toggle:active{transform:scale(.96)}.sound-toggle.on{background:var(--paper-deep);color:var(--ink-soft)}.home{gap:18px}.home-bar{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.home-greeting{flex-direction:column;gap:8px;margin:10px 0 4px;display:flex}.home-greeting h1{font-size:clamp(38px,11vw,48px);font-weight:560}.home-greeting p{font-size:17px}.hero{border-radius:var(--radius-xl);color:#f4eee3;box-shadow:inset 0 1px 0 #ffffff14, var(--shadow-lg);transition:transform .18s var(--ease-out);background:radial-gradient(120% 90% at 100% 0,#d8a65138,#0000 55%),radial-gradient(90% 80% at 0 100%,#7a1f2b59,#0000 60%),linear-gradient(160deg,#2a2621,#12100d);border:1px solid #ffffff12;flex-direction:column;gap:18px;padding:22px 22px 20px;text-decoration:none;display:flex;position:relative;overflow:hidden}.hero:active{transform:scale(.985)}.hero-staff{width:100%;height:auto;max-height:90px}.hero-staff line{stroke:#f4eee347;stroke-width:1.2px}.hero-staff ellipse{fill:#e2b866;animation:rise .52s var(--ease-out) both}.hero-text{flex-direction:column;gap:6px;display:flex}.hero-eyebrow{color:#f4eee399}.hero-title{font-family:var(--font-display);letter-spacing:-.015em;font-size:30px;font-weight:560;line-height:1.1}.hero-sub{color:#f4eee3b8;font-size:15px}.hero-cta{color:#1b1610;background:linear-gradient(#f0cf8a,#c99a45);border-radius:999px;align-self:flex-start;align-items:center;gap:6px;min-height:48px;padding:0 18px 0 22px;font-weight:650;display:inline-flex;box-shadow:inset 0 1px #ffffff80,0 8px 18px -8px #d8a651b3}.hero-cta .icon{width:18px;height:18px}.nav-row{min-height:76px;transition:transform .16s var(--ease-out);align-items:center;gap:14px;text-decoration:none;display:flex}a.nav-row:active{transform:scale(.985)}.nav-icon{background:var(--paper-deep);width:44px;height:44px;color:var(--ink);border-radius:13px;flex:none;place-items:center;display:grid}.nav-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.nav-title{font-size:17px;font-weight:650}.nav-sub{color:var(--muted);font-size:14px}.nav-go{width:20px;height:20px;color:var(--muted)}.sparkline{flex:none;width:96px;height:36px;overflow:visible}.sparkline-line{fill:none;stroke:var(--brass);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.sparkline-area{fill:color-mix(in srgb, var(--brass) 14%, transparent);stroke:none}.sparkline-dot{fill:var(--brass);stroke:var(--surface);stroke-width:2px}.home-footer{flex-wrap:wrap;justify-content:center;gap:4px;margin-top:4px;display:flex}.home-footer .btn{color:var(--muted);font-size:14.5px;font-weight:550}.nav-dino .nav-icon{background:0 0;padding:0;overflow:hidden}.nav-dino .nav-icon img{width:100%;height:100%}@media (width>=720px) and (orientation:landscape){.page.home{grid-template:"bar bar""greeting greeting""hero stats"min-content"hero scores"min-content"hero chords"min-content"hero rhythm"min-content"hero theory"min-content"hero carnet"min-content"hero boucles"min-content"hero dino"1fr"footer footer"/1.15fr 1fr;align-items:start;column-gap:18px;max-width:920px;display:grid}.home-bar{grid-area:bar}.home-greeting{grid-area:greeting}.hero{grid-area:hero;justify-content:space-between;height:100%}.home .nav-stats{grid-area:stats}.home .nav-scores{grid-area:scores;align-self:start}.home .nav-chords{grid-area:chords;align-self:start}.home .nav-rhythm{grid-area:rhythm;align-self:start}.home .nav-theory{grid-area:theory;align-self:start}.home .nav-carnet{grid-area:carnet;align-self:start}.home .nav-boucles{grid-area:boucles;align-self:start}.home .nav-dino{grid-area:dino;align-self:start}.home-footer{grid-area:footer}}.login{justify-content:center;gap:28px;max-width:420px;min-height:100dvh}.login-brand{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.login-brand .logo{filter:drop-shadow(0 14px 22px #1b191640);width:72px;height:72px}.login-brand h1{font-size:44px}.login-brand p{font-family:var(--font-display);color:var(--muted);font-size:18px;font-style:italic}.login form{flex-direction:column;gap:12px;display:flex}.login label{color:var(--ink-soft);font-size:14px;font-weight:600}.setup{padding-bottom:0}.clef-options{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.clef-option{text-align:center;border-radius:var(--radius-lg);background:var(--surface);border:1.5px solid var(--hairline);min-height:108px;box-shadow:var(--shadow-sm);cursor:pointer;transition:border-color .18s, box-shadow .18s, transform .14s var(--ease-out);flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 6px 12px;display:flex;position:relative}.clef-option:active{transform:scale(.98)}.clef-option.selected{border-color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb, var(--ink) 8%, transparent), var(--shadow-md)}.clef-option input{opacity:0;pointer-events:none;position:absolute}.clef-option:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}.clef-glyphs{justify-content:center;align-items:center;gap:2px;display:flex}.clef-glyph{width:32px;height:56px;color:var(--ink);place-items:center;font-family:Bravura,serif;font-size:34px;line-height:1;display:grid}.clef-glyph.clef-bass{padding-bottom:14px;font-size:30px}.clef-glyph.clef-treble{padding-top:4px}.clef-label{font-size:15px;font-weight:650}.exercise-options{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.exercise-option{gap:8px;min-height:96px}.mini-staff{flex:none;display:block;overflow:visible}.mini-staff line{stroke:var(--muted);stroke-opacity:.55;stroke-width:1px}.mini-staff ellipse{fill:var(--ink)}.selected .mini-staff ellipse{fill:var(--brass)}.movement-options{flex-direction:column;gap:8px;display:flex}.movement-option{border-radius:var(--radius-md);border:1.5px solid var(--hairline);background:var(--surface);cursor:pointer;align-items:center;gap:14px;min-height:56px;padding:8px 14px;transition:border-color .16s,background-color .16s;display:flex;position:relative}.movement-option.selected{border-color:var(--ink);background:var(--surface-raised)}.movement-option input{opacity:0;pointer-events:none;position:absolute}.movement-option:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}.movement-text{flex-direction:column;gap:1px;min-width:0;display:flex}.movement-label{font-size:15px;font-weight:650}.movement-text small{color:var(--muted);font-size:13px}.range-editor+.range-editor{border-top:1px solid var(--hairline);margin-top:18px;padding-top:14px}.range-staff{min-height:132px;margin:0 -6px 6px}.staff-notes svg{display:block;overflow:visible}.staff-notes .vf-label text{fill:var(--muted)}.range{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.range label{align-items:center;gap:10px;display:inline-flex}.field-hint{margin-top:8px;font-size:13.5px}.start-bar{z-index:10;margin:0 calc(-1 * var(--gutter));padding:18px var(--gutter) max(16px, env(safe-area-inset-bottom));background:linear-gradient(180deg, transparent, var(--paper) 38%);justify-content:center;display:flex;position:sticky;bottom:0}.start-bar .btn{max-width:560px}.result-title h1{font-size:clamp(36px,10vw,44px)}.result-main{flex-direction:column;align-items:center;gap:14px;padding:26px 18px 22px;display:flex}.ring-wrap{width:184px;height:184px;position:relative}.ring{width:100%;height:100%;transform:rotate(-90deg)}.ring circle{fill:none;stroke-width:9px}.ring-track{stroke:var(--paper-deep)}.ring-fill{stroke:var(--brass);stroke-linecap:round;stroke-dashoffset:var(--ring-offset);animation:ring-fill 1.1s var(--ease-out) both}@keyframes ring-fill{0%{stroke-dashoffset:var(--ring-length)}}.ring-label{flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:0}.ring-value{font-family:var(--font-display);letter-spacing:-.02em;font-size:46px;font-weight:560;line-height:1}.ring-caption{letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:650}.speed-value{font-family:var(--font-display);letter-spacing:-.03em;color:var(--speed);animation:rise .52s var(--ease-out) .12s both;font-size:84px;font-weight:560;line-height:.95}.weak-intervals{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.weak-intervals li{grid-template-columns:minmax(6.5em,auto) 1fr auto;align-items:baseline;gap:12px;padding:10px 0;display:grid}.weak-intervals li+li{border-top:1px solid var(--hairline)}.weak-interval-name{font-family:var(--font-display);font-size:18px;font-weight:600}.weak-interval-detail{color:var(--muted);font-size:14px}.weak-interval-time{font-size:14px;font-weight:650}.ring-detail{color:var(--ink-soft);text-align:center;font-size:14.5px}.result-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.stat{flex-direction:column;align-items:flex-start;gap:6px;padding:16px;display:flex}.stat-value{font-family:var(--font-display);letter-spacing:-.015em;font-size:30px;font-weight:560;line-height:1.1}.stat-value small{font-family:var(--font-ui);color:var(--muted);letter-spacing:0;font-size:13px;font-weight:550}.result-compare{text-align:center;margin-top:-8px;font-size:13px}.flawless{color:var(--success);align-items:center;gap:10px;font-weight:600;display:flex}.save-state{color:var(--muted);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.save-state .icon{width:18px;height:18px;color:var(--success)}.save-state.pending .icon{color:var(--brass)}.save-state.volatile,.save-state.volatile .icon{color:var(--error)}.result-actions{grid-template-columns:1fr 1fr;gap:12px;display:grid}.result-setup{align-self:center}.play{max-width:none;padding-top:env(safe-area-inset-top);overscroll-behavior:none;touch-action:manipulation;flex-direction:column;margin:0;display:flex;position:fixed;inset:0;overflow:hidden}.play-bar{height:56px;padding:0 calc(var(--gutter) - 10px);flex:none;align-items:center;gap:6px;display:flex}.play-progress{flex-direction:column;flex:1;align-items:center;gap:6px;min-width:0;padding:0 6px;display:flex}.play-count{letter-spacing:.02em;color:var(--ink-soft);font-size:13px;font-weight:650}.track{background:var(--paper-deep);border-radius:999px;width:100%;max-width:260px;height:4px;display:block;overflow:hidden}.fill{border-radius:inherit;background:linear-gradient(90deg, var(--brass), color-mix(in srgb, var(--brass) 70%, #fff));transform-origin:0;height:100%;transform:scaleX(var(--progress,0));transition:transform .42s var(--ease-out);display:block}.play-score{text-align:right;min-width:44px;color:var(--ink);flex:none;padding:0 4px;font-size:14px;font-weight:650}.score-percent{color:var(--muted);font-weight:550}.play-stage{min-height:0;padding:4px var(--gutter) 14px;flex:auto;grid-template:minmax(0,1fr)/minmax(0,1fr);display:grid}.sheet{border-radius:var(--radius-xl);background:linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 80%, transparent), transparent 40%), var(--surface);border:1px solid var(--hairline);min-width:0;min-height:0;box-shadow:var(--shadow-md);grid-template:minmax(0,1fr)/minmax(0,1fr);place-items:center;padding:12px 10px;transition:box-shadow .26s,border-color .26s;display:grid;position:relative;overflow:hidden}.sheet:after{content:"";pointer-events:none;opacity:0;transition:opacity .22s;position:absolute;inset:0}.sheet-wrong:after{opacity:1;background:radial-gradient(60% 55% at 50% 50%, color-mix(in srgb, var(--error) 10%, transparent), transparent 75%)}.countdown{flex-direction:column;align-items:center;gap:6px;display:flex}.countdown-number{font-family:var(--font-display);color:var(--ink);animation:count-beat .6s var(--ease-out) both;font-size:clamp(64px,18vmin,120px);font-weight:560;line-height:1}.countdown-caption{color:var(--muted);font-size:14px;font-weight:550}@keyframes count-beat{0%{opacity:0;transform:scale(1.35)}to{opacity:1;transform:none}}.staff{color:var(--ink)}.play-staff{contain:size;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;overflow:hidden}.play-staff svg{display:block;overflow:visible}.staff .vf-stavenote{transform-box:fill-box;transform-origin:50%}.play-staff:not(.phrase-staff)[data-state=wrong] .vf-notehead{color:var(--error)}.play-staff:not(.phrase-staff)[data-state=wrong] .vf-stavenote,.vf-phrase-note[data-state=wrong] .vf-stavenote{animation:.36s cubic-bezier(.36,.07,.19,.97) both note-shake}.tape-frame{position:relative}.tape-fixed,.tape-window{position:absolute;inset:0}.tape-window{overflow:hidden}.tape{transition:transform .2s cubic-bezier(.22,.61,.36,1);position:absolute;top:0;left:0}@media (prefers-reduced-motion:reduce){.tape{transition:none}}.vf-phrase-note[data-state=played]{color:color-mix(in srgb, var(--ink) 24%, transparent)}.vf-phrase-note[data-state=ahead]{color:var(--muted)}.vf-phrase-note[data-state=wrong] .vf-notehead{color:var(--error)}.vf-phrase-bar{color:var(--muted)}.phrase-cursor{stroke:none;fill:var(--brass);fill-opacity:.26}.phrase-staff[data-state=wrong] .phrase-cursor{fill:var(--error);fill-opacity:.16}@keyframes note-shake{0%,to{transform:none}18%{transform:translate(-6px)}38%{transform:translate(5px)}58%{transform:translate(-3px)}78%{transform:translate(2px)}}.piano{--keys-height:clamp(150px, 27dvh, 230px);padding:8px 8px max(10px, env(safe-area-inset-bottom));background:linear-gradient(#ffffff0f,#0000 30%),linear-gradient(#23201b,#0f0e0b);border-top:1px solid #ffffff14;flex:none;box-shadow:0 -10px 30px -18px #00000073}@media (orientation:landscape){.piano{--keys-height:clamp(80px, 30dvh, 170px)}.piano>*{max-width:600px;margin-left:auto;margin-right:auto}}.piano-caption{color:#f4eee39e;letter-spacing:.01em;padding:0 6px 8px;font-size:12.5px;font-weight:550}.keyboard{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none;border-radius:6px 6px 10px 10px;position:relative;overflow:hidden}.keyboard:before{content:"";z-index:2;background:linear-gradient(180deg, color-mix(in srgb, var(--felt) 85%, #000), var(--felt));height:7px;position:absolute;inset:0 0 auto;box-shadow:0 2px 4px #00000073}.keyboard-keys{height:var(--keys-height);display:flex;position:relative}.key{cursor:pointer}.key.white{background:linear-gradient(180deg, var(--key-ivory-bottom) 0%, var(--key-ivory-top) 14%, var(--key-ivory-top) 70%, var(--key-ivory-bottom) 100%);min-width:0;box-shadow:inset 0 -7px 0 var(--key-ivory-edge), inset 0 -8px 2px #0000000a, 0 1px 0 #0009;border-radius:0 0 7px 7px;flex:1 1 0;margin-right:2px;transition:box-shadow 70ms,background 70ms,transform 70ms;position:relative}.key.white:last-child{margin-right:0}.key.white.pressed{background:linear-gradient(180deg, var(--key-ivory-pressed) 0%, var(--key-ivory-bottom) 40%, var(--key-ivory-pressed) 100%);box-shadow:inset 0 -3px 0 var(--key-ivory-edge), inset 0 6px 10px #0000001f}.key.black{z-index:1;background:linear-gradient(180deg, var(--key-ebony-bottom), var(--key-ebony-top) 84%, #4a453e 90%, var(--key-ebony-bottom));border-radius:0 0 5px 5px;height:62%;transition:box-shadow 70ms,background 70ms;position:absolute;top:0;box-shadow:inset 0 -5px #000,inset 1px 0 #ffffff12,inset -1px 0 #ffffff0a,0 3px 5px #00000080}.key.black.pressed{background:linear-gradient(180deg, var(--key-ebony-bottom), var(--key-ebony-pressed) 92%, var(--key-ebony-bottom));box-shadow:inset 0 -2px #000,0 1px 2px #00000080}@media (orientation:landscape) and (height<=520px){.play{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:auto 1fr;display:grid}.play-bar{height:auto;width:calc(56px + env(safe-area-inset-left));padding:8px 0 8px env(safe-area-inset-left);flex-direction:column;grid-area:1/1;gap:10px}.play-progress{flex:1;min-height:0;padding:0}.track{width:4px;max-width:none;height:100%}.fill{transform-origin:top;transform:scaleY(var(--progress,0));width:100%;height:100%}.play-score{text-align:center;min-width:0;padding:0;font-size:12.5px;line-height:1.25}.score-percent{display:block}.play-count-unit{display:none}.play-stage{padding:8px var(--gutter) 8px 4px;grid-area:1/2}.sheet{border-radius:var(--radius-lg);padding:6px 8px}.piano{grid-area:2/1/auto/-1}.piano-caption{display:none}}.chords-setup .start-bar{background:linear-gradient(180deg, transparent, var(--paper) 16px)}.screen-lead{margin-top:8px;font-size:15px;line-height:1.45}.instrument-line{color:var(--ink-soft);align-items:center;gap:8px;margin-top:12px;font-size:14px;font-weight:600;display:flex}.instrument-line .icon{width:18px;height:18px;color:var(--brass);flex:none}.option-row{align-items:center;gap:4px;display:flex}.option-row .option{flex:1;min-width:0}.option-remove{color:var(--muted);flex:none}.grid-field{margin-top:18px}.grid-input{flex-direction:column;gap:8px;display:flex}.grid-input-row{gap:8px;display:flex}.grid-input-row .input{flex:1;min-width:0;min-height:48px;font-size:16px}.grid-input-row .input[aria-invalid=true]{border-color:var(--error)}.grid-input-row .btn{flex:none;min-height:48px}.grid-error{color:var(--error)}.key-field{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.key-field .select,.key-field select{max-width:100%}.chords-stage{flex-direction:column;gap:10px;min-width:0;display:flex}.chords-stage .sheet{flex:auto}.chord-grid{margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter);scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);mask-image:linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent);flex:none;gap:6px;list-style:none;display:flex;overflow-x:auto}.chord-grid::-webkit-scrollbar{display:none}.grid-chord{border-radius:var(--radius-sm);min-width:64px;height:56px;color:var(--muted);border:1.5px solid #0000;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:3px;padding:0 10px;transition:background .16s,border-color .16s,color .16s;display:flex}.grid-chord.pass-start{margin-left:8px;position:relative}.grid-chord.pass-start:before{content:"";background:var(--hairline);border-radius:1px;width:1.5px;position:absolute;top:10px;bottom:10px;left:-8px}.grid-name{letter-spacing:-.01em;white-space:nowrap;font-size:16px;font-weight:700}.grid-chord[data-state=played]{color:var(--ink-soft)}.grid-chord[data-state=current]{color:var(--ink);background:var(--surface-raised);border-color:var(--brass);box-shadow:0 0 0 3px color-mix(in srgb, var(--brass) 16%, transparent)}.grid-chord[data-state=current] .grid-name{font-size:18px}.grid-chord[data-wrong=true]{color:var(--error);border-color:var(--error);box-shadow:0 0 0 3px color-mix(in srgb, var(--error) 14%, transparent)}.grid-chord[data-wrong=true] .grid-name{animation:.36s cubic-bezier(.36,.07,.19,.97) both note-shake}.gap-chip{font-variant-numeric:tabular-nums;white-space:nowrap;background:color-mix(in srgb, var(--brass) 18%, transparent);color:var(--brass);animation:chip-in .22s var(--ease-out) both;border-radius:999px;align-items:center;padding:1px 7px;font-size:11.5px;font-weight:700;display:inline-flex}.gap-chip.optimal{background:var(--success-soft);color:var(--success)}.gap-chip.free{background:var(--paper-deep);color:var(--muted)}.gap-chip.missed{background:var(--error-soft);color:var(--error)}.timing-dot{background:var(--brass);border-radius:50%;width:6px;height:6px;margin-right:4px}.timing-dot[data-timing=onTime]{background:var(--success)}.timing-dot[data-timing=missed]{background:var(--error)}.beat-dots{gap:5px;display:inline-flex}.beat-dot{background:var(--paper-deep);border-radius:50%;width:6px;height:6px;transition:background 60ms}.beat-dot.on{background:var(--ink-soft)}.beat-dot.downbeat.on{background:var(--brass)}@keyframes chip-in{0%{opacity:0;transform:translateY(3px)scale(.92)}}.chord-staff .vf-chord-caption,.chord-staff .vf-chord-name[data-state=target],.chord-staff .vf-chord-name[data-state=previous],.chord-staff .vf-chord[data-state=target],.chord-staff .vf-chord[data-state=previous]{color:var(--muted)}.chord-staff .vf-chord-name[data-state=optimal],.chord-staff .vf-chord-caption[data-state=optimal],.chord-staff .vf-chord[data-state=optimal]{color:var(--brass)}.sheet-wrong .chord-staff .vf-chord-name[data-state=target]{color:var(--error)}.chord-sheet{flex-direction:column;place-items:stretch stretch;display:flex}.chord-sheet .chord-staff{flex:auto}.chord-feedback{text-align:center;color:var(--muted);flex:none;padding:4px 8px 6px;font-size:14.5px;font-weight:550}.chord-feedback strong{color:var(--ink-soft);font-weight:700}@media (orientation:landscape) and (height<=520px){.chord-feedback{display:none}.chords-stage{gap:6px}.grid-chord{height:48px}}.chord-piano{--keys-height:clamp(84px, 14dvh, 128px);--black-min:44px}.keyboard-rows{flex-direction:column;gap:6px;display:flex}.chord-piano .key.white.selected,.theory-piano .key.white.selected{background:linear-gradient(180deg, color-mix(in srgb, var(--brass) 40%, var(--key-ivory-pressed)) 0%, color-mix(in srgb, var(--brass) 28%, var(--key-ivory-bottom)) 60%, color-mix(in srgb, var(--brass) 40%, var(--key-ivory-pressed)) 100%);box-shadow:inset 0 -3px 0 color-mix(in srgb, var(--brass) 60%, var(--key-ivory-edge)), inset 0 6px 10px #0000001f}.chord-piano .key.black.selected,.theory-piano .key.black.selected{background:linear-gradient(180deg, var(--key-ebony-bottom), color-mix(in srgb, var(--brass) 70%, var(--key-ebony-top)) 92%, var(--key-ebony-bottom));box-shadow:inset 0 -2px #000,0 1px 2px #00000080}@media (orientation:landscape){.chord-piano{--keys-height:clamp(76px, 25dvh, 150px)}.chord-piano>*{max-width:none}}.rules-summary{color:var(--ink-soft);flex-direction:column;gap:6px;padding:0;font-size:15px;list-style:none;display:flex}.rules-summary .num{min-width:28px;color:var(--ink);font-weight:700;display:inline-block}.transitions{flex-direction:column;padding:0;list-style:none;display:flex}.transition{border-top:1px solid var(--hairline);padding:14px 0}.transition:first-child{border-top:none;padding-top:4px}.transition-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.transition-names{font-size:16px;font-weight:700}.transition-arrow{color:var(--muted);margin:0 2px;font-weight:500}.transition .gap-chip{padding:2px 9px;font-size:12.5px;animation:none}.transition .chord-staff{margin-top:6px}.rule-tags{flex-wrap:wrap;gap:6px;margin-top:4px;padding:0;list-style:none;display:flex}.rule-tags li{background:var(--paper-deep);color:var(--ink-soft);border-radius:999px;padding:2px 9px;font-size:12.5px;font-weight:600}:root{--cal-0:var(--paper-deep);--cal-1:color-mix(in srgb, var(--brass) 28%, var(--paper-deep));--cal-2:color-mix(in srgb, var(--brass) 52%, var(--paper-deep));--cal-3:color-mix(in srgb, var(--brass) 76%, var(--paper-deep));--cal-4:var(--brass);--unrated:var(--paper-deep)}.stats{max-width:680px}.stats-clef{flex-direction:column;gap:10px;display:flex}.stats-clef .field{margin:0}.stats-clef>.field:first-child .segmented{grid-auto-columns:minmax(max-content,1fr)}.stats-clef>.field:first-child .segmented label{padding:0 10px}@media (width<=520px){.stats-clef>.field:first-child .segmented{grid-template-columns:1fr 1fr;grid-auto-flow:row}.stats-clef>.field:first-child .segmented label:nth-child(5){grid-column:1/-1}}.stats-pair{grid-template-columns:1fr 1fr;gap:10px;display:grid}.stats-pair .field{margin:0}@media (width<=359px){.stats-pair{grid-template-columns:1fr}}.stats-clef legend{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.stats .card>h2,.tiles-title{margin-bottom:14px}.tiles-title{font-family:var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:11.5px;font-weight:650}.tiles{grid-template-columns:repeat(3,1fr);gap:18px 12px;display:grid}.tile{flex-direction:column;gap:2px;min-width:0;display:flex}.tile-label{color:var(--muted);font-size:12.5px;line-height:1.3}.tile-value{font-family:var(--font-display);letter-spacing:-.015em;font-variant-numeric:tabular-nums;font-size:26px;font-weight:560;line-height:1.15}.tile-unit{color:var(--muted);font-size:12px}.empty p{line-height:1.55}.empty a{color:var(--brass);font-weight:600}.chart{margin:0 -6px}.chart-legend{color:var(--ink-soft);flex-wrap:wrap;gap:6px 16px;margin:2px 0 10px;font-size:13px;display:flex}.chart-legend>span{align-items:center;gap:6px;display:inline-flex}.swatch{border-radius:50%;width:10px;height:10px;display:inline-block}.swatch.speed{background:var(--speed)}.swatch.accuracy{background:var(--accuracy)}.swatch.first-try{background:var(--speed)}.swatch.missed{background:var(--error)}.swatch.target{border-top:2px dashed var(--muted);border-radius:0;width:16px;height:0}.mastery-keys{width:100%;height:auto;margin:4px 0 10px;display:block}.mastery-keys [role=button]{cursor:pointer;outline:none}.mastery-key.white{fill:var(--key-ivory-top);stroke:var(--key-ivory-edge);stroke-width:.8px}.mastery-key.white.unrated{fill:var(--unrated)}.mastery-key.black{fill:var(--key-ebony-bottom);stroke:var(--key-ebony-bottom);stroke-width:.8px}.mastery-selected{fill:none;stroke:var(--ink);stroke-width:2.4px;pointer-events:none}.mastery-keys [role=button]:focus-visible .mastery-key{stroke:var(--brass);stroke-width:2px}.mastery-percent,.mastery-octave{text-anchor:middle;font-variant-numeric:tabular-nums;font-size:9.5px;font-family:var(--font-ui)}.mastery-percent{fill:var(--ink);font-weight:650}.mastery-octave{fill:var(--muted)}.note-history{border-top:1px solid var(--hairline);animation:rise .32s var(--ease-out) both;margin-top:14px;padding-top:14px}.note-history h3{font-family:var(--font-display);margin-bottom:4px;font-size:24px;font-weight:560}.note-history>p:first-of-type{color:var(--ink-soft);margin-bottom:10px;font-size:14.5px}.work-on{font-variant-numeric:tabular-nums;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.work-on li{grid-template-columns:5em 1fr 3.2em;align-items:center;gap:12px;display:grid}.work-on-name{font-family:var(--font-display);font-size:18px;font-weight:600}.work-on-bar{background:var(--paper-deep);border-radius:999px;height:8px;overflow:hidden}.work-on-bar span{border-radius:inherit;height:100%;display:block}.work-on-name small{font-family:var(--font-ui);color:var(--muted);font-size:12px;font-weight:600}.mastery-staff+.mastery-staff{margin-top:10px}.mastery-staff h3{margin:4px 0 0}.work-on-value{text-align:right;font-size:14px;font-weight:650}.interval-grid{font-variant-numeric:tabular-nums;grid-template-columns:auto 1fr 1fr;align-items:center;gap:6px 8px;margin:2px 0 12px;display:grid}.interval-row{display:contents}.interval-direction{text-align:center;white-space:nowrap;color:var(--muted);font-size:12.5px;font-weight:600}.interval-name{font-family:var(--font-display);padding-right:6px;font-size:17px;font-weight:600}.interval-cell{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--mastery) 24%, var(--surface));height:40px;box-shadow:inset 0 -4px 0 var(--mastery);color:var(--ink);font:inherit;cursor:pointer;border:0;font-size:15px;font-weight:650}.interval-cell.unrated{background:var(--unrated);box-shadow:none;color:var(--muted)}.interval-cell.unplayed{box-shadow:inset 0 0 0 1px var(--hairline);background:0 0}.interval-cell[aria-pressed=true]{outline:2.4px solid var(--ink);outline-offset:1px}.interval-cell:focus-visible{outline:2px solid var(--brass);outline-offset:1px}.work-on.intervals li{grid-template-columns:7.5em 1fr 3.2em}.tiles.speed-first [data-testid$=-speed] .tile-value:not(.empty){color:var(--speed)}.calendar{width:100%;height:auto;display:block}.calendar-label{fill:var(--muted);font-size:7.5px;font-family:var(--font-ui)}.calendar-day.level-0,.calendar-swatch.level-0{fill:var(--cal-0);background:var(--cal-0)}.calendar-day.level-1,.calendar-swatch.level-1{fill:var(--cal-1);background:var(--cal-1)}.calendar-day.level-2,.calendar-swatch.level-2{fill:var(--cal-2);background:var(--cal-2)}.calendar-day.level-3,.calendar-swatch.level-3{fill:var(--cal-3);background:var(--cal-3)}.calendar-day.level-4,.calendar-swatch.level-4{fill:var(--cal-4);background:var(--cal-4)}.calendar-day.today{stroke:var(--ink);stroke-width:1.2px}.calendar-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.calendar-footer .hint{font-size:13px}.calendar-scale{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:inline-flex}.calendar-swatch{border-radius:3px;width:11px;height:11px;display:inline-block}.miditest .card{flex-direction:column;gap:8px;display:flex}.miditest h2.eyebrow{margin:0}.status{font-size:17px;font-weight:650}.status-ready{color:var(--success)}.status-requesting{color:var(--brass)}.status-unsupported,.status-denied{color:var(--error)}.inputs{margin:0;padding-left:20px}.last-note{text-align:center;align-items:center;padding:26px 16px}.note-big{font-family:var(--font-display);letter-spacing:-.02em;font-size:64px;font-weight:560;line-height:1}.note-sub{color:var(--muted)}.unified{font-family:var(--font-display);font-size:28px;font-weight:560}.piano-inline{--keys-height:120px;border-radius:var(--radius-md);padding-bottom:8px}.log{font-variant-numeric:tabular-nums;margin:0;padding:0;font-size:14px;list-style:none}.log li{border-bottom:1px solid var(--hairline);grid-template-columns:5.5em 1fr 4.5em 3.5em;gap:8px;padding:6px 0;display:grid}.log li.noteOff{color:var(--muted)}.diag p{font-size:14px}.ua{color:var(--muted);word-break:break-all}.key-grid{font-variant-numeric:tabular-nums;grid-template-columns:repeat(12,minmax(0,1fr));align-items:center;gap:3px;margin:2px 0 14px;display:grid}.key-grid-title{grid-column:1/-1;margin:0 0 4px}.key-grid-key{text-align:center;white-space:nowrap;letter-spacing:-.03em;color:var(--muted);font-size:10.5px;font-weight:600}.key-grid-row{display:contents}.key-grid-name{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);grid-column:1/-1;margin-top:8px;font-size:16px;font-weight:600;overflow:hidden}.key-cell{background:color-mix(in srgb, var(--mastery) 24%, var(--surface));min-width:0;height:36px;box-shadow:inset 0 -3px 0 var(--mastery);color:var(--ink);font:inherit;letter-spacing:-.02em;cursor:pointer;border:0;border-radius:6px;padding:0;font-size:11.5px;font-weight:650}.key-cell.unrated{background:var(--unrated);box-shadow:none;color:var(--muted)}.key-cell.unplayed{box-shadow:inset 0 0 0 1px var(--hairline);background:0 0}.key-cell[aria-pressed=true]{outline:2.4px solid var(--ink);outline-offset:1px}.key-cell:focus-visible{outline:2px solid var(--brass);outline-offset:1px}@media (width>=560px){.key-grid{gap:5px}.key-grid-key{font-size:12.5px}.key-cell{height:40px;font-size:13.5px}}.key-detail h3 small{font-family:var(--font-ui);color:var(--muted);font-size:15px;font-weight:600}.work-on.chords li,.work-on.theory li{grid-template-columns:minmax(0,1fr) 3.4em 3.2em}.work-on.theory .work-on-progression{white-space:normal}.work-on.chords .work-on-name,.work-on.theory .work-on-name{flex-direction:column;min-width:0;line-height:1.2;display:flex}.work-on-progression{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cell-grid-group+.cell-grid-group{margin-top:14px}.cell-grid-group h3{margin:0 0 8px}.cell-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.cell-tile,.signature-cell{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--mastery) 24%, var(--surface));min-width:0;box-shadow:inset 0 -4px 0 var(--mastery);font-variant-numeric:tabular-nums;flex-direction:column;justify-content:space-between;align-items:center;gap:2px;padding:6px 4px 7px;display:flex}.cell-tile.unrated,.signature-cell.unrated{background:var(--unrated);box-shadow:none}.cell-tile.unplayed,.signature-cell.unplayed{box-shadow:inset 0 0 0 1px var(--hairline);background:0 0}.cell-tile .rhythm-figure{place-items:center;width:100%;min-height:39px;display:grid}.cell-tile.unplayed .rhythm-figure{opacity:.55}.cell-tile-value,.signature-value{min-height:1.3em;color:var(--ink);font-size:13.5px;font-weight:650}.unrated>.cell-tile-value,.unrated>.signature-value{color:var(--muted)}.signature-row{grid-template-columns:repeat(5,1fr);gap:8px;margin:2px 0 12px;padding:0;list-style:none;display:grid}.signature-fraction{font-family:var(--font-display);flex-direction:column;align-items:center;padding-top:2px;font-size:21px;font-weight:650;line-height:.95;display:flex}.work-on.cells li{grid-template-columns:5.4em minmax(0,1fr)}.work-on-figure{place-items:center start;display:grid}.work-on-cell{flex-direction:column;gap:6px;min-width:0;display:flex}.work-on-cell-name{font-size:14.5px;font-weight:600;line-height:1.25}.work-on-cell-bar{grid-template-columns:1fr 3.2em;align-items:center;gap:12px;display:grid}.cell-grid-wrap+.hint,.confusion-list+.hint{margin-top:14px}.quiz-modes{grid-template-columns:1fr 1fr;gap:12px;display:grid}.quiz-mode{flex-direction:column;gap:2px;min-width:0;display:flex}.quiz-mode-title{font-size:14px;font-weight:650}.quiz-subtitle{margin:18px 0 8px}.score-cards{flex-direction:column;gap:12px;display:flex}.score-card{min-height:112px;transition:transform .16s var(--ease-out);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px 16px;padding:16px 16px 16px 14px;text-decoration:none;display:grid}.score-card:active{transform:scale(.985)}.score-card-staff{border-radius:var(--radius-md);background:var(--paper-deep);flex:none;width:92px;height:auto;padding:8px 6px;overflow:visible}.score-card-staff line,.score-card-staff path{stroke:color-mix(in srgb, var(--ink) 38%, transparent);stroke-width:1.1px;fill:none}.score-card-staff ellipse{fill:var(--brass)}.score-card-staff ellipse.bass{fill:var(--ink-soft)}.score-card-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.score-card-title{font-family:var(--font-display);letter-spacing:-.01em;font-size:21px;font-weight:560;line-height:1.15}.score-card-composer{color:var(--muted);font-size:14px}.score-card-meta{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;font-size:13px;display:flex}.score-card-played{border-top:1px solid var(--hairline);flex-direction:column;grid-column:1/-1;gap:4px;padding-top:12px;display:flex}.score-card-figures{gap:28px;display:flex}.score-card-figure{white-space:nowrap;align-items:baseline;gap:8px;display:inline-flex}.score-card-figure .num{font-family:var(--font-display);color:var(--ink);font-size:22px;font-weight:560}.score-card-how{color:var(--muted);font-size:13px}.score-card-go{width:20px;height:20px;color:var(--muted)}.library-empty{color:var(--ink-soft);flex-direction:column;align-items:flex-start;gap:12px;display:flex}.score-box{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;color:var(--ink);position:relative;overflow:auto}.score-osmd{isolation:isolate;position:relative}.score-box.score-line{flex-direction:column;display:flex}.score-line .score-osmd{width:max-content;margin-block:auto}.score-osmd svg{display:block}.score-loading{color:var(--muted);place-items:center;font-size:14px;display:grid}.score-preview .score-box{border-radius:var(--radius-lg);background:linear-gradient(180deg, color-mix(in srgb, var(--surface-raised) 80%, transparent), transparent 40%), var(--surface);border:1px solid var(--hairline);height:clamp(220px,42dvh,420px);box-shadow:var(--shadow-md);padding:6px 4px}.option-list{flex-direction:column;gap:8px;display:flex}.option{border-radius:var(--radius-md);border:1.5px solid var(--hairline);background:var(--surface-raised);cursor:pointer;align-items:center;gap:12px;min-height:56px;padding:10px 12px 10px 14px;transition:border-color .16s,box-shadow .16s;display:flex;position:relative}.option.selected{border-color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb, var(--ink) 7%, transparent)}.option.disabled{opacity:.45;cursor:default}.option input{opacity:0;pointer-events:none;position:absolute}.option:has(input:focus-visible){outline:2px solid var(--brass);outline-offset:2px}.option-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.option-label{font-size:15.5px;font-weight:650}.option-hint{color:var(--muted);font-size:13.5px;line-height:1.35}.option-check{border:1.5px solid var(--hairline);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.option.selected .option-check{border-color:var(--ink);background:var(--ink);color:var(--surface)}.option-check .icon{stroke-width:2.5px;width:15px;height:15px}.segmented label.disabled{opacity:.4;cursor:default}.stepper{justify-content:space-between;align-items:center;gap:12px;display:flex}.stepper .icon-btn:disabled{opacity:.4}.stepper-value{font-family:var(--font-display);flex-direction:column;align-items:center;font-size:34px;font-weight:560;line-height:1.05;display:flex}.stepper-value small{font-family:var(--font-ui);color:var(--muted);font-size:12.5px;font-weight:550}.measure-range{justify-content:flex-start}.start-inner{flex-direction:column;gap:8px;width:100%;max-width:560px;display:flex}.start-blocker{text-align:center;color:var(--ink-soft);font-size:14px;font-weight:600}.score-sheet{place-items:stretch stretch;padding:0}.score-play .play-count{white-space:nowrap}@media (width<=400px) and (orientation:portrait){.score-play .score-percent{display:none}}.score-sheet .score-box{contain:size;width:100%;min-width:0;height:100%;min-height:0;padding:6px 4px}.zoom-buttons{flex:none;display:flex}.zoom-btn{font-family:var(--font-display);color:var(--ink-soft);justify-content:center;align-items:center;font-size:17px;font-weight:600;display:inline-flex}.zoom-btn:disabled{opacity:.35}.zoom-sign{font-family:var(--font-ui);margin-left:1px;font-size:13px}@media (orientation:landscape) and (height<=520px){.zoom-buttons{flex-direction:column;gap:2px}.play-measure{display:block}.play-pass{justify-content:center;margin:0 0 2px;display:flex}.play-separator{display:none}}.score-countdown{z-index:2;background:color-mix(in srgb, var(--surface) 72%, transparent);-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);justify-content:center;position:absolute;inset:0}.play-pass{color:var(--brass);align-items:center;gap:2px;margin-right:6px;display:inline-flex}.play-pass .icon{stroke-width:2.2px;width:13px;height:13px}.measure-list,.pass-list{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.measure-row{border:0;border-top:1px solid var(--hairline);width:100%;min-height:48px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;padding:6px 0;display:flex}.measure-list li:first-child .measure-row{border-top:0}.measure-number{font-family:var(--font-display);min-width:72px;font-size:19px;font-weight:560}.measure-go{color:var(--muted);align-items:center;gap:4px;margin-left:auto;font-size:14px;font-weight:600;display:inline-flex}.measure-go .icon{width:16px;height:16px}.measure-row:active .measure-go{color:var(--ink)}.pass-list li{grid-template-columns:24px 1fr auto auto;align-items:center;gap:12px;min-height:36px;font-size:14px;display:grid}.pass-number{color:var(--muted);font-weight:650}.pass-bar{background:var(--paper-deep);border-radius:999px;height:6px;overflow:hidden}.pass-bar span{border-radius:inherit;background:var(--brass);transform-origin:0;height:100%;transform:scaleX(var(--progress,0));display:block}.pass-accuracy{text-align:right;min-width:46px;font-weight:650}.pass-time{color:var(--muted);text-align:right;min-width:40px}.score-setup .start-bar{background:linear-gradient(180deg, transparent, var(--paper) 16px)}.latency-row{cursor:default}.latency-row .label{min-width:0}.latency-row .num{color:var(--brass);margin-left:6px}.latency-btn{flex:none;min-height:44px;padding:0 16px}.calibration-card{text-align:center;place-items:center;min-height:220px;display:grid}.calibration-status{flex-direction:column;align-items:center;gap:10px;max-width:34ch;display:flex}.calibration-value{font-family:var(--font-display);letter-spacing:-.02em;font-size:clamp(48px,14vmin,72px);font-weight:560;line-height:1}.calibration-dots{gap:10px;margin:6px 0 0;padding:0;list-style:none;display:flex}.calibration-dots li{border:1.5px solid var(--hairline);border-radius:50%;width:14px;height:14px}.calibration-dots li.heard{border-color:var(--muted)}.calibration-dots li.answered{border-color:var(--brass);background:var(--brass)}.calibration-actions{flex-direction:column;gap:10px;display:flex}.calibration-buttons{grid-template-columns:1fr 1fr;gap:12px;display:grid}.result-sheet{flex-direction:column;gap:10px;display:flex}.result-sheet .score-preview .score-box{height:clamp(260px,60dvh,640px);box-shadow:none}.mark-legend{color:var(--ink-soft);flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;font-size:13.5px;list-style:none;display:flex}.mark-legend li{align-items:center;gap:7px;display:inline-flex}.mark-legend li:before{content:"";border-radius:50%;width:10px;height:10px}.mark-legend .on-time:before{background:var(--success)}.mark-legend .off-time:before{background:var(--brass)}.mark-legend .missed:before{background:var(--error)}.tempo-result .ring-detail+.ring-detail{color:var(--muted);margin-top:-8px}.leading-detail{margin:2px 0 6px}.transition-measure{color:var(--muted);font-size:14px;font-weight:500}.leading-staff-room{height:150px}.leading .transition:last-child{padding-bottom:0}.score-transport{z-index:3;border:1px solid var(--hairline);background:color-mix(in srgb, var(--surface) 88%, transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:var(--shadow-sm);border-radius:999px;gap:2px;padding:3px;display:flex;position:absolute;bottom:10px;right:10px}.transport-btn{appearance:none;height:44px;color:var(--ink);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:5px;padding:0 14px 0 11px;font-size:.875rem;font-weight:600;display:inline-flex}.transport-btn .icon{width:20px;height:20px}.transport-btn:active:not(:disabled){background:var(--paper-deep)}.transport-btn:disabled{opacity:.4;cursor:default}.start-buttons{gap:10px;display:flex}.start-buttons .btn-primary{flex:auto;min-width:0}.listen-btn{flex:none;align-items:center;gap:8px;display:inline-flex}.listen-btn .icon{fill:currentColor;width:18px;height:18px}.play-listen{color:var(--ink-soft);align-items:center;gap:6px;font-weight:600;display:inline-flex}.play-listen .icon{width:20px;height:20px}@media (orientation:landscape) and (height<=520px){.play-listen{flex-direction:column;gap:2px;font-size:12.5px}}.listen-bpm{text-align:center;align-self:center;min-width:30px;font-size:15px;font-weight:650}@media (orientation:portrait){.play-listen-label{display:none}}@media (orientation:portrait) and (width<=400px){.play-listen{display:none}}.meter-glyph{font-family:var(--font-display);font-variant-numeric:lining-nums;letter-spacing:-.02em;flex-direction:column;align-items:center;font-size:19px;font-weight:640;line-height:.86;display:inline-flex}.meter-picker label{min-height:52px}.meter-picker .meter-glyph{font-size:17px}.meter-all{font-size:13px;font-weight:650}.fiches{flex-direction:column;gap:10px;margin-top:12px;display:flex}.fiche{border-radius:var(--radius-md);background:color-mix(in srgb, var(--brass-soft) 55%, var(--surface));border:1px solid color-mix(in srgb, var(--brass) 18%, var(--hairline));grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 12px 12px 16px;display:grid}.fiche>.meter-glyph{color:var(--ink);min-width:30px;font-size:30px}.fiche.compact{gap:12px;padding:8px 8px 8px 14px}.fiche.compact>.meter-glyph{min-width:26px;font-size:22px}.fiche-text{flex-direction:column;gap:6px;min-width:0;display:flex}.fiche-text p{color:var(--ink-soft);margin:0;font-size:14.5px;line-height:1.4}.fiche-text .fiche-feel{color:var(--ink);font-weight:600}.fiche-count{flex-wrap:wrap;align-items:baseline;gap:2px 7px;font-size:14px;display:flex}.count-pulse{white-space:nowrap;gap:5px;display:inline-flex}.fiche-count .muted{margin-right:1px}.fiche-count .count-beat{color:var(--ink);font-variant-numeric:tabular-nums;font-weight:700}.fiche-count .count-sub{color:var(--muted);font-weight:550}.fiche-play{background:var(--surface);border:1px solid var(--hairline)}.fiche-play .icon{fill:currentColor}.fiche-play.playing{color:var(--brass);border-color:color-mix(in srgb, var(--brass) 45%, var(--hairline))}.fiche-play.playing .icon{fill:none}.level-cells{flex-direction:column;gap:10px;display:flex}.level-cells.field{margin-top:12px}.level-kind-name{color:var(--muted);margin-bottom:4px;font-size:12.5px;font-weight:650;display:block}.cell-list{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.cell-item{border-radius:var(--radius-sm);background:var(--paper-deep);align-items:center;gap:4px;padding:2px 12px 2px 4px;display:flex}.cell-name{color:var(--ink-soft);font-size:13px;font-weight:600}.rhythm-figure svg{display:block}.rhythm-stage{flex:none;height:clamp(176px,32dvh,280px)}.rhythm-sheet{padding:10px 0}.rhythm-tape{place-items:center start}.rhythm-cursor{stroke:none;fill:var(--brass);fill-opacity:.24}.rhythm-tape .tape{will-change:transform;transition:none}.rhythm-play[data-scroll=false] .rhythm-stage{flex:auto;height:auto;min-height:0}.rhythm-play[data-scroll=false] .rhythm-zone:not(.pad-zone){flex:none}.rhythm-page{place-items:center stretch}.page-window{width:100%;overflow:hidden}.page-lines{transition:transform .24s cubic-bezier(.22,1,.36,1)}.vf-rnote[data-outcome=onTime] .vf-notehead{color:var(--success)}.vf-rnote[data-outcome=early] .vf-notehead,.vf-rnote[data-outcome=late] .vf-notehead{color:var(--brass)}.vf-rnote[data-outcome=missed] .vf-notehead{color:var(--error)}.staff .vf-count{color:var(--ink-soft)}.staff .vf-count-muted,.vf-rhythm-bar{color:var(--muted)}.rhythm-extra,.vf-rhythm-extra-mark{fill:var(--error);color:var(--error);stroke:none}.rhythm-countdown .countdown-number{font-size:clamp(48px,12vmin,88px)}.tempo-mark{white-space:nowrap;align-items:baseline;display:inline-flex}.pulse-note{align-self:center;width:auto;height:1.05em;transform:translateY(-.08em)}.pulse{flex:none;place-items:center;width:28px;height:28px;display:grid}.pulse-dot{background:var(--ink-soft);opacity:.4;border-radius:50%;width:12px;height:12px}.pulse-dot[data-downbeat=true]{background:var(--brass)}.rhythm-meter{color:var(--ink);font-weight:750}.rhythm-zone{min-height:0;margin:0 var(--gutter) max(14px, env(safe-area-inset-bottom));border-radius:var(--radius-xl);background:radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--surface) 70%, transparent), transparent 70%), var(--paper-deep);border:1px solid var(--hairline);text-align:center;flex-direction:column;flex:auto;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex}.zone-text{max-width:30ch;color:var(--ink-soft);align-items:center;gap:8px;margin:0;font-size:15px;font-weight:550;line-height:1.4;display:flex}.zone-text .icon{width:20px;height:20px;color:var(--brass);flex:none}.zone-score{flex-direction:column;align-items:center;gap:2px;margin:0;display:flex}.zone-count{font-family:var(--font-display);color:var(--ink);font-size:clamp(40px,9vmin,64px);font-weight:560;line-height:1}.zone-caption{color:var(--muted);font-size:13.5px;font-weight:550}@media (orientation:portrait) and (width<=400px){.rhythm-play[data-mode=listen] .play-count-unit{display:none}}@media (orientation:landscape) and (height<=520px){.rhythm-play{grid-template-rows:auto minmax(0,1fr)}.rhythm-play .play-bar{grid-row:1/-1}.rhythm-stage{grid-area:1/2;height:clamp(150px,54dvh,230px)}.rhythm-sheet{padding:6px 0}.rhythm-play[data-scroll=false]{grid-template-rows:minmax(0,1fr) auto}.rhythm-play[data-scroll=false] .rhythm-stage,.rhythm-play.with-pad[data-scroll=false] .rhythm-stage{height:auto}.rhythm-zone{margin:0 var(--gutter) max(8px, env(safe-area-inset-bottom)) 4px;border-radius:var(--radius-lg);flex-direction:row;grid-area:2/2;gap:20px;padding:8px 16px}.zone-count{font-size:36px}.rhythm-play .play-count{text-align:center;flex-direction:column;align-items:center;gap:2px;display:flex}.rhythm-play .play-separator,.rhythm-play .play-count-unit{display:none}}.result-counts{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:14px 8px;display:grid}.count-cell{flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex}.count-value{font-family:var(--font-display);font-size:26px;font-weight:560;line-height:1}.count-label{color:var(--muted);text-align:center;font-size:11.5px;font-weight:600;line-height:1.2}.count-cell.onTime .count-value{color:var(--success)}.count-cell.early .count-value,.count-cell.late .count-value{color:var(--brass)}.count-cell.missed .count-value{color:var(--error)}.timing-card{flex-direction:column;gap:12px;display:flex}.timing-row{color:var(--ink-soft);align-items:center;gap:10px;font-size:15px;display:flex}.timing-row>span:not(.chip){flex:1;min-width:0}.timing-row .icon{width:20px;height:20px;color:var(--brass);flex:none}.rhythm-result-sheet{flex-direction:column;gap:10px;display:flex}.rhythm-lines svg{display:block;overflow:visible}.mark-legend .extra:before{background:var(--error);border-radius:2px;width:3px;height:11px}.work-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.work-item{border-radius:var(--radius-md);background:var(--paper-deep);align-items:center;gap:10px;padding:4px 12px 4px 4px;display:flex}.work-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.work-name{font-size:14.5px;font-weight:600;line-height:1.3}.work-mastery{color:var(--muted);font-size:12.5px;font-weight:550}.pad{border-radius:var(--radius-xl);background:radial-gradient(90% 80% at 50% 30%, color-mix(in srgb, var(--surface-raised) 85%, transparent), transparent 75%), var(--surface);border:1px solid var(--hairline);min-width:120px;min-height:120px;box-shadow:var(--shadow-md), inset 0 -3px 0 color-mix(in srgb, var(--ink) 6%, transparent);cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;place-items:center;display:grid;position:relative;overflow:hidden}.pad-light{pointer-events:none;opacity:0;background:radial-gradient(75% 70% at 50% 50%, color-mix(in srgb, var(--brass) 38%, transparent), color-mix(in srgb, var(--brass) 12%, transparent));position:absolute;inset:0}.pad-label{font-family:var(--font-display);letter-spacing:-.01em;color:var(--muted);pointer-events:none;font-size:clamp(22px,6vmin,32px);font-weight:520}.pad-over{pointer-events:none;background:var(--surface);place-items:center;display:grid;position:absolute;inset:0}.rhythm-zone.pad-zone{background:0 0;border:0;justify-content:stretch;align-items:stretch;gap:8px;padding:0}.pad-zone .rhythm-pad{flex:auto;min-height:max(120px,40dvh)}.pad-score{flex-direction:row;justify-content:center;align-items:baseline;gap:8px}.pad-score .zone-count{font-size:30px}.calibration.pad-running{max-width:none;padding:calc(env(safe-area-inset-top) + 8px) var(--gutter) max(14px, env(safe-area-inset-bottom));grid-template:auto auto minmax(0,1fr) auto/minmax(0,1fr);gap:12px;margin:0;display:grid;position:fixed;inset:0;overflow:hidden}.calibration.pad-running .screen-title{display:none}.calibration.pad-running .calibration-card{margin:0}.calibration-pad{min-height:120px}@media (orientation:landscape) and (height<=520px){.calibration.pad-running{grid-template:auto minmax(0,1fr) auto/minmax(0,1fr) minmax(0,1fr)}.calibration.pad-running .topbar{grid-column:1}.calibration.pad-running .calibration-card{grid-area:2/1;min-height:0;overflow:hidden}.calibration.pad-running .calibration-actions{grid-area:3/1}.calibration.pad-running .calibration-pad{grid-area:1/2/-1}.rhythm-play.with-pad .rhythm-stage{height:clamp(140px,50dvh,220px)}.rhythm-zone.pad-zone{flex-direction:row;align-items:stretch;gap:12px;padding:0}.pad-zone .pad-score{flex-direction:column;flex:1 1 0;justify-content:center;align-items:center}.pad-zone .rhythm-pad{border-radius:var(--radius-lg);flex:1 1 0;min-height:120px}.pad-zone .pad-score .zone-count{font-size:34px}}.meter-picker.multi label.selected .meter-glyph{color:var(--ink)}.quiz-play{touch-action:manipulation}.quiz-mode-name{color:var(--ink);font-weight:700}.quiz-stage{min-height:0;padding:4px var(--gutter) 12px;flex:auto;grid-template:minmax(0,1fr)/minmax(0,1fr);display:grid}.quiz-sheet{flex-direction:column;justify-content:center;align-items:stretch;gap:10px;padding:12px 14px;display:flex}.gap-measure{place-items:center;width:100%;display:grid}.gap-measure svg{display:block}.gap-measure.fill-height{flex:1 1 0;min-height:0;max-height:150px}.gap-box{fill:color-mix(in srgb, var(--brass) 8%, transparent);stroke:var(--brass);stroke-width:1.4px;stroke-dasharray:5 4}.quiz-solved{border-bottom:1px dashed var(--hairline);color:var(--muted);animation:solved-in .26s var(--ease-out) both;align-items:center;gap:6px;padding-bottom:8px;display:flex}.quiz-solved>.icon{width:18px;height:18px;color:var(--success);flex:none}.quiz-solved .gap-measure{opacity:.8;flex:1;min-width:0}.quiz-solved .vf-gap-fill{color:var(--success)}@keyframes solved-in{0%{opacity:0;transform:translateY(6px)}}.quiz-prompt{text-align:center;color:var(--ink-soft);margin:0;font-size:14.5px;font-weight:550}.quiz-answers{padding:0 var(--gutter) max(14px, env(safe-area-inset-bottom));flex:none;gap:10px;display:grid}.quiz-answers.figures{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-answer{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--hairline);min-width:0;min-height:64px;box-shadow:var(--shadow-sm);color:var(--ink);font:inherit;cursor:pointer;place-items:center;padding:8px 10px;transition:background-color .16s,border-color .16s;display:grid;position:relative}.quiz-answer:active{background:var(--surface-raised)}.quiz-answer.wrong{border:2px solid var(--lacquer);background:var(--paper-deep);color:var(--muted);animation:.36s cubic-bezier(.36,.07,.19,.97) both note-shake}.quiz-answer.right{border:2px solid var(--success);background:var(--success-soft)}.figure-answer .rhythm-figure.fit{place-items:center;width:100%;display:grid}.figure-answer .rhythm-figure svg{display:block}.meter-sheet{align-items:center}.meter-listen{flex-direction:column;align-items:center;gap:14px;display:flex}.listen-wave{align-items:center;gap:6px;height:44px;display:flex}.listen-wave span{background:var(--brass);opacity:.45;border-radius:3px;width:6px;height:14px}.listen-wave.playing span{animation:.9s ease-in-out infinite wave;animation-delay:calc(var(--i) * .11s)}@keyframes wave{0%,to{opacity:.45;height:12px}50%{opacity:1;height:40px}}@media (prefers-reduced-motion:reduce){.listen-wave.playing span{opacity:1;animation:none}}.meter-sheet.found{justify-content:flex-start}.meter-written{overscroll-behavior:contain;flex:1 1 0;width:100%;min-height:0;overflow:hidden auto}.meter-written[data-overflow=true]{-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),#0000);mask-image:linear-gradient(#000 calc(100% - 28px),#0000)}.meter-found{color:var(--ink);justify-content:center;align-items:center;gap:6px;margin:0;font-size:14.5px;font-weight:650;display:flex}.meter-found .icon{width:18px;height:18px;color:var(--success)}.meter-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.meter-actions .btn{min-height:44px}.quiz-answers.meters{grid-template-columns:repeat(2,minmax(0,1fr))}.quiz-answers.meters.count-3{grid-template-columns:repeat(3,minmax(0,1fr))}.quiz-answers.meters.count-5>:last-child{grid-column:1/-1}.meter-answer{grid-auto-flow:column;justify-content:center;gap:12px;min-height:56px}.meter-answer .meter-glyph{font-size:22px}.meter-feel{color:var(--ink-soft);text-align:left;font-size:13.5px;font-weight:600;line-height:1.2}.quiz-answer.wrong .meter-feel{color:var(--muted)}@media (orientation:landscape) and (height<=520px){.quiz-play{grid-template-rows:minmax(0,1fr) auto}.quiz-play .play-bar{grid-row:1/-1}.quiz-play .quiz-mode-name,.quiz-play .play-separator{display:none}.quiz-stage{padding:6px var(--gutter) 8px 4px;grid-area:1/2}.quiz-sheet{gap:6px;padding:8px 12px}.quiz-answers{padding:0 var(--gutter) max(8px, env(safe-area-inset-bottom)) 4px;grid-area:2/2;gap:8px}.quiz-answers.figures,.quiz-answers.meters,.quiz-answers.meters.count-3{grid-template-columns:repeat(var(--answers,4), minmax(0, 1fr))}.quiz-answers.meters.count-2{--answers:2}.quiz-answers.meters.count-3{--answers:3}.quiz-answers.meters.count-5{--answers:5}.quiz-answers.meters.count-5>:last-child{grid-column:auto}.meter-answer{grid-auto-flow:row;gap:2px;min-height:48px}.meter-feel{text-align:center;font-size:12px}}.confusion-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.confusion-item{justify-content:space-between;gap:12px;font-size:15px;display:flex}.confusion-count{color:var(--muted);font-weight:600}.result-links{flex-wrap:wrap;justify-content:center;gap:4px 8px;display:flex}.chord-chip-groups{flex-direction:column;gap:12px;display:flex}.chord-chip-group{flex-direction:column;gap:6px;display:flex}.chord-chip-group-name{color:var(--muted);font-size:12.5px;font-weight:600}.segmented.chord-chips{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row}.segmented.chord-chips label{text-align:center;white-space:nowrap;padding:0 4px;font-size:14.5px}.segmented.chord-chips label.locked{cursor:default}.theory-sheet{padding:14px 12px}.theory-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:clamp(6px,1.8dvh,14px);width:100%;height:100%;min-height:0;display:flex}.theory-eyebrow{flex:none}.theory-card .theory-staff{flex:0 clamp(70px,20dvh,150px);width:100%;min-height:56px}.theory-staff{contain:size;place-items:center;min-width:0;display:grid;overflow:hidden}.theory-staff svg{display:block;overflow:visible}.theory-staff .vf-theory-column[data-state=reference]{color:var(--muted)}.theory-prompt{color:var(--ink);flex-direction:column;flex:none;align-items:center;gap:2px;margin:0;transition:color .16s;display:flex}.theory-prompt-main{font-family:var(--font-display);letter-spacing:-.01em;font-size:clamp(40px,10.5vmin,72px);font-weight:560;line-height:1.04}.theory-play[data-exercise=chord] .theory-prompt-main{font-size:clamp(48px,15vmin,96px)}.theory-prompt-sub{color:var(--ink-soft);font-size:clamp(17px,4.6vmin,24px);font-weight:560}.theory-prompt[data-state=wrong],.theory-prompt[data-state=wrong] .theory-prompt-sub{color:var(--error)}.theory-prompt[data-state=wrong]{animation:.36s cubic-bezier(.36,.07,.19,.97) both note-shake}.theory-answer{min-height:1.45em;color:var(--muted);flex:none;justify-content:center;align-items:center;gap:6px;margin:0;font-size:14px;font-weight:550;line-height:1.35;display:flex}.theory-answer>span{text-align:center}.theory-answer .icon{width:16px;height:16px;color:var(--success);flex:none}.theory-piano{--black-min:36px}.theory-question .theory-staff{flex:1 1 0;width:100%;min-height:0;max-height:230px}.theory-question-text strong{color:var(--ink);font-weight:700}.theory-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.theory-card-answer{text-align:center;min-height:60px;font-size:16px;font-weight:650;line-height:1.25}.theory-name[data-exercise=chord] .theory-card-answer{font-size:19px}.theory-card-answer.wrong{border:2px solid var(--error);background:color-mix(in srgb, var(--error) 7%, var(--surface));color:var(--error)}.theory-missed .work-item{padding:8px 12px}@media (width<=420px){.theory-result .result-actions{grid-template-columns:1fr}}@media (orientation:landscape) and (height<=520px){.theory-sheet{padding:8px 10px}.theory-card{gap:4px}.theory-play .theory-eyebrow{display:none}.theory-card .theory-staff{flex-basis:clamp(56px,22dvh,110px);min-height:48px}.theory-play[data-instrument=piano] .theory-card .theory-staff{flex-basis:clamp(72px,34dvh,140px)}.theory-prompt-main{font-size:clamp(30px,11vmin,52px)}.theory-play[data-exercise=chord] .theory-prompt-main{font-size:clamp(40px,16vmin,72px)}.theory-prompt-sub{font-size:clamp(15px,4.6vmin,20px)}.theory-answer{font-size:13px}.theory-card-answer{min-height:48px;font-size:14.5px}.theory-name[data-exercise=chord] .theory-card-answer{font-size:16px}}.theory-card-answer{flex-direction:column;justify-content:center;align-items:center;gap:1px;display:flex}.theory-card-sub{color:var(--muted);font-size:13.5px;font-weight:560}.theory-card-answer.wrong .theory-card-sub{color:inherit}.segmented.chord-chips label{flex-direction:column;gap:0;padding-block:5px;line-height:1.15}.chord-chip-us{opacity:.72;font-size:11.5px;font-weight:550}.theory-grid-us{font-family:var(--font-ui);color:var(--muted);margin-left:8px;font-size:12px;font-weight:550}.chord-names-link{border:1px solid var(--hairline);border-radius:var(--radius-md);background:var(--paper);min-height:56px;color:var(--ink);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding:10px 14px;text-decoration:none;display:flex}.chord-names-link>span{flex-direction:column;gap:2px;display:flex}.chord-names-link strong{font-size:15px;font-weight:650}.chord-names-link small{color:var(--muted);font-size:13px}.chord-names-link svg{color:var(--brass);flex:none}.chord-names-link:active{background:var(--paper-deep)}.chord-names h2{margin:0 0 10px}.chord-names .rules{flex-direction:column;gap:10px;margin:0;padding-left:20px;line-height:1.5;display:flex}.chord-names .rules strong{color:var(--ink)}.intervals-table{border-collapse:collapse;width:100%;font-size:14.5px}.intervals-table th{text-align:left;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--hairline);padding:6px 4px;font-size:11.5px;font-weight:650}.intervals-table td{border-bottom:1px solid var(--hairline);padding:7px 4px}.intervals-table tr:last-child td{border-bottom:none}.intervals-table .formula-cell{color:var(--brass);white-space:nowrap;font-weight:700}.chord-names-group{flex-direction:column;gap:12px;display:flex}.chord-names-group-title{font-family:var(--font-display);margin:8px 2px 0;font-size:24px;font-weight:560}.chord-entries{flex-direction:column;gap:12px;display:flex}.chord-entry{flex-direction:column;gap:8px;padding:14px 16px;display:flex}.chord-entry-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.chord-entry-names{flex-wrap:wrap;align-items:baseline;column-gap:12px;display:flex}.chord-entry-name{font-family:var(--font-display);margin:0;font-size:30px;font-weight:560;line-height:1.1}.chord-entry-us{color:var(--ink-soft);font-size:19px;font-weight:620}.chord-entry-variants{color:var(--muted);margin:0;font-size:13.5px}.chord-entry-body{grid-template-columns:minmax(120px,44%) 1fr;align-items:center;gap:12px;display:grid}.chord-entry-body .theory-staff{height:104px}.chord-entry-facts{flex-direction:column;gap:8px;display:flex}.formula{flex-wrap:wrap;gap:6px;display:flex}.formula-degree{border-radius:var(--radius-sm);background:var(--brass-soft);min-width:34px;color:var(--ink);text-align:center;padding:3px 8px;font-size:15px;font-weight:700}.chord-entry-notes{flex-wrap:wrap;gap:4px 10px;margin:0;font-size:16px;font-weight:620;display:flex}.chord-entry-notes .optional{color:var(--muted)}.chord-entry-how{color:var(--ink-soft);margin:0;font-size:14px;line-height:1.45}.signs{flex-direction:column;margin:0;display:flex}.sign-row{border-bottom:1px solid var(--hairline);grid-template-columns:minmax(110px,38%) 1fr;gap:12px;padding:8px 0;display:grid}.sign-row:last-child{border-bottom:none}.sign-row dt{white-space:pre-wrap;color:var(--brass);font-weight:700}.sign-row dd{margin:0;font-size:14px;line-height:1.45}.chord-names-back .btn{gap:8px}.form-field{flex-direction:column;gap:7px;min-width:0;display:flex}.form-field label{color:var(--ink-soft);font-size:14px;font-weight:600}.form-ok{color:var(--success);font-size:14px;font-weight:550}.account-form{flex-direction:column;gap:14px;display:flex}.account-form .card-title{margin-bottom:0}.account-form .hint{margin-top:-6px}.account-form .btn-primary{margin-top:4px}.account-out{flex-direction:column;gap:10px;display:flex}.login form .input+label{margin-top:6px}.invitation .login-brand h1{overflow-wrap:anywhere;font-size:clamp(34px,10vw,44px)}.invitation form{gap:14px}.invitation-gone{flex-direction:column;gap:14px;display:flex}.invitation-gone .card-title{margin-bottom:0}.link-panel{border-radius:var(--radius-md);background:var(--brass-soft);color:var(--ink);flex-direction:column;gap:12px;padding:14px;display:flex}:root[data-theme=dark] .link-panel{background:color-mix(in srgb, var(--brass) 22%, var(--surface))}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .link-panel{background:color-mix(in srgb, var(--brass) 22%, var(--surface))}}.link-panel-lead{align-items:flex-start;gap:8px;font-size:15px;line-height:1.45;display:flex}.link-panel-lead .icon{width:20px;height:20px;color:var(--brass);margin-top:1px}.link-panel-url{text-overflow:ellipsis;-webkit-user-select:text;user-select:text;min-height:48px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:13.5px}.link-panel-actions{flex-wrap:wrap;gap:8px;display:flex}.link-panel-actions .btn{flex:auto}.link-panel .hint{color:var(--ink-soft)}.accounts-list{flex-direction:column;gap:10px;display:flex}.accounts-list>.eyebrow{margin:6px 2px 2px}.account-card{padding:0;overflow:hidden}.account-card-head{appearance:none;width:100%;min-height:72px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:12px 16px;display:flex}.account-initial{border:1px solid var(--hairline);background:var(--paper-deep);width:44px;height:44px;color:var(--ink);font-family:var(--font-display);border-radius:50%;flex:none;place-items:center;font-size:20px;font-weight:600;display:grid}.account-initial.admin{background:var(--lacquer);color:var(--brass-soft)}:root[data-theme=dark] .account-initial.admin{background:var(--brass);color:var(--lacquer)}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .account-initial.admin{background:var(--brass);color:var(--lacquer)}}.account-card-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.account-card-name{overflow-wrap:anywhere;align-items:baseline;gap:8px;font-size:17px;font-weight:650;display:flex}.account-self{background:var(--paper-deep);color:var(--ink-soft);border-radius:999px;padding:1px 8px;font-size:12px;font-weight:600}.account-card-status{color:var(--muted);font-size:14px;line-height:1.4}.account-card-status .status-off{color:var(--error);font-weight:600}.account-card-status .status-invited{color:var(--brass);font-weight:600}.account-card.inactive .account-card-name,.account-card.inactive .account-initial{opacity:.55}.account-card-chevron{color:var(--muted);transition:rotate .2s var(--ease-out);rotate:90deg}.account-card.open .account-card-chevron{rotate:-90deg}.account-card-body{border-top:1px solid var(--hairline);flex-direction:column;gap:16px;padding:16px 16px 18px;display:flex}.account-card-row{flex-direction:column;align-items:flex-start;gap:6px;display:flex}.account-card-row .hint{font-size:13.5px}.account-rename{flex-direction:column;gap:10px;display:flex}.account-card-buttons{gap:8px;display:flex}.account-card-body .field+.field,.account-card-body .field{margin-top:0}.account-danger{border-top:1px dashed var(--hairline);padding-top:14px}.btn-danger{background:var(--error-soft);color:var(--error);border-color:color-mix(in srgb, var(--error) 30%, transparent);touch-action:none;position:relative;overflow:hidden}.btn-hold>*{position:relative}.btn-hold:before{content:"";transform-origin:0;background:color-mix(in srgb, var(--error) 22%, transparent);position:absolute;inset:0;transform:scaleX(0)}.btn-hold.holding:before{animation:btn-hold-fill var(--hold,3s) linear forwards}.btn-hold.bounce{animation:btn-hold-bounce .4s var(--ease-spring)}@keyframes btn-hold-fill{to{transform:scaleX(1)}}@keyframes btn-hold-bounce{40%{transform:translate(-4px)}70%{transform:translate(3px)}}.home-me{color:var(--ink)!important}.home-me .icon{color:var(--brass)}.page.carnet{gap:18px}.carnet-top{z-index:5;margin:calc(-1 * max(14px, env(safe-area-inset-top))) calc(-1 * var(--gutter)) 0;padding:max(14px, env(safe-area-inset-top)) var(--gutter) 12px;background:var(--paper);flex-direction:column;gap:12px;display:flex;position:sticky;top:0}.carnet-top:after{content:"";background:linear-gradient(var(--paper), transparent);pointer-events:none;height:14px;position:absolute;top:100%;left:0;right:0}.carnet-bar{gap:12px}.carnet-title{flex:1;font-size:24px;line-height:1.1}.carnet-recorder{flex-direction:column;gap:12px;padding:14px;display:flex}.carnet-status{align-items:center;gap:12px;min-height:40px;padding:0 4px;display:flex}.carnet-dot{background:var(--muted);border-radius:50%;flex:none;width:12px;height:12px;position:relative}.carnet-status.listening .carnet-dot{background:var(--success)}.carnet-status.recording .carnet-dot{background:var(--error)}.carnet-status.listening .carnet-dot:after,.carnet-status.recording .carnet-dot:after{content:"";color:inherit;opacity:0;animation:carnet-pulse 1.8s var(--ease-out) infinite;border:2px solid;border-radius:50%;position:absolute;inset:-5px}.carnet-status.listening .carnet-dot:after{color:var(--success)}.carnet-status.recording .carnet-dot:after{color:var(--error);animation-duration:1.1s}@keyframes carnet-pulse{0%{opacity:.7;transform:scale(.6)}to{opacity:0;transform:scale(1.3)}}.carnet-status-text{flex-direction:column;min-width:0;line-height:1.3;display:flex}.carnet-status-text strong{font-size:16.5px;font-weight:650}.carnet-status-text .muted{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.carnet-warning{margin:0}.carnet-like{background:var(--lacquer);min-height:68px;color:var(--on-lacquer);box-shadow:0 1px 0 #ffffff14 inset, var(--shadow-md);text-align:left;border-radius:18px;justify-content:flex-start;gap:14px;padding:0 20px}.carnet-like .icon{width:30px;height:30px;color:var(--brass);transition:transform .26s var(--ease-spring)}.carnet-like.liked{background:var(--felt);color:#fbf7ee}.carnet-like.liked .icon{color:#fbf7ee;transform:scale(1.12)}.carnet-like-text{flex-direction:column;min-width:0;font-size:18px;line-height:1.2;display:flex}.carnet-like-text small{opacity:.72;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500;overflow:hidden}.carnet-like:disabled{opacity:1;background:var(--paper-deep);color:var(--muted);box-shadow:none}.carnet-like:disabled .icon{color:var(--muted)}.carnet-wake{border-radius:var(--radius-md);background:var(--brass-soft);color:var(--ink-soft);align-items:flex-start;gap:10px;padding:10px 14px;font-size:13.5px;line-height:1.45;display:flex}.carnet-wake .icon{width:18px;height:18px;color:var(--brass);margin-top:1px}.carnet-metronome{flex-direction:column;gap:10px;padding:2px 4px 0;display:flex}.carnet-metronome-title{align-items:center;gap:7px;display:inline-flex}.carnet-metronome-title .icon{width:19px;height:19px;color:var(--brass)}.carnet-metronome-summary{appearance:none;border:1px solid var(--hairline);border-radius:var(--radius-md);background:var(--paper-deep);min-height:44px;color:var(--ink);font-family:var(--font-display);text-align:left;align-items:center;gap:10px;padding:0 14px;font-size:19px;font-weight:560;display:flex}.carnet-metronome-sig{color:var(--ink-soft)}.carnet-metronome-tune{font-family:var(--font-ui);color:var(--muted);align-items:center;gap:4px;margin-left:auto;font-size:14px;font-weight:600;display:inline-flex}.carnet-metronome-tune .icon{width:16px;height:16px}.carnet-metronome-fields{grid-template-columns:minmax(0,1fr);gap:8px;display:grid}.carnet-metronome-fields legend{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.carnet-metronome-fields .stepper-value{font-size:24px}.carnet-metronome-fields .stepper-value small{display:none}.carnet-metronome-fields .meter-picker label{min-height:46px}.carnet-metronome-fields .meter-picker .meter-glyph{font-size:15.5px}.carnet-metronome-fields .field+.field{margin-top:0}.carnet-ideas{flex-direction:column;gap:12px;min-width:0;display:flex}.carnet-ideas-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;min-width:0;display:flex}.carnet-ideas-head h2{align-items:baseline;gap:8px;display:flex}.carnet-ideas-head h2 .muted{font-family:var(--font-ui);font-size:15px;font-weight:550}.carnet-filter{flex:none}.carnet-filter label{white-space:nowrap;padding:0 14px}.carnet-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:10px;padding:28px 20px;display:flex}.carnet-empty .icon{width:30px;height:30px;color:var(--brass)}.idea-list{margin:0;padding:0;list-style:none;overflow:hidden}.idea+.idea{border-top:1px solid var(--hairline)}.idea{animation:rise .42s var(--ease-out) both}.idea.open{background:color-mix(in srgb, var(--paper-deep) 55%, var(--surface))}.idea-head{appearance:none;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 14px;display:flex}.idea-head:active{background:color-mix(in srgb, var(--paper-deep) 70%, transparent)}.idea-thumb{flex:none;width:88px;height:44px}.idea-thumb-paper{fill:#fbf7ee;stroke:#e4ddcf;stroke-width:1px}.idea-thumb-notes{fill:#1b1916}.idea-thumb.liked .idea-thumb-paper{fill:#16140f;stroke:#3b352b}.idea-thumb.liked .idea-thumb-notes{fill:#e2b867}.idea-thumb-cursor{stroke:var(--error);stroke-width:1.6px;stroke-linecap:round}.idea-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.idea-title{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:620;overflow:hidden}.idea-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.idea-marks{flex:none;align-items:center;gap:6px;display:flex}.idea-marks .icon{width:18px;height:18px}.idea-heart{color:var(--felt)}.idea-sync{color:var(--brass);display:inline-grid}.idea-sync.volatile{color:var(--error)}.idea-shared{color:var(--muted)}.idea-body{flex-direction:column;gap:12px;padding:2px 14px 16px;display:flex}.idea-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.idea-buttons .btn{min-width:0;padding:0 12px}.idea-like.liked .icon{color:var(--felt)}.idea-rename{flex-direction:column;gap:10px;display:flex}.idea-rename-buttons{gap:8px;display:flex}.idea-link{padding:12px}.idea-shared-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.idea-shared-row .hint{align-items:center;gap:6px;display:inline-flex}.idea-shared-row .hint .icon{width:16px;height:16px}.idea-body .save-state{text-align:left;justify-content:flex-start;animation:none}.idea-danger{border-top:1px dashed var(--hairline);flex-direction:column;gap:8px;padding-top:12px;display:flex}.idea-danger .btn{align-self:flex-start}.carnet-foot{text-align:center;font-size:13px}@media (width>=520px){.idea-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (orientation:landscape) and (width>=600px){.page.carnet{grid-template-columns:minmax(280px,330px) minmax(0,1fr);align-items:start;column-gap:22px;max-width:1000px;display:grid}.carnet-top{margin:calc(-1 * max(14px, env(safe-area-inset-top))) 0 0;padding:max(14px, env(safe-area-inset-top)) 0 14px;scrollbar-width:none;max-height:100dvh;overflow-y:auto}.carnet-top:after{display:none}.carnet-ideas{padding-top:2px}.carnet-filter label{padding:0 10px}.idea-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (orientation:landscape) and (width>=600px) and (width<=759px){.page.carnet{grid-template-columns:minmax(0,280px) minmax(0,1fr);column-gap:16px}.idea-head{gap:10px;padding:10px 12px}.idea-thumb{width:72px;height:36px}}@media (orientation:landscape) and (width>=980px){.idea-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (orientation:landscape) and (height<=420px){.carnet-top{gap:8px}.carnet-recorder{gap:8px;padding:10px 12px}.carnet-like{min-height:64px}.carnet-status{min-height:34px}.carnet-metronome .switch-row small{display:none}}@media (prefers-reduced-motion:reduce){.carnet-dot:after{display:none}}
