.back-site{font:600 .8rem var(--sans);color:#d1e8bc;text-decoration:underline;text-underline-offset:3px;margin-right:9px;white-space:nowrap}
#bank-toggle{display:none}.synth-actions{padding:0 12px}.synth-actions button{margin:6px 0 10px;padding:8px;width:100%;color:var(--lime);border-color:#617455}
@media(min-width:701px) and (max-width:1100px){.back-site{font-size:.72rem;margin-right:2px}.header-right{gap:4px}}
@media(max-width:700px){
 body{min-width:0;height:auto;min-height:100dvh}.top,.transport{height:auto;flex-wrap:wrap;gap:9px;padding:10px 12px}.brand{width:100%;justify-content:flex-start}.back-site{margin-right:auto}.workspace-tabs{margin-right:auto}.header-right{gap:3px}.header-right button{padding:5px}.header-right .sep{display:none}
 .transport .position{display:none}.transport .metric{min-width:0;padding:3px 6px}.start-group{padding:0}.play{min-width:78px}.transport-master{margin-left:auto}.record-controls{border:0;padding:0}.record-controls button{font-size:12px}
 main{display:flex;flex-direction:column}.library{display:none;width:100%;max-height:min(55dvh,410px);border:1px solid var(--line)}#bank-toggle{display:block;align-self:stretch;font-size:14px;text-align:left;padding:10px 14px;background:#263029;color:var(--lime)}body.bank-open .library{display:flex}.lib-scroll{max-height:220px}.lib-title{padding:8px 14px}.editor{width:100%}
 .sequence{min-height:0;display:block}.grid-scroll{width:100%;height:380px}.sequence-head{padding:8px;flex-wrap:wrap}.sequence-tools{gap:4px}.stage{padding:7px}.pads{grid-template-columns:repeat(4,minmax(0,1fr))}.scene-pad{min-height:35px}.stage-tools,.edit-tools{gap:6px}.stage-tools button,.edit-tools button,.song-tools button{font-size:12px;min-height:30px}
 #devices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inspector-head{padding:0 8px}.sequence-tools #pages{flex-wrap:wrap}.footer-end{margin-left:auto}.grid-scroll{--labels:122px;--cell:39px;--row:33px}.project-name{font-size:20px}footer{gap:5px;padding:0 8px}#selection-state{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-tools select{max-width:110px}
}
.drop-help{margin:7px 0 3px;color:#c1cec5;font-size:12px;line-height:1.4}
.synth-actions #arm-sound{width:100%;margin:4px 0 6px}
#drop-prompt:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;background:#273329;color:var(--lime);font-size:13px}
#drop-prompt button{border:1px solid #6b815a;padding:4px 8px;white-space:nowrap}
.track-head.drag-over{outline:2px solid var(--lime);outline-offset:-2px;background:#344333;color:#e9ffdb}
.drop-armed .track-name,.drop-armed .cell{cursor:crosshair}
@media(max-width:700px){.drop-help{margin-top:4px}.synth-actions{flex-shrink:0}.library .lib-scroll{min-height:65px;overflow:auto}}

:root{--psy-hue:158;--lime:hsl(var(--psy-hue) 83% 74%);--psy-second:hsl(calc(var(--psy-hue) + 100) 91% 78%)}
.top{background:linear-gradient(108deg,hsl(var(--psy-hue) 34% 14%),#181b1e 48%,hsl(calc(var(--psy-hue) + 100) 25% 12%));border-bottom-color:hsl(var(--psy-hue) 29% 29%)}
#psy-colors{color:var(--lime);gap:8px;padding:2px 4px;border:0;font:inherit;letter-spacing:inherit}
#psy-colors .logo{color:#0f1d1a;background:linear-gradient(135deg,var(--lime),var(--psy-second));box-shadow:0 0 12px hsl(var(--psy-hue) 85% 68% / .22)}
.psy-title,.psy-title b{background:linear-gradient(105deg,var(--lime),var(--psy-second));color:transparent;background-clip:text;-webkit-background-clip:text}
.psy-title b{font-weight:600}
#psy-colors small{color:var(--muted);font:11px var(--mono)}
.workspace-tabs button[aria-pressed=true]{color:var(--lime);background:hsl(var(--psy-hue) 26% 18%);box-shadow:inset 0 0 0 1px hsl(var(--psy-hue) 22% 34%)}
@media(max-width:380px){#psy-colors{font-size:17px;gap:5px}.brand{gap:4px}}
@media(forced-colors:active){.psy-title,.psy-title b{background:none;color:ButtonText}}

.sequence-head{min-height:68px;height:auto;gap:10px}
.project-switcher{min-width:0}
.project-controls{display:flex;align-items:center;gap:5px;margin-top:3px}
#project-select{max-width:clamp(120px,31vw,430px);min-width:120px;height:32px;padding:0 24px 0 7px;border:1px solid var(--line);border-radius:5px;background:#202726;color:var(--txt);font:650 19px var(--sans);letter-spacing:-.025em;text-overflow:ellipsis}
#new-project,#rename-project{height:30px;color:var(--lime)}
#new-project{padding-inline:8px;white-space:nowrap}
@media(max-width:700px){.sequence-head{height:auto}.project-controls{gap:3px}#project-select{font-size:17px;max-width:47vw}.sequence-tools{margin-left:auto}}

.project-arrow{flex:0 0 34px;height:34px;padding:0;border:1px solid var(--line);border-radius:5px;background:#202726;color:var(--lime);font:600 25px/1 var(--sans);cursor:pointer}
.project-arrow:hover,.project-arrow:focus-visible{border-color:var(--lime)}
@media(max-width:700px){.project-controls{flex-wrap:wrap}#project-select{min-width:85px;max-width:min(41vw,280px)}}

.module-version{display:inline-block;flex:none;width:fit-content;padding:.14em .48em;border:1px solid #536058;border-radius:4px;background:#1a221d;color:#d5dfd7;font:500 .8rem/1.35 var(--mono,monospace);letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:middle}
footer .footer-end{flex:none}
