:root{color-scheme:dark;--bg:#101719;--panel:#182124;--panel-deep:#121b1e;--line:#2b3639;--muted:#95a4a7;--text:#edf0e9;--gold:#e8c17b;--teal:#63d9c4;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 65% -20%,#243234 0,transparent 45%),var(--bg);color:var(--text)}button,input,select{font:inherit}button,select{cursor:pointer}button{color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:4px}a{color:var(--gold)}[hidden]{display:none!important}.wrap{width:min(1320px,calc(100% - 96px));margin:auto}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--text);font-size:27px;font-weight:750;letter-spacing:-1px;line-height:1}.brand-light{font-weight:350;color:#bfcdcb}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:10px;color:var(--muted);font-weight:600}.brand-mark{display:flex;gap:4px;width:43px;height:44px;align-items:center}.brand-mark i{width:6px;background:var(--gold);border-radius:3px;height:21px}.brand-mark i:nth-child(2){height:38px}.brand-mark i:nth-child(3){height:29px}.brand-mark i:nth-child(4){height:17px}.top-actions{display:flex;gap:24px;align-items:center}.connection{font-size:12px;color:#bfccc7;display:flex;gap:8px;align-items:center}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--teal);box-shadow:0 0 10px #63d9c427}.button{border:1px solid var(--line);background:transparent;border-radius:8px;padding:12px 16px;font-size:12px;font-weight:650;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:background .15s,transform .15s;min-height:43px;white-space:nowrap}.button:not(:disabled):hover{background:#2c383b}.button:not(:disabled):active{transform:translateY(1px)}.button.primary{background:var(--gold);color:#172025;border-color:var(--gold)}.button.primary:hover{background:#f5d399}.button.secondary{background:#202b2e;border-color:#344145}.button.quiet{padding:10px 13px;background:#ffffff03}.button kbd{font-family:inherit;font-size:9px;border:1px solid #17202532;background:#ffffff24;border-radius:3px;padding:3px 4px;margin-left:10px}.full{width:100%;justify-content:space-between}.intro{display:flex;align-items:center;justify-content:space-between;padding:38px 0 31px}.eyebrow{color:var(--muted);font-size:9px;letter-spacing:1.9px;font-weight:650;margin:0 0 12px}.intro .eyebrow span{padding:0 11px;color:#5d7174}h1{font-size:46px;font-weight:500;letter-spacing:-2px;line-height:1.15;margin:0 0 14px}h1>span{color:var(--gold)}.subtitle{font-size:13px;color:var(--muted);margin:0;line-height:1.6}.intro-note{display:flex;gap:18px;align-items:center;font-size:10px;color:#9aaba9;line-height:1.8}.mini-wave{font-size:23px;color:#637b77;letter-spacing:3px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:22px;align-items:start}.play-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}.track-heading{display:flex;gap:13px;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.track-icon{width:42px;height:43px;display:flex;align-items:center;justify-content:center;background:#2f3631;border:1px solid #4d4c3b;color:var(--gold);border-radius:8px;font-family:Georgia,serif;font-size:20px}.track-info{flex:1;min-width:0}.track-info label{display:block;font-size:8px;margin-bottom:5px}.track-info select{font-size:17px;font-weight:550;background:transparent;color:var(--text);border:0;padding:0 24px 0 0;max-width:100%}option{background:#202a2d}.time-signature{font-family:Georgia,serif;color:#afbbb5;letter-spacing:1px;font-size:22px}.time-signature span{font-size:15px;margin:0 4px;color:#637372}.stage{height:347px;position:relative;background:#111b1e;overflow:hidden}#highway{width:100%;height:100%;display:block}.stage-status{position:absolute;left:22px;right:22px;top:17px;display:flex;justify-content:space-between;color:#788e91;font-size:8px;letter-spacing:1.5px;pointer-events:none}.stage-overlay{position:absolute;left:0;right:0;top:68px;text-align:center;display:flex;align-items:center;flex-direction:column;pointer-events:none;gap:10px;text-shadow:0 2px 14px #101719;background:radial-gradient(ellipse,#111b1ee0,transparent 70%);padding:6px 20px 15px}.stage-overlay .eyebrow{color:var(--gold);font-size:8px;margin:0}.stage-overlay strong{font-size:25px;letter-spacing:-.7px;font-weight:500}.stage-overlay>span:last-child{font-size:10px;color:#9eb0b0}.stage-overlay.counting{top:75px}.stage-overlay.counting strong{font-size:58px;font-variant-numeric:tabular-nums;color:var(--gold);line-height:1.1}.lane-labels{position:absolute;bottom:8px;left:10%;right:10%;display:grid;grid-template-columns:repeat(3,1fr);text-align:center;pointer-events:none}.lane-labels>div{display:flex;flex-direction:column;gap:7px;align-items:center;font-size:8px;font-weight:650;letter-spacing:1.8px}.lane-labels kbd,.key-chip{font-size:9px;font-weight:650;letter-spacing:.2px;font-family:inherit;color:#d1dedc;background:#263337;border:1px solid #415153;box-shadow:0 2px 0 #0b1315;border-radius:4px;min-width:23px;padding:4px 6px}.transport{display:flex;gap:10px;align-items:center;padding:19px 24px 16px;border-top:1px solid var(--line)}.tempo{margin-left:auto}.tempo label,.length label{display:block;font-size:7px;letter-spacing:1.5px;color:var(--muted);margin-bottom:6px}.tempo>div{display:flex;align-items:center;gap:3px}.tempo input{width:51px;background:transparent;border:0;color:var(--text);font-size:19px;font-weight:550;padding:0;font-variant-numeric:tabular-nums}.tempo span{font-size:8px;color:var(--muted)}.length{margin-left:10px}.length select{background:transparent;border:0;color:var(--text);font-size:12px;padding:2px 13px 2px 0}.play-options{display:flex;align-items:center;gap:22px;padding:0 24px 20px}.toggle{display:flex;align-items:center;gap:8px;font-size:10px;color:#b6c3c0;cursor:pointer}.toggle input{position:absolute;width:1px;height:1px;opacity:0}.toggle input:focus-visible+.switch{outline:2px solid var(--gold);outline-offset:4px}.switch{width:24px;height:14px;background:#3b494b;border-radius:20px;position:relative}.switch:after{content:"";width:10px;height:10px;border-radius:50%;position:absolute;left:2px;top:2px;background:#819291;transition:left .15s}.toggle input:checked+.switch{background:#52614b}.toggle input:checked+.switch:after{left:12px;background:var(--gold)}.play-hint{margin-left:auto;font-size:9px;color:#7f9394}.play-hint span{margin:0 7px}.coach-column{display:grid;gap:17px}.coach-card{border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--panel)}.section-label{display:flex;justify-content:space-between;align-items:center}.section-label .eyebrow{margin:0;font-size:8px}.chip{background:#253632;border:1px solid #3e5349;font-size:8px;color:#b5c9ab;padding:4px 7px;border-radius:4px}.session-score{display:flex;gap:11px;align-items:baseline;margin:22px 0}.session-score strong{font-size:52px;font-weight:450;letter-spacing:-2px;line-height:1;font-variant-numeric:tabular-nums}.session-score>span{font-size:10px;color:var(--muted)}.stat-pair{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.stat-pair>div{display:flex;flex-direction:column;gap:6px}.stat-pair>div+div{border-left:1px solid var(--line);padding-left:23px}.stat-pair strong{font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}.stat-pair span{font-size:9px;color:var(--muted)}.feedback{display:flex;gap:10px;align-items:center;min-height:86px}.feedback-mark{color:var(--gold);font-size:24px}.feedback>div{display:flex;flex-direction:column;gap:5px}.feedback strong{font-size:11px;font-weight:550}.feedback div>span{font-size:9px;color:var(--muted);line-height:1.6}.coach-card .full{font-size:10px;min-height:36px;padding:10px 12px}.lesson-card{padding:4px 7px}.lesson-card>.eyebrow{font-size:8px;color:#7f9796}.lesson-card h2{font-size:17px;font-weight:500;letter-spacing:-.3px;margin:10px 0}.lesson-card p{font-size:10px;color:#9fadaa;line-height:1.8;margin:0}.rhythm-grid{display:grid;grid-template-columns:35px repeat(8,1fr);gap:6px 7px;margin:13px 0}.rhythm-grid>span{text-align:center;font-size:8px;color:#8a9c9a}.rhythm-grid>.grid-label{text-align:left;font-size:7px;align-self:center}.grid-dot{height:8px;display:flex;align-items:center;justify-content:center}.grid-dot:after{content:"";width:4px;height:4px;border-radius:50%;background:#314143}.grid-dot.active:after{width:6px;height:6px;background:var(--drum-color)}.lesson-card .lesson-tip{font-size:9px;color:#7d9492}.lesson-tip strong{font-weight:500;color:#bac7be}.kit-section{margin-top:31px}.kit-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:17px;gap:20px}.kit-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.kit-heading h2{font-size:20px;letter-spacing:-.6px;font-weight:450;margin:9px 0 0}.kit-heading p{font-size:9px;line-height:1.7;color:var(--muted);margin:0}.text-button{color:#bdc8bf;border:0;background:none;padding:2px 0;font-size:inherit;text-decoration:underline;text-decoration-color:#627572;text-underline-offset:4px}.kit-heading .text-button{margin-left:10px}.drum-pads{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px}.drum-pad{position:relative;border:1px solid var(--line);border-radius:9px;background:#192326;min-height:96px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:15px 14px 13px;overflow:hidden;transition:background .1s,border-color .1s}.drum-pad:before{content:"";height:3px;background:var(--drum-color);position:absolute;left:0;right:0;top:0;opacity:.6}.drum-pad:hover{border-color:#536560;background:#243134}.drum-pad.flash{border-color:var(--drum-color);background:color-mix(in srgb,var(--drum-color) 17%,#192326);box-shadow:0 0 18px color-mix(in srgb,var(--drum-color) 12%,transparent)}.pad-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:5px}.pad-name{font-size:10px;font-weight:550;white-space:nowrap}.pad-icon{width:15px;height:15px;border:1px solid var(--drum-color);border-radius:50%;opacity:.65}.pad-icon.cymbal{height:7px;border-radius:50%;transform:rotate(-20deg)}.pad-keys{display:flex;gap:4px;align-items:center}.drum-pad .key-chip{font-size:8px;padding:3px 5px;min-width:19px}.unmapped{color:#8a9a98;font-size:9px}.under-kit{display:flex;justify-content:space-between;color:#748d89;font-size:8px;margin-top:13px}.under-kit .status-dot{width:4px;height:4px;margin-right:7px;vertical-align:middle}footer{border-top:1px solid var(--line);margin-top:30px!important;padding:22px 0 24px;display:flex;justify-content:space-between;color:#6e8581;font-size:9px}footer>span:first-child{font-family:Georgia,serif;font-style:italic;color:#9cad9f;font-size:12px}.footer-divider{margin:0 10px;color:#4e6660}footer .text-button{margin-left:20px}.notice{border:1px solid #665934;background:#332f23;color:#eedbb4;margin-top:20px;border-radius:8px;padding:13px 16px;font-size:12px;line-height:1.6}.notice.error{border-color:#824c52;background:#382326;color:#f0b8bf}dialog{color:var(--text);background:#192326;border:1px solid #3b4b4b;border-radius:16px;padding:28px;width:min(640px,calc(100% - 36px));max-height:calc(100dvh - 50px);box-shadow:0 30px 100px #0008}dialog::backdrop{background:#070d10cc;backdrop-filter:blur(7px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dialog-header .eyebrow{font-size:8px;color:var(--gold)}.dialog-header h2{font-size:29px;font-weight:450;letter-spacing:-1px;margin:0}.close-button{border:1px solid #415150;border-radius:50%;width:29px;height:29px;line-height:1;font-size:20px;background:transparent;color:#a4b9b3}.dialog-description{color:#9eb2ac;line-height:1.8;font-size:11px;margin:17px 0 22px}.mapping-list{border-top:1px solid var(--line)}.mapping-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);min-height:51px;gap:10px}.mapping-drum{display:flex;align-items:center;gap:10px;font-size:12px;min-width:90px}.drum-dot{width:7px;height:7px;background:var(--drum-color);border-radius:50%;display:inline-block}.mapping-keys{display:flex;gap:5px;flex:1;justify-content:flex-end}.mapping-row .button{padding:6px 9px;min-height:29px;font-size:9px}.mapping-row .clear-key{border:0;background:none;color:#7a9390;font-size:13px;margin-left:3px}.mapping-row.capturing{background:#e8c17b10}.mapping-row.capturing .mapping-drum{color:var(--gold)}.mapping-status{color:var(--gold);font-size:10px;min-height:30px;margin:14px 0;line-height:1.7}.advanced-settings{border-top:1px solid var(--line);padding-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:14px 25px}.advanced-settings label{font-size:10px;color:#b2c3bc;display:flex;flex-wrap:wrap;align-content:start;justify-content:space-between;gap:10px}.advanced-settings select{width:100%;color:var(--text);background:#253234;border:1px solid #3c504b;border-radius:5px;padding:8px;font-size:10px}.advanced-settings input{width:100%;accent-color:var(--gold)}.advanced-settings p{grid-column:1/-1;font-size:9px;line-height:1.7;color:#7e9a92;margin:0}.roland-note{display:flex;align-items:start;gap:12px;background:#25312e;padding:15px;border-radius:8px;margin:20px 0}.roland-note>span{font-size:23px;color:var(--gold)}.roland-note strong{font-size:11px;font-weight:600}.roland-note p{font-size:10px;color:#9eb2a7;line-height:1.8;margin:6px 0 0}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:23px}.report-dialog{width:min(750px,calc(100% - 36px))}.report-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.report-stat{background:#22302e;border:1px solid #35483f;border-radius:8px;padding:17px 12px}.report-stat strong{display:block;font-size:26px;font-weight:450;letter-spacing:-1px;color:var(--gold)}.report-stat span{font-size:9px;color:#9bb0a4;display:block;margin-top:7px}.chart-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px}.chart-title h3{font-size:12px;font-weight:500}.chart-title span{font-size:8px;color:#8ea99b}#timing-chart{width:100%;height:150px;background:#14201e;border:1px solid #2c4338;border-radius:8px;display:block}.report-advice{font-size:11px;line-height:1.8;color:#c5cfbf;margin:15px 0 20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:10px;white-space:nowrap;text-align:left}th{color:#87a18f;font-size:8px;letter-spacing:.5px;font-weight:500;padding:10px;border-bottom:1px solid #3a4e42}td{padding:12px 10px;border-bottom:1px solid #2c3e34;color:#c7d5c9}td:first-child .drum-dot{margin-right:7px}.report-footnote{font-size:8px;color:#7f9b87;line-height:1.8}.about-copy p{font-size:12px;line-height:1.9;color:#a6bbb1}.about-copy h3{font-size:13px;margin-top:23px}
@media(min-width:1450px){.stage{height:390px}.intro{padding-top:47px;padding-bottom:38px}}
@media(max-width:1100px){.wrap{width:calc(100% - 56px)}.workspace{grid-template-columns:minmax(0,1fr) 256px;gap:16px}.track-heading{padding:18px}.transport{padding:17px 18px;gap:8px}.transport .button{padding:11px 12px;font-size:10px}.button kbd{display:none}.play-options{padding:0 18px 19px;gap:16px}.play-hint{font-size:8px}.coach-card{padding:18px}.drum-pad{padding:14px 10px 12px}.pad-icon{display:none}.tempo input{width:44px;font-size:17px}.length{margin-left:4px}.kit-heading .text-button{display:block;margin:5px 0 0}.stage{height:340px}}
@media(max-width:850px){.intro-note{display:none}.workspace{grid-template-columns:1fr}.coach-column{grid-template-columns:1fr 1fr;gap:25px}.coach-card{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.section-label{grid-column:1/-1}.session-score{margin:20px 0}.stat-pair{border:0;padding:20px 0;align-items:center}.stat-pair>div+div{padding-left:15px}.feedback{grid-column:1/-1;min-height:65px;border-top:1px solid var(--line)}.coach-card .full{grid-column:1/-1}.lesson-card{padding:15px 0}.lesson-card p{font-size:11px}.rhythm-grid{margin:24px 0}.drum-pads{grid-template-columns:repeat(4,1fr)}.drum-pad{min-height:85px;padding:14px}.pad-icon{display:block}.kit-heading p{text-align:right}.stage{height:355px}.play-hint{font-size:9px}.transport .button{font-size:12px}.tempo{margin-left:auto}.intro{padding-top:30px}h1{font-size:40px}.topbar{height:90px}}
@media(max-width:540px){.wrap{width:calc(100% - 32px)}.topbar{height:80px}.brand{font-size:24px}.brand small{font-size:6px;letter-spacing:1.5px}.brand-mark{transform:scale(.85);width:34px}.top-actions{gap:0}.connection{display:none}.top-actions .button{font-size:11px;padding:8px 12px}.intro{padding:27px 0 25px}.intro .eyebrow{font-size:7px}h1{font-size:35px}.subtitle{font-size:11px;max-width:270px}.track-heading{padding:16px}.track-info select{font-size:15px}.track-icon{width:35px;height:37px;font-size:18px}.stage{height:320px}.stage-overlay strong{font-size:22px}.stage-status{font-size:6px;left:14px;right:14px;letter-spacing:1px}.transport{display:grid;grid-template-columns:1fr 1fr;padding:16px;gap:13px}.transport .button{width:100%;font-size:11px}.tempo{margin:0;display:flex;align-items:center;gap:14px}.tempo label{margin:0}.tempo>div{gap:7px}.length{margin:0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.length label{margin:0}.play-options{gap:16px;flex-wrap:wrap;padding:0 16px 16px}.play-hint{width:100%;margin-left:0;font-size:8px}.coach-column{grid-template-columns:1fr}.coach-card{column-gap:30px}.lesson-card{display:none}.kit-section{margin-top:27px}.kit-heading{display:block}.kit-heading p{text-align:left;margin-top:12px;font-size:9px}.kit-heading .text-button{display:inline;margin-left:8px}.kit-heading h2{font-size:20px}.drum-pads{gap:8px}.drum-pad{min-height:82px;padding:13px 9px 10px}.pad-name{font-size:9px}.pad-icon{display:none}.under-kit{font-size:7px;gap:20px;line-height:1.6}.under-kit>span:last-child{text-align:right}footer{display:block;font-size:8px;line-height:2.5;margin-top:23px!important}footer>span{display:block}footer .text-button{margin-left:10px}dialog{padding:22px 18px}.dialog-header h2{font-size:25px}.mapping-row{gap:6px}.mapping-drum{font-size:10px;min-width:75px}.mapping-row .button{font-size:8px;padding:6px}.mapping-row .key-chip{font-size:8px;padding:4px;min-width:18px}.advanced-settings{column-gap:16px}.report-stats{grid-template-columns:1fr 1fr}.report-stat{padding:13px}.chart-title{display:block}.chart-title span{display:block;margin-bottom:12px}.dialog-actions .button{font-size:10px;padding:11px 12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.track-info select{width:100%;text-overflow:ellipsis}.track-heading #open-import{font-size:10px;padding:9px 12px;min-height:34px}.loaded-song{border-bottom:1px solid var(--line);padding:10px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#21332d;font-size:9px;color:#b6cabd}.loaded-song>div{display:flex;align-items:center;gap:10px;min-width:0}.loaded-song>div:first-child{flex:1}.loaded-song #loaded-song-info{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loaded-song .text-button{font-size:9px;white-space:nowrap}.song-dot{width:5px;height:5px;border-radius:50%;background:var(--teal);flex-shrink:0}.lane-labels.many-lanes{left:8%;right:8%;bottom:9px;gap:2px}.lane-labels.many-lanes>div{font-size:6px;letter-spacing:.3px;gap:5px;line-height:1.35;justify-content:end}.lane-labels.many-lanes kbd{font-size:7px;padding:4px;min-width:17px;max-width:100%}#song-duration{font-size:13px;color:var(--text);font-variant-numeric:tabular-nums;line-height:1.8}.play-hint #count-in-label{margin:0}.import-dialog{width:min(770px,calc(100% - 36px))}.import-file-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.import-file-row>span{font-size:11px;color:#a9bfb5;flex:1;min-width:150px;overflow-wrap:anywhere;line-height:1.6}.import-file-row>.text-button{font-size:10px}.file-pick{position:relative;overflow:hidden;cursor:pointer;font-size:11px}.file-pick input{position:absolute;opacity:0;width:1px;height:1px;left:0;bottom:0}.file-pick:focus-within{outline:2px solid var(--gold);outline-offset:3px}.file-pick:has(input:disabled){opacity:.4;cursor:default}.import-section{border-top:1px solid var(--line);padding-top:18px;margin-top:23px}.import-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:13px}.import-section-heading h3{font-size:12px;font-weight:550;margin:0}.import-section-heading h3 small{font-size:9px;color:#8aa294;font-weight:400;margin-left:6px}.import-section-heading>span{color:#819b8c;font-size:9px}.midi-parts{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:165px;overflow:auto}.part-choice{display:flex;align-items:center;gap:9px;padding:11px 12px;background:#21302c;border:1px solid #33483d;border-radius:6px;cursor:pointer;min-width:0}.part-choice input{accent-color:var(--gold);flex-shrink:0}.part-choice>span{display:flex;flex-direction:column;gap:6px;min-width:0}.part-choice strong{font-size:10px;font-weight:500;overflow-wrap:anywhere}.part-choice small{font-size:8px;color:#8eac98;line-height:1.5}.import-help{font-size:9px;line-height:1.8;color:#93aa9b;margin:12px 0 0}.midi-mapping{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:7px}.pitch-choice{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid var(--line);gap:14px}.pitch-choice:last-child{border-bottom:0}.pitch-choice>span{display:flex;flex-direction:column;gap:4px;min-width:0}.pitch-choice strong{font-size:10px;font-weight:500;color:var(--gold)}.pitch-choice strong>span{color:#c3d0c5;margin-left:8px}.pitch-choice small{font-size:8px;color:#8aa18f}.pitch-choice select{background:#273831;border:1px solid #425b49;color:#d6dfcf;border-radius:4px;font-size:10px;padding:7px 9px;max-width:160px;width:40%}.audio-settings{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:18px}.audio-settings label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#b6c5b6}.audio-settings label>span{font-size:9px;color:#859e88}.audio-settings input{width:100%;accent-color:var(--gold)}.audio-settings input[type=number]{padding:8px 10px;background:#23322a;border:1px solid #3b5140;border-radius:5px;color:#d8e1ce;font-size:13px}.import-summary{background:#293b2d;border:1px solid #475e3e;color:#d1dec0;border-radius:7px;padding:13px 15px;margin:22px 0 0;font-size:10px;line-height:1.9}.import-status{font-size:10px;line-height:1.8;color:#a4bfa7;min-height:18px;margin:10px 0 0}.import-status.error{color:#f3a4ad}
@media(max-width:540px){.track-heading{gap:9px}.track-heading .track-icon{display:none}.track-heading #open-import{font-size:9px;padding:8px;gap:4px}.track-heading .time-signature{font-size:16px}.track-info select{font-size:13px}.track-info label{font-size:6px;letter-spacing:1px}.loaded-song{padding:10px 15px;flex-wrap:wrap;gap:8px}.loaded-song>div:first-child{flex-basis:100%}.loaded-song>div:last-child{width:100%;justify-content:flex-end}.lane-labels.many-lanes>div{font-size:5.5px}.lane-labels.many-lanes kbd{font-size:6px;min-width:14px;padding:3px 2px}.midi-parts{grid-template-columns:1fr;max-height:160px}.import-section-heading{display:block}.import-section-heading>span{display:block;line-height:1.7;margin-top:6px}.import-file-row{gap:10px}.import-file-row>span{font-size:10px;min-width:120px}.import-file-row>#demo-song{width:100%;text-align:left;margin-top:4px}.audio-settings{gap:15px}.pitch-choice{padding:9px}.pitch-choice strong>span{margin-left:4px}.pitch-choice select{font-size:9px;max-width:135px}.import-summary{font-size:9px;padding:11px}}

.library-dialog{width:min(720px,calc(100% - 36px))}.library-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:15px;margin-top:24px}.library-heading .text-button{font-size:10px}.library-list{min-height:110px;margin-bottom:18px}.library-song{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.library-song>div:first-child{min-width:0}.library-song h3{margin:0 0 8px;font-size:16px;font-weight:550;overflow-wrap:anywhere}.library-song p{font-size:10px;color:var(--gold);margin:0 0 8px}.library-song small{color:#97b2a2;font-size:10px;overflow-wrap:anywhere;display:block;line-height:1.6}.library-song-actions{display:flex;flex-direction:column;gap:12px;align-items:center;flex-shrink:0}.library-song-actions .button{font-size:10px;white-space:nowrap}.library-song-actions .text-button{font-size:10px}.library-empty{padding:24px 0;color:var(--muted);font-size:13px;line-height:1.9;max-width:480px}#import-dialog .dialog-actions{flex-wrap:wrap}#save-song{margin-left:auto}#open-library{white-space:nowrap}.top-actions{gap:16px}
@media(max-width:540px){.top-actions{gap:6px}.top-actions .button{font-size:9px;padding:8px}.library-song{gap:12px}.library-song h3{font-size:13px}.library-song-actions .button{font-size:9px;padding:9px}.library-heading{gap:10px}.library-heading .eyebrow{font-size:7px}.library-heading .text-button{font-size:9px}#save-song{margin-left:0}#import-dialog .dialog-actions{gap:8px;justify-content:flex-end}}
/* USB drumkit controls share the existing keyboard/scoring clock. */
.top-actions button.connection { background: transparent; border: 1px solid var(--line, #344348); border-radius: 20px; padding: 8px 11px; color: inherit; cursor: pointer; font: inherit; font-size: 12px; }
.midi-controls { border: 1px solid var(--line, #344348); border-radius: 12px; padding: 16px; margin-bottom: 24px; }
.midi-controls h3 { margin: 0 0 8px; }
.midi-controls p, .midi-help { font-size: 12px; line-height: 1.6; color: var(--muted, #a1b2b5); }
.midi-device-row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.midi-device-row label { display: grid; gap: 6px; flex: 1; min-width: 160px; font-size: 12px; }
.midi-device-row select { width: 100%; min-height: 40px; padding: 8px; border: 1px solid #3e5559; border-radius: 6px; background: #122023; color: var(--text, #e6eeeb); }
.midi-last-hit { border-radius: 8px; padding: 12px; background: #17292a; color: #b5e9de; font-size: 13px; margin: 12px 0; min-height: 42px; }
.midi-sound { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.midi-sound input { accent-color: #63d9c4; }
.midi-controls details { margin-top: 16px; }
.midi-controls summary { cursor: pointer; font-size: 13px; }
.midi-controls details a { color: #63d9c4; }
.midi-mapping-row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 8px; border-bottom: 1px solid #2c3b3f; padding: 8px 0; font-size: 12px; }
.midi-mapping-row.capturing { background: #293b33; }
.midi-note-list { display: flex; flex-wrap: wrap; gap: 5px; color: #a1b2b5; }
.midi-note-chip { border: 1px solid #3e5559; border-radius: 5px; background: #1b2a2d; color: #d4e4e5; padding: 4px 7px; cursor: pointer; font: inherit; }
@media (max-width: 480px) { .midi-controls { padding: 12px; } .midi-mapping-row { grid-template-columns: 64px 1fr auto; gap: 4px; } .midi-mapping-row .button { padding: 7px; } }
