@font-face{font-family:Golos;src:url(assets/golos_text_regular.ttf);font-weight:400;font-display:swap}@font-face{font-family:Golos;src:url(assets/golos_text_semibold.ttf);font-weight:600;font-display:swap}@font-face{font-family:Golos;src:url(assets/golos_text_bold.ttf);font-weight:700;font-display:swap}:root{color-scheme:dark;--bg:var(--studio-chrome-deep, #0b100c);--panel:var(--studio-chrome-surface, #151d16);--muted:#8f9d8c;--text:var(--studio-chrome-text, #edf3e8);--lime:var(--studio-chrome-accent, #ceff28);--line:var(--studio-chrome-raised, #2c392a);--timeline-height:300px;font:14px Golos,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);height:100vh;overflow:hidden}button,input,select,textarea{font:inherit}button{color:var(--text);border:1px solid var(--studio-chrome-line, #405038);border-radius:10px;background:linear-gradient(180deg,var(--studio-chrome-raised, #273222) 0%,var(--studio-chrome-surface, #182117) 90%);padding:10px 15px;min-height:40px;cursor:pointer;line-height:1.35;white-space:normal;overflow-wrap:anywhere;font-weight:600;box-shadow:none;text-shadow:none;transition:background .15s,border-color .15s,transform .15s}button:hover{border-color:var(--studio-chrome-secondary, #83a344);background:linear-gradient(var(--studio-chrome-raised, #324028),var(--studio-chrome-surface, #1d2a1a))}button:active{transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lime);outline-offset:3px}button:disabled{opacity:.35;cursor:default;transform:none}.primary{background:linear-gradient(var(--studio-chrome-accent, #dcff70),var(--studio-chrome-accent, #c5f72a));border-color:var(--studio-chrome-accent, #e5ff99);color:var(--studio-chrome-deep, #152000)}.primary:hover{background:linear-gradient(var(--studio-chrome-accent, #edffa3),var(--studio-chrome-accent, #d7ff48));border-color:var(--studio-chrome-accent, #efffbd)}.square{min-width:38px;padding:8px;font-size:18px}.wide{width:100%}input,select,textarea{background:var(--studio-chrome-deep, #0e160f);color:var(--text);border:1px solid var(--studio-chrome-raised, #394633);border-radius:9px;padding:10px;min-width:0;line-height:1.45}textarea{width:100%;resize:vertical;min-height:85px}input[type=range]{padding:0;accent-color:var(--lime);cursor:pointer}input[type=checkbox]{accent-color:var(--lime);width:17px;height:17px}input[type=number]{width:100%}.topbar{height:78px;display:flex;align-items:center;padding:13px 22px;gap:22px;border-bottom:1px solid var(--line);background:var(--studio-chrome-deep, #101711)}.brand{display:flex;gap:10px;align-items:center;background:none;border:0;padding:0;text-align:left;flex-shrink:0}.brand:hover{background:none}.brand svg{width:36px;height:36px;fill:var(--lime)}.brand svg path{fill:none;stroke:var(--studio-chrome-surface, #14200c);stroke-width:2.8;stroke-linejoin:round}.brand>span{font-size:24px;letter-spacing:-1.1px}.brand small{font-size:8px;letter-spacing:3px;display:block;line-height:1.3;color:var(--muted);font-weight:400}.dot{color:var(--lime)}.divider{display:inline-block;width:1px;height:25px;background:var(--line);flex-shrink:0}.project-title{min-width:90px;flex:1}.project-title input{padding:0;background:none;border:0;width:100%;font-size:14px;font-weight:600}.project-title small{display:block;font-size:10px;color:var(--muted);padding-top:4px}.header-actions{display:flex;gap:8px;align-items:center}.header-actions #export{min-width:116px;display:flex;justify-content:space-between;gap:15px}.workspace{display:grid;grid-template-columns:230px minmax(300px,1fr) 302px;grid-template-rows:minmax(240px,1fr) var(--timeline-height);height:calc(100vh - 78px)}.library{grid-row:1;display:flex;flex-direction:column;padding:0 15px 12px;border-right:1px solid var(--line);min-height:0}.side-tabs{display:flex;border-bottom:1px solid var(--line);margin:0 -15px;padding:8px 12px;gap:5px}.side-tabs button{background:none;border-color:transparent;font-size:12px;padding:8px 11px}.side-tabs button.active{color:var(--lime);background:var(--studio-chrome-raised, #233019);border-color:var(--studio-chrome-line, #52663a)}.library-content{overflow:auto;flex:1;padding:15px 0;min-height:40px}.library-empty{padding:20px 8px;color:var(--muted);font-size:12px;line-height:1.7}.media-card{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid var(--studio-chrome-raised, #222d21);cursor:grab}.media-card .thumb{width:52px;height:52px;object-fit:cover;background:var(--studio-chrome-raised, #29391f);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--lime)}.media-card strong{font-weight:400;font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-card small{font-size:10px;color:var(--muted)}.library .wide{font-size:12px;margin:5px 0;min-height:36px}.catalog{display:flex;justify-content:space-between;background:none;border:0;font-size:12px;padding:10px 2px;color:var(--muted)}.guide-dock{display:flex;align-items:flex-end;position:relative;margin:10px -2px 0;min-height:125px;gap:0}.guide-dock>div{position:relative;z-index:1;width:125px;flex-shrink:0;padding-bottom:6px}.guide-dock small{font-size:8px;color:var(--lime);letter-spacing:1.1px}.guide-dock p{font-size:13px;line-height:1.5;margin:9px 0}.guide-dock button{padding:0;background:none;border:0;font-size:10px;min-height:26px;color:var(--muted);font-weight:400;text-align:left}.melody{width:103px;height:140px;object-fit:contain;flex-shrink:0;border:0;background:none;pointer-events:none}.guide-dock .melody{margin-left:-13px}.viewer{display:flex;min-width:0;min-height:0;flex-direction:column;padding:0 20px 12px;background:radial-gradient(ellipse at 50% 70%,rgb(var(--studio-chrome-surface-rgb, 28 40 26) / .133333),transparent 65%)}.section-top{height:50px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:var(--muted);letter-spacing:1.4px;flex-shrink:0}.section-top>div{display:flex;gap:6px;align-items:center}.section-top select{font-size:11px;min-height:30px;padding:4px 7px}.section-top button{font-size:14px;min-height:30px;padding:3px 6px;background:none;border-color:var(--studio-chrome-raised, #2f3b2a)}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--lime);margin-right:7px}.stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:14px;border:1px solid var(--studio-chrome-raised, #283225);background:var(--studio-chrome-deep, #080d09)}#preview{width:100%;height:100%;object-fit:contain}.empty-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 75% 0,rgb(var(--studio-chrome-raised-rgb, 54 73 28) / .4),transparent 65%),var(--studio-chrome-deep, #0e160e)}.empty-stage[hidden],.empty-symbol{display:none}h1{font-size:clamp(25px,3.1vw,43px);font-weight:600;line-height:1.13;letter-spacing:-1.4px;margin:0;text-align:center}h1 em{font-style:normal;color:var(--lime)}.empty-stage p{color:var(--muted);font-size:12px;line-height:1.5;text-align:center;margin:14px 0}.empty-stage button{min-height:34px;font-size:11px;margin:4px;padding:8px 15px}.empty-stage button:last-child{border:0;background:none;color:var(--muted)}.transport{display:flex;align-items:center;justify-content:space-between;padding-top:12px;gap:6px}.time{font-variant-numeric:tabular-nums;font-size:12px;color:var(--text)}.time b{font-weight:400;color:var(--muted);margin-left:3px}.transport-buttons{display:flex;align-items:center;gap:7px}.transport button{min-height:34px;min-width:34px;padding:4px;font-size:14px}.transport .play{width:44px}.transport #mute{background:none;border-color:transparent;color:var(--muted)}.inspector{border-left:1px solid var(--line);padding:0 16px;min-height:0;display:flex;flex-direction:column;background:var(--studio-chrome-surface, #121a13)}.inspector .section-top{border-bottom:1px solid var(--line);letter-spacing:1px}.section-top small{font-size:10px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:130px}#inspector-content{overflow:auto;padding:16px 0 24px;min-height:0}.field{display:block;margin:0 0 17px}.field>span{display:flex;justify-content:space-between;font-size:11px;color:var(--studio-chrome-soft, #b6c2ae);line-height:1.45;margin-bottom:7px;gap:8px}.field input:not([type=checkbox]),.field select{width:100%;font-size:12px}.field input[type=range]{height:19px}.field output{font-variant-numeric:tabular-nums;color:var(--text)}.field.check{display:flex;gap:10px;align-items:center}.field.check span{margin:0}.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.pair>*{min-width:0}.field>span{overflow-wrap:anywhere}.section-label{font-size:10px;font-weight:600;letter-spacing:1.4px;color:var(--lime);margin:22px 0 16px}.section-label:first-child{margin-top:0}.hint{font-size:11px;line-height:1.7;color:var(--muted);margin:0 0 16px}.inspector button{font-size:12px;margin:4px 0;min-height:35px;width:100%}.inspector .pair button{width:auto}.timeline-area{grid-column:1/-1;grid-row:2;min-height:0;border-top:1px solid var(--studio-chrome-line, #465539);display:flex;flex-direction:column;background:var(--studio-chrome-surface, #111912);position:relative}#timeline-resize{height:6px;position:absolute;left:0;right:0;top:-3px;cursor:ns-resize;z-index:4}.timeline-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 7px;gap:10px}.editing-actions,.timeline-options{display:flex;align-items:center;gap:7px}.timeline-toolbar button{font-size:11px;min-height:31px;padding:6px 10px}.timeline-toolbar .square{font-size:18px;min-width:33px;padding:1px 8px}.timeline-toolbar label{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:8px}.timeline-toolbar input{width:110px}.timeline-toolbar button.active{color:var(--lime);border-color:var(--studio-chrome-secondary, #829d3e)}.tool-tabs{display:flex;gap:7px;padding:0 20px 10px;overflow-x:auto;flex-shrink:0}.tool-tabs button{font-size:11px;min-height:31px;white-space:nowrap;padding:6px 13px;background:var(--studio-chrome-surface, #192319);border-color:var(--studio-chrome-raised, #2f3e2b)}.tool-tabs button.active{color:var(--studio-chrome-accent, #dfff75);background:linear-gradient(var(--studio-chrome-raised, #334225),var(--studio-chrome-raised, #202e1a));border-color:var(--studio-chrome-secondary, #718d3d)}.tool-tabs button.guide-focus{outline:2px solid var(--lime);outline-offset:2px}.timeline-scroll{display:flex;flex:1;min-height:0;overflow:auto;position:relative;background:var(--studio-chrome-deep, #101611)}.track-labels{position:sticky;left:0;z-index:3;width:138px;min-width:138px;background:var(--studio-chrome-surface, #171f18);border-right:1px solid var(--studio-chrome-raised, #38462f)}.track-label{height:42px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--studio-chrome-raised, #263021);cursor:pointer}.track-label:first-child{height:29px;font-size:8px;letter-spacing:1px;color:var(--studio-chrome-secondary, #6e8067)}.track-label.main{height:57px;color:var(--text)}.tracks{position:relative;min-width:100%;height:max-content}.ruler{height:29px;position:relative;background:var(--studio-chrome-deep, #101711);border-bottom:1px solid var(--studio-chrome-raised, #2b3825);cursor:crosshair}.ruler span{position:absolute;top:7px;font-size:9px;color:var(--muted);font-variant-numeric:tabular-nums;border-left:1px solid var(--studio-chrome-line, #46553b);padding-left:5px;height:20px}.track{height:42px;position:relative;border-bottom:1px solid var(--studio-chrome-raised, #273320);cursor:crosshair}.track.main{height:57px}.clip{position:absolute;top:5px;height:32px;border-radius:6px;border:1px solid var(--studio-chrome-line, #637847);background:linear-gradient(110deg,var(--studio-chrome-raised, #293d25),var(--studio-chrome-raised, #3d4b2e));color:var(--studio-chrome-muted, #d7e4c9);cursor:grab;overflow:hidden;font-size:10px;display:flex;align-items:center;user-select:none;min-width:4px}.track.main .clip{height:46px;background:linear-gradient(135deg,var(--studio-chrome-line, #536139),var(--studio-chrome-raised, #334630) 50%,var(--studio-chrome-line, #526037))}.clip.selected{border:2px solid var(--lime);color:var(--studio-chrome-accent, #f0ffdd)}.clip span{padding:4px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1;pointer-events:none;text-shadow:none}.clip .handle{position:absolute;width:8px;top:0;bottom:0;cursor:ew-resize;z-index:2;background:rgb(var(--studio-chrome-accent-rgb, 222 255 138) / .533333);opacity:0}.clip:hover .handle,.clip.selected .handle{opacity:1}.handle.left{left:0}.handle.right{right:0}.clip.audio{background:var(--studio-chrome-raised, #253a2b);border-color:var(--studio-chrome-line, #426841)}.clip.text{background:#2a4142;border-color:#4c7576}.clip.caption{background:#424127;border-color:var(--studio-chrome-line, #777b3d)}.clip.layer{background:#303d51;border-color:#526d8b}.clip.voice{background:#32404e;border-color:#556a80}.clip canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.45;pointer-events:none}.transition-mark{position:absolute;top:15px;width:22px;height:23px;padding:0;min-height:23px;border-radius:5px;background:var(--studio-chrome-surface, #15220e);border-color:var(--studio-chrome-accent, #accc62);color:var(--lime);z-index:2;font-size:11px}.playhead{position:absolute;top:0;bottom:0;left:0;width:1px;background:var(--studio-chrome-accent, #edfbd8);z-index:2;pointer-events:none}.playhead:before{content:"";width:9px;height:11px;background:var(--lime);position:absolute;left:-4px;clip-path:polygon(0 0,100% 0,100% 65%,50% 100%,0 65%)}.beat-line{position:absolute;top:29px;bottom:0;width:1px;background:rgb(var(--studio-chrome-accent-rgb, 215 255 68) / .133333);pointer-events:none}.track.empty:after{content:attr(data-placeholder);font-size:10px;color:var(--studio-chrome-secondary, #5b7054);position:absolute;left:14px;top:13px}.timeline-area footer{display:flex;justify-content:space-between;font-size:9px;color:var(--studio-chrome-secondary, #7c8e74);padding:7px 20px;border-top:1px solid var(--line);gap:10px;flex-shrink:0}.timeline-area footer i{font-style:normal;padding:0 8px;color:var(--studio-chrome-line, #47603b)}dialog{border:1px solid var(--studio-chrome-line, #4a5e39);border-radius:22px;padding:24px;background:linear-gradient(135deg,var(--studio-chrome-raised, #202c1e),var(--studio-chrome-surface, #111a13));color:var(--text);width:min(650px,90vw);max-height:88vh;overflow:auto}dialog::backdrop{background:#0009}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.dialog-header h2{font-size:23px;line-height:1.35;font-weight:600;margin:0;overflow-wrap:anywhere}#dialog-content>button{width:100%;margin:5px 0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.dialog-actions button{min-width:120px}.guide-intro{display:flex;gap:10px;align-items:center}.guide-intro>div{flex:1;min-width:0}.guide-intro h3{font-size:27px;line-height:1.15;font-weight:600}.guide-intro .melody{width:180px;height:240px}.guide-step{display:flex;align-items:center;gap:15px;background:var(--studio-chrome-surface, #1b291a);border:1px solid var(--studio-chrome-raised, #34452d);border-radius:12px;padding:14px;margin:8px 0;cursor:pointer}.guide-step span{color:var(--lime);font-size:11px}.guide-step strong{font-size:13px;display:block}.guide-step p{font-size:11px;color:var(--muted);margin:4px 0;line-height:1.5}.keyboard{display:grid;grid-template-columns:130px 1fr;gap:10px;font-size:12px;color:var(--muted)}kbd{color:var(--text);font:inherit}#toast{position:fixed;bottom:36px;left:50%;transform:translate(-50%);max-width:70vw;background:var(--studio-chrome-raised, #25331f);border:1px solid var(--studio-chrome-secondary, #728e45);padding:12px 20px;border-radius:12px;font-size:12px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.drop-active .stage{border:2px dashed var(--lime)}progress{width:100%;accent-color:var(--lime);height:9px}.project-card{display:block;width:100%;margin-bottom:9px;padding:13px;text-align:left;border-color:var(--studio-chrome-raised, #384b2e)}.project-card strong{font-size:12px;display:block}.project-card small{font-size:10px;font-weight:400;display:block;color:var(--muted);padding-top:6px}.viewer.expanded{position:fixed;inset:78px 0 0;z-index:8;background:var(--bg)}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:var(--studio-chrome-line, #3e5134);border-radius:8px}::-webkit-scrollbar-track{background:var(--studio-chrome-surface, #121a12)}@media(max-width:1200px){.workspace{grid-template-columns:200px minmax(300px,1fr) 274px}.topbar{gap:14px;padding:13px 16px}.header-actions{gap:5px}.header-actions button{padding:9px 12px}.guide-dock .melody{width:88px;margin-left:-26px}.guide-dock>div{width:115px}.viewer{padding:0 14px 12px}.time{font-size:10px}.timeline-toolbar{padding-left:15px;padding-right:15px}.timeline-options label{font-size:0}.header-actions #new-project{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}:root{--media-width:clamp(248px,27vw,460px);--inspector-width:292px;--timeline-height:clamp(230px,34vh,390px);--bg:var(--studio-chrome-deep, #101411);--panel:var(--studio-chrome-surface, #181e19);--line:var(--studio-chrome-raised, #2d372d);--muted:var(--studio-chrome-soft, #9ca796);font-size:13px}button{border-radius:8px;min-height:34px;padding:7px 12px;overflow-wrap:normal;transition:background .15s,border-color .15s}button:active{transform:none}.square{min-width:32px;padding:5px}.topbar{height:58px;gap:17px;padding:9px 16px}.brand svg{width:29px;height:29px}.brand>span{font-size:21px;letter-spacing:-.8px}.brand small{font-size:6px;letter-spacing:2.8px}.project-title small{font-size:9px;padding-top:2px}.header-actions button{font-size:12px;min-height:33px;padding:7px 12px}.header-actions #export{min-width:106px}.workspace{height:calc(100vh - 58px);grid-template-columns:var(--media-width) 6px minmax(280px,1fr) 6px var(--inspector-width);grid-template-rows:minmax(235px,1fr) var(--timeline-height);gap:0}.library{grid-column:1;border:0;background:var(--studio-chrome-surface, #151b16);padding:0 14px;overflow:hidden}.pane-resize{grid-row:1;cursor:col-resize;position:relative;background:var(--studio-chrome-deep, #101411);z-index:4;touch-action:none}.pane-resize:after{content:"";position:absolute;width:2px;left:2px;inset-block:12px;border-radius:2px;background:var(--studio-chrome-raised, #2c362b)}.pane-resize:hover:after,.pane-resize:focus-visible:after{background:var(--studio-chrome-accent, #b7e759)}#library-resize{grid-column:2}#inspector-resize{grid-column:4}.side-tabs{height:43px;flex-shrink:0;margin:0 -14px;padding:4px 10px;gap:4px;align-items:center}.side-tabs button{font-size:12px;min-height:32px;border-radius:6px;padding:5px 10px}.side-tabs button.active{background:transparent;border-color:transparent;color:var(--studio-chrome-accent, #dcff76)}.side-tabs button.active:after{content:"";display:block;height:2px;background:var(--lime);position:relative;bottom:-7px;border-radius:2px}#media-count{font-size:10px;color:var(--muted);margin-left:5px}.media-controls{flex-shrink:0;padding-top:13px}.import-row{display:flex;justify-content:space-between;gap:8px;align-items:center}.import-row #add-media{padding:6px 17px;font-size:12px;min-height:33px}.import-row .square{background:none;border-color:var(--studio-chrome-raised, #394535);color:var(--muted);font-size:18px;min-height:30px;height:30px}#media-search{width:100%;font-size:11px;margin-top:10px;padding:7px 10px;border-radius:6px;background:var(--studio-chrome-deep, #101612);min-height:30px}.media-filters{display:flex;gap:3px;padding:9px 0 0}.media-filters button{border:1px solid transparent;background:none;color:var(--muted);font-size:10px;padding:4px 10px;min-height:27px;border-radius:5px}.media-filters button.active{color:var(--studio-chrome-accent, #e1f8c7);background:var(--studio-chrome-raised, #293522);border-color:var(--studio-chrome-line, #455c34)}.library-content{padding:12px 0;min-height:0}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:12px 10px;align-content:start}.media-card{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:7px;border:1px solid transparent;padding:0 0 7px;border-radius:8px;min-width:0;cursor:pointer;background:var(--studio-chrome-deep, #111712);overflow:hidden}.media-card:hover{border-color:var(--studio-chrome-line, #516445)}.media-card.active{border-color:var(--studio-chrome-accent, #b7e652);background:var(--studio-chrome-raised, #202c1c)}.media-card .thumb{height:auto;aspect-ratio:16/10;width:100%;border-radius:7px 7px 0 0;font-size:27px;background:linear-gradient(135deg,var(--studio-chrome-raised, #33462a),var(--studio-chrome-surface, #1b2b21));object-fit:contain}.media-card .thumb.audio-symbol{font-size:26px;letter-spacing:4px;color:var(--studio-chrome-accent, #b7de70);background:repeating-linear-gradient(90deg,var(--studio-chrome-raised, #1f3020) 0px,var(--studio-chrome-raised, #1f3020) 12px,var(--studio-chrome-raised, #223922) 12px,var(--studio-chrome-raised, #223922) 13px);display:flex}.media-card>div:not(.thumb){padding:0 8px;min-width:0}.media-card strong{font-size:10px;font-weight:400;line-height:1.5}.media-card small{font-size:9px;color:var(--studio-chrome-soft, #93a28e);line-height:1.4;display:block}.media-card .media-add{position:absolute;right:5px;top:5px;width:24px;min-height:24px;height:24px;padding:0;border-radius:5px;color:var(--studio-chrome-accent, #e5ffad);background:rgb(var(--studio-chrome-surface-rgb, 20 35 12) / .901961);border-color:var(--studio-chrome-secondary, #668b44);font-size:17px;font-weight:400;opacity:0}.media-card:hover .media-add,.media-card:focus-within .media-add{opacity:1}.media-card .used-badge{position:absolute;left:5px;top:5px;font-size:8px;line-height:18px;padding:0 5px;border-radius:4px;background:rgb(var(--studio-chrome-surface-rgb, 20 35 12) / .854902);color:var(--studio-chrome-accent, #d3ff72)}.media-grid.list{grid-template-columns:1fr;gap:5px}.media-grid.list .media-card{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:8px;padding:5px}.media-grid.list .thumb{height:40px;aspect-ratio:auto;border-radius:4px}.media-grid.list .used-badge{display:none}.media-grid.list .media-card>div:not(.thumb){padding:0 25px 0 0}.media-grid.list .media-add{top:13px}.library-empty{grid-column:1/-1;border:1px dashed var(--studio-chrome-line, #384a31);border-radius:10px;padding:22px 16px;line-height:1.8;font-size:11px;margin:0;text-align:center}.library-footer{border-top:1px solid var(--line);min-height:34px;flex-shrink:0;display:flex;align-items:center;gap:5px;justify-content:space-between;color:var(--studio-chrome-secondary, #829179);font-size:9px}.library-footer button{padding:0;background:none;border:0;color:var(--studio-chrome-soft, #b6c6a6);min-height:28px;font-size:10px;white-space:nowrap}.viewer{grid-column:3;padding:0 12px 9px;background:var(--studio-chrome-deep, #101612);min-width:0}.section-top{height:43px;letter-spacing:1.2px;font-size:9px}.stage{border:0;background:none;border-radius:0;min-width:0}#preview-frame{position:relative;overflow:hidden;flex-shrink:0;line-height:0;border:1px solid var(--studio-chrome-raised, #364330);background:#000;border-radius:2px;max-width:100%;max-height:100%}#preview{display:block;width:100%;height:100%;object-fit:contain}.drop-active .stage{border:0}.drop-active #preview-frame{outline:2px dashed var(--lime);outline-offset:3px}.empty-stage{border:1px dashed var(--studio-chrome-raised, #35482a);background:radial-gradient(ellipse at 60% 0,rgb(var(--studio-chrome-raised-rgb, 40 61 24) / .376471),transparent 70%),var(--studio-chrome-surface, #121b12);border-radius:10px}.empty-stage h1{font-size:clamp(22px,2.4vw,34px)}.empty-stage p{font-size:11px;margin:10px 0}.empty-stage button{padding:6px 13px;min-height:30px}.transport{height:45px;min-height:45px;padding:9px 0 0;position:relative}.time{font-size:10px;white-space:nowrap}.transport-buttons{position:absolute;left:50%;transform:translate(-50%);gap:6px}.transport button{width:30px;min-height:29px;min-width:30px;font-size:13px}.transport .play{width:36px}.inspector{grid-column:5;border:0;padding:0 14px;background:var(--studio-chrome-surface, #171e18);overflow:hidden}.inspector .section-top{height:43px}.section-top small{max-width:130px;font-size:9px}.tool-tabs{display:block;overflow:visible;padding:11px 0 0;border-bottom:1px solid var(--line)}.tool-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding-bottom:8px}.tool-groups button{width:100%;font-size:10px;padding:7px 5px;min-height:29px;margin:0;border-radius:6px;background:var(--studio-chrome-surface, #1c291c)}.tool-groups button.active{border-color:var(--studio-chrome-secondary, #7c9d49);background:var(--studio-chrome-raised, #344526);color:var(--studio-chrome-accent, #deffad)}.tool-subtabs{display:flex;gap:4px;overflow-x:auto;padding:2px 0 7px}.tool-subtabs button{flex:1;min-width:0;width:auto;white-space:normal;border:0;background:none;font-size:10px;min-height:29px;margin:0;padding:5px 6px;border-radius:5px;color:var(--studio-chrome-soft, #a4b59a)}.tool-subtabs button.active{background:var(--studio-chrome-raised, #283722);color:var(--studio-chrome-accent, #e1f9c4)}#inspector-content{padding:15px 0 20px}.section-label{font-size:9px;letter-spacing:1.3px;margin:19px 0 12px}.hint{line-height:1.65;font-size:10px;margin-bottom:13px}.field{margin-bottom:13px}.field>span{font-size:10px;margin-bottom:5px}.field input:not([type=checkbox]),.field select{font-size:11px;padding:8px}.field input[type=range]{padding:0;height:19px}.inspector button{font-size:11px;min-height:32px;padding:7px 10px}.pair{gap:9px}.asset-preview{width:100%;max-height:150px;object-fit:contain;background:var(--studio-chrome-deep, #0c120c);border-radius:7px;margin-bottom:12px}.repair-card{border:1px solid var(--studio-chrome-line, #607243);background:var(--studio-chrome-raised, #29351e);border-radius:9px;padding:12px;margin-bottom:15px}.repair-card p{font-size:10px;line-height:1.6;margin:0 0 7px;color:var(--studio-chrome-muted, #d3dfc8)}.timeline-toolbar{padding:8px 14px;gap:8px;border-bottom:1px solid var(--line)}.editing-actions,.timeline-options{gap:6px}.timeline-toolbar button{font-size:10px;min-height:29px;padding:5px 10px}.timeline-toolbar .square{min-width:29px;min-height:29px;font-size:18px;padding:0 6px}.timeline-toolbar input[type=range]{width:100px;min-width:50px;height:18px}.timeline-scroll{overflow-x:auto;overflow-y:auto}.track-labels{width:124px;min-width:124px;background:var(--studio-chrome-surface, #171f17)}.track-label{padding:6px 12px;height:49px}.track-label.main{height:64px}.track{height:49px}.track.main{height:64px}.clip{height:37px;top:6px;border-radius:5px;font-size:10px;background:var(--studio-chrome-raised, #253b24)}.track.main .clip{height:51px;background:linear-gradient(100deg,var(--studio-chrome-raised, #334b2e),var(--studio-chrome-raised, #2c3d29));border-color:var(--studio-chrome-secondary, #668954)}.clip.audio{background:var(--studio-chrome-raised, #23392b);border-color:var(--studio-chrome-secondary, #4d7553)}.clip.layer{background:#243649}.clip.selected{border-width:1px;border-color:var(--studio-chrome-accent, #d9ff6a);outline:1px solid rgb(var(--studio-chrome-accent-rgb, 182 228 75) / .333333);outline-offset:0}.clip span{align-self:flex-start;margin-top:2px;padding:3px 10px;max-width:100%;font-size:9px}.clip .handle{width:9px;background:rgb(var(--studio-chrome-accent-rgb, 201 238 128) / .4);border-radius:2px}.clip .handle:after{content:"";position:absolute;top:35%;bottom:35%;left:3px;width:2px;background:var(--studio-chrome-accent, #efffc1);border-radius:2px}.clip canvas{top:14px;height:calc(100% - 14px);opacity:.7}.track.main .clip.has-thumbnail{background-size:auto 100%;background-repeat:repeat-x}.track.main .clip.has-thumbnail span{background:rgb(var(--studio-chrome-deep-rgb, 15 24 11) / .878431);margin:0 8px 0 0;border-radius:0 0 5px}.timeline-navigator{display:flex;align-items:center;gap:12px;height:29px;min-height:29px;padding:3px 14px;border-top:1px solid var(--line);font-size:9px;color:var(--studio-chrome-soft, #a1b293);user-select:none}.timeline-navigator>span{min-width:50px;font-variant-numeric:tabular-nums}.timeline-navigator>span:first-child{width:97px}.timeline-navigator>span:last-child{text-align:right}#navigator{height:19px;flex:1;position:relative;border-radius:5px;background:var(--studio-chrome-deep, #0b120c);overflow:hidden;border:1px solid var(--studio-chrome-raised, #32442b);touch-action:none}#nav-wave{width:100%;height:100%;opacity:.4}#nav-window{position:absolute;top:0;bottom:0;border:1px solid var(--studio-chrome-secondary, #9fbe65);border-radius:4px;display:flex;align-items:stretch;min-width:18px;cursor:grab;background:rgb(var(--studio-chrome-accent-rgb, 185 233 113) / .078431)}#nav-window button{height:100%;min-height:0;width:11px;min-width:11px;border:0;border-radius:2px;padding:0;cursor:ew-resize;background:rgb(var(--studio-chrome-accent-rgb, 169 201 101) / .478431);flex-shrink:0}#nav-window button:after{content:"";display:block;margin:auto;width:2px;height:8px;background:var(--studio-chrome-accent, #f3ffd5);border-radius:2px}#nav-grip{flex:1;min-width:0}#nav-grip:after{content:"\b7\b7\b7";display:block;line-height:11px;letter-spacing:2px;color:var(--studio-chrome-soft, #b3c89e);text-align:center}.timeline-area footer{height:24px;min-height:24px;padding:5px 14px;font-size:8px}.timeline-area footer #status{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.viewer.expanded{inset:58px 0 0}.project-card{font-size:12px;line-height:1.5}.library-content:not(.media-grid) .project-card{width:100%}.guide-intro .melody{width:185px;height:247px}.dialog-header h2{font-size:22px}.section-top #aspect{max-width:120px}body.dragging{cursor:ew-resize;user-select:none}@media(max-width:1250px){:root{--media-width:260px;--inspector-width:266px}.topbar{gap:12px;padding:9px 12px}.header-actions{gap:5px}.header-actions button{padding:7px 9px}.header-actions #new-project{display:none}.viewer{padding:0 10px 9px}.timeline-toolbar{padding-inline:10px}.timeline-toolbar button{padding-inline:7px}.timeline-options{gap:5px}.timeline-toolbar input[type=range]{width:78px}.time{font-size:9px}.transport-buttons{position:static;transform:none}.timeline-area footer>span:last-child{display:none}.tool-groups button{font-size:9px}.library-footer{font-size:8px}}@media(max-height:740px){:root{--timeline-height:230px}.media-controls{padding-top:9px}.media-filters{padding-top:6px}.section-top,.side-tabs,.inspector .section-top{height:37px}.empty-stage p{margin:7px 0}.empty-stage button{min-height:26px;margin:2px}.empty-stage h1{font-size:25px}.tool-groups{gap:4px;padding-bottom:5px}.tool-tabs{padding-top:7px}}.project-entry{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.project-entry .project-card{width:100%;margin:0}.project-entry>button:last-child{color:#ffb9ac;min-height:36px}#delete{min-width:140px;white-space:normal;line-height:1.25;padding:8px 12px}@media(max-width:1250px){.timeline-toolbar{flex-wrap:wrap;gap:8px}.editing-actions,.timeline-options{flex-wrap:wrap}#delete{width:auto}}.monitor-volume{flex-shrink:0;display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 0;border-top:1px solid var(--studio-chrome-raised, #2e3b29);font-size:10px;color:var(--studio-chrome-muted, #c5d1bd)}.monitor-volume label{white-space:nowrap}.monitor-volume input{flex:1;min-width:50px;width:100%;height:20px;accent-color:var(--lime);cursor:pointer}.monitor-volume output{width:40px;text-align:right;font-variant-numeric:tabular-nums;color:var(--studio-chrome-accent, #e3f3d7)}.monitor-volume button{display:grid;place-items:center;flex:0 0 30px;width:30px;min-height:30px;padding:4px;border-radius:6px}.monitor-volume svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.speaker-off{display:none}.is-muted .speaker-off{display:block}.is-muted .speaker-waves{display:none}.monitor-volume .is-muted{color:#ffbaab}@media(max-width:1150px){.monitor-volume{gap:7px;font-size:9px}.monitor-volume label{max-width:92px;white-space:normal;line-height:1.2}}.stereo-meters{display:grid;grid-template-columns:10px minmax(30px,1fr) 10px minmax(30px,1fr) 28px;gap:6px;align-items:center;margin-top:8px;color:var(--studio-chrome-soft, #91a18b);font-size:8px;font-variant-numeric:tabular-nums}.stereo-meters [role=meter]{height:6px;background:var(--studio-chrome-raised, #263124);overflow:hidden;border-radius:2px}.stereo-meters i{display:block;height:100%;width:var(--level,0%);background:linear-gradient(90deg,var(--studio-chrome-secondary, #87bb65),var(--studio-chrome-accent, #cced69) 75%,#e3b366 90%,#e26869);transition:width 60ms linear}#peak-warning{font-size:8px;color:var(--studio-chrome-secondary, #65715f)}#peak-warning.active{color:#ff8686}.mixer-card{border:1px solid var(--studio-chrome-raised, #354631);border-radius:9px;padding:10px;margin-bottom:9px;background:var(--studio-chrome-deep, #101811)}.mixer-card.active{border-color:var(--studio-chrome-secondary, #8baf50)}.mixer-card .mixer-title{background:none;border:0;text-align:left;padding:0;margin:0 0 8px;min-height:24px;line-height:1.45;overflow-wrap:anywhere;color:var(--studio-chrome-muted, #deedce)}.mixer-card .pair{gap:6px}.mixer-card .pair button{margin:0;padding:5px;font-size:10px}.mixer-card button.active{color:var(--studio-chrome-accent, #e5ff9c);background:var(--studio-chrome-raised, #344322);border-color:var(--studio-chrome-secondary, #8aab4d)}.mixer-card .field{margin-bottom:8px}.automation-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;gap:6px;align-items:end;margin-bottom:10px}.automation-row .field{margin:0}.automation-row button{padding:4px;min-height:34px;margin:0}.automation-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:2}.automation-line path{stroke:var(--studio-chrome-accent, #e7ffaa);stroke-width:1.5;fill:none;vector-effect:non-scaling-stroke;opacity:.75}.clip .automation-point{position:absolute;z-index:4;transform:translate(-50%,-50%);border-radius:50%;min-width:9px;min-height:9px;width:9px;height:9px;padding:0;background:var(--studio-chrome-accent, #e3ff9e);border:1px solid var(--studio-chrome-deep, #102007);cursor:move}.clip .automation-point:focus-visible{outline:2px solid white;outline-offset:2px}.clip.locked{opacity:.6;cursor:not-allowed;border-style:dashed}.clip.grouped{border-bottom:3px solid #a6c4e3}.clip.multi-selected{outline:2px solid var(--studio-chrome-accent, #d5ff64);outline-offset:-2px}.range-band{position:absolute;top:0;height:29px;background:rgb(var(--studio-chrome-accent-rgb, 205 253 60) / .145098);border-top:3px solid var(--studio-chrome-accent, #d3fa65);pointer-events:none;z-index:1}.range-band:before,.range-band:after{position:absolute;top:1px;font-size:8px;color:var(--studio-chrome-accent, #e9ffb1)}.range-band:before{content:"I";left:2px}.range-band:after{content:"O";right:2px}.organize-item{display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--studio-chrome-raised, #31402c);padding:10px 0;font-size:10px;line-height:1.6}.organize-item span{overflow-wrap:anywhere;min-width:0}.organize-item input{flex-shrink:0}.key-card{border:1px solid var(--studio-chrome-line, #3b4c32);border-radius:8px;padding:10px;margin:9px 0}.key-card summary{cursor:pointer;font-size:11px;color:var(--studio-chrome-accent, #d2f599);padding:4px}.key-card[open] summary{margin-bottom:12px}.history-card{padding:14px;border:1px solid var(--studio-chrome-line, #405137);border-radius:10px;margin:10px 0;font-size:12px;overflow-wrap:anywhere}.history-card button{width:100%;margin-top:7px}.transition-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.transition-card{display:grid;gap:7px;overflow:hidden}.transition-demo{height:42px;display:block;position:relative;overflow:hidden;background:#405871;border-radius:4px}.transition-demo:after{content:"";position:absolute;inset:0;background:var(--studio-chrome-accent, #b7da57);transform:translate(-100%)}.transition-card:hover .transition-demo:after,.transition-card:focus-visible .transition-demo:after{animation:transition-wipe 1.8s ease-in-out infinite}.transition-card[data-kind="11"] .transition-demo:after{background:linear-gradient(60deg,#da7560,#fff7d1,#7695b5);mix-blend-mode:screen}.transition-card[data-kind="12"] .transition-demo:after{clip-path:polygon(0 0,100% 0,75% 100%,0 100%);width:140%}.transition-card[data-kind="13"] .transition-demo:after{border-radius:50%;transform:scale(0)}.transition-card[data-kind="13"]:hover .transition-demo:after{animation:transition-circle 1.8s ease-in-out infinite}.transition-card[data-kind="14"] .transition-demo:after{background:linear-gradient(90deg,var(--studio-chrome-accent, #b7da57) 30%,rgb(var(--studio-chrome-accent-rgb, 183 218 87) / 0))}@keyframes transition-wipe{0%,12%{transform:translate(-100%)}80%,to{transform:translate(0)}}@keyframes transition-circle{0%,12%{transform:scale(0)}80%,to{transform:scale(1.5)}}@media(prefers-reduced-motion:reduce){.transition-card:hover .transition-demo:after{animation:none;transform:none}}.timeline-toolbar,.timeline-options,.editing-actions{flex-wrap:wrap}.monitor-volume{margin-top:5px}.tool-subtabs button{overflow-wrap:normal;word-break:normal;line-height:1.35}.inspector input[type=color]{height:34px;padding:2px}.inspector .tool-subtabs{flex-wrap:wrap}.inspector .tool-subtabs button{flex:1 1 65px;min-height:31px}.mixer-card .field output{white-space:nowrap}button{box-shadow:none;text-shadow:none}#inspector-content{scrollbar-gutter:stable}#dialog-content progress{width:100%;height:8px;accent-color:var(--studio-chrome-accent, #ccfc3a)}.mixer-cards{max-height:290px;overflow:auto;padding-right:4px;scrollbar-gutter:stable}.mixer-cards:has(.mixer-card:only-child){max-height:none;overflow:visible;padding-right:0}
