
:root{--bg:#0b0b0b;--surface:#141414;--surface2:#1b1b1b;--surface3:#222;--line:#2b2b2b;--text:#eaeaea;--muted:#8a8a8a;--red:#ff1a1a;--accent-bg:#321415;--shadow:#0006;--radius:20px;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font:13px Inter,Arial,sans-serif;-webkit-font-smoothing:antialiased}body.light{--bg:#f4f4f5;--surface:#fff;--surface2:#f5f5f5;--surface3:#ededed;--line:#e2e2e2;--text:#171717;--muted:#727272;--accent-bg:#fff0f0;--shadow:#0001;color-scheme:light}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}button:disabled{opacity:.5;cursor:wait}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:4px}[hidden]{display:none!important}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.mark{height:30px;width:30px;flex-shrink:0}.logo{display:inline-flex;align-items:center;gap:9px;font-size:21px;letter-spacing:-1px;font-weight:900;white-space:nowrap}.logo>span>span{font-weight:400}.logo b{color:var(--red)}.red{color:var(--red)}.muted{color:var(--muted)}.eyebrow{font-size:12px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);line-height:1.8}.pill{border:1px solid var(--line);border-radius:99px;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;font-size:12px;letter-spacing:.6px;color:var(--muted)}.dot{height:5px;width:5px;display:inline-block;background:var(--red);border-radius:50%;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 18px;border-radius:12px;background:var(--surface3);font-size:12px;font-weight:600;transition:transform .15s,background .15s;white-space:nowrap}.button:hover{transform:translateY(-1px);background:var(--line)}.button.primary{background:var(--red);color:white}.button.primary:hover{background:#dd1616}.button.outline{background:transparent;border:1px solid var(--line)}.button.small{padding:9px 12px;font-size:12px;border-radius:10px}.button .icon{width:16px;height:16px}.full{width:100%}.icon-button{height:35px;width:35px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.icon-button .icon{width:17px;height:17px}.icon-button:hover{background:var(--surface3)}.text-button{font-size:12px;color:var(--muted);display:inline-flex;gap:7px;align-items:center}.text-button:hover{color:var(--red)}.text-button .icon{width:15px;height:15px}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;line-height:1.15;letter-spacing:-1.3px;margin-bottom:10px}h2{font-size:20px;letter-spacing:-.65px;margin-bottom:10px}h3{font-size:15px;letter-spacing:-.3px;margin-bottom:8px}p{line-height:1.8;color:var(--muted)}input,textarea,select{background:var(--surface2);border:1px solid var(--line);color:var(--text);border-radius:11px;padding:12px;font-size:12px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#a23535}textarea{resize:vertical;line-height:1.7;min-height:125px}label{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-bottom:9px}label input,label select,label textarea{margin-top:9px}input[type=checkbox]{width:15px;margin:0;accent-color:var(--red)}input[type=range]{padding:0;accent-color:var(--red);height:4px;border:0;cursor:pointer}input[type=color]{padding:4px;height:38px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field-stack{display:grid;gap:13px}.check-label{display:flex;align-items:center;gap:9px;font-size:12px;margin:0}.form-note{font-size:12px;line-height:1.7;color:var(--muted);margin:14px 0 0}.avatar{border-radius:50%;width:35px;height:35px;background:var(--surface3);border:1px solid var(--line);display:grid;place-items:center;font-size:12px;font-weight:700}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.06fr 1fr}.auth-art{position:relative;background:#090909;overflow:hidden;min-height:680px;color:white;padding:42px}.auth-art .logo{position:relative;z-index:2}.auth-art>img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover;object-position:54%}.auth-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#080808bb,transparent 40%,#080808f5)}.auth-art-copy{position:absolute;bottom:55px;left:44px;right:35px;z-index:2}.auth-art-copy h2{font-size:52px;font-weight:800;letter-spacing:-2.7px;line-height:1.05;margin:17px 0}.auth-art-copy p{font-size:12px;color:#a8a8a8;max-width:330px}.auth-art-copy .eyebrow{color:#aaa}.auth-main{display:flex;align-items:center;justify-content:center;padding:50px;position:relative}.auth-back{position:absolute;top:36px;right:36px;font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.auth-back .icon{width:15px}.auth-card{width:100%;max-width:360px}.auth-card>.logo{margin-bottom:36px}.auth-card h1{font-size:27px;letter-spacing:-1px}.auth-card>p{font-size:12px;margin-bottom:27px}.auth-options{display:flex;justify-content:space-between;align-items:center;margin:7px 0 22px}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:22px 0}.auth-divider:before,.auth-divider:after{content:'';height:1px;flex:1;background:var(--line)}.auth-footer{font-size:12px;color:var(--muted);text-align:center;margin-top:24px}.auth-footer a{color:var(--text);font-weight:600;margin-left:5px}.shell{display:grid;grid-template-columns:223px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:29px 16px;background:var(--bg);z-index:25}.sidebar>.logo{font-size:19px;margin:0 6px 34px}.sidebar .mark{width:28px;height:28px}.nav-label{font-size:12px;letter-spacing:1.4px;color:#646464;margin:0 12px 12px}.side-nav{display:flex;flex-direction:column;gap:5px}.side-nav a{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:12px;font-size:12px;color:var(--muted)}.side-nav a:hover{background:var(--surface2);color:var(--text)}.side-nav a.active{background:var(--accent-bg);color:var(--red)}.side-nav .icon{height:18px;width:18px}.nav-badge{font-size:12px;margin-left:auto;color:var(--muted);background:var(--surface3);padding:3px 5px;border-radius:5px}.nav-divider{border-top:1px solid var(--line);margin:20px 12px}.credit-card{margin-top:auto;padding:17px 14px;background:var(--surface);border:1px solid var(--line);border-radius:16px}.credit-card>div{display:flex;justify-content:space-between;align-items:center}.credit-card small{font-size:12px;color:var(--muted)}.credit-card strong{font-size:17px;font-weight:600}.credit-track{height:3px;border-radius:5px;background:var(--line);margin:12px 0}.credit-track span{display:block;height:100%;background:var(--red);border-radius:5px}.credit-card a{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.side-profile{display:flex;align-items:center;gap:10px;margin-top:19px;padding:0 7px}.side-profile strong{display:block;font-size:12px;max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-profile small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.main-area{min-width:0}.topbar{display:flex;align-items:center;gap:16px;height:77px;border-bottom:1px solid var(--line);padding:0 35px;background:var(--bg);position:sticky;top:0;z-index:20}.topbar-label{font-size:12px;color:var(--muted)}.topbar-right{display:flex;align-items:center;gap:11px;margin-left:auto}.notification-button{position:relative}.notification-button:after{content:'';height:5px;width:5px;background:var(--red);border:2px solid var(--bg);border-radius:50%;position:absolute;right:6px;top:5px}.mobile-menu{display:none}.content{padding:37px 35px 45px;max-width:1400px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading p{font-size:12px;margin:0}.page-heading .eyebrow{margin-bottom:10px}.heading-actions{display:flex;gap:8px;align-items:center}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.panel-head h2,.panel-head h3{margin:0}.banner{display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden;border:1px solid var(--line);background:#111;border-radius:24px;min-height:255px;color:#eaeaea;margin-bottom:24px}.banner-copy{padding:35px;position:relative;z-index:1}.banner-copy h2{font-size:34px;letter-spacing:-1.3px;line-height:1.12;margin:14px 0 15px}.banner-copy p{font-size:12px;color:#939393;margin-bottom:20px}.banner-image{position:relative}.banner-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.banner-image:after{position:absolute;inset:0;content:'';background:linear-gradient(90deg,#111,transparent 35%)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:27px}.stat-card{border-radius:16px;background:var(--surface);border:1px solid var(--line);padding:19px}.stat-card label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:15px}.stat-card .icon{width:16px;height:16px;color:var(--muted)}.stat-card strong{display:block;font-size:27px;letter-spacing:-1px;font-weight:600}.stat-card small{display:block;font-size:12px;color:var(--muted);margin-top:8px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:29px 0 17px}.section-title h2{font-size:17px;margin:0}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.quick-card{border:1px solid var(--line);border-radius:17px;padding:21px;background:var(--surface);transition:transform .2s,border-color .2s}.quick-card:hover{transform:translateY(-3px);border-color:#6e2929}.quick-card>.icon{color:var(--red);width:24px;height:24px;margin-bottom:21px}.quick-card h3{font-size:12px;margin-bottom:8px}.quick-card p{font-size:12px;margin:0}.media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.media-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);min-width:0}.media-thumb{position:relative;display:block;width:100%;padding:0;height:175px;overflow:hidden;background:#080808}.media-thumb>img{height:100%;width:100%;object-fit:cover;transition:transform .35s}.media-thumb:hover>img{transform:scale(1.05)}.media-badge{position:absolute;top:11px;left:11px;border-radius:8px;font-size:12px;background:#0009;color:#eee;backdrop-filter:blur(4px);padding:6px 8px}.media-play{position:absolute;inset:0;display:grid;place-items:center;opacity:0;background:#0002;transition:opacity .2s}.media-play .icon{color:white;background:#0008;padding:8px;box-sizing:content-box;border:1px solid #ffffff55;border-radius:50%;width:22px;height:22px}.media-thumb:hover .media-play{opacity:1}.media-info{padding:15px}.media-info h3{font-size:12px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-info>p{font-size:12px;margin:7px 0 13px}.media-actions{border-top:1px solid var(--line);padding-top:12px;display:flex;gap:7px;align-items:center}.media-actions .icon-button{width:29px;height:29px;border-radius:9px}.media-actions .icon{width:13px;height:13px}.media-actions .text-button{font-size:12px}.media-actions .favorite{margin-left:auto}.favorite.selected{color:var(--red)}.search-row{display:flex;gap:12px;align-items:center;margin-bottom:20px;flex-wrap:wrap}.search-box{position:relative;flex:1;min-width:180px}.search-box .icon{position:absolute;left:13px;top:12px;width:16px;height:16px;color:var(--muted)}.search-box input{padding-left:38px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{border:1px solid var(--line);padding:9px 12px;border-radius:11px;font-size:12px;color:var(--muted);background:var(--surface)}.filter.active{color:var(--red);border-color:#652525;background:var(--accent-bg)}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.catalog-card{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}.catalog-card .catalog-art{height:155px;position:relative;overflow:hidden;background:#111}.catalog-art img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.catalog-card:hover img{transform:scale(1.05)}.catalog-art>.icon{position:absolute;bottom:16px;left:18px;width:30px;height:30px;color:white;filter:drop-shadow(0 0 8px #000)}.catalog-card>div:last-child{padding:21px}.catalog-card h3{font-size:15px}.catalog-card p{font-size:12px;min-height:36px;margin-bottom:19px}.catalog-card .button{padding:10px 14px;font-size:12px}.generator-layout{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(330px,1.15fr);gap:20px;align-items:start}.tabs{display:flex;background:var(--surface2);padding:4px;border-radius:12px;gap:4px;margin-bottom:23px}.tabs button{padding:10px;border-radius:9px;flex:1;font-size:12px;color:var(--muted)}.tabs button.active{background:var(--surface3);color:var(--text);box-shadow:0 2px 8px var(--shadow)}.upload-area{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;border:1px dashed #494949;border-radius:15px;min-height:140px;padding:22px;background:var(--surface2);cursor:pointer}.upload-area:hover,.upload-area.dragging{border-color:var(--red);background:var(--accent-bg)}.upload-area .icon{width:27px;height:27px;color:var(--muted)}.upload-area strong{font-size:12px;font-weight:500;word-break:break-word}.upload-area span{font-size:12px;color:var(--muted)}.upload-area img{max-height:130px;max-width:100%;border-radius:10px}.advanced{border-top:1px solid var(--line);margin:19px 0;padding-top:18px}.advanced summary{font-size:12px;color:var(--muted);cursor:pointer;margin-bottom:15px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.switch-row:last-child{border-bottom:0}.switch-row strong{display:block;font-size:12px;font-weight:500}.switch-row small{display:block;color:var(--muted);font-size:12px;margin-top:6px;line-height:1.6}.switch{position:relative;height:23px;width:40px;flex-shrink:0}.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:2}.switch span{position:absolute;inset:0;background:var(--line);border-radius:50px;transition:background .2s}.switch span:before{content:'';position:absolute;height:17px;width:17px;top:3px;left:3px;border-radius:50%;background:#ddd;transition:transform .2s}.switch input:checked+span{background:var(--red)}.switch input:checked+span:before{transform:translateX(17px)}.switch:has(input:focus-visible){outline:2px solid var(--red);outline-offset:4px;border-radius:50px}.preview-panel{position:sticky;top:103px}.preview-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:17px}.preview-top>span{font-size:12px;letter-spacing:1px;color:var(--muted)}.preview-stage{position:relative;aspect-ratio:16/9;max-height:410px;border-radius:15px;background:#070707;overflow:hidden;margin:auto;width:100%}.preview-stage>img,.preview-stage>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.preview-stage>img{transform:scale(1.02)}.preview-stage.playing>img{animation:scene 8s ease-in-out infinite}.preview-stage .shade{position:absolute;inset:0;background:linear-gradient(0deg,#0009,transparent 55%);pointer-events:none}.preview-brand{position:absolute;left:20px;bottom:18px;display:flex;align-items:center;gap:9px;color:#fff;font-size:12px;letter-spacing:1.4px}.preview-brand .mark{width:23px;height:23px}.preview-title{position:absolute;left:22px;top:20px;font-size:17px;font-weight:800;letter-spacing:-.5px;color:#fff;max-width:80%;word-break:break-word;pointer-events:none}.play-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#0007;border:1px solid #ffffff55;border-radius:50%;display:grid;place-items:center;width:48px;height:48px;color:#fff;backdrop-filter:blur(5px)}.play-center .icon{fill:white;width:20px;height:20px}.playing .play-center{display:none}.preview-controls{display:flex;align-items:center;gap:11px;margin:17px 0}.preview-controls .icon-button{width:30px;height:30px;border:0;background:none}.preview-controls span{font-size:12px;color:var(--muted)}.preview-controls input{flex:1;min-width:15px}.preview-description{font-size:12px;line-height:1.8;border-top:1px solid var(--line);padding-top:15px;color:var(--muted)}.preview-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.processing{position:absolute;inset:0;background:#090909ed;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:white}.processing strong{font-size:12px}.progress-ring{position:relative;height:80px;width:80px;border:3px solid #333;border-radius:50%;display:grid;place-items:center;font-size:18px;color:var(--red)}.progress-ring:after{position:absolute;content:'';inset:-3px;border:3px solid transparent;border-top-color:var(--red);border-radius:50%;animation:spin 1s linear infinite}.progress-bar{height:4px;border-radius:4px;background:var(--line);overflow:hidden}.progress-bar>span{height:100%;display:block;width:0;background:var(--red);transition:width .15s}.empty-state{padding:60px 20px;text-align:center;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}.empty-state>.icon{height:32px;width:32px;margin-bottom:15px}.empty-state h3{color:var(--text);font-size:15px}.empty-state p{font-size:12px}.split-panels{display:grid;grid-template-columns:1fr 1fr;gap:20px}.timeline-panel{margin-top:20px}.timeline-head{display:flex;justify-content:space-between;margin-bottom:18px}.timeline-ruler{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin:0 0 13px 67px}.timeline-row{display:flex;gap:14px;align-items:center;margin-bottom:9px}.timeline-row>span{width:53px;flex-shrink:0;color:var(--muted);font-size:12px}.timeline-track{height:35px;flex:1;display:flex;gap:4px;position:relative}.timeline-clip{display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px solid #aa3737;border-radius:8px;background:#442020;width:100%;color:#ff9999;font-size:12px}.timeline-clip img{height:100%;width:18%;object-fit:cover;opacity:.6}.timeline-track.audio .timeline-clip{background:#20312b;border-color:#3c6651;color:#94bfa7;background-image:repeating-linear-gradient(90deg,transparent 0,transparent 4px,#48735a77 4px,#48735a77 6px)}.timeline-track.text .timeline-clip{background:#2a243d;border-color:#574574;color:#bbacd3}.timeline-playhead{position:absolute;top:-8px;bottom:-8px;width:1px;background:var(--red);left:0;z-index:2}.editor-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.editor-layout .preview-panel{position:static}.adjustments label{margin-bottom:20px}.adjustments label>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.adjustments input[type=range]{margin-top:0}.settings-layout{display:grid;grid-template-columns:210px 1fr;gap:20px}.settings-nav{align-self:start;padding:10px;display:flex;flex-direction:column;gap:5px}.settings-nav a{padding:13px;border-radius:11px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:11px}.settings-nav a.active{background:var(--accent-bg);color:var(--red)}.settings-nav .icon{width:17px;height:17px}.profile-hero{display:flex;gap:17px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.profile-hero .avatar{height:65px;width:65px;font-size:20px;border-radius:20px;background:var(--accent-bg);color:var(--red)}.profile-hero h3{font-size:17px;margin-bottom:7px}.profile-hero p{font-size:12px;margin:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.plan-card{position:relative;padding:29px;border-radius:22px;border:1px solid var(--line);background:var(--surface)}.plan-card.recommended{border-color:var(--red)}.plan-card .pill{margin-bottom:22px}.plan-card h3{font-size:19px}.plan-price{margin:23px 0;color:var(--text);font-size:32px;font-weight:700;letter-spacing:-1.1px}.plan-price small{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted)}.plan-card ul{list-style:none;padding:0;margin:25px 0;display:grid;gap:15px}.plan-card li{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.plan-card li .icon{width:15px;height:15px;color:var(--red)}.plan-card .button{width:100%}.theme-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:23px 0}.theme-option{border:2px solid var(--line);border-radius:17px;overflow:hidden;text-align:left;padding:0;background:var(--surface)}.theme-option.active{border-color:var(--red)}.theme-preview{height:135px;padding:15px;background:#0b0b0b;color:#eee;display:flex;gap:10px}.theme-preview.light{background:#f1f1f1;color:#181818}.theme-preview>span{width:35px;height:100%;border-radius:7px;background:#ffffff12}.theme-preview.light>span{background:#d7d7d7}.theme-preview>div{flex:1;display:grid;gap:8px;align-content:start}.theme-preview i{height:13px;width:70%;background:var(--red);border-radius:5px}.theme-preview b{height:49px;display:block;border-radius:7px;background:#ffffff15}.theme-preview.light b{background:white}.theme-option>span{display:flex;justify-content:space-between;padding:13px 16px;font-size:12px}.theme-option .icon{width:15px;height:15px;color:var(--red)}.notification-list{display:grid;gap:10px}.notice-item{display:flex;gap:16px;border:1px solid var(--line);border-radius:16px;padding:20px;background:var(--surface)}.notice-item.unread{border-color:#5d2727}.notice-icon{background:var(--accent-bg);color:var(--red);height:37px;width:37px;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.notice-icon .icon{width:17px;height:17px}.notice-item h3{font-size:12px;margin-bottom:5px}.notice-item p{font-size:12px;margin:0 0 9px}.notice-item small{font-size:12px;color:var(--muted)}.notice-item>.icon-button{margin-left:auto;flex-shrink:0}.community-banner{border-radius:23px;overflow:hidden;position:relative;min-height:310px;background:#111;color:white;padding:36px;display:flex;align-items:center;margin-bottom:23px}.community-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}.community-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111 10%,transparent)}.community-banner>div{position:relative;z-index:1;max-width:440px}.community-banner h2{font-size:36px;letter-spacing:-1.5px;line-height:1.15;margin:16px 0}.community-banner p{font-size:12px;color:#bbb}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.info-grid .panel>.icon{color:var(--red);margin-bottom:20px}.info-grid h3{font-size:13px}.info-grid p{font-size:12px;margin-bottom:0}.publish-grid{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 25px}.publish-item{height:53px;width:53px;border:1px solid var(--line);border-radius:16px;display:grid;place-items:center;font-weight:700;font-size:15px;background:var(--surface2)}.publish-item.active{border-color:var(--red);color:var(--red)}.bottom-note{font-size:12px;color:var(--muted);line-height:1.8;margin:30px 0 0}dialog{border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);max-width:620px;width:92vw;max-height:90vh;padding:32px;overflow:auto;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#000a;backdrop-filter:blur(7px)}.modal-close{position:absolute;right:14px;top:12px;font-size:25px;color:var(--muted);width:28px;height:28px;border-radius:9px}.modal-close:hover{background:var(--surface3)}dialog h2{padding-right:20px;margin:5px 0 19px}dialog p{font-size:12px}dialog img{max-width:100%;border-radius:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--surface3);border:1px solid var(--line);padding:14px 20px;font-size:12px;border-radius:14px;z-index:100;width:max-content;max-width:90vw;box-shadow:0 15px 50px #0005}.selected-file{display:flex;align-items:center;gap:15px;padding:18px;border-radius:15px;background:var(--surface2);margin:20px 0}.selected-file .icon{color:var(--red)}.selected-file strong{font-size:12px;word-break:break-word}.selected-file small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.format-list{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.format-chip{border:1px solid var(--line);border-radius:9px;padding:9px 12px;font-size:12px;background:var(--surface2)}.format-chip.active{border-color:var(--red);color:var(--red)}@keyframes scene{0%,100%{transform:scale(1.02) translateX(-1%)}50%{transform:scale(1.11) translateX(1%)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.content{padding:45px 55px}.topbar{padding:0 55px}.banner{min-height:310px}.media-thumb{height:200px}}@media(max-width:1150px){.shell{grid-template-columns:190px 1fr}.sidebar{padding:25px 12px}.sidebar>.logo{font-size:16px}.sidebar .mark{height:24px;width:24px}.content{padding:30px 23px}.topbar{padding:0 23px}.quick-grid{grid-template-columns:repeat(2,1fr)}.quick-card>.icon{margin-bottom:12px}.generator-layout{grid-template-columns:1fr 1fr}.panel{padding:20px}.media-thumb{height:145px}.catalog-grid{grid-template-columns:repeat(2,1fr)}.plan-card{padding:22px}.plan-price{font-size:27px}.settings-layout{grid-template-columns:175px 1fr}.auth-art-copy h2{font-size:44px}.auth-main{padding:40px}.banner-copy{padding:29px}.banner-copy h2{font-size:29px}}@media(max-width:900px){.generator-layout,.editor-layout{grid-template-columns:1fr}.preview-panel{position:static}.preview-stage{max-height:430px}.media-grid{grid-template-columns:repeat(2,1fr)}.plan-grid{grid-template-columns:1fr}.plan-card{padding:27px}.plan-card ul{grid-template-columns:1fr 1fr}.settings-layout{grid-template-columns:1fr}.settings-nav{flex-direction:row;flex-wrap:wrap}.settings-nav a{padding:10px;font-size:12px;flex:1;justify-content:center}.settings-nav .icon{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.banner{grid-template-columns:1.1fr .9fr}.info-grid{grid-template-columns:1fr}.split-panels{grid-template-columns:1fr}.auth-layout{grid-template-columns:.85fr 1fr}.auth-art{padding:28px;min-height:650px}.auth-art-copy{left:28px;right:25px}.auth-art-copy h2{font-size:35px}.auth-art .logo{font-size:18px}}@media(max-width:680px){body{font-size:12px}.auth-layout{display:block;min-height:100vh}.auth-art{display:none}.auth-main{min-height:100vh;padding:75px 26px 45px}.auth-back{top:26px;right:26px}.auth-card{max-width:380px}.auth-card>.logo{margin-bottom:29px}.auth-card h1{font-size:29px}.auth-card p{font-size:12px}.auth-card input{font-size:12px;padding:14px}.auth-card label{font-size:12px}.auth-card .button{padding:15px}.shell{display:block}.sidebar{position:fixed;left:-245px;width:223px;height:100dvh;transition:left .25s;box-shadow:10px 0 60px #0007;top:0;padding-top:25px}.nav-open .sidebar{left:0}.nav-open:after{content:'';position:fixed;inset:0;background:#0007;z-index:22}.topbar{height:65px;padding:0 18px;gap:10px}.mobile-menu{display:inline-grid}.topbar-label{font-size:12px}.topbar-right{gap:7px}.topbar-right .pill{padding:6px;font-size:12px}.topbar-right>.avatar{display:none}.topbar-right .icon-button{height:31px;width:31px}.content{padding:27px 18px max(27px,env(safe-area-inset-bottom))}.page-heading{display:block;margin-bottom:23px}.page-heading h1{font-size:26px;letter-spacing:-1px}.page-heading p{font-size:12px}.heading-actions{margin-top:17px}.banner{grid-template-columns:1fr;position:relative;min-height:245px}.banner-copy{padding:28px 24px;background:linear-gradient(90deg,#111f,#111a 75%,#1113)}.banner-copy h2{font-size:28px}.banner-copy p{max-width:190px;font-size:12px}.banner-image{position:absolute;inset:0 0 0 28%;opacity:.65}.banner-image:after{background:none}.banner-copy .eyebrow{font-size:12px}.stats-grid{gap:10px;margin-bottom:22px}.stat-card{padding:16px;border-radius:15px}.stat-card strong{font-size:24px}.stat-card small{font-size:12px}.quick-grid{gap:10px}.quick-card{padding:17px;border-radius:16px}.quick-card h3{font-size:12px}.quick-card p{font-size:12px}.media-grid{gap:11px}.media-thumb{height:120px}.media-info{padding:12px}.media-info h3{font-size:12px}.media-info>p{font-size:12px;line-height:1.7}.media-actions{gap:5px;flex-wrap:wrap}.media-actions .text-button{font-size:12px}.media-actions .icon-button{width:27px;height:27px}.catalog-grid{gap:11px}.catalog-art{height:125px!important}.catalog-card>div:last-child{padding:16px}.catalog-card h3{font-size:13px}.catalog-card p{font-size:12px;min-height:49px}.catalog-card .button{font-size:12px;padding:9px 10px}.panel{border-radius:18px;padding:19px}.generator-layout,.editor-layout{gap:15px}.preview-stage{max-height:370px}.preview-actions .button{font-size:12px;padding:12px}.preview-title{font-size:16px}.field-row{gap:10px}.field-stack{gap:11px}.preview-description{font-size:12px}.sidebar>.logo{font-size:20px}.sidebar .mark{width:28px;height:28px}.theme-grid{gap:10px}.theme-preview{height:110px;padding:12px}.theme-option>span{font-size:12px;padding:12px}.plan-card ul{grid-template-columns:1fr}.plan-price{font-size:32px}.toast{bottom:max(18px,env(safe-area-inset-bottom));font-size:12px}.community-banner{min-height:290px;padding:27px}.community-banner h2{font-size:30px}.community-banner p{font-size:12px}.settings-nav{gap:2px;padding:7px}.settings-nav a{font-size:12px;padding:9px 7px}.notice-item{padding:16px;gap:12px}.notice-item h3{font-size:12px}.notice-item p{font-size:12px}.notice-item>.icon-button{height:29px;width:29px}.profile-hero .avatar{height:55px;width:55px;font-size:17px}.profile-hero h3{font-size:15px}.heading-actions .button{font-size:12px}.section-title h2{font-size:15px}.filters{gap:5px}.filter{font-size:12px;padding:8px 10px}dialog{padding:28px 20px}.bottom-note{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}/* Account detail and contextual menus. */.topbar-right{position:relative}.account-toggle{cursor:pointer}.side-profile{text-align:left}.account-popover{position:absolute;top:calc(100% + 19px);right:0;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 22px 75px #0007;z-index:50;max-height:calc(100dvh - 105px);overflow:auto;width:355px}.user-popover{width:330px}.popover-user{display:flex;align-items:center;gap:11px;padding:21px;border-bottom:1px solid var(--line)}.popover-user>div{min-width:0}.popover-user strong{display:block;font-size:12px}.popover-user small{display:block;font-size:12px;color:var(--muted);margin-top:5px;max-width:170px;overflow:hidden;text-overflow:ellipsis}.popover-user>.pill{margin-left:auto;font-size:12px}.menu-credit-summary{padding:18px 21px;display:grid;grid-template-columns:1.3fr 1fr;gap:13px;border-bottom:1px solid var(--line)}.menu-credit-summary small{font-size:12px;color:var(--muted);letter-spacing:.5px;display:block;margin-bottom:8px}.menu-credit-summary strong{font-size:22px;font-weight:600;letter-spacing:-.5px}.menu-credit-summary strong span{font-size:12px;font-weight:400;color:var(--muted);letter-spacing:0}.menu-credit-summary .progress-bar{grid-column:1/-1}.popover-links{padding:11px}.popover-links a,.popover-links button{display:flex;align-items:center;gap:12px;padding:12px;border-radius:11px;font-size:12px;width:100%;text-align:left}.popover-links a:hover,.popover-links button:hover{background:var(--surface3)}.popover-links .icon{width:16px;height:16px;color:var(--muted)}.popover-links a>.icon:last-child{margin-left:auto;width:13px}.popover-footnote{padding:12px 21px;font-size:12px;color:var(--muted);border-top:1px solid var(--line)}.popover-header{display:flex;justify-content:space-between;align-items:center;padding:20px 20px 17px;border-bottom:1px solid var(--line)}.popover-header h3{font-size:14px;margin:0;display:flex;align-items:center;gap:9px}.popover-header h3 span{font-size:12px;background:var(--accent-bg);color:var(--red);padding:4px 6px;border-radius:6px}.popover-header .text-button{font-size:12px}.popup-notices{padding:8px;max-height:390px;overflow:auto}.popup-notice{display:flex;gap:11px;padding:13px;border-radius:12px;margin:3px 0}.popup-notice.unread{background:var(--accent-bg)}.popup-notice .notice-icon{height:30px;width:30px;border-radius:10px;background:var(--surface3)}.popup-notice .icon{height:14px;width:14px}.popup-notice strong{display:block;font-size:12px;line-height:1.6;font-weight:600}.popup-notice p{font-size:12px;line-height:1.7;margin:5px 0}.popup-notice small{color:var(--muted);font-size:12px}.popover-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-top:1px solid var(--line)}.popover-footer .button{font-size:12px}.popover-footer .text-button{font-size:12px}.popup-empty{padding:32px;text-align:center;color:var(--muted)}.popup-empty>.icon{width:27px;height:27px;margin-bottom:13px}.popup-empty strong{display:block;font-size:12px;color:var(--text)}.popup-empty p{font-size:12px;margin:7px 0 0}.notice-item>a{flex:1}.notice-item>a>strong{display:block;font-size:12px;line-height:1.6;margin-bottom:5px}.current-plan{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px;margin-bottom:22px;background:linear-gradient(115deg,var(--surface) 70%,var(--accent-bg))}.current-plan h2{font-size:33px;margin:20px 0 12px}.current-plan h2>span{font-size:12px;color:var(--muted);font-weight:400;margin-left:9px;letter-spacing:0}.current-plan p{font-size:12px;margin-bottom:16px}.current-plan p strong{color:var(--text);font-weight:500}.current-plan-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.current-plan-meta span{display:flex;gap:7px;align-items:center}.current-plan-meta .icon{color:var(--red);width:13px;height:13px}.plan-current-price{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.plan-current-price>strong{font-size:30px;letter-spacing:-1px}.plan-current-price small{font-size:12px;color:var(--muted)}.plan-current-price .button{margin-top:13px}.table-wrap{overflow:auto;width:100%}.account-table{border-collapse:collapse;width:100%;min-width:620px;text-align:left}.account-table th{font-size:12px;font-weight:500;color:var(--muted);letter-spacing:.4px;padding:13px 12px;background:var(--surface2);white-space:nowrap}.account-table th:first-child{border-radius:10px 0 0 10px}.account-table th:last-child{border-radius:0 10px 10px 0}.account-table td{padding:18px 12px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;white-space:nowrap}.account-table tr:last-child td{border-bottom:0}.account-table td strong{display:block;font-size:12px;font-weight:500}.account-table td small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.status-badge{font-size:12px;padding:6px 9px;border-radius:7px;background:var(--surface3);color:var(--muted)}.status-badge.active{color:#8ac5a1;background:#26403155}.ledger-delta{color:#ff7777;font-weight:600}.ledger-delta.positive{color:#83bb97}.billing-layout{display:grid;grid-template-columns:1fr 260px;gap:20px;align-items:start}.billing-layout>.panel{min-width:0}.summary-item{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:17px 0;font-size:12px}.summary-item span{color:var(--muted)}.summary-item strong{font-weight:500}.balance-panel>.eyebrow{margin-bottom:18px}.balance-panel>strong{font-size:45px;letter-spacing:-1.6px;display:block}.balance-panel>strong>span{display:block;font-weight:400;font-size:12px;letter-spacing:0;margin:10px 0 25px;color:var(--muted)}.balance-segments{display:flex;gap:20px;font-size:12px;color:var(--muted);margin-bottom:13px}.balance-segments span{display:flex;align-items:center;gap:7px}.balance-segments i{height:5px;width:5px;border-radius:50%;background:#606060}.balance-segments span:last-child i{background:var(--red)}.balance-panel>p{font-size:12px;margin:12px 0 20px}.usage-bars{display:flex;flex-direction:column;gap:23px;padding:6px 0}.usage-bars>div>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px}.usage-bars strong{font-size:12px;font-weight:600}.usage-bars strong small{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}.usage-bar{height:6px;background:var(--line);border-radius:5px;overflow:hidden}.usage-bar>span{height:100%;background:var(--red);display:block;border-radius:5px}.activity-metrics{display:grid;grid-template-columns:1fr 1fr;gap:27px 20px;margin:30px 0}.activity-metrics strong{font-size:30px;display:block;font-weight:600;letter-spacing:-1px}.activity-metrics span{display:block;font-size:12px;color:var(--muted);margin-top:9px}.settings-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.settings-shortcuts>a{position:relative;display:flex;flex-direction:column;gap:11px;background:var(--surface2);border:1px solid var(--line);padding:17px;border-radius:14px}.settings-shortcuts>a>.icon:first-child{color:var(--red);width:18px;height:18px;margin-bottom:7px}.settings-shortcuts>a>.icon:last-child{position:absolute;top:17px;right:15px;width:13px;height:13px;color:var(--muted)}.settings-shortcuts strong{font-size:12px;font-weight:600}.settings-shortcuts small{font-size:12px;color:var(--muted);line-height:1.7}.settings-overview .profile-hero>.button{margin-left:auto}.account-stats .stat-card:hover{border-color:#603030}/* Preview-first editing workspace. */.editor-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.editor-header h1{font-size:19px;margin:8px 0 0;letter-spacing:-.5px;max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-header .eyebrow{font-size:12px}.editor-header-actions{display:flex;align-items:center;gap:8px}.editor-header-actions select{max-width:150px;font-size:12px;padding:9px}.editor-saved{font-size:12px;display:flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}.editor-saved .icon{height:12px;width:12px;color:#85be9a}.editor-workspace{display:grid;grid-template-columns:195px minmax(250px,1fr) 215px;gap:12px;min-height:365px;height:clamp(365px,42vh,520px);margin-bottom:14px}.editor-assets,.editor-properties,.editor-viewer{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:var(--surface);min-width:0}.editor-assets{display:flex;flex-direction:column}.asset-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid var(--line);padding:7px;gap:3px}.asset-tabs button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 3px;border-radius:10px;color:var(--muted);font-size:12px}.asset-tabs button .icon{height:16px;width:16px}.asset-tabs button.active{background:var(--accent-bg);color:var(--red)}.asset-content{overflow:auto;padding:17px 13px;flex:1}.asset-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.asset-heading h3{font-size:12px;margin:0}.asset-heading>.icon{width:16px;height:16px;color:var(--muted)}.asset-heading .icon-button{height:26px;width:26px;border-radius:8px}.asset-heading .icon-button .icon{height:13px;width:13px}.asset-subtitle{font-size:12px;letter-spacing:.7px;display:block;color:var(--muted);margin-bottom:12px}.asset-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.asset-media{padding:0;text-align:left;border:1px solid var(--line);border-radius:10px;overflow:hidden;position:relative}.asset-media:hover{border-color:var(--red)}.asset-media img{width:100%;height:57px;object-fit:cover;display:block}.asset-media>span{display:block;font-size:12px;padding:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.asset-media small{display:flex;font-size:12px;color:var(--muted);justify-content:space-between;align-items:center;padding:0 7px 7px}.asset-media small .icon{height:10px;width:10px}.asset-note{font-size:12px;color:var(--muted);line-height:1.9;margin:18px 0 0}.editor-viewer{display:flex;flex-direction:column;background:#080808;color:#ddd}.viewer-bar{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;height:41px;border-bottom:1px solid #252525;font-size:12px;letter-spacing:.8px;flex-shrink:0}.viewer-bar>div{display:flex;gap:10px;align-items:center}.viewer-quality{font-size:12px;color:#686868}.viewer-bar .icon-button{height:23px;width:23px;background:none;border:0;color:#999}.viewer-bar .icon{width:12px;height:12px}.viewer-canvas-wrap{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:15px;background:#070707;background-image:radial-gradient(#161616 1px,transparent 1px);background-size:15px 15px}.studio-canvas{position:relative;width:100%;aspect-ratio:16/9;max-height:100%;background:#000;overflow:hidden;box-shadow:0 10px 25px #0008;border-radius:5px}.studio-canvas:fullscreen{max-width:100%!important;max-height:100vh;width:100vw;height:100vh;aspect-ratio:auto!important;display:grid;place-items:center}.studio-canvas>img,.studio-canvas>video{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.studio-preview-texts,.studio-preview-overlays{position:absolute;inset:0;pointer-events:none}.preview-layer-text{position:absolute;left:6%;right:6%;text-align:center;font-weight:800;letter-spacing:-.8px;line-height:1.2;text-shadow:0 2px 14px #0009;overflow-wrap:anywhere}.position-center{top:50%;transform:translateY(-50%)}.position-bottom{bottom:8%;font-weight:500;letter-spacing:0}.position-top{top:10%}.studio-preview-overlays img{position:absolute;right:7%;top:8%;width:9%;aspect-ratio:1;object-fit:contain}.canvas-safe-area{position:absolute;inset:10%;border:1px dashed #ffffff88;pointer-events:none}.canvas-safe-area:after{position:absolute;content:'';inset:8%;border:1px dashed #ffffff44}.viewer-transport{display:flex;justify-content:space-between;align-items:center;height:43px;padding:0 16px;flex-shrink:0;background:#101010;border-top:1px solid #202020}.viewer-transport>span{font-size:12px;font-family:monospace;letter-spacing:1px;color:#aaa}.viewer-transport>span:first-child{color:#f65353}.viewer-transport>div{display:flex;gap:12px;align-items:center}.transport-button{height:27px;width:27px;display:grid;place-items:center;color:#aaa}.transport-button .icon{width:14px;height:14px}.transport-button:first-child .icon{transform:rotate(180deg)}.transport-play{background:#292929;border-radius:8px;color:white}.transport-play .icon{width:15px;height:15px}.viewer-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;letter-spacing:.4px;color:#666;height:27px;padding:0 14px;background:#101010;flex-shrink:0}.viewer-meta .text-button{font-size:12px}.editor-properties{overflow:auto}.properties-heading{display:flex;align-items:center;justify-content:space-between;height:42px;padding:0 15px;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.8px;color:var(--muted)}.properties-heading>.icon{height:13px;width:13px}#studio-properties{padding:16px 14px}.studio-aspect-label{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:17px}#studio-properties label{font-size:12px}#studio-properties input,#studio-properties select{padding:8px;font-size:12px;border-radius:8px}#studio-properties textarea{font-size:12px;padding:9px;min-height:70px;border-radius:8px}#studio-properties input[type=range]{padding:0}#studio-properties input[type=color]{height:29px;padding:3px}.selected-clip-info{margin-bottom:20px}.selected-clip-info .pill{font-size:12px;padding:5px 7px}.selected-clip-info h3{font-size:12px;margin:11px 0 5px}.selected-clip-info small{font-size:12px;color:var(--muted)}.property-range{margin:17px 0!important}.property-range>span{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.property-range output{font-size:12px;color:var(--muted)}.property-empty{text-align:center;padding:30px 10px;color:var(--muted)}.property-empty .icon{height:26px;width:26px}.property-empty p{font-size:12px}.editor-timeline{background:var(--surface);border:1px solid var(--line);border-radius:17px;overflow:hidden}.timeline-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:10px 13px;height:49px}.timeline-toolbar>div{display:flex;align-items:center;gap:7px}.timeline-toolbar .icon-button{width:27px;height:27px;font-size:17px;background:none;border:0;border-radius:7px;color:var(--muted)}.timeline-toolbar .icon-button:hover{background:var(--surface3)}.toolbar-divider{height:16px;width:1px;background:var(--line);margin:0 5px}.timeline-action{display:flex;align-items:center;gap:6px;padding:7px;font-size:12px;color:var(--muted);white-space:nowrap;border-radius:7px}.timeline-action:hover{background:var(--surface3);color:var(--text)}.timeline-action .icon{height:13px;width:13px}.timeline-count{font-size:12px;letter-spacing:.7px;color:var(--muted);margin-right:7px}.timeline-zoom{display:flex;align-items:center;gap:8px;font-size:12px;margin:0 0 0 12px;color:var(--muted)}.timeline-zoom input{width:75px;margin:0;height:3px}.timeline-scroll{overflow:auto;max-height:365px;scrollbar-width:thin;scrollbar-color:var(--line) var(--surface)}.timeline-grid{position:relative;min-width:1156px;padding-bottom:14px}.timeline-ruler-row,.studio-track-row{display:grid;grid-template-columns:156px 1fr}.timeline-ruler-row{height:35px;background:var(--surface2);position:sticky;top:0;z-index:5}.track-heading{position:sticky;left:0;z-index:4;background:var(--surface);border-right:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:0 10px;border-bottom:1px solid var(--line);min-width:0}.timeline-ruler-row .track-heading{background:var(--surface2);font-size:12px;letter-spacing:.5px;color:var(--muted)}.studio-ruler{position:relative;cursor:crosshair;border-bottom:1px solid var(--line);background-image:repeating-linear-gradient(90deg,transparent,transparent calc(3.125% - 1px),var(--line) calc(3.125% - 1px),var(--line) 3.125%)}.ruler-labels{height:100%;position:relative}.ruler-labels>span{position:absolute;top:8px;font-family:monospace;font-size:12px;color:var(--muted);transform:translateX(6px);white-space:nowrap}.ruler-labels>span:last-child{transform:translateX(-100%)}.ruler-playhead{position:absolute;bottom:-1px;width:1px;height:20px;background:var(--red);pointer-events:none;z-index:8}.ruler-playhead:before{content:'';position:absolute;top:-3px;left:-4px;width:9px;height:9px;clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);background:var(--red)}.studio-track-row{height:49px}.track-kind{font-size:12px;font-weight:600;color:var(--muted);width:16px;flex-shrink:0}.track-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}.layer-control{color:#515151;font-size:12px;padding:3px;flex-shrink:0}.layer-control.on{color:#9d9d9d}.layer-control .icon{width:10px;height:10px}.track-hidden .studio-track-lane{opacity:.3}.track-locked .studio-track-lane{background-color:var(--surface2)}.studio-track-lane{position:relative;border-bottom:1px solid var(--line);background-image:repeating-linear-gradient(90deg,transparent,transparent calc(var(--clip-grid) - 1px),var(--line) calc(var(--clip-grid) - 1px),var(--line) var(--clip-grid));min-width:0}.studio-clip{position:absolute;top:6px;bottom:6px;border-radius:7px;border:1px solid #714040;background:#4b2525;overflow:hidden;text-align:left;min-width:13px;cursor:grab}.studio-clip.selected{outline:1px solid #ff8383;outline-offset:1px;z-index:3}.studio-clip.dragging{opacity:.45}.clip-video{color:white}.clip-thumbnails{position:absolute;inset:0;display:flex;opacity:.53}.clip-thumbnails img{height:100%;width:20%;object-fit:cover}.clip-name{position:relative;z-index:1;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;padding:0 10px;text-shadow:0 1px 4px #000;pointer-events:none}.clip-transition{position:absolute;left:2px;bottom:1px;color:#ffb0b0;z-index:2;background:#362020b0;border-radius:3px}.clip-transition .icon{height:9px;width:9px;display:block}.clip-text{background:#302544;border-color:#6f528a;color:#d3bde8}.clip-text .clip-name{border-left:2px solid var(--text-accent,#fff);margin-left:5px;padding-left:6px}.clip-overlay{background:#3b2829;border-color:#69404b;color:#f8b5c2}.clip-overlay-symbol{position:absolute;right:7px;top:4px;opacity:.7}.clip-overlay-symbol .mark{width:24px;height:24px}.clip-audio{background:#1b3a31;border-color:#356b58;color:#b0d5c5}.clip-wave{position:absolute;inset:5px;display:flex;align-items:center;gap:2px;opacity:.45;pointer-events:none}.clip-wave i{flex:1;background:#65b98e;max-width:4px;min-width:1px;border-radius:1px}.clip-trim{position:absolute;top:0;bottom:0;width:3px;z-index:2;opacity:.3;background:#fff}.trim-left{left:0}.trim-right{right:0}.lane-playhead{position:absolute;top:0;bottom:0;width:1px;background:var(--red);pointer-events:none;z-index:9}.timeline-bottom{display:flex;justify-content:space-between;align-items:center;padding:11px 15px;border-top:1px solid var(--line);gap:15px;color:var(--muted);font-size:12px;letter-spacing:.4px}.timeline-bottom>span:first-child{color:var(--text);font-size:12px;max-width:230px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.editor-footnote{font-size:12px;color:var(--muted);margin-top:13px;line-height:1.8}.text-presets{display:grid;gap:10px}.text-presets button{border:1px solid var(--line);border-radius:12px;text-align:left;padding:18px 13px;background:var(--surface2)}.text-presets button:hover{border-color:#6f3434}.text-presets strong{display:block;font-size:12px;font-weight:500;color:var(--muted);margin-bottom:13px}.text-presets span{display:block;font-size:13px;font-weight:800;line-height:1.4;letter-spacing:-.4px}.text-presets button:nth-child(2) span{font-size:12px;font-weight:600}.text-presets button:nth-child(3) span{font-size:12px;font-weight:400;letter-spacing:0}.transition-presets{display:grid;gap:12px}.transition-presets button{border:1px solid var(--line);border-radius:11px;padding:11px;background:var(--surface2)}.transition-presets button>span{font-size:12px;color:var(--muted);display:block;margin-top:11px}.transition-art{display:flex;position:relative;height:45px;gap:2px;overflow:hidden}.transition-art i{width:50%;background:#6e1515;border-radius:5px}.transition-art i:nth-child(2){background:#df2929}.transition-1 i{width:70%;opacity:.75}.transition-1 i:nth-child(2){position:absolute;left:35%;opacity:.6}.transition-2{transform:skew(-10deg);width:95%;margin:auto}.audio-presets{display:grid;gap:10px}.audio-presets button{border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:8px;padding:13px 9px;min-width:0}.audio-icon{display:grid;place-items:center;background:#25483966;color:#7bbb98;border-radius:8px;height:30px;width:26px;flex-shrink:0}.audio-icon .icon{height:14px;width:14px}.audio-presets button>div:nth-child(2){flex:1;min-width:0}.audio-presets strong{font-size:12px;display:block;text-align:left}.audio-presets small{font-size:12px;color:var(--muted);display:block;margin-top:4px;text-align:left}.audio-presets button>.icon{height:10px;width:10px;color:var(--muted)}.preset-wave{height:16px;display:flex;align-items:center;gap:1px;margin-top:6px;overflow:hidden}.preset-wave i{background:#4c8a6a;width:2px;flex-shrink:0;opacity:.7}.audio-property-wave{display:flex;align-items:center;gap:2px;height:40px;background:#20312866;border:1px solid #34543d;border-radius:9px;padding:5px 7px;overflow:hidden}.audio-property-wave i{width:2px;flex:1;background:#6ca482}.export-options{display:grid;gap:12px}.export-options button{display:flex;align-items:center;gap:16px;padding:20px;border:1px solid var(--line);border-radius:15px;text-align:left;background:var(--surface2)}.export-options button:hover{border-color:#6e3434}.export-options button>.icon:first-child{color:var(--red)}.export-options button>.icon:last-child{margin-left:auto;width:14px;height:14px}.export-options strong{font-size:12px;display:block;margin-bottom:6px}.export-options small{font-size:12px;color:var(--muted)}.transition-dissolve{animation:studio-dissolve .45s ease-out}.transition-slide{animation:studio-slide .4s ease-out}@keyframes studio-dissolve{from{opacity:.1}to{opacity:1}}@keyframes studio-slide{from{transform:translateX(9%);opacity:.3}to{transform:translateX(0);opacity:1}}
@media(min-width:1550px){.editor-workspace{grid-template-columns:230px minmax(350px,1fr) 245px;height:clamp(420px,45vh,640px)}.asset-media img{height:72px}.asset-media>span{font-size:12px}.asset-note{font-size:12px}#studio-properties label{font-size:12px}#studio-properties input,#studio-properties select{font-size:12px;padding:10px}.viewer-bar{font-size:12px}.viewer-quality{font-size:12px}.studio-track-row{height:54px}.clip-name{font-size:12px}.track-name{font-size:12px}.timeline-scroll{max-height:395px}}
@media(max-width:1150px){.billing-layout{grid-template-columns:1fr}.billing-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:0 25px}.billing-summary>h3,.billing-summary>.button,.billing-summary>.form-note{grid-column:1/-1}.editor-workspace{grid-template-columns:150px minmax(220px,1fr) 180px;gap:9px;height:375px}.asset-content{padding:14px 10px}.asset-grid{grid-template-columns:1fr}.asset-media img{height:62px}.asset-media small{display:none}.asset-tabs button span{font-size:12px}.editor-header-actions select{display:none}.editor-saved{display:none}.editor-header h1{max-width:240px}.viewer-quality{display:none}.timeline-count{display:none}#studio-properties{padding:13px 10px}.timeline-zoom{margin-left:3px}.timeline-zoom input{width:55px}.settings-shortcuts{grid-template-columns:1fr}.settings-shortcuts>a{display:grid;grid-template-columns:25px 1fr;gap:5px 10px}.settings-shortcuts>a>.icon:first-child{grid-row:1/3;margin:0;align-self:center}.settings-shortcuts small{grid-column:2}}@media(max-width:900px){.editor-workspace{grid-template-columns:145px minmax(225px,1fr);height:390px}.editor-properties{grid-column:1/-1;max-height:none;overflow:visible}.editor-workspace{height:auto}.editor-viewer{min-height:360px}.editor-properties #studio-properties{display:grid;grid-template-columns:140px 1fr;gap:15px}.selected-clip-info{grid-column:1;grid-row:2;margin-top:-15px}.studio-aspect-label{margin:0}.properties-heading{height:34px}.editor-properties #clip-properties{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:repeat(3,1fr);gap:5px 12px;align-items:start}.editor-properties #clip-properties label{margin-bottom:8px}.editor-properties #clip-properties .property-range{margin:7px 0!important}.editor-properties #clip-properties .field-row{grid-template-columns:1fr 1fr;gap:7px}.editor-properties #clip-properties>.button{align-self:end;margin-bottom:8px}.editor-properties #clip-properties textarea{min-height:48px}.editor-header{gap:10px}.timeline-toolbar{height:auto;flex-wrap:wrap;gap:7px}.timeline-toolbar>div:last-child{margin-left:auto}.current-plan{padding:25px}.current-plan-meta{gap:12px}.account-popover{top:calc(100% + 15px)}}
@media(max-width:680px){.topbar-right .account-toggle{display:grid}.account-popover{position:fixed;top:73px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 145px)}.popover-user small{max-width:190px}.current-plan{display:block;padding:22px}.current-plan h2{font-size:29px}.plan-current-price{margin-top:23px;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.plan-current-price>strong{font-size:23px}.plan-current-price>small{margin-right:auto}.plan-current-price .button{margin-top:0;font-size:12px;padding:10px 12px}.current-plan-meta{font-size:12px}.account-table{min-width:560px}.account-table td{font-size:12px;padding:15px 10px}.account-table td strong{font-size:12px}.account-table td small{font-size:12px}.settings-overview .profile-hero{flex-wrap:wrap}.settings-overview .profile-hero>.button{margin-left:auto}.settings-shortcuts{grid-template-columns:1fr}.notice-item>a>strong{font-size:12px}.balance-panel>strong{font-size:38px}.balance-segments{font-size:12px;gap:15px}.editor-header{align-items:flex-start;gap:10px;margin-bottom:16px}.editor-header h1{font-size:16px;max-width:170px}.editor-header-actions{gap:6px}.editor-header-actions .button{font-size:12px;padding:10px}.editor-header-actions .button .icon{height:12px;width:12px}.editor-header-actions #studio-save{font-size:0;gap:0;padding:10px}.editor-header-actions #studio-save .icon{height:14px;width:14px}.editor-workspace{grid-template-columns:1fr;gap:12px}.editor-viewer{grid-row:1;min-height:295px}.viewer-canvas-wrap{min-height:205px;padding:12px}.preview-layer-text{font-size:clamp(12px,5vw,25px)!important}.position-bottom{font-size:12px!important}.editor-assets{grid-row:2;max-height:190px}.asset-tabs{display:flex;gap:6px;padding:6px}.asset-tabs button{flex:1;flex-direction:row;justify-content:center;padding:8px;gap:6px}.asset-tabs button span{font-size:12px}.asset-tabs button .icon{height:14px;width:14px}.asset-content{padding:12px}.asset-heading{margin-bottom:10px}.asset-subtitle{display:none}.asset-grid{grid-template-columns:repeat(3,1fr)}.asset-media img{height:53px}.asset-media>span{font-size:12px}.asset-note{margin:10px 0 0;font-size:12px}.editor-properties{grid-row:4;grid-column:1}.editor-properties #studio-properties{display:block;padding:15px}.editor-properties #clip-properties{display:grid;grid-template-columns:1fr 1fr;gap:9px 12px}.selected-clip-info{margin:15px 0 20px}.studio-aspect-label{display:flex;align-items:center;gap:20px;max-width:230px;padding-bottom:14px}.studio-aspect-label select{margin:0}.editor-timeline{margin-top:12px}.timeline-toolbar{padding:8px}.timeline-toolbar>div:first-child{gap:2px}.timeline-toolbar .icon-button{width:23px;height:23px}.timeline-action{font-size:12px;padding:6px;gap:4px}.timeline-action .icon{width:11px;height:11px}.timeline-toolbar>div:last-child{margin-left:0;width:100%;justify-content:space-between;border-top:1px solid var(--line);padding-top:7px}.timeline-count{display:inline;font-size:12px}.timeline-zoom{margin-left:auto}.timeline-zoom input{width:74px}.timeline-scroll{max-height:350px}.timeline-ruler-row,.studio-track-row{grid-template-columns:120px 1fr}.track-heading{padding:0 7px;gap:4px}.track-name{font-size:12px}.track-kind{width:13px;font-size:12px}.layer-control{padding:1px}.timeline-bottom>span:nth-child(2){display:none}.timeline-bottom{padding:10px}.timeline-bottom>span:first-child{max-width:180px}.timeline-bottom>span:last-child{font-size:12px}.editor-footnote{font-size:12px}.text-presets{grid-template-columns:repeat(3,1fr);gap:7px}.text-presets button{padding:12px 10px}.text-presets strong{font-size:12px;margin-bottom:9px}.text-presets span{font-size:12px}.text-presets button:nth-child(2) span{font-size:12px}.text-presets button:nth-child(3) span{font-size:12px}.transition-presets{grid-template-columns:repeat(3,1fr);gap:8px}.transition-art{height:28px}.transition-presets button>span{font-size:12px}.audio-presets{grid-template-columns:repeat(3,1fr);gap:7px}.audio-presets button{padding:9px;gap:6px}.audio-icon{display:none}.audio-presets button>.icon{display:none}.preset-wave{height:12px}.audio-presets strong{font-size:12px}.activity-metrics strong{font-size:27px}.usage-bars strong{font-size:12px}.usage-bars>div>div:first-child{font-size:12px}.billing-summary{display:block}.export-options button{padding:17px}.export-options small{font-size:12px}}/* A collapsible sidebar that leaves only the brand mark. */.sidebar-brand-shell{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 5px 30px;flex-shrink:0}.sidebar-brand-shell .logo{font-size:19px}.sidebar-brand-shell .mark{width:28px;height:28px}.sidebar-collapse{height:27px;width:25px;display:grid;place-items:center;border-radius:8px;color:var(--muted)}.sidebar-collapse:hover{background:var(--surface3);color:var(--text)}.sidebar-collapse .icon{width:16px;height:16px}.desktop-sidebar-toggle{border:0;background:none}.account-popover{z-index:55}.sidebar-is-collapsed .sidebar-brand-shell .logo{gap:0}
@media(min-width:681px){.shell{grid-template-columns:223px minmax(0,1fr);transition:grid-template-columns .18s ease}.sidebar-collapsed .shell{grid-template-columns:56px minmax(0,1fr)}.sidebar-collapsed .sidebar{padding:22px 8px}.sidebar-collapsed .sidebar-brand-shell{margin:0;justify-content:center}.sidebar-collapsed .sidebar-brand-shell .logo{font-size:0;gap:0;width:32px;justify-content:center}.sidebar-collapsed .sidebar-brand-shell .logo>span,.sidebar-collapsed .sidebar-collapse{display:none}.sidebar-collapsed .sidebar-brand-shell .mark{width:30px;height:30px}.sidebar-collapsed .sidebar-brand-shell .logo:hover{transform:scale(1.05)}}/* Account controls live in one modal. */.account-settings-dialog{padding:0;width:min(1080px,calc(100vw - 80px));max-width:1080px;height:min(760px,calc(100dvh - 80px));max-height:calc(100dvh - 80px);overflow:hidden;border-radius:24px}.account-modal-close{position:absolute;top:13px;right:16px;z-index:5;width:30px;height:30px;display:grid;place-items:center;font-size:24px;color:var(--muted);border-radius:10px;background:var(--surface)}.account-modal-close:hover{background:var(--surface3);color:var(--text)}.account-modal-layout{display:grid;grid-template-columns:192px minmax(0,1fr);height:100%;min-height:0}.account-modal-layout>nav{display:flex;flex-direction:column;gap:5px;padding:25px 13px;background:var(--surface2);border-right:1px solid var(--line);overflow:auto}.modal-account-heading{display:flex;align-items:center;gap:10px;margin:0 9px 26px}.modal-account-heading .mark{width:27px;height:27px}.modal-account-heading strong{font-size:13px;font-weight:600;letter-spacing:-.3px}.account-modal-layout>nav>button{display:flex;align-items:center;gap:11px;padding:12px;border-radius:11px;color:var(--muted);font-size:12px;text-align:left}.account-modal-layout>nav>button .icon{width:16px;height:16px}.account-modal-layout>nav>button:hover{background:var(--surface3);color:var(--text)}.account-modal-layout>nav>button.active{background:var(--accent-bg);color:var(--red)}.modal-account-footer{margin-top:auto;padding:25px 10px 0;font-size:12px;line-height:1.6}.modal-account-footer small{font-size:12px;color:var(--muted);display:block;margin-top:6px}#account-settings-content{overflow:auto;padding:35px 32px;scrollbar-width:thin;min-width:0}#account-settings-content>.page-heading{margin-bottom:26px;padding-right:20px}#account-settings-content>.page-heading .eyebrow{display:none}#account-settings-content>.page-heading h1{font-size:23px;letter-spacing:-.8px;line-height:1.25;padding-right:10px}#account-settings-content>.page-heading p{font-size:12px;line-height:1.8}#account-settings-content .heading-actions{flex-shrink:0}#account-settings-content .heading-actions .button{font-size:12px;padding:10px 12px}#account-settings-content .modal-single-column{display:block}#account-settings-content .panel{padding:21px;border-radius:17px}#account-settings-content .stats-grid{gap:10px;margin-bottom:20px}#account-settings-content .stat-card{padding:15px;border-radius:13px}#account-settings-content .stat-card strong{font-size:23px}#account-settings-content .stat-card label{font-size:12px}#account-settings-content .stat-card small{font-size:12px}#account-settings-content .plan-card{padding:21px 18px;border-radius:17px}#account-settings-content .plan-price{font-size:25px}#account-settings-content .plan-card li{font-size:12px}#account-settings-content .current-plan h2{font-size:29px}#account-settings-content .plan-current-price>strong{font-size:25px}#account-settings-content .current-plan{margin-bottom:17px}#account-settings-content .balance-panel>strong{font-size:38px}#account-settings-content .billing-layout{display:block}#account-settings-content .billing-summary{margin-top:18px}#account-settings-content .split-panels{gap:14px}#account-settings-content .bottom-note{font-size:12px;margin-top:19px}#account-settings-content .account-table{min-width:565px}#account-settings-content .settings-shortcuts{grid-template-columns:repeat(3,1fr)}#account-settings-content .settings-shortcuts>a{display:flex;padding:13px}#account-settings-content .profile-hero h3{font-size:16px}#account-settings-content .profile-hero p{font-size:12px}#account-settings-content .profile-hero>.avatar{width:52px;height:52px;border-radius:16px;font-size:16px}.account-settings-dialog::backdrop{background:#0009;backdrop-filter:blur(7px)}/* Properties share the left asset panel; the viewer takes the remaining width. */.editor-workspace{grid-template-columns:240px minmax(250px,1fr);height:clamp(400px,49vh,650px);gap:14px}.editor-viewer{min-height:0}.editor-assets{grid-row:auto;max-height:none}.asset-tabs{grid-template-columns:repeat(5,1fr);padding:7px 5px}.asset-tabs button{font-size:12px;gap:6px;padding:9px 2px}.asset-tabs button .icon{width:16px;height:16px}.asset-content{padding:18px 15px}.asset-grid{grid-template-columns:repeat(2,1fr);gap:11px}.asset-media img{height:75px;opacity:1}.asset-media>span{font-size:12px}.asset-media small{display:flex}.asset-heading h3{font-size:12px}.asset-note{font-size:12px}.editor-assets #studio-properties{padding:0}.editor-assets #studio-properties label{font-size:12px}.editor-assets #studio-properties input,.editor-assets #studio-properties select{padding:10px;font-size:12px}.editor-assets #studio-properties textarea{font-size:12px;min-height:75px}.editor-assets #studio-properties input[type=range]{padding:0}.editor-assets .studio-aspect-label{display:block;max-width:none}.editor-assets .studio-aspect-label select{margin-top:9px}.editor-assets .selected-clip-info{margin:0 0 18px}.editor-assets .selected-clip-info h3{font-size:13px}.editor-assets #clip-properties{display:block}.viewer-canvas-wrap{padding:16px}.viewer-bar{height:42px;font-size:12px}.viewer-quality{font-size:12px;display:inline}.viewer-meta{font-size:12px;height:30px}.viewer-transport{height:47px}.viewer-transport>span{font-size:12px}.viewer-transport>div{gap:19px}.transport-play{width:32px;height:29px}.editor-assets .text-presets{grid-template-columns:1fr}.editor-assets .transition-presets{grid-template-columns:1fr}.editor-assets .transition-art{height:45px}.editor-assets .audio-presets{grid-template-columns:1fr}.editor-assets .audio-presets .audio-icon{display:grid}.editor-assets .audio-presets button>.icon{display:block}.editor-assets .text-presets span{font-size:16px}.editor-assets .text-presets button:nth-child(2) span{font-size:12px}.editor-assets .text-presets button:nth-child(3) span{font-size:12px}.editor-assets .text-presets strong{font-size:12px}.editor-assets .audio-presets strong{font-size:12px}.editor-assets .audio-presets small{font-size:12px}.editor-assets .asset-subtitle{display:block}.editor-timeline{border-color:#363636}.studio-track-row{height:57px}.studio-clip{top:7px;bottom:7px;border-radius:8px;touch-action:none;user-select:none;-webkit-user-select:none}.clip-video{background:linear-gradient(110deg,#bd2222,#8f153a);border-color:#ed6969}.clip-thumbnails{opacity:.98}.clip-thumbnails img{pointer-events:none;filter:saturate(1.3) brightness(1.1)}.clip-video .clip-name{background:linear-gradient(90deg,#591322db,#791626aa);border-radius:5px;margin:0 8px;display:inline-block;max-width:calc(100% - 22px);padding:5px 8px;color:#fff;font-size:12px;font-weight:500;box-shadow:0 1px 3px #0002}.clip-text{background:linear-gradient(100deg,#7b3fc6,#6239ac);border-color:#b389ef;color:#fff}.clip-text .clip-name{margin-left:7px;color:#fff;font-size:12px;font-weight:500;text-shadow:none}.clip-overlay{background:linear-gradient(100deg,#cc4167,#a63085);border-color:#ef92b5;color:white}.clip-overlay .clip-name{font-size:12px;font-weight:600}.clip-audio{background:linear-gradient(90deg,#227b53,#19543f);border-color:#54c58a;color:#fff}.clip-audio .clip-name{font-size:12px;font-weight:600;background:#134a35ba;padding:4px 8px;display:inline-block;border-radius:5px;margin-left:7px;max-width:calc(100% - 16px)}.clip-wave{opacity:.95;inset:3px 5px;gap:2px}.clip-wave i{background:#72e1a5;max-width:5px}.studio-clip.selected{outline:2px solid #ffb0b0;outline-offset:1px;box-shadow:0 0 0 3px #ff1a1a22;z-index:6}.clip-text.selected{outline-color:#d4b2ff}.clip-audio.selected{outline-color:#94f6bc}.clip-overlay.selected{outline-color:#ffc0dc}.studio-clip.pointer-dragging{opacity:.95;z-index:12;box-shadow:0 8px 20px #0009;cursor:grabbing;outline-color:#fff}.clip-trim{width:7px;opacity:0;cursor:ew-resize;background:#ffffffbb}.studio-clip:hover .clip-trim,.studio-clip.selected .clip-trim{opacity:.7}.clip-trim:after{content:'';position:absolute;top:33%;bottom:33%;width:1px;background:#2a2a2a;left:3px}.clip-transition{left:8px;bottom:2px;background:#3b0e20cc;border:1px solid #ffb4c877;border-radius:4px;padding:2px}.clip-transition .icon{height:10px;width:10px}.track-heading{background:var(--surface);padding:0 11px}.track-name{font-size:12px;color:var(--text)}.track-kind{font-size:12px;color:#c2c2c2}.layer-control{padding:3px}.layer-control.on{color:#b5b5b5}.timeline-ruler-row{height:38px}.ruler-labels>span{top:10px;font-size:12px}.timeline-toolbar{height:52px}.timeline-action{font-size:12px;padding:8px}.timeline-action .icon{width:14px;height:14px}.timeline-count{font-size:12px}.timeline-zoom{font-size:12px}.timeline-bottom{font-size:12px}.timeline-bottom>span:first-child{font-size:12px}.timeline-scroll{max-height:425px}.studio-track-lane{touch-action:pan-x}.studio-canvas:fullscreen{width:100vw!important;height:100vh!important}.light .clip-video .clip-name{color:white}.light .clip-text,.light .clip-overlay,.light .clip-audio{color:white}
@media(min-width:1550px){.editor-workspace{grid-template-columns:260px minmax(400px,1fr);height:clamp(470px,52vh,700px)}.asset-media img{height:86px}.asset-heading h3{font-size:12px}.studio-track-row{height:59px}}
@media(max-width:1150px){.sidebar-brand-shell .logo{font-size:17px}.sidebar-brand-shell .mark{width:25px;height:25px}.sidebar-collapse .icon{width:14px;height:14px}.editor-workspace{grid-template-columns:210px minmax(220px,1fr);height:410px}.asset-media img{height:60px}.asset-content{padding:15px 12px}.editor-assets #studio-properties label{font-size:12px}.editor-assets #studio-properties input,.editor-assets #studio-properties select{font-size:12px;padding:9px}.editor-header-actions select{display:none}.editor-workspace .editor-viewer{min-height:0}.timeline-action{font-size:12px}.timeline-count{display:none}}
@media(max-width:900px){.editor-workspace{grid-template-columns:195px minmax(210px,1fr);height:405px}.asset-tabs button span{font-size:12px}.viewer-bar{font-size:12px}.viewer-quality{display:none}.timeline-toolbar{height:auto}.timeline-zoom input{width:65px}.account-settings-dialog{width:calc(100vw - 36px);height:calc(100dvh - 60px);max-height:calc(100dvh - 60px)}.account-modal-layout{grid-template-columns:165px minmax(0,1fr)}.account-modal-layout>nav{padding:22px 9px}.account-modal-layout>nav>button{font-size:12px;padding:11px 9px;gap:9px}#account-settings-content{padding:35px 22px}#account-settings-content>.page-heading{display:block}#account-settings-content .stats-grid{grid-template-columns:1fr 1fr}#account-settings-content .plan-grid{grid-template-columns:1fr}#account-settings-content .plan-card ul{grid-template-columns:1fr 1fr}#account-settings-content .split-panels{grid-template-columns:1fr}#account-settings-content .settings-shortcuts{grid-template-columns:1fr}#account-settings-content .settings-shortcuts>a{display:grid}}
@media(max-width:680px){.desktop-sidebar-toggle{display:none}.sidebar-brand-shell .logo{font-size:20px}.sidebar-brand-shell .mark{width:29px;height:29px}.sidebar-collapse{display:none}.sidebar-brand-shell{margin-bottom:30px}.editor-workspace{grid-template-columns:1fr;height:auto}.editor-viewer{grid-row:1;min-height:300px!important}.editor-assets{grid-row:2;max-height:310px}.asset-tabs{display:grid;grid-template-columns:repeat(5,1fr)}.asset-tabs button{display:flex;flex-direction:column;gap:5px;padding:8px 2px}.asset-tabs button span{font-size:12px}.asset-tabs button .icon{height:16px;width:16px}.asset-content{padding:15px}.asset-grid{grid-template-columns:repeat(3,1fr)}.asset-media img{height:62px}.asset-media>span{font-size:12px}.asset-media small{font-size:12px}.editor-assets #studio-properties{display:block}.editor-assets #clip-properties{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor-assets #studio-properties .studio-aspect-label{display:flex;margin-bottom:15px;max-width:230px}.editor-assets #studio-properties .studio-aspect-label select{margin:0}.editor-assets #studio-properties .selected-clip-info{margin:0 0 18px}.editor-assets .text-presets,.editor-assets .transition-presets,.editor-assets .audio-presets{grid-template-columns:repeat(3,1fr);gap:8px}.editor-assets .text-presets span{font-size:12px}.editor-assets .text-presets button:nth-child(2) span{font-size:12px}.editor-assets .text-presets button:nth-child(3) span{font-size:12px}.editor-assets .text-presets strong{font-size:12px}.editor-assets .transition-art{height:35px}.editor-assets .audio-presets .audio-icon{display:none}.editor-assets .audio-presets button>.icon{display:none}.editor-assets .audio-presets strong{font-size:12px}.editor-assets .audio-presets small{font-size:12px}.timeline-action{font-size:12px;padding:6px}.timeline-action .icon{width:12px;height:12px}.studio-track-row{height:56px}.timeline-scroll{max-height:420px}.studio-clip{min-width:20px}.clip-trim{width:10px}.clip-trim:after{left:4px}.clip-video .clip-name,.clip-text .clip-name,.clip-audio .clip-name{font-size:12px}.editor-footnote{font-size:12px}.account-settings-dialog{width:calc(100vw - 16px);height:calc(100dvh - 30px);max-height:calc(100dvh - 30px);border-radius:18px}.account-modal-layout{display:flex;flex-direction:column}.account-modal-layout>nav{padding:16px 12px 10px;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;gap:4px;overflow:visible;flex-shrink:0}.modal-account-heading{width:100%;margin:0 0 12px;gap:9px}.modal-account-heading .mark{height:25px;width:25px}.modal-account-heading strong{font-size:12px}.account-modal-layout>nav>button{font-size:12px;padding:9px;gap:6px;flex:1;min-width:22%}.account-modal-layout>nav>button .icon{height:13px;width:13px}.modal-account-footer{display:none}.account-modal-close{top:12px;right:14px;background:var(--surface2)}#account-settings-content{padding:23px 17px;flex:1;min-height:0}#account-settings-content>.page-heading h1{font-size:21px}#account-settings-content .panel{padding:17px}#account-settings-content .current-plan{padding:19px}#account-settings-content .plan-card ul{grid-template-columns:1fr}#account-settings-content .account-table{min-width:545px}#account-settings-content .heading-actions{flex-wrap:wrap}.timeline-bottom>span:nth-child(2){display:none}}
/* Shared shell geometry on every application screen. */
.content{max-width:1400px;padding:37px 35px 45px;margin:auto}.topbar{height:77px;padding:0 35px}.sidebar{padding:29px 16px}.sidebar-brand-shell{margin:0 5px 30px}.sidebar-brand-shell .logo{font-size:19px}.sidebar-brand-shell .mark{width:28px;height:28px}.side-nav a{font-size:12px;padding:12px 13px;gap:11px}.side-nav .icon{width:18px;height:18px}.side-profile{padding:0 7px;gap:10px;margin-top:19px}.side-profile strong{font-size:12px;max-width:120px}.side-profile small{font-size:12px}.nav-label{font-size:12px;display:block}.nav-badge{display:block}.credit-card{padding:17px 14px;display:block;margin-top:auto}.nav-divider{margin:20px 12px}.sidebar-collapse{flex-shrink:0}.desktop-sidebar-toggle{display:none!important}.overlay-root{position:fixed;inset:0;z-index:100;pointer-events:none}.overlay-root>.account-popover{position:fixed;z-index:1;pointer-events:auto;top:88px;right:24px;max-height:calc(100dvh - 32px)}.ruler-playhead{width:2px;pointer-events:auto;cursor:ew-resize;touch-action:none}.ruler-playhead:before{height:12px;width:13px;left:-5px;top:-7px}.lane-playhead{width:2px;pointer-events:auto;cursor:ew-resize;touch-action:none}.lane-playhead:before{content:'';position:absolute;inset:0 -7px;background:transparent}.studio-ruler{touch-action:none;user-select:none;-webkit-user-select:none}.timeline-grid{user-select:none;-webkit-user-select:none}.studio-canvas>video{pointer-events:none}.editor-header{margin-top:0}.studio-editor{width:100%;min-width:0}
@media(min-width:1550px){.content{padding:45px 55px}.topbar{padding:0 55px}}
@media(max-width:1150px){.content{padding:30px 23px}.topbar{padding:0 23px}.sidebar{padding:25px 12px}.sidebar-brand-shell .logo{font-size:17px}.sidebar-brand-shell .mark{height:25px;width:25px}}
@media(max-width:680px){.content{padding:27px 18px max(27px,env(safe-area-inset-bottom))}.topbar{height:65px;padding:0 18px}.sidebar{padding:25px 12px}.sidebar-brand-shell .logo{font-size:20px}.sidebar-brand-shell .mark{width:29px;height:29px}.side-nav a{font-size:12px;padding:12px 13px}.credit-card{padding:17px 14px}.overlay-root>.account-popover{left:12px;right:12px;width:auto;top:75px;max-height:calc(100dvh - 90px)}.viewer-canvas-wrap{min-height:200px}.ruler-playhead:before{height:14px;width:15px;left:-6px}.lane-playhead:before{inset:0 -10px}}
/* Persistent compact navigation, with labels shown as floating tooltips. */
.sidebar-brand-shell .logo{position:relative;cursor:pointer}.rail-tooltip{position:fixed;padding:8px 12px;border-radius:9px;border:1px solid var(--line);background:var(--surface3);color:var(--text);font-size:12px;font-weight:500;line-height:1.4;white-space:nowrap;box-shadow:0 7px 25px #0004;pointer-events:none;z-index:5}.sidebar-collapsed .sidebar-brand-shell .logo:after{content:'';position:absolute;inset:4px;opacity:0;background:var(--text);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='4' width='18' height='16' rx='3' fill='none' stroke='black' stroke-width='1.6'/%3E%3Cpath d='M9 4v16' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat}.sidebar-collapsed .sidebar-brand-shell .logo:hover:after,.sidebar-collapsed .sidebar-brand-shell .logo:focus-visible:after{opacity:1}.sidebar-collapsed .sidebar-brand-shell .logo:hover .mark,.sidebar-collapsed .sidebar-brand-shell .logo:focus-visible .mark{opacity:0}
@media(min-width:681px){.sidebar-collapsed .shell{grid-template-columns:64px minmax(0,1fr)}.sidebar-collapsed .sidebar{padding:22px 10px}.sidebar-collapsed .sidebar-brand-shell{margin:0 0 23px;justify-content:center}.sidebar-collapsed .sidebar-brand-shell .logo{width:36px;height:36px;border-radius:11px}.sidebar-collapsed .sidebar-brand-shell .logo:hover{background:var(--surface3);transform:none}.sidebar-collapsed .nav-label,.sidebar-collapsed .nav-badge,.sidebar-collapsed .credit-card,.sidebar-collapsed .side-profile>div{display:none!important}.sidebar-collapsed .side-nav{gap:5px}.sidebar-collapsed .side-nav a{font-size:0;justify-content:center;gap:0;padding:12px;width:44px;height:44px;border-radius:12px}.sidebar-collapsed .side-nav a>.icon{width:20px;height:20px}.sidebar-collapsed .nav-divider{margin:18px 5px}.sidebar-collapsed .side-profile{margin-top:auto;padding:0;justify-content:center;width:44px;height:44px;border-radius:12px;flex-shrink:0}.sidebar-collapsed .side-profile:hover{background:var(--surface3)}.sidebar-collapsed .side-profile .avatar{width:31px;height:31px;font-size:12px}.sidebar-collapsed .sidebar-collapse{display:none}.sidebar-collapsed .sidebar-brand-shell .mark{width:29px;height:29px}}
/* Project selection and loading. */
.studio-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.studio-project-card{background:var(--surface);border:1px solid var(--line);border-radius:21px;overflow:hidden;transition:border-color .2s,transform .2s}.studio-project-card:hover{border-color:#723636;transform:translateY(-3px)}.studio-project-thumb{position:relative;width:100%;height:200px;display:block;overflow:hidden;padding:0;background:#080808}.studio-project-thumb>img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.studio-project-thumb:hover>img{transform:scale(1.045)}.studio-project-thumb .media-badge{padding:7px 9px;font-size:12px}.project-open-symbol{position:absolute;inset:0;display:grid;place-items:center;opacity:0;transition:opacity .2s;background:#0003}.project-open-symbol .icon{color:#fff;background:#ff1a1ae6;width:20px;height:20px;padding:12px;box-sizing:content-box;border-radius:14px}.studio-project-thumb:hover .project-open-symbol{opacity:1}.studio-project-card-info{padding:20px}.studio-project-card-info h3{font-size:14px;margin-bottom:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-project-card-info>div:not(.studio-project-card-actions){display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.studio-project-card-actions{display:flex;align-items:center;justify-content:space-between;margin-top:19px;padding-top:17px;border-top:1px solid var(--line)}.studio-project-loader{position:fixed;inset:0;z-index:105;display:grid;place-items:center;background:#060606d9;backdrop-filter:blur(12px)}.project-load-card{width:min(390px,90vw);text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:25px;padding:35px;box-shadow:0 20px 80px #0005}.project-load-card>.mark{width:48px;height:48px;margin-bottom:22px}.project-load-card>.eyebrow{display:block;font-size:12px}.project-load-card h2{font-size:19px;line-height:1.5;margin:13px 0 10px;overflow-wrap:anywhere}.project-load-card p{font-size:12px;margin-bottom:24px}.project-load-card>strong{display:block;font-size:48px;font-weight:600;color:var(--red);letter-spacing:-2px;margin-bottom:20px}.project-load-card>strong span{font-size:19px;letter-spacing:0;margin-left:3px}.project-load-card .progress-bar{height:5px;margin-bottom:22px}.project-load-note{font-size:12px;letter-spacing:1.1px;color:var(--muted);display:block}.project-load-card>.text-button{margin-top:22px;font-size:12px}
/* Editing fills the available viewport; only tools and timeline scroll internally. */
body.studio-open{height:100dvh;overflow:hidden}.studio-open .shell{height:100dvh;min-height:0;overflow:hidden}.studio-open .main-area{height:100dvh;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.studio-open .topbar{flex:0 0 77px;position:relative}.studio-open .content{max-width:none;width:100%;margin:0;padding:16px 20px 12px;flex:1;min-height:0;overflow:hidden}.studio-editor{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;overflow:hidden}.editor-header{margin:0;min-height:44px;flex-shrink:0}.editor-project-title{display:flex;align-items:center;gap:13px;min-width:0}.editor-project-title>.icon-button{width:31px;height:31px;flex-shrink:0;background:none}.editor-project-title>.icon-button .icon{transform:rotate(180deg);width:17px;height:17px}.editor-project-title>div{min-width:0}.editor-project-title h1{font-size:18px;margin-top:6px;max-width:350px}.editor-project-title .eyebrow{font-size:12px}.studio-editing-shell{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;min-width:0;min-height:0;overflow:hidden}.studio-editing-shell.drawer-open{grid-template-columns:48px 260px minmax(0,1fr)}.studio-tool-rail{border:1px solid var(--line);border-radius:15px;padding:9px 5px;background:var(--surface);min-height:0;display:flex;flex-direction:column;gap:13px;overflow:visible;align-items:center}.studio-tool-rail>.icon-button{width:33px;height:33px;border:0;background:none;border-radius:10px;color:var(--muted);flex-shrink:0}.studio-tool-rail>.icon-button:hover{background:var(--surface3);color:var(--text)}.studio-tool-rail>.icon-button .icon{width:18px;height:18px}.studio-tool-rail .asset-tabs{display:flex;flex-direction:column;width:100%;border:0;padding:0;gap:8px;overflow:visible}.studio-tool-rail .asset-tabs button{width:36px;height:39px;display:grid;place-items:center;border-radius:10px;padding:9px;flex-shrink:0}.studio-tool-rail .asset-tabs button .icon{width:19px;height:19px}.studio-tool-rail .asset-tabs button span{display:none}.studio-tool-rail .asset-tabs button:hover{background:var(--surface3);color:var(--text)}.studio-tool-rail .asset-tabs button.active{background:var(--accent-bg);color:var(--red)}.studio-drawer{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;max-height:none!important;grid-row:auto!important}.studio-drawer-top{height:43px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 15px;border-bottom:1px solid var(--line);flex-shrink:0}.studio-drawer-top strong{font-size:12px}.studio-drawer-top .icon-button{height:25px;width:25px;background:none;border:0}.studio-drawer-top .icon{width:14px;height:14px}.studio-drawer .asset-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin}.studio-drawer .asset-heading{display:none}.studio-main-workspace{display:grid;grid-template-rows:minmax(120px,1fr) clamp(200px,34vh,380px);gap:12px;min-width:0;min-height:0;overflow:hidden}.studio-main-workspace .editor-viewer{min-height:0!important;min-width:0;grid-row:auto;border-radius:18px}.studio-main-workspace .viewer-canvas-wrap{min-height:0!important;padding:12px;overflow:hidden}.studio-main-workspace .studio-canvas{max-height:100%;border-radius:5px}.studio-main-workspace .viewer-bar{height:36px;flex:0 0 36px;padding:0 13px}.studio-main-workspace .viewer-transport{height:39px;flex:0 0 39px}.studio-main-workspace .viewer-meta{height:24px;flex:0 0 24px}.studio-main-workspace .editor-timeline{display:flex;flex-direction:column;margin:0;min-width:0;min-height:0;border-radius:17px}.studio-main-workspace .timeline-toolbar{flex-shrink:0;min-height:43px;height:auto;padding:7px 10px;gap:8px}.studio-main-workspace .timeline-scroll{max-height:none;min-height:0;flex:1;overflow:auto;scroll-behavior:auto}.studio-main-workspace .timeline-grid{padding-bottom:8px}.studio-main-workspace .studio-track-row{height:43px}.studio-main-workspace .studio-clip{top:5px;bottom:5px;min-width:15px;border-radius:6px}.studio-main-workspace .clip-name{font-size:12px}.studio-main-workspace .clip-video .clip-name,.studio-main-workspace .clip-audio .clip-name{font-size:12px;padding:3px 7px}.studio-main-workspace .clip-thumbnails{opacity:.98}.studio-main-workspace .clip-overlay-symbol .mark{width:22px;height:22px}.studio-main-workspace .timeline-ruler-row{height:30px}.studio-main-workspace .ruler-labels>span{top:6px;font-size:12px}.studio-main-workspace .timeline-bottom{padding:8px 12px;flex-shrink:0;gap:12px;min-height:25px}.studio-main-workspace .timeline-bottom>span:nth-child(2){font-size:12px;white-space:nowrap}.studio-open .editor-footnote{margin:0;font-size:12px;line-height:1.5;height:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.studio-open .editor-header-actions select{display:block;max-width:180px;padding:9px;font-size:12px}.studio-open .editor-header-actions{gap:9px}.studio-open .sidebar{overflow-y:auto;scrollbar-width:thin;overflow-x:hidden}.studio-tool-rail .asset-tabs button:focus-visible{outline-offset:1px}
@media(min-width:1550px){.studio-open .content{padding:18px 24px 13px}.studio-editing-shell.drawer-open{grid-template-columns:50px 280px minmax(0,1fr)}.studio-editing-shell{grid-template-columns:50px minmax(0,1fr)}.studio-project-thumb{height:230px}.studio-main-workspace{grid-template-rows:minmax(150px,1fr) clamp(260px,33vh,410px)}}
@media(max-width:1150px){.studio-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.studio-project-thumb{height:185px}.studio-editing-shell.drawer-open{grid-template-columns:44px 230px minmax(0,1fr)}.studio-editing-shell{grid-template-columns:44px minmax(0,1fr);gap:9px}.studio-tool-rail{padding:8px 3px}.studio-tool-rail .asset-tabs button{width:34px}.studio-open .content{padding:13px 14px 10px}.studio-editor{gap:10px}.studio-main-workspace{gap:9px}.studio-open .editor-header-actions select{max-width:140px}.studio-main-workspace .timeline-toolbar .timeline-count{display:none}.studio-main-workspace .timeline-bottom>span:nth-child(2){display:none}.studio-drawer .asset-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.studio-editing-shell.drawer-open{grid-template-columns:42px 215px minmax(0,1fr)}.studio-editing-shell{grid-template-columns:42px minmax(0,1fr)}.studio-tool-rail .asset-tabs button{width:32px}.studio-tool-rail .asset-tabs button .icon{width:18px;height:18px}.studio-open .editor-header-actions select{display:none}.studio-main-workspace .timeline-toolbar{gap:4px;padding:7px}.studio-main-workspace .timeline-action{font-size:12px;padding:6px;gap:4px}.studio-main-workspace .timeline-action .icon{width:11px;height:11px}.studio-main-workspace .timeline-zoom{margin-left:4px}.studio-main-workspace .timeline-zoom input{width:55px}.editor-project-title h1{max-width:260px;font-size:16px}.studio-drawer #clip-properties{display:block!important}}
@media(max-width:680px){.studio-gallery-grid{grid-template-columns:1fr}.studio-project-thumb{height:190px}.studio-project-card-info{padding:17px}.studio-project-card-info h3{font-size:13px}.studio-open .topbar{flex-basis:65px}.studio-open .content{padding:10px 9px 8px}.studio-editor{gap:8px}.editor-project-title{gap:6px}.editor-project-title h1{font-size:13px;max-width:170px;margin-top:5px}.editor-project-title .eyebrow{font-size:12px}.editor-project-title>.icon-button{width:23px;height:27px}.editor-project-title>.icon-button .icon{width:14px;height:14px}.studio-open .editor-header-actions{gap:5px}.studio-open .editor-header-actions .button{padding:9px;font-size:12px;gap:6px}.studio-open .editor-header-actions .button .icon{height:12px;width:12px}.studio-open .editor-header-actions #studio-save{font-size:0;gap:0}.studio-editing-shell{grid-template-columns:38px minmax(0,1fr);gap:7px;position:relative}.studio-editing-shell.drawer-open{grid-template-columns:38px minmax(0,1fr)}.studio-tool-rail{padding:7px 2px;border-radius:13px;gap:12px}.studio-tool-rail>.icon-button{height:28px;width:30px}.studio-tool-rail .asset-tabs{display:flex;flex-direction:column;gap:8px}.studio-tool-rail .asset-tabs button{width:31px;height:37px;padding:7px;display:grid;place-items:center}.studio-tool-rail .asset-tabs button span{display:none}.studio-drawer{position:absolute;left:45px;top:0;bottom:0;width:min(260px,calc(100% - 45px));z-index:12;box-shadow:15px 0 45px #0008;border-radius:15px}.studio-main-workspace{grid-template-rows:minmax(110px,1fr) clamp(190px,37vh,290px);gap:8px}.studio-main-workspace .viewer-bar{font-size:12px;height:27px;flex-basis:27px;padding:0 8px}.studio-main-workspace .viewer-bar .icon-button{height:20px;width:20px}.studio-main-workspace .viewer-canvas-wrap{padding:8px}.studio-main-workspace .viewer-transport{height:33px;flex-basis:33px;padding:0 8px}.studio-main-workspace .viewer-transport>span{font-size:12px;letter-spacing:0}.studio-main-workspace .viewer-transport>div{gap:7px}.studio-main-workspace .viewer-meta{font-size:12px;height:21px;flex-basis:21px;padding:0 8px}.studio-main-workspace .viewer-meta .text-button{font-size:12px}.studio-main-workspace .editor-timeline{border-radius:14px}.studio-main-workspace .timeline-toolbar{padding:5px;gap:4px;flex-wrap:wrap;min-height:65px}.studio-main-workspace .timeline-toolbar>div:first-child{width:100%;gap:1px}.studio-main-workspace .timeline-toolbar>div:last-child{width:100%;justify-content:space-between;padding-top:3px}.studio-main-workspace .timeline-action{font-size:12px;padding:5px;gap:3px}.studio-main-workspace .timeline-toolbar .icon-button{width:21px;height:21px;font-size:15px}.studio-main-workspace .timeline-toolbar .timeline-count{display:inline;font-size:12px}.studio-main-workspace .timeline-zoom{font-size:12px;gap:5px}.studio-main-workspace .timeline-zoom input{width:50px}.studio-main-workspace .timeline-bottom{padding:7px 8px;font-size:12px;min-height:21px}.studio-main-workspace .timeline-bottom>span:first-child{font-size:12px;max-width:135px}.studio-main-workspace .studio-track-row{height:42px}.studio-open .editor-footnote{font-size:12px}.rail-tooltip{font-size:12px;padding:7px 10px}.project-load-card{padding:29px}.project-load-card>strong{font-size:43px}}
@media(max-height:650px) and (min-width:681px){.studio-open .content{padding-top:9px;padding-bottom:7px}.studio-editor{gap:8px}.editor-header{min-height:34px}.editor-project-title .eyebrow{display:none}.editor-project-title h1{margin:0}.studio-main-workspace{grid-template-rows:minmax(90px,1fr) 210px;gap:7px}.studio-main-workspace .viewer-bar{height:28px;flex-basis:28px}.studio-main-workspace .viewer-transport{height:30px;flex-basis:30px}.studio-main-workspace .viewer-meta{height:20px;flex-basis:20px}.studio-main-workspace .timeline-toolbar{min-height:34px;padding:5px 8px}.studio-tool-rail{gap:7px}.studio-tool-rail .asset-tabs{gap:4px}.studio-tool-rail .asset-tabs button{height:32px}}
@media(max-height:520px){.studio-main-workspace{grid-template-rows:minmax(0,1fr) minmax(100px,48%)}.studio-main-workspace .viewer-bar{height:22px;flex-basis:22px}.studio-main-workspace .viewer-meta{display:none}.studio-main-workspace .viewer-transport{height:27px;flex-basis:27px}.studio-open .editor-footnote{display:none}.studio-editor{grid-template-rows:auto minmax(0,1fr)}.studio-open .content{padding-top:8px;padding-bottom:8px}.studio-open .sidebar-collapsed .side-nav a{height:35px;padding:8px}}
/* Neutral selection and a branded active-user avatar. */
:root{--accent-bg:#222}body.light{--accent-bg:#ededed}.side-nav a.active,.settings-nav a.active,.account-modal-layout>nav>button.active,.studio-tool-rail .asset-tabs button.active{background:var(--surface3);color:var(--text)}.side-nav a.active>.icon,.settings-nav a.active>.icon,.account-modal-layout>nav>button.active>.icon,.studio-tool-rail .asset-tabs button.active>.icon{color:var(--red)}.filter.active{background:var(--surface3);color:var(--text);border-color:#4c4c4c}.avatar{overflow:hidden;position:relative;background:#171717;border-color:#3c3c3c}.avatar>.gorilla-avatar{display:block;width:100%;height:100%;object-fit:cover;object-position:52% 27%;transform:scale(1.4)}.profile-hero .avatar{background:#171717;color:var(--text);border:1px solid var(--line)}.side-profile .avatar:after,.topbar-right>.avatar:after{content:'';position:absolute;right:1px;bottom:1px;z-index:2;height:5px;width:5px;border:2px solid var(--surface);border-radius:50%;background:#81b89a}.user-popover{width:280px;border-radius:17px}.user-popover .popover-user{padding:16px;gap:10px}.user-popover .popover-user>.avatar{width:31px;height:31px;flex-shrink:0}.user-popover .popover-user strong{font-size:12px}.user-popover .popover-user small{font-size:12px;max-width:145px;margin-top:4px}.user-popover .popover-user>.pill{padding:5px 7px;font-size:12px}.user-popover .menu-credit-summary{padding:14px 16px;gap:10px}.user-popover .menu-credit-summary small{font-size:12px;margin-bottom:7px}.user-popover .menu-credit-summary strong{font-size:20px}.user-popover .menu-credit-summary strong span{font-size:12px}.user-popover .popover-links{padding:8px}.user-popover .popover-links a,.user-popover .popover-links button{padding:9px 11px;font-size:12px;border-radius:10px;gap:10px}.user-popover .popover-links .icon{width:15px;height:15px}.user-popover .popover-links a>.icon:last-child{width:12px;height:12px}.user-popover .popover-footnote{padding:10px 16px;font-size:12px}.user-popover .menu-credit-summary .progress-bar{height:3px}.studio-navbar-actions{margin-left:auto;flex-shrink:0}.studio-open .topbar-right{margin-left:10px}.studio-open .topbar{gap:14px}.studio-open .topbar-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.studio-open .studio-navbar-actions select{max-width:150px;font-size:12px;padding:8px 9px}.studio-open .studio-navbar-actions .button{padding:10px 14px;font-size:12px;gap:8px}.studio-open .studio-navbar-actions .button .icon{width:14px;height:14px}.studio-open .editor-header{min-height:36px}.studio-open .editor-project-title h1{margin:0;font-size:17px;max-width:none}.studio-open .editor-project-title .eyebrow{display:none}.studio-navbar-actions .editor-saved{font-size:12px}
/* Track headings are an opaque boundary; clips and needle cannot paint over them. */
.studio-track-lane{isolation:isolate;z-index:0;overflow:hidden}.track-heading{z-index:30;background:var(--surface);box-shadow:1px 0 0 var(--line)}.studio-ruler{isolation:isolate;z-index:0;overflow:hidden;cursor:default}.timeline-ruler-row .track-heading{z-index:35;background:var(--surface2)}.lane-playhead{z-index:22;pointer-events:none!important}.lane-playhead:before{display:none}.studio-clip.selected{z-index:6}.studio-clip.pointer-dragging{z-index:12}.ruler-playhead{top:17px;bottom:0;height:auto;z-index:22;pointer-events:none!important}.ruler-playhead:before{display:none}.ruler-playhead-head{position:absolute;top:-13px;left:-6px;width:14px;height:12px;padding:0;display:block;background:var(--red);border:0;clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);pointer-events:auto;touch-action:none;cursor:ew-resize}.ruler-playhead-head:focus-visible{outline:1px solid #fff;outline-offset:-1px}.ruler-playhead-head:hover{background:#ff6565}.monitor-expanded .studio-main-workspace{grid-template-rows:minmax(0,1fr);height:100%}.monitor-expanded .studio-main-workspace .editor-timeline{display:none}.monitor-expanded .editor-viewer{height:100%;min-height:0!important}.monitor-expanded .studio-main-workspace .viewer-canvas-wrap{padding:16px}.monitor-expanded .studio-editing-shell{grid-template-columns:48px minmax(0,1fr)}.monitor-expanded .studio-drawer{display:none!important}.monitor-expanded .editor-footnote{display:none}.monitor-expanded .studio-editor{grid-template-rows:auto minmax(0,1fr)}
@media(max-width:1150px){.studio-open .studio-navbar-actions select{display:none}.studio-open .studio-navbar-actions{gap:6px}.studio-open .studio-navbar-actions .button{font-size:12px;padding:10px 12px}.studio-open .topbar{gap:10px}.studio-open .topbar-right{margin-left:6px}.studio-open .topbar-label{font-size:12px}.studio-navbar-actions .editor-saved{display:none}}
@media(max-width:680px){.user-popover{width:auto}.studio-open .topbar-right>.pill{display:none}.studio-open .topbar-label{display:none}.studio-open .topbar{gap:7px}.studio-open .studio-navbar-actions{margin-left:auto;gap:5px}.studio-open .studio-navbar-actions .button{padding:9px 10px;font-size:12px;gap:5px}.studio-open .studio-navbar-actions #studio-save{font-size:12px;gap:5px}.studio-open .studio-navbar-actions .button .icon{width:12px;height:12px}.studio-open .topbar-right{gap:5px;margin-left:3px}.studio-open .topbar-right .icon-button{height:28px;width:28px}.studio-open .topbar-right .avatar{height:29px;width:29px}.studio-open .topbar-right .icon-button .icon{height:15px;width:15px}.studio-open .editor-project-title h1{font-size:14px;max-width:260px}.studio-open .editor-header{min-height:29px}.monitor-expanded .studio-editing-shell{grid-template-columns:38px minmax(0,1fr)}.ruler-playhead-head{width:16px;height:14px;left:-7px;top:-14px}}
/* Shared, transparent scroll tracks and compact panel controls. */
:root{--scroll-thumb:#505050;--scroll-hover:#717171}body.light{--scroll-thumb:#aaa;--scroll-hover:#858585}html,body,body *{scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent}html::-webkit-scrollbar,body::-webkit-scrollbar,body *::-webkit-scrollbar{width:6px!important;height:6px!important}html::-webkit-scrollbar-track,body::-webkit-scrollbar-track,body *::-webkit-scrollbar-track,body *::-webkit-scrollbar-corner{background:transparent!important;border:0!important}html::-webkit-scrollbar-thumb,body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{background:var(--scroll-thumb)!important;border-radius:20px;border:0!important}body *::-webkit-scrollbar-thumb:hover{background:var(--scroll-hover)!important}.panel-icon{fill:none;stroke:currentColor;stroke-width:1.6}.sidebar-collapse{width:25px;height:25px;background:transparent}.sidebar-collapse .icon,#studio-panel-toggle .icon{width:17px;height:17px}.sidebar-collapsed .sidebar-brand-shell .logo:after{width:19px;height:19px}.shell{transition:grid-template-columns .28s cubic-bezier(.2,.7,.2,1)}.sidebar{transition:padding .28s ease}.side-nav a{transition:background .18s ease,padding .28s ease}.studio-tool-rail>.icon-button{width:28px;height:28px}.studio-editing-shell{grid-template-columns:48px 0px minmax(0,1fr);column-gap:0;transition:grid-template-columns .28s cubic-bezier(.2,.7,.2,1)}.studio-editing-shell.drawer-open{grid-template-columns:48px 272px minmax(0,1fr)}.studio-drawer{display:flex!important;min-width:0;width:auto;margin-left:12px;opacity:0;visibility:hidden;transform:translateX(-8px);transition:opacity .2s ease,transform .28s ease,visibility .28s;border-radius:15px}.drawer-open>.studio-drawer{opacity:1;visibility:visible;transform:none}.studio-drawer>*{min-width:0}.studio-drawer .asset-content{width:100%;box-sizing:border-box}.studio-main-workspace{margin-left:12px}.studio-open .studio-editor{grid-template-rows:minmax(0,1fr) auto}.studio-open .editor-project-title{flex:1;min-width:0;gap:10px}.studio-open .editor-project-title h1{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}.studio-open .editor-project-title>div{overflow:hidden}.studio-open .topbar-right>.pill,.studio-navbar-actions #studio-project{display:none}.studio-navbar-actions{margin-left:auto}.studio-open .topbar-right{flex-shrink:0}.studio-open .topbar{padding-left:20px;padding-right:20px}.studio-open .editor-project-title>a{width:28px;height:28px}.studio-open .studio-navbar-actions .button{padding:9px 12px}.studio-dropzone{width:100%;min-height:100px;border:1px dashed #555;border-radius:12px;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin-bottom:16px;padding:15px;cursor:pointer}.studio-dropzone .icon{width:23px;height:23px}.studio-dropzone strong{font-size:12px;color:var(--text)}.studio-dropzone span{font-size:12px}.studio-dropzone:hover{border-color:#999;background:var(--surface2)}.studio-drop-active{outline:2px solid var(--red);outline-offset:-3px;background:#ff1a1a0e!important}.asset-audio-thumb{height:80px;display:grid;place-items:center;background:#18362d;color:#77d4a6}.asset-audio-thumb .icon{width:28px;height:28px}.studio-format-controls{display:flex;align-items:center;gap:5px}.format-icon{width:25px;height:23px;border:1px solid transparent;border-radius:6px;display:grid;place-items:center;color:var(--muted);background:transparent}.format-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.format-icon:hover,.format-icon.active{color:var(--text);background:var(--surface3);border-color:var(--line)}.studio-preview-texts,.studio-preview-overlays{pointer-events:none}.studio-preview-texts [data-preview-clip],.studio-preview-overlays [data-preview-clip]{pointer-events:auto;cursor:pointer}.studio-canvas>img,.studio-canvas>video{cursor:pointer;transform-origin:center;will-change:transform,opacity}.studio-transition-ghost{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}.studio-transition-ghost>img,.studio-transition-ghost>video{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.studio-preview-overlays,.studio-preview-texts{z-index:2}#studio-transform-controls{position:absolute;inset:0;z-index:6;pointer-events:none}.studio-selection-frame{position:absolute;border:1px solid #f1f1f1;box-shadow:0 0 0 1px #1118;pointer-events:auto;cursor:move;touch-action:none;transform-origin:center;box-sizing:border-box}.transform-pin{position:absolute;width:10px;height:10px;background:#fff;border:1px solid #444;border-radius:2px;pointer-events:auto;touch-action:none;padding:0}.pin-nw{left:2px;top:2px;cursor:nwse-resize}.pin-ne{right:2px;top:2px;cursor:nesw-resize}.pin-sw{left:2px;bottom:2px;cursor:nesw-resize}.pin-se{right:2px;bottom:2px;cursor:nwse-resize}.rotate-pin{left:calc(50% - 5px);top:10px;border-radius:50%;cursor:grab}.transform-rotation-stem{position:absolute;left:50%;top:0;height:10px;border-left:1px solid #fff}.confirmation-copy{line-height:1.7;font-size:13px}.transform-fields{padding:10px 0;border-top:1px solid var(--line);margin:10px 0}.transform-fields .field-row{margin-bottom:8px}.studio-aspect-label{display:none}.studio-canvas .transition-dissolve,.studio-canvas .transition-slide{animation:none}
@media(min-width:1550px){.studio-editing-shell{grid-template-columns:50px 0px minmax(0,1fr)}.studio-editing-shell.drawer-open{grid-template-columns:50px 292px minmax(0,1fr)}}
@media(max-width:1150px){.studio-editing-shell{grid-template-columns:44px 0px minmax(0,1fr)}.studio-editing-shell.drawer-open{grid-template-columns:44px 242px minmax(0,1fr)}.studio-open .editor-project-title h1{max-width:280px;font-size:12px}.studio-main-workspace{margin-left:9px}}
@media(max-width:900px){.studio-editing-shell{grid-template-columns:42px 0px minmax(0,1fr)}.studio-editing-shell.drawer-open{grid-template-columns:42px 227px minmax(0,1fr)}.studio-open .editor-project-title h1{max-width:210px}}
@media(max-width:680px){.studio-editing-shell,.studio-editing-shell.drawer-open{grid-template-columns:38px minmax(0,1fr)}.studio-drawer{margin-left:0;left:45px;width:min(260px,calc(100% - 45px));transition:opacity .2s ease,transform .24s ease,visibility .24s}.studio-main-workspace{margin-left:7px}.studio-open .editor-project-title{gap:4px}.studio-open .editor-project-title h1{max-width:115px;font-size:12px}.studio-open .topbar{padding:0 9px;gap:4px}.studio-open .topbar-right #theme-toggle{display:none}.studio-open .studio-navbar-actions .button{font-size:0!important;gap:0;padding:9px}.studio-navbar-actions .editor-saved{display:none}.studio-open .topbar-right{gap:4px}.format-icon{width:22px;height:21px}}
.monitor-expanded .studio-editing-shell{grid-template-columns:48px 0px minmax(0,1fr)}.monitor-expanded .studio-editor{grid-template-rows:minmax(0,1fr)}
@media(max-width:680px){.monitor-expanded .studio-editing-shell{grid-template-columns:38px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.shell,.sidebar,.side-nav a,.studio-editing-shell,.studio-drawer{transition:none}}
.studio-tool-rail{grid-column:1;grid-row:1}.studio-drawer{grid-column:2;grid-row:1!important}.studio-main-workspace{grid-column:3;grid-row:1}.studio-open .studio-navbar-actions select{display:none!important}.studio-open .studio-editor>.editor-footnote{grid-row:2}.studio-open .studio-editor>.studio-editing-shell{grid-row:1}
@media(max-width:680px){.studio-main-workspace{grid-column:2}}
/* Both panels reveal fixed-width content while the workspace follows their width. */
:root{--panel-duration:300ms;--panel-ease:cubic-bezier(.2,.7,.2,1)}
@media(min-width:681px){.shell{transition:grid-template-columns var(--panel-duration) var(--panel-ease)}.sidebar{overflow-x:hidden;transition:padding var(--panel-duration) var(--panel-ease)}.side-nav a,.sidebar-collapsed .side-nav a{font-size:12px;justify-content:flex-start;width:100%;gap:11px;padding:12px 13px;overflow:hidden;min-height:44px;box-sizing:border-box}.side-nav a>.icon,.sidebar-collapsed .side-nav a>.icon{width:20px;height:20px;flex:0 0 20px}.sidebar-collapsed .side-nav a{padding:12px}.sidebar-menu-label{display:block;white-space:nowrap;overflow:hidden;max-width:150px;opacity:1;transform:translateX(0);transition:max-width var(--panel-duration) var(--panel-ease),opacity 180ms ease,transform var(--panel-duration) var(--panel-ease)}.sidebar-collapsed .sidebar-menu-label{max-width:0;opacity:0;transform:translateX(-7px)}.sidebar-brand-shell .logo>span{display:block;overflow:hidden;white-space:nowrap;max-width:160px;opacity:1;transition:max-width var(--panel-duration) var(--panel-ease),opacity 160ms ease}.sidebar-collapsed .sidebar-brand-shell .logo>span{display:block!important;max-width:0;opacity:0}.nav-label{max-height:14px;opacity:1;overflow:hidden;white-space:nowrap;transition:opacity 150ms ease,max-height var(--panel-duration) ease,margin var(--panel-duration) ease}.sidebar-collapsed .nav-label{display:block!important;max-height:0;opacity:0;margin-top:0;margin-bottom:0}.nav-badge{max-width:28px;opacity:1;transition:max-width var(--panel-duration) ease,opacity 150ms ease}.sidebar-collapsed .nav-badge{display:block!important;max-width:0;opacity:0;overflow:hidden;padding:0}.side-profile>div{min-width:0;max-width:140px;overflow:hidden;white-space:nowrap;opacity:1;transition:max-width var(--panel-duration) ease,opacity 160ms ease}.sidebar-collapsed .side-profile>div{display:block!important;max-width:0;opacity:0}.credit-card{max-height:150px;opacity:1;overflow:hidden;transition:max-height var(--panel-duration) ease,padding var(--panel-duration) ease,opacity 150ms ease,border-width var(--panel-duration) ease}.sidebar-collapsed .credit-card{display:block!important;max-height:0;opacity:0;padding:0;border-width:0;margin-bottom:0}.sidebar-brand-shell{overflow:hidden}.sidebar-collapsed .sidebar-brand-shell .logo{gap:0;flex-shrink:0}.sidebar-collapsed .side-profile{gap:0}}
.studio-editing-shell{--studio-drawer-width:260px;transition:grid-template-columns var(--panel-duration) var(--panel-ease)}.studio-editing-shell.drawer-open{grid-template-columns:48px calc(var(--studio-drawer-width) + 12px) minmax(0,1fr)}.studio-drawer{border:0;box-shadow:inset 0 0 0 1px var(--line);transition:opacity 180ms ease,transform var(--panel-duration) var(--panel-ease),visibility var(--panel-duration);overflow:hidden}.studio-drawer .studio-drawer-top,.studio-drawer .asset-content{width:var(--studio-drawer-width);min-width:var(--studio-drawer-width);box-sizing:border-box;transform:translateX(-9px);opacity:0;transition:transform var(--panel-duration) var(--panel-ease),opacity 180ms ease}.drawer-open .studio-drawer-top,.drawer-open .asset-content{transform:translateX(0);opacity:1}.studio-drawer .asset-content{overflow:auto}.studio-visual-layers{position:absolute;inset:0;pointer-events:none;overflow:hidden}.studio-visual-layer{position:absolute;pointer-events:auto;transform-origin:center;touch-action:none;cursor:move;will-change:transform,opacity}.studio-visual-layer[hidden]{display:none!important}.studio-live-media{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.studio-live-text{font-weight:800;line-height:1.2;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;text-shadow:0 2px 14px #0009;pointer-events:none}.studio-selection-frame{pointer-events:none;cursor:default}.transform-pin{pointer-events:auto}.sequence-format-picker{display:flex;gap:9px;margin:12px 0 20px}.sequence-format-picker .format-icon{width:42px;height:38px;border-color:var(--line)}.sequence-format-picker svg{width:24px;height:24px}.studio-export-progress{padding:10px 0}.studio-export-progress>strong{font-size:42px;letter-spacing:-2px}.studio-export-progress>p{font-size:12px;line-height:1.7;margin:12px 0}.studio-export-progress .progress-bar{margin:18px 0}.studio-export-progress>.button{margin-top:15px}.export-options>button:disabled{opacity:.4;cursor:not-allowed}#studio-sequence-form>label,#studio-layer-form>label{display:block;margin:16px 0}#studio-storage-status{max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-note.missing-media-note{color:#ffb7a1}.studio-media-reconnect{width:100%;text-align:left;padding:10px;background:var(--surface3);border:1px solid var(--line);border-radius:9px;margin-bottom:8px;font-size:12px;color:var(--text)}
@media(min-width:1550px){.studio-editing-shell{--studio-drawer-width:280px}.studio-editing-shell.drawer-open{grid-template-columns:50px calc(var(--studio-drawer-width) + 12px) minmax(0,1fr)}}
@media(max-width:1150px){.studio-editing-shell{--studio-drawer-width:230px}.studio-editing-shell.drawer-open{grid-template-columns:44px calc(var(--studio-drawer-width) + 12px) minmax(0,1fr)}}
@media(max-width:900px){.studio-editing-shell{--studio-drawer-width:215px}.studio-editing-shell.drawer-open{grid-template-columns:42px calc(var(--studio-drawer-width) + 12px) minmax(0,1fr)}}
@media(max-width:680px){.studio-editing-shell{--studio-drawer-width:260px}.studio-editing-shell.drawer-open{grid-template-columns:38px minmax(0,1fr)}.studio-drawer{width:min(260px,calc(100% - 45px))}.studio-drawer .studio-drawer-top,.studio-drawer .asset-content{min-width:0;width:100%}#studio-storage-status{max-width:100px}.sequence-format-picker .format-icon{width:38px;height:34px}}
.monitor-expanded .studio-editing-shell{grid-template-columns:48px 0px minmax(0,1fr)}
@media(max-width:680px){.monitor-expanded .studio-editing-shell{grid-template-columns:38px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.sidebar-menu-label,.side-profile>div,.sidebar-brand-shell .logo>span,.credit-card,.nav-label,.nav-badge,.studio-drawer .studio-drawer-top,.studio-drawer .asset-content{transition:none}}
.sidebar-collapsed .sidebar-brand-shell .logo:after{width:17px;height:17px}

.transition-target{margin:0 0 14px;font-size:12px;line-height:1.5;color:var(--text)}.transition-presets button.active{border-color:var(--muted);background:var(--surface3)}.transition-presets button:disabled{opacity:.4;cursor:not-allowed}
.ruler-playhead,.lane-playhead{left:0!important;transform:translate3d(var(--studio-playhead-x,0px),0,0);will-change:transform}.ruler-playhead-head{touch-action:none;user-select:none;-webkit-user-select:none}
.effects-panel{display:flex;flex-direction:column;gap:14px}.effects-panel-tabs{display:flex;gap:4px;background:var(--surface2);padding:4px;border:1px solid var(--line);border-radius:10px}.effects-panel-tabs>button{flex:1;padding:9px 6px;font-size:12px;border-radius:7px;color:var(--muted)}.effects-panel-tabs>button.active{background:var(--surface3);color:var(--text)}.effects-target{border-bottom:1px solid var(--line);padding-bottom:13px;min-width:0}.effects-target>span{font-size:12px;letter-spacing:1px;color:var(--muted);display:block;margin-bottom:7px}.effects-target>strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transition-edge-picker{display:flex;gap:5px;margin-bottom:13px}.transition-edge-picker>button{flex:1;border:1px solid var(--line);border-radius:8px;padding:9px;font-size:12px;color:var(--muted)}.transition-edge-picker>button.active{background:var(--surface3);color:var(--text);border-color:#666}.effect-field-row{display:grid;grid-template-columns:minmax(0,1fr) 75px;gap:9px}.effect-field-row label{font-size:12px;color:var(--muted);min-width:0}.effect-field-row input,.effect-field-row select{width:100%;min-width:0;margin-top:7px;padding:9px 7px;font-size:12px;border-radius:8px}.effects-library{display:grid;grid-template-columns:1fr 1fr;gap:10px}.effects-library>button{padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);text-align:left;cursor:grab;min-width:0}.effects-library>button:active{cursor:grabbing}.effects-library>button:hover{background:var(--surface3);border-color:#777}.effects-library>button.active{border-color:#aaa;background:var(--surface3)}.effects-library>button>strong{font-size:12px;display:block;margin-top:10px}.effects-library>button>small{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;align-items:center;gap:5px;line-height:1.5;margin-top:6px}.effects-library .transition-art{height:48px;border-radius:7px}.effects-library .icon{width:12px;height:12px}.effects-help{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.applied-effects-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;font-size:12px}.applied-effects-heading>span{font-size:12px;color:var(--muted)}.studio-applied-effects{display:flex;flex-direction:column;gap:9px}.applied-effect{display:grid;grid-template-columns:22px minmax(0,1fr) 22px 22px;align-items:center;gap:6px;border:1px solid var(--line);border-radius:10px;background:var(--surface2);padding:10px 8px}.applied-effect-icon{color:var(--muted);font-size:16px;text-align:center}.applied-effect-icon .icon{width:15px;height:15px}.applied-effect>div{min-width:0}.applied-effect strong{font-size:12px;display:block}.applied-effect small{font-size:12px;line-height:1.5;color:var(--muted);display:block;margin-top:5px}.applied-effect .icon-button{width:22px;height:23px;padding:4px;border:0;background:transparent}.applied-effect .icon-button .icon{width:13px;height:13px}.applied-effect .icon-button:disabled{opacity:.3}.effect-with-strength>label{grid-column:1/-1;font-size:12px;color:var(--muted);margin-top:8px}.effect-with-strength output{float:right;color:var(--text)}.effect-with-strength input{width:100%;padding:0;height:5px;margin-top:10px}.effects-empty{font-size:12px;line-height:1.6;color:var(--muted);padding:13px;border:1px dashed var(--line);border-radius:10px}.effect-preview{display:grid;place-items:center;height:46px;font-size:27px;border-radius:7px;background:linear-gradient(125deg,#55484f,#242b33);color:#e0dfe2}.effect-bw{filter:grayscale(1)}.effect-sepia{filter:sepia(.8)}.effect-contrast{filter:contrast(1.4)}.effect-cinema{filter:contrast(1.18) saturate(.7) brightness(.92)}.studio-live-solid{width:100%;height:100%;pointer-events:none}.studio-visual-layer:has(.studio-live-solid){pointer-events:none}.studio-effect-drop-target{outline:2px solid #fff!important;outline-offset:-2px;background:#ff1a1a33!important}.clip-edge-effect{position:absolute;bottom:2px;padding:2px;border-radius:4px;background:#151515d9;color:#fff;border:1px solid #ffffff77;pointer-events:none;z-index:3}.clip-edge-in{left:8px}.clip-edge-out{right:8px}.clip-edge-effect .icon{width:9px;height:9px;display:block}.clip-fx-label{position:absolute;right:5px;top:3px;z-index:3;background:#111c;color:#fff;font-size:12px;line-height:1;padding:3px;border-radius:3px;pointer-events:none}
.ruler-playhead-head{width:26px;height:18px;left:-13px;top:-17px;background:transparent;clip-path:none}.ruler-playhead-head:after{content:'';position:absolute;left:6px;top:4px;width:14px;height:12px;background:var(--red);clip-path:polygon(0 0,100% 0,100% 55%,50% 100%,0 55%);pointer-events:none}.ruler-playhead-head:hover{background:transparent}.ruler-playhead-head:hover:after{background:#ff6565}

/* Final shared UI rules. Scene colours and timeline track colours remain media content. */
:root{--muted:#a6a6aa;--action:#d91c28;--selection:#f3f3f4;--focus:#ff727b;--radius:20px;--radius-control:12px;--radius-small:10px;--viewer-bg:#101012;--notice-bg:#202024}
body.light{--muted:#606067;--action:#c91723;--selection:#17171b;--focus:#bd1420;--viewer-bg:#ececee;--notice-bg:#f1f1f4}
body{font-size:14px;line-height:1.5}
.button,.button.small{font-size:13px;min-height:38px;border-radius:var(--radius-control);gap:9px}
.button.primary{background:var(--action)}
.button.primary:hover{background:#ba1420}
.button:disabled,button:disabled{opacity:.4;cursor:not-allowed}
.button:disabled:hover,button:disabled:hover{transform:none}
.icon{stroke-width:1.65}
.icon-button{border-radius:var(--radius-small)}
.icon-button:disabled:hover{background:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
input,select,textarea{font-size:14px;border-radius:var(--radius-small)}
label{font-size:13px}
.page-heading p,.form-note,.bottom-note,.preview-description{font-size:13px;line-height:1.75}
.pill,.eyebrow,.nav-label{font-size:11px;line-height:1.5}
.panel,.stat-card,.quick-card,.catalog-card,.plan-card{border-radius:var(--radius)}
.stat-card label{font-size:13px;margin-bottom:13px}
.stat-card small{font-size:12px;line-height:1.6}
.quick-card p,.catalog-card p,.media-card p,.media-card small,.media-meta,.project-meta{font-size:13px;line-height:1.65}
.catalog-card .button,.heading-actions .button,.preview-actions .button{font-size:13px}
.switch-row strong{font-size:14px}
.switch-row small{font-size:12px;line-height:1.65}
.side-nav a,.sidebar-collapsed .side-nav a{font-size:13px}
.sidebar-menu-label{max-width:160px}
.sidebar-collapsed .sidebar-menu-label{max-width:0}
.nav-label{max-height:20px}
.sidebar-collapsed .nav-label{max-height:0}
.credit-card small{font-size:10px;letter-spacing:.3px}
.credit-card a,.side-profile small{font-size:12px}
.topbar-label{font-size:13px}
.topbar-right>.pill{font-size:10px}
.auth-card>p,.auth-footer,.auth-options,.auth-back{font-size:13px}
.auth-card label{font-size:13px}
.auth-card input{font-size:15px}
.auth-art-copy p{font-size:14px}
.user-popover .popover-user strong{font-size:13px}
.user-popover .popover-user small{font-size:12px;max-width:145px;overflow-wrap:anywhere}
.user-popover .popover-user>.pill{font-size:10px;padding:4px 7px}
.user-popover .menu-credit-summary small{font-size:10px;line-height:1.5}
.user-popover .menu-credit-summary strong{font-size:23px}
.user-popover .menu-credit-summary strong span{font-size:11px}
.user-popover .popover-links a,.user-popover .popover-links button{font-size:13px;min-height:38px;padding:10px}
.user-popover .popover-footnote{font-size:11px;line-height:1.6}
.popover-header h3{font-size:16px}
.popover-header h3 span,.popover-header .text-button,.popover-footer .text-button,.popover-footer .button{font-size:12px}
.popup-notice{position:relative;border:1px solid transparent;padding:14px 12px 14px 18px}
.popup-notice.unread{background:var(--notice-bg);border-color:var(--line)}
.popup-notice.unread:before,.notice-item.unread:before{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:var(--red);left:6px;top:22px}
.popup-notice strong,.notice-item>a>strong{font-size:13px;line-height:1.6}
.popup-notice p,.notice-item p{font-size:12px;line-height:1.65;color:var(--muted)}
.popup-notice small,.notice-item small{font-size:11px}
.notice-item{position:relative}
.notice-item.unread{border-color:var(--line);background:var(--notice-bg)}
.notice-item.unread:before{left:7px;top:31px}
dialog{max-width:520px;padding:28px;border-radius:22px}
dialog p,.confirmation-copy{font-size:14px;line-height:1.7}
.modal-close,.account-modal-close{width:34px;height:34px;display:grid;place-items:center;padding:7px}
.modal-close .icon,.account-modal-close .icon{width:19px;height:19px}
.account-settings-dialog{width:min(880px,calc(100vw - 48px));max-width:880px;height:min(660px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;border-radius:22px;transition:width .2s ease,height .2s ease}
.account-settings-dialog.account-compact{width:min(760px,calc(100vw - 48px));height:min(600px,calc(100dvh - 48px))}
.account-modal-layout{grid-template-columns:176px minmax(0,1fr)}
.account-modal-layout>nav{padding:24px 10px}
.account-modal-layout>nav>button{font-size:12px;padding:11px 9px;gap:9px;min-height:40px}
.modal-account-footer,.modal-account-footer small{font-size:11px}
#account-settings-content{padding:30px 24px}
#account-settings-content>.page-heading{gap:14px;flex-wrap:wrap}
#account-settings-content>.page-heading h1{font-size:24px}
#account-settings-content>.page-heading p{font-size:13px}
#account-settings-content .heading-actions .button{font-size:12px}
#account-settings-content .panel,#account-settings-content .plan-card,#account-settings-content .stat-card{border-radius:18px}
#account-settings-content .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#account-settings-content .stat-card label{font-size:12px}
#account-settings-content .stat-card small{font-size:12px}
#account-settings-content .plan-card li,.plan-card li{font-size:13px;line-height:1.6}
#account-settings-content .plan-grid{grid-template-columns:1fr}
#account-settings-content .plan-card ul{grid-template-columns:1fr 1fr;gap:12px}
#account-settings-content .plan-card{display:flex;flex-direction:column;align-items:flex-start}
#account-settings-content .plan-card .pill{margin-bottom:10px}
#account-settings-content .plan-card h3{margin-bottom:0}
#account-settings-content .plan-card .plan-price{margin:12px 0}
#account-settings-content .plan-card ul{width:100%;margin:12px 0 18px}
#account-settings-content .bottom-note{font-size:12px}
#account-settings-content .profile-hero p,#account-settings-content .settings-shortcuts small{font-size:12px}
.settings-shortcuts strong,.usage-bars>div>div:first-child,.current-plan p,.current-plan-meta{font-size:13px}
.usage-bars strong,.usage-bars strong small,.activity-metrics span{font-size:12px}
.account-table{min-width:0;table-layout:auto}
#account-settings-content .account-table{min-width:0}
.account-table th{font-size:11px;letter-spacing:0;padding:12px 9px;white-space:normal}
.account-table td{font-size:12px;padding:16px 9px;white-space:normal;overflow-wrap:anywhere}
.account-table td strong{font-size:13px}
.account-table td small{font-size:11px;line-height:1.6}
.status-badge{font-size:11px;white-space:normal}
.account-table .icon-button{width:34px;height:34px}
.studio-open .topbar{min-width:0;gap:16px;padding:0 18px}
.studio-open .editor-project-title{flex:1 1 auto;min-width:0}
.studio-open .editor-project-title h1{font-size:16px;max-width:none;margin:0;line-height:1.4}
.studio-open .editor-project-title>a{width:34px;height:34px;flex:0 0 34px}
.studio-navbar-actions{gap:8px;flex-shrink:0}
.studio-open .studio-navbar-actions .button,.studio-open .studio-navbar-actions #studio-save{font-size:13px!important;gap:7px;padding:8px 12px;min-height:36px}
.studio-navbar-actions .editor-saved{font-size:11px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-open .topbar-right{gap:8px;margin-left:0}
.studio-open .topbar-right .avatar{width:32px;height:32px}
.studio-open .topbar-right .icon-button{width:32px;height:32px}
.studio-drawer-top{min-height:46px;height:46px}
.studio-drawer-top strong{font-size:13px}
.studio-drawer .asset-content{padding:16px 14px}
.asset-heading h3,.selected-clip-info h3{font-size:15px;line-height:1.4}
.asset-note,.asset-subtitle,.asset-grid button small,.audio-presets small{font-size:12px;line-height:1.6}
.asset-grid button strong,.audio-presets strong,.text-presets strong{font-size:13px}
.editor-assets #studio-properties label{font-size:12px;line-height:1.5}
.editor-assets #studio-properties input,.editor-assets #studio-properties select,.editor-assets #studio-properties textarea{font-size:13px;padding:10px;min-width:0}
.editor-assets #studio-properties input[type=range]{padding:0}
.selected-clip-info small,.property-range output{font-size:12px}
.editor-assets #clip-properties{display:block}
.editor-assets #clip-properties .field-row{gap:10px}
.studio-main-workspace .editor-viewer{background:var(--surface);color:var(--text);border-color:var(--line);border-radius:18px}
.studio-main-workspace .viewer-bar{height:38px;flex:0 0 38px;font-size:11px;letter-spacing:.3px;border-color:var(--line);padding:0 12px}
.viewer-bar .icon-button{color:var(--muted)}
.studio-main-workspace .viewer-canvas-wrap{background:var(--viewer-bg);background-image:none;min-height:0}
.studio-main-workspace .viewer-transport{height:42px;flex:0 0 42px;background:var(--surface);border-color:var(--line);padding:0 12px}
.studio-main-workspace .viewer-transport>span{font-size:12px;color:var(--muted);letter-spacing:0}
.studio-main-workspace .viewer-transport>span:first-child{color:var(--text)}
.studio-main-workspace .viewer-transport>div{gap:10px}
.transport-button{width:32px;height:32px;color:var(--text);border-radius:10px}
.transport-button:hover{background:var(--surface3)}
.studio-main-workspace .viewer-meta{height:34px;flex:0 0 34px;background:var(--surface);color:var(--muted);font-size:11px;letter-spacing:0;gap:8px}
.studio-main-workspace .viewer-meta .text-button{font-size:12px}
.format-icon{height:28px;width:30px;border-radius:8px}
#studio-storage-status{font-size:11px;max-width:180px}
.studio-main-workspace .editor-timeline{border-color:var(--line);border-radius:18px}
.studio-main-workspace .timeline-toolbar{height:auto;min-height:48px;padding:7px 10px;gap:6px;flex-wrap:wrap}
.studio-main-workspace .timeline-toolbar>div{gap:5px}
.studio-main-workspace .timeline-toolbar>div:last-child{border:0;padding-top:0;width:auto;margin-left:auto}
.studio-main-workspace .timeline-toolbar .icon-button{width:32px;height:32px;color:var(--text)}
.studio-main-workspace .timeline-toolbar .icon-button .icon{width:17px;height:17px}
.studio-main-workspace .timeline-action{font-size:12px;min-height:32px;padding:6px 8px;border-radius:10px;color:var(--text);gap:6px}
.studio-main-workspace .timeline-action .icon{width:15px;height:15px}
.studio-main-workspace .timeline-action:hover{background:var(--surface3)}
.studio-main-workspace .timeline-action:disabled{color:var(--muted)}
.studio-main-workspace .timeline-action:disabled:hover{background:transparent}
.studio-main-workspace .timeline-zoom,.studio-main-workspace .timeline-toolbar .timeline-count{font-size:11px}
.studio-main-workspace .timeline-zoom input{width:70px}
.studio-main-workspace .timeline-ruler-row{height:32px}
.studio-main-workspace .ruler-labels>span{font-size:11px;top:7px}
.timeline-ruler-row .track-heading{font-size:11px;letter-spacing:0}
.studio-main-workspace .studio-track-row{height:54px}
.track-kind{font-size:11px;color:var(--muted)}
.track-name{font-size:12px}
.track-heading{padding:0 8px;gap:5px}
.layer-control{width:23px;height:26px;padding:4px;color:var(--muted);border-radius:7px}
.layer-control.on{color:var(--text)}
.layer-control:hover{background:var(--surface3)}
.layer-control .icon{width:14px;height:14px}
.studio-main-workspace .studio-clip{top:6px;bottom:6px;container-type:inline-size;border-radius:7px}
.studio-main-workspace .clip-name,.studio-main-workspace .clip-video .clip-name,.studio-main-workspace .clip-audio .clip-name,.studio-main-workspace .clip-text .clip-name,.studio-main-workspace .clip-overlay .clip-name{font-size:11px;line-height:1.4;max-width:calc(100% - 16px);padding:3px 7px}
.studio-main-workspace .studio-clip:has(.clip-edge-effect) .clip-name{transform:translateY(-5px)}
.studio-main-workspace .studio-clip.selected{outline:2px solid var(--selection);outline-offset:0;box-shadow:inset 0 0 0 1px #0009;z-index:6}
.studio-main-workspace .studio-clip.pointer-dragging{outline-color:var(--selection)}
.clip-edge-effect{display:flex;align-items:center;gap:4px;max-width:calc(50% - 5px);min-width:0;bottom:2px;padding:2px 4px;border-radius:4px;background:#101012e6;border:0;color:#fff;overflow:hidden;line-height:1}
.clip-edge-in{left:3px}.clip-edge-out{right:3px}
.clip-edge-effect .icon{width:10px;height:10px;flex:0 0 10px}
.clip-edge-caption{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.clip-fx-label{font-size:10px;top:2px;right:3px;padding:3px}
.studio-main-workspace .studio-clip:has(.clip-fx-label) .clip-name{max-width:calc(100% - 38px)}
@container(max-width:150px){.clip-edge-caption{display:none}}
@container(max-width:55px){.clip-fx-label{display:none}.clip-edge-effect{padding:2px 1px}.clip-name{padding-left:3px!important}}
@container(max-width:45px){.clip-edge-effect{width:3px;height:10px;padding:0}.clip-edge-effect .icon{display:none}}
.studio-main-workspace .timeline-bottom{min-height:30px;padding:6px 10px;font-size:11px;letter-spacing:0;gap:10px}
.studio-main-workspace .timeline-bottom>span:first-child{font-size:12px;max-width:65%}
.studio-main-workspace .timeline-bottom>span:last-child{font-size:11px;white-space:nowrap}
.studio-open .editor-footnote{font-size:11px;height:17px;line-height:17px}
.transform-pin{width:26px;height:26px;border:0;background:transparent;border-radius:0;box-shadow:none}
.transform-pin:before{content:'';position:absolute;inset:9px;background:#fff;border:1px solid #333;box-shadow:0 0 0 1px #0004;border-radius:2px}
.transform-pin:hover:before,.transform-pin:focus-visible:before{background:#ffb7bc}
.pin-nw{left:-9px;top:-9px}.pin-ne{right:-9px;top:-9px}.pin-sw{left:-9px;bottom:-9px}.pin-se{right:-9px;bottom:-9px}
.rotate-pin{left:calc(50% - 13px);top:1px}
.rotate-pin:before{border-radius:50%}
.effects-panel{gap:18px}
.effects-panel-tabs>button,.transition-edge-picker>button{font-size:13px;padding:10px;min-height:38px}
.effects-target>span{font-size:10px;letter-spacing:.7px}
.effects-target>strong{font-size:14px;line-height:1.5}
.effect-field-row{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:8px}
.effect-field-row label{font-size:12px}
.effect-field-row input,.effect-field-row select{font-size:13px;padding:11px;min-height:40px}
.studio-drawer .effects-library,.studio-drawer .effects-library.transition-presets{grid-template-columns:1fr;gap:12px}
.effects-library>button{padding:12px;border-radius:14px}
.effects-library>button>strong{font-size:14px;margin-top:10px}
.effects-library>button>small{font-size:12px;margin-top:5px;line-height:1.6}
.effects-library .icon{width:16px;height:16px}
.effect-preview,.effects-library .transition-art{position:relative;height:88px;border-radius:10px;overflow:hidden;display:block;background:var(--viewer-bg)}
.effect-preview>img,.transition-art>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.transition-art>img:first-child{filter:brightness(.65)}
.transition-art>img:last-child{opacity:.55}
.transition-art[data-target=black]>img:first-child{visibility:hidden}
.transition-art[data-edge=out]>img:last-child{opacity:.45}
.effects-library>button:hover .transition-dissolve>img:last-child,.effects-library>button:focus-visible .transition-dissolve>img:last-child{animation:effect-dissolve-demo 1.8s ease-in-out infinite alternate}
.effects-library>button:hover .transition-slide>img:last-child,.effects-library>button:focus-visible .transition-slide>img:last-child{opacity:1;animation:effect-slide-demo 1.8s ease-in-out infinite alternate}
.effects-help,.effects-empty{font-size:12px;line-height:1.65}
.applied-effects-heading{font-size:13px;padding-top:18px}
.applied-effects-heading>span{font-size:12px}
.applied-effect{grid-template-columns:24px minmax(0,1fr);gap:9px;padding:13px;border-radius:14px}
.applied-effect strong{font-size:13px;line-height:1.5}
.applied-effect small{font-size:12px;line-height:1.6}
.applied-effect-icon .icon{width:18px;height:18px}
.applied-effect .effect-action{display:flex;align-items:center;justify-content:center;gap:6px;width:auto;height:34px;padding:6px 9px;border:1px solid var(--line);border-radius:10px;background:transparent;font-size:12px;color:var(--muted)}
.applied-effect .effect-action:first-of-type{grid-column:1/-1}
.applied-effect .effect-action:last-of-type{grid-column:1/-1}
.applied-effect .effect-action:hover{background:var(--surface3);color:var(--text)}
.applied-effect .effect-action .icon{width:15px;height:15px}
.effect-with-strength>label{font-size:12px}
.effect-with-strength input{height:8px}
.effect-replace-notice{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:12px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--surface3)}
.effect-replace-notice button{width:28px;height:28px;flex-shrink:0}
.effects-library>button.active{border-color:var(--selection)}
.transition-edge-picker>button.active{border-color:var(--selection)}
.effect-preview .icon{position:absolute;bottom:8px;right:8px;width:21px;height:21px;padding:4px;box-sizing:content-box;border-radius:7px;background:#101012cf;color:white}
.rail-tooltip{font-size:12px;padding:9px 12px;border-radius:10px;line-height:1.4}
@keyframes effect-dissolve-demo{from{opacity:0}to{opacity:1}}
@keyframes effect-slide-demo{from{transform:translateX(100%)}to{transform:translateX(0)}}
.effects-library>button:hover .transition-art[data-edge=out]>img:last-child,.effects-library>button:focus-visible .transition-art[data-edge=out]>img:last-child{animation-direction:alternate-reverse}
@media(max-width:1100px){.studio-navbar-actions .editor-saved{display:none}.studio-open .topbar{gap:10px}.studio-main-workspace .timeline-toolbar>div:first-child{flex-wrap:wrap}.studio-main-workspace .timeline-toolbar>div:last-child{margin-left:0}.studio-main-workspace .timeline-toolbar .timeline-count{display:none}}
@media(max-width:900px){.studio-open .topbar-right #theme-toggle{display:none}.studio-open .studio-navbar-actions .button{padding:8px 10px}}
@media(max-width:680px){
 .account-settings-dialog,.account-settings-dialog.account-compact{width:calc(100vw - 20px);height:min(700px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:20px}
 .account-modal-layout{display:flex;flex-direction:column}
 .account-modal-layout>nav{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;padding:14px 12px 10px;gap:5px;border-bottom:1px solid var(--line)}
 .modal-account-heading{display:none}.modal-account-footer{display:none}
 .account-modal-layout>nav>button{flex:0 0 auto;min-width:auto;white-space:nowrap;font-size:12px;padding:9px 11px}
 .account-modal-layout>nav>button .icon{width:16px;height:16px}
 .account-modal-close{top:7px;right:7px;background:var(--surface);z-index:5}
 .account-modal-layout>nav{padding-right:46px}
 #account-settings-content{padding:22px 16px;min-height:0;flex:1}
 #account-settings-content>.page-heading{padding-right:0}
 #account-settings-content>.page-heading h1{font-size:23px}
 #account-settings-content .plan-card ul{grid-template-columns:1fr}
 .account-table,#account-settings-content .account-table{width:100%;min-width:0;display:block}
 .account-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .account-table tbody{display:grid;gap:14px}
 .account-table tr{display:block;border:1px solid var(--line);border-radius:14px;padding:12px;background:var(--surface2)}
 .account-table td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border:0;padding:8px 0;text-align:right;min-width:0}
 .account-table td:before{content:attr(data-label);font-size:12px;color:var(--muted);text-align:left;flex:0 0 38%;line-height:1.7}
 .account-table td>div{min-width:0;overflow-wrap:anywhere}
 .account-table td:first-child{padding-top:0}.account-table td:last-child{padding-bottom:0}
 .table-wrap{overflow:visible}
 .studio-open .topbar{height:98px;flex-basis:98px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:34px 36px;column-gap:8px;row-gap:6px;padding:10px}
 .studio-open .topbar>.mobile-menu{grid-column:1;grid-row:1;width:32px;height:32px}
 .studio-open .editor-project-title{grid-column:2/-1;grid-row:1;gap:7px;min-width:0}
 .studio-open .editor-project-title>a{width:29px;height:29px;flex-basis:29px}
 .studio-open .editor-project-title>div{min-width:0;flex:1}
 .studio-open .editor-project-title h1{font-size:14px;max-width:none;width:100%;white-space:nowrap}
 .studio-open .studio-navbar-actions{grid-column:1/3;grid-row:2;justify-content:flex-start;margin:0}
 .studio-open .studio-navbar-actions .button,.studio-open .studio-navbar-actions #studio-save{font-size:12px!important;gap:7px;padding:7px 10px;min-height:34px}
 .studio-open .studio-navbar-actions .button .icon{width:15px;height:15px}
 .studio-open .topbar-right{grid-column:3;grid-row:2;margin:0;gap:7px}
 .studio-open .topbar-right .icon-button{width:30px;height:30px}
 .studio-main-workspace .viewer-bar{height:34px;flex-basis:34px;font-size:10px;gap:8px;padding:0 8px}
 .viewer-quality{display:none}
 .studio-main-workspace .viewer-transport{height:38px;flex-basis:38px;padding:0 8px}
 .studio-main-workspace .viewer-meta{height:34px;flex-basis:34px;padding:0 8px}
 #studio-storage-status{display:none}
 .studio-main-workspace .timeline-toolbar{min-height:78px;padding:5px;gap:4px}
 .studio-main-workspace .timeline-toolbar>div:first-child{width:100%;gap:3px;flex-wrap:nowrap}
 .studio-main-workspace .timeline-toolbar>div:last-child{width:100%;justify-content:space-between;gap:7px}
 .studio-main-workspace .timeline-toolbar .icon-button{width:28px;height:28px;flex-shrink:0}
 .studio-main-workspace .timeline-action{font-size:11px;padding:5px;gap:4px;min-height:28px}
 .studio-main-workspace .timeline-action .icon{width:13px;height:13px}
 .studio-main-workspace .timeline-toolbar .toolbar-divider{display:none}
 .studio-main-workspace .timeline-bottom>span:first-child{font-size:11px;max-width:60%}
 .studio-main-workspace .timeline-bottom>span:last-child{font-size:10px}
 .studio-main-workspace .timeline-bottom{min-height:27px;padding:5px 7px}
 .track-kind{display:none}.track-name{font-size:11px}
 .track-heading{padding:0 5px;gap:3px}.layer-control{width:22px;padding:4px}
 .studio-open .editor-footnote{display:none}
 .studio-open .studio-editor{grid-template-rows:minmax(0,1fr)}
 .studio-main-workspace{grid-template-rows:minmax(0,1fr) clamp(200px,35dvh,280px)}
 .studio-tool-rail .asset-tabs button{width:30px;height:34px;padding:6px}
 .studio-tool-rail .asset-tabs button .icon{height:18px;width:18px}
 .studio-drawer{width:min(280px,calc(100% - 45px))}
 .studio-open .editor-assets #clip-properties{display:block}
 .user-popover .popover-user small{max-width:170px}
}
@media(max-width:380px){.studio-main-workspace .timeline-action .icon{display:none}.studio-main-workspace .timeline-action{font-size:11px;padding:5px 4px}.studio-main-workspace .timeline-zoom input{width:55px}.user-popover .popover-user small{max-width:120px}}
@media(max-height:650px) and (min-width:681px){.studio-main-workspace{grid-template-rows:minmax(0,1fr) 220px}.studio-main-workspace .viewer-bar{height:32px;flex-basis:32px}.studio-main-workspace .viewer-transport{height:36px;flex-basis:36px}.studio-main-workspace .viewer-meta{height:30px;flex-basis:30px}}
@media(max-height:520px){.studio-main-workspace .viewer-bar{height:28px;flex-basis:28px}.studio-main-workspace .viewer-meta{display:none}.studio-open .editor-footnote{display:none}}
.monitor-expanded .studio-main-workspace{grid-template-rows:minmax(0,1fr)}
@media(prefers-reduced-motion:reduce){.account-settings-dialog{transition:none}.effects-library>button .transition-art>img{animation:none!important}.shell,.studio-editing-shell,.studio-drawer,.studio-drawer .asset-content,.studio-drawer .studio-drawer-top{transition:none}}

/* Studio phone layout: keep the working area for clips, with tools on demand. */
.studio-mobile-only{display:none}
@media(max-width:680px){
 .studio-open .topbar{height:48px;flex-basis:48px;display:grid;grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:32px;gap:6px;padding:8px}
 .studio-open .topbar>.mobile-menu{grid-column:1;grid-row:1;width:30px;height:32px}
 .studio-open .topbar-right{display:none}
 .studio-open .editor-project-title{grid-column:2;grid-row:1;gap:4px}
 .studio-open .editor-project-title .eyebrow{display:none}
 .studio-open .editor-project-title>a{width:24px;height:30px;flex-basis:24px}
 .studio-open .editor-project-title h1{font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;margin:0}
 .studio-open .studio-navbar-actions{grid-column:3;grid-row:1;gap:4px;margin:0}
 .studio-open .studio-navbar-actions .button,.studio-open .studio-navbar-actions #studio-save{padding:6px 8px;min-height:32px;font-size:11px!important;gap:4px}
 .studio-open .studio-navbar-actions #studio-save{width:32px;padding:7px;gap:0}
 .studio-open #studio-save>span{display:none}
 .studio-open .studio-editing-shell,.studio-open .studio-editing-shell.drawer-open,.studio-open.monitor-expanded .studio-editing-shell{grid-template-columns:minmax(0,1fr);gap:0}
 .studio-open .studio-tool-rail{display:none}
 .studio-open .studio-main-workspace{grid-column:1;margin-left:0;gap:6px;grid-template-rows:minmax(112px,min(32dvh,210px)) minmax(0,1fr)}
 .studio-open .studio-main-workspace .editor-viewer{position:relative;border-radius:12px}
 .studio-open .studio-main-workspace .viewer-bar{height:36px;flex-basis:36px;gap:4px;padding:0 5px}
 .studio-open .viewer-bar>span,.studio-open .viewer-quality{display:none}
 .studio-open .studio-mobile-only{display:inline-flex}
 .studio-open .studio-mobile-tools{align-items:center;gap:3px}
 .studio-open .viewer-bar>div{display:flex;gap:3px;margin-left:auto}
 .studio-open .viewer-bar .icon-button{width:30px;height:32px;padding:6px;border-radius:8px;flex-shrink:0}
 .studio-open .studio-mobile-tools .active,.studio-open #studio-monitor-options[aria-expanded=true]{background:var(--surface3);color:var(--text)}
 .studio-open .studio-main-workspace .viewer-canvas-wrap{padding:4px}
 .studio-open .studio-main-workspace .viewer-transport{height:34px;flex-basis:34px;padding:0 6px}
 .studio-open .studio-main-workspace .viewer-transport>span{font-size:10px}
 .studio-open .studio-main-workspace .viewer-transport>div{gap:4px}
 .studio-open .transport-button{width:30px;height:30px}
 .studio-open .studio-main-workspace .viewer-meta{display:none;position:absolute;bottom:34px;left:0;right:0;z-index:8;height:38px;padding:3px 6px;border-top:1px solid var(--line);box-shadow:0 -4px 16px #0003}
 .studio-open .studio-main-workspace .monitor-options-open .viewer-meta{display:flex}
 .studio-open .studio-drawer{left:0;top:36px;bottom:0;width:min(300px,100%);margin:0;border-radius:12px}
 .studio-open .studio-drawer-top{height:40px;min-height:40px;padding:0 10px}
 .studio-open #studio-mobile-close{height:32px;width:32px}
 .studio-open .studio-main-workspace .editor-timeline{border-radius:12px}
 .studio-open .studio-main-workspace .timeline-toolbar{min-height:40px;padding:4px;gap:3px;align-items:center;flex-wrap:wrap}
 .studio-open .studio-main-workspace .timeline-toolbar>div:first-child{width:auto;gap:1px;flex-wrap:nowrap}
 .studio-open .studio-main-workspace .timeline-toolbar>div:last-child{width:auto;gap:3px;margin-left:auto;padding:0;justify-content:flex-end}
 .studio-open .studio-main-workspace .timeline-toolbar .timeline-count{display:none}
 .studio-open .studio-main-workspace .timeline-toolbar .icon-button,.studio-open .studio-main-workspace .timeline-action{width:30px;height:32px;min-height:32px;padding:6px;gap:0;font-size:0;flex-shrink:0}
 .studio-open .studio-main-workspace .timeline-action .icon{display:block;width:17px;height:17px}
 .studio-open .studio-main-workspace .timeline-zoom{font-size:0;gap:3px;margin:0}
 .studio-open .studio-main-workspace .timeline-zoom input{width:56px;margin:0;height:28px}
 .studio-open #studio-zoom-value{font-size:10px;min-width:28px;color:var(--muted)}
 .studio-open .timeline-ruler-row,.studio-open .studio-track-row{grid-template-columns:96px minmax(0,1fr)}
 .studio-open .studio-main-workspace .timeline-ruler-row{height:26px}
 .studio-open .studio-main-workspace .ruler-labels>span{top:5px;font-size:10px}
 .studio-open .studio-main-workspace .studio-track-row{height:44px}
 .studio-open .track-heading{padding:0 3px;gap:2px}
 .studio-open .track-name{font-size:10px;min-width:0}
 .studio-open .layer-control{width:21px;height:32px;flex-shrink:0;padding:3px}
 .studio-open .studio-main-workspace .timeline-scroll{overscroll-behavior:contain}
 .studio-open .studio-main-workspace .timeline-bottom{min-height:24px;padding:4px 6px}
 .studio-open .studio-main-workspace .timeline-bottom>span:first-child{max-width:65%;font-size:10px}
 .studio-open .studio-main-workspace .timeline-bottom>span:nth-child(2){display:none}
 .studio-open.monitor-expanded .studio-main-workspace{grid-template-rows:minmax(0,1fr)}
}
@media(max-width:340px){.studio-open #studio-zoom-value{display:none}}
@media(max-width:680px) and (max-height:420px){.studio-open .studio-main-workspace{grid-template-rows:112px minmax(0,1fr)}}

/* Image workspace inherits the shared Fluxo colour, radius and type system. */
.image-welcome-actions{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 25px}
.sidebar{overflow-y:auto;overflow-x:hidden}
.image-welcome-actions>button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;padding:12px 16px;font-size:13px;background:var(--surface)}
.image-welcome-actions>button:hover{background:var(--surface3)}
.image-open .shell{height:100dvh;min-height:0;overflow:hidden}
.image-open .main-area{height:100dvh;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.image-open .sidebar{height:100dvh;min-height:0;overflow-y:auto;overflow-x:hidden}
.image-open .topbar{flex:0 0 70px;height:70px;min-width:0;gap:14px;padding:0 20px}
.image-open .topbar-right>.pill{display:none}
.image-open .content{flex:1;min-height:0;max-width:none;width:100%;padding:14px;overflow:hidden;margin:0}
.image-project-title{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.image-project-title>a{flex:0 0 32px;width:32px;height:32px}
.image-project-title>a .icon{transform:rotate(180deg)}
.image-project-title>div{min-width:0;flex:1}
.image-project-title h1{font-size:16px;line-height:1.4;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.image-navbar-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.image-navbar-actions .button{font-size:13px;padding:9px 12px}
#image-save-state{font-size:11px;color:var(--muted);max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.image-workspace{display:grid;grid-template-columns:48px 0px minmax(0,1fr) 0px;width:100%;height:100%;min-height:0;position:relative;transition:grid-template-columns var(--panel-duration) var(--panel-ease)}
.image-workspace.left-open{grid-template-columns:48px 292px minmax(0,1fr) 0px}
.image-workspace.right-open{grid-template-columns:48px 0px minmax(0,1fr) 272px}
.image-workspace.left-open.right-open{grid-template-columns:48px 292px minmax(0,1fr) 272px}
.image-tool-rail{grid-column:1;grid-row:1;display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px 4px;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow-y:auto;min-height:0}
.image-tool-rail>button{width:30px;height:30px;flex-shrink:0;border:0;background:transparent;padding:6px}
.image-tool-rail nav{display:flex;flex-direction:column;gap:5px}
.image-tool-rail nav button{width:34px;height:34px;padding:8px;border:0;background:transparent;color:var(--muted);border-radius:10px}
.image-tool-rail nav button:hover{color:var(--text);background:var(--surface3)}
.image-tool-rail nav button.active{color:var(--red);background:var(--surface3)}
.image-tool-rail input[type=color]{width:28px;height:28px;padding:2px;border:1px solid var(--line);border-radius:8px;flex-shrink:0}
.image-panel{display:flex;flex-direction:column;min-width:0;min-height:0;background:var(--surface);border-radius:18px;overflow:hidden;margin-left:12px;box-shadow:inset 0 0 0 1px var(--line);opacity:0;visibility:hidden;transform:translateX(-8px);transition:opacity 180ms ease,transform var(--panel-duration) var(--panel-ease),visibility var(--panel-duration)}
.image-left-panel{grid-column:2;grid-row:1}
.image-right-panel{grid-column:4;grid-row:1}
.left-open .image-left-panel,.right-open .image-right-panel{opacity:1;visibility:visible;transform:none}
.image-panel-heading{height:47px;min-height:47px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;border-bottom:1px solid var(--line);gap:8px;font-size:13px}
.image-panel-heading .icon-button{width:29px;height:29px;border:0;padding:6px;background:transparent}
.image-panel-content{width:280px;min-width:280px;flex:1;min-height:0;overflow:auto;padding:17px 14px;opacity:0;transform:translateX(-7px);transition:opacity 180ms ease,transform var(--panel-duration) var(--panel-ease)}
.left-open .image-panel-content{opacity:1;transform:none}
.image-central{grid-column:3;grid-row:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;background:var(--surface);border:1px solid var(--line);border-radius:18px;margin-left:12px;overflow:hidden}
.image-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;min-height:47px;padding:6px 10px;border-bottom:1px solid var(--line)}
.image-toolbar>div{display:flex;align-items:center;gap:5px;min-width:0}
.image-toolbar .icon-button{width:32px;height:32px;padding:7px;border:0;background:transparent}
.image-toolbar .icon-button:hover,.image-toolbar .icon-button[aria-pressed=true]{background:var(--surface3);color:var(--text)}
.image-toolbar .icon-button:disabled:hover{background:transparent}
#image-brush-control{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap;margin:0}
#image-brush-control[hidden]{display:none}
#image-brush-control input{width:70px;padding:0;margin:0}
#image-brush-control output{font-size:11px;min-width:36px}
.image-stage{position:relative;overflow:hidden;min-height:0;background:var(--viewer-bg);touch-action:none;outline-offset:-3px}
.image-stage[data-tool=hand]{cursor:grab}.image-stage[data-tool=hand]:active{cursor:grabbing}
.image-stage[data-tool=brush],.image-stage[data-tool=erase],.image-stage[data-tool=select],.image-stage[data-tool=crop],.image-stage[data-tool=shape],.image-stage[data-tool=dropper]{cursor:crosshair}
.image-stage[data-tool=text]{cursor:text}
.image-artboard{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:1px;height:1px;box-shadow:0 7px 28px #0006;background-color:#fff;background-image:conic-gradient(#dadade 25%,transparent 0 50%,#dadade 0 75%,transparent 0);background-size:16px 16px}
.image-artboard canvas{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
#image-hud{z-index:2}
.image-statusbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px;padding:7px 12px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);line-height:1.5}
.image-statusbar>div{display:flex;align-items:center;gap:6px;flex-shrink:0}
.image-statusbar button{font-size:12px}
.image-statusbar input{width:54px;padding:4px;border:1px solid var(--line);border-radius:7px;background:var(--surface2);font-size:12px;text-align:center;margin:0}
#image-status{max-width:28%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.image-loading{position:absolute;inset:0;background:var(--surface);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;z-index:4;padding:30px;text-align:center}
.image-loading[hidden]{display:none}.image-loading .mark{width:52px;height:52px}
.image-loading progress{width:180px;accent-color:var(--action)}
.image-loading p{font-size:13px;max-width:380px;line-height:1.7}
.image-drop-hint{position:absolute;inset:10px;display:flex;align-items:center;justify-content:center;border:2px dashed var(--focus);border-radius:13px;background:var(--surface);z-index:5;pointer-events:none;font-size:15px}
.image-drop-hint[hidden]{display:none}
.image-layer-actions{display:flex;justify-content:flex-end;gap:5px;padding:8px;border-bottom:1px solid var(--line)}
.image-layer-actions .icon-button{width:30px;height:30px;padding:6px;border:0;background:transparent}
.image-layer-list{flex:1;min-height:0;overflow:auto;padding:8px;width:260px;min-width:260px}
.image-layer{display:grid;grid-template-columns:26px 32px minmax(0,1fr) 26px;gap:6px;align-items:center;min-height:54px;border:1px solid transparent;padding:6px;border-radius:12px;margin-bottom:5px;cursor:pointer;background:transparent;font-size:13px}
.image-layer:hover{background:var(--surface2)}
.image-layer.selected{background:var(--surface3);border-color:var(--selection)}
.image-layer.grouped{margin-left:10px}
.image-layer .icon-button{width:26px;height:30px;padding:6px;border:0;background:transparent;color:var(--muted)}
.image-layer .icon-button[aria-pressed=false]{opacity:.4}
.image-layer .icon-button.active{color:var(--text)}
.image-layer-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.image-layer-thumb{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--surface2);color:var(--muted)}
.image-layer-thumb img{width:100%;height:100%;object-fit:cover}
.image-layer-thumb .icon{width:18px;height:18px}
.image-layer.drag-over{border-color:var(--focus);background:var(--surface3)}
.image-layer-group{display:flex;gap:5px;align-items:center;padding:8px 4px;font-size:12px}
.image-layer-group>.text-button{min-width:0;flex:1;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.image-layer-group>.icon-button{width:24px;height:24px;padding:5px;flex-shrink:0;background:transparent;border:0}
.image-import-button{display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px;width:calc(100% - 20px);margin:10px;padding:11px;background:var(--surface2);border:1px solid var(--line);border-radius:12px;flex-shrink:0}
.image-panel-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:11px;background:var(--surface2);margin-bottom:18px}
.image-panel-tabs button{flex:1;min-width:0;padding:8px 5px;border-radius:8px;color:var(--muted);font-size:12px}
.image-panel-tabs button.active{color:var(--text);background:var(--surface3)}
.image-panel-tabs:has([data-image-library-tab]){flex-wrap:wrap}
.image-panel-tabs [data-image-library-tab]{flex:1 1 28%;font-size:11px}
.image-element-swatch{display:block;width:60px;height:45px;margin:20px auto 10px;background:var(--red);border-radius:3px}
.image-element-swatch.ellipse{border-radius:50%}
.image-selected-layer{padding:0 0 17px;border-bottom:1px solid var(--line);margin-bottom:17px;min-width:0}
.image-selected-layer strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.image-selected-layer small{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.image-edit-fields{border:0;padding:0;margin:0;min-width:0}
.image-edit-fields:disabled{opacity:.5}
.image-edit-fields label{display:block;font-size:12px;margin:0 0 15px;color:var(--muted)}
.image-edit-fields input,.image-edit-fields textarea,.image-edit-fields select{font-size:13px;margin-top:7px;padding:10px;min-width:0;width:100%;color:var(--text)}
.image-edit-fields textarea{min-height:100px;resize:vertical;line-height:1.6}
.image-edit-fields input[type=range]{padding:0;height:6px;margin-top:14px}
.image-edit-fields input[type=color]{height:38px;padding:4px}
.image-edit-fields .field-row{gap:10px}
.image-edit-fields .check-label{display:flex;align-items:center;gap:9px;font-size:13px}
.image-edit-fields .check-label input{width:15px;height:15px;margin:0;flex-shrink:0}
.image-edit-fields output{float:right;color:var(--text);font-size:12px}
.image-property-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:8px 0 19px}
.image-property-actions .button{font-size:11px;padding:9px 5px;gap:4px;min-width:0}
.image-property-actions .icon{width:14px;height:14px}
.image-range-field>span{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.image-range-field output{float:none}
.image-adjust-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:24px 0 17px;font-size:13px;color:var(--text)}
.image-adjust-heading:first-child{margin-top:0}
.image-adjust-heading .text-button{font-size:12px}
#image-curve{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface2);touch-action:none;cursor:crosshair}
.image-style-section{border:1px solid var(--line);border-radius:12px;padding:13px;margin-top:15px;background:var(--surface2)}
.image-style-section .image-adjust-heading{margin:0 0 16px}
.image-style-section .icon-button{width:26px;height:26px;padding:5px;border:0;background:transparent}
.image-library-search{display:block;font-size:12px;color:var(--muted);margin:0 0 16px}
.image-library-search input{margin-top:7px;font-size:13px;width:100%}
.image-library-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.image-library-grid button{min-width:0;text-align:left;background:var(--surface2);border:1px solid var(--line);border-radius:12px;overflow:hidden;cursor:grab}
.image-library-grid img{display:block;width:100%;height:78px;object-fit:cover}
.image-library-grid strong{display:block;font-size:12px;line-height:1.5;padding:9px;overflow-wrap:anywhere}
.image-library-grid small{display:block;font-size:12px;line-height:1.6;color:var(--muted);padding:0 9px 10px}
.image-model-picker{display:grid;gap:14px}
.image-model-picker button{display:grid;grid-template-columns:100px 1fr;gap:6px 15px;border:1px solid var(--line);border-radius:14px;padding:12px;text-align:left;background:var(--surface2)}
.image-model-picker img{grid-row:1/3;width:100px;height:90px;object-fit:cover;border-radius:9px}
.image-model-picker strong{font-size:15px;align-self:end}
.image-model-picker small{font-size:12px;color:var(--muted);line-height:1.6}
.image-ai-list{display:grid;gap:16px;margin-top:18px}
.image-ai-list article{background:var(--surface2);border:1px solid var(--line);border-radius:15px;padding:12px}
.image-ai-list img{display:block;width:100%;height:110px;object-fit:cover;border-radius:9px;margin-bottom:12px}
.image-ai-list strong{font-size:14px}.image-ai-list p{font-size:12px;line-height:1.7;color:var(--muted);margin:8px 0 12px}
.image-ai-list .pill{font-size:10px;margin-bottom:12px}
.image-new-layer-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.project-tools-menu{display:grid;gap:11px}.project-tools-menu p{margin:0 0 9px;color:var(--muted);overflow-wrap:anywhere}
dialog:has(.project-tools-menu){max-width:390px}
#image-batch-form progress{width:100%;accent-color:var(--action);margin-top:13px}
#image-export-status,#image-batch-status{font-size:13px;line-height:1.7;margin-top:16px}
@media(max-width:1150px){#image-save-state{display:none}.image-open .topbar{gap:9px;padding:0 14px}.image-open .topbar-right{gap:7px}.image-open .topbar-right #theme-toggle{display:none}.image-workspace.left-open.right-open{grid-template-columns:48px 272px minmax(0,1fr) 252px}.image-panel-content{width:260px;min-width:260px}.image-layer-list{width:240px;min-width:240px}.image-workspace.left-open{grid-template-columns:48px 272px minmax(0,1fr) 0px}.image-workspace.right-open{grid-template-columns:48px 0px minmax(0,1fr) 252px}}
@media(max-width:900px){.image-workspace,.image-workspace.left-open,.image-workspace.right-open,.image-workspace.left-open.right-open{grid-template-columns:44px minmax(0,1fr)}.image-central{grid-column:2}.image-left-panel,.image-right-panel{position:absolute;top:0;bottom:0;width:280px;max-width:calc(100% - 56px);z-index:12;box-shadow:12px 0 35px #0005;grid-column:auto}.image-left-panel{left:44px}.image-right-panel{right:0;margin-left:0}.image-panel-content,.image-layer-list{width:100%;min-width:0}.image-tool-rail{padding:7px 3px}.image-tool-rail nav button{width:32px;height:33px;padding:7px}.image-statusbar>#image-status{display:none}}
@media(max-width:680px){.image-open .topbar{flex:0 0 98px;height:98px;padding:10px;display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:32px 36px;column-gap:8px;row-gap:6px}.image-open .topbar>.mobile-menu{grid-column:1;grid-row:1}.image-project-title{grid-column:2/-1;grid-row:1;gap:6px}.image-project-title h1{font-size:14px}.image-navbar-actions{grid-column:1/3;grid-row:2;margin:0}.image-navbar-actions .button{font-size:12px;padding:7px 10px;min-height:34px}.image-open .topbar-right{grid-column:3;grid-row:2;margin:0;gap:7px}.image-open .topbar-right .avatar{width:30px;height:30px}.image-open .content{padding:8px}.image-workspace,.image-workspace.left-open,.image-workspace.right-open,.image-workspace.left-open.right-open{grid-template-columns:40px minmax(0,1fr)}.image-left-panel{left:40px}.image-central{margin-left:8px;border-radius:15px}.image-tool-rail{border-radius:13px;padding:5px 2px;gap:8px}.image-tool-rail nav{gap:3px}.image-tool-rail nav button{width:30px;height:31px;padding:6px}.image-tool-rail>.icon-button{width:28px;height:28px}.image-toolbar{padding:5px;gap:5px;min-height:42px}.image-toolbar .icon-button{width:28px;height:28px;padding:6px}.image-toolbar>div{gap:2px}.image-toolbar>div:last-child{margin-left:auto}.image-statusbar{font-size:10px;padding:7px;gap:5px}.image-statusbar>div{gap:4px}.image-statusbar input{width:43px}.image-statusbar button{font-size:11px}.image-statusbar #image-document-size{font-size:10px}#image-brush-control{font-size:11px}#image-brush-control input{width:50px}.image-welcome-actions{gap:9px}.image-welcome-actions>button{flex:1 1 100%;font-size:13px}.image-panel-content{padding:16px 13px}.image-model-picker button{grid-template-columns:80px 1fr}.image-model-picker img{width:80px;height:90px}}
@media(prefers-reduced-motion:reduce){.image-workspace,.image-panel,.image-panel-content{transition:none}}

/* Fluxo controls: scoped to image editing and dialogs. */
.image-open input[type=checkbox],#modal input[type=checkbox]{appearance:none!important;width:18px!important;height:18px!important;min-width:18px;padding:0!important;border:1px solid #787880;border-radius:5px!important;background:transparent;display:inline-grid;place-content:center;vertical-align:middle;cursor:pointer}
.image-open input[type=checkbox]:checked,#modal input[type=checkbox]:checked{background:#ff252f;border-color:#ff252f}
.image-open input[type=checkbox]:checked:after,#modal input[type=checkbox]:checked:after{content:'✓';color:#fff;font-size:13px;font-weight:800}
.image-open input:focus-visible,.image-open select:focus-visible,.image-open button:focus-visible,#modal input:focus-visible{outline:2px solid #ff5b63;outline-offset:2px}
.image-open input[type=color],#modal input[type=color]{appearance:none;padding:4px;border-radius:8px;height:34px;min-height:34px;width:100%;cursor:pointer}
.image-open input[type=color]::-webkit-color-swatch{border:none;border-radius:5px}.image-open input[type=range]{accent-color:#ff252f;width:100%;padding:0}
.image-open fieldset:disabled{opacity:.48}.image-open button:disabled{opacity:.45;cursor:not-allowed}.image-open .image-edit-fields{min-width:0}
.pro-section{border-bottom:1px solid var(--border,#34343b);padding:12px 0;font-size:12px}.pro-section summary{font-size:12px;font-weight:650;cursor:pointer;list-style-position:inside;user-select:none}.pro-section>div{display:grid;gap:12px;padding-top:14px}.pro-section label{display:grid;gap:6px;min-width:0}.pro-section .check-label{display:flex;align-items:center;gap:8px}.pro-section .field-row{margin:0;gap:9px}.pro-section input,.pro-section select,.pro-section textarea{min-width:0;width:100%;box-sizing:border-box}.pro-section textarea{min-height:88px;resize:vertical}.pro-actions{display:flex;flex-wrap:wrap;gap:6px}.pro-actions .button{flex:1 1 90px;min-height:32px;padding:7px 8px;font-size:11px}.pro-section .button{white-space:normal}.pro-section .form-note{margin:0;line-height:1.55}.pro-stage-text{position:absolute;z-index:8;transform-origin:center;border:1px solid #ff5961!important;outline:2px solid #ff596155!important;background:#141414dd!important;box-sizing:border-box;padding:0!important;margin:0;border-radius:0!important;resize:none;overflow:auto;min-height:0!important;min-width:0!important;box-shadow:none!important;white-space:pre-wrap;pointer-events:auto;caret-color:#ff4a54}
#pro-brush-cursor{position:absolute;pointer-events:none;border:1px solid white;border-radius:50%;box-shadow:0 0 0 1px #0008;transform:translate(-50%,-50%);z-index:10}.image-stage[data-tool=brush],.image-stage[data-tool=erase]{cursor:none}
.pro-drop-edge{padding:8px;text-align:center;font-size:10px;opacity:.6;border:1px dashed transparent}.pro-drop-edge:hover{border-color:#ff252f;opacity:1}.image-layer[data-drop=above]{box-shadow:inset 0 3px #ff252f}.image-layer[data-drop=below]{box-shadow:inset 0 -3px #ff252f}.image-layer[data-drop=inside]{outline:2px solid #ff252f;background:#ff252f20}.image-layer-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.image-layer-group,.image-layer{min-height:44px}.image-layer-thumb{flex:0 0 28px}
#pro-histogram{width:100%;height:88px;background:#101014;border-radius:8px}.pro-adjust-numbers{display:grid;gap:10px}.pro-adjust-numbers span{display:flex;gap:5px}.pro-adjust-numbers input{flex:1;min-width:0}.pro-version-list{display:grid;gap:8px;max-height:50vh;overflow:auto}.pro-demo-list{display:grid;gap:12px}.pro-demo-list article{padding:13px;border:1px solid var(--border,#38383e);border-radius:12px}.pro-demo-list p{font-size:12px;line-height:1.5}.pro-demo-preview{max-width:100%;height:auto;background:repeating-conic-gradient(#444 0% 25%,#333 0% 50%) 50%/16px 16px;border-radius:10px;margin-top:14px}.pro-library-folders{display:grid;gap:8px;margin:12px 0}.image-toolbar{overflow-x:auto;flex-shrink:0}.image-navbar-actions{gap:6px}.image-panel-content{overscroll-behavior:contain}#modal progress{width:100%;accent-color:#ff252f;margin-top:12px}.pro-section button:hover{border-color:#ff4a54}
@media(max-width:900px){.image-navbar-actions .button{padding:7px 10px;font-size:11px}#image-save-state{display:none}.image-left-panel{max-width:calc(100vw - 80px)}.pro-section{padding:10px 0}.image-toolbar{max-width:100%}.image-navbar-actions #pro-sync{display:none}.image-layer{min-height:46px}}
@media(prefers-reduced-motion:reduce){.image-workspace *{transition:none!important;animation:none!important}}
.image-properties-entry{min-height:34px;padding:7px 11px!important;font-size:12px!important;gap:7px;white-space:nowrap;flex:0 0 auto}
.image-properties-entry.active{border-color:#ff454e;background:#ff252f14;color:var(--text)}
.image-properties-nav{display:flex;gap:4px;padding:4px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;margin-bottom:14px;position:sticky;top:0;z-index:2}
.image-properties-nav button{flex:1;border:0;border-radius:7px;background:transparent;color:var(--muted);padding:9px 5px;font:inherit;font-size:11px;cursor:pointer}
.image-properties-nav button.active{background:var(--surface3);color:var(--text);box-shadow:inset 0 -2px #ff252f}
@media(max-width:680px){.image-properties-entry{font-size:11px!important;padding:6px 8px!important}.image-properties-entry .icon{width:15px;height:15px}}
.image-tool-rail [data-image-tool=pen].active{color:#ff5964;background:#ff252f20}
.image-stage[data-tool=pen]{cursor:crosshair}
.image-left-panel .image-panel-heading{display:flex;justify-content:space-between;gap:8px}
#image-properties-close{flex:0 0 28px;width:28px;height:28px;padding:6px}
#pen-path,#pen-mode{width:100%}
.image-download-result{padding:16px;margin-top:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);display:grid;gap:10px}.image-download-result p{margin:0;overflow-wrap:anywhere}.image-download-result img{max-width:100%;width:auto;max-height:220px;object-fit:contain;justify-self:center;background:repeating-conic-gradient(#444 0% 25%,#333 0% 50%) 50%/16px 16px;border-radius:8px}.image-download-result a{text-decoration:none}
