.team-shell{min-height:100dvh;background:#0c0f15;color:#e9edf5}.team-shell .team-header{min-height:0;display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:calc(env(safe-area-inset-top,0px) + 24px) max(16px,4vw) 16px}.team-shell .brand{min-width:0;flex:1}.team-shell .brand span:last-child{min-width:0}.team-shell .brand strong{overflow-wrap:anywhere}.team-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.team-language{margin:0;display:flex;flex-direction:row;align-items:center;gap:6px}.team-language select{width:auto;min-width:64px;padding:8px}.team-shell .team-content{display:block;max-width:920px;margin:0 auto;min-width:0;padding:clamp(16px,5vw,38px) max(16px,4vw) max(32px,env(safe-area-inset-bottom,0px))}.team-summary,.team-panel,.team-login-panel{min-width:0;max-width:100%;padding:clamp(16px,4vw,28px);background:#151c26;border:1px solid #303b4b;border-radius:15px;margin-bottom:18px}.team-shell h1{font-size:clamp(22px,5vw,34px);font-weight:600}.team-shell h2{font-size:18px;margin:0 0 18px}.team-summary label{max-width:450px;font-size:13px}.team-eyebrow,.team-login-panel>p,.team-footnote{color:#9caec5;line-height:1.5;overflow-wrap:anywhere}.team-login-panel{max-width:480px;margin:0 auto}.team-login-panel form{display:grid;gap:4px;margin-top:18px}.team-login-panel label{font-size:13px}.team-login-panel button{min-height:44px}.team-project-list{margin:0;padding:0;list-style:none;display:grid;gap:10px;min-width:0}.team-project-list li{padding:14px;border:1px solid #303b4b;border-radius:10px;display:grid;gap:6px;min-width:0}.team-project-list strong,.team-project-list small{min-width:0;overflow-wrap:anywhere}.team-project-list small,.team-member small{color:#9caec5}.team-member-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px}.team-member{padding:14px;border:1px solid #303b4b;border-radius:10px;min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}.team-error{color:#ffb6ae;overflow-wrap:anywhere}@media(max-width:390px){.team-shell .team-header{gap:12px}.team-header-actions{width:100%;justify-content:space-between}.team-shell .team-content{padding-left:14px;padding-right:14px}}.team-import-preview{display:grid;gap:10px;margin-top:16px;padding:16px;border:1px solid #40526a;border-radius:10px;min-width:0}.team-import-preview>strong,.team-import-preview>small{overflow-wrap:anywhere}.team-import-preview>small{color:#acb9cc}.team-import-preview p{line-height:1.6;margin:4px 0;color:#b3c1d5}.team-import-actions{display:flex;gap:10px;flex-wrap:wrap}.team-import-actions button{min-height:44px;max-width:100%;white-space:normal}.team-import-preview code{overflow-wrap:anywhere}@media(max-width:390px){.team-import-actions{flex-direction:column}.team-import-actions button{width:100%}}.team-project-list button{justify-self:start;min-height:44px;max-width:100%;white-space:normal}.team-film-header{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:12px;min-width:0}.team-film-header h2{flex:1;min-width:0;overflow-wrap:anywhere}.team-film-header button{min-height:44px}.team-film-options{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0;min-width:0}.team-film-options label{min-width:min(100%,160px);flex:1;display:flex;flex-direction:column;gap:8px}.team-film-options select{max-width:100%;min-height:44px}.team-film-player{width:100%;max-width:100%;overflow:hidden;position:relative;background:#090b10;border:1px solid #384152;border-radius:10px}.team-film-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.team-film-buttons button{min-height:44px;max-width:100%;white-space:normal}@media(max-width:390px){.team-film-buttons{flex-direction:column}.team-film-buttons button{width:100%}}.team-text-editor{margin-top:20px}.team-text-editor>label,.team-edit-fields>label{display:grid;gap:8px;min-width:0}.team-text-editor input,.team-text-editor textarea{width:100%;max-width:100%;min-width:0}.team-edit-layout{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:16px;margin-top:16px;min-width:0}.team-edit-scenes{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}.team-edit-scenes button{min-height:44px;text-align:left;overflow-wrap:anywhere;white-space:normal}.team-edit-scenes button[aria-pressed=true]{border-color:#8db9ff}.team-edit-fields{display:grid;gap:12px;min-width:0}@media(max-width:650px){.team-edit-layout{grid-template-columns:minmax(0,1fr)}.team-edit-scenes{flex-direction:row;overflow-x:auto;max-width:100%;padding-bottom:8px}.team-edit-scenes button{flex:0 0 auto;max-width:min(70vw,220px)}}.team-admin-form{display:grid;gap:12px;padding:16px 0;border-top:1px solid #384456;min-width:0}.team-admin-form label{display:grid;gap:7px;min-width:0}.team-admin-form input,.team-admin-form select{min-width:0;width:100%;max-width:100%;min-height:44px}.team-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.team-admin-actions button{min-height:44px;max-width:100%;white-space:normal}.team-members-admin .team-member{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}.team-members-admin .team-member .team-admin-form{min-width:0}@media(max-width:390px){.team-admin-actions{flex-direction:column}.team-admin-actions button{width:100%}}.team-signature-overlays-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}.team-signature-overlay-item{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid #384152;border-radius:10px;padding:14px}.team-signature-overlay-item p{overflow-wrap:anywhere;margin:0}.team-signature-overlay-item label{display:flex;flex-direction:column;gap:8px}.team-signature-overlay-item input{max-width:100%;min-height:44px}.team-signature-overlay-item button{min-height:44px;align-self:flex-start}:root{font-family:Arial,Helvetica,sans-serif;color:#e9edf5;background:#0c0f15;font-synthesis:none;color-scheme:dark;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{border:1px solid #303743;border-radius:8px;color:#cbd3e2;background:#191e28;padding:10px 14px;cursor:pointer;transition:background .12s}button:hover{background:#283243;color:#fff}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #8db9ff;outline-offset:3px}header{min-height:90px;padding:20px 30px;border-bottom:1px solid #252a35;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#10131b}.brand{display:flex;align-items:center;gap:14px}.mark{display:grid;place-items:center;width:42px;height:46px;border-radius:12px;background:#8db9ff;color:#111b2f;font-size:27px;font-weight:700}.brand strong{display:block;font-size:20px;letter-spacing:-.5px}.brand small{display:block;font-size:9px;color:#8490a4;letter-spacing:2px;margin-top:6px}.version{font-size:9px;letter-spacing:1px;color:#94a4ba;border:1px solid #354055;padding:5px 7px;border-radius:4px;margin-left:15px}.header-actions{display:flex;gap:10px}.primary{background:#8db9ff;color:#101c30;border-color:#8db9ff;font-weight:700}.primary:hover{background:#b8d3ff;color:#101c30}main{display:grid;grid-template-columns:270px minmax(420px,1fr) 340px;min-height:calc(100vh - 90px)}aside{padding:28px 20px;background:#10131b}.story-panel{border-right:1px solid #252a35}.editor-panel{border-left:1px solid #252a35}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;letter-spacing:1.6px;color:#a4b1c6;margin-bottom:20px}.section-heading>span+span{font-weight:400;letter-spacing:0;color:#6f7a8f}.spaced{margin-top:30px;margin-bottom:14px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#919fb5;margin-bottom:16px}input,select,textarea{width:100%;background:#191e28;border:1px solid #303743;border-radius:7px;color:#e6ebf5;padding:10px 11px;font-size:13px}textarea{resize:vertical;line-height:1.5;min-height:75px}input[type=color]{height:39px;padding:5px}input[type=range]{padding:0;accent-color:#8db9ff}.scene-list{display:flex;flex-direction:column;gap:9px;margin:25px 0 16px}.scene-card{display:flex;align-items:center;width:100%;text-align:left;gap:12px;padding:14px 10px;border-color:transparent;background:transparent}.scene-card.selected{background:#1c2a41;border-color:#405a82}.scene-number{font-size:11px;color:#7c8ca5}.scene-card div{flex:1;min-width:0}.scene-card strong{display:block;font-size:12px;font-weight:500}.scene-card small{display:block;font-size:9px;color:#7c8ca5;margin-top:6px}.scene-card>span:last-child{font-size:10px;color:#8291a7}.add{background:transparent;border:1px dashed #344053;width:100%;font-size:12px;padding:12px}.settings{margin-top:35px;padding-top:25px;border-top:1px solid #252a35}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.file-actions{display:flex;gap:8px;margin-top:22px}.file-actions button{flex:1;font-size:11px;padding:10px 6px}.hint{font-size:10px;color:#758399;line-height:1.6}.workspace{padding:36px 35px;background:radial-gradient(ellipse at 60% 5%,#1c2332,#0c0f15 65%);overflow:hidden}.canvas-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:9px;letter-spacing:2px;color:#8392aa}h1{font-size:21px;font-weight:500;letter-spacing:-.6px;line-height:1.3;margin:10px 0 0}.pill{font-size:10px;color:#a3b2c8;white-space:nowrap;border:1px solid #30394b;border-radius:20px;padding:8px 12px}.preview-shell{border:1px solid #30394b;border-radius:12px;overflow:hidden;box-shadow:0 30px 90px #0004;background:#11151c;max-width:1100px;margin:auto}.preview-shell.portrait{max-width:330px}.preview-error{padding:40px;font-size:16px;color:#ffb6ae}.timeline{display:flex;gap:5px;margin-top:25px;overflow:auto;min-height:83px}.timeline button{min-width:70px;border-radius:6px;background:#191e2a;border-color:#30394b;padding:10px;text-align:left;overflow:hidden}.timeline button.active{background:#233551;border-color:#8db9ff}.timeline span{display:block;font-size:9px;color:#8db9ff}.timeline strong{display:block;font-weight:400;font-size:10px;margin:7px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline small{font-size:9px;color:#8392aa}.status{color:#90a2be;font-size:11px;line-height:1.7;min-height:50px;padding:18px 0}.download{display:inline-block;margin-left:15px;color:#b3d0ff;font-weight:700}.error{color:#ffb6ae;overflow-wrap:anywhere}.note{border-top:1px solid #262d3a;padding-top:30px;margin-top:45px;max-width:700px}.note>span{font-size:9px;letter-spacing:2px;color:#72829b}.note p{font-size:21px;line-height:1.5;color:#aab8ce;letter-spacing:-.5px;max-width:520px}.line-editor{background:#151a24;padding:12px;border:1px solid #2b3442;border-radius:9px;margin-bottom:12px}.line-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1px;margin-bottom:10px;color:#8c9bb2}.line-heading button{padding:3px 8px;font-size:17px;border:0;background:transparent}.check{flex-direction:row;align-items:center;gap:6px;margin:0;font-size:10px}.check input{width:auto}.line-editor .two-cols{margin-top:12px}.line-editor label{margin-bottom:0}.line-editor input[type=number]{padding:7px}.icon-actions{display:flex;gap:5px}.icon-actions button{padding:5px 9px}.media-import{display:flex;flex-direction:column;gap:9px;align-items:center;width:100%;border-style:dashed;padding:20px 10px;background:#141b27;margin-bottom:14px}.media-import>span{font-size:27px;color:#8db9ff}.media-import strong{font-size:11px;font-weight:400}.media-import small{font-size:9px;color:#6f819d}.scene-actions{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid #2b3442;margin-top:25px;padding-top:20px}.scene-actions button{font-size:10px;padding:9px 10px}.danger{color:#dfa69e}a{color:#a5c9ff}@media(min-width:1700px){main{grid-template-columns:290px minmax(420px,1fr) 360px}.workspace{padding:42px 50px}}@media(max-width:1150px){main{grid-template-columns:220px minmax(350px,1fr)}.editor-panel{grid-column:1/-1;display:block;padding:25px;max-width:800px;width:100%;margin:auto;border:0}.workspace{padding:25px 20px}.story-panel{padding:25px 14px}.version{display:none}}@media(max-width:650px){header{padding:16px;flex-wrap:wrap;gap:16px}.header-actions{width:100%;justify-content:flex-end}.brand strong{font-size:19px}main{display:flex;flex-direction:column}.workspace{order:0;padding:25px 14px}.story-panel{order:1;border:0;border-top:1px solid #252a35}.editor-panel{order:2}.scene-list{display:grid;grid-template-columns:1fr 1fr}.note{display:none}.canvas-top{margin-bottom:20px}h1{font-size:18px}.pill{padding:6px;font-size:9px}.preview-shell.portrait{max-width:260px}.timeline{margin-top:14px}.section-heading{margin-bottom:14px}.status{min-height:0;padding-bottom:0}button{min-height:38px}}.device-notice,.render-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 30px;font-size:11px;line-height:1.6;border-bottom:1px solid #2b3442;background:#151e2c;color:#aebfd8}.render-notice{background:#233551;color:#e2edff;position:sticky;top:0;z-index:20}.device-notice button,.render-notice button{font-size:11px;white-space:nowrap}.share-video{margin:10px 0 0 12px;font-size:12px}@media(max-width:650px){.device-notice,.render-notice{padding:12px 16px}.render-notice{align-items:flex-start}.share-video{margin-left:0;display:block}input,select,textarea{font-size:16px}.app>header{padding-top:max(16px,env(safe-area-inset-top))}.editor-panel{padding-bottom:max(25px,env(safe-area-inset-bottom))}}.project-home{max-width:1100px;margin:0 auto;padding:48px 24px 80px}.project-home h1{font-size:clamp(32px,6vw,52px);margin:12px 0}.project-home>p{color:#aeb8c7;line-height:1.6}.new-project{margin:32px 0 40px;padding:24px;border:1px solid #303b4b;border-radius:18px;background:#151c26;display:grid;grid-template-columns:1.5fr 1fr auto;gap:16px;align-items:end}.new-project h2{grid-column:1/-1;margin:0 0 8px;font-size:20px}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;margin-top:20px}.project-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;text-align:left;padding:16px;min-width:0}.project-card>strong{font-size:20px;overflow-wrap:anywhere}.project-card>small{color:#aeb8c7}.project-card>span:last-child{margin-top:8px;color:#8db9ff}.project-art{height:128px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;padding:24px;font-size:64px;font-weight:700}.project-art span{font-size:16px;font-weight:400}@media(max-width:700px){.project-home{padding:28px 16px 60px}.new-project{grid-template-columns:1fr;padding:20px}.project-home>.section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.header-actions{flex-wrap:wrap}}.app .version{display:inline-block}.pdf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 24px;background:#142530;border-bottom:1px solid #2e4958}.pdf-actions a{color:#acd9f6;text-decoration:underline}.pdf-actions span{font-size:12px;color:#c7d6df}.project-card-container{position:relative;display:block;padding:0;overflow:visible}.project-open{display:flex;flex-direction:column;text-align:left;align-items:flex-start;gap:8px;width:100%;height:100%;border:0;background:transparent;color:inherit;padding:18px 42px 18px 18px}.project-more{position:absolute;right:9px;bottom:9px;z-index:2;min-width:38px;min-height:38px;padding:3px;font-size:23px;line-height:1}.project-menu{position:absolute;right:8px;bottom:48px;z-index:5;width:min(240px,calc(100vw - 50px));background:#1c2330;border:1px solid #52617a;border-radius:10px;box-shadow:0 14px 32px #0009;padding:6px;display:grid;gap:4px}.project-menu button{text-align:left;white-space:normal;min-height:42px}.translate-panel{margin:18px 0 25px;padding:18px;background:#161d2a;border:1px solid #415575;border-radius:12px;max-width:520px}.translate-panel p{font-size:12px;color:#b0bed2;line-height:1.5}.translate-panel label{margin-top:14px}.translate-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.language-workspace{margin:12px 20px;border:1px solid var(--line,#353b45);border-radius:14px;padding:14px;display:grid;gap:12px}.language-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.language-bar select{max-width:210px}.language-compare{display:grid;gap:16px}.language-scene{padding:12px;border:1px solid var(--line,#353b45);border-radius:12px;display:grid;gap:10px}.language-scene h3{margin:0}.language-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.language-pair>div{padding:10px;border-radius:8px;background:#7f7f7f14;min-width:0}.language-pair small{display:block;opacity:.7;margin-bottom:6px}.language-pair p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.language-pair label{min-width:0}.language-pair textarea{display:block;width:100%;min-height:66px;box-sizing:border-box;resize:vertical}@media(max-width:620px){.language-workspace{margin:10px}.language-pair{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.language-pair>div{padding:8px}.language-scene{padding:8px}}.project-file-menu{position:relative;align-self:center;z-index:9}.project-file-menu summary{cursor:pointer;list-style:none;padding:11px 14px;border:1px solid rgba(120,140,160,.5);border-radius:9px;white-space:nowrap}.project-file-menu summary::-webkit-details-marker{display:none}.project-file-options{position:absolute;right:0;top:calc(100% + 5px);display:grid;gap:4px;min-width:min(310px,84vw);padding:8px;border:1px solid rgba(120,140,160,.4);border-radius:12px;background:#202832;box-shadow:0 12px 28px #0000004d}.project-file-options button{text-align:left;white-space:normal;width:100%}@media(max-width:600px){.project-file-menu{width:100%}.project-file-menu summary{text-align:center}.project-file-options{right:auto;left:0;width:100%;box-sizing:border-box}}.language-workspace{background:#192331;border-color:#45536a;box-shadow:0 6px 22px #0000001f}.language-compare{gap:14px}.language-scene{background:#253143;border:1px solid #43536a;padding:0;overflow:hidden}.language-scene-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;text-align:left;font-weight:700;background:#26364b;border:0;color:#f0f5fc;cursor:pointer}.language-scene-toggle small{font-weight:400;opacity:.8;text-align:right;font-size:12px}.language-scene-details{display:grid;gap:12px;padding:14px}.language-pair>div{background:#17212e}.story-panel{background:#18212d}.story-panel .settings{border-top:2px solid #46546a;padding-top:17px}.story-panel .section-heading{color:#acc5ed;font-weight:700;letter-spacing:.09em}.scene-actions{display:flex;flex-wrap:wrap;gap:8px;padding-block:12px;border-top:1px solid #445269}.scene-actions button{min-height:42px}@media(max-width:620px){.language-scene-toggle{padding:13px 10px}.language-scene-details{padding:9px}.language-scene-toggle small{max-width:45%}}
