@layer legacy{:root{--bg:#f7f8fa;--surface:#fff;--ink:#151b2b;--muted:#626c80;--primary:#151711;--blue-soft:#f0f6dc;--line:#e4e7ef;--lime:#d6ff3f;--radius:18px;--shadow:0 8px 30px #1b2a530a}*{box-sizing:border-box}html{scroll-behavior:smooth;background:#edf0f5}body{color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:15px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #d6ff3f}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.025em;line-height:1.35}h1{font-size:28px}h2{font-size:21px}h3{font-size:17px}img,video{max-width:100%;display:block}textarea{resize:vertical}input,textarea,select{width:100%;min-height:48px;color:var(--ink);background:#fff;border:1px solid #dce0e9;border-radius:12px;padding:11px 13px;font-size:16px;line-height:1.55;transition:border-color .16s,box-shadow .16s}input::placeholder,textarea::placeholder{color:#a4aab6}input:focus,textarea:focus,select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #15171110}input[type=checkbox]{width:19px;height:19px;min-height:19px;accent-color:var(--primary);flex-shrink:0;margin:3px 0 0}input[type=range]{box-shadow:none;accent-color:var(--primary);padding:0}.app-shell{background:var(--bg);max-width:480px;min-height:100dvh;padding-top:env(safe-area-inset-top);margin:auto;position:relative;box-shadow:0 0 50px #15203e08}.topbar{background:var(--bg);align-items:center;gap:12px;height:76px;padding:0 22px;display:flex;position:relative}.brand{letter-spacing:-.7px;align-items:center;gap:9px;font-size:21px;font-weight:760;display:flex}.brand-icon{background:var(--primary);color:#fff;border-radius:9px;place-items:center;width:31px;height:31px;display:grid;transform:rotate(-5deg)}.page-title{text-align:center;pointer-events:none;font-size:19px;position:absolute;left:62px;right:62px}.topbar-action{z-index:1;margin-left:auto}.icon-button{color:#51596c;background:0 0;border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:inline-flex}.topbar>.icon-button{margin-left:-12px}.icon-button:hover{background:#e9edf5}.text-button{color:var(--primary);background:0 0;border:0;justify-content:center;align-items:center;gap:5px;padding:7px 0;font-size:13px;font-weight:600;line-height:1.5;display:inline-flex}.text-button.center{min-height:34px;margin:8px auto;display:flex}.main{padding:10px 22px 34px}.home-main{padding-top:13px;padding-bottom:116px}.hero{margin:8px 0 28px;position:relative}.hero h1{letter-spacing:-1.2px;font-size:33px;font-weight:800;line-height:1.35;display:inline-block;position:relative}.hero h1:after{content:"";z-index:0;background:var(--lime);border-radius:20px;width:68px;height:4px;position:absolute;bottom:0;right:4px;transform:rotate(-5deg)}.hero-dot{color:var(--primary)}.hero p{color:#70788c;letter-spacing:-.2px;margin-top:14px;font-size:13px}.segmented{background:#e9edf8;border-radius:14px;gap:5px;margin-bottom:12px;padding:5px;display:flex}.segmented button{color:#757d91;white-space:nowrap;background:0 0;border-radius:10px;flex:1;padding:11px 4px;font-size:15px;font-weight:650;line-height:1.5}.segmented button.selected{background:var(--primary);color:#fff;box-shadow:0 3px 8px #15171120}.upload-panel{box-shadow:var(--shadow);background:#fff;border:1px solid #eef0f6;border-radius:20px;padding:8px}.upload-inner{background:linear-gradient(145deg,#fcfdff,#f9faff);border:1.5px dashed #7d9aff;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:225px;padding:22px 18px 18px;display:flex}.upload-inner>svg{color:#5b7cff;margin-bottom:12px}.upload-inner h2{font-size:20px;font-weight:720}.upload-inner p{color:#858b9a;margin-top:5px;margin-bottom:18px;font-size:13px}.upload-inner .button{max-width:250px;height:45px;min-height:45px;margin:0 0 9px;font-size:15px}.upload-inner .field-hint{color:#9299a8;font-size:11px}.button{background:var(--primary);color:#fff;text-align:center;border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:49px;margin-top:14px;padding:11px 16px;font-size:16px;font-weight:650;transition:transform .16s,background .16s;display:flex;box-shadow:0 3px 10px #15171112}.button:active:not(:disabled){background:#204fe8;transform:scale(.985)}.button.secondary{border-color:var(--line);color:#505b73;box-shadow:none;background:#fff;font-size:14px}.mini-steps{color:#a2a9b8;justify-content:space-between;align-items:center;gap:7px;margin:22px 0 32px;display:flex}.mini-steps>span{color:#6e768a;white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:flex}.mini-steps b{width:21px;height:21px;color:var(--primary);background:#e6edff;border-radius:50%;place-items:center;font-size:11px;font-weight:650;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px;display:flex}.section-heading h2{padding-left:11px;font-size:18px;font-weight:740;position:relative}.section-heading h2:before{content:"";background:var(--primary);border-radius:2px;width:4px;height:17px;position:absolute;top:3px;left:0}.section-heading>span{color:var(--primary);white-space:nowrap;align-items:center;font-size:12px;display:flex}.template-rail{scrollbar-width:none;scroll-snap-type:x mandatory;gap:11px;margin:0 -22px;padding:0 22px 8px;display:flex;overflow-x:auto}.template-rail::-webkit-scrollbar{display:none}.template-card{scroll-snap-align:start;background:#fff;border:1px solid #e9ecf2;border-radius:13px;flex-shrink:0;width:145px;overflow:hidden;box-shadow:0 2px 4px #17254608}.template-image-button{aspect-ratio:3/3.6;background:#e4e7eb;width:100%;padding:0;display:block;position:relative;overflow:hidden}.template-image-button img{object-fit:cover;width:100%;height:100%}.image-label{color:#fff;background:#2228;border-radius:5px;padding:3px 6px;font-size:9px;line-height:1.5;position:absolute;top:8px;left:8px}.play-icon{color:#4d5668;background:#fffe;border-radius:50%;place-items:center;width:27px;height:27px;display:grid;position:absolute;bottom:9px;right:9px}.template-description{text-align:left;background:#fff;width:100%;padding:11px 9px;line-height:1.5;display:block}.template-description strong{letter-spacing:-.2px;font-size:12px;font-weight:680;display:block}.template-description span{color:#9ba0ad;margin-top:4px;font-size:10px;display:block}.bottom-note{text-align:center;color:#a4aaba;margin:20px 0 0;font-size:11px}.bottom-nav{width:100%;max-width:480px;height:calc(72px + env(safe-area-inset-bottom));padding:10px 18px calc(8px + env(safe-area-inset-bottom));z-index:30;background:#fff;border-top:1px solid #e9ecf3;justify-content:space-around;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav a{color:#8991a1;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:80px;font-size:11px;font-weight:500;display:flex}.bottom-nav .active{color:var(--primary);font-weight:650}.resume-row{color:var(--primary);background:#f0f6dc;border:1px solid #dfe7ff;border-radius:13px;justify-content:space-between;align-items:center;gap:15px;margin:-5px 0 20px;padding:11px 14px;display:flex}.resume-row strong{font-size:13px;display:block}.resume-row small{color:#7d8aad;margin-top:2px;font-size:11px;display:block}.link-panel{border:1px solid var(--line);background:#fff;border-radius:18px;padding:19px}.link-heading{color:var(--primary);align-items:center;gap:9px;margin-bottom:14px;display:flex}.link-heading h2{color:var(--ink);font-size:17px}.link-panel .field-label{font-size:13px}.asset-grid{flex-wrap:wrap;gap:9px;margin:15px 0;display:flex}.asset-tile{border:1px solid var(--line);background:#fff;border-radius:10px;width:69px;height:69px;position:relative;overflow:hidden}.asset-tile img,.asset-tile video{object-fit:cover;width:100%;height:100%}.asset-tile.picked{outline:3px solid var(--primary);outline-offset:2px}.asset-tile button{color:#fff;background:#3339;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:1px;right:1px}.add-tile{width:69px;height:69px;color:var(--primary);background:#f5f6f2;border:1px dashed #bbc7e5;border-radius:10px;place-items:center;display:grid}.field{flex-direction:column;gap:8px;margin:19px 0;display:flex}.field-label{font-size:14px;font-weight:650}.field-hint{color:#9198a8;font-size:11px;font-weight:400;line-height:1.65}.notice{color:#667999;background:#f0f6dc;border-radius:11px;align-items:flex-start;gap:9px;margin:16px 0;padding:12px 13px;font-size:12px;line-height:1.7;display:flex}.notice>svg{color:#7690cb;flex-shrink:0;margin-top:2px}.notice.error{color:#a95d4d;background:#fff0ed}.notice.error>svg{color:#cf806f}.muted{color:var(--muted);font-size:13px}.fineprint{color:#969dad;overflow-wrap:anywhere;margin:14px 0;font-size:11px}.fineprint a{color:var(--primary)}.step-count{color:#6f7890;background:#eceff6;border-radius:20px;padding:4px 11px;font-size:12px;font-weight:600}.flow-main{padding-bottom:25px}.steps{justify-content:space-between;margin:7px 0 30px;padding:0;list-style:none;display:flex;position:relative}.steps:before{content:"";border-top:1px solid #d9deea;position:absolute;top:15px;left:40px;right:40px}.steps li{color:#969daf;z-index:1;flex-direction:column;align-items:center;gap:7px;min-width:75px;font-size:12px;display:flex}.steps li>span{border:3px solid var(--bg);background:#e9ecf4;border-radius:50%;place-items:center;width:34px;height:34px;font-size:14px;font-weight:700;display:grid}.steps li.current{color:var(--primary);font-weight:650}.steps li.current>span{background:var(--primary);color:#fff;box-shadow:0 3px 7px #15171120}.steps li.done{color:#6d83b9}.steps li.done>span{color:var(--primary);background:#e5edff}.source-preview{background:#edf0f6;border-radius:15px;margin-bottom:20px;padding:15px}.source-caption{color:#5f687c;margin-bottom:12px;font-size:12px;font-weight:650}.source-images{align-items:flex-start;gap:8px;max-height:200px;display:flex;overflow:auto}.source-thumb{flex-shrink:0;max-width:100%;position:relative}.source-thumb img{object-fit:contain;background:#fff;border-radius:10px;max-width:260px;height:170px}.source-thumb video{border-radius:10px;width:230px;max-height:190px}.crop-trigger{color:#53617c;background:#ffffffe8;border-radius:6px;align-items:center;gap:4px;padding:5px 7px;font-size:11px;display:flex;position:absolute;bottom:5px;right:5px}.source-preview>.text-button{margin-top:8px;font-size:12px}.check-row{color:#7c8495;cursor:pointer;align-items:flex-start;gap:10px;margin:17px 0;font-size:12px;line-height:1.75;display:flex}.check-row input{cursor:pointer}.sticky-action{background:linear-gradient(0deg, var(--bg) 85%, transparent);padding:10px 0 calc(13px + env(safe-area-inset-bottom));z-index:10;margin-top:15px;position:sticky;bottom:0}.sticky-action .button{margin-top:3px}.flow-heading{margin-bottom:9px;font-size:23px}.template-options{flex-direction:column;gap:13px;margin:25px 0;display:flex}.template-option{border:1.5px solid var(--line);text-align:left;background:#fff;border-radius:15px;gap:15px;padding:11px;display:flex;position:relative}.template-option.selected{border-color:var(--primary);background:#fafbff}.template-option>img{object-fit:cover;border-radius:9px;flex-shrink:0;width:88px;height:120px}.template-option>div{padding:2px 12px 0 0}.template-option h3{margin:5px 0 6px;font-size:15px}.template-option p{color:#7b8497;font-size:11px;line-height:1.6}.template-option small{color:#9da4b3;margin-top:8px;font-size:10px;line-height:1.4;display:block}.eyeline{color:#7891d1;font-size:10px}.selection-dot{color:#fff;border:1px solid #cfd7e8;border-radius:50%;place-items:center;width:18px;height:18px;display:grid;position:absolute;top:9px;right:9px}.selected .selection-dot{background:var(--primary);border-color:var(--primary)}.section-intro{margin:9px 0 25px}.section-intro h2{font-size:25px}.section-intro p{color:#8c94a6;margin-top:7px;font-size:13px}.script-tabs{gap:9px;margin-bottom:24px;display:flex}.script-tabs button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;flex:1;padding:12px 8px;position:relative}.script-tabs button>span{color:#939bac;font-size:10px;display:block}.script-tabs button>strong{margin-top:5px;font-size:12px;font-weight:600;display:block}.script-tabs button>svg{color:var(--primary);position:absolute;top:6px;right:6px}.script-tabs .selected{border-color:var(--primary);background:#f5f6f2}.script-heading{margin-bottom:13px}.script-heading h3{font-size:16px}.script-heading>span{color:#9aa1b1;margin-top:5px;font-size:11px;display:block}.scene-list{flex-direction:column;gap:10px;display:flex}.scene-card{background:#fff;border:1px solid #eaedf3;border-radius:13px;padding:13px 14px 8px}.scene-label{color:#7d89a0;justify-content:space-between;align-items:center;font-size:11px;display:flex}.scene-label>span{align-items:center;gap:6px;display:flex}.scene-label svg{color:#8ba1db}.scene-label small{color:#9ea7b7;font-size:10px}.scene-copy{display:block;position:relative}.scene-copy textarea{resize:none;background:0 0;border:0;border-radius:4px;min-height:55px;padding:9px 19px 4px 0;font-size:14px;line-height:1.8}.scene-copy>svg{color:#b5bdcd;pointer-events:none;position:absolute;top:16px;right:0}.generation-settings{margin-top:28px}.generation-settings h3{margin-bottom:14px}.mode-options{gap:11px;display:flex}.mode-options button{border:1px solid var(--line);text-align:left;background:#fff;border-radius:12px;flex:1;padding:13px 10px}.mode-options button strong{font-size:13px;display:block}.mode-options button span{color:#9aa2b4;margin-top:5px;font-size:10px;display:block}.mode-options .selected{border-color:var(--primary);background:#f5f6f2}.cost-row{border:1px solid var(--line);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;margin:15px 0 8px;padding:15px;display:flex}.cost-row span{color:#7d879b;font-size:12px}.cost-row strong{color:var(--primary);font-variant-numeric:tabular-nums;font-size:21px}.action-hint{color:#a0a8b8;justify-content:center;align-items:center;gap:4px;margin-top:10px;font-size:10px;display:flex}.result-main{padding-top:18px}.result-title{align-items:center;gap:10px;margin:0 0 15px;display:flex}.success-mark{color:#5c9b6d;background:#e7f4e9;border-radius:50%;place-items:center;width:31px;height:31px;display:grid}.result-title h2{font-size:21px}.result-title p{color:#9aa2b1;margin-top:4px;font-size:11px}.result-video{object-fit:contain;aspect-ratio:9/16;background:#172130;border-radius:16px;width:100%;max-height:62dvh;margin:18px auto}.download-actions{margin-top:20px}.result-section{border-top:1px solid var(--line);margin:29px 0;padding-top:21px}.result-section>.section-heading{margin-bottom:10px}.result-actions{gap:9px;margin:14px 0 18px;display:grid}.result-actions .button,.result-actions a.button{justify-content:center;width:100%}.result-shot-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:16px 0 8px;display:grid}.result-shot{border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0;padding:12px}.result-shot-head{justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:8px;display:flex}.result-shot video,.result-shot img{aspect-ratio:9/16;object-fit:contain;background:#172130;border-radius:12px;width:100%;max-height:52dvh;display:block}.result-shot-empty{color:#8b93a3;text-align:center;background:#f3f5f9;border-radius:12px;place-items:center;min-height:150px;padding:12px;font-size:12px;display:grid}.result-shot-review{background:#fff5f3;border:1px solid #f3d2cc;border-radius:10px;margin:10px 0;padding:10px;font-size:12px;line-height:1.6}.result-shot-review strong{color:#9c3d30}.result-shot-warnings{background:#fffaf0;border:1px solid #f0dfba;border-radius:10px;margin:10px 0;padding:10px;font-size:12px;line-height:1.6}.result-shot-warnings strong{color:#8a5a17}.review-issue{color:#7a4b44;margin-top:5px}.recovery-quote{border:1px solid var(--line);background:#fbfbfd;border-radius:14px;margin-top:14px;padding:14px}.success-mark.paused{color:#c2692e;background:#fff1e6}.copy-block{border:1px solid var(--line);-webkit-user-select:text;user-select:text;background:#fff;border-radius:12px;margin:12px 0;padding:15px;font-size:13px;line-height:1.9}.inline-links{color:var(--primary);flex-wrap:wrap;gap:7px 18px;margin:12px 0;font-size:12px;display:flex}.inline-links a{padding:5px 0}.revision-list{margin:12px 0}.revision-row{border-bottom:1px solid #e9ecf3;align-items:center;gap:10px;padding:12px 0;display:flex}.shot-number{color:#7c8fb9;background:#e8edf9;border-radius:7px;flex-shrink:0;place-items:center;width:24px;height:24px;font-size:11px;display:grid}.revision-row>div{flex:1;min-width:0}.revision-row strong{font-size:12px;font-weight:600}.revision-row p{color:#98a1b2;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;font-size:11px;display:-webkit-box;overflow:hidden}.new-project{margin:20px 0!important}.progress-screen{padding:26px 0}.progress-screen>h2{text-align:center;font-size:22px}.progress-screen>.muted{text-align:center;margin:8px 0}.progress-orb{width:88px;height:88px;color:var(--primary);background:#e7edff;border-radius:26px;place-items:center;margin:20px auto 30px;animation:3s ease-in-out infinite pulse;display:grid;box-shadow:0 0 0 11px #eff3ff}.progress-orb.paused{color:#c4934d;background:#fff0db;animation:none;box-shadow:0 0 0 11px #fff5e9}.progress-list{margin:25px 0;padding:8px 0 8px 14px;list-style:none}.progress-list li{color:#9ba4b6;align-items:center;gap:13px;margin:17px 0;font-size:13px;display:flex}.progress-list li>span{background:#e9edf4;border-radius:50%;place-items:center;width:26px;height:26px;font-size:11px;display:grid}.progress-list li.done{color:#6784c9}.progress-list li.done>span{background:#e4ecff}.works-main{padding-bottom:115px}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 12px;display:grid}.work-card{background:#fff;border:1px solid #e7eaf2;border-radius:14px;overflow:hidden}.work-cover{aspect-ratio:9/12;background:#e9edf5;position:relative}.work-cover img{object-fit:cover;width:100%;height:100%}.work-info{padding:12px}.work-info h3{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.work-info p{color:#8f9aaf;margin-top:5px;font-size:10px}.work-info small{color:#abb2bf;font-size:9px}.work-pending{color:#8f9cb6;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;height:100%;padding:14px;font-size:11px;display:flex}.workspace-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;margin-top:30px;padding-top:14px;display:flex}.workspace-footer>span{color:#9aa3b5;font-size:10px}.workspace-footer .text-button{font-size:11px}.empty{text-align:center;padding:48px 12px}.empty-icon{color:#717c55;background:#f0f6dc;border-radius:22px;place-items:center;width:70px;height:70px;margin:15px auto 22px;display:grid}.empty h2{font-size:21px}.empty p{color:#95a0b3;margin:12px 0 28px;font-size:13px}.empty .button{max-width:270px;margin:20px auto}.loading{text-align:center;color:#9ba8c1;padding:55px 10px;font-size:12px}.loading>svg{margin:auto auto 12px}.spin{animation:1s linear infinite spin}.modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#111c3a55;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{overscroll-behavior:contain;background:var(--bg);width:100%;max-width:480px;max-height:91dvh;padding:22px 24px calc(27px + env(safe-area-inset-bottom));border-radius:23px 23px 0 0;animation:.2s ease-out slide;overflow-y:auto;box-shadow:0 -20px 80px #17254320}.modal-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px;display:flex}.modal-heading h2{font-size:20px}.modal-heading .icon-button{margin-right:-10px}.modal>.muted{margin:0 0 15px}.sample-video{object-fit:contain;aspect-ratio:9/16;background:#162137;border-radius:13px;width:100%;max-height:48dvh}.help-list{color:#68768f;padding-left:20px;font-size:13px}.help-list li{margin-bottom:15px}.choice-row{gap:10px;margin:10px 0 23px;display:flex}.choice-row button{border:1px solid var(--line);color:#7d879a;background:#fff;border-radius:10px;flex:1;padding:11px;font-size:13px}.choice-row .selected{color:var(--primary);border-color:var(--primary);background:#f0f6dc}.rating{gap:10px;margin:11px 0 20px;display:flex}.rating button{background:0 0;padding:6px}.crop-preview{background:#e3e8f3;border-radius:12px;justify-content:center;height:200px;margin-bottom:15px;padding:8px;display:flex}.crop-preview img{object-fit:contain;width:auto;height:100%}.prose{padding-top:22px;padding-bottom:115px}.prose>h1{font-size:27px;line-height:1.5}.prose .lead{color:#8e9ab1;margin:10px 0 30px}.prose>p{color:#7c889e;margin:20px 0;font-size:13px;line-height:1.9}.prose section{margin:29px 0}.prose section h2{margin-bottom:12px;font-size:17px}.prose section p{color:#7c889e;margin-bottom:10px;font-size:13px;line-height:1.95}.admin-shell{min-height:100dvh}.admin-login{text-align:center;max-width:360px;margin:auto;padding:30px 0}.admin-login form{text-align:left}.admin-main{padding-top:20px}.admin-stats{grid-template-columns:1fr 1fr;gap:12px;display:grid}.admin-stats>div{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:22px 1fr;align-items:center;gap:9px;padding:17px;display:grid}.admin-stats svg{color:#8fa7e7}.admin-stats span{color:#7f8ba2;font-size:11px}.admin-stats strong{font-variant-numeric:tabular-nums;grid-column:1/-1;font-size:26px}.budget-strip{margin:20px 0}.budget-strip>span{color:#74839f;font-size:12px}.budget-strip>div{background:#e3e8f5;border-radius:10px;height:5px;margin:10px 0;overflow:hidden}.budget-strip i{background:var(--primary);height:100%;display:block}.budget-strip small{color:#9ba5b8;font-size:10px}.admin-tabs{border-bottom:1px solid var(--line);gap:5px;margin:25px 0 20px;display:flex}.admin-tabs button{color:#8f9bb0;background:0 0;border-bottom:2px solid #0000;flex:1;padding:11px 0;font-size:12px}.admin-tabs button.selected{color:var(--primary);border-color:var(--primary)}.admin-job{border:1px solid var(--line);background:#fff;border-radius:14px;margin:12px 0;padding:17px}.admin-job-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.admin-job-top strong{font-size:14px}.admin-job-top p{color:#8f9bb0;margin-top:4px;font-size:10px}.status-tag{color:#6d87c9;white-space:nowrap;background:#eef3ff;border-radius:7px;padding:4px 8px;font-size:10px}.admin-job>.muted{font-size:10px}.danger{color:#bf6b60}.panel{border:1px solid var(--line);background:#fff;border-radius:15px;margin:16px 0;padding:19px}.panel>h3{margin-bottom:12px;font-size:16px}.panel>p{color:#8390a7;margin:10px 0;font-size:12px}.admin-invite-fields{grid-template-columns:1fr 88px;gap:12px;display:grid}.invite-result{background:#f1f5ff;border-radius:10px;margin:20px 0 0;padding:13px}.invite-result p{color:#8394b6;margin-bottom:10px;font-size:11px}.invite-result input{font-size:12px}.table-scroll{margin:20px 0;overflow-x:auto}table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%;font-size:11px}th{color:#9aa6bb;font-size:10px;font-weight:600}td,th{border-bottom:1px solid var(--line);padding:13px 9px}td .text-button{padding:4px 6px;font-size:10px}.metric-row{color:#8b98af;border-bottom:1px solid #f0f2f7;justify-content:space-between;padding:9px 0;font-size:11px;display:flex}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{box-shadow:0 0 0 18px #eff3ff}}@keyframes slide{0%{opacity:.3;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}@media (min-width:700px){.app-shell{border-left:1px solid #e1e5ed;border-right:1px solid #e1e5ed}.modal-backdrop{align-items:center}.modal{border-radius:23px;max-height:85dvh}.admin-shell{background:var(--bg);border-left:1px solid var(--line);border-right:1px solid var(--line);width:min(1050px,100vw - 60px);min-height:100dvh;position:relative;left:50%;transform:translate(-50%)}.admin-shell .main{padding:20px 35px 50px}.admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-tabs{max-width:550px}.admin-jobs{grid-template-columns:1fr 1fr;gap:14px;display:grid}.admin-job{margin:0}.admin-shell .notice{font-size:12px}.admin-shell .table-scroll{margin-top:25px}.admin-shell table{font-size:13px}.admin-shell th,.admin-shell td .text-button{font-size:12px}}@media (max-width:360px){.main,.topbar{padding-left:17px;padding-right:17px}.hero h1{font-size:30px}.hero p{font-size:12px}.section-heading h2{font-size:16px}.mini-steps>span{font-size:10px}.template-rail{margin-left:-17px;margin-right:-17px;padding-left:17px;padding-right:17px}.template-option{gap:10px}.template-option>img{width:75px}.template-option h3{font-size:13px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.trend-picker{margin:24px 0 30px}.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.trend-card{border:1px solid var(--line,#e5e5e5);background:#fff;border-radius:16px;min-width:0;overflow:hidden}.trend-card.selected{border:2px solid #12775e}.trend-media{aspect-ratio:4/3;background:#17231f;position:relative}.trend-media button{border:0;width:100%;height:100%;padding:0;position:relative}.trend-media img,.trend-media video{object-fit:contain;width:100%;height:100%}.trend-media span{color:#fff;background:#15271ecc;border-radius:8px;padding:5px 8px;font-size:12px;position:absolute;bottom:8px;left:8px}.trend-body{padding:12px}.trend-body h4{margin:8px 0;font-size:15px}.trend-body small,.trend-body p{color:#59665e;font-size:12px;line-height:1.5}.trend-body .button{width:100%;min-height:40px;padding:8px;font-size:13px}.trend-badge{background:#edf5ed;border-radius:6px;margin:4px 0 10px;padding:4px 7px;font-size:11px;display:inline-block}.trend-pages{justify-content:space-between;align-items:center;margin:16px 0;font-size:12px;display:flex}.trend-pages button{background:#fff;border:1px solid #ddd;border-radius:6px;padding:8px}.quote-line{justify-content:space-between;gap:12px;font-size:12px;line-height:1.5;display:flex}.quote-line strong{white-space:nowrap}.ops-tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.ops-tabs button{background:#fff;border:1px solid #ddd;border-radius:8px;padding:10px 16px}.ops-tabs button[aria-pressed=true]{color:#fff;background:#183f30}.ops-section{background:#fff;border:1px solid #e2e8e2;border-radius:14px;margin:16px 0;padding:18px}.ops-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;display:grid}.ops-section textarea{width:100%;min-height:110px}.ops-section input,.ops-section select{border:1px solid #ddd;border-radius:6px;max-width:100%;padding:8px}.ops-section table{border-collapse:collapse;width:100%;font-size:12px}.ops-section td,.ops-section th{text-align:left;vertical-align:top;border-bottom:1px solid #eee;padding:9px}.ops-scroll{overflow:auto}.ops-section pre{white-space:pre-wrap;word-break:break-word;font-size:12px}.ops-metrics{flex-wrap:wrap;gap:24px;display:flex}.ops-metrics strong{font-size:24px;display:block}.ops-section label{flex-direction:column;gap:5px;margin:8px 0;font-size:13px;display:flex}.ops-section .inline-check{flex-direction:row;align-items:center}.ops-error{color:#ad4126}.ops-section h3{margin:0 0 12px}.writing-controls fieldset{border:0;min-width:0;margin:0 0 20px;padding:0}.writing-controls legend{margin-bottom:12px;font-weight:700}.writing-controls .mode-options button{white-space:normal;min-width:0}.writing-controls .mode-options small{color:var(--muted,#737b8c);font-size:11px;line-height:1.6}.writing-controls .writer-styles{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.story-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.9}.story-preview details{margin-top:16px}@media (max-width:480px){.writing-controls .writer-styles{grid-template-columns:1fr}}.creative-start fieldset{border:0;min-width:0;margin:24px 0;padding:0}.creative-start legend{margin-bottom:12px;font-weight:700}.creative-modes{gap:10px;display:grid}.creative-modes button,.concept-card{border:1px solid var(--line);text-align:left;background:#fff;border-radius:16px;padding:18px}.creative-modes button span{color:var(--muted);margin-top:7px;font-size:12px;display:block}.creative-modes .selected,.genre-tags .selected{border-color:var(--primary);background:#f5f6f2}.genre-tags{flex-wrap:wrap;gap:8px;margin:12px 0 24px;display:flex}.genre-tags button{border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 12px;font-size:12px}.creative-progress{color:#8791a7;gap:8px;margin:20px 0 28px;font-size:12px;display:flex}.creative-progress span{border-bottom:2px solid var(--line);flex:1;padding-bottom:12px}.creative-progress .active{color:var(--primary);border-color:var(--primary)}.concept-list{gap:22px;margin-top:24px;display:grid}.concept-card h2{margin:10px 0;font-size:21px}.concept-card dl{font-size:14px;line-height:1.8}.concept-card dt{margin-top:16px;font-weight:600}.concept-card dd{color:#525c70;margin:4px 0 12px}.concept-card .button{margin-top:20px}.concept-opening{background:#f5f6f2;border-left:3px solid #151711;padding:14px;line-height:1.8}.creative-main{padding-bottom:100px}.creative-main details{margin:18px 0;line-height:1.8}.creative-main details summary{cursor:pointer;font-weight:600}.creative-main pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.creative-main .button{margin:12px 0}.story-beat{background:#fff;border-radius:14px;margin:18px 0;padding:20px;line-height:1.9}.story-beat h3{color:#7a8496;font-size:14px}.inline-check{align-items:flex-start;gap:8px;margin:14px 0;font-size:13px;line-height:1.8;display:flex}.inline-check input{flex-shrink:0;margin-top:5px}.shot-spec{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px}.creative-history-row{border:1px solid var(--line);color:inherit;background:#fff;border-radius:12px;flex-direction:column;margin:10px 0;padding:15px;display:flex}.creative-history-row span{color:#8791a7;margin-top:6px;font-size:12px}.creative-activity{color:#424b35;background:linear-gradient(135deg,#f0f6dc,#f5f6f2);border:1px solid #bfc8af;border-radius:18px;margin:24px 0;padding:22px}.activity-heading{align-items:center;gap:14px;display:flex}.activity-heading strong{font-size:18px}.activity-heading p{margin:5px 0 0;font-size:13px}.activity-spinner{color:#151711;flex-shrink:0;animation:1.1s linear infinite creative-spin}.activity-live{white-space:nowrap;background:#e8eddd;border-radius:20px;margin-left:auto;padding:5px 8px;font-size:11px}.activity-track{background:#e8eddd;border-radius:6px;height:5px;margin:22px 0;overflow:hidden}.activity-track span{background:#151711;border-radius:6px;width:35%;height:100%;animation:2s ease-in-out infinite creative-travel;display:block}.creative-activity>p{font-size:13px;line-height:1.8}.activity-exit{color:#151711;align-items:center;gap:7px;font-size:12px;line-height:1.7;display:flex}.creative-failure{background:#fff7f3;border:1px solid #efc3b9;border-radius:18px;margin:24px 0;padding:20px}.creative-failure h2{margin:0;font-size:18px}.creative-failure .activity-heading{color:#9c3b24}.creative-failure p{font-size:14px;line-height:1.8}.retry-confirmation{border-top:1px solid #eed6cf;margin-top:15px;padding-top:10px}.creative-history-row span{align-items:center;gap:7px;display:flex}.creative-failure details p{overflow-wrap:anywhere}@keyframes creative-spin{to{transform:rotate(360deg)}}@keyframes creative-travel{0%{transform:translate(-100%)}to{transform:translate(390%)}}@media (prefers-reduced-motion:reduce){.activity-spinner,.activity-track span{animation:none}.activity-track span{opacity:.55;width:100%}}.reference-workspace{text-align:left;margin:20px 0}.reference-workspace>h2{margin:8px 0 12px}.reference-workspace>p{color:var(--muted,#626978);line-height:1.7}.reference-grid{grid-template-columns:1fr;gap:18px;margin:24px 0;display:grid}.reference-card{background:#fff;border:1px solid #dfe3ec;border-radius:18px;min-width:0;padding:16px}.reference-card .section-heading{flex-wrap:wrap;gap:8px}.reference-card p{overflow-wrap:anywhere;line-height:1.6}.reference-image{object-fit:contain;background:#f4f5f8;border-radius:10px;width:100%;height:auto;margin:12px 0;display:block}.reference-image.object{aspect-ratio:1;background:#fff;max-height:360px}.reference-placeholder{color:#626978;background:#f4f5f8;border-radius:10px;justify-content:center;align-items:center;min-height:130px;margin:12px 0;display:flex}.reference-editor{border-top:1px solid #dfe3ec;margin-top:16px;padding-top:16px}.reference-editor input[type=file]{max-width:100%}.reference-actions{margin:20px 0}@media (min-width:900px){.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.reference-tier-picker{border:0;min-width:0;margin:20px 0;padding:0}.reference-tier-picker legend{margin-bottom:12px;font-weight:700}.reference-tier-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.reference-tier-options label{cursor:pointer;background:#fff;border:1px solid #dfe3ec;border-radius:14px;min-width:0;padding:12px 10px}.reference-tier-options label.selected{background:#f5f6f2;border-color:#151711}.reference-tier-options label>span{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.reference-tier-options input{width:16px;height:16px}.reference-tier-options small{color:#626978;font-size:11px}.reference-tier-options p{color:#626978;margin:8px 0 0;font-size:12px;line-height:1.6}.workflow-steps{justify-content:space-between;gap:8px;margin:0 0 14px;padding:12px 0;list-style:none;display:flex}.workflow-steps li{color:var(--muted);flex-direction:column;align-items:center;gap:5px;font-size:12px;display:flex}.workflow-steps li>span{background:var(--line);border-radius:50%;place-items:center;width:25px;height:25px;font-size:12px;display:grid}.workflow-steps .current{color:var(--primary);font-weight:700}.workflow-steps .current>span{color:#fff;background:var(--primary)}.workflow-steps .done>span{color:var(--primary);background:#f0f6dc}.modal{max-height:min(91dvh, var(--sheet-height,91dvh));flex-direction:column;padding:0;display:flex;overflow:hidden}.modal-heading{border-bottom:1px solid var(--line);background:var(--bg);flex-shrink:0;margin:0;padding:18px 20px 12px}.modal-body{overscroll-behavior:contain;padding:18px 20px calc(20px + env(safe-area-inset-bottom));scroll-padding-bottom:76px;overflow-y:auto}.modal-body>.button:last-child,.modal-body>section>.button:last-of-type,.modal-body .recovery-quote>.button:last-of-type{box-shadow:0 -8px 12px 6px var(--bg);z-index:2;margin-top:14px;position:sticky;bottom:0}.modal-fullscreen{height:min(100dvh, var(--sheet-height,100dvh));max-height:min(100dvh, var(--sheet-height,100dvh));border-radius:0}.sheet-section{margin:14px 0;overflow:hidden}.sheet-trigger{background:var(--surface,#fff);color:inherit;text-align:left;cursor:pointer;border:0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:16px;display:flex}.sheet-trigger>span:first-child{flex-direction:column;gap:6px;min-width:0;display:flex}.sheet-trigger small{color:var(--muted);font-weight:400;line-height:1.5}.sheet-trigger>span:last-child{white-space:nowrap;color:var(--primary);font-size:13px}.material-summary{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:0;gap:12px;padding:10px 0;display:flex}.material-summary img,.material-placeholder{object-fit:contain;background:#f4f6fa;border-radius:10px;flex-shrink:0;width:76px;height:76px}.material-placeholder{color:var(--muted);place-items:center;font-size:12px;display:grid}.material-summary>span{flex-direction:column;gap:8px;min-width:0;line-height:1.4;display:flex}.material-summary>span>span{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;display:-webkit-box;overflow:hidden}.material-summary small{color:var(--primary);font-size:12px}.voice-plan{margin:16px 0;padding:16px}.voice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.voice-card{border:1px solid var(--line);min-height:104px;color:inherit;text-align:left;cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;gap:5px;padding:12px;display:flex}.voice-card span,.voice-card small{color:var(--muted);font-size:12px;line-height:1.45}.voice-card .text-link{color:var(--primary)}.product-choices{gap:8px;margin:12px 0;display:grid}.flow-action{width:min(100%,480px);padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:35;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffed;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.has-flow-action{padding-bottom:120px}.flow-action .button{width:100%;margin:0}.flow-action .fineprint{margin:0 0 8px}button,input,textarea,select,a{touch-action:manipulation}textarea,input,select{font-size:16px}@media (min-width:700px){.modal-fullscreen{border-radius:23px;height:85dvh;max-height:85dvh}}@media (prefers-reduced-motion:reduce){.modal{animation:none}}.product-preparation{gap:16px;min-width:0;display:grid}.product-candidates{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.product-candidate{border:1px solid var(--border,#ddd);text-align:left;color:inherit;cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.product-candidate.selected{border-color:#49634e;box-shadow:0 0 0 1px #49634e}.product-candidate img{aspect-ratio:1;object-fit:contain;background:#f7f7f5;border-radius:8px;width:100%}.product-image-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.product-image-comparison figure{min-width:0;margin:0}.product-image-comparison img{aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid #e6e6e2;border-radius:12px;width:100%}.product-image-comparison figcaption{margin-top:8px;font-size:12px}.preparation-report p,.product-preparation a{overflow-wrap:anywhere}.independent-materials{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;display:grid}.independent-material{background:#fff;border:1px solid #e5e5df;border-radius:14px;flex-direction:column;gap:12px;min-width:0;padding:16px;display:flex}.independent-material-image{object-fit:contain;background:#f7f7f5;border-radius:10px;width:100%;max-height:320px}.creative-intro{margin-bottom:24px}.creative-intro h1{letter-spacing:-.035em;font-size:clamp(25px,5vw,32px)}.creative-intro p{color:var(--muted);line-height:1.7}.card-carousel{min-width:0;margin:20px 0 28px}.carousel-toolbar,.carousel-navigation{justify-content:space-between;align-items:center;gap:10px;display:flex}.carousel-toolbar{margin-bottom:12px}.carousel-toolbar>strong{font-size:14px}.carousel-navigation>span{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:4px;font-size:12px}.carousel-navigation .icon-button{border:1px solid var(--line);background:#fff;border-radius:50%;width:34px;height:34px}.carousel-navigation button:disabled{opacity:.3;cursor:default}.carousel-track{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:18px;gap:16px;display:flex;position:relative;overflow-x:auto}.carousel-track::-webkit-scrollbar{display:none}.carousel-slide{scroll-snap-align:start;scroll-snap-stop:always;flex:0 0 100%;min-width:0}.carousel-slide>article{box-sizing:border-box;width:100%;margin:0}.carousel-dots{justify-content:center;gap:8px;margin-top:12px;display:flex}.carousel-dots button{cursor:pointer;background:0 0;border:0;place-items:center;width:24px;height:24px;padding:0;display:grid}.carousel-dots button:after{content:"";background:#d5dae5;border-radius:6px;width:6px;height:6px;transition:width .2s,background .2s}.carousel-dots button[aria-current]:after{background:var(--primary);width:22px}.card-carousel button:focus-visible,.carousel-track:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.concept-synopsis,.synopsis-body{color:#424b35;font-size:15px;line-height:1.95}.concept-card{padding:24px}.creative-details{color:var(--muted);margin:16px 0;font-size:13px}.creative-details summary{cursor:pointer;padding:8px 0}.story-synopsis{margin-bottom:16px;padding:24px}.story-synopsis h2{margin:12px 0;font-size:24px}.story-logline{color:var(--primary);border-bottom:1px solid var(--line);padding-bottom:18px;font-size:16px;line-height:1.8}.shot-spec{border-bottom:1px solid var(--line);padding:16px 0}.shot-spec summary{cursor:pointer;font-size:14px;line-height:1.8}.generation-visual{color:#656a60;background:#f5f6f2;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:230px;padding:24px;display:flex;overflow:hidden}.generation-visual small{color:var(--muted);font-size:12px}.generation-spark{animation:2.6s ease-in-out infinite generation-breathe}.generation-shimmer{background:linear-gradient(90deg,#e0e8ce,#82984a,#e0e8ce) 0 0/200% 100%;border-radius:4px;width:100px;height:4px;animation:2s linear infinite generation-shimmer;display:block}.generation-visual.is-waiting .generation-spark,.generation-visual.is-waiting .generation-shimmer{opacity:.55;animation:none}.carousel-slide .reference-card .material-summary{flex-direction:column;width:100%;display:flex}.carousel-slide .material-summary>img{object-fit:contain;background:#f6f7fa;border-radius:12px;width:100%;height:300px}.carousel-slide .material-summary .generation-visual{box-sizing:border-box;width:100%}.independent-material>p{margin:0;font-size:14px;line-height:1.7}@keyframes generation-breathe{0%,to{opacity:.5;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}@keyframes generation-shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.generation-spark,.generation-shimmer{animation:none}.carousel-dots button:after{transition:none}}.shot-preview{color:var(--muted);margin-top:6px;font-size:13px;font-weight:400;display:block}.creative-options{margin:24px 0}.creative-options h3{margin:0;font-size:17px}.creative-options h3 small,.creative-option-group legend small{color:var(--muted);margin-left:8px;font-size:11px;font-weight:400}.creative-start .creative-option-group{border-bottom:1px solid var(--line);margin:22px 0;padding-bottom:20px}.creative-option-group legend{font-size:14px;font-weight:600}.option-chips{flex-wrap:wrap;gap:8px;margin:10px 0;display:flex}.option-chips button{border:1px solid var(--line);color:#525c70;text-align:left;background:#fff;border-radius:18px;padding:8px 12px;font-size:12px;line-height:1.5}.option-chips button.selected{border-color:var(--primary);color:var(--primary);background:#f0f6dc}.option-chips button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.option-more summary,.all-creative-options>summary{color:var(--primary);cursor:pointer;padding:8px 0;font-size:13px}.creative-option-group .field{margin-top:12px;margin-bottom:0}.creative-option-group .field-label{color:var(--muted);font-size:12px;font-weight:400}.creative-option-group input{font-size:13px}.text-button{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:10px 2px;font-size:13px}.text-button:disabled{opacity:.45;cursor:default}.concept-edit{margin:10px auto 0;display:block}.rethink-directions{margin:-20px auto 22px;display:block}.topbar{z-index:30;position:sticky;top:0}.topbar-action{align-items:center;gap:8px;display:flex}.points-balance{min-height:44px;color:var(--primary);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;background:#f0f6dc;border-radius:12px;flex-direction:column;justify-content:center;align-items:flex-end;max-width:166px;padding:4px 10px;display:flex}.points-balance span{font-size:15px;font-weight:750}.points-balance small{font-size:10px}.account-login{border-radius:12px;min-height:44px;padding:8px 14px}.account-main{gap:20px;padding-bottom:40px;display:grid}.account-card{background:#fff;border-radius:20px;min-width:0;padding:22px;box-shadow:0 1px 3px #10204006,0 8px 28px #10204005}.account-card h1,.account-card h2{text-wrap:balance;margin:0 0 14px}.wallet-total{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(30px,8vw,44px);font-weight:750;line-height:1.25}.wallet-total small{color:var(--muted);margin-top:8px;font-size:13px;font-weight:500;display:block}.recharge-options{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.recharge-options button{background:#f2f4f9;border-radius:12px;flex:1;min-width:65px;min-height:44px}.recharge-options button.selected{background:var(--primary);color:#fff}.wallet-row{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;border-bottom:1px solid #0f172a0b;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;font-size:13px;display:flex}.wallet-row>div:last-child{text-align:right}.wallet-row small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.payment-order{overflow-wrap:anywhere;margin-top:20px}.payment-order img{max-width:100%;height:auto}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;display:grid}.admin-table-wrap{overflow-x:auto}.admin-table-wrap table{border-collapse:collapse;width:100%;font-size:13px}.admin-table-wrap th,.admin-table-wrap td{text-align:left;border-bottom:1px solid #0f172a0d;padding:12px}.admin-tabs{flex-wrap:wrap;gap:8px;margin:16px 0;display:flex}.admin-tabs button{background:#edf1f8;border-radius:12px;min-height:44px;padding:8px 14px}.admin-tabs button.selected{background:var(--primary);color:#fff}@media (max-width:600px){.page-title{text-align:left;flex:1;min-width:0;font-size:17px;position:static}.topbar{gap:8px;padding:0 16px}.brand{font-size:18px}.points-balance{max-width:132px}}}
:root{--bg:#fff;--surface:#fff;--ink:#151711;--muted:#656a60;--primary:#151711;--lime:#d6ff3f;--blue-soft:#f0f6dc;--line:#e6e8e1;--soft:#f5f6f2;--radius:18px;--shadow:0 2px 12px #15171105}html{background:var(--bg);scroll-padding-top:90px}body{color:var(--ink);font-size:16px;line-height:1.65}h1,h2,h3{text-wrap:balance;color:var(--ink);font-weight:780}p{text-wrap:pretty}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button,.button{transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s,transform .18s}button:active:not(:disabled),.button:active{transform:scale(.96)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}input,textarea,select{background:var(--soft);min-height:52px;box-shadow:none;color:var(--ink);border:1px solid #0000;border-radius:12px;padding:14px;font-size:16px}input:focus,textarea:focus,select:focus{background:#fff;border-color:#89947a;box-shadow:0 0 0 3px #d6ff3f40}input::placeholder,textarea::placeholder{color:#858a7f;opacity:1}input[type=checkbox],input[type=radio]{accent-color:var(--ink);flex:0 0 22px;width:22px;min-height:22px}summary{cursor:pointer;min-height:48px}img,video{height:auto}figure{margin:0}pre{white-space:pre-wrap;overflow-wrap:anywhere}.app-shell{width:100%;max-width:800px;min-height:100dvh;box-shadow:none;background:#fff;margin:0 auto}.app-shell[data-surface=marketing]{max-width:none}.app-shell[data-surface=admin]{max-width:1400px}.app-shell[data-surface=auth]{max-width:1000px}#page-content{outline:none;min-width:0}.main{min-width:0;padding:20px 20px 40px}.main>*{min-width:0}.main:has(.workflow-steps){padding-bottom:calc(112px + env(safe-area-inset-bottom))}.skip-link{z-index:150;background:var(--lime);color:var(--ink);border-radius:8px;padding:12px;position:fixed;top:-80px;left:16px}.skip-link:focus{top:12px}.network-banner{z-index:100;color:#6b470c;background:#fff0cf;align-items:center;gap:8px;padding:10px 16px;font-size:13px;display:flex;position:sticky;top:0}.topbar,.landing-header,.auth-header{background:#fff;justify-content:space-between;align-items:center;gap:12px;height:auto;min-height:72px;padding:14px 20px;display:flex}.topbar{z-index:35;border-bottom:1px solid var(--line);position:sticky;top:0}.brand{letter-spacing:-.8px;white-space:nowrap;align-items:center;gap:9px;min-height:44px;font-size:23px;font-weight:850;display:inline-flex}.brand-icon{background:var(--lime);width:32px;height:32px;color:var(--ink);border-radius:10px;flex:0 0 32px;transform:none}.brand-icon svg{margin-left:2px}.page-title{text-align:left;letter-spacing:-.4px;flex:1;min-width:0;font-size:17px;position:static}.topbar-action{align-items:center;gap:8px;margin-left:auto;display:flex}.topbar-action>.text-button{font-size:12px}.account-login{background:var(--soft);min-height:44px;color:var(--ink);white-space:nowrap;border-radius:100px;justify-content:center;align-items:center;padding:8px 18px;font-size:14px;font-weight:700;display:inline-flex}.points-balance{color:var(--ink);background:var(--soft);font-variant-numeric:tabular-nums;border-radius:100px;min-width:60px;max-width:130px;min-height:44px;padding:4px 12px;line-height:1.2}.points-balance span{font-size:15px;font-weight:760}.points-balance small{color:var(--muted);font-size:10px}.icon-button{color:var(--ink);background:0 0;min-width:44px;min-height:44px}.icon-button:hover{background:var(--soft)}.text-button{color:var(--ink);gap:7px;min-height:44px;font-size:14px}.button{background:var(--lime);width:100%;min-height:54px;color:var(--ink);box-shadow:none;text-align:center;border:1px solid #0000;border-radius:100px;justify-content:center;align-items:center;gap:10px;margin:12px 0 0;padding:14px 20px;font-size:16px;font-weight:750;line-height:1.4;display:flex}.button:hover:not(:disabled){background:#c9f12d;box-shadow:0 3px 14px #8aab1920}.button.secondary{background:var(--soft);color:var(--ink);border-color:var(--line);box-shadow:none}.button.secondary:hover:not(:disabled){background:#e9ece3}.button:disabled{opacity:.48;box-shadow:none}.field{gap:8px;margin:0 0 20px;display:grid}.field-label{color:var(--ink);font-size:14px;font-weight:650}.field-hint,.fineprint{color:var(--muted);font-size:12px;line-height:1.7}.muted{color:var(--muted);font-size:14px}.eyebrow{color:var(--muted);letter-spacing:1.8px;margin-bottom:12px;font-size:10px;font-weight:650;line-height:1.5;display:block}.notice{background:var(--soft);color:#424b35;border:1px solid var(--line);border-radius:12px;gap:10px;margin:12px 0;padding:14px;font-size:13px;line-height:1.7;display:flex}.notice.error{color:#9b3829;background:#fff3ef;border-color:#f2d4cb}.notice>svg{flex-shrink:0;margin-top:3px}.card,.account-card,.generation-settings,.reference-card,.script-card,.scene-card,.result-section{border:1px solid var(--line);box-shadow:none;background:#fff;border-radius:18px}.section-heading{align-items:center;gap:12px}.section-heading h2,.section-heading h3{font-size:20px}.section-intro{margin:8px 0 28px}.section-intro h1{letter-spacing:-1.2px;font-size:30px;line-height:1.3}.section-intro p{color:var(--muted);margin-top:10px;font-size:14px}.bottom-nav{width:100%;max-width:800px;min-height:calc(72px + env(safe-area-inset-bottom));height:auto;padding:9px 20px calc(9px + env(safe-area-inset-bottom));border-color:var(--line);background:#fff}.bottom-nav a{min-width:44px;min-height:48px;color:var(--muted);flex:1;font-size:11px}.bottom-nav a svg{box-sizing:content-box;border-radius:30px;width:21px;height:21px;padding:3px 11px}.bottom-nav a.active{color:var(--ink)}.bottom-nav a.active svg{background:var(--lime)}.workflow-steps{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;gap:4px;margin:-10px 0 26px;padding:14px 0 18px;display:flex}.workflow-steps li{color:var(--muted);flex:1;gap:6px;font-size:12px}.workflow-steps li span{background:var(--soft);width:25px;height:25px;color:var(--muted);border:0;font-size:11px}.workflow-steps .current{color:var(--ink);font-weight:750}.workflow-steps .current span{background:var(--lime);color:var(--ink);box-shadow:none}.workflow-steps .done span{background:var(--ink);color:#fff}.flow-action{width:min(100%,800px);padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top-color:var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}.flow-action .button{margin:0}.has-flow-action{padding-bottom:130px}.empty{padding:40px 16px}.empty-icon{background:var(--soft);color:var(--ink);border-radius:18px}.empty h2{font-size:23px}.empty p{color:var(--muted);font-size:14px}.loading{color:var(--muted);padding:45px 16px;font-size:13px}.loading>svg{color:#717c55}.step-count{color:var(--muted);background:var(--soft);border-radius:100px;font-size:12px}.landing-header{max-width:1200px;min-height:74px;margin:auto}.landing-header nav{align-items:center;gap:24px;display:flex}.desktop-link{font-size:14px;display:none}.landing-main{max-width:1200px;margin:auto}.landing-hero{padding:0 24px}.brand-kicker{align-items:center;gap:10px;margin:0;font-size:16px;font-weight:650;display:flex}.brand-kicker:before{content:"";background:var(--lime);border-radius:4px;width:4px;height:20px}.landing-hero h1{letter-spacing:-1.7px;text-align:left;margin:0;font-size:clamp(40px,11.5vw,52px);font-weight:880;line-height:1.26}.landing-hero-copy{padding-top:2px}.brand-headline-last{display:inline-block;position:relative}.brand-underline{pointer-events:none;width:160px;height:20px;position:absolute;bottom:-12px;right:0}.landing-section.process-section{border-top:0;margin-top:28px;padding-top:0}.process-section .landing-section-title h2{font-size:24px}.brand-story-visual{margin:24px -20px 0;position:relative}.brand-story-visual img{width:100%;height:auto}.brand-story-visual figcaption,.source-image-caption{font-size:12px;font-weight:700;line-height:1.4;position:absolute}.brand-story-visual figcaption{background:var(--lime);color:var(--ink);border-radius:12px;padding:7px 13px;bottom:6.5%;right:4%}.source-image-caption{background:#ffffffdc;border-radius:6px;padding:4px 9px;top:29%;left:6%}.landing-hero-action>p{text-align:center;letter-spacing:-.5px;margin-top:17px;font-size:16px}.landing-hero-action{margin-inline:-8px}.brand-cta{letter-spacing:-.5px;min-height:56px;margin-top:22px;font-size:19px;font-weight:800}.brand-cta svg{margin-left:6px}.landing-section{border-top:1px solid #d5d8ce;margin:64px 20px 0;padding-top:28px}.landing-section-title h2,.landing-section>h2{letter-spacing:-1.2px;margin:0 0 12px;font-size:30px;line-height:1.36}.landing-section-title p{color:var(--muted);font-size:14px}.brand-process{margin:0;padding:12px 0 0;list-style:none}.brand-process li{border-bottom:1px solid var(--line);gap:20px;padding:22px 0;display:flex}.process-number{color:#8b9183;font-variant-numeric:tabular-nums;padding-top:2px;font-size:12px}.brand-process li>div{grid-template-columns:24px 1fr;gap:4px 12px;display:grid}.brand-process h3{font-size:17px}.brand-process li p{color:var(--muted);grid-column:2;font-size:13px}.brand-examples{scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#cbd0c1 transparent;gap:14px;padding:24px 0 12px;display:flex;overflow-x:auto}.brand-example{text-align:left;scroll-snap-align:start;background:0 0;flex:0 0 76%;min-width:0;padding:0;display:block}.brand-example-image{background:var(--soft);aspect-ratio:4/5;border-radius:16px;position:relative;overflow:hidden}.brand-example-image>img{object-fit:cover;width:100%;height:100%}.example-play{background:#fffffff2;border-radius:50%;place-items:center;width:42px;height:42px;display:grid;position:absolute;bottom:12px;right:12px}.example-copy{gap:7px;padding-top:14px;display:grid}.example-copy small{color:var(--muted);font-size:11px}.example-copy strong{justify-content:space-between;align-items:center;gap:8px;font-size:16px;display:flex}.example-copy svg{flex-shrink:0}.section-caption{color:var(--muted);margin-top:10px;font-size:11px}.image-label{color:#fff;background:#151711a6;border:0;font-size:10px}.pricing-explanation{background:var(--soft);border:0;border-radius:20px;padding:28px 22px}.pricing-explanation>p{color:var(--muted);margin-top:16px;font-size:14px}.pricing-explanation ul{margin:20px 0 8px;padding:0;list-style:none}.pricing-explanation li{align-items:center;gap:10px;padding:8px 0;font-size:13px;display:flex}.pricing-explanation li svg{background:var(--lime);border-radius:100%;width:23px;height:23px;padding:3px}.faq-section details{border-bottom:1px solid var(--line)}.faq-section summary{justify-content:space-between;align-items:center;gap:12px;padding:18px 0;font-size:15px;font-weight:650;list-style:none;display:flex}.faq-section summary::-webkit-details-marker{display:none}.faq-section details[open] summary svg{transform:rotate(180deg)}.faq-section details>p{color:var(--muted);padding-bottom:20px;font-size:14px}.landing-final{text-align:center;padding:64px 20px}.landing-final h2{font-size:32px;line-height:1.4}.landing-final .button{max-width:400px;margin:24px auto 0}.brand-footer{max-width:1200px;padding:30px 20px calc(28px + env(safe-area-inset-bottom));background:var(--soft);border-radius:20px 20px 0 0;margin:0 auto}.brand-footer .brand{font-size:20px}.brand-footer p{color:var(--muted);margin:10px 0 16px;font-size:12px}.brand-footer>div{flex-wrap:wrap;gap:10px 24px;display:flex}.brand-footer>div a{align-items:center;min-height:44px;font-size:12px;display:inline-flex}.brand-footer>small{color:var(--muted);margin-top:16px;font-size:10px;display:block}.home-main,.works-main,.account-main{padding-bottom:calc(105px + env(safe-area-inset-bottom))}.studio-heading{margin:6px 0 28px}.studio-heading h1{letter-spacing:-1px;font-size:30px;line-height:1.3}.studio-heading p{color:var(--muted);margin-top:10px;font-size:14px}.studio-heading .eyebrow{margin-bottom:10px}.studio-section-label{align-items:center;gap:10px;margin-bottom:16px;font-size:15px;font-weight:700;display:flex}.studio-section-label b{background:var(--lime);border-radius:8px;place-items:center;width:26px;height:26px;font-size:11px;display:grid}.source-section{background:#fff;border:0;margin-top:24px;padding:0}.segmented{background:var(--soft);border:0;border-radius:100px;margin-bottom:16px;padding:4px}.segmented button{min-height:44px;color:var(--muted);border-radius:100px;font-size:13px}.segmented button.selected{background:var(--ink);color:#fff;box-shadow:none}.upload-panel{background:var(--soft);box-shadow:none;border:1px dashed #b9c2aa;border-radius:18px;padding:12px}.upload-inner{background:0 0;border:0;padding:22px 10px}.upload-inner>svg{color:var(--ink);background:#fff;border-radius:18px;width:64px;height:64px;padding:12px}.upload-inner h2{margin:16px 0 8px;font-size:20px}.upload-inner p{color:var(--muted);font-size:13px}.upload-inner .button{max-width:240px;margin:20px auto 12px}.upload-inner>span{color:var(--muted)}.link-panel{background:var(--soft);border:0;border-radius:18px;padding:20px}.link-panel textarea{background:#fff}.link-heading h2{font-size:18px}.source-cost-note{margin:14px 0 0}.source-cost-note summary{color:var(--muted);min-height:36px;padding:6px 0;font-size:12px}.source-cost-note p{padding:4px 0 12px}.resume-row{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:14px;margin:0 0 24px;padding:14px 16px}.resume-row strong{font-size:14px}.resume-row small{color:var(--muted);font-size:12px}.resume-row>svg{background:var(--lime);box-sizing:content-box;border-radius:50%;flex-shrink:0;padding:8px}.mini-steps{gap:5px;margin:24px 0 32px}.mini-steps span{color:var(--muted);gap:4px;font-size:11px}.mini-steps b{color:var(--ink);background:var(--soft);width:21px;height:21px}.stories-section{border-top:1px solid var(--line);padding-top:24px}.stories-section .section-heading>span{font-size:12px}.template-rail{gap:12px;padding-bottom:12px}.template-card{box-shadow:none;border:0;border-radius:14px;flex:0 0 58%}.template-description{padding:12px 0}.template-description strong{font-size:14px}.template-description span{color:var(--muted);font-size:12px}.template-image-button{border-radius:14px;overflow:hidden}.bottom-note{color:var(--muted);font-size:12px}.product-preparation{gap:20px}.source-preview-disclosure{background:var(--soft);border:1px solid var(--line);border-radius:14px;margin-bottom:22px;padding:0 16px}.source-preview-disclosure>summary{justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:12px 0;font-size:13px;font-weight:650;display:flex}.source-preview-disclosure>summary span{color:var(--muted);font-size:11px;font-weight:400}.source-preview-disclosure[open]{padding-bottom:16px}.product-preparation>h2{margin:6px 0 0;font-size:25px}.product-preparation>.fineprint:first-of-type{background:var(--soft);border-radius:12px;padding:12px 14px}.product-candidate{border-color:var(--line);border-radius:16px;padding:12px}.product-candidate.selected{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.product-candidate small{color:var(--muted);font-size:12px}.product-candidate.selected small{color:var(--ink);background:var(--lime);border-radius:6px;padding:3px 7px}.product-image-comparison{gap:12px}.product-image-comparison figure{border:1px solid var(--line);border-radius:14px;padding:10px}.product-image-comparison img{object-fit:contain;width:100%}.product-image-comparison figcaption{color:var(--muted);margin-top:8px;font-size:12px}.comparison-tabs{background:var(--soft);border-radius:100px;gap:8px;padding:4px;display:flex}.comparison-tabs button{background:0 0;border-radius:100px;flex:1;min-height:44px;font-size:13px}.comparison-tabs button[aria-pressed=true]{background:var(--ink);color:#fff}.product-image-comparison figure[data-active=false]{display:none}.product-image-comparison{display:block}.image-inspect{text-align:center;background:0 0;width:100%;padding:0;display:block}.image-inspect>span{min-height:44px;color:var(--muted);justify-content:center;align-items:center;gap:8px;font-size:12px;display:inline-flex}.image-zoom{width:100%;max-height:calc(var(--sheet-height,100dvh) - 120px);object-fit:contain;border-radius:12px}.preparation-report{background:var(--soft);border-radius:16px;padding:18px}.check-row{min-height:44px;color:var(--muted);align-items:flex-start;gap:12px;padding:10px 0;font-size:13px}.check-row input{margin-top:2px}.creative-option-group{border:0;border-bottom:1px solid var(--line);margin:0;padding:16px 0}.creative-option-group legend{color:var(--ink);font-size:15px}.option-chips{gap:8px}.option-chips button{background:var(--soft);min-height:44px;color:var(--ink);border:1px solid #0000;border-radius:100px;padding:9px 13px;font-size:12px}.option-chips button.selected{background:var(--lime);color:var(--ink);border-color:#bacf63}.creative-details,.option-more,.all-creative-options{background:var(--soft);border:0;border-radius:12px;margin:12px 0;padding:0 14px}.creative-details>summary,.all-creative-options>summary{padding:14px 0;font-size:14px}.creative-details[open],.all-creative-options[open]{padding-bottom:16px}.generation-settings{margin:20px 0;padding:20px}.generation-settings>h2{margin-bottom:14px;font-size:20px}.generation-settings .generation-settings{border:0;margin:14px 0;padding:0}.creative-history-row{border-color:var(--line);gap:10px;padding:14px 0}.creative-history-row strong{font-size:14px}.creative-history-row span{color:var(--muted);font-size:12px}.independent-material{border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px}.independent-material>h3{font-size:20px}.independent-material>p{color:var(--muted);margin:10px 0;font-size:13px}.independent-material-image{object-fit:contain;background:var(--soft);border-radius:12px;width:100%;max-height:55dvh}.material-kind{background:var(--soft);color:var(--muted);border-radius:100px;padding:4px 9px;font-size:11px;display:inline-block}.material-workspace-heading{gap:10px;display:grid}.material-workspace-heading h2{margin:0;font-size:25px}.material-workspace-heading>p{color:var(--muted);font-size:13px}.material-workspace-heading>p[aria-live]{font-size:12px}.product-preparation .works-tabs{margin-bottom:0;padding-bottom:0}.product-preparation>.card-carousel{margin:0}.independent-material{gap:10px}.independent-material>p{margin:0}.material-kind{align-self:flex-start}.material-status{color:var(--muted)}.material-status[data-state=ready]{color:#476428}.material-status[data-state=failed],.material-status[data-state=uncertain]{color:#9b3829}.material-summary,.sheet-trigger{min-height:76px}.material-summary img,.material-placeholder{background:var(--soft)}.reference-placeholder,.generation-visual{background:var(--soft);color:var(--muted)}.reference-actions{gap:10px}.voice-card.selected,.script-card.selected{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.result-title h2{font-size:25px}.result-section{margin-top:20px;padding:18px}.result-section .result-section{border:0;padding:0}.result-video,.sample-video{background:#151711;border-radius:14px}.result-actions,.download-actions{gap:10px}.result-shot{border-color:var(--line);border-radius:16px}.success-mark{background:var(--lime);color:var(--ink)}.works-tabs{gap:8px;padding:0 0 20px;display:flex;overflow-x:auto}.works-tabs button{white-space:nowrap;background:var(--soft);border-radius:100px;min-height:44px;padding:9px 16px;font-size:13px}.works-tabs button[aria-pressed=true]{background:var(--ink);color:#fff}.work-card{box-shadow:none;background:#fff;border:0;border-radius:16px}.work-cover{border-radius:16px;overflow:hidden}.work-info{padding:14px 0}.work-info h3{font-size:16px}.work-state{background:var(--soft);color:var(--muted);border-radius:6px;margin-bottom:9px;padding:4px 8px;font-size:10px;display:inline-block}.work-state[data-state=completed]{color:#476428;background:#f0f6e9}.work-state[data-state=blocked],.work-state[data-state=uncertain],.work-state[data-state=failed],.work-state[data-state=awaiting_review]{color:#9b3829;background:#fff3ef}.material-progress{appearance:none;background:var(--soft);accent-color:#829c29;border:0;border-radius:6px;width:100%;height:6px;display:block;overflow:hidden}.material-progress::-webkit-progress-bar{background:var(--soft)}.material-progress::-webkit-progress-value{background:#829c29;border-radius:6px}.material-progress::-moz-progress-bar{background:#829c29;border-radius:6px}.work-info p,.work-info small{color:var(--muted);font-size:12px}.work-pending{background:var(--soft);color:var(--muted)}.workspace-footer{border-color:var(--line);flex-wrap:wrap}.workspace-footer>span{color:var(--muted);font-size:12px}.modal-backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:80;background:#15171155;display:block}.modal{width:100%;max-width:600px;max-height:min(92dvh, var(--sheet-height,92dvh));z-index:81;padding:20px 20px calc(24px + env(safe-area-inset-bottom));background:#fff;border-radius:22px 22px 0 0;animation:.2s ease-out brand-sheet-in;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 10px 60px #15171120}.modal-fullscreen{height:var(--sheet-height,100dvh);max-height:var(--sheet-height,100dvh);max-width:800px;padding-top:calc(16px + env(safe-area-inset-top));border-radius:0;top:0;bottom:auto}.modal-heading{gap:12px;margin-bottom:20px}.modal-heading h2{font-size:18px}.modal-body{gap:14px;min-width:0;display:grid}.auth-header{padding:18px 20px}.auth-page-main{padding:28px 24px 40px}.auth-form-content{width:100%;max-width:420px;margin:auto}.auth-intro{margin:6px 0 30px}.auth-intro h1{white-space:pre-line;letter-spacing:-1.1px;font-size:34px;font-weight:850;line-height:1.35}.auth-intro p{color:var(--muted);margin-top:14px;font-size:14px}.auth-form{display:block}.password-input{display:block;position:relative}.password-input input{padding-right:52px}.password-input .icon-button{width:44px;height:44px;position:absolute;top:4px;right:4px}.auth-password-help{color:var(--muted);margin:-8px 0 22px;font-size:12px}.auth-form .button{margin-top:22px}.auth-switch{color:var(--muted);justify-content:center;align-items:center;gap:4px;margin:16px 0;font-size:13px;display:flex}.auth-switch button{min-height:44px;color:var(--ink);text-underline-offset:4px;background:0 0;padding:8px;font-weight:700;text-decoration:underline}.auth-legal{color:var(--muted);gap:8px;font-size:11px;line-height:1.8;display:flex}.auth-legal>svg{flex-shrink:0;margin-top:3px}.auth-legal a{text-underline-offset:3px;text-decoration:underline}.auth-overlay>.brand{margin:0 0 20px;font-size:21px}.auth-overlay .auth-intro h1{font-size:30px}.auth-brand-note{border-top:1px solid var(--line);max-width:420px;margin:44px auto 0;padding-top:18px}.auth-brand-note span{letter-spacing:1.5px;color:var(--muted);font-size:9px}.auth-brand-note p{color:var(--muted);margin-top:6px;font-size:12px}.account-card{margin:0 0 20px;padding:22px 20px}.account-card h2{margin-bottom:12px;font-size:21px}.account-card>p{color:var(--muted);font-size:13px}.wallet-hero{background:var(--soft);border:0;border-radius:20px;padding:24px}.wallet-hero h1{font-size:22px}.wallet-total{letter-spacing:-2px;color:var(--ink);font-variant-numeric:tabular-nums;margin:18px 0 12px;font-size:50px;font-weight:820;line-height:1.3}.wallet-total small{letter-spacing:0;color:var(--muted);margin-left:12px;font-size:12px;font-weight:500;display:inline-block}.account-links{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 22px;display:grid}.account-links a{background:var(--soft);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;min-height:52px;padding:12px 14px;font-size:13px;display:flex}.recharge-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0;display:grid}.recharge-options button{background:var(--soft);color:var(--ink);border:1px solid #0000;border-radius:12px;min-height:60px;padding:10px 4px;font-size:16px;font-weight:700}.recharge-options button.selected{background:var(--lime);color:var(--ink);border-color:#b7cc62}.recharge-summary{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:16px 0;font-size:13px;display:flex}.recharge-summary strong{font-variant-numeric:tabular-nums;font-size:21px}.wallet-row{border-color:var(--line);font-variant-numeric:tabular-nums;gap:16px;padding:16px 0;font-size:13px}.wallet-row>div{min-width:0}.wallet-row small{color:var(--muted);font-size:11px;line-height:1.6}.wallet-row>div:last-child{text-align:right}.payment-order{border:1px solid var(--line);background:var(--soft);overflow-wrap:anywhere;border-radius:14px;margin-top:18px;padding:18px}.payment-order[data-status=paid]{background:#f0f6e9;border-color:#99b47f}.payment-order img{margin:16px auto}.payment-order p{font-size:12px}.payment-order .payment-state{margin-bottom:10px;font-size:18px;font-weight:750}.account-disclosure{margin-bottom:18px}.account-disclosure>summary{padding:18px 0;font-size:18px;font-weight:750}.copy-result{color:#476428;min-height:20px;font-size:12px}.prose{max-width:760px;margin:auto;padding-bottom:110px}.prose h1{margin:10px 0 20px;font-size:32px}.prose .lead{color:var(--muted);font-size:16px}.prose h2{margin:24px 0 12px;font-size:21px}.prose p{color:#565e4d;font-size:14px;line-height:1.9}.help-faq{border-bottom:1px solid var(--line);padding:6px 0}.help-faq>summary{justify-content:space-between;align-items:center;padding:16px 0;font-size:17px;font-weight:700;list-style:none;display:flex}.help-faq>summary::-webkit-details-marker{display:none}.help-faq[open]>summary svg{transform:rotate(180deg)}.help-faq p{padding-bottom:20px}.admin-shell{width:100%;max-width:none}.admin-main{padding-bottom:60px}.admin-tabs{scrollbar-width:thin;flex-wrap:nowrap;gap:8px;width:100%;max-width:none;margin:0 0 20px;padding:0 0 16px;display:flex;overflow-x:auto}.admin-tabs button{white-space:nowrap;background:var(--soft);min-height:44px;color:var(--muted);border:0;border-radius:100px;padding:8px 14px;font-size:13px}.admin-tabs button.selected{background:var(--ink);color:#fff}.admin-table-wrap{border:1px solid var(--line);border-radius:14px;width:100%;max-width:100%;overflow-x:auto}.admin-table-wrap table{border-collapse:collapse;min-width:640px;font-size:13px}.admin-table-wrap th{background:var(--soft);color:var(--muted);text-align:left;font-size:11px;font-weight:600}.admin-table-wrap th,.admin-table-wrap td{border-color:var(--line);padding:14px}.admin-table-wrap .button{min-height:44px;margin-top:8px;padding:9px 12px;font-size:12px}.admin-mobile-list{gap:14px;display:grid}.admin-user-card{border:1px solid var(--line);border-radius:16px;padding:18px}.admin-user-card>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.admin-user-card>header small{color:var(--muted);font-size:11px}.admin-user-card dl{grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 6px;display:grid}.admin-user-card dt{color:var(--muted);font-size:11px}.admin-user-card dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:15px}.admin-user-card details{border-top:1px solid var(--line);margin-top:16px}.admin-user-card summary{padding:10px 0;font-size:13px}.admin-desktop-users{display:none}.concept-card,.story-synopsis{border:1px solid var(--line);box-shadow:none;background:#fff;border-radius:18px;padding:22px 20px}.concept-card h2,.story-synopsis h2{letter-spacing:-.8px;margin:10px 0 16px;font-size:25px;line-height:1.45}.concept-opening{border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);background:0 0;padding:14px 0;font-size:16px}.concept-synopsis,.synopsis-body,.story-text{color:#424b35;font-size:15px;line-height:1.95}.synopsis-body p,.concept-synopsis p{margin:16px 0}.story-logline{color:var(--ink);font-size:16px;line-height:1.8}.story-beat{border-bottom:1px solid var(--line);padding:18px 0}.story-beat h3{margin-bottom:12px;font-size:17px}.story-beat p{font-size:14px;line-height:1.85}.eyeline{color:var(--muted);background:var(--soft);border-radius:6px;padding:5px 8px;font-size:12px}.creative-intro h1{margin-top:14px}.script-tabs{flex-direction:column;gap:10px;margin:22px 0;display:flex}.script-tabs button{background:var(--soft);text-align:left;border:1px solid #0000;border-radius:14px;grid-template-columns:1fr 24px;gap:5px;width:100%;min-height:76px;padding:16px;display:grid}.script-tabs button>span{color:var(--muted);grid-column:1;font-size:11px}.script-tabs button>strong{grid-column:1;font-size:15px}.script-tabs button>svg{grid-area:1/2/3;align-self:center}.script-tabs button.selected{border-color:var(--ink);background:#f5f9e8}.script-heading{margin:28px 0 18px;display:block}.script-heading h2{margin-bottom:6px;font-size:24px}.script-heading>span{color:var(--muted);font-size:12px}.scene-list{gap:16px;display:grid}.scene-card{border-color:var(--line);background:#fff;padding:18px}.scene-label{border-bottom:1px solid var(--line);color:var(--ink);margin-bottom:14px;padding-bottom:14px;font-size:13px}.scene-label small{background:var(--soft);color:var(--muted);white-space:nowrap;border-radius:100px;padding:4px 8px;font-size:11px}.scene-copy{display:block;position:relative}.scene-copy textarea{background:var(--soft);padding-right:30px;line-height:1.8}.scene-copy>svg{color:var(--muted);position:absolute;bottom:14px;right:12px}.shot-spec{border:0;border-top:1px solid var(--line);background:#fff;border-radius:0;margin-top:16px;padding:16px 0}.shot-spec>summary{flex-wrap:wrap;align-items:center;gap:6px 10px;list-style:none;display:flex}.shot-spec>summary::-webkit-details-marker{display:none}.shot-index{background:var(--ink);color:#fff;font-variant-numeric:tabular-nums;border-radius:5px;padding:4px 8px;font-size:11px}.shot-duration{color:var(--muted);font-variant-numeric:tabular-nums;margin-left:auto;font-size:12px}.shot-composition{width:100%;margin-top:8px;font-size:15px;font-weight:700;display:block}.shot-preview{display:none}.shot-spec>p{color:#565e4d;margin:10px 0;font-size:13px;line-height:1.85}.shot-details>summary{color:var(--muted);padding:10px 0;font-size:12px}.shot-details>p{color:var(--muted);font-size:13px;line-height:1.85}.creative-activity{background:var(--soft);color:var(--ink);border:0}.activity-live{background:var(--lime);color:var(--ink)}.activity-heading{flex-wrap:wrap}.activity-heading>div{flex:1;min-width:0}.activity-heading strong{font-size:17px}.activity-track{background:#e2e8d4}.activity-track>span{background:#9cba3e}.activity-exit{min-height:44px;margin-top:16px}.progress-orb{background:var(--soft);color:var(--ink);box-shadow:none;animation:none}.progress-list{text-align:left;max-width:320px;margin:24px auto}.progress-list li{color:var(--muted);font-size:13px}.progress-list li.done{color:var(--ink)}.progress-list li.done>span{background:var(--lime);color:var(--ink)}.progress-screen h2{font-size:24px}.mode-options button,.reference-tier-options>label{border-color:var(--line);background:var(--soft);min-height:58px;color:var(--ink);border-radius:12px}.mode-options button.selected,.reference-tier-options>label.selected{border-color:var(--ink);box-shadow:none;background:#f5f9e8}.mode-options button strong{color:var(--ink)}.reference-tier-options{gap:8px}.carousel-dots button{min-width:28px;min-height:44px}.carousel-dots button[aria-current=true]:after{background:#829c29}.generation-shimmer{background:#c0d673;animation:1.6s ease-in-out infinite brand-shimmer}.generation-spark{color:#80972c}.result-shot-head{flex-wrap:wrap;gap:8px}.result-shot video,.result-shot img{border-radius:12px}.result-shot-empty{background:var(--soft);color:var(--muted)}.result-shot>p{color:var(--muted);font-size:13px;line-height:1.8}.ops-section{border-color:var(--line);border-radius:16px;padding:18px}.ops-section h3{margin-bottom:14px;font-size:20px}.ops-grid{gap:16px}.ops-scroll{max-width:100%;overflow-x:auto}.ops-scroll table{border-collapse:collapse;min-width:600px;font-size:12px}.ops-scroll th{background:var(--soft);color:var(--muted);font-size:11px}.ops-scroll th,.ops-scroll td{border-color:var(--line);padding:12px}.ops-metrics{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:16px;padding:16px 0;display:flex}.ops-metrics>*{background:var(--soft);border-radius:12px;flex:120px;padding:14px}.ops-tabs button{background:var(--soft);border-color:#0000;border-radius:100px;min-height:44px;font-size:12px}.ops-tabs button[aria-pressed=true]{background:var(--ink);color:#fff}.system-state{text-align:center;max-width:600px;margin:auto;padding-top:60px;padding-bottom:60px}.system-state-symbol{background:var(--lime);border-radius:24px;place-items:center;width:84px;height:84px;margin:0 auto 28px;display:grid}.system-state h1{letter-spacing:-1px;font-size:30px;line-height:1.45}.system-state>p{color:var(--muted);margin:18px 0 28px;font-size:14px}.system-state-actions{max-width:340px;margin:0 auto 12px}.admin-shell .fineprint,.admin-shell p,.admin-shell td{overflow-wrap:anywhere}@keyframes brand-shimmer{0%,to{opacity:.35}50%{opacity:1}}@keyframes brand-sheet-in{0%{opacity:0;translate:0 14px}to{opacity:1;translate:0}}@media (min-width:768px){.main,.topbar{padding-left:32px;padding-right:32px}.desktop-link{align-items:center;min-height:44px;display:inline-flex}.landing-header{min-height:92px;padding:20px 40px}.landing-hero{grid-template-rows:auto 1fr;grid-template-columns:1fr 1.08fr;align-items:center;column-gap:20px;padding:24px 40px 50px;display:grid}.landing-hero-copy{align-self:end;padding-top:30px}.brand-kicker{margin-bottom:24px;font-size:16px}.landing-hero h1{text-align:left;font-size:clamp(40px,4.1vw,56px)}.brand-story-visual{grid-area:1/2/3;margin:0 -10px 0 0}.landing-hero-action{align-self:start;margin-inline:0}.landing-hero-action>p{text-align:left;margin-top:26px;font-size:15px}.landing-hero-action .brand-cta{max-width:360px;margin-top:25px}.source-image-caption,.brand-story-visual figcaption{font-size:13px}.landing-section{margin:70px 40px 0;padding-top:36px}.landing-section-title h2,.landing-section>h2{font-size:36px}.mobile-break{display:none}.brand-process{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px;padding-top:32px;display:grid}.brand-process li{border:0;padding:0;display:block}.brand-process li>div{margin-top:20px;display:block}.brand-process li h3{margin:12px 0 10px;font-size:16px}.brand-process li p{font-size:12px}.brand-example{flex:1 1 0}.pricing-explanation{max-width:700px;padding:36px}.faq-section{max-width:800px}.landing-final{padding:100px 40px}.landing-final h2{font-size:44px}.brand-footer{padding:36px 40px}.template-card{flex-basis:31%}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.modal{border-radius:22px;max-height:86dvh;top:50%;bottom:auto;transform:translate(-50%,-50%)}.modal-fullscreen{max-width:720px;height:min(88dvh,900px);max-height:88dvh}.auth-page-main{padding-top:50px}.auth-header{padding-left:40px;padding-right:40px}.auth-intro h1{font-size:40px}.admin-mobile-list{display:none}.admin-desktop-users{display:block}.comparison-tabs{display:none}.product-image-comparison{grid-template-columns:1fr 1fr;display:grid}.product-image-comparison figure[data-active=false]{display:block}}@media (max-width:374px){.brand{font-size:20px}.landing-hero h1{font-size:37px}.topbar-action{gap:4px}.main{padding-left:16px;padding-right:16px}.brand-cta{font-size:17px}.workflow-steps li{gap:3px;font-size:11px}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}button:active:not(:disabled),.button:active{transform:none}}
.app-shell[data-surface=library],.app-shell[data-surface=library] .topbar,.app-shell[data-surface=library] .bottom-nav{max-width:1280px}.video-library{margin-top:64px}.library-main{padding-bottom:calc(105px + env(safe-area-inset-bottom));max-width:1280px}.library-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px;display:flex}.library-heading :is(h1,h2){letter-spacing:-.04em;text-wrap:balance;margin:10px 0 14px;font-size:clamp(28px,3vw,40px);line-height:1.2}.library-heading p{color:var(--muted);margin:0}.library-order{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;padding-bottom:4px;font-size:12px;display:flex}.library-order>span{font-variant-numeric:tabular-nums;margin-left:12px}.library-filters{margin-bottom:28px}.library-search{max-width:340px;color:var(--muted);background:#f3f3ef;border-radius:12px;align-items:center;gap:10px;margin-bottom:16px;padding:10px 15px;display:flex}.library-search input{outline-offset:6px;width:100%;min-width:0;min-height:24px;font:inherit;background:0 0;border:0;padding:0;font-size:13px}.library-tag-list{flex-wrap:wrap;gap:8px;display:flex}.library-tag,.library-tag-toggle{color:#66685f;min-height:44px;font:inherit;cursor:pointer;background:#f4f4f0;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 13px;font-size:12px;transition:background-color .18s,color .18s,scale .18s;display:inline-flex}.library-tag[aria-pressed=true]{color:#fff;background:#21241c}.library-tag small{opacity:.6;font-variant-numeric:tabular-nums}.library-tag:active,.library-like:active{scale:.96}.library-tag-toggle{text-underline-offset:4px;background:0 0;text-decoration:underline}.library-filter-hint{color:var(--muted);align-items:center;gap:16px;font-size:12px;display:flex}.library-masonry{align-items:start;gap:22px;display:grid}.library-column{flex-direction:column;gap:22px;min-width:0;display:flex}.library-card{background:#fff;border-radius:18px;min-width:0;overflow:hidden;box-shadow:0 2px 8px #00000005,0 10px 28px #00000008}.library-cover{cursor:pointer;background:#e9eae4;border:0;width:100%;max-height:500px;padding:0;display:block;position:relative;overflow:hidden}.library-cover img{object-fit:cover;outline-offset:-1px;outline:1px solid #0000001a;width:100%;height:100%;display:block}.library-play{color:#25291e;background:#ffffffdf;border-radius:50%;place-items:center;width:48px;height:48px;margin:auto;transition:scale .2s;display:grid;position:absolute;inset:0;box-shadow:0 4px 18px #0002}.library-cover:hover .library-play{scale:1.08}.library-cover-placeholder{background:var(--soft,#f5f6f2);color:#697352;place-items:center;height:100%;display:grid}.library-duration{color:#fff;font-variant-numeric:tabular-nums;background:#0008;border-radius:5px;padding:2px 7px;font-size:11px;position:absolute;bottom:12px;right:12px}.library-card-body{padding:16px 16px 10px}.library-card-body h2{overflow-wrap:anywhere;margin:0 0 8px;font-size:15px;line-height:1.5}.library-card-tags{flex-wrap:wrap;gap:0 8px;display:flex}.library-card-tags button{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font:inherit;color:#747b64;cursor:pointer;background:0 0;border:0;min-height:44px;padding:4px 0;font-size:11px;overflow:hidden}.library-card-footer{color:#96998d;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.library-like{color:#74786c;min-width:48px;min-height:44px;font:inherit;cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:0;justify-content:center;align-items:center;gap:6px;padding:0 4px;font-size:12px;transition:color .18s,scale .18s;display:inline-flex}.library-like[aria-pressed=true]{color:#ce5a44}.library-like:disabled{opacity:.5;cursor:wait}.library-pagination{justify-content:center;padding:32px 0 4px;display:flex}.library-modal-tags{color:var(--muted);flex-wrap:wrap;gap:10px;margin-top:16px;font-size:13px;display:flex}@media (max-width:767px){.video-library{margin-top:44px}.library-heading{margin-bottom:20px;display:block}.library-order{margin-top:16px}.library-masonry,.library-column{gap:12px}.library-card{border-radius:12px}.library-card-body{padding:12px 11px 6px}.library-card-body h2{font-size:13px}.library-search{max-width:none}.library-play{width:38px;height:38px}}
