:root{--ink:#25222d;--muted:#827b8c;--purple:#7652b4;--lavender:#f0ebf8;--line:#e9e5ee;--paper:#fff;--bg:#f8f7fa;--green:#47816c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,"Segoe UI",system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b7a1dc;outline-offset:3px}button{color:inherit}.topbar{height:82px;padding:0 max(28px,calc((100vw - 1264px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:25px}.brand{font-size:22px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:0}.brand>span:not(.brand-icon):not(.brand-tag){color:var(--purple)}.brand-icon{width:33px;height:33px;background:#30253f;color:#fff;border-radius:10px;margin-right:9px;display:grid;place-items:center;font-size:24px;line-height:1}.brand-tag{font-size:8px;letter-spacing:1.5px;color:var(--muted);margin:4px 0 0 12px;border-left:1px solid var(--line);padding-left:12px}.topbar nav{display:flex;gap:32px;height:100%;align-items:center}.topbar nav a,.topbar nav button{font-size:13px;font-weight:600;color:var(--muted);height:100%;display:flex;gap:7px;align-items:center;background:none;border:0;padding:0;position:relative}.topbar nav .active{color:var(--purple)}.topbar nav .active:after{content:"";position:absolute;height:2px;left:0;right:0;bottom:0;background:var(--purple)}#projectCount{background:#f1eef5;color:#83778f;border-radius:5px;padding:0 5px;font-size:10px}.prototype{font-size:11px;color:#7d6c94;display:flex;gap:7px;align-items:center;background:#f5f1fb;padding:6px 10px;border:1px solid #e8dff4;border-radius:20px;white-space:nowrap}.prototype>span{height:5px;width:5px;border-radius:50%;background:#a68bc7}main{max-width:1264px;margin:0 auto;padding:0 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:46px 0 34px}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.8px;color:#9583ac;margin:0 0 12px}h1{font-size:43px;letter-spacing:-1.8px;line-height:1.13;margin:0;font-weight:650}h1 span{color:#9b87b6}.lede{font-size:13px;color:var(--muted);margin:15px 0 0}.heading-note{display:flex;align-items:center;gap:15px;margin:12px 35px 0 0}.note-mark{color:#a897c1;font-size:39px;transform:rotate(10deg)}.heading-note p{font-size:12px;color:#a29aaa;line-height:1.6}.project-toolbar{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:#fff;padding:15px 20px;border-radius:14px;margin-bottom:18px;gap:20px}.project-title{display:flex;gap:14px;align-items:center;min-width:0}.project-title label{font-size:8px;letter-spacing:1.5px;color:#9e96a7;font-weight:750}.project-title input{font-size:13px;color:#51465f;font-weight:600;border:0;background:transparent;width:210px;min-width:0;padding:4px}.toolbar-actions{display:flex;gap:18px;align-items:center}.toolbar-actions>span{color:#a29aa9;font-size:10px}.text-button{border:0;background:none;font-size:11px;color:#7e6a93;font-weight:600;padding:7px 0}.button{border:0;display:inline-flex;align-items:center;justify-content:center;font-weight:650;font-size:12px;border-radius:9px;padding:13px 18px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-1px)}.primary{background:#292230;color:#fff}.primary:hover{background:#493557}.secondary{border:1px solid #ded6e8;background:#fff;color:#75618e}.compact{padding:8px 16px;font-size:11px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 382px;gap:20px;align-items:start}.editor{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.editor-section{padding:25px 28px 26px;border-bottom:1px solid var(--line)}.editor-section:last-child{border-bottom:0}.section-title{display:flex;gap:13px;align-items:flex-start;margin-bottom:19px}.step-number{display:grid;place-items:center;width:27px;height:27px;flex:none;background:#f2edf8;border:1px solid #ebe3f3;color:#9c83bb;border-radius:8px;font-size:9px;font-weight:700}.section-title h2{font-size:16px;letter-spacing:-.3px;margin:0 0 3px;font-weight:650}.section-title p{color:var(--muted);font-size:11px;margin:0}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f6f4f8;padding:4px;border-radius:9px;margin-bottom:16px}.mode-switch button{border:1px solid transparent;border-radius:7px;padding:9px 10px;background:none;font-size:11px;color:#9b91a4;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:600}.mode-switch button span{font-size:16px}.mode-switch .selected{background:white;color:#695185;border-color:#e9e2f2;box-shadow:0 2px 4px #30223e06}.drop-zone{display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;border:1px dashed #cfc2df;background:#fcfaff;border-radius:12px;min-height:176px;padding:22px;cursor:pointer;transition:background .2s}.drop-zone.drag{background:#eee4fb;outline:2px solid #b89ad9;outline-offset:2px}.upload-icon{font-size:23px;border:1px solid #e5dcef;background:#fff;border-radius:10px;width:40px;height:40px;display:grid;place-items:center;color:#8b6eac;margin-bottom:10px;line-height:1}.drop-zone strong{font-size:12px;font-weight:650}.drop-zone>span:not(.upload-icon){font-size:10px;color:#aca1b5;margin-top:3px}.drop-zone b{color:#8965b1;font-weight:600}.drop-zone small{font-size:9px;color:#ada4b5;margin-top:13px}.empty-hint{font-size:10px;color:#a79bad;text-align:center;margin:12px 0 0}.scene-list{display:grid;gap:12px;margin-top:16px}.scene-card{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}.scene-card.selected{border-color:#c1abd9;background:#fdfbff}.scene-top{display:flex;align-items:center;gap:10px;margin-bottom:10px}.scene-thumb{height:49px;width:43px;object-fit:cover;border-radius:5px;background:#eee;flex:none}.scene-info{min-width:0;flex:1}.scene-info strong{font-size:10px;letter-spacing:1px;display:block;color:#8e7a9f}.scene-info span{display:block;font-size:10px;color:#a69bad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.scene-actions{display:flex;gap:4px}.scene-actions button{border:1px solid var(--line);background:#fff;border-radius:5px;font-size:13px;width:26px;height:27px;padding:0;color:#9885a6}.scene-actions button:disabled{opacity:.3;cursor:default}.scene-card label{font-size:10px;color:#8f809d;display:block;margin:0 0 5px}.scene-card textarea{font-size:11px;min-height:66px}.scene-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.scene-bottom label{margin:0;display:flex;align-items:center;gap:8px}.scene-bottom input{width:50px;border:1px solid var(--line);padding:3px 5px;font-size:10px;border-radius:4px;color:#756584;background:#fff}.scene-bottom small{font-size:9px;color:#b3a8bb}.fields{display:grid;gap:12px}.fields.three{grid-template-columns:1.15fr 1fr 1fr}.fields label,.field-label{font-size:10px;font-weight:600;color:#887992}.fields select{margin-top:7px;width:100%;background:#fbfafc;border:1px solid #e6e0eb;border-radius:7px;padding:10px 8px;font-size:10px;color:#6e5b7d}.field-note{font-size:9px;color:#aaa0b1;line-height:1.7;margin:13px 0 0}textarea{display:block;width:100%;resize:vertical;border:1px solid #e6e0eb;background:#fcfbfd;border-radius:8px;color:#4e425a;font-size:12px;padding:11px 12px;line-height:1.55}textarea::placeholder{color:#b3a9bb}#postCaption{margin-top:8px;min-height:91px}.caption-meta{display:flex;justify-content:space-between;color:#b0a5b8;font-size:8px;margin:6px 0 18px}.channels,.timing{border:0;padding:0;margin:0;min-width:0}.channels{display:grid;grid-template-columns:1fr 1fr;gap:9px}.channels legend,.timing legend{font-size:10px;color:#887992;font-weight:600;margin-bottom:9px;padding:0}.channels label{display:flex;align-items:center;gap:8px;border:1px solid #e7e1ec;padding:10px 9px;border-radius:8px;position:relative;cursor:pointer}.channels input{position:absolute;opacity:0}.channel-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;font-size:16px;font-weight:700;flex:none}.dark{background:#f1edf4;color:#39313f}.pink{background:#f9edf6;color:#bd7fa8}.red{background:#fcefed;color:#cf8a85;font-size:11px}.blue{background:#edf1f9;color:#7f99c7}.channels label>span:nth-of-type(2){font-size:10px;font-weight:550;line-height:1.3}.channels small{display:block;font-size:8px;color:#b1a7b8;margin-top:3px;font-weight:400}.checkbox-mark{margin-left:auto;border:1px solid #dcd3e5;height:12px;width:12px;border-radius:3px;flex:none}.channels label:has(input:checked){background:#f7f2fc;border-color:#baa2d5}.channels input:checked~.checkbox-mark{background:#9876bf;border-color:#9876bf}.channels input:checked~.checkbox-mark:after{content:"✓";color:white;display:block;font-size:10px;text-align:center;line-height:10px}.channels input:focus-visible~.checkbox-mark{outline:3px solid #b7a1dc;outline-offset:3px}.timing{margin-top:19px;display:flex;gap:18px;flex-wrap:wrap}.timing label{font-size:10px;color:#9b8ba8;display:flex;align-items:center;gap:6px}.timing input{accent-color:#9877ba;width:11px;height:11px;margin:0}.schedule-field{margin-top:14px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbf9fd}.schedule-field label{font-size:10px;display:block;color:#8b7b99;margin-bottom:5px}.schedule-field input{font-size:11px;border:1px solid var(--line);border-radius:5px;padding:6px;color:#766284;background:white;width:100%}.schedule-field small{font-size:9px;color:#ab9db5;display:block;margin-top:5px}.preview-panel{background:white;border:1px solid var(--line);border-radius:16px;padding:23px 24px;position:sticky;top:20px}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.preview-header .eyebrow{font-size:8px;margin-bottom:4px}.preview-header h2{font-size:16px;letter-spacing:-.3px;margin:0;font-weight:650}.draft-badge{background:#f5f2f8;border:1px solid #eae4f0;color:#a292b1;font-size:8px;letter-spacing:1px;padding:4px 6px;border-radius:4px}.preview-stage{position:relative;background:#f1edf7;border:1px solid #e5ddec;border-radius:13px;aspect-ratio:9/16;max-height:408px;width:100%;overflow:hidden}.preview-stage>img{width:100%;height:100%;object-fit:contain;background:#e7e0ee}.preview-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(ellipse at 50% 45%,#faf7ff,#ede7f4)}.preview-empty svg{width:125px;height:125px;margin-bottom:10px}.preview-empty b{color:#82659d;font-size:12px;font-weight:600}.preview-empty p{font-size:10px;color:#b1a1bd;line-height:1.7;margin-top:7px}.preview-format{position:absolute;top:12px;right:12px;background:#ffffffb3;border:1px solid #ded4e8;font-size:8px;padding:3px 6px;border-radius:4px;color:#967ea9}.preview-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#201527b8);padding:55px 18px 20px;color:white}.preview-overlay>span{font-size:8px;letter-spacing:1.5px;color:#f0e5fa;display:block;margin-bottom:7px}.preview-overlay b{font-size:12px;line-height:1.5;font-weight:500;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.preview-meta{display:flex;justify-content:center;gap:10px;font-size:9px;color:#a091aa;margin:13px 0}.preview-meta b{font-weight:600;color:#7b658e}.meta-dot{color:#c9bfce}.story-strip{display:flex;gap:7px;overflow-x:auto;padding-bottom:5px}.story-strip:empty{display:none}.story-strip button{flex:0 0 47px;height:61px;padding:0;border:2px solid transparent;border-radius:6px;position:relative;overflow:hidden;background:#eee}.story-strip button.selected{border-color:#a183c4}.story-strip img{height:100%;width:100%;object-fit:cover}.story-strip span{position:absolute;bottom:2px;left:3px;font-size:8px;color:#fff;background:#382b4988;padding:0 3px;border-radius:2px}.pipeline{margin:18px 0;border-top:1px solid var(--line)}.pipeline>div{display:flex;align-items:center;gap:9px;padding-top:15px}.pipeline-dot{width:6px;height:6px;background:#d8cfe0;border-radius:50%;flex:none}.pipeline-dot.done{background:#a18ab9}.pipeline p{font-size:10px;flex:1;margin:0;color:#766682}.pipeline small{font-size:8px;color:#b2a6ba;display:block;margin-top:2px}.pipeline b{font-size:8px;color:#aa9db5;font-weight:500}.readiness{width:100%;justify-content:space-between}.readiness span{font-size:17px}.honest-note{font-size:9px;line-height:1.7;color:#ad9fb6;text-align:center;margin:12px 5px 0}footer{display:flex;justify-content:space-between;font-size:9px;color:#b3a9bd;padding:24px 0 30px;gap:20px}dialog{border:1px solid var(--line);border-radius:18px;padding:25px;width:min(560px,calc(100vw - 30px));color:var(--ink);box-shadow:0 20px 80px #24133124;max-height:90vh}dialog::backdrop{background:#241b344d;backdrop-filter:blur(4px)}.dialog-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.dialog-top .eyebrow{margin:0 0 5px}.dialog-top h2{margin:0;font-size:23px;font-weight:600;letter-spacing:-.7px}.icon-button{background:#f3eff7;border:0;border-radius:50%;width:27px;height:27px;color:#9681a7;font-size:20px;line-height:1}.readiness-row{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.readiness-row>span{color:var(--green);font-size:13px;width:18px;flex:none}.readiness-row.blocked>span{color:#a683bc}.readiness-row b{display:block;font-size:12px;font-weight:600}.readiness-row p{font-size:11px;color:var(--muted);margin:3px 0 0}.dialog-footnote{font-size:10px;line-height:1.7;color:#a194ab;margin:16px 0}.saved-project{border:1px solid var(--line);border-radius:10px;padding:13px 14px;display:flex;align-items:center;gap:14px;margin-bottom:10px}.saved-project>div{flex:1;min-width:0}.saved-project b{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.saved-project p{font-size:10px;color:var(--muted);margin:4px 0 0}.saved-project button{font-size:10px}.saved-project .delete-draft{border:0;background:none;color:#aa94af;font-size:17px;padding:5px}.no-projects{font-size:12px;color:#9e90a8;background:#faf7fd;padding:30px;text-align:center;border-radius:10px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:11px 18px;border-radius:10px;background:#34253e;color:#fff;font-size:12px;box-shadow:0 8px 30px #2b1f3b30;opacity:0;pointer-events:none;transition:.2s;z-index:20;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}@media(min-width:1400px){.workspace{grid-template-columns:minmax(0,1fr) 398px}.preview-stage{max-height:440px}}@media(max-width:1000px){.workspace{grid-template-columns:minmax(0,1fr) 330px;gap:16px}.editor-section{padding:23px 20px}.preview-panel{padding:20px 18px}.fields.three{grid-template-columns:1fr}.channels{grid-template-columns:1fr}.heading-note{margin-right:0}.topbar{padding:0 25px}.brand-tag{display:none}}@media(max-width:750px){.topbar{height:68px;padding:0 18px;gap:10px}.topbar nav{gap:18px}.topbar nav a,.topbar nav button{font-size:11px}.brand{font-size:19px}.brand-icon{width:28px;height:28px;font-size:21px}.prototype{display:none}main{padding:0 16px}.page-heading{padding:32px 4px 25px}h1{font-size:35px;letter-spacing:-1.5px}.lede{font-size:12px;max-width:290px;line-height:1.6}.heading-note{display:none}.project-toolbar{padding:12px;gap:10px;align-items:flex-start}.project-title{display:block;flex:1}.project-title label{display:block;margin-left:4px}.project-title input{width:100%;font-size:12px}.toolbar-actions{gap:9px;flex-wrap:wrap;justify-content:flex-end}.toolbar-actions>span{display:none}.text-button{font-size:10px}.compact{font-size:10px;padding:7px 10px}.workspace{display:flex;flex-direction:column}.editor,.preview-panel{width:100%}.preview-panel{position:static}.preview-stage{max-width:280px;max-height:none;margin:auto}.fields.three{grid-template-columns:1fr 1fr 1fr;gap:7px}.fields label{font-size:9px}.fields select{font-size:9px;padding:9px 6px}.channels{grid-template-columns:1fr 1fr;gap:7px}.channel-icon{width:22px;height:22px}.channels label{gap:6px;padding:10px 7px}.channels label>span:nth-of-type(2){font-size:9px}.channels small{font-size:7px}.editor-section{padding:22px 18px}.section-title{gap:10px}.section-title h2{font-size:15px}.section-title p{font-size:10px}.scene-info span{max-width:170px}.scene-actions{gap:3px}.scene-actions button{width:23px}.story-strip{justify-content:center}.pipeline{max-width:420px;margin:20px auto}.readiness{max-width:420px;display:flex;margin:auto}.honest-note{max-width:390px;margin:12px auto 0}footer{font-size:8px;line-height:1.6}.timing{gap:10px 18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
