.app-settings-trigger{right:12px;bottom:max(12px, env(safe-area-inset-bottom));z-index:20;border:1px solid var(--outline);background:var(--surface);width:44px;height:44px;color:var(--secondary);border-radius:50%;place-items:center;display:grid;position:fixed;box-shadow:0 3px 12px #0002}.app-settings-trigger:hover{color:var(--accent);border-color:var(--accent)}.app-settings-dialog{overscroll-behavior:contain;border:1px solid var(--outline);background:var(--surface);color:#f2f0ea;border-radius:24px;width:min(440px,100% - 32px);max-height:calc(100dvh - 32px);padding:24px;overflow:auto;box-shadow:0 24px 72px #0005}.app-settings-dialog::backdrop{background:#080f1d88}.app-settings-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.app-settings-heading p{letter-spacing:1.6px;text-transform:uppercase;color:var(--secondary);margin:0 0 6px;font-size:10px}.app-settings-heading h1{letter-spacing:-.6px;margin:0;font-size:25px}.app-settings-heading button{border:1px solid var(--outline);background:0 0;border-radius:12px;flex-shrink:0;width:44px;height:44px;font-size:24px}.app-settings-section{border:0;border-bottom:1px solid var(--outline);min-width:0;margin:0;padding:20px 0}.app-settings-section legend{float:left;width:100%;margin-bottom:14px;font-size:14px;font-weight:600}.app-settings-section p{color:var(--secondary);margin:10px 0 0;font-size:12px;line-height:1.6}.app-volume-heading{justify-content:space-between;align-items:center;font-size:14px;font-weight:600;display:flex}.app-volume-heading output{font-variant-numeric:tabular-nums;color:var(--accent);font-weight:400}.app-settings-dialog input[type=range]{width:100%;height:44px;accent-color:var(--accent);cursor:pointer;margin:10px 0 0;padding:0}.app-theme-options{clear:both;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.app-theme-options label{border:1px solid var(--outline);cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;gap:10px;min-height:88px;padding:12px 8px;font-size:12px;display:flex;position:relative}.app-theme-options label:has(:checked){border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent)}.app-theme-options input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.app-theme-options label:has(:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.app-theme-swatch{border:1px solid #7a8a9f;border-radius:6px;width:42px;height:28px;box-shadow:inset 9px 0 #a9bfd63d}.swatch-dark{background:linear-gradient(#e0b66e 0 3px,#242629 3px)}.swatch-light{background:linear-gradient(#2563a6 0 3px,#fff 3px)}.swatch-system{background:linear-gradient(90deg,#242629 50%,#fff 50%)}.app-motion-setting{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:44px;font-size:14px;font-weight:600;display:flex}.app-motion-setting small{color:var(--secondary);margin-top:5px;font-size:12px;font-weight:400;line-height:1.6;display:block}.app-motion-setting input{width:22px;height:22px;accent-color:var(--accent)}.app-settings-local{color:var(--secondary);margin:18px 0 0;font-size:11px}.app-settings-message{color:var(--accent);font-size:12px;line-height:1.6}.app-settings-done{border-radius:14px;width:100%;min-height:48px;margin-top:18px}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#20314a;--text:#20314a;--surface:#fff;--secondary:#586a80;--accent:#245fa5;--outline:#aebed1;--light-soft:#edf3fb;--light-active:#e2edfc;background:#f4f7fc}:root[data-theme=light] body{color:#20314a;background:#f4f7fc}:root[data-theme=light] :is(.brand-kit,.sheet,.rud-dialog,.app-settings-dialog,.number-entry input,.sheet .field-label,.duration-inline input,.stage-secondary summary,.secondary-settings .volume-label){color:#20314a}:root[data-theme=light] :is(.sheet,.rud-dialog,.app-settings-dialog){border-color:var(--outline);background:#fff}:root[data-theme=light] :is(.sheet,.rud-dialog,.app-settings-dialog)::backdrop{background:#18365955}:root[data-theme=light] :is(.feature-switch,.rud-row,.rud-notation,.rud-empty,.timer-entry,.timer-card,.stage-card,.stage-secondary,.secondary-settings,.time-wheel,.duration-inline input,.mini-tempo-entry input,.number-entry,.tap-tempo,.sheet .inset-note,.rud-tempo,.rud-field input,.rud-field select,.rud-dialog-heading button,.simple-timer-panel,.stage-start,.stage-duration-block,.time-wheel-control){color:#20314a;box-shadow:none;background:#fff;border-color:#bdccdd}:root[data-theme=light] :is(.timer-entry:hover,.rud-row:hover,.stage-card:hover,.time-wheel button:hover){background:#f1f6fd;border-color:#6a95c6}:root[data-theme=light] :is(.selected-timer-stage,.selected-timer-status,.timer-card .preset-label,.rud-select .rud-sticking,.time-wheel-option,.time-unit-label,.stage-card-summary,.stage-duration-label,.stage-secondary summary,.secondary-settings){color:var(--secondary)}:root[data-theme=light] :is(.timer-entry.has-timer,.rud-row.selected,.stage-card.selected,.stage-card.active,.stage-card.drag-over,.stage-editor summary,.time-wheel [aria-selected=true]){background:var(--light-active);border-color:var(--accent)}:root[data-theme=light] :is(.timer-tabs [aria-selected=true],.duration-inline [aria-selected=true],.sheet button[aria-checked=true],.timer-sheet .choice-buttons [aria-checked=true],.feature-switch button[aria-pressed=true],.rud-tabs button[aria-selected=true],.rud-tempo-presets button[aria-pressed=true],.rud-options label:has(:checked),.rud-variations button[aria-pressed=true],.timer-sheet .stop-using){background:var(--light-active);color:var(--accent);border-color:var(--accent)}:root[data-theme=light] :is(.rud-transport,.rud-variation-menu){color:#20314a;border-color:var(--outline);background:#f8fbfff5;box-shadow:0 -2px 16px #18437c08}:root[data-theme=light] :is(.rud-notation-links,.rud-library,.rud-context,.rud-settings,.rud-variations,.rud-variation-menu,.rud-variations button,.rud-tempo-presets button,.rud-tabs button,.stage-card,.timer-card,.stage-beats .beat,.time-wheel,.stage-secondary,.secondary-settings){border-color:#bdccdd}:root[data-theme=light] .rud-tabs .rud-exercises-tab{color:#286876;background:#edf7f8;border-color:#91bdc8}:root[data-theme=light] .rud-tabs .rud-exercises-tab[aria-selected=true]{color:#1a5866;background:#dceff3;border-color:#508d9d}:root[data-theme=light] :is(.rud-tempo>button,.rud-dialog-heading button,.timer-sheet .time-wheel-controls button){background:var(--light-soft);color:#20314a}:root[data-theme=light] .primary{color:#fff;background:#245fa5;border-color:#245fa5}:root[data-theme=light] .beat{color:#20314a;background:#fff;border-color:#bccbdd}:root[data-theme=light] .beat.emphasized{color:#245fa5;background:#e2edfc;border-color:#245fa5}:root[data-theme=light] .beat.active{color:#fff;background:#245fa5;border-color:#245fa5}:root[data-theme=light] .beat.muted{color:#6a7e96;border-style:dashed}:root[data-theme=light] .beat.muted.active{color:#245fa5;background:#e2edfc}:root[data-theme=light] :is(.tempo-readout,.selected-timer-name,.stage-tempo,.time-wheel [aria-selected=true]){color:var(--accent)}:root[data-theme=light] .pulse-ring{background:#245fa50d}:root[data-theme=light] .drag-handle span{background:#8c9fb5}:root[data-theme=light] .score-systems{color:#273b54;scrollbar-color:#b0c3da transparent}:root[data-theme=light] .score-system ellipse[fill=\#1e2022]{fill:#fff}:root[data-theme=light] .score-playhead rect{fill:#245fa512;stroke:#245fa5}:root[data-theme=light] .score-playhead path{stroke:#245fa5}:root[data-theme=light] .hand-R{color:#a64e13;fill:#a64e13}:root[data-theme=light] .hand-L{color:#263b55;fill:#263b55}:root[data-theme=light] .hand-r{color:#96612e;fill:#96612e}:root[data-theme=light] .hand-l{color:#56677b;fill:#56677b}:root[data-theme=light] :is(.stage-card button.stage-grip,.timer-sheet.stage-editor .time-wheel-control,.stage-duration-block){border-color:#bdccdd!important}:root[data-theme=light] :is(.timer-sheet button.danger,.timer-sheet button.danger:not(.beat):not(.primary)){color:#982d3a;background:#fff0f0;border-color:#bb5c65}:root[data-theme=light] :is(.timer-sheet button.danger:hover,.timer-sheet button.danger:not(.beat):not(.primary):hover){background:#fce3e5}:root[data-motion=reduce] *,:root[data-motion=reduce] :before,:root[data-motion=reduce] :after{scroll-behavior:auto!important;transition-duration:0s!important;animation-duration:.01ms!important;animation-iteration-count:1!important}:root[data-motion=reduce] .ball{left:50%!important}:root[data-motion=reduce] .pulse-ring{opacity:0!important}:root[data-motion=reduce] .score-playhead rect{x:64px}:root[data-motion=reduce] .score-playhead path{display:none}@media (width<=359px){.app-settings-dialog{padding:20px}.app-theme-options{gap:6px}}.app-settings-dialog input[type=range]::-webkit-slider-runnable-track{background:var(--outline);border-radius:8px;height:6px}.app-settings-dialog input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--accent);border:2px solid var(--surface);width:22px;height:22px;box-shadow:0 0 0 1px var(--accent);margin-top:-8px}.app-settings-dialog input[type=range]::-moz-range-track{background:var(--outline);border-radius:8px;height:6px}.app-settings-dialog input[type=range]::-moz-range-progress{background:var(--accent);height:6px}.app-settings-dialog input[type=range]::-moz-range-thumb{background:var(--accent);border:2px solid var(--surface);width:20px;height:20px}:root[data-theme=light] :is(.timer-field input:not([type=range]),.timer-field select,.timer-sheet .stage-card .stage-grip,.stage-chime-field input,.duration-wheels,.time-wheel){color:#20314a;background:#fff;border-color:#bdccdd}:root[data-theme=light] :is(.timer-preview-lines strong,.stage-chime-field span){color:#20314a}:root[data-theme=light] .stage-chime-field small{color:var(--secondary)}:root[data-theme=light] :is(.compact-switch,.count-toggle input){background:#9bacc0}:root[data-theme=light] :is(.compact-switch,.count-toggle input):after{background:#fff}:root[data-theme=light] :is([aria-checked=true] .compact-switch,.count-toggle input:checked){background:var(--accent)}:root[data-theme=light] input[type=range]::-webkit-slider-thumb{background:var(--accent);border:2px solid #fff}:root[data-theme=light] input[type=range]::-moz-range-thumb{background:var(--accent);border:2px solid #fff}body:has(.rudiments) .app-settings-trigger{bottom:max(12px, env(safe-area-inset-bottom))}body:has(.rudiments) .rud-transport{padding-right:calc(72px + env(safe-area-inset-right))}body:has(.rudiments) .rud-transport-buttons button{padding-left:14px;padding-right:14px}body:has(.rudiments) .rud-transport-buttons button:last-child{min-width:70px}:root[data-theme=light] .rud-back-button{color:#245fa5;background:#e9f0fb;border-color:#98b4db}:root[data-theme=light] .transport svg,:root[data-theme=light] .transport svg path,:root[data-theme=light] .transport svg rect{color:#fff;fill:#fff}:root[data-theme=light] .favorite-timer[aria-pressed=true]{color:#245fa5;background:#e3edfc;border-color:#a4bee1}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2)format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff)format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2)format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff)format("woff")}:root{color:#f2f0ea;font-synthesis:none;--surface:#242629;--secondary:#a6a7a4;--accent:#e0b66e;--outline:#4c5053;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#17191b;font-family:Inter,Arial,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit;background:var(--surface);touch-action:manipulation;border:1px solid #0000}button:disabled{cursor:default;opacity:.3}button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}header{align-items:center;gap:24px;min-height:80px;padding:24px;display:flex}.brand{letter-spacing:-1px;font-size:22px;font-weight:600}.brand-bop{color:var(--accent)}.brand-kit{color:#f2f0ea}.header-label,.header-divider{display:none}.status{color:var(--secondary);white-space:nowrap;margin-left:auto;padding:7px 11px;font-size:13px}.status span{vertical-align:middle;margin-right:4px;font-size:8px}.status.playing,.status.paused{border:1px solid var(--accent);color:var(--accent);border-radius:20px}.instrument{width:100%;max-width:438px;margin:0 auto;padding:0 24px}.pendulum{height:56px;margin:4px 16px 8px;position:relative}.rail{background:var(--outline);height:2px;position:absolute;top:28px;left:0;right:0}.center-mark{background:var(--secondary);width:2px;height:24px;position:absolute;top:16px;left:50%}.ball{background:var(--accent);will-change:left;border-radius:50%;width:16px;height:16px;position:absolute;top:20px;left:0;transform:translate(-50%)}.pulse-ring{border:2px solid var(--accent);opacity:0;background:#e0b66e0d;border-radius:50%;width:40px;height:40px;position:absolute;top:-12px;left:-12px}.instrument:has(.transport:not(.playing)) .ball{background:var(--secondary)}.tempo-section{text-align:center}.tempo-label{text-transform:uppercase;letter-spacing:2px;color:var(--secondary);margin:8px 0 12px;font-size:12px}.tempo-readout{font-variant-numeric:tabular-nums;letter-spacing:-5px;background:0 0;border:1px solid #242629;border-radius:12px;min-width:200px;min-height:120px;padding:0 8px;font-size:104px;font-weight:400;line-height:1.12}.tempo-steps{justify-content:center;gap:16px;display:flex}.tempo-steps button{border-radius:20px;width:64px;height:64px;font-size:20px}.beats{grid-template-columns:repeat(var(--beats), minmax(0, 1fr));gap:4px;margin-top:8px;display:grid}.beat{width:100%;max-width:64px;height:44px;min-height:44px;color:var(--secondary);font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #0000;border-radius:12px;justify-self:center;place-items:center;font-size:18px;font-weight:400;display:grid}.beat.emphasized{color:var(--accent);font-weight:600}.beat.muted{color:#858984;text-decoration:line-through;text-decoration-thickness:1.5px}.beat:hover{border-color:var(--outline);background:#242629}.beat.active{border-color:var(--accent);background:#302b22}.beat.emphasized.active{background:var(--accent);color:#17191b}.beat.muted.active{background:0 0;border-style:dashed}.beat-help{text-align:center;color:var(--secondary);margin:8px 0 0;font-size:11px;line-height:16px}.settings{flex-direction:column;align-items:center;gap:16px;margin:20px 0 12px;display:flex}.setting{border:1px solid var(--outline);background:0 0;border-radius:14px;justify-content:center;align-items:center;gap:8px;width:232px;min-height:44px;padding:10px;font-size:14px;display:flex}.primary{color:#17191b;background:#f2f0ea;border-radius:20px;min-height:64px;font-size:18px}.transport{justify-content:center;align-items:center;gap:16px;width:100%;display:flex}.transport.playing{background:var(--accent)}.transport span{font-size:20px}.secondary-actions{gap:12px;margin-top:12px;display:flex}.secondary-actions button{border-radius:20px;flex:1;justify-content:center;align-items:center;gap:16px;min-width:0;min-height:64px;font-size:18px;display:flex}.secondary-actions span{font-size:24px}.transport-hint{text-align:center;color:var(--secondary);min-height:18px;margin:16px 0 24px;font-size:12px}.live-status{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.audio-error{color:var(--accent);border:1px solid var(--accent);border-radius:12px;padding:16px;font-size:14px}.audio-error button{min-height:44px;margin-left:8px}footer{display:none}.sheet{background:var(--surface);color:#f2f0ea;overscroll-behavior:contain;border:0;border-radius:28px 28px 0 0;width:390px;max-width:100%;max-height:calc(100dvh - 16px);margin:auto 0 0;padding:0;left:50%;overflow:auto;transform:translate(-50%)}.sheet::backdrop{background:#0009}.sheet form{flex-direction:column;max-height:calc(100dvh - 16px);display:flex}.drag-handle{touch-action:pan-y;justify-content:center;align-items:center;min-height:44px;display:flex}.drag-handle span{background:#707477;border-radius:4px;width:36px;height:4px}.sheet-body{min-height:0;padding:8px 24px 0;overflow:auto}.sheet h1{letter-spacing:-.6px;margin:0 0 6px;font-size:26px;font-weight:600;line-height:1.25}.sheet p{color:var(--secondary);margin:0 0 24px;font-size:14px;line-height:1.5}.sheet .caps{text-transform:uppercase;color:var(--secondary);margin:0 0 8px;font-size:13px;display:block}.number-entry{border:1px solid var(--outline);background:#17191b;border-radius:16px;align-items:center;min-height:88px;display:flex}.number-entry button{background:0 0;border-radius:14px;align-self:stretch;width:72px;font-size:24px}.number-entry input{color:#f2f0ea;text-align:center;font-variant-numeric:tabular-nums;background:0 0;border:0;border-radius:8px;width:100%;min-width:0;padding:8px 0;font-size:48px;line-height:1}.sheet #input-hint{margin:6px 0 22px;font-size:13px}.sheet .error{color:var(--accent)}.tap-tempo{border:1px solid var(--outline);background:#17191b;border-radius:16px;width:100%;min-height:88px;font-size:18px}.sheet .tap-hint{text-align:center;margin:8px 0 22px;font-size:13px}.sheet .sheet-note{margin:16px 0 24px;font-size:13px;line-height:1.55}.sheet-footer{flex-shrink:0;padding:0 24px 24px}.done{width:100%}.sheet-tempo .sheet-footer{padding-top:0}.sheet .field-label{color:#f2f0ea;margin:0 0 8px}.sheet-chime .number-entry{min-height:64px}.sheet-chime input{font-size:32px}.sheet .inset-note{background:#17191b;border-radius:16px;margin:22px 0 24px;padding:16px;font-size:13px}.sheet fieldset{border:0;min-width:0;margin:0 0 22px;padding:0}.sheet legend{margin-bottom:10px;font-size:14px}.meter-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.meter-options button{border:1px solid var(--outline);border-radius:12px;min-height:48px;font-size:20px}.sheet button[aria-checked=true]{color:var(--accent);border-color:var(--accent);background:#2b271f}.rhythm-options{grid-template-columns:1fr 1fr;gap:8px;display:grid}.rhythm-options button{border:1px solid var(--outline);text-align:left;border-radius:16px;align-items:center;gap:8px;min-height:64px;padding:8px;font-size:12px;display:flex}.notation{flex-shrink:0;width:52px;height:44px}.volume-label{justify-content:space-between;font-size:14px;display:flex}.volume-label output{color:var(--accent)}input[type=range]{appearance:none;cursor:pointer;background:0 0;width:100%;height:44px;margin:4px 0}input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) var(--volume), var(--outline) var(--volume));border-radius:4px;height:4px}input[type=range]::-webkit-slider-thumb{appearance:none;background:#f2f0ea;border-radius:50%;width:20px;height:20px;margin-top:-8px;box-shadow:0 0 0 12px #0000}input[type=range]::-moz-range-track{background:var(--outline);height:4px}input[type=range]::-moz-range-progress{background:var(--accent);height:4px}input[type=range]::-moz-range-thumb{background:#f2f0ea;border:0;border-radius:50%;width:20px;height:20px}.sheet .volume-hint{margin:0 0 24px;font-size:12px}.sheet-rhythm .sheet-note{margin-top:22px}.sheet-rhythm .sheet-body{padding-top:8px}@media (width>=768px){header{min-height:128px;padding:48px 64px}.brand{font-size:24px}.header-label{color:var(--secondary);font-size:14px;display:inline}.header-divider{background:var(--outline);width:1px;height:20px;display:block}.instrument{width:576px;max-width:none;padding:0}.pendulum{height:56px;margin:56px 8px 28px}.tempo-label{margin:0 0 12px}.tempo-readout{min-width:240px;min-height:132px}.beats{gap:16px}.settings{flex-direction:row;justify-content:center;gap:16px;margin:24px 0}.transport-hint{margin:24px 0 0;font-size:13px}footer{text-align:center;color:var(--secondary);margin:88px 0 32px;font-size:12px;display:block}.sheet{border-radius:28px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);margin:auto}.sheet form{max-height:calc(100dvh - 48px)}}@media (prefers-reduced-motion:reduce){.ball{will-change:auto;left:50%!important}.pulse-ring{transition:none!important;animation:none!important}}@media (width<=359px){.beats{gap:6px}.beat{font-size:16px}.instrument{padding:0 16px}.rhythm-options button{gap:2px;padding:4px}.notation{width:42px}}.transport-icon{color:#17191b;flex-shrink:0;width:24px;height:24px}.tempo-control-row{justify-content:center;align-items:center;gap:8px;display:flex}.tempo-control-row .tempo-steps{display:flex}.tempo-control-row .tempo-steps button{width:48px;height:56px;color:var(--secondary);border-radius:14px;font-size:20px}.tempo-control-row .tempo-steps button:not(:disabled):hover{color:var(--accent);border-color:var(--outline)}.chime-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 4px;display:grid}.chime-presets button{border:1px solid var(--outline);min-height:44px;color:var(--secondary);font-variant-numeric:tabular-nums;background:0 0;border-radius:12px}.chime-presets button:hover,.chime-presets button:focus-visible{color:var(--accent);border-color:var(--accent)}.tempo-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0 4px;display:grid}.tempo-presets button{border:1px solid var(--outline);min-height:44px;color:var(--secondary);font-variant-numeric:tabular-nums;background:0 0;border-radius:12px}.tempo-presets button:hover,.tempo-presets button:focus-visible{color:var(--accent);border-color:var(--accent)}@media (width<=359px){.tempo-control-row{gap:4px}.tempo-control-row .tempo-steps button{width:40px}.tempo-readout{flex:1;min-width:0}}.repeat-step{touch-action:none;-webkit-user-select:none;user-select:none}.measure-status{min-height:24px;color:var(--secondary);justify-content:center;gap:16px;margin:12px 0 0;font-size:12px;line-height:16px;display:flex}.measure-status p{margin:0;display:block}.measure-status p span{margin-right:5px}.measure-status strong{color:#e3e1dc;font-variant-numeric:tabular-nums;font-size:15px;font-weight:600;line-height:18px}@media (width<=359px){.beats[data-count="6"]{grid-template-columns:repeat(4,minmax(44px,1fr));row-gap:8px}}@media (width<=379px){.beats[data-count="7"]{grid-template-columns:repeat(4,minmax(44px,1fr));row-gap:8px}}.tempo-section{position:relative}.count-in-overlay{z-index:2;border:1px solid var(--outline);background:var(--surface);text-align:center;pointer-events:none;border-radius:20px;min-width:240px;max-width:100%;padding:32px 20px;position:absolute;top:24px;left:50%;transform:translate(-50%);box-shadow:0 12px 24px #0004}.count-in-row{justify-content:center;gap:16px;margin-top:20px;display:flex}.count-in-row i{border:1px solid #777b7d;border-radius:50%;flex-shrink:0;width:12px;height:12px}.count-in-row .filled{background:var(--accent);border-color:var(--accent)}.timer-entry-row{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:13px;display:flex}.timer-entry-row>span{color:var(--secondary)}.timer-entry{text-align:left;overflow-wrap:anywhere;background:0 0;min-height:48px;padding:8px 12px;font-size:14px}.timer-playback{text-align:center;color:var(--secondary);margin:6px 0 12px;font-size:13px;line-height:1.5}.timer-sheet .timer-body{padding:24px}.timer-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.timer-heading h1,.timer-heading h2{overflow-wrap:anywhere;min-width:0;margin:0}.timer-heading h2{font-size:20px}.timer-actions{flex-shrink:0;gap:8px;display:flex}.timer-sheet button:not(.beat):not(.primary){border:1px solid var(--outline);border-radius:12px;min-height:48px;padding:10px 14px}.timer-sheet .timer-heading>button{flex-shrink:0}.timer-sheet .wide{width:100%;margin-top:12px;display:block}.timer-sheet .primary{border-radius:20px;min-height:64px}.timer-sheet .timer-card{border-bottom:1px solid var(--outline);margin-bottom:16px;padding:8px 0 20px}.timer-sheet p{margin:8px 0 16px}.timer-preview{margin-bottom:8px;font-size:14px;line-height:1.6}.timer-preview small{color:var(--secondary);font-size:12px;line-height:1.5;display:block}.timer-field{color:var(--secondary);margin:16px 0;font-size:13px;display:block}.timer-field input:not([type=range]),.timer-field select{border:1px solid var(--outline);color:#f2f0ea;width:100%;min-width:0;min-height:48px;font:inherit;background:#17191b;border-radius:12px;margin-top:8px;padding:12px 14px;font-size:16px;display:block}.timer-field select{margin:0}.timer-field input[type=range]{width:100%}.count-toggle{justify-content:space-between;align-items:center;gap:16px;min-height:48px;margin:16px 0 24px;display:flex}.count-toggle input{appearance:none;cursor:pointer;background:#777b7d;border-radius:20px;flex-shrink:0;width:48px;height:28px;position:relative}.count-toggle input:after{content:"";background:#17191b;border-radius:50%;width:20px;height:20px;position:absolute;top:4px;left:4px}.count-toggle input:checked{background:var(--accent)}.count-toggle input:checked:after{left:24px}.stage-row{align-items:center;gap:12px;margin:8px 0;font-size:14px;line-height:1.5;display:flex}.stage-row>span{flex:1}.timer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px;display:grid}.timer-grid .timer-field{margin:0}.stage-beats{flex-wrap:wrap;gap:12px;margin:16px 0 24px;display:flex}.stage-beats .beat{width:52px;min-height:44px}.duration-choice{border:0;margin:16px 0 0;padding:0}.duration-choice legend{color:var(--secondary);font-size:13px}.stage-secondary{margin:12px 0}.stage-secondary summary{border:1px solid var(--outline);cursor:pointer;border-radius:12px;min-height:48px;padding:14px;font-size:14px}select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.timer-sheet [aria-checked=true]{background:#2b271f;border-color:var(--accent)!important}@media (width>=768px){.timer-sheet{border-radius:28px;width:560px;margin:auto 0}.timer-entry-row{margin-top:12px}}@media (width<=359px){.timer-sheet .timer-body{padding:20px}.timer-sheet .timer-grid{gap:8px}.timer-sheet button:not(.beat):not(.primary){padding:10px}.count-in-row{gap:12px}}.timer-sheet button,.stage-row>span{overflow-wrap:anywhere;min-width:0}.timer-sheet [aria-selected=true]{background:#2b271f;border-color:var(--accent)!important}.timer-entry-row{flex-wrap:wrap;justify-content:center;margin:0 0 16px}.timer-entry{border:1px solid var(--outline);background:var(--surface);text-align:center;border-radius:14px;justify-content:center;align-items:center;gap:0;min-width:180px;max-width:100%;padding:12px 16px;font-weight:600;display:flex}.timer-entry:hover{border-color:var(--accent)}.timer-entry:active{background:#2b271f}.settings{border:1px solid var(--outline);border-radius:14px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:0;margin:0 0 16px;display:grid}.settings .setting{border:0;border-radius:0;gap:4px;width:auto;min-width:0;min-height:72px;padding:10px 8px;font-size:12px;line-height:1.4}.settings .setting:first-child{border-radius:13px 0 0 13px}.settings .setting:last-child{border-radius:0 13px 13px 0}.settings .setting+.setting{border-left:1px solid var(--outline)}.settings .setting:hover:not(:disabled){background:var(--surface)}.settings .setting:active:not(:disabled){background:#2b271f}.setting strong{font-size:14px;font-weight:600;display:block}.setting-detail{color:var(--secondary);display:block}.setting-chevron{color:var(--secondary);flex-shrink:0}.settings .count-in-setting{flex-wrap:wrap;gap:4px;padding:10px 4px}.compact-switch{background:#777b7d;border-radius:12px;flex-shrink:0;width:28px;height:18px;position:relative}.compact-switch:after{content:"";background:#17191b;border-radius:50%;width:12px;height:12px;position:absolute;top:3px;left:3px}[aria-checked=true] .compact-switch{background:var(--accent)}[aria-checked=true] .compact-switch:after{left:13px}.setting-error{color:var(--accent);font-size:13px;line-height:1.5}.setting-error button{border-radius:8px;min-height:44px;padding:8px}@media (width>=768px){.settings .setting{gap:8px;min-height:64px;padding:10px 12px;font-size:13px}.settings .count-in-setting{flex-wrap:nowrap}}@media (width<=359px){.settings .setting{padding:8px 5px;font-size:11px}.setting strong{font-size:13px}.setting-chevron{display:none}}@media (width>=768px){.settings .setting>span:first-child{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;display:flex}.settings .setting strong,.settings .setting-detail{display:inline}}.settings .setting>span:first-child{overflow-wrap:anywhere;min-width:0}.timer-entry-row>span{text-align:center;overflow-wrap:anywhere;max-width:100%}.timer-entry-row{width:100%}.timer-entry{background:#202428;border:2px solid #a98a52;border-radius:18px;flex-direction:column;gap:6px;width:100%;min-height:72px;padding:16px 20px;font-size:18px;box-shadow:0 4px 14px #0003}.timer-entry:hover{border-color:var(--accent);background:#2a2d30}.timer-entry.has-timer{background:#29271f}.timer-entry-action{font-size:16px;font-weight:600}.has-timer .timer-entry-action{color:var(--secondary);font-size:13px}.selected-timer-name{color:var(--accent);font-size:24px;line-height:1.25}.selected-timer-stage,.selected-timer-status{color:#d0d0c9;font-size:13px;font-weight:400;line-height:1.5}.timer-sheet .timer-heading h1{text-align:center;flex:1}.timer-sheet .stop-using{color:var(--accent);background:#2b271f;margin:0 0 16px;border-color:var(--accent)!important}.timer-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0 24px;display:grid}.timer-sheet .timer-tabs button{padding:10px 5px;font-size:13px}.timer-sheet .timer-tabs [aria-selected=true]{color:var(--accent)}.timer-sheet .timer-card .timer-heading{gap:8px;margin-bottom:4px}.timer-sheet .timer-card h2{font-size:18px}.timer-sheet .timer-actions{gap:6px}.timer-sheet .timer-actions button{min-width:44px;min-height:44px;padding:8px 10px}.timer-sheet .favorite-timer{color:var(--accent);font-size:22px}.timer-sheet .favorite-timer[aria-pressed=true]{border-color:var(--accent);background:#363025}.timer-sheet .timer-total{color:var(--secondary);margin:4px 0 12px;font-size:12px}.timer-preview-lines{color:var(--secondary);font-size:12px;line-height:1.6}.stage-summary{grid-template-columns:22px minmax(0,1fr);align-items:start;gap:8px;min-width:0;line-height:1.6;display:grid}.stage-number{font-variant-numeric:tabular-nums;color:var(--secondary);font-size:12px}.timer-preview-lines strong{color:#babcb9;font-weight:500}.preview-ellipsis{padding-left:30px;line-height:1.25}.timer-sheet .device-note{text-align:center;margin-top:16px;font-size:12px}.empty-timers,.simple-timer-panel,.timer-sheet .timer-field input{text-align:center}.reorder-hint{text-align:center;margin:12px 0!important;font-size:12px!important}.stage-cards{gap:10px;display:grid}.stage-card{background:#1b1e21;border:1px solid #686e73;border-radius:14px;align-items:stretch;gap:0;display:flex;overflow:hidden}.stage-card:hover{border-color:var(--accent)}.timer-sheet .stage-card .stage-card-open{text-align:left;background:0 0;border:0;border-radius:0;flex:1;justify-content:space-between;align-items:center;gap:8px;padding:12px;display:flex}.stage-card-open .stage-summary{font-size:13px}.stage-card-open strong{color:var(--accent);font-size:14px}.stage-open-mark{color:var(--secondary);font-size:24px}.timer-sheet .stage-card .stage-grip{color:#d7d7cf;cursor:grab;touch-action:none;background:#2c3034;border:0;border-left:1px solid #686e73;border-radius:0;min-width:44px;padding:8px;font-size:24px}.stage-grip:active{cursor:grabbing}.mini-tempo{text-align:center;margin:12px 0 20px}.mini-tempo>label{color:var(--secondary);letter-spacing:.08em;font-size:12px}.mini-tempo-entry{grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;gap:10px;max-width:300px;margin:10px auto;display:grid}.timer-sheet .mini-tempo-entry button{padding:4px;font-size:24px}.mini-tempo-entry input{text-align:center;width:100%;min-width:0;min-height:64px;color:var(--text,#f2f0ea);font-variant-numeric:tabular-nums;background:#17191b;border:1px solid #686e73;border-radius:14px;font-size:42px}.mini-tempo-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;display:grid}.timer-sheet .mini-tempo-presets button{min-height:44px;padding:8px 2px;font-size:13px}.stage-choice{text-align:center;border:0;min-width:0;margin:18px 0;padding:0}.stage-choice legend{text-align:center;width:100%;color:var(--secondary);margin-bottom:10px;font-size:13px}.choice-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.choice-buttons.meters{grid-template-columns:repeat(4,minmax(0,1fr))}.timer-sheet .choice-buttons button{border-color:#686e73;min-height:44px;padding:8px 4px;font-size:12px}.timer-sheet .choice-buttons.meters button{font-size:16px;font-weight:600}.timer-sheet .choice-buttons [aria-checked=true]{color:var(--accent);border-color:var(--accent);background:#332e23}.stage-beats{justify-content:center}.duration-inline{align-items:stretch;gap:10px;margin:20px 0 8px;display:flex}.duration-inline>[role=tablist]{flex:1;grid-template-columns:1fr 1fr;gap:6px;min-width:0;display:grid}.timer-sheet .duration-inline button{padding:8px 6px;font-size:13px}.duration-inline>[role=tabpanel]{width:104px;min-width:0}.duration-inline input{color:#f2f0ea;text-align:center;background:#17191b;border:1px solid #686e73;border-radius:12px;width:100%;height:100%;min-height:48px;padding:8px;font-size:16px}.timer-sheet .stage-timing-note{text-align:center;margin:8px 0 16px;font-size:12px}.stage-secondary{background:#30353a;border:1px solid #747b81;border-radius:14px;overflow:hidden}.stage-secondary summary{text-align:center;color:#f2f0ea;border-radius:0;padding:14px;font-size:13px;border:0!important}.stage-secondary summary strong{color:var(--accent)}.secondary-settings{background:#24292d;border-top:1px solid #747b81;padding:12px 16px 16px}.secondary-settings input[type=range]{width:100%;accent-color:var(--accent)}.secondary-settings .volume-label{color:#f2f0ea;margin-bottom:12px;font-size:13px}.secondary-settings output{color:var(--accent)}@media (width<=359px){.timer-sheet .timer-actions{gap:4px}.timer-sheet .timer-actions button{padding:6px}.mini-tempo-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.duration-inline{gap:6px}.duration-inline>[role=tabpanel]{width:88px}.timer-sheet .duration-inline button{padding:6px;font-size:12px}}.stage-card-open{min-width:0}.stage-card-actions{border-left:1px solid #686e73;flex-direction:column;justify-content:center;display:flex}.timer-sheet .stage-card-actions button{background:0 0;min-width:44px;font-size:23px;border:0!important;border-radius:0!important;min-height:44px!important;padding:6px!important}.stage-card-actions button+button{border-top:1px solid #686e73!important}.timer-sheet.stage-editor .timer-body{padding:12px 16px 16px}.timer-sheet.stage-editor .timer-heading{gap:8px;margin-bottom:8px}.timer-sheet.stage-editor .timer-heading h1{text-align:left;color:var(--secondary);flex:1;font-size:16px;font-weight:500}.timer-sheet.stage-editor .timer-heading button,.timer-sheet.stage-editor .primary.wide{border-radius:12px;min-height:44px;padding:8px 16px}.timer-sheet.stage-editor .mini-tempo{margin:4px 0 8px}.timer-sheet.stage-editor .mini-tempo-entry{gap:8px;margin:4px auto}.timer-sheet.stage-editor .mini-tempo-entry input{min-height:48px;font-size:32px}.timer-sheet.stage-editor .mini-tempo-presets{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.timer-sheet.stage-editor .mini-tempo-presets button{min-height:44px;padding:4px 0}.timer-sheet.stage-editor .stage-choice{margin:8px 0}.timer-sheet.stage-editor .stage-choice legend{margin-bottom:4px}.timer-sheet.stage-editor .choice-buttons{gap:4px}.timer-sheet.stage-editor .choice-buttons button{min-height:44px;padding:4px 2px}.timer-sheet.stage-editor .stage-beats{flex-wrap:wrap;gap:6px;margin:8px 0}.timer-sheet.stage-editor .stage-beats .beat{width:44px;height:44px;min-height:44px}.timer-sheet.stage-editor .duration-inline{margin:8px 0 4px}.timer-sheet.stage-editor .duration-inline input{min-height:44px;padding:6px}.timer-sheet.stage-editor .stage-timing-note{margin:4px 0 8px}.timer-sheet.stage-editor .stage-secondary summary{min-height:44px;padding:10px}.timer-sheet.stage-editor .secondary-settings{padding:8px 12px}.timer-sheet.stage-editor .secondary-settings .volume-label{margin:0}.timer-sheet.stage-editor .secondary-settings input[type=range]{height:32px;margin:0}.stage-editor .secondary-settings input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right, var(--accent) 0%, var(--accent) var(--volume,35%), #9ba3a9 var(--volume,35%), #9ba3a9 100%);height:6px}.timer-sheet.stage-editor .secondary-settings input[type=range]::-webkit-slider-thumb{margin-top:-7px}.timer-sheet.stage-editor .secondary-settings input[type=range]::-moz-range-track{background:#9ba3a9;height:6px}.timer-sheet.stage-editor .stage-chime-field{align-items:center;gap:8px;margin:0 0 4px;display:flex}.stage-chime-field span{text-align:left;color:#f2f0ea;flex:1}.stage-chime-field small{color:#c4c9cc;display:block}.timer-sheet.stage-editor .stage-chime-field input{text-align:center;width:76px;min-height:44px;margin:0;padding:6px}.stage-chime-presets{grid-template-columns:repeat(5,1fr);gap:4px;display:grid}.timer-sheet.stage-editor .stage-chime-presets button{min-height:44px;padding:6px 0}.stage-chime-presets [aria-pressed=true]{color:var(--accent);background:#332e23;border-color:var(--accent)!important}@media (width>=380px){.timer-sheet.stage-editor .choice-buttons.meters{grid-template-columns:repeat(9,minmax(0,1fr))}.timer-sheet.stage-editor .choice-buttons.meters button{font-size:13px}}.timer-sheet .timer-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.timer-name-row{align-items:flex-start;gap:12px;margin:8px 0 12px;display:flex}.timer-name-row .timer-name-field{flex:1;min-width:0;margin:0}.timer-name-row .timer-name-field input{min-height:44px;padding:8px 10px;font-size:15px}.timer-name-row .count-toggle{min-height:0;color:var(--secondary);flex-direction:column;flex:none;gap:8px;margin:0;font-size:13px;display:flex}.timer-name-row .count-toggle input{margin:0 0 8px}.stage-card-actions{flex-direction:row;align-items:center}.stage-card-actions button+button{border-top:0!important;border-left:1px solid #686e73!important}.timer-sheet .stage-card .stage-card-open{padding:6px 8px}.timer-sheet .stage-card .stage-grip{min-width:32px;padding:4px}.stage-card-open .compact-stage-summary{align-items:center;gap:6px;width:100%;min-width:0;font-size:12px;display:flex}.compact-stage-summary .stage-number{flex:none;font-size:11px}.compact-stage-summary>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.stage-card-open .compact-stage-summary strong{font-size:13px}.time-wheels{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;display:grid}.time-wheel-column{text-align:center;min-width:0}.time-wheel-column>span{color:var(--secondary);margin-bottom:4px;font-size:11px;display:block}.time-wheel{scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;background:#17191b;border:1px solid #686e73;border-radius:10px;height:88px;padding:22px 0;overflow:hidden auto}.time-wheel::-webkit-scrollbar{display:none}.time-wheel [role=option]{scroll-snap-align:center;color:#9ba3a9;cursor:pointer;font-variant-numeric:tabular-nums;height:44px;font-size:19px;line-height:44px}.time-wheel [aria-selected=true]{color:var(--accent);background:#332e23;font-weight:600}.time-wheel:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.duration-inline.duration-wheels{grid-template-columns:106px minmax(0,1fr);align-items:end;gap:8px;display:grid}.duration-wheels>[role=tablist]{grid-template-columns:1fr;gap:4px;display:grid}.duration-inline.duration-wheels>[role=tabpanel]{width:auto}.timer-sheet.stage-editor .stage-timing-note{margin:4px 0;font-size:11px}.timer-sheet.stage-editor .stage-secondary{margin:4px 0}.timer-sheet.stage-editor .mini-tempo{margin-bottom:4px}.timer-sheet.stage-editor .primary.wide{margin-top:8px}.simple-timer-panel .time-wheels{margin:16px 0}.timer-sheet.stage-editor .time-wheel{height:66px;padding:11px 0}.timer-sheet.stage-editor .duration-wheels>[role=tablist]{gap:4px}.timer-sheet.stage-editor .duration-wheels>[role=tablist] button{min-height:32px;padding:4px}.timer-sheet .stage-card button.stage-card-open{background:0 0;border:0;border-radius:0;min-height:44px;padding:6px 8px}.timer-sheet .stage-card button.stage-grip{border:0;border-left:1px solid #686e73;border-radius:0;min-width:32px;min-height:44px;padding:4px}.timer-sheet button.duplicate-timer{min-height:36px;color:var(--secondary);margin:8px 0 0;padding:6px 10px;font-size:12px}.timer-sheet .timer-card{border:1px solid #555c61;border-radius:12px;margin:10px 0;padding:10px 12px}.timer-card .timer-heading{gap:8px;margin-bottom:4px}.timer-card .timer-heading h2{text-align:left;font-size:16px}.timer-card .preset-label{color:#969c9f;white-space:nowrap;font-size:10px;font-weight:400}.timer-card .timer-preview-lines{margin:4px 0}.timer-sheet .timer-card .timer-total{margin:4px 0;font-size:11px}.timer-card .timer-preview-lines .stage-summary{font-size:11px;line-height:1.35}.timer-sheet .timer-card .timer-actions button{min-height:36px;padding:6px 8px;font-size:12px}.timer-sheet .time-wheel-column button.wheel-arrow{border-radius:6px;width:100%;height:24px;min-height:24px;padding:0;font-size:16px;line-height:20px}.time-wheel,.timer-sheet.stage-editor .time-wheel{border-radius:6px;height:32px;padding:0}.time-wheel [role=option]{height:32px;font-size:17px;line-height:32px}.timer-sheet.stage-editor .timer-body{padding-bottom:12px}.timer-sheet button.danger:not(.beat):not(.primary){color:#ffced0;background:#482729;border:1px solid #bd6c70}.timer-sheet button.danger:not(.beat):not(.primary):hover{background:#5a2e31}.timer-sheet.stage-editor .timer-body{padding-top:10px;padding-bottom:8px}.timer-sheet .timer-card{cursor:pointer}.timer-sheet .timer-card button.use-timer{border:1px solid var(--accent);min-width:72px;min-height:48px;color:var(--accent);border-radius:12px;padding:10px 18px;font-weight:600}.timer-total-live{color:var(--secondary);margin:4px 0;font-size:12px;display:block}.feature-switch{z-index:2;background:#1e2022;border:1px solid #383b3e;border-radius:14px;padding:3px;display:flex;position:absolute;top:20px;left:50%;transform:translate(-50%)}.feature-switch button{min-height:44px;color:var(--secondary);background:0 0;border-radius:10px;padding:0 24px;font-size:13px}.feature-switch button[aria-pressed=true]{color:var(--accent);background:#2b271f;border-color:#5d503a}.rud-header{max-width:1440px;margin:auto}.rudiments{grid-template-columns:320px minmax(0,1fr);max-width:1440px;margin:auto;padding-bottom:128px;display:grid}.rudiments h1{letter-spacing:-.8px;margin:0 0 8px;font-size:26px;font-weight:600}.rudiments h2{font-weight:400}.rud-library{border-right:1px solid #383b3e;padding:18px 24px 30px}.rud-subtitle{color:var(--secondary);margin:0;font-size:12px;line-height:1.6}.rud-eyebrow{text-transform:uppercase;letter-spacing:1.6px;color:var(--secondary);margin:24px 0 12px;font-size:10px;line-height:1.6;display:block}.rud-row{border-radius:12px;margin-bottom:4px;display:flex;position:relative}.rud-row.selected{background:#242629}.rud-row.selected:before{content:"";background:var(--accent);border-radius:2px;width:3px;position:absolute;top:12px;bottom:12px;left:0}.rud-select{text-align:left;background:0 0;border-radius:12px;flex:1;min-width:0;padding:12px 8px 12px 12px}.rud-select strong{margin-bottom:5px;font-size:14px;font-weight:600;display:block}.rud-row.selected strong{color:var(--accent)}.rud-select span,.rud-select small{color:var(--secondary);font-size:10px;line-height:1.6;display:block}.rud-select small{margin-top:3px}.rud-select .rud-sticking{letter-spacing:2px;color:#d3cfc5;margin-top:5px;font-size:10px}.rud-star{width:44px;height:44px;color:var(--secondary);background:0 0;border-radius:10px;flex-shrink:0;align-self:flex-start;font-size:23px}.rud-star[aria-pressed=true]{color:var(--accent)}.rud-empty{background:#1e2022;border-radius:12px;padding:14px 12px;font-size:12px}.rud-empty p{color:var(--secondary);margin:6px 0 0;font-size:12px;line-height:1.6}.rud-offline{color:var(--secondary);margin-top:28px;font-size:11px;line-height:1.6}.rud-detail{min-width:0;padding:0 28px 24px}.rud-backline{justify-content:space-between;align-items:center;min-height:44px;margin-bottom:4px;display:flex}.rud-link{color:var(--secondary);background:0 0;min-height:44px;padding:8px 0;font-size:12px}.rud-description{color:var(--secondary);max-width:58ch;margin:6px 0 20px;font-size:13px;line-height:1.6}.rud-notation{border:1px solid #4c5053;border-top:2px solid var(--accent);background:#1e2022;border-radius:16px;overflow:hidden}.rud-card-label{color:var(--secondary);justify-content:space-between;gap:12px;padding:15px 16px 0;font-size:10px;display:flex}.rud-card-label>span:first-child{letter-spacing:1.6px;text-transform:uppercase}.score-systems{color:#e4e1d8;flex-direction:column;justify-content:center;min-height:240px;padding:12px 12px 20px;display:flex}.score-system{width:100%;display:block;overflow:visible}.score-systems.multiple{padding-top:10px;padding-bottom:10px}.staff-line{stroke:currentColor;stroke-width:1px;opacity:.5;fill:none}.score-hand{fill:currentColor;font:600 15px Inter,sans-serif}.score-meter{text-anchor:middle;fill:currentColor;font:600 22px Georgia,serif}.score-accent{color:var(--accent);fill:var(--accent)}.score-bar-label,.score-count{fill:var(--secondary);letter-spacing:1px;font:10px Inter,sans-serif}.score-playhead rect{fill:#e0b66e15;stroke:var(--accent);stroke-width:1px}.score-playhead path{stroke:var(--accent)}.rud-notation-links{border-top:1px solid #383b3e;justify-content:space-between;margin:0 14px;display:flex}.rud-notation-links button{color:var(--secondary);background:0 0;min-height:44px;padding:8px 0;font-size:11px}.rud-notation-links button:first-child{color:var(--accent)}.rud-position{color:var(--secondary);min-height:18px;margin:16px 0 12px;font-size:12px}.rud-tempo{background:#242629;border-radius:14px;align-items:center;gap:8px;padding:12px 14px;display:flex}.rud-tempo>div{flex:1}.rud-tempo .rud-eyebrow{margin:0}.rud-tempo>button{background:#17191b;border-radius:12px;width:44px;height:44px;font-size:22px}.rud-tempo-value{font-variant-numeric:tabular-nums;text-align:left;background:0 0;min-height:44px;padding:2px 0;font-size:30px}.rud-tempo-value small{color:var(--secondary);margin-left:8px;font-size:11px}.rud-settings{text-align:left;background:0 0;border:1px solid #383b3e;border-radius:14px;justify-content:space-between;align-items:center;gap:10px;width:100%;margin-top:12px;padding:12px 14px;display:flex}.rud-settings>span:first-child{min-width:0}.rud-settings .rud-eyebrow{margin:0 0 5px}.rud-settings span span:not(.rud-eyebrow){font-size:12px;line-height:1.7;display:block}.rud-settings small{color:var(--secondary);font-size:11px;line-height:1.7;display:block}.rud-settings>span:last-child{color:var(--accent)}.rud-words p,.rud-context p{color:var(--secondary);font-size:12px;line-height:1.8}.rud-context{border-left:1px solid #383b3e;padding:10px 26px;display:none}.rud-context h3{margin:0;font-size:18px}.rud-context .rud-eyebrow:first-child{margin-top:8px}.staff-key{margin:12px 0 28px;font-size:12px}.staff-key>div{justify-content:space-between;align-items:center;gap:12px;min-height:34px;display:flex}.staff-key dt{white-space:nowrap;align-items:center;gap:12px;display:flex}.staff-key dt span{text-align:center;width:26px;font-size:17px}.staff-key dd{color:var(--secondary);text-align:right;margin:0;font-size:10px}.rud-transport{padding:12px 24px max(16px, env(safe-area-inset-bottom));z-index:3;background:#17191bf5;border-top:1px solid #383b3e;position:fixed;bottom:0;left:0;right:0}.rud-transport-status{color:var(--secondary);justify-content:space-between;gap:12px;margin-bottom:8px;font-size:11px;line-height:1.6;display:flex}.rud-transport-buttons{gap:12px;display:flex}.rud-transport-buttons button{border-radius:16px;min-height:52px;padding:0 24px}.rud-transport-buttons .primary{text-align:left;flex:1}.rud-notice{color:var(--accent);font-size:12px;line-height:1.6}.rud-dialog{color:#f2f0ea;overscroll-behavior:contain;background:#242629;border:1px solid #4c5053;border-radius:24px;width:min(100% - 24px,460px);max-height:calc(100dvh - 32px);padding:24px}.rud-dialog::backdrop{background:#0009}.rud-dialog-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.rud-dialog-heading h1{margin:0;font-size:24px}.rud-dialog-heading button{background:#17191b;border-radius:12px;width:44px;height:44px;font-size:24px}.rud-dialog p{color:var(--secondary);font-size:13px;line-height:1.7}.rud-dialog fieldset{border:0;margin:20px 0;padding:0}.rud-dialog legend{margin-bottom:12px;font-size:13px}.rud-options{flex-wrap:wrap;gap:8px;display:flex}.rud-options label{cursor:pointer;border:1px solid #4c5053;border-radius:12px;align-items:center;gap:8px;min-height:44px;padding:10px;font-size:12px;display:flex}.rud-options label:has(:checked){color:var(--accent);border-color:var(--accent);background:#2b271f}.rud-dialog input{accent-color:var(--accent)}.rud-dialog input[type=checkbox],.rud-dialog input[type=radio]{width:20px;min-width:20px;height:20px}.rud-toggle{cursor:pointer;border-bottom:1px solid #383b3e;justify-content:space-between;align-items:center;min-height:52px;font-size:14px;display:flex}.rud-field{flex-direction:column;gap:8px;margin:16px 0;font-size:13px;display:flex}.rud-field input,.rud-field select{color:inherit;width:100%;min-height:44px;font:inherit;background:#17191b;border:1px solid #4c5053;border-radius:12px;padding:12px}.rud-dialog .rud-hint{font-size:11px}.rud-done{border-radius:14px;width:100%;min-height:48px;margin-top:20px}.rud-pattern-text{white-space:normal}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.feature-notice{color:var(--secondary);white-space:nowrap;font-size:10px;line-height:1.6;position:absolute;top:84px;left:50%;transform:translate(-50%)}@media (width>=1200px){.rudiments{grid-template-columns:360px minmax(0,1fr) 300px}.rud-context{display:block}.rud-detail{padding:0 32px 24px}.rud-words{display:none}}@media (width>=768px) and (height>=501px){.rudiments{height:calc(100dvh - 128px);padding-bottom:116px}.rud-library,.rud-detail,.rud-context{scrollbar-width:thin;scrollbar-color:#4c5053 transparent;overflow-y:auto}.score-systems{min-height:220px}.rud-select small{display:none}.rud-select{padding-top:10px;padding-bottom:10px}}@media (width>=768px) and (width<=1199px){.rudiments{grid-template-columns:312px minmax(0,1fr)}.rud-library{padding-left:20px;padding-right:16px}.rud-detail{padding-left:24px;padding-right:24px}}@media (width<=767px){.feature-switch{top:15px;left:auto;right:16px;transform:none}.feature-switch button{padding:0 14px;font-size:12px}header{min-height:76px;padding:16px 24px}header .status{display:none}.rud-header{min-height:76px;margin-bottom:20px;padding-left:16px}body:has(.feature-switch) .instrument{padding-top:20px}.feature-notice{top:70px}.rudiments{display:block}.rud-library{border:0;padding:0 24px 24px}.rud-detail{padding:0 24px 24px;display:none}.rudiments.show-detail .rud-library{display:none}.rudiments.show-detail .rud-detail{display:block}.rudiments:not(.show-detail) .rud-transport{display:none}.rudiments h1{font-size:25px}.rud-words{margin-top:24px}.rud-row{margin-bottom:6px}.rud-dialog{margin:auto auto 12px}.rud-transport{padding:10px 16px max(16px, env(safe-area-inset-bottom))}.rud-transport-status{font-size:10px}.rud-transport-status>span:last-child{white-space:nowrap}.score-systems{min-height:230px}.score-systems.multiple{min-height:320px}}@media (width<=350px){.rud-library,.rud-detail{padding-left:16px;padding-right:16px}.rud-description{font-size:12px}.score-systems{min-height:210px;padding-left:6px;padding-right:6px}.rud-transport-status>span:last-child{display:none}}@media (height<=500px) and (width>=600px){.feature-switch{top:8px;left:50%;right:auto;transform:translate(-50%)}header{min-height:52px;padding:8px 24px}header .status{display:initial}.rud-header{min-height:52px;margin-bottom:4px}.feature-notice{font-size:9px;top:48px;left:auto;right:24px;transform:none}.rudiments{padding-bottom:80px;display:block}.rud-library{max-height:calc(100dvh - 52px);display:none;overflow:auto}.rudiments:not(.show-detail) .rud-library{display:block}.rudiments:not(.show-detail) .rud-detail{display:none}.rud-detail{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:0 20px;padding:0 24px;display:grid;position:relative}.rud-backline{width:130px;min-height:44px;margin:0;position:absolute;top:-48px;left:130px;right:auto}.rud-backline .rud-star{display:none}.rud-backline button{min-height:44px}.rud-heading{grid-area:1/1}.rud-heading h1{margin:0;font-size:20px}.rud-description{display:none}.rud-notation{grid-area:2/1;margin-top:8px}.rud-controls{grid-area:1/2/3}.rud-position{margin:0 0 8px}.score-systems,.score-systems.multiple{height:120px;min-height:0;padding:0 8px}.score-systems.multiple{flex-direction:column}.score-systems.multiple .score-system{width:100%;height:60px}.rud-notation-links button{min-height:44px;font-size:10px}.rud-card-label{padding-top:8px;font-size:9px}.rud-tempo{padding:6px 12px}.rud-settings{margin-top:8px;padding:8px 12px}.rud-words,.rud-context{display:none}.rud-transport{padding:6px 24px 10px}.rud-transport-buttons button{min-height:44px}.rud-transport-status{margin-bottom:4px}body:has(.feature-switch) .instrument{padding-top:0}}@media (prefers-reduced-motion:reduce){.score-playhead rect{x:64px}.score-playhead path{display:none}}.score-systems,.score-systems.multiple{gap:8px;min-height:0;padding:8px 12px}.score-system{flex-shrink:0;height:auto;max-height:160px}.rud-family{margin:20px 0}.rud-family summary{cursor:pointer;min-height:44px;color:var(--secondary);align-items:center;gap:10px;font-size:13px;font-weight:600;display:flex}.rud-family summary:before{content:"▸";font-size:11px}.rud-family[open] summary:before{content:"▾"}.rud-family summary small{margin-left:auto;font-weight:400}.rud-select small{margin:6px 0;font-size:12px;line-height:1.6;display:block!important}.rud-select>span{color:var(--accent);font-size:11px}.rud-variations{flex-wrap:wrap;gap:6px;margin:16px 0;display:flex}.rud-variations button{background:0 0;border:1px solid #383b3e;border-radius:10px;min-height:44px;padding:6px 10px;font-size:11px}.rud-variations button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#2b271f}.rud-variations p{width:100%;color:var(--secondary);margin:4px 0;font-size:12px;line-height:1.6}.hand-R{color:#e0b66e;fill:#e0b66e}.hand-L{color:#f2f0ea;fill:#f2f0ea}.hand-r{color:#b28b50;fill:#b28b50}.hand-l{color:#a6a7a4;fill:#a6a7a4}.rud-pattern-strokes{letter-spacing:1px;word-spacing:8px;font-size:15px;font-weight:600;line-height:2.3}.rud-words{display:none}@media (height<=500px) and (width>=600px){.rud-variations{grid-area:1/2;max-height:80px;margin:0 0 8px;overflow:auto}.rud-controls{grid-row:2/4}.rud-heading{grid-row:1}.rud-notation{grid-row:2/4}.rud-detail{max-height:calc(100dvh - 144px);overflow-y:auto}.score-systems.multiple{height:auto}.score-systems.multiple .score-system{height:auto;max-height:140px}}.rud-variations{border:1px solid #383b3e;border-radius:12px;padding:0 12px;display:block}.rud-variations summary{cursor:pointer;min-height:44px;color:var(--accent);align-items:center;font-size:12px;display:flex}.rud-variations summary:after{content:"⌄";margin-left:auto}.rud-variations button{margin:0 6px 8px 0}.rud-tempo{grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;display:grid}.rud-tempo>div{text-align:center;grid-area:1/2}.rud-tempo-value{text-align:center}.rud-tempo>button[aria-label^=Decrease]{grid-area:1/1}.rud-tempo>button[aria-label^=Increase]{grid-area:1/3}.rud-tempo-presets{justify-content:center;gap:8px;margin:8px 0;display:flex}.rud-tempo-presets button{background:0 0;border:1px solid #383b3e;border-radius:10px;min-width:44px;min-height:44px;font-size:12px}.rud-detail{flex-direction:column;min-height:0;display:flex;overflow:hidden}.rud-heading h1{font-size:23px}.rud-description{margin:4px 0 8px;font-size:12px}.rud-backline{flex-shrink:0}.rud-notation{flex-direction:column;flex:300px;min-height:130px;display:flex}.score-systems,.score-systems.multiple{overscroll-behavior:contain;scrollbar-width:thin;flex:1;justify-content:flex-start;min-height:0;position:relative;overflow-y:auto}.rud-notation-links,.rud-controls{flex-shrink:0}.rud-position{margin:6px 0;font-size:11px}.rud-tempo{padding:4px 12px}.rud-tempo-presets{margin:4px 0}.rud-settings{margin-top:4px;padding:7px 12px}.rud-settings .rud-eyebrow{margin-bottom:0}.rud-variations{flex-shrink:0;margin:6px 0}.rud-context{overflow:auto}@media (width<=767px){.rudiments.show-detail{height:calc(100dvh - 96px);padding-bottom:110px;overflow:hidden}.rudiments.show-detail .rud-detail{height:100%;padding-bottom:6px;display:flex}.rud-detail .rud-heading .rud-description{display:none}.rud-backline{min-height:36px;margin:0}.rud-detail .rud-backline button{height:36px;min-height:36px}.rud-notation{min-height:130px}.rud-detail .rud-heading h1{font-size:21px}.rud-detail .rud-subtitle{font-size:11px}}@media (height<=500px) and (width>=600px){.rudiments.show-detail{height:calc(100dvh - 56px);padding-bottom:80px}.rud-detail{grid-template-rows:36px minmax(0,1fr);height:100%;max-height:none;display:grid;overflow:hidden}.rud-heading{display:none}.rud-variations{grid-area:1/2;margin:0}.rud-notation{grid-area:1/1/3;margin:0}.rud-controls{grid-area:2/2;overflow:auto}.score-systems.multiple{height:auto}.rud-position .rud-link{min-height:30px}}.rud-tempo-row{justify-content:center;align-items:center;gap:8px;max-width:460px;margin:0 auto;display:flex}.rud-tempo{flex:0 0 160px;grid-template-columns:44px 64px 44px;gap:0;min-height:48px;padding:0 4px}.rud-tempo .rud-eyebrow{display:none}.rud-tempo-value{padding:0;font-size:24px}.rud-tempo-value small{margin-left:4px;font-size:9px}.rud-tempo-presets{scrollbar-width:none;flex:1;justify-content:flex-start;gap:4px;min-width:0;margin:0;overflow-x:auto}.rud-tempo-presets button{flex:0 0 44px}.rud-session-summary{color:var(--secondary);justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.rud-session-summary .rud-link{min-height:36px;font-size:11px}.rud-controls>.rud-position[role=status]{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.rud-settings{min-height:40px;margin-top:0;padding:4px 12px}.rud-settings .rud-eyebrow{margin:0;font-size:10px}.rud-settings>span:first-child>span:not(.rud-eyebrow),.rud-settings small{display:none}.rud-variations{position:relative}.rud-variation-menu{z-index:8;background:#242629;border:1px solid #4c5053;border-radius:14px;max-height:260px;padding:12px;position:absolute;top:calc(100% + 4px);left:0;right:0;overflow:auto;box-shadow:0 16px 36px #0008}.rud-variation-menu p{font-size:12px;line-height:1.6}.rud-notation{flex-basis:400px;min-height:240px}.rud-card-label{padding-top:10px}.rud-backline{min-height:32px}.rud-heading h1{margin-bottom:4px}.rud-description{display:none}.rud-transport{padding:6px 16px max(10px, env(safe-area-inset-bottom))}.rud-transport-status{margin-bottom:4px}.rud-transport-buttons button{min-height:48px}@media (width<=767px){.rud-header{min-height:64px;margin-bottom:8px}.rudiments.show-detail{height:calc(100dvh - 72px);padding-bottom:88px}.rudiments.show-detail .rud-detail{padding-bottom:4px}.rud-notation{min-height:220px}.rud-detail .rud-backline button{height:32px;min-height:32px}.rud-feature-notice{top:68px}.rud-controls{margin-top:6px}}@media (height<=600px){.rudiments.show-detail{overflow:auto}.rud-detail{overflow:visible}.rud-notation{flex-shrink:0}.rud-controls{padding-bottom:8px}}@media (height<=500px) and (width>=600px){.rud-header{min-height:52px;margin-bottom:4px}.rudiments.show-detail{height:calc(100dvh - 56px);padding-bottom:80px;overflow:hidden}.rud-detail{overflow:hidden}.rud-notation{min-height:190px}.rud-controls{overflow:auto}.rud-tempo-row{flex-wrap:wrap}.rud-variation-menu{width:min(340px,90vw);left:auto;right:0}}@media (width>=768px) and (height>=501px){.rud-header{min-height:80px;padding:16px 24px}.rudiments{height:calc(100dvh - 80px);padding-bottom:88px}.rud-detail{padding-bottom:0}}.rud-backline,.rud-backline button,.rud-detail .rud-backline button{height:44px;min-height:44px}@media (width<=767px){.rudiments:not(.show-detail) .rud-detail{display:none}}.rud-tabs{flex-wrap:wrap;gap:6px;margin:18px 0;display:flex}.rud-tabs button{min-height:44px;color:var(--secondary);background:0 0;border:1px solid #414447;border-radius:10px;padding:8px 12px;font-size:12px}.rud-tabs button[aria-selected=true]{border-color:var(--accent);color:var(--accent);background:#30291e}.rud-tabs .rud-exercises-tab{color:#b3d7ce;background:#20302d;border-color:#719f99}.rud-tabs .rud-exercises-tab[aria-selected=true]{color:#d4eee5;background:#304d45;border-color:#b3d7ce}.rud-row{background:#1e2022;border:1px solid #414447;margin-bottom:10px}.rud-row:hover{background:#262727;border-color:#857354}.rud-row:focus-within{border-color:var(--accent)}.rud-tempo-presets button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#30291e}.rud-back-button{min-height:44px;color:var(--accent);background:#30291e;border:1px solid #8a744c;border-radius:10px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:13px;font-weight:600;display:inline-flex}.rud-back-button:hover{border-color:var(--accent);background:#403422}.rud-notation{position:relative}.rud-notation>.count-in-overlay{z-index:4;color:var(--text,#f2f0ea);top:50%;transform:translate(-50%,-50%)}
