@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{color-scheme:dark;font-family:'DM Sans',system-ui,sans-serif;color:#ecf1f7;background:#101a24}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 85% 0,#193c46 0,transparent 45%)}main{max-width:1440px;margin:auto;padding:30px 40px}header{display:flex;justify-content:space-between;align-items:center}a{color:#a9eacb}header a{text-decoration:none;font-weight:700}.pill,.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#a5dcc8}.pill{padding:9px 14px;border:1px solid #3b615c;border-radius:30px}.hero{display:flex;justify-content:space-between;align-items:center;padding:38px 0 24px}.hero p{max-width:630px;color:#b4c4d1;line-height:1.6}h1{font:700 clamp(38px,5vw,66px)/1.08 'Space Grotesk',system-ui;margin:12px 0}h1 em{font-style:normal;color:#aeedc9}h2{font:600 23px 'Space Grotesk',system-ui;margin:0}.robot{width:135px;height:120px;background:#6cc4c0;border-radius:48% 48% 35% 35%;color:#173c49;text-align:center;font-size:80px;line-height:100px;position:relative;transform:rotate(-9deg);margin-right:40px}.bars{display:flex;position:absolute;bottom:-18px;left:7px;gap:4px}.bars i{width:20px;height:35px;background:#f1ad8d;border-radius:3px}.bars i:nth-child(2){background:#f4d16f}.bars i:nth-child(3){background:#b6d889}.bars i:nth-child(4){background:#8dc9ef}.bars i:nth-child(5){background:#c5a9ed}.notice{padding:14px 18px;border-radius:12px;background:#203943;color:#cfedef;border:1px solid #3b626d}.setup{font-size:13px;color:#a9bac9;line-height:1.8}.transport{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:18px;background:#1c2b39;border:1px solid #334653;border-radius:16px;margin:20px 0 32px}button,input,select{font:inherit;border:1px solid #435563;border-radius:8px;padding:10px;background:#263846;color:#f2f6fa}button{cursor:pointer}button:hover{filter:brightness(1.15)}button:focus-visible{outline:3px solid #b2edce;outline-offset:2px}button:disabled{opacity:.4;cursor:not-allowed}.primary{background:#b1edc9;color:#15352a;font-weight:700;border-color:#b1edc9}.stop{color:#ffbbb0}.transport label{font-size:12px;color:#bdcbd5;display:flex;gap:7px;align-items:center}.transport input{width:65px}.transport select{padding:10px 5px}#counter{color:#b4edce;font-size:13px;margin-left:auto}.compose>div>p{color:#a9bac9;font-size:13px}.palette,.actions{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0}.palette button{min-width:48px;border-bottom:4px solid var(--note)}.palette button[aria-pressed=true]{background:var(--note);color:#14212b;font-weight:700}.actions button{font-size:12px;background:transparent}.track{border:1px solid #344a59;background:#182735;border-radius:14px;margin:13px 0;padding:16px}.trackhead{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.trackhead strong{margin-right:auto}.trackhead small{color:#aac0cf}.trackhead button{font-size:12px;padding:7px 10px}.gridwrap{overflow:auto;padding-bottom:6px}.grid{display:grid;gap:5px;min-width:max-content}.cell{width:45px;height:51px;padding:2px;color:#d8e3ec;background:#233646;font-size:14px;font-weight:700;border-color:#3b5060}.cell.bar{border-left:3px solid #7d95a3}.cell.active{outline:3px solid #f5f8ff;outline-offset:-3px;transform:translateY(-2px)}.cell span{display:block;font-size:9px;font-weight:400;opacity:.65}.cal{margin-top:12px;color:#b8c9d6;font-size:13px}.calbody{display:flex;gap:12px;flex-wrap:wrap;align-items:center;padding:14px 0}.cal input[type=number]{width:78px}.cal label{display:flex;align-items:center;gap:6px}.help{margin:24px 0;color:#b4c4d1;line-height:1.7;font-size:13px}.help summary{cursor:pointer;color:#dfebf2}#status{padding:15px;border-left:3px solid #aee9c7;background:#1d303a;border-radius:5px;font-size:14px}footer{color:#94aab9;font-size:12px;padding:28px 0}body.playing .compose button,body.playing .cal input,body.playing .cal select{pointer-events:none;opacity:.55}@media(max-width:700px){main{padding:20px 15px}.robot{display:none}.hero{padding:26px 0 12px}.pill{font-size:8px}.transport{gap:8px}.transport>button{flex:1}.track{padding:10px}.trackhead{gap:8px}#counter{width:100%}}

#status{margin:0 0 26px;position:sticky;top:8px;z-index:5;box-shadow:0 4px 18px #101a2466}.transport{margin-bottom:12px}
.tempo-live{display:grid;gap:6px;min-width:185px}.tempo-live>label{font-size:11px;color:#aec5d2;letter-spacing:1px;text-transform:uppercase}.tempo-live>div{display:flex;align-items:center;gap:7px}.tempo-live b{font-size:11px;color:#a9c3cf}.tempo-live input[type=number]{font-size:23px;font-weight:700;width:78px!important;padding:5px;text-align:center}.tempo-live button{font-size:20px;padding:3px 10px}.tempo-live input[type=range]{width:100%;padding:0;accent-color:#b1edc9;cursor:pointer}.pulse-panel{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:0 0 15px;padding:14px 18px;border:1px solid #36535d;border-radius:14px;background:#192c37}.pulse-panel button[aria-pressed=true]{background:#b1edc9;color:#17362c}.pulse-lights{display:flex;gap:8px}.pulse-lights span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #51717a;border-radius:50%;font-size:12px;color:#b8ced5;transition:background .08s}.pulse-lights .lit{background:#b6efcb;color:#143829;box-shadow:0 0 16px #a5edc766}.pulse-lights span:first-child.lit{background:#ffd08c;box-shadow:0 0 16px #ffd08c66}#tempo-state{font-size:12px;color:#aec9d3}body.playing .tempo-live button{pointer-events:auto;opacity:1}
/* One arrangement viewport: every robot always shares the same beat columns. */
main{max-width:1600px}.arrangement-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0 12px;color:#b9cdd6;font-size:12px}.arrangement-toolbar label{display:flex;align-items:center;gap:9px}.arrangement-toolbar select{padding:8px 12px}.arrangement-toolbar input{accent-color:#b1edc9}.arrangement-scroll{overflow-x:auto;overflow-y:hidden;border:1px solid #415b6b;border-radius:14px;background:#14232f;scrollbar-color:#7bc5b4 #1b303e;scrollbar-width:auto;overscroll-behavior-x:contain;padding:0 0 5px}.arrangement{--label-width:116px;--gap:3px;min-width:calc(var(--label-width) + var(--beats)*23px);width:100%;padding:0 8px 0 0}.arrangement.large{width:max(100%,calc(var(--label-width) + var(--beats)*48px));min-width:0}.arrangement-row{display:grid;grid-template-columns:var(--label-width) repeat(var(--beats),minmax(0,1fr));gap:var(--gap);align-items:center;position:relative;min-height:58px;border-bottom:1px solid #2c4353}.arrangement-row:last-child{border-bottom:0}.arrangement .cell{width:100%;min-width:0;height:46px;font-size:13px;border-radius:5px;white-space:nowrap;padding:1px;transition:background .08s}.arrangement .cell.active{transform:none;box-shadow:0 0 14px #e6fff750}.track-label{position:sticky;left:0;z-index:2;background:#1b303e;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px 12px;box-shadow:5px 0 8px #0c182342;border-right:1px solid #476371}.track-label strong{font-size:13px;white-space:nowrap}.track-label small{font-size:10px;color:#adc4ce;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.beat-ruler{min-height:34px;background:#203746}.beat-number{text-align:center;font-size:10px;color:#c8dde5}.beat-number.bar{color:#b7f0d0;font-weight:700}.ruler-label{font-size:9px;letter-spacing:1px;font-weight:700;color:#aec9d3}.arrangement-hint{color:#9db8c6;font-size:11px;margin:9px 2px 20px}.robot-settings{margin:18px 0}.robot-settings>summary{cursor:pointer;color:#d3e4ed;font-size:14px;padding:12px 0}.robot-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.robot-settings-grid .track{margin:0;min-width:0}.robot-settings-grid .trackhead{margin:0}.robot-settings-grid .trackhead small{width:100%;order:3}.robot-settings-grid .calbody{gap:9px}body.playing .compose .arrangement-toolbar select,body.playing .compose .arrangement-toolbar input{pointer-events:auto;opacity:1}@media(max-width:700px){.arrangement{--label-width:92px}.track-label{padding:9px 7px}.track-label strong{font-size:12px}.track-label small{font-size:9px}.robot-settings-grid{grid-template-columns:1fr}.arrangement-toolbar>span{display:none}}
.guide-intro,.cal-guide{margin:14px 0;padding:16px;border:1px solid #46726f;border-radius:13px;background:#203b40}.guide-intro>strong{color:#bdf3d1}.guide-intro p,.cal-guide p{line-height:1.6;margin:9px 0 14px}.guide-progress{display:flex;gap:5px;flex-wrap:wrap}.guide-progress span{padding:7px 9px;font-size:10px;border:1px solid #4c696e;border-radius:20px;color:#adc6cf}.guide-progress .current{background:#b1edc9;color:#173a2d;border-color:#b1edc9;font-weight:700}.cal-guide h3{font-size:20px;color:#e8fff0;margin:15px 0 6px}.guide-angle{display:flex;gap:9px;align-items:center;justify-content:center}.guide-angle label{display:flex;align-items:center;gap:8px}.guide-angle input{width:80px!important;font-size:21px;text-align:center}.cal-guide .guide-slider{width:100%;padding:0;accent-color:#b1edc9;margin:18px 0}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.guide-actions button{font-size:12px}.cal-guide small{line-height:1.6;color:#bed2d7}.manual-cal{border-top:1px solid #3e5663;padding-top:13px;margin-top:15px}.manual-cal>summary{cursor:pointer;color:#bed0dc;font-size:12px}
/* Advanced rhythm and a local repertoire share the existing teal teacher lab. */
.rhythm-mode{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:20px;padding:14px 16px;border:1px solid #45616d;border-radius:12px;background:#1b303c}.rhythm-mode label{display:flex;align-items:center;gap:10px;font-size:13px;color:#c8dfe3}.rhythm-mode select{max-width:100%}#rhythm-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px}#rhythm-tools[hidden]{display:none}#rhythm-tools button{font-size:12px}#rhythm-tools button[aria-pressed=true]{background:#b1edc9;color:#15352a;border-color:#b1edc9}.songbook{margin:30px 0;padding:25px;border:1px solid #42616c;border-radius:18px;background:linear-gradient(125deg,#1d3540,#192836)}.songbook-heading{display:flex;gap:20px;justify-content:space-between;align-items:center}.songbook-heading .eyebrow{margin-top:0}.songbook-heading p,.concert>p{font-size:12px;color:#adc5d0;line-height:1.7}.songbook-heading .pill{white-space:nowrap;font-size:9px}.songbook-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:18px 0}.songbook-controls label{display:grid;gap:7px;font-size:12px;color:#b8cfd8;flex:1;min-width:200px}.songbook-controls input,.songbook-controls select{width:100%;min-width:0}.songbook-controls button{font-size:12px;min-height:41px}.concert{border-top:1px solid #425c69;margin-top:25px;padding-top:10px}.concert-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.concert h3{font:600 18px 'Space Grotesk',system-ui}.concert-head>span{color:#b8cfd8;font-size:11px}#queue-list{list-style:none;padding:0;margin:6px 0 20px;display:grid;gap:8px}#queue-list li{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border:1px solid #3c5969;border-radius:10px;background:#142934;padding:12px}.queue-title{flex:1;min-width:150px;font-size:14px;overflow-wrap:anywhere}.queue-title b{color:#b1edc9;margin-right:8px}.queue-title small{display:block;color:#adc5d0;font-size:10px;margin:5px 0 0 23px}#queue-list label{display:flex;align-items:center;gap:7px;font-size:11px;color:#bed5dd}#queue-list input{width:68px;padding:7px}#queue-list button{padding:7px 12px}.queue-infinite{color:#ffd08c;flex-basis:100%;font-size:11px}#queue-list .queue-empty{padding:24px;color:#adc5d0;font-size:13px;border-style:dashed}.concert-actions{display:flex;gap:8px;flex-wrap:wrap}.concert-actions button{font-size:12px}.arrangement .cell span{font-size:14px;line-height:1.1;opacity:.85}body.playing .rhythm-mode select{pointer-events:none;opacity:.55}@media(max-width:700px){.songbook{padding:16px}.songbook-heading{align-items:start}.songbook-heading .pill{display:none}.songbook-controls label{flex-basis:100%}.rhythm-mode label{flex-wrap:wrap}#rhythm-tools>span{flex-basis:100%}.concert-actions .primary{flex-basis:100%}}
.lab-nav{display:flex;gap:10px;margin:22px 0}.lab-nav a{padding:11px 18px;border:1px solid #446570;border-radius:30px;text-decoration:none;font-size:13px;background:#1c333e}.lab-nav a:last-child{color:#ffdab1;border-color:#806d55}.movement-lab{scroll-margin-top:25px;margin:24px 0 35px;padding:25px;border:1px solid #567971;border-radius:20px;background:linear-gradient(135deg,#243b43,#152a36)}.movement-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.movement-heading h2{font-size:28px}.movement-heading p{color:#bad0d7;line-height:1.6;font-size:13px;max-width:760px}.movement-heading .eyebrow{color:#ffd098;font-size:10px;margin-top:0}.movement-heading .pill{white-space:nowrap;font-size:9px;color:#ffd9ac;border-color:#71654e}.movement-layout{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(320px,1.2fr);gap:25px;margin:20px 0}.movement-controls{display:grid;grid-template-columns:1fr 1fr;gap:14px}.movement-controls>label{display:grid;gap:8px;align-content:start;font-size:12px;color:#d2e1e5}.movement-controls>label:first-child{grid-column:1/-1}.movement-controls>label>span{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.movement-controls input{width:83px}.movement-controls select{width:100%;min-width:0;font-size:12px}.movement-controls small{display:block;color:#a9c0cb;font-size:10px}.movement-map{background:#112632;border:1px solid #44636d;border-radius:14px;padding:18px}.map-caption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:12px;color:#dcf4ec}.map-caption span{font-size:10px;color:#a7c3cb}.movement-map svg{display:block;width:100%;height:310px;margin:4px 0}.movement-map>p{font-size:11px;line-height:1.6;color:#afc8d1;margin:8px 0}.motion-order{display:flex;gap:6px;flex-wrap:wrap}.motion-order>span{padding:6px 9px;border:1px solid #375867;border-radius:8px;font-size:10px;color:#c5dce3}.motion-order b{color:#ffd094;margin-right:5px}.motion-order small{color:#9ebac7}.movement-actions{display:flex;gap:9px;flex-wrap:wrap}.movement-actions button{font-size:12px}.emergency{background:#833e3e;border-color:#dc9791;color:#fff3ed;font-weight:700;margin-left:auto}.emergency:hover{background:#ac4949}#motion-status{border-left:3px solid #f5c48e;background:#142b37;padding:12px 15px;line-height:1.6;font-size:12px;color:#e7dabf}.motion-music{border-top:1px solid #49616c;border-bottom:1px solid #49616c;padding:16px 0;display:flex;gap:10px;align-items:end;flex-wrap:wrap}.motion-music>div{flex:1;min-width:220px}.motion-music strong{font-size:13px;color:#c4efd7}.motion-music p{font-size:11px;line-height:1.6;color:#acc5ce;margin-bottom:0;max-width:450px}.motion-music label{display:grid;gap:7px;font-size:11px;color:#c3d7de;max-width:100%}.motion-music select{font-size:12px;max-width:270px}.motion-music button{font-size:11px}.movement-help{margin:20px 0 0;font-size:12px;color:#b8d0d8;line-height:1.8}.movement-help summary{cursor:pointer;color:#e2eee7}.motion-empty{min-height:310px;display:grid;place-items:center;text-align:center;color:#c5d3dc;font-size:13px}#music-lab{scroll-margin-top:25px}@media(max-width:850px){.movement-layout{grid-template-columns:1fr}.movement-heading .pill{display:none}.movement-lab{padding:17px}.movement-map svg{height:280px}.emergency{margin-left:0}.movement-actions button{flex:1;min-width:180px}.movement-heading h2{font-size:24px}}
.connect-shortcut{padding:11px 14px;text-decoration:none;font-size:12px;border:1px solid #6c9a88;border-radius:8px;color:#c4f4dc;background:#21453f}#robot-connection{scroll-margin-top:25px}
.starting-points{font-size:11px;color:#bfd4dc;margin-top:14px;line-height:1.7}.starting-points summary{cursor:pointer;color:#d9f0e2}.starting-points table{width:100%;border-collapse:collapse;text-align:left;margin-top:12px}.starting-points th,.starting-points td{padding:6px;border-bottom:1px solid #3f5c6b}.proximity-panel{border:1px solid #416471;background:#142d38;border-radius:12px;padding:15px;margin:16px 0;color:#bcd2da;font-size:12px;line-height:1.7}.proximity-panel summary{cursor:pointer;color:#d4f0e3}.proximity-panel>label{display:flex;gap:9px;align-items:center;margin:13px 0}.proximity-panel input{accent-color:#b1edc9}.proximity-panel button{font-size:11px}.proximity-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px;border-top:1px solid #3b5866}.proximity-row>span{flex:1;min-width:200px}.proximity-row small{color:#9db8c6}

.follow-lab{margin:24px 0;padding:24px;border:1px solid #79cabe;border-radius:20px;background:#142c36;color:#f0f5f7}.follow-lab h2{font-size:clamp(1.4rem,3vw,2rem)}.follow-lab ol{padding-left:24px;line-height:1.7}.follow-controls{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:18px 0}.follow-controls label{display:grid;gap:8px}.follow-controls input{width:100px}.follow-warning{color:#ebd39a;font-size:.9rem;line-height:1.6}#follow-status{padding:14px;background:#0b1d27;border-radius:12px;min-height:48px}#follow-calibration,#follow-order{color:#b9e2d4}

.follow-placement{margin:18px 0;padding:18px;border:1px solid #486681;border-radius:16px;background:#102337;color:#e4f0ff}.follow-placement figcaption{display:grid;gap:6px}.follow-placement figcaption span,.follow-placement p{line-height:1.5}.follow-placement svg{display:block;width:100%;height:auto;margin:14px 0}.follow-placement p{margin:10px 0 0}

.follow-groups{margin:18px 0;padding:18px;border:1px solid #486681;border-radius:16px;background:#102337;color:#e4f0ff}.follow-groups svg{display:block;width:100%;height:auto}.follow-groups p{line-height:1.5}.follow-groups select{max-width:100%}
#robot-motion-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin:16px 0}.motion-choice{padding:14px;border:1px solid #42626c;border-radius:12px;background:#142d38;display:grid;gap:9px}.motion-choice label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:#c3d7de}.motion-choice input[type=number]{width:76px;padding:6px}.motion-choice select{max-width:130px;font-size:11px;padding:6px}.robot-motion-picker{margin:20px 0}.robot-motion-picker p{font-size:12px;line-height:1.7;color:#afc8d2}#individual-motion-maps,#builtin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}#individual-motion-maps article,#builtin-cards article{padding:16px;border:1px solid #4b6a73;border-radius:12px;background:#162e39;margin-bottom:15px}#individual-motion-maps svg{height:220px;width:100%}#individual-motion-maps p,#builtin-cards p{font-size:12px;color:#b3cbd5;line-height:1.6}#builtin-cards button{font-size:11px;margin:10px 4px 0 0}#builtin-cards small{color:#b6e7ca}

.live-panel{margin:24px 0;border:1px solid #79cabe;border-radius:18px;background:#142c38}.live-panel>summary{padding:20px;cursor:pointer;font-weight:800;color:#a9ead3}.live-content{padding:0 22px 22px}.live-content h2{margin-top:0}.live-options,.live-actions{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.live-options label{display:grid;gap:6px;flex:1;min-width:200px}.live-options select{width:100%;max-width:100%}.live-actions button{min-height:48px}#live-trigger{font-size:1.05rem}#live-status{padding:14px;border-radius:12px;background:#0c1e29;color:#c5f5df;min-height:50px}.live-help summary{cursor:pointer;font-weight:700}.live-help li{margin:10px 0;line-height:1.6}.live-panel.live-armed{border:2px solid #a8d58e}.live-panel.live-busy #live-status{color:#eadb7e}@media(max-width:600px){.live-content{padding:0 14px 14px}.live-actions button{width:100%}}

.rhythm-panel{border-color:#bea5e6}.rhythm-monitor{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin:12px 0}.rhythm-monitor label{display:flex;gap:12px;align-items:center}.rhythm-monitor meter{width:180px}#rhythm-status{background:#0c1e29;color:#e4d8fc;border-radius:12px;padding:14px;min-height:50px}#rhythm-patterns{display:grid;gap:10px}#rhythm-patterns article{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;background:#0d212e;border-radius:12px}#rhythm-patterns article div{flex:1;min-width:180px}#rhythm-patterns small{display:block;margin-top:5px;color:#adc6cf}.rhythm-panel input[type=text],.rhythm-panel input:not([type]){max-width:100%}
/* Studio · one activity at a time */
[hidden]{display:none!important}body{background:radial-gradient(ellipse at 95% 0,#1d414c 0,transparent 45%),#101d29}main{max-width:1240px;padding:26px 32px 40px}header .pill{font-size:9px;letter-spacing:1.5px}.hero{padding:24px 0 28px}.hero h1{font-size:clamp(32px,4.5vw,52px);margin:8px 0}.hero .eyebrow{margin:0;font-size:10px}.hero p{font-size:15px;margin:10px 0 0}.hero .robot{transform:rotate(-7deg) scale(.7);transform-origin:center right;height:100px;margin:0 24px 0 0}.mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0 18px}.mode-tabs button{display:flex;align-items:center;gap:12px;padding:18px 16px;text-align:left;border-radius:18px;background:#1a2e3d;border-color:#3a5262;transition:background .15s,transform .15s;min-height:88px}.mode-tabs button:hover{transform:translateY(-2px)}.mode-tabs .mode-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#274b52;color:#b8f0d2;font-size:25px}.mode-tabs b{display:block;font-size:16px}.mode-tabs small{display:block;font-size:11px;color:#a9c4d2;margin-top:5px}.mode-tabs button[aria-selected=true]{background:#b7efd5;color:#173c36;border-color:#b7efd5;box-shadow:0 6px 22px #07151e55}.mode-tabs button[aria-selected=true] small{color:#335d56}.mode-tabs button[aria-selected=true] .mode-icon{background:#8ad7ba;color:#154e40}.mode-tabs [data-mode=live] .mode-icon{background:#3c365a;color:#d6c4ff}.mode-tabs [data-mode=rhythm] .mode-icon{background:#4b3845;color:#f0becb}.mode-tabs [data-mode=motion] .mode-icon{background:#4e432c;color:#ffe0a1}.studio-panel{border:1px solid #3a5364;border-radius:24px;background:linear-gradient(145deg,#1b3140,#152735);padding:28px;margin:0 0 22px;box-shadow:0 12px 35px #09172230}.panel-heading{display:flex;gap:16px;align-items:center;margin-bottom:24px}.step-badge{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:16px;background:#284b50;color:#aeead1;font-size:19px;font-weight:700}.panel-heading .eyebrow{font-size:10px;margin:0 0 8px}.panel-heading h2,.studio-panel h2{font-size:clamp(22px,2.5vw,30px)}.panel-heading p:last-child{font-size:14px;color:#b1c9d5;margin:10px 0 0}.song-launcher{border:1px solid #3d5a68;border-radius:20px;padding:22px;background:#102632}.song-launcher>label{display:grid;gap:10px;font-size:13px;font-weight:700;color:#bdd9e2}.song-launcher select{font-size:17px;width:100%;padding:15px;border-radius:12px;background:#223f4e}.song-launcher .transport{border:0;background:transparent;padding:0;margin:18px 0 0;gap:12px}.song-launcher .transport button{flex:1;min-height:56px;border-radius:13px;font-size:16px;font-weight:700}.demo-button{background:#30465d;border-color:#657f99;color:#e9f4ff}.performance-bar{display:flex;gap:20px;align-items:center;padding:12px 18px;background:#142b37;border:1px solid #344e5c;border-radius:16px;margin-top:14px}.shared-clock{flex:1}.performance-bar .tempo-live{display:flex;align-items:center;gap:14px;min-width:0}.performance-bar .tempo-live>label{font-size:10px;white-space:nowrap}.performance-bar .tempo-live input[type=range]{max-width:170px}.performance-bar .tempo-live input[type=number]{font-size:18px;width:65px!important}.performance-bar #counter{max-width:260px;font-size:11px;margin:0}.performance-bar #stop{min-height:44px;white-space:nowrap;font-weight:700;background:#4b2c35;border-color:#86505d;color:#ffd4d5}.quick-connections{border:1px solid #3c5d65;background:#182e3c;border-radius:16px}.quick-connections>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;padding:16px 18px;font-size:14px;font-weight:700}.quick-connections>summary small{font-size:11px;color:#a5c8cb;font-weight:400}.quick-connections .drawer-content{border-top:1px solid #35505c;padding:18px}.quick-connections p{font-size:12px;color:#b5cdd5}.mini-bot{font-size:25px;color:#8dd6d6}.quick-connections #quick-robots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.quick-connections #quick-robots button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 8px;border-radius:13px;font-size:13px}.quick-connections #quick-robots small{max-width:100%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:10px}#quick-test{margin-top:14px}#status{position:static;margin:0 2px 18px;background:transparent;border:0;box-shadow:none;padding:0 0 0 3px;color:#bed9dc;font-size:12px}.studio-drawer,.editor-options{border-top:1px solid #385365;margin-top:18px}.studio-drawer>summary,.editor-options>summary{padding:18px 2px;cursor:pointer;font-size:14px;font-weight:700;color:#cfdfeb}.drawer-content{padding:4px 0 18px}.studio-drawer .compose,.studio-drawer .songbook{background:transparent;padding:0;border:0;margin:0}.editor-options .live-options{align-items:start}.editor-options .actions{margin-top:0}.compose .palette{gap:8px}.compose .palette button{min-width:52px;min-height:46px}.studio-panel .live-content{padding:0}.studio-panel .live-content>.eyebrow{margin-top:0}.studio-panel .live-content>p:not(.eyebrow){font-size:14px;color:#b6ceda;line-height:1.65;margin:10px 0 24px}.studio-panel .live-options{gap:16px}.studio-panel .live-options label{font-size:12px;font-weight:600;color:#bfd5df}.studio-panel .live-options select,.studio-panel .live-options input:not([type=range]){border-radius:12px;min-height:48px;padding:12px}.studio-panel .live-actions{gap:10px;margin:20px 0}.studio-panel .live-actions button{min-height:52px;border-radius:13px;font-weight:700}#live-trigger{background:#c9baf6;border-color:#c9baf6;color:#2f2350;flex:1;font-size:18px}#live-status,#rhythm-status{font-size:13px;line-height:1.6;padding:16px;border-radius:14px}.live-help{border-top:1px solid #385365;margin-top:22px;padding-top:18px;color:#bad0db;font-size:13px}.live-help summary{font-size:13px;color:#dce9f1}.live-help p{line-height:1.7}.rhythm-panel #rhythm-listen{font-size:17px;min-width:220px;background:#e6bccc;border-color:#e6bccc;color:#4e2538}.rhythm-panel .studio-drawer{border-color:#56475f}.rhythm-panel #rhythm-patterns article{background:#142634;border:1px solid #3c455c}.rhythm-panel #rhythm-patterns button{font-size:11px;padding:8px 10px;min-height:36px}.rhythm-monitor{padding:12px 0;color:#b7cfda;font-size:12px}.movement-lab{margin:0;padding:28px;background:linear-gradient(145deg,#24353d,#172c38)}.movement-heading{margin-bottom:20px}.motion-basics{display:flex;gap:16px;margin-bottom:18px;flex-wrap:wrap}.motion-basics>label{display:grid;gap:8px;min-width:220px;flex:1;font-size:12px;color:#c4dce4}.movement-actions{margin:18px 0}.movement-actions button,.connect-shortcut{min-height:46px;border-radius:12px}.movement-map{margin-top:20px}.movement-lab .studio-drawer .movement-controls{padding:12px 0}.song-about{margin:12px 0;color:#b9ced8;font-size:12px}.song-about summary{cursor:pointer}.help{border-top:1px solid #385365;padding-top:16px}.help .notice{font-size:12px;margin:12px 0}.studio-panel:focus{outline:none}@media(max-width:800px){main{padding:20px}.mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.performance-bar{flex-wrap:wrap;gap:10px}.performance-bar .tempo-live input[type=range]{display:none}.performance-bar #counter{flex:1;margin-left:auto}.hero .robot{margin-right:0}.quick-connections #quick-robots{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-panel{padding:22px}.mode-tabs button{min-height:80px}}@media(max-width:480px){main{padding:16px 12px}.hero{padding:22px 0}.hero .robot{display:none}.hero p{font-size:13px}.performance-bar{padding:12px}.performance-bar .tempo-live{gap:8px}.performance-bar .tempo-live>label{display:none}.performance-bar #counter{display:none}.mode-tabs{gap:8px;margin-top:18px}.mode-tabs button{gap:9px;padding:13px 10px;border-radius:14px;min-height:76px}.mode-tabs .mode-icon{width:34px;height:36px;font-size:21px}.mode-tabs b{font-size:14px}.mode-tabs small{font-size:10px}.studio-panel{padding:18px 14px;border-radius:18px}.panel-heading{gap:10px}.step-badge{display:none}.song-launcher{padding:15px}.song-launcher .transport{display:grid;width:100%}.song-launcher .transport button{width:100%}.quick-connections>summary{font-size:12px}.quick-connections #quick-robots{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-panel .live-options label{min-width:100%;width:100%}.studio-panel .live-actions button{width:100%}.rhythm-monitor meter{width:130px}}

.w30-panel{border:1px solid #4e657a;border-radius:16px;background:#172c3b;margin-top:22px;padding:0 16px}.w30-panel>summary{padding:18px 0}.w30-intro{font-size:13px;color:#bbd4e0}.w30-monitor{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#10232f;padding:15px;border-radius:12px;font-size:13px}.w30-monitor meter{width:180px;height:18px;flex:1;min-width:100px}.w30-monitor strong{color:#b3efd6}.w30-panel #w30-status{font-size:13px;line-height:1.6;color:#d6e8ed}.w30-panel #w30-live-state{font-size:12px;font-weight:700;color:#c9baf6}.w30-panel #w30-count{font-size:11px;color:#a7c2d1}.w30-sensitivity{display:grid;gap:10px;margin:18px 0;font-size:13px}.w30-invert{display:flex;gap:9px;align-items:center;font-size:12px}.w30-panel code{overflow-wrap:anywhere;color:#b3d9df}.w30-panel .live-help details{margin-top:15px}.w30-panel #w30-threshold{accent-color:#b7efd5;padding:0;width:100%}

.w30-signal-format{display:grid;gap:9px;font-size:13px;margin:18px 0}.w30-signal-format select{width:100%;max-width:100%;font-size:13px}#w30-decoded{color:#b7efd5;font-size:12px}

/* Meter and portable arrangements: primary composition controls. */
.score-basics,.arrangement-files{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:16px;margin:16px 0;border:1px solid #45616d;border-radius:14px;background:#1b303c}.score-basics label,.arrangement-files label{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#c8dfe3}.score-basics select{min-width:110px}.score-basics #meter-info{color:#adc5d0;font-size:12px;line-height:1.7}.arrangement-files label{flex:1;min-width:180px}.arrangement-files input{width:100%}.beat-number.group{border-left:2px dashed #647d86}.arrangement .cell.group{border-left:2px dashed #647d86}.pulse-lights span[hidden]{display:none}@media(max-width:480px){.score-basics label{flex:1}.arrangement-files button{flex:1;min-width:160px}.score-basics #meter-info{width:100%}}
.import-tray{padding:20px;margin:18px 0;border:1px solid #42676f;border-radius:16px;background:#172f3b}.import-tray-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.import-tray h3{margin:0;font-family:'Space Grotesk',sans-serif}.import-tray p{font-size:12px;line-height:1.7;color:#b9ccd7;max-width:760px}.batch-options{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.batch-options label{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.import-tray button,.import-tray select{font-size:12px}#import-list{list-style:none;display:grid;gap:8px;padding:0;margin-bottom:0}#import-list li{border:1px solid #365663;padding:12px;border-radius:10px;display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#122733}#import-list label{flex:1;min-width:180px;font-size:13px;overflow-wrap:anywhere}#import-list small{color:#b3d0d7;font-size:11px}#import-list input{accent-color:#b1edc9}#import-list .import-empty{color:#adc1cb;font-size:12px;border-style:dashed}#batch-report{white-space:pre-wrap;overflow-wrap:anywhere}
