@font-face{font-family:Studio;src:local('Inter'),local('Segoe UI');font-display:swap}
:root{font-family:Studio,system-ui,sans-serif;color:#e8edf1;background:#0d1114;font-synthesis:none;font-size:13px;--surface:#151b20;--border:#283137;--muted:#8b98a2;--accent:#b1e1d6;--accent-ink:#142b29;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,select{cursor:pointer}button{border:1px solid var(--border);background:#1a2228;color:#dce3e8;border-radius:6px;min-height:34px;padding:6px 12px;transition:background .16s,border-color .16s,color .16s}button:hover{background:#263238;border-color:#4c626c}button:disabled{opacity:.35;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #b1e1d6;outline-offset:3px}input,select{border:1px solid #323c43;background:#10171c;color:#e8edf1;border-radius:5px;min-height:34px;padding:6px 9px;min-width:0}input[type=range]{accent-color:var(--accent);padding:0;min-height:20px;cursor:pointer;border:0;background:transparent}input[type=checkbox]{accent-color:var(--accent);min-height:auto;width:15px;height:15px;cursor:pointer}input[type=color]{padding:3px;width:38px;height:29px;min-height:29px;cursor:pointer}input[type=number]{font-variant-numeric:tabular-nums}a{color:var(--accent)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h3{font-size:12px;font-weight:550}button.accent,.play-button{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}button.accent:hover,.play-button:hover{background:#c5f0e5}.icon-button{width:34px;padding:0;font-size:17px;flex-shrink:0;background:transparent;border-color:transparent}.icon-button.active{color:var(--accent);background:#25403c}.muted,.hint{color:var(--muted)}.hint{font-size:11px;line-height:1.65;margin-top:9px}.text-button{border:0;background:transparent;color:var(--muted);font-size:11px;padding:4px 6px;min-height:28px}.text-button:hover{background:#253137;color:#d9ecea}.full-width{width:100%}.subtle{background:#1c282c}.danger{color:#e8a5a5}.header{height:68px;display:flex;align-items:center;gap:18px;padding:0 24px;background:#151b20;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:10px;color:#b1e1d6;text-decoration:none;flex-shrink:0}.brand>span{font-size:14px;font-weight:650;letter-spacing:3px;line-height:1}.brand-sub{display:block;font-size:8px;letter-spacing:4.4px;margin-top:6px;color:#8da4aa}.header-divider{height:22px;width:1px;background:#344047}.project-name{font-size:13px;background:transparent;border-color:transparent;width:230px;text-overflow:ellipsis;padding-left:0}.project-name:hover{border-color:#344047}.saved{font-size:10px;color:#7e918d;white-space:nowrap}.saved:before{content:'•';color:#98c7ab;margin-right:6px}.header-actions{display:flex;gap:8px;margin-left:auto;align-items:center;white-space:nowrap}.studio{display:grid;grid-template-columns:minmax(0,1fr) 332px;max-width:2100px;margin:auto;min-height:calc(100svh - 68px)}.workspace{min-width:0;display:flex;flex-direction:column}.transport{height:66px;border-bottom:1px solid var(--border);padding:0 24px;display:flex;align-items:center;gap:20px;background:#10171b}.play-controls{display:flex;gap:6px;align-items:center}.play-button{display:flex;gap:10px;align-items:center;min-width:112px;justify-content:center}.play-button span:first-child{font-size:12px}.bpm-control{display:flex;align-items:center;gap:5px;font-size:10px;color:#7e919c}.bpm-control input{width:59px;border-color:transparent;background:transparent;text-align:right;font-size:18px;padding:4px}.time-display{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}.transport-end{display:flex;gap:3px;margin-left:auto}.mobile-settings{display:none}.scene-toolbar{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 26px}.scene-toolbar>div{display:flex;gap:10px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#74828b}.scene-ratio{color:#a9b6bf;letter-spacing:0;margin-left:9px}.scene{position:relative;display:flex;justify-content:center;align-items:center;height:clamp(440px,calc(100svh - 396px),920px);min-height:0;overflow:hidden;background:#0a1014}.scene canvas{display:block;width:100%;height:100%;object-fit:contain;cursor:default}.scene:fullscreen{background:#060a0d;width:100vw;height:100svh;min-height:0}.fullscreen-exit{display:none;position:absolute;top:18px;right:18px;background:#182329cc;z-index:2}.scene:fullscreen .fullscreen-exit{display:block}.scene-footer{height:42px;padding:0 26px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--border);font-size:11px;color:#82969f}.scene-footer>span:first-child{font-weight:600;color:#cbdfde;font-size:14px;min-width:50px}.shortcut-hint{margin-left:auto;font-size:10px;color:#6e7a82}.sequence{padding:20px 24px 16px;background:#12191e;flex:1}.sequence-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:17px}.sequence h1{font-size:12px;font-weight:550;white-space:nowrap}.sequence h1 span{font-size:10px;color:var(--muted);font-weight:400;margin-left:10px}.sequence-actions{display:flex;gap:8px}.sequence-actions select{max-width:205px;font-size:11px}.sequence-actions button{font-size:11px}.chord-strip{display:flex;gap:8px;overflow:auto;padding:3px 1px 9px;scrollbar-width:thin;scrollbar-color:#42525c transparent}.chord-card{flex-shrink:0;width:82px;height:72px;border:1px solid #303b44;background:#182027;border-radius:7px;padding:9px 10px;text-align:left;position:relative;display:flex;flex-direction:column;justify-content:space-between}.chord-card:hover{transform:translateY(-1px)}.chord-card.selected{border-color:#93bbb3;background:#20322f}.chord-card.playing:after{content:'';position:absolute;height:3px;background:var(--accent);bottom:0;left:0;right:0;border-radius:0 0 5px 5px}.chord-card .index{font-size:9px;color:#71828e}.chord-card .symbol{font-size:19px;font-weight:500;line-height:1.1}.chord-card .duration{font-size:9px;color:#97a6ae}.seek-wrap{display:block;margin-top:9px}.seek-wrap input{width:100%;height:12px;min-height:12px}.sequence-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#798b97;margin-top:9px}.transpose{display:flex;align-items:center;gap:8px;white-space:nowrap}.transpose span{margin-right:5px}.transpose button{width:26px;height:26px;min-height:26px;padding:0;font-size:15px}.transpose output{min-width:20px;text-align:center;color:#c2d1d9}.inspector{background:#171e24;border-left:1px solid var(--border);min-width:0;height:calc(100svh - 68px);position:sticky;top:0;display:flex;flex-direction:column}.inspector-header{height:53px;padding:0 20px;display:flex;align-items:center;font-size:9px;letter-spacing:1.8px;color:#778994}.inspector-header button{margin-left:auto;display:none}.tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #344049;padding:0 12px}.tabs button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;min-height:42px;padding:8px 4px;font-size:11px;color:#8b9ca8}.tabs button.selected{border-bottom-color:var(--accent);color:var(--accent)}.inspector-body{padding:21px 20px 25px;overflow:auto;scrollbar-width:thin;scrollbar-color:#435660 transparent}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.panel-heading h2{font-size:28px;font-weight:450}.panel-heading>span{font-size:10px}.panel-title{font-size:18px;font-weight:450;margin-bottom:21px}.field{display:flex;flex-direction:column;gap:8px;color:#a3b2bc;font-size:11px;margin-bottom:15px}.field>input,.field>select{width:100%}.field.horizontal{flex-direction:row;justify-content:space-between;align-items:center;gap:10px}.field.horizontal>input,.field.horizontal>select{width:68px}.field.horizontal.color-field>input{width:38px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-error{font-size:11px;color:#efa5a5;line-height:1.5;margin-top:-8px;margin-bottom:10px}.field-error:empty{display:none}.panel-section{padding-top:20px;margin-top:20px;border-top:1px solid #2b373f}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.section-heading .muted{font-size:10px}.note-editor{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}.note-row{display:grid;grid-template-columns:10px 1fr 28px 52px 28px 24px;gap:5px;align-items:center;font-size:10px}.voice-dot{height:6px;width:6px;border-radius:50%}.note-row input{width:52px;min-height:29px;padding:3px;font-size:10px;text-align:center}.note-row button{min-height:29px;padding:0;font-size:13px}.note-row .note-name{color:#c6d4df;font-size:12px}.notes-field{margin-top:15px}.piano-edit-heading{font-size:9px;color:#80949f;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.piano-edit-heading select{font-size:9px;min-height:27px;padding:3px}.piano-editor{position:relative;height:68px;display:flex}.piano-editor button{border:1px solid #171e24;border-radius:0 0 3px 3px;padding:0;min-height:0;transition:background .12s;font-size:8px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px}.piano-editor .white-key{height:68px;background:#b9c6cd;color:#3e505a;flex:1}.piano-editor .black-key{position:absolute;top:0;height:42px;background:#101a20;z-index:1;width:4.4%;color:#9aaeb9}.piano-editor .key.active{background:#8fd6c7;color:#17382f}.shape-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font-size:11px;color:#b5c5cf}.shape-controls button{width:30px;min-height:28px;padding:2px}.frets-editor{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.frets-editor label{display:flex;flex-direction:column;gap:5px;align-items:center;color:#879da9;font-size:10px}.frets-editor input{width:100%;min-height:30px;padding:4px;text-align:center;font-size:11px}.inline-actions{display:flex;justify-content:space-between;margin-top:8px}.inline-actions button{font-size:10px;padding:2px}.chord-actions{display:flex;justify-content:space-between;margin-top:12px;gap:6px}.chord-actions button{font-size:11px;padding:6px 9px}.controls{display:flex;flex-direction:column;gap:19px}.controls>label{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:11px;color:#a6b8c3}.controls>label>input{grid-column:1/-1;width:100%}.controls output{font-size:10px;font-variant-numeric:tabular-nums;color:#c3d7dd}.color-list{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:12px 0}.color-list label{display:flex;flex-direction:column;gap:7px;font-size:9px;color:#7c929f}.checks{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}.checks label,.check-line{display:flex;align-items:center;gap:8px;font-size:11px;color:#a6b8c3}.export-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid #2b373f;gap:12px}.export-row h3{font-size:12px}.export-row p{font-size:10px;color:#869ca8;margin-top:7px;line-height:1.5}.export-row button{font-size:10px;padding:6px 9px}.check-line{margin-top:14px}.license-link{display:inline-block;margin-top:10px;font-size:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#263c3b;color:#e2f0ed;box-shadow:0 8px 40px #0009;border:1px solid #5b7974;border-radius:8px;max-width:min(90vw,540px);padding:13px 20px;z-index:30;font-size:12px;line-height:1.6}.toast.error{background:#452c30;border-color:#82565e}.record-badge{position:absolute;left:15px;top:15px;font-size:10px;color:#f2a1a1;padding:7px 10px;border-radius:5px;background:#2d171ddd}.drawer-backdrop{display:none}dialog{background:#172229;color:#dbe5ec;border:1px solid #41545e;border-radius:10px;max-width:520px;padding:24px;font-size:13px;line-height:1.7}dialog::backdrop{background:#04090bcc;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.dialog-heading h2{font-size:21px;font-weight:500}dialog p{margin-bottom:16px}dialog dl{display:grid;grid-template-columns:1fr 1fr;row-gap:8px;font-size:12px;margin:20px 0}dialog dt{color:#afd5ce}dialog dd{margin:0;color:#9cabb7}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.recording .inspector-body [data-panel]:not([data-panel=export]),.recording .chord-strip,.recording .sequence-actions,.recording .transpose,.recording .transport,.recording .project-name,.recording .header-actions{pointer-events:none;opacity:.5}
/* Keep the scene and transport within a desktop workspace without extra chrome. */
@media(min-width:1101px){.scene{height:clamp(340px,calc(100svh - 456px),920px)}}
@media(min-width:1600px){.studio{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:1100px){.header{padding:0 17px;gap:12px}.saved{display:none}.project-name{width:180px}.transport{padding:0 16px;gap:12px}.sequence{padding:16px}.shortcut-hint{display:none}.sequence-heading{align-items:flex-start;flex-direction:column;gap:12px}.sequence-actions{width:100%}.sequence-actions select{flex:1;max-width:none}.scene{height:clamp(440px,calc(100svh - 420px),820px)}.scene-footer{padding:0 17px;font-size:10px;gap:8px}}
@media(max-width:760px){.header{height:58px;padding:0 13px;gap:10px}.brand svg{width:24px}.brand>span{font-size:11px;letter-spacing:2px}.brand-sub{font-size:6px;letter-spacing:3.3px}.header-divider{display:none}.project-name{font-size:11px;flex:1;width:75px;min-width:45px}.header-actions{gap:4px}.header-actions #saveProject,.header-actions #helpButton{display:none}.header-actions button{font-size:10px;min-height:32px;padding:5px 8px}.studio{display:block;min-height:calc(100svh - 58px)}.inspector{position:fixed;right:0;top:0;height:100svh;width:min(360px,94vw);z-index:21;transform:translateX(100%);transition:transform .22s ease;box-shadow:-12px 0 60px #0006}.inspector.open{transform:translateX(0)}.inspector-header{height:51px}.inspector-header button{display:block}.drawer-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0009;z-index:20}.mobile-settings{display:block;font-size:10px;min-height:30px;padding:4px 8px}.transport{height:57px;gap:10px;padding:0 10px}.play-controls{gap:0}.play-button{min-width:77px;gap:6px;padding:6px 9px;font-size:11px}.play-controls .icon-button{width:29px;height:32px;font-size:15px}.bpm-control{gap:0;font-size:8px}.bpm-control input{width:43px;font-size:15px;padding:2px}.time-display{font-size:10px}.transport-end>.icon-button{display:none}.scene-toolbar{height:40px;padding:0 14px}.scene-toolbar>div{gap:3px}.scene-toolbar .text-button{font-size:10px}.scene{height:clamp(390px,calc(100svh - 330px),760px)}.scene-footer{height:38px;padding:0 14px}.sequence{padding:15px 13px 17px}.sequence-heading{margin-bottom:13px}.sequence h1{font-size:11px}.sequence h1 span{font-size:9px}.sequence-actions button,.sequence-actions select{min-height:30px;font-size:10px}.chord-card{width:74px;height:66px;padding:8px}.chord-card .symbol{font-size:17px}.sequence-bottom>span{max-width:155px;line-height:1.5}.sequence-bottom{font-size:9px}.transpose{gap:5px}.transpose span{margin-right:1px}.toast{bottom:15px;padding:11px 14px;font-size:11px}}
@media(max-width:380px){.time-display{display:none}.sequence-bottom>span{display:none}.sequence-bottom{justify-content:flex-end}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}.chord-card:hover{transform:none}}
