*{box-sizing:border-box;margin:0;padding:0;scrollbar-color:rgba(218,255,232,.28) rgba(255,255,255,.035);scrollbar-width:thin}:root{--bg:#07110d;--bg-soft:#0b1913;--surface:#102018;--surface-2:#172820;--surface-3:#20372d;--border:rgba(218,255,232,0.12);--text:#f3fff8;--text-muted:#9bb2a7;--accent:#25d366;--accent-hover:#20bd5a;--accent-ink:#04150b;--danger:#ff6262;--warning:#f7c948;--shadow:0 24px 80px rgba(0,0,0,0.38)}html{background:var(--bg)}body{min-height:100vh;overflow-x:hidden;background:radial-gradient(circle at top left,rgba(37,211,102,.12),transparent 36rem),linear-gradient(135deg,#06100c,#0a1510 48%,#05100c);color:var(--text);font-family:Aptos,Segoe UI,system-ui,sans-serif}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:rgba(255,255,255,.035)}::-webkit-scrollbar-thumb{border:2px solid rgba(5,16,12,.96);border-radius:999px;background:rgba(218,255,232,.28)}::-webkit-scrollbar-thumb:hover{background:rgba(218,255,232,.42)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}a{color:inherit}.app-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:.5rem;border-radius:10px;padding:.75rem 1rem;background:var(--accent);color:var(--accent-ink);font-weight:800;text-decoration:none;white-space:nowrap;transition:transform .18s ease,background .18s ease,border-color .18s ease}.app-button:hover{transform:translateY(-1px);background:var(--accent-hover)}.app-button.secondary{border:1px solid var(--border);background:rgba(255,255,255,.04);color:var(--text)}.app-button.danger{background:rgba(255,98,98,.14);color:#ffd3d3}.app-button.ghost{background:transparent;color:var(--text-muted)}.app-button-sm{min-height:36px;border-radius:8px;padding:.5rem .75rem;font-size:.86rem}.app-button-icon{width:44px;min-width:44px;padding:0}.app-button:disabled{cursor:not-allowed;opacity:.58;transform:none}.app-card{border:1px solid var(--border);border-radius:14px;background:rgba(16,32,24,.76);box-shadow:var(--shadow)}.app-input,.app-select,.app-textarea{width:100%;min-height:44px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.055);color:var(--text);outline:none;padding:.7rem .85rem}.app-textarea{resize:vertical}.badge{display:inline-flex;align-items:center;gap:.35rem;width:max-content;max-width:100%;border-radius:999px;border:1px solid var(--border);padding:.28rem .55rem;color:var(--text-muted);font-size:.78rem;font-weight:700;white-space:nowrap}.ui-separator{height:1px;width:100%;background:var(--border)}.ui-scroll-area{min-height:0;overflow:auto}.resizable-panel-group{display:flex;min-width:0;min-height:0}.resizable-handle{position:relative;display:flex;flex:0 0 auto;align-items:center;justify-content:center;background:var(--border)}.resizable-handle[aria-orientation=vertical]{width:1px;cursor:col-resize}.resizable-handle[aria-orientation=horizontal]{height:1px;cursor:row-resize}.resizable-handle span{position:absolute;border:1px solid var(--border);border-radius:999px;background:rgba(5,16,12,.96);opacity:0;transition:opacity .16s ease,background .16s ease}.resizable-handle:hover span,.resizable-handle[data-resize-handle-active] span{opacity:1;background:var(--surface-2)}.resizable-handle[aria-orientation=vertical] span{width:8px;height:42px}.resizable-handle[aria-orientation=horizontal] span{width:42px;height:8px}.auth-page{display:grid;min-height:100dvh;place-items:center;overflow:auto;padding:clamp(.5rem,1.4vw,1.2rem);background:radial-gradient(circle at 14% 12%,rgba(37,211,102,.18),transparent 24rem),radial-gradient(circle at 92% 86%,rgba(37,211,102,.08),transparent 26rem),linear-gradient(135deg,#06100c,#0a1510 52%,#05100c)}.login-card{width:min(100%,440px);padding:clamp(1.25rem,4vw,2rem)}.login-shell{display:grid;width:min(1280px,calc(100vw - 1.25rem));height:min(820px,calc(100dvh - 1.25rem));grid-template-columns:minmax(0,1.08fr) minmax(400px,.92fr);overflow:hidden;border:1px solid rgba(218,255,232,.12);border-radius:24px;background:rgba(16,32,24,.92);box-shadow:0 32px 90px rgba(0,0,0,.44)}.login-shell-compact{display:flex;width:min(460px,calc(100vw - 1.25rem));height:auto;min-height:auto;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.login-story{position:relative;display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:clamp(.65rem,1.35vh,1rem);padding:clamp(1.2rem,3vw,3rem);text-align:center}.login-highlights span,.login-pill{display:inline-flex;width:max-content;max-width:100%;align-items:center;gap:.45rem;border:1px solid rgba(37,211,102,.24);border-radius:999px;background:rgba(37,211,102,.08);color:#b8f8cf;font-size:.84rem;font-weight:800;padding:.45rem .7rem}.login-story h1{max-width:560px;color:var(--text);font-size:clamp(2.45rem,4.1vw,4.1rem);line-height:.98;letter-spacing:0}.login-story h1 span{color:var(--accent)}.login-story p{max-width:470px;margin:.7rem auto 0;color:var(--text-muted);font-size:clamp(.95rem,1.2vw,1.05rem);line-height:1.45}.login-highlights{display:flex;justify-content:center;flex-wrap:wrap;gap:.65rem}.login-preview{position:relative;width:min(430px,100%);flex:0 0 auto;min-height:330px}.login-phone{position:relative;width:min(190px,52vw);aspect-ratio:9/15.8;margin:0 auto;border:1px solid rgba(218,255,232,.16);border-radius:26px;background:linear-gradient(180deg,rgba(37,211,102,.18),transparent 44%),#07130f;box-shadow:0 24px 70px rgba(0,0,0,.32);overflow:hidden;padding:1.1rem}.login-phone-top{width:72px;height:7px;border-radius:999px;margin:0 auto 1.15rem;background:rgba(218,255,232,.16)}.login-chat-line{width:78%;border-radius:16px;padding:.58rem .68rem;color:var(--text);font-size:.72rem;line-height:1.35;text-align:left}.login-chat-line.left{background:rgba(255,255,255,.075)}.login-chat-line.right{margin:.7rem 0 0 auto;background:rgba(37,211,102,.24)}.login-video-card{display:flex;align-items:center;gap:.5rem;margin-top:.9rem;min-height:98px;border:1px solid rgba(218,255,232,.14);border-radius:18px;background:linear-gradient(135deg,rgba(37,211,102,.18),rgba(255,255,255,.045)),rgba(255,255,255,.045);color:var(--text);font-weight:800;justify-content:center}.login-progress{height:8px;margin-top:.9rem;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.login-progress span{display:block;width:72%;height:100%;border-radius:inherit;background:var(--accent)}.login-floating-card{position:absolute;right:.15rem;bottom:.3rem;display:flex;align-items:center;gap:.75rem;border:1px solid rgba(218,255,232,.16);border-radius:16px;background:rgba(12,27,20,.88);color:var(--text);box-shadow:0 18px 46px rgba(0,0,0,.32);padding:.8rem .95rem;text-align:left;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-floating-card small,.login-floating-card strong{display:block}.login-floating-card small{margin-top:.2rem;color:var(--text-muted)}.login-panel{display:flex;flex-direction:column;align-self:center;justify-self:center;width:min(410px,calc(100% - 2rem));gap:.75rem;border:1px solid rgba(218,255,232,.16);border-radius:18px;background:rgba(7,19,15,.92);color:var(--text);box-shadow:0 26px 70px rgba(0,0,0,.42);padding:clamp(1rem,2.4vw,1.45rem)}.login-shell:after{grid-column:2;grid-row:1;display:block;min-width:0;min-height:100%;background:radial-gradient(circle at 70% 20%,rgba(37,211,102,.2),transparent 18rem),linear-gradient(145deg,rgba(37,211,102,.16),rgba(37,211,102,.06));content:""}.login-shell-compact:after{display:none}.login-panel{grid-column:2;grid-row:1;position:relative;z-index:1}.login-shell-compact .login-panel{grid-column:auto;grid-row:auto;width:100%}.login-panel-head{display:flex;align-items:center;flex-direction:column;gap:.45rem;text-align:center}.login-brand-mark{color:var(--text);font-size:1.65rem;font-weight:900}.login-brand-mark span{color:#25d366}.login-panel h2{color:var(--text);font-size:clamp(1.45rem,2.4vw,1.75rem);line-height:1;letter-spacing:0}.login-panel p{color:var(--text-muted);line-height:1.45}.login-form{gap:.52rem}.login-form,.login-form label{display:flex;flex-direction:column}.login-form label{gap:.35rem;color:var(--text);font-size:.86rem;font-weight:800}.login-form input{min-height:40px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.055);color:var(--text);outline:none;padding:.66rem .85rem;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.login-form input::placeholder{color:rgba(207,224,215,.62)}.login-form input:focus{border-color:rgba(37,211,102,.58);background:rgba(255,255,255,.075);box-shadow:0 0 0 3px rgba(37,211,102,.12)}.login-form input:-webkit-autofill,.login-form input:-webkit-autofill:focus,.login-form input:-webkit-autofill:hover{border-color:rgba(37,211,102,.36);box-shadow:inset 0 0 0 1000px #102018;-webkit-text-fill-color:var(--text)}.login-google-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:.6rem;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-weight:900;text-decoration:none;transition:transform .18s ease,background .18s ease}.login-google-button:hover{transform:translateY(-1px);background:var(--accent-hover)}.login-google-button:disabled{cursor:not-allowed;opacity:.62;transform:none}.login-error{border:1px solid rgba(255,98,98,.24);border-radius:12px;background:rgba(255,98,98,.08);color:#ffd3d3;padding:.72rem .8rem}.login-success{border:1px solid rgba(37,211,102,.28);border-radius:12px;background:rgba(37,211,102,.1);color:#b8f8cf;padding:.72rem .8rem}.login-link-button{width:max-content;margin:-.4rem auto 0;background:transparent;color:var(--accent);font-weight:800;text-decoration:underline;text-underline-offset:3px}.login-divider{display:flex;align-items:center;gap:.7rem;color:var(--text-muted);font-size:.82rem;font-weight:800}.login-divider:after,.login-divider:before{height:1px;flex:1 1;background:var(--border);content:""}.login-social-button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:.6rem;border:1px solid rgba(218,255,232,.18);border-radius:10px;background:rgba(255,255,255,.045);color:var(--text);font-weight:900;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.login-social-button:hover{border-color:rgba(37,211,102,.36);background:rgba(37,211,102,.08);box-shadow:0 10px 24px rgba(0,0,0,.18);transform:translateY(-1px)}.login-social-button:disabled{cursor:not-allowed;opacity:.62;transform:none}.login-social-button .login-google-logo{display:block;width:20px;height:20px;flex:0 0 auto}.login-note{border-top:1px solid var(--border);padding-top:1rem}.login-note,.login-route-switch{color:var(--text-muted);font-size:.9rem;text-align:center}.login-route-switch{line-height:1.35}.login-route-switch a{color:var(--accent);font-weight:900;text-decoration:underline;text-underline-offset:3px}.verify-panel{display:flex;width:min(560px,100%);flex-direction:column;align-items:center;gap:1rem;border-radius:18px;border:1px solid rgba(218,255,232,.16);background:rgba(7,19,15,.94);box-shadow:0 26px 70px rgba(0,0,0,.36);color:var(--text);padding:clamp(1.25rem,4vw,2.25rem);text-align:center}.verify-icon{display:grid;width:72px;height:72px;place-items:center;border-radius:22px;background:rgba(37,211,102,.1);color:var(--accent)}.verify-icon-danger{background:rgba(255,98,98,.1);color:var(--danger)}.verify-panel h1{color:var(--text);font-size:2rem;line-height:1.08;text-wrap:balance}.verify-panel p{color:var(--text-muted);line-height:1.5}.auth-action-panel{align-items:stretch}.auth-action-copy{display:flex;flex-direction:column;align-items:center;gap:.55rem}.auth-action-copy p{max-width:48ch}.auth-action-kicker{color:#b8f8cf!important;font-size:.82rem;font-weight:900}.auth-status-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.65rem;gap:.65rem}.auth-status-row span{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:.45rem;border:1px solid rgba(37,211,102,.24);border-radius:10px;background:rgba(37,211,102,.08);color:#c6f6d7;font-size:.88rem;font-weight:800}.auth-message{width:100%;border-radius:10px;padding:.78rem .9rem;font-weight:700;text-align:left}.auth-message-error{border:1px solid rgba(255,98,98,.24);background:rgba(255,98,98,.08);color:#ffd3d3!important}.auth-message-success{border:1px solid rgba(37,211,102,.28);background:rgba(37,211,102,.1);color:#b8f8cf!important}.auth-form{width:100%}.auth-action-buttons{display:flex;width:100%;flex-direction:column;gap:.7rem}.auth-action-buttons .login-google-button,.auth-action-panel>.login-google-button,.auth-form .login-google-button{width:100%;min-height:46px}.auth-secondary-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.85rem}.auth-secondary-link{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;border:0;background:transparent;color:var(--text-muted);font-size:.9rem;font-weight:800;text-decoration:none;transition:color .16s ease}.auth-secondary-link:hover{color:var(--accent)}.dashboard-shell{display:grid;min-height:100svh;grid-template-columns:270px minmax(0,1fr)}.dashboard-shell-loading{background:radial-gradient(circle at 14% 10%,rgba(37,211,102,.12),transparent 28rem),linear-gradient(135deg,#06100c,#0a1510 54%,#05100c)}.dashboard-sidebar{position:-webkit-sticky;position:sticky;top:0;height:100svh;border-right:1px solid var(--border);background:rgba(5,16,12,.88);padding:0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.dashboard-main{min-width:0;padding:clamp(1rem,3vw,2rem)}.dashboard-nav{display:flex;min-height:0;height:100%;flex-direction:column;gap:1rem;padding:1rem}.dashboard-brand-row,.dashboard-mobile-topbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.dashboard-brand,.dashboard-mobile-brand{color:var(--text);font-size:1.35rem;font-weight:800;text-decoration:none}.dashboard-brand span,.dashboard-mobile-brand span{color:var(--accent)}.dashboard-nav-scroll{flex:1 1}.dashboard-nav-list{display:flex;min-width:0;flex-direction:column;gap:.45rem}.dashboard-nav-item{display:flex;min-height:44px;min-width:0;align-items:center;gap:.7rem;border:1px solid transparent;border-radius:10px;padding:.7rem .8rem;color:var(--text-muted);font-weight:700;text-decoration:none;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.dashboard-nav-item span{overflow:hidden;text-overflow:ellipsis}.dashboard-nav-item.active,.dashboard-nav-item:hover{border-color:var(--border);background:rgba(255,255,255,.055);color:var(--text)}.dashboard-nav-item.active{background:var(--accent);color:var(--accent-ink)}.dashboard-logout{width:100%;margin-top:auto}.dashboard-mobile-topbar{display:none}.dashboard-loading-sidebar{pointer-events:none}.dashboard-loading-nav{display:flex;flex-direction:column;gap:.45rem}.dashboard-loading-nav-item{display:flex;min-height:44px;align-items:center;gap:.7rem;border-radius:10px;color:rgba(207,224,215,.52);padding:.7rem .8rem}.dashboard-loading-button,.dashboard-loading-grid span,.dashboard-loading-head p,.dashboard-loading-head span,.dashboard-loading-head strong,.dashboard-loading-icon,.dashboard-loading-nav-item span,.dashboard-loading-panels span,.dashboard-loading-pill,.dashboard-loading-wide{position:relative;overflow:hidden;border-radius:8px;background:rgba(218,255,232,.075)}.dashboard-loading-button:after,.dashboard-loading-grid span:after,.dashboard-loading-head p:after,.dashboard-loading-head span:after,.dashboard-loading-head strong:after,.dashboard-loading-icon:after,.dashboard-loading-nav-item span:after,.dashboard-loading-panels span:after,.dashboard-loading-pill:after,.dashboard-loading-wide:after{position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(218,255,232,.1),transparent);content:"";transform:translateX(-100%);animation:dashboard-skeleton 1.35s ease-in-out infinite}.dashboard-loading-nav-item span{width:58%;height:12px}.dashboard-loading-pill{display:block;width:56px;height:24px;border-radius:999px}.dashboard-loading-button{width:100%;height:44px;margin-top:auto}.dashboard-loading-icon{display:block;width:44px;height:44px}.dashboard-loading-main{display:flex;min-height:100svh;flex-direction:column;gap:1.25rem}.dashboard-loading-status{display:flex;width:min(100%,520px);align-items:center;gap:.85rem;border:1px solid rgba(218,255,232,.14);border-radius:12px;background:rgba(5,16,12,.58);padding:.9rem 1rem}.dashboard-loading-status strong{display:block;color:var(--text);font-size:.95rem}.dashboard-loading-status p{margin-top:.2rem;color:var(--text-muted);font-size:.88rem}.dashboard-loading-spinner{display:grid;width:36px;height:36px;flex:0 0 auto;place-items:center;border-radius:10px;background:rgba(37,211,102,.1);color:var(--accent)}.dashboard-loading-spinner svg{animation:dashboard-spin .9s linear infinite}.dashboard-loading-content{display:flex;flex-direction:column;gap:1rem}.dashboard-loading-head{display:flex;flex-direction:column;gap:.65rem}.dashboard-loading-head span{width:74px;height:28px;border-radius:999px}.dashboard-loading-head strong{width:min(420px,62vw);height:36px}.dashboard-loading-head p{width:min(520px,72vw);height:18px}.dashboard-loading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1rem;gap:1rem}.dashboard-loading-grid span{height:148px;border-radius:14px}.dashboard-loading-wide{height:116px;border-radius:14px}.dashboard-loading-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem}.dashboard-loading-panels span{height:220px;border-radius:14px}@keyframes dashboard-skeleton{to{transform:translateX(100%)}}@keyframes dashboard-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.dashboard-loading-button:after,.dashboard-loading-grid span:after,.dashboard-loading-head p:after,.dashboard-loading-head span:after,.dashboard-loading-head strong:after,.dashboard-loading-icon:after,.dashboard-loading-nav-item span:after,.dashboard-loading-panels span:after,.dashboard-loading-pill:after,.dashboard-loading-spinner svg,.dashboard-loading-wide:after{animation:none}}.sheet-root{position:fixed;inset:0;z-index:70}.sheet-overlay{position:absolute;inset:0;background:rgba(0,0,0,.56);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.sheet-panel{position:absolute;top:0;bottom:0;display:flex;width:min(92vw,390px);min-width:0;flex-direction:column;overflow:hidden;border:1px solid var(--border);background:rgba(5,16,12,.96);box-shadow:var(--shadow)}.sheet-panel-left{left:0;border-left:0}.sheet-panel-right{right:0;border-right:0}.sheet-header{align-items:center;border-bottom:1px solid var(--border);padding:.85rem 1rem}.page-head,.sheet-header{display:flex;justify-content:space-between;gap:1rem}.page-head{align-items:flex-start;margin-bottom:1.25rem}.grid-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1rem;gap:1rem}.responsive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:1rem;gap:1rem}.stack{flex-direction:column}.row,.stack{display:flex;gap:1rem}.row,.settings-toggle{align-items:center;justify-content:space-between}.settings-toggle{display:flex;gap:1rem;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.04);padding:1rem}.settings-toggle-copy{display:flex;min-width:0;flex-direction:column;gap:.35rem}.settings-toggle-copy span{display:inline-flex;align-items:center;gap:.5rem;font-weight:800}.settings-toggle-copy small{color:var(--text-muted);line-height:1.4}.settings-toggle input{width:44px;height:24px;flex:0 0 auto;accent-color:var(--accent)}.muted{color:var(--text-muted)}.project-editor-page{display:flex;height:100dvh;min-width:0;flex-direction:column;overflow:hidden;margin:calc(clamp(1rem, 3vw, 2rem) * -1)}.project-editor-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);background:rgba(5,16,12,.9);padding:.85rem clamp(1rem,2vw,1.5rem);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.editor-controls,.editor-preview-status,.editor-preview-title,.project-header-actions,.project-title-block,.timeline-toolbar{display:flex;min-width:0;align-items:center;gap:.8rem}.editor-preview-heading,.project-title-block h1{overflow:hidden;text-overflow:ellipsis;color:var(--text);line-height:1.1;white-space:nowrap}.project-title-block h1{font-size:1.35rem}.editor-preview-title p,.project-title-block p{overflow:hidden;text-overflow:ellipsis;font-size:.86rem;white-space:nowrap}.editor-back-link{text-decoration:none}.editor-mobile-menu-button{display:none}.editor-shell{width:100%;height:100%;min-height:0;flex:1 1;overflow:hidden}.editor-panel,.editor-panel-resizable,.editor-preview-resizable{min-width:0;min-height:0;overflow:hidden}.editor-panel{display:flex;width:100%;height:100%;flex-direction:column;background:rgba(5,16,12,.88)}.editor-shell-handle{z-index:20}.editor-panel-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);padding:.85rem 1rem}.editor-panel-top p{font-size:.78rem}.editor-preview{position:relative;background:radial-gradient(circle at center,rgba(37,211,102,.08),transparent 30rem),#050907}.editor-preview,.video-editor-panel{display:flex;width:100%;height:100%;min-width:0;min-height:0;flex-direction:column;overflow:hidden}.video-editor-panel:-webkit-full-screen{width:100vw;height:100dvh;background:radial-gradient(circle at center,rgba(37,211,102,.08),transparent 30rem),#050907}.video-editor-panel.fullscreen-fallback,.video-editor-panel:fullscreen{width:100vw;height:100dvh;background:radial-gradient(circle at center,rgba(37,211,102,.08),transparent 30rem),#050907}.video-editor-panel.fullscreen-fallback{position:fixed;inset:0;z-index:90}.video-editor-panel:-webkit-full-screen .editor-player-frame{height:min(100%,68dvh,820px);max-width:min(100%,560px)}.video-editor-panel.fullscreen-fallback .editor-player-frame,.video-editor-panel:fullscreen .editor-player-frame{height:min(100%,68dvh,820px);max-width:min(100%,560px)}.editor-preview-header{flex:0 0 auto;display:flex;min-width:0;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border);padding:.75rem clamp(1rem,2vw,1.35rem)}.video-editor-resizable{width:100%;height:100%;flex:1 1}.video-editor-resizable,.video-stage-panel,.video-timeline-panel{min-width:0;min-height:0;overflow:hidden}.video-timeline-panel{display:flex;flex-direction:column}.video-timeline-handle{z-index:18}.video-timeline-handle span{width:64px}.editor-preview-heading{display:block;max-width:min(48vw,680px);font-size:1rem;font-weight:800}.render-badge{text-transform:capitalize}.render-processing,.render-queued{border-color:rgba(247,201,72,.32);color:var(--warning)}.render-completed{border-color:rgba(37,211,102,.36);color:var(--accent)}.render-failed{border-color:rgba(255,98,98,.35);color:var(--danger)}.video-stage{display:grid;height:100%;min-width:0;min-height:0;place-items:center;overflow:hidden;padding:clamp(1rem,2.2vw,2rem)}.preview-player{width:min(360px,calc(100vw - 2rem));aspect-ratio:9/16;overflow:hidden;border-radius:14px;box-shadow:0 28px 70px rgba(0,0,0,.55)}.editor-player-frame{width:auto;height:min(100%,62vh,680px);max-width:min(100%,460px);max-height:100%;border:1px solid rgba(218,255,232,.16)}.editor-controls{border-top:1px solid var(--border);background:rgba(5,16,12,.72);padding:.68rem clamp(1rem,2vw,1.35rem)}.editor-timecode{display:inline-flex;min-width:104px;align-items:center;gap:.35rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-weight:800}.editor-scrubber{min-width:120px;flex:1 1;accent-color:var(--accent)}.timeline-shell{display:flex;flex:1 1;height:auto;min-width:0;min-height:0;flex-direction:column;overflow:hidden;border-top:1px solid var(--border);background:rgba(5,16,12,.76)}.timeline-toolbar{flex-shrink:0;justify-content:space-between;padding:.64rem clamp(1rem,2vw,1.35rem)}.timeline-toolbar>div{display:flex;min-width:0;align-items:center;gap:.75rem}.timeline-toolbar span{font-size:.82rem}.timeline-zoom{flex-shrink:0}.timeline-zoom .app-button-icon{width:34px;min-width:34px;min-height:34px}.timeline-zoom-slider{width:132px;accent-color:var(--accent)}.timeline-scroll{flex:1 1;max-width:100%;min-height:0;overflow-x:auto;overflow-y:auto;border-top:1px solid var(--border);scrollbar-gutter:stable}.timeline-grid{position:relative;min-width:100%;min-height:max(100%,224px)}.timeline-ruler-row{display:grid;height:34px;grid-template-columns:104px minmax(0,1fr);cursor:ew-resize}.timeline-ruler{position:relative;height:34px;border-bottom:1px solid var(--border)}.timeline-ruler-corner{position:-webkit-sticky;position:sticky;left:0;z-index:7;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:rgba(5,16,12,.98)}.timeline-ruler span{position:absolute;top:8px;color:var(--text-muted);font-size:.72rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;transform:translateX(-50%)}.timeline-ruler span:before{position:absolute;top:18px;left:50%;width:1px;height:190px;background:rgba(218,255,232,.07);content:""}.timeline-playhead{position:absolute;top:0;bottom:0;z-index:8;width:2px;background:var(--accent);box-shadow:0 0 16px rgba(37,211,102,.48);cursor:ew-resize;pointer-events:auto}.timeline-playhead:before{position:absolute;top:26px;left:50%;width:10px;height:10px;border-radius:999px;background:var(--accent);content:"";transform:translateX(-50%)}.timeline-playhead span{position:absolute;top:6px;left:8px;border:1px solid rgba(37,211,102,.38);border-radius:999px;background:rgba(5,16,12,.94);color:var(--accent);font-size:.68rem;font-weight:800;padding:.12rem .38rem;white-space:nowrap}.timeline-track{display:grid;height:38px;grid-template-columns:104px minmax(0,1fr);border-bottom:1px solid rgba(218,255,232,.07)}.timeline-track.is-over .timeline-track-lane{background:rgba(37,211,102,.045)}.timeline-track.is-hidden .timeline-track-lane{opacity:.42}.timeline-track.is-hidden .timeline-track-label{color:rgba(155,178,167,.58)}.timeline-track-label{position:-webkit-sticky;position:sticky;left:0;z-index:6;display:flex;align-items:center;gap:.45rem;border-right:1px solid var(--border);background:rgba(5,16,12,.96);padding:0 .65rem;color:var(--text-muted);font-size:.78rem;font-weight:800}.timeline-track-label span{overflow:hidden;text-overflow:ellipsis}.timeline-track-visibility{display:inline-flex;width:24px;height:24px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;background:transparent;color:currentColor}.timeline-track-visibility:hover{border-color:var(--border);background:rgba(255,255,255,.055);color:var(--text)}.timeline-track-lane{position:relative;height:100%;min-width:0}.timeline-clip{position:absolute;top:6px;bottom:6px;display:flex;align-items:center;gap:.45rem;overflow:hidden;border:1px solid var(--border);border-radius:8px;padding:0 .62rem;color:var(--text);cursor:-webkit-grab;cursor:grab;font-size:.74rem;font-weight:800;white-space:nowrap;touch-action:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,opacity .16s ease}.timeline-clip span{position:relative;z-index:2;overflow:hidden;text-overflow:ellipsis}.timeline-clip-base{background:rgba(255,255,255,.045)}.timeline-clip-primary{background:rgba(37,211,102,.16)}.timeline-clip-audio{background:rgba(247,201,72,.16)}.timeline-clip-media{background:rgba(255,255,255,.08)}.timeline-clip-effect{background:rgba(37,211,102,.1)}.timeline-clip.selected,.timeline-clip:hover{border-color:rgba(37,211,102,.72);box-shadow:0 0 0 1px rgba(37,211,102,.18),0 0 18px rgba(37,211,102,.18)}.timeline-clip.dragging{cursor:-webkit-grabbing;cursor:grabbing;opacity:.82;z-index:9}.timeline-clip.locked{cursor:default}.timeline-resize-handle{position:absolute;top:0;bottom:0;z-index:3;width:8px;border-radius:inherit;background:transparent;cursor:ew-resize}.timeline-resize-handle.start{left:0}.timeline-resize-handle.end{right:0}.timeline-resize-handle:hover{background:rgba(37,211,102,.22)}.timeline-waveform{position:absolute;inset:4px 8px 4px 68px;display:flex;align-items:center;gap:2px;opacity:.75;pointer-events:none}.timeline-waveform i{display:block;width:2px;min-height:3px;border-radius:999px;background:currentColor;opacity:.58}@media (max-width:1180px){.login-shell{grid-template-columns:minmax(0,1fr) minmax(360px,.92fr)}.login-story h1{font-size:clamp(2.4rem,5vw,3.8rem)}.editor-mobile-menu-button{display:inline-flex}#project-settings-panel,.editor-shell-handle{display:none!important}#project-preview-panel{flex-basis:0!important;flex-grow:1!important;flex-shrink:1!important}.project-title-block h1{max-width:46vw}}@media (max-width:1024px){.auth-page{overflow:auto}.login-shell{grid-template-columns:1fr;grid-template-rows:auto minmax(360px,auto);max-width:760px;min-height:auto}.login-story{text-align:center}.login-preview{min-height:250px}.login-phone{width:190px}.login-floating-card{right:5rem;left:auto;bottom:1.5rem}.login-panel,.login-shell:after{grid-column:1;grid-row:2}.grid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-shell{grid-template-columns:236px minmax(0,1fr)}.editor-player-frame{height:min(100%,52vh,560px)}}@media (max-width:820px){.auth-page{align-items:start}.login-shell{border-radius:22px;grid-template-rows:auto minmax(330px,auto)}.login-story{gap:1rem;padding:2rem 1.25rem}.login-story p{font-size:1rem}.login-preview{min-height:190px}.login-phone{width:156px;border-radius:22px;padding:.85rem}.login-chat-line{font-size:.68rem}.login-video-card{min-height:78px;font-size:.76rem}.login-floating-card{right:1rem;bottom:1rem;max-width:min(260px,calc(100vw - 190px))}.login-panel{width:min(430px,calc(100% - 2rem))}.dashboard-shell,.dashboard-shell-loading{display:block}.dashboard-sidebar{display:none}.dashboard-mobile-topbar{position:-webkit-sticky;position:sticky;top:0;z-index:40;display:flex;min-height:60px;border-bottom:1px solid var(--border);background:rgba(5,16,12,.94);padding:.55rem .85rem;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.dashboard-mobile-brand{font-size:1.05rem}.dashboard-loading-topbar{pointer-events:none}.dashboard-loading-main{min-height:calc(100svh - 60px)}.dashboard-loading-grid,.dashboard-loading-panels{grid-template-columns:1fr}.dashboard-loading-grid span{height:124px}.dashboard-main{padding:1rem}.page-head,.row{flex-direction:column;align-items:stretch}.grid-stats,.responsive-grid{grid-template-columns:1fr}.project-editor-page{height:calc(100dvh - 60px);margin:-1rem}.project-editor-header{min-height:auto;align-items:flex-start;padding:.8rem 1rem}.project-title-block{gap:.6rem}.editor-back-link{display:none}.project-title-block h1{max-width:52vw}.project-header-actions{flex-shrink:0}.editor-mobile-menu-button{display:inline-flex}.editor-shell{display:flex}#project-settings-panel,.editor-panel-resizable,.editor-shell-handle{display:none}#project-preview-panel,.editor-preview-resizable{flex:1 1 auto!important}.editor-preview-header{align-items:flex-start;padding:.75rem 1rem}.editor-preview-heading{max-width:52vw}.video-stage{padding:.9rem}.editor-player-frame{width:min(78vw,340px);height:auto}.editor-controls{flex-wrap:wrap;gap:.6rem;padding:.65rem 1rem}.editor-timecode{min-width:94px;font-size:.88rem}.editor-scrubber{order:4;flex-basis:100%}.timeline-toolbar{padding:.6rem 1rem}.timeline-shell{min-height:0}.timeline-ruler-row{grid-template-columns:84px minmax(0,1fr)}.timeline-ruler{height:26px}.timeline-track{height:34px;grid-template-columns:84px minmax(0,1fr)}.timeline-clip,.timeline-track-label{font-size:.7rem}.timeline-clip{top:6px;bottom:6px;border-radius:7px}.timeline-track-label{padding:0 .55rem}.timeline-ruler-corner{width:84px}}@media (max-width:560px){.auth-page{padding:.9rem}.login-story h1{font-size:clamp(2.8rem,16vw,4.2rem)}.login-preview{display:none}.login-highlights{display:grid;grid-template-columns:1fr}.login-highlights span,.login-pill{width:100%}.login-panel{border-radius:20px}.verify-panel{width:100%;border-radius:16px;padding:1.2rem}.verify-panel h1{font-size:1.72rem}.auth-status-row{grid-template-columns:1fr}.auth-secondary-actions{flex-direction:column;gap:.65rem}.editor-preview-header,.project-editor-header{flex-direction:column}.editor-preview-status,.project-header-actions{width:100%;justify-content:space-between}.editor-preview-heading,.editor-preview-title p,.project-title-block h1,.project-title-block p{max-width:calc(100vw - 2rem)}.editor-preview-title{width:100%;align-items:flex-start}.video-stage{align-items:start}}@media (max-width:430px){.dashboard-main{padding:.85rem}.project-editor-page{margin:-.85rem}.preview-player{width:min(100%,calc(100vw - 1rem))}.editor-player-frame{width:min(82vw,300px)}.timeline-shell{height:224px}.timeline-toolbar{align-items:stretch;flex-direction:column}.timeline-toolbar>div{justify-content:space-between}.timeline-zoom-slider{flex:1 1;min-width:0}.badge{font-size:.72rem}.app-button{padding-inline:.75rem}.app-button-icon{padding:0}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition-duration:.01ms!important}}