@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{color-scheme:dark;font-family:DM Sans,system-ui,sans-serif;color:#f5f3fb;background:#090a10;font-synthesis:none;text-rendering:optimizeLegibility;--bg: #090a10;--panel: #101118;--panel-2: #151620;--panel-3: #1b1d29;--border: rgba(255, 255, 255, .085);--border-strong: rgba(255, 255, 255, .14);--muted: #8d8fa0;--text: #f5f3fb;--accent: #8569ff;--accent-soft: rgba(133, 105, 255, .14);--success: #31ca91}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;overflow:hidden;background:radial-gradient(circle at 40% -10%,rgba(103,75,225,.08),transparent 34%),var(--bg)}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #a591ff;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.38}.studio-shell{height:100vh;min-height:620px;display:flex;flex-direction:column;overflow:hidden}.topbar{height:70px;flex:0 0 70px;padding:0 18px 0 20px;border-bottom:1px solid var(--border);background:#090a10e0;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);display:flex;align-items:center;justify-content:space-between;position:relative;z-index:20}.topbar__brand,.topbar__actions{display:flex;align-items:center}.topbar__brand{gap:12px;min-width:0}.topbar__actions{gap:8px}.export-preset{min-height:36px;padding:0 10px;border:1px solid var(--border);border-radius:10px;display:inline-flex;align-items:center;gap:6px;color:#b9aecf;background:#ffffff09}.export-preset select{max-width:100px;border:0;outline:0;color:#f5f3fb;background:transparent;font-size:10px;font-weight:700;cursor:pointer}.export-preset option{color:#f5f3fb;background:#151620}.export-preset--mobile{min-height:34px;padding:0 7px;gap:4px}.export-preset--mobile select{max-width:50px;font-size:9px}.app-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-family:Manrope,sans-serif;font-size:19px;font-weight:800;background:linear-gradient(135deg,#7f61ff,#e88a72);box-shadow:0 10px 28px #6f4fec52}.brand-copy,.project-name{display:flex;flex-direction:column;min-width:0}.brand-copy strong{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:-.2px}.brand-copy span,.project-name small{color:var(--muted);font-size:9px;letter-spacing:1.8px;margin-top:1px}.project-divider{height:27px;width:1px;background:var(--border-strong);margin:0 5px}.project-name span{max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600}.project-name small{letter-spacing:0;font-size:10px}.workspace{flex:1;min-height:0;display:grid;grid-template-columns:280px minmax(420px,1fr) 330px}.left-panel,.inspector{min-height:0;background:#101118f0;position:relative;z-index:10}.left-panel{padding:17px 14px;border-right:1px solid var(--border);display:flex;flex-direction:column}.inspector{border-left:1px solid var(--border);display:flex;flex-direction:column}.template-card{display:grid;grid-template-columns:auto 1fr auto;gap:11px;align-items:center;min-height:64px;padding:11px;border:1px solid rgba(133,105,255,.22);border-radius:15px;background:linear-gradient(145deg,#8569ff1f,#8569ff05),var(--panel-2)}.template-card__icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#b5a6ff;background:#8569ff29}.template-card div:nth-child(2){display:flex;flex-direction:column;min-width:0}.template-card span,.panel-title span,.scene-card span,.inspector-heading span,.section-label,.eyebrow,.timing-summary span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:1.6px}.template-card strong{font-size:12px;margin-top:2px}.template-card>svg{color:#e6a073}.panel-title{margin:20px 3px 11px;display:flex;align-items:center;justify-content:space-between}.panel-title>div{display:flex;flex-direction:column;gap:2px}.panel-title strong{font-size:12px}.question-list{min-height:0;flex:1;display:flex;flex-direction:column;gap:7px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#333544 transparent;padding:2px 2px 10px}.scene-card{width:100%;border:1px solid transparent;border-radius:13px;background:transparent;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:left;padding:9px;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.scene-card:hover{background:#ffffff09}.scene-card.is-selected{background:var(--accent-soft);border-color:#8569ff47}.scene-card.is-selected .scene-number{color:#fff;background:var(--accent);box-shadow:0 7px 20px #6e51e647}.scene-card--special{background:#ffffff06}.scene-card-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px;align-items:stretch}.scene-delete{border:1px solid transparent;border-radius:10px;background:transparent;color:#747684;display:grid;place-items:center;cursor:pointer}.scene-delete:hover{color:#ff9aa5;border-color:#db5b6740;background:#db5b6714}.scene-number{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--panel-3);color:#b7b9c6;font-size:10px;font-weight:800;flex:0 0 auto}.scene-card__copy,.scene-card>div:nth-child(2){min-width:0;display:flex;flex-direction:column}.scene-card strong{margin-top:2px;font-size:11px;line-height:1.25;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-card small{font-size:9px;color:var(--muted)}.add-question{min-height:39px;border:1px dashed rgba(255,255,255,.14);border-radius:12px;background:transparent;color:#b5b7c3;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;font-weight:700;cursor:pointer}.add-question:hover{color:#fff;border-color:#8569ff73;background:var(--accent-soft)}.stage{min-width:0;min-height:0;display:flex;flex-direction:column;position:relative;background:linear-gradient(rgba(255,255,255,.016) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.016) 1px,transparent 1px),radial-gradient(circle at 50% 38%,rgba(101,74,209,.1),transparent 38%);background-size:32px 32px,32px 32px,auto}.stage__head{min-height:56px;padding:11px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.045)}.stage__head>div:first-child{display:flex;flex-direction:column;gap:2px}.stage__head strong{font-size:11px}.stage-pills{display:flex;gap:6px}.stage-pills span{display:flex;align-items:center;gap:5px;height:27px;padding:0 9px;border-radius:8px;color:#aeb0be;background:#ffffff0b;border:1px solid rgba(255,255,255,.055);font-size:9px;font-weight:700}.player-area{flex:1;min-height:0;padding:15px 30px;display:flex;align-items:center;justify-content:center;overflow:hidden}.player-phone{height:min(100%,690px);aspect-ratio:9 / 16;max-width:100%;border-radius:20px;overflow:hidden;background:#14111f;cursor:pointer;box-shadow:0 36px 100px #00000080,0 0 0 1px #ffffff21,0 0 0 7px #ffffff06}.player-phone:focus-visible{outline:2px solid rgba(133,105,255,.9);outline-offset:5px}.transport{height:66px;flex:0 0 66px;padding:0 20px;border-top:1px solid rgba(255,255,255,.05);display:flex;align-items:center;gap:8px;background:#08090eb3}.play-button{width:38px;height:38px;border:0;border-radius:50%;color:#fff;background:var(--accent);display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 22px #6446dc4d}.timeline-strip{flex:1;min-width:100px;height:23px;display:flex;gap:3px;margin-left:8px}.timeline-segment{min-width:5px;height:100%;padding:0;border:0;border-radius:4px;background:#282a36;cursor:pointer;transition:background .15s ease,transform .15s ease}.timeline-segment:hover{background:#45485b;transform:scaleY(1.16)}.timeline-segment.is-active{background:linear-gradient(90deg,var(--accent),#c07ddd)}.timeline-segment--intro,.timeline-segment--outro{background:#45395b}.transport__duration{color:var(--muted);font-size:10px;font-variant-numeric:tabular-nums;margin-left:6px}.inspector-tabs{min-height:53px;display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--border);padding:7px;gap:4px}.inspector-tabs button{border:0;border-radius:9px;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:9px;cursor:pointer}.inspector-tabs button.is-active{color:#fff;background:var(--accent-soft)}.preview-mode-bar{min-height:39px;padding:5px 7px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;border-bottom:1px solid var(--border);background:#ffffff03}.preview-mode-bar button,.segmented-control button,.voice-gender-filter button{min-width:0;border:1px solid transparent;border-radius:7px;color:var(--muted);background:transparent;font-size:9px;font-weight:700;cursor:pointer}.preview-mode-bar button.is-active,.segmented-control button.is-active,.voice-gender-filter button.is-active{color:#fff;border-color:#8569ff4d;background:var(--accent-soft)}.inspector-scroll{flex:1;min-height:0;overflow-y:auto;padding:19px 18px 30px;scrollbar-width:thin;scrollbar-color:#333544 transparent}.inspector-footer{padding:12px 16px;border-top:1px solid var(--border)}.inspector-heading{min-height:42px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between}.inspector-heading>div:first-child{display:flex;flex-direction:column;gap:3px}.inspector-heading strong{font-family:Manrope,sans-serif;font-size:16px;letter-spacing:-.3px}.inspector-heading>svg{color:#9d88ff}.visual-scope{margin-bottom:12px;padding:11px;display:flex;flex-direction:column;gap:9px;border:1px solid rgba(133,105,255,.22);border-radius:8px;background:#8569ff0b}.visual-scope>span{display:flex;flex-direction:column;gap:3px}.visual-scope strong{font-size:10px}.visual-scope small{color:var(--muted);font-size:9px;line-height:1.35}.segmented-control,.voice-gender-filter{min-height:34px;padding:3px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;border:1px solid var(--border);border-radius:8px;background:var(--panel-3)}.visual-scope__reset{width:100%}.bulk-actions{margin-bottom:12px;padding:10px;border:1px solid var(--border);border-radius:8px;background:#ffffff05;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.bulk-actions>span{grid-column:1 / -1;display:flex;flex-direction:column;gap:3px}.bulk-actions strong{font-size:10px}.bulk-actions small{color:var(--muted);font-size:9px;line-height:1.35}.bulk-actions .button{min-width:0;min-height:34px;padding:0 8px}.mini-actions{display:flex;gap:5px}.mini-actions button{width:31px;height:31px;border-radius:8px;border:1px solid var(--border);background:var(--panel-3);display:grid;place-items:center;color:#b5b7c3;cursor:pointer}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field__head{min-height:15px;display:flex;align-items:center;justify-content:space-between;color:#c4c5cf;font-size:10px;font-weight:700}.field__head small{color:var(--muted);font-size:9px;font-weight:500}.field>input,.field>textarea,.field>select,.color-field input[type=text],.color-field input:not([type]){width:100%;border:1px solid var(--border);border-radius:10px;background:var(--panel-3);color:var(--text);padding:10px 11px;font-size:11px;line-height:1.4;transition:border-color .15s ease,background .15s ease}.field>textarea{resize:vertical;min-height:67px}.field>input:focus,.field>textarea:focus,.field>select:focus{border-color:#8569ff8f;background:#1d1f2b;outline:0}.field>select{cursor:pointer}.field>select option{color:#f5f3fb;background:#151620}.answer-editor{display:flex;flex-direction:column;gap:7px}.answer-editor>div{min-height:42px;display:grid;grid-template-columns:31px 1fr;gap:7px;padding:5px;border-radius:11px;background:var(--panel-3);border:1px solid var(--border)}.answer-editor>div.is-correct{border-color:#31ca9157;background:#31ca9111}.answer-editor input{width:100%;min-width:0;border:0;background:transparent;color:#fff;font-size:11px;outline:0}.correct-toggle{width:31px;height:31px;border:0;border-radius:8px;display:grid;place-items:center;color:#9b9dac;background:#252735;font-size:9px;font-weight:800;cursor:pointer}.is-correct .correct-toggle{color:#fff;background:var(--success)}.asset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.upload-card,.audio-upload{cursor:pointer;position:relative}.upload-card input,.audio-upload input{position:absolute;width:1px;height:1px;opacity:0}.upload-card{min-height:65px;margin-top:22px;border:1px dashed var(--border-strong);border-radius:11px;color:#a6a8b5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:9px}.upload-card--button{width:100%;background:transparent;cursor:pointer}.upload-card:hover{border-color:#8569ff7a;color:#fff;background:var(--accent-soft)}.prompt-card{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--border);border-radius:12px;background:#ffffff06}.prompt-card textarea{width:100%;min-height:170px;resize:vertical;border:1px solid var(--border);border-radius:10px;background:var(--panel-3);color:var(--text);padding:10px 11px;font-size:10px;line-height:1.45;outline:0}.prompt-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prompt-actions span{color:var(--muted);font-size:10px;line-height:1.3}.section-label{margin:3px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--border)}.settings-section{margin-bottom:10px;border:1px solid var(--border);border-radius:8px;background:#ffffff05;overflow:hidden}.settings-section>summary{min-height:58px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text);cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.settings-section>summary::-webkit-details-marker{display:none}.settings-section>summary>span{min-width:0;display:flex;flex-direction:column;gap:3px}.settings-section>summary strong{font-size:11px}.settings-section>summary small{color:var(--muted);font-size:9px;line-height:1.35}.settings-section>summary svg{flex:0 0 auto;color:#a993ff;transition:transform .16s ease}.settings-section[open]>summary{border-bottom:1px solid var(--border);background:#8569ff0e}.settings-section[open]>summary svg{transform:rotate(180deg)}.settings-section__body{padding:14px 12px 2px}.color-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 9px}.color-field{min-height:38px;display:grid;grid-template-columns:31px 1fr;gap:7px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--panel-3)}.color-field input[type=color]{width:31px;height:29px;padding:0;border:0;border-radius:7px;background:none;overflow:hidden;cursor:pointer}.color-field input:not([type=color]){min-width:0;width:100%;border:0;padding:0;background:transparent;color:#c7c8d1;font-size:9px;outline:0}.range{width:100%;height:4px;border-radius:99px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:linear-gradient(90deg,var(--accent),#413b56);accent-color:var(--accent);touch-action:pan-y}.range:disabled{opacity:.52}.range::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:15px;height:15px;border-radius:50%;background:#fff;border:3px solid var(--accent);box-shadow:0 2px 9px #00000073;cursor:pointer}.range-control{display:grid;grid-template-columns:32px minmax(0,1fr) 32px 48px;gap:7px;align-items:center}.range-control button{min-width:0;height:30px;border:1px solid var(--border);border-radius:8px;background:var(--panel-3);color:#d5d2e6;font-size:10px;font-weight:800;cursor:pointer}.range-control button.is-active{color:#fff;border-color:#8569ff7a;background:var(--accent-soft)}.toggle-row{min-height:53px;margin-bottom:8px;border:1px solid var(--border);border-radius:11px;background:#ffffff05;padding:9px 10px;display:grid;grid-template-columns:1fr auto;align-items:center;cursor:pointer;position:relative}.toggle-row>span:first-child{display:flex;flex-direction:column;gap:2px}.toggle-row strong{font-size:10px}.toggle-row small{color:var(--muted);font-size:9px}.toggle-row input{position:absolute;opacity:0}.toggle-ui{width:34px;height:19px;border-radius:99px;padding:2px;background:#333543;transition:background .15s ease}.toggle-ui:after{content:"";display:block;width:15px;height:15px;border-radius:50%;background:#fff;transition:transform .15s ease}.toggle-row input:checked+.toggle-ui{background:var(--accent)}.toggle-row input:checked+.toggle-ui:after{transform:translate(15px)}.timing-summary,.sync-card{margin-top:19px;border-radius:13px;padding:13px;background:linear-gradient(145deg,#8569ff21,#8569ff09);border:1px solid rgba(133,105,255,.2);display:flex;align-items:center;gap:11px}.timing-summary>svg{color:#a993ff}.timing-summary>div{display:flex;flex-direction:column;gap:2px}.timing-summary strong{font-size:16px;font-variant-numeric:tabular-nums}.audio-upload{min-height:66px;margin:13px 0;padding:11px 12px;border:1px dashed var(--border-strong);border-radius:12px;display:flex;align-items:center;justify-content:space-between;color:#b7b9c6}.audio-upload>div{display:flex;align-items:center;gap:11px}.audio-upload span{display:flex;flex-direction:column;gap:2px}.audio-upload strong{font-size:10px}.audio-upload small{color:var(--muted);font-size:9px}.sync-card{margin-top:14px;align-items:flex-start}.sync-card__icon{width:29px;height:29px;flex:0 0 auto;border-radius:9px;display:grid;place-items:center;color:#fff;background:var(--success)}.sync-card>div:last-child{display:flex;flex-direction:column;gap:3px}.sync-card strong{font-size:10px}.sync-card span{color:var(--muted);font-size:9px;line-height:1.4}.tts-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 10px}.tts-actions .button{min-width:0;padding-inline:8px;font-size:9px}.tts-status{margin-bottom:18px;padding:11px 12px;border:1px solid rgba(49,202,145,.22);border-radius:11px;display:flex;flex-direction:column;gap:3px;background:#31ca910e}.tts-status strong{color:#8ce5c2;font-size:10px}.tts-status span{color:var(--muted);font-size:9px;line-height:1.4}.voice-gender-filter{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:15px}.voice-search{min-height:39px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--panel-3)}.voice-search:focus-within{border-color:#8569ff8f;background:#1d1f2b}.voice-search input{min-width:0;flex:1;border:0;outline:0;color:var(--text);background:transparent;font-size:11px}.voice-summary{min-height:54px;margin:-2px 0 15px;padding:8px 9px 8px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid var(--border);border-radius:8px;background:#ffffff06}.voice-summary>div{min-width:0;display:flex;flex-direction:column;gap:3px}.voice-summary strong,.voice-summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voice-summary strong{font-size:10px}.voice-summary span{color:var(--muted);font-size:9px}.voice-summary .button{min-height:34px;flex:0 0 auto}.inspector-resize-handle{min-height:18px;border:0;border-bottom:1px solid var(--border);border-radius:22px 22px 0 0;align-items:center;justify-content:center;color:#77798a;background:#ffffff05;touch-action:none;cursor:ns-resize}.inspector-mobile-actions{display:flex;align-items:center;gap:3px}.icon-button{width:34px;height:34px;padding:0;border:1px solid transparent;border-radius:9px;background:transparent;color:#a8aab6;display:grid;place-items:center;cursor:pointer}.icon-button:hover:not(:disabled){color:#fff;background:#ffffff0e;border-color:var(--border)}.icon-button--soft{background:var(--panel-3);border-color:var(--border)}.button{min-height:35px;padding:0 13px;border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#fff;font-size:10px;font-weight:700;text-decoration:none;cursor:pointer}.button--ghost{background:#ffffff0a;border-color:var(--border)}.button--ghost:hover{background:#ffffff13}.button--primary{background:linear-gradient(135deg,#7959f2,#9c70ef);box-shadow:0 8px 24px #674adb3d}.button--primary:hover{filter:brightness(1.08)}.button--danger{border-color:#ff5c707a;color:#fff;background:linear-gradient(135deg,#e83f60,#b91f3f);box-shadow:0 10px 25px #e83f6033}.button--full{width:100%}.spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.export-toast{position:fixed;z-index:100;right:22px;bottom:20px;width:min(470px,calc(100vw - 32px));min-height:70px;padding:12px;border-radius:15px;background:#191b26f5;border:1px solid var(--border-strong);box-shadow:0 24px 80px #00000080;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:11px}.export-toast__icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--accent-soft);color:#b8a8ff}.export-toast--complete .export-toast__icon{color:#fff;background:var(--success)}.export-toast--error .export-toast__icon{color:#fff;background:#db5b67}.export-toast>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.export-toast strong{font-size:11px}.export-toast span{color:var(--muted);font-size:9px;line-height:1.35}.mobile-only{display:none!important}.mobile-scrim{display:none}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 20%,rgba(133,105,255,.12),transparent 30%),var(--bg)}.auth-card{width:min(390px,100%);padding:24px;border:1px solid var(--border-strong);border-radius:16px;background:#101118f0;box-shadow:0 24px 80px #0000007a;display:flex;flex-direction:column;gap:14px}.auth-card h1{margin:0;font-family:Manrope,sans-serif;font-size:28px}.auth-card p{margin:3px 0 0;color:var(--muted);font-size:12px}.auth-card label{display:flex;flex-direction:column;gap:7px;color:#c8cad5;font-size:11px;font-weight:700}.auth-card input,.admin-form input,.admin-form select{width:100%;min-height:42px;border:1px solid var(--border);border-radius:10px;background:var(--panel-3);color:var(--text);padding:0 12px;outline:0}.auth-error{border:1px solid rgba(219,91,103,.34);border-radius:10px;padding:10px 12px;color:#ffb8c0;background:#db5b671a;font-size:11px;line-height:1.4}.dashboard-shell{min-height:100vh;overflow-y:auto;background:var(--bg)}.dashboard-topbar{min-height:70px;padding:0 22px;border-bottom:1px solid var(--border);background:#090a10e6;display:flex;align-items:center;justify-content:space-between}.dashboard-main{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:26px 0 42px;display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.dashboard-section{border:1px solid var(--border);border-radius:14px;background:#101118e0;padding:18px}.dashboard-section--compact p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.dashboard-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.dashboard-section__head h2{margin:3px 0 0;font-family:Manrope,sans-serif;font-size:20px}.section-label-inline{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:1.6px}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.project-card,.user-row{min-width:0;border:1px solid var(--border);border-radius:12px;background:#ffffff06;padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px}.project-card>div:first-child,.user-row>div:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}.project-card strong,.user-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.project-card span,.user-row span{color:var(--muted);font-size:10px}.project-card__actions,.user-row__actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px;flex:0 0 auto}@media (min-width: 961px){.dashboard-shell{height:100vh;overflow-x:hidden;overflow-y:auto}.project-card{min-height:146px;align-items:stretch;flex-direction:column}.project-card__actions{width:100%;margin-top:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px 34px;align-items:stretch}.project-card__actions>.button{width:100%;min-width:0;padding-inline:9px;white-space:nowrap}.project-card__actions>.icon-button{width:34px;height:35px}.project-card__actions>[aria-label="Use project as default template"]{grid-column:1 / -1;grid-row:2}.project-card__actions>[aria-label="Delete project"]{grid-column:4;grid-row:1}}.template-admin-actions{margin-top:14px;display:flex;align-items:center;justify-content:space-between;gap:12px}.template-admin-actions span{min-width:0;color:var(--muted);font-size:11px;line-height:1.45}.template-admin-actions strong{color:var(--text)}.confirm-backdrop{position:fixed;z-index:120;top:0;right:0;bottom:0;left:0;padding:18px;display:grid;place-items:center;background:#030409ad;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.confirm-dialog{width:min(430px,100%);border:1px solid var(--border-strong);border-radius:16px;background:#12131c;box-shadow:0 30px 110px #0000008c;padding:18px;display:flex;flex-direction:column;gap:14px}.confirm-dialog--wide{width:min(520px,100%)}.confirm-dialog h2{margin:5px 0 0;font-family:Manrope,sans-serif;font-size:21px}.confirm-dialog p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.confirm-dialog label{display:flex;flex-direction:column;gap:7px;color:#c9c5d8;font-size:11px;font-weight:700}.confirm-dialog input{width:100%}.export-dialog{max-height:calc(100vh - 32px);overflow-y:auto}.export-dialog__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.export-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:9px}.export-card,.export-progress-card,.export-history{border:1px solid var(--border);border-radius:10px;background:#ffffff06}.export-card{min-height:70px;padding:11px;display:flex;flex-direction:column;justify-content:space-between;gap:9px}.export-card span,.export-progress-card small,.export-history__item small,.export-history__empty{color:var(--muted);font-size:10px}.export-card strong,.export-history strong{font-size:12px}.export-card select{width:100%;border:1px solid var(--border);border-radius:8px;background:var(--panel-3);color:var(--text);padding:8px 9px;font-size:11px}.export-card select option{color:#f5f3fb;background:#151620}.export-progress-card{padding:12px;display:flex;flex-direction:column;gap:9px}.export-progress-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.export-progress-card__top>div{display:flex;flex-direction:column;gap:3px}.export-progress-card__top strong{font-family:Manrope,sans-serif;font-size:22px}.export-progress-track{height:9px;overflow:hidden;border-radius:999px;background:#252735}.export-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--accent),#31ca91);transition:width .25s ease}.export-progress-card p{margin:0;color:#c8c6d4;font-size:11px;line-height:1.45}.export-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.export-check{min-width:0;min-height:56px;padding:9px;border:1px solid var(--border);border-radius:9px;display:grid;grid-template-columns:auto 1fr;gap:8px;background:#ffffff05}.export-check>span{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:#ffffff0f}.export-check--ok>span{color:#fff;background:#31ca9138}.export-check--warning>span{color:#ffd27d;background:#ffb34729}.export-check--error>span{color:#ff9aa5;background:#db5b6729}.export-check div{min-width:0;display:flex;flex-direction:column;gap:3px}.export-check strong{font-size:11px}.export-check small{color:var(--muted);font-size:9px;line-height:1.35}.export-history{padding:11px;display:flex;flex-direction:column;gap:9px}.export-history__head,.export-history__item{display:flex;align-items:center;justify-content:space-between;gap:10px}.export-history__head .button,.export-history__item .button{min-height:30px;padding:0 9px}.export-history__list{display:flex;flex-direction:column;gap:7px}.export-history__item{min-height:44px;padding:8px;border-radius:8px;background:#ffffff06}.export-history__item>div{min-width:0;display:flex;flex-direction:column;gap:3px}.export-history__item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.export-history__empty{margin:0}.confirm-actions{display:flex;justify-content:flex-end;gap:9px}.admin-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(150px,.7fr) 120px auto;gap:9px;margin-bottom:14px}.admin-form select option{color:#f5f3fb;background:#151620}.user-list{display:flex;flex-direction:column;gap:9px}@media (max-width: 1180px){.workspace{grid-template-columns:242px minmax(380px,1fr) 300px}.player-area{padding-left:20px;padding-right:20px}}@media (max-width: 960px){body{overflow:auto}.studio-shell{min-height:100dvh;height:auto;overflow:visible}.topbar{position:sticky;top:0}.workspace{min-height:calc(100dvh - 70px);display:block}.stage{min-height:calc(100dvh - 70px)}.left-panel{position:fixed;z-index:60;top:0;left:0;bottom:0;width:min(350px,88vw);padding-top:10px;transform:none;box-shadow:30px 0 100px #0000008c}.left-panel:not(.is-open){left:-100vw}.left-panel.is-open{left:0;transform:none}.panel-mobile-head{min-height:44px;margin-bottom:8px;display:flex!important;align-items:center;justify-content:space-between}.mobile-scrim{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:block!important;border:0;background:#00000094;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.inspector:not(.is-open){display:none}.inspector.is-open{position:fixed;z-index:60;left:0;right:0;bottom:0;height:var(--mobile-inspector-height, 50dvh);min-height:28dvh;max-height:92dvh;display:flex;border-left:0;border-top:1px solid var(--border-strong);border-radius:22px 22px 0 0;box-shadow:0 -30px 100px #0009;transform:none}.inspector-mobile-head{flex:0 0 48px;padding:7px 12px 5px 17px;margin:0;border-bottom:1px solid var(--border)}.inspector.is-open .inspector-tabs{flex:0 0 53px}.inspector.is-open .preview-mode-bar{flex:0 0 39px}.mobile-only{display:inline-flex!important}.mobile-edit-button{position:absolute;right:18px;bottom:80px;z-index:15;min-height:40px;padding:0 15px;border:1px solid rgba(255,255,255,.16);border-radius:12px;color:#fff;background:#161721eb;box-shadow:0 14px 35px #00000047;align-items:center;gap:8px;font-size:10px;font-weight:700}.dashboard-main{width:min(720px,calc(100% - 24px));padding-top:16px}.admin-form{grid-template-columns:1fr}.project-card,.user-row{align-items:stretch;flex-direction:column}.project-card__actions,.user-row__actions{justify-content:flex-end}.template-admin-actions{align-items:stretch;flex-direction:column}.confirm-actions{flex-direction:column-reverse}.confirm-actions .button{width:100%}.export-dialog{width:min(620px,100%)}.export-grid,.export-checklist{grid-template-columns:1fr}.export-history__item{align-items:stretch;flex-direction:column}}@media (max-width: 640px){html,body,#root,.studio-shell,.workspace,.stage{width:100%;max-width:100vw;overflow-x:hidden}.topbar{height:62px;flex-basis:62px;padding:0 11px}.app-mark{width:34px;height:34px;border-radius:10px}.brand-copy,.project-divider,.project-name,.hide-small{display:none!important}.topbar__brand,.topbar__actions{gap:5px}.button{min-height:36px;padding:0 11px}.stage{min-height:calc(100dvh - 62px)}.stage__head{min-height:51px;padding:8px 13px}.stage__head strong{font-size:10px}.stage-pills span:nth-child(2){display:none}.player-area{width:100%;min-height:0;padding:12px 14px 9px}.player-phone{width:min(calc(100vw - 28px),350px);max-width:calc(100vw - 28px);height:auto;max-height:calc(100dvh - 212px)}.studio-shell:has(.inspector.is-open) .player-phone{width:min(max(92px,calc((100dvh - var(--mobile-inspector-height, 50dvh) - 126px) * .5625)),calc(100vw - 28px),350px);max-height:max(120px,calc(100dvh - var(--mobile-inspector-height, 50dvh) - 126px))}.studio-shell:has(.inspector.is-open) .player-area{align-items:flex-start;padding-top:8px}.transport{width:100%;max-width:100vw;overflow:hidden;height:60px;flex-basis:60px;padding:0 11px;gap:4px}.transport>.icon-button{width:30px}.play-button{width:36px;height:36px}.timeline-strip{min-width:0;margin-left:4px;gap:2px}.transport__duration{display:none}.mobile-edit-button{right:13px;bottom:70px}.export-toast{left:12px;right:12px;bottom:12px;width:auto;grid-template-columns:auto 1fr auto}.export-toast .button{grid-column:1 / -1}.confirm-backdrop{padding:0;align-items:end}.export-dialog{width:100%;max-height:92dvh;border-radius:18px 18px 0 0}.export-dialog__head{gap:8px}.export-progress-card__top{align-items:flex-start;flex-direction:column}}@media (max-height: 720px) and (min-width: 961px){.topbar{height:62px;flex-basis:62px}.workspace{grid-template-columns:260px minmax(380px,1fr) 320px}.stage__head{min-height:48px}.transport{height:58px;flex-basis:58px}.player-phone{max-height:560px}}@media (max-width: 960px){.studio-shell .left-panel.is-open{left:0;transform:none}.studio-shell .inspector.is-open{display:flex}}.automation-panel{gap:18px}.shaupload-export{display:grid;gap:10px}.shaupload-export label{display:grid;gap:6px}.automation-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--panel-2)}.automation-form label{display:grid;gap:7px;font-size:13px;font-weight:700}.automation-form__prompt,.automation-check,.automation-form__actions{grid-column:1 / -1}.automation-check{display:flex!important;align-items:center;grid-template-columns:auto 1fr}.automation-check input{width:auto}.automation-form__actions,.automation-card,.automation-job{display:flex;align-items:center;justify-content:space-between;gap:12px}.automation-message{padding:10px 12px;border-radius:10px;background:#2b6cb01a;color:var(--text)}.automation-list,.automation-history{display:grid;gap:10px}.automation-card,.automation-job{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:14px;background:#ffffff05}.automation-card>div:first-child,.automation-job>div:first-child{min-width:0;display:grid;gap:4px}.automation-card strong,.automation-job strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.automation-card span,.automation-card small,.automation-job span,.automation-job small{color:var(--muted);min-width:0;overflow-wrap:anywhere;line-height:1.35}.automation-job a{width:fit-content;max-width:100%;overflow-wrap:anywhere}.automation-card .project-card__actions,.automation-job .project-card__actions{min-width:260px;display:grid;grid-template-columns:minmax(120px,1fr) minmax(96px,.8fr) auto;gap:8px}.automation-job .project-card__actions{min-width:160px;grid-template-columns:repeat(2,minmax(90px,1fr))}.automation-card .project-card__actions:empty,.automation-job .project-card__actions:empty{display:none}.automation-card .button,.automation-job .button{min-width:0;padding-inline:12px}@media (max-width: 760px){.automation-form{grid-template-columns:1fr}.automation-form__prompt,.automation-check,.automation-form__actions{grid-column:auto}.automation-card,.automation-job{grid-template-columns:1fr;align-items:stretch}.automation-card strong,.automation-job strong{white-space:normal}.automation-card .project-card__actions,.automation-job .project-card__actions{min-width:0;width:100%;grid-template-columns:1fr}}
