:root{color-scheme:dark;--bg:#08090c;--panel:#11141c;--line:#272d3a;--muted:#a7afc1;--pink:#ff36a4;--cyan:#71e8ee}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:#f4f5f9;font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0 0 14px}h1{font-size:clamp(30px,3vw,42px);line-height:1.13;letter-spacing:-.04em}h2{font-size:22px;line-height:1.2}h3{font-size:17px}.top{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 32px;position:sticky;top:0;z-index:5;background:#08090cf5}.logo{font-size:24px;font-weight:850;letter-spacing:-1.5px;text-decoration:none}.logo span{color:var(--pink)}nav{display:flex;gap:24px;align-items:center;font-size:13px}.layout{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 76px)}aside{padding:28px 20px;border-right:1px solid var(--line)}.side-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}.side-head:not(:first-child){margin-top:36px}.eyebrow{color:var(--cyan);font-size:11px;font-weight:750;letter-spacing:.16em}.side-item{background:none;border:0;width:100%;color:#d4d9e5;text-align:left;padding:10px;border-radius:7px;margin:0 0 3px;overflow-wrap:anywhere}.side-item:hover,.side-item.active{background:#1b202c;color:white}.account{font-size:11px;color:var(--muted);margin-top:36px;overflow-wrap:anywhere}main{width:100%;max-width:1330px;padding:44px clamp(20px,4vw,60px);margin:auto;min-width:0}.welcome{max-width:760px;margin:50px auto;padding:20px}.welcome p,.intro{color:var(--muted);font-size:17px;max-width:750px}.welcome h1{font-size:clamp(36px,4.3vw,56px);margin:18px 0 26px}.steps{margin-top:55px;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.steps p{font-size:13px}.steps b{display:block;color:white;margin-bottom:7px}.primary,.button,.secondary{border:1px solid var(--line);border-radius:8px;padding:11px 17px;line-height:1.3;font-weight:650;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}.primary,.button{background:#f0f5fa;color:#090b10}.secondary{background:#161b25;color:#f1f3f8}.text-button{border:0;background:none;color:var(--cyan);font-size:12px;padding:6px}.primary:hover,.button:hover{background:var(--cyan)}.secondary:hover{border-color:var(--cyan)}label{display:grid;gap:8px;font-size:13px;font-weight:600}input,textarea,select{background:#0b0e15;color:#f4f5f9;border:1px solid #343c4d;border-radius:7px;width:100%;min-width:0;padding:11px 12px}input::placeholder,textarea::placeholder{color:#7c869a}textarea{resize:vertical;min-height:94px}input[type=file]{font-size:12px;padding:8px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--cyan)}form{display:grid;gap:22px;max-width:960px;margin-top:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.wide{grid-column:1/-1}.asset-field{background:var(--panel);border:1px solid var(--line);padding:18px;border-radius:12px}.asset-field p,.muted{font-size:12px;color:var(--muted);font-weight:400}.asset-field p{margin-top:9px}.product-photo{width:150px;height:150px;object-fit:contain;border-radius:8px;background:#07090f}audio{width:100%;max-width:440px;height:42px;margin-top:12px}.actions,.save-bar{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.actions{margin-top:6px}.project-top,.section-head{display:flex;justify-content:space-between;align-items:center;gap:18px}.project-top h1{font-size:32px}.project-top button{font-size:12px;flex-shrink:0}.context{border:1px solid var(--line);border-radius:10px;padding:14px 18px;margin:20px 0}.context summary{cursor:pointer;color:var(--muted);font-size:13px}.context p{margin-top:12px;font-size:13px;white-space:pre-wrap}.service{color:var(--muted);font-size:13px;background:#111722;padding:12px 15px;border-radius:7px}.narration{display:grid;grid-template-columns:1fr 1.2fr;gap:35px;padding:25px 0;border-bottom:1px solid var(--line)}.narration p,.section-head p{font-size:13px;color:var(--muted)}.narration button{margin:10px 0}.voice-ref{font-size:12px;color:var(--muted);margin:10px 0}.voice-ref audio{max-width:280px}.section-head{margin-top:35px}.section-head p{max-width:620px;margin-bottom:0}.section-head button{flex-shrink:0}.timeline{display:flex;gap:5px;overflow:auto;margin:22px 0}.time-block{background:#182d37;color:var(--cyan);border:1px solid #244b56;border-radius:5px;padding:9px 12px;min-width:65px;white-space:nowrap;font-size:12px}.scene-list{display:grid;gap:18px}.scene{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:20px;display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px}.scene-media{min-width:0}.scene video,.scene img{width:100%;max-height:310px;object-fit:contain;background:#07080b;border-radius:8px}.scene-placeholder{aspect-ratio:9/12;display:grid;place-content:center;text-align:center;background:#0b0e15;color:#7c869a;font-size:12px;border-radius:8px;padding:16px}.scene-head{display:flex;gap:8px;justify-content:space-between;align-items:center}.scene-head h3{margin:0}.scene-controls{display:flex;gap:5px}.scene label{margin-top:12px}.scene textarea{min-height:65px}.scene-row{display:grid;grid-template-columns:100px 100px 1fr;gap:10px}.scene-row label{font-size:11px}.scene-row input{padding:7px}.scene .text-button{padding:3px;font-size:11px}.scene .secondary,.scene .primary{font-size:12px;padding:9px 11px}.scene-status{font-size:12px;color:var(--cyan);margin:9px 0}.scene details{margin-top:16px;border-top:1px solid var(--line);padding-top:13px}.scene summary{font-size:12px;color:var(--muted);cursor:pointer}.version{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line);padding:10px 0;font-size:12px}.version:first-child{margin-top:8px}.version span{flex:1}.version.selected{color:var(--cyan)}.correction{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:14px}.correction label{font-size:12px}.correction input{font-size:12px}.check{display:flex;align-items:center;font-weight:400;font-size:13px}.save-bar{position:sticky;bottom:0;z-index:3;background:#0b0e15ed;border:1px solid var(--line);padding:16px;margin-top:20px;border-radius:9px}.save-bar .primary{margin-left:auto}.render{padding:18px;border:1px solid var(--line);border-radius:10px;margin:16px 0}.render video{display:block;width:100%;max-height:580px;background:#000;margin:15px 0;border-radius:8px}.render p{font-size:13px}.render-header{display:flex;justify-content:space-between;gap:12px;align-items:center}#notice{position:fixed;z-index:20;top:85px;right:20px;max-width:min(530px,calc(100vw - 40px));padding:16px 22px;background:#202b3d;color:white;border:1px solid #5f789e;border-radius:9px;box-shadow:0 12px 40px #0008}#notice[data-error=true]{border-color:#e97588;background:#351c25}.upload-label{margin-top:16px}.scene .inline-link{font-size:12px;color:var(--cyan)}@media(max-width:1000px){.layout{grid-template-columns:190px minmax(0,1fr)}main{padding:28px 22px}.scene{grid-template-columns:140px minmax(0,1fr);gap:15px}.project-top{align-items:flex-start;flex-direction:column}.narration{gap:22px}.scene-row{grid-template-columns:1fr 1fr}.scene-row label:last-child{grid-column:1/-1}}@media(max-width:720px){.top{padding:0 18px;height:66px}.logo{font-size:21px}nav{gap:12px;font-size:11px}.layout{display:block}aside{border-right:0;border-bottom:1px solid var(--line);padding:17px 20px;display:flex;flex-wrap:wrap;gap:8px}.side-head,.side-head:not(:first-child){margin:0;flex-basis:100%}.side-head .eyebrow{font-size:10px}#brands,#projects{display:flex;gap:6px;max-width:100%;overflow:auto}.side-item{white-space:nowrap;font-size:12px;max-width:210px;text-overflow:ellipsis;overflow:hidden}.account{display:none}main{padding:28px 18px}.form-grid,.narration{grid-template-columns:1fr}.welcome{margin:20px auto;padding:0}.steps{gap:15px}.project-top h1{font-size:29px}.scene{grid-template-columns:90px minmax(0,1fr);padding:13px;gap:12px}.scene-head{align-items:flex-start}.scene-controls{flex-wrap:wrap}.scene-row{gap:7px}.correction{grid-template-columns:1fr}.scene textarea{font-size:13px}.section-head{align-items:flex-start;flex-direction:column}.save-bar{padding:12px;gap:9px}.save-bar .primary{margin-left:0}.check{font-size:12px}.scene h3{font-size:14px}.scene-placeholder{aspect-ratio:9/16}.render-header{flex-wrap:wrap}.scene video,.scene img{max-height:160px}.asset-field{padding:14px}}

.reference-panel{padding:24px;margin:24px 0;border:1px solid var(--line,#dad9d3);border-radius:16px}.reference-panel details{margin:14px 0}.reference-panel li{margin:10px 0}.reference-panel textarea{width:100%}.reference-panel .actions{flex-wrap:wrap}.reference-panel p{overflow-wrap:anywhere}

#reference-preview{display:block;max-width:100%;width:280px;max-height:400px;margin:18px 0;background:#050608}#reference-preview[hidden]{display:none}

#store-form{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:14px}#store-status{margin:18px 0;color:var(--muted);overflow-wrap:anywhere}.store-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;max-width:960px}.store-product{display:flex;align-items:center;gap:12px;text-align:left;background:var(--panel);color:inherit;border:1px solid var(--line);border-radius:12px;padding:14px;overflow-wrap:anywhere}.store-product img{width:65px;height:65px;object-fit:contain;background:white;border-radius:6px}.store-product:hover{border-color:var(--cyan)}.store-photos{display:flex;gap:10px;flex-wrap:wrap}.store-photo{padding:4px;border:2px solid var(--line);background:var(--panel);border-radius:10px}.store-photo[aria-pressed=true]{border-color:var(--cyan)}.store-photo img{display:block;width:100px;height:100px;object-fit:contain;border-radius:6px;background:white}#brand-details .form-grid{margin-top:20px}@media(max-width:720px){#store-form{padding:16px}.store-products{grid-template-columns:1fr}.store-photo img{width:78px;height:78px}}
/* Clean studio: one decision surface at a time. */
:root{color-scheme:light;--bg:#f8f9fb;--panel:#fff;--line:#e5e9ed;--muted:#72808d;--pink:#0ca5b7;--cyan:#079caf}body{background:var(--bg);color:#182028}.top{height:76px;background:#f8f9bf00;border-bottom:0;padding:0 36px;position:relative}.logo{font-size:22px;letter-spacing:-1px}.logo span{color:#182028}.text-button{color:#697883}.layout{display:block;min-height:calc(100dvh - 76px)}#studio-library{position:fixed;top:76px;bottom:0;left:0;width:280px;z-index:12;overflow:auto;background:white;border-right:1px solid var(--line);box-shadow:14px 0 50px #1820280c;display:block;padding:28px 20px}main{max-width:1080px;padding:32px 40px;margin:0 auto}.side-item{color:#3c4a57}.side-item:hover,.side-item.active{background:#f0f7f9;color:#142027}input,textarea,select{background:white;color:#1b2731;border-color:#e0e6eb}input::placeholder,textarea::placeholder{color:#9ba7b2}.primary,.button{background:#132e38;color:white;border-color:#132e38}.primary:hover,.button:hover{background:#0d8191;color:white}.secondary{background:white;color:#455763;border-color:#e3e8ec}.secondary:hover{border-color:#9bced5}.eyebrow{color:#81939f;font-size:10px;letter-spacing:.14em}.context{background:white;border-color:var(--line)}.context summary{color:#536775}.service{background:#f0f4f7;color:#607682;font-size:12px}.scene{background:white}.scene-placeholder,.scene video,.scene img{background:#f0f3f5}.time-block{background:#eaf6f7;color:#277782;border-color:#d6eaed}.save-bar{background:#ffffffed;border-color:#e4e9ed}.version.selected{color:#05869a}.scene-status{color:#138798}.asset-field{background:white}.product-photo{background:#f5f7f9}#notice{background:#fff;color:#253b48;border-color:#bbd6df;box-shadow:0 8px 30px #22374412}#notice[data-error=true]{background:#fff4f4;color:#783d49;border-color:#ebc6cd}.reference-panel{background:white;padding:24px;margin:18px 0}.store-product{background:white;color:#273946}.store-photo{background:white}#store-form{background:white}#brand-panel,#create-panel{max-width:820px;margin:auto}.home-heading{text-align:center;margin:clamp(55px,12vh,145px) 0 clamp(55px,10vh,110px)}.home-heading h1{font-size:clamp(34px,4vw,48px);letter-spacing:-1.8px;font-weight:750;margin:16px 0}.home-heading p:not(.eyebrow){font-size:15px;color:#8b98a3}.create-home{max-width:860px;margin:auto}.idea-composer{max-width:none;margin:0;padding:23px 25px 17px;border:1px solid #e5e9ed;border-radius:25px;background:white;box-shadow:0 5px 24px #172f3e03;gap:13px}.idea-composer:focus-within{border-color:#c5dce1;box-shadow:0 5px 28px #088b9908}.idea-composer textarea{border:0;background:transparent;resize:none;padding:5px 3px;font-size:19px;line-height:1.6;min-height:135px;outline:none}.idea-composer textarea:focus-visible{outline:none}.composer-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-options{display:flex;flex-wrap:wrap;gap:8px}.composer-chip{display:inline-flex;align-items:center;gap:5px;padding:8px 11px;border:1px solid #e7ecef;border-radius:10px;background:white;color:#58717f;font-size:13px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-chip:hover{background:#f5fafb;border-color:#b7d8df}.send-idea{border:0;width:43px;height:43px;border-radius:50%;background:#119daf;color:white;font-size:29px;flex-shrink:0;line-height:1}.send-idea:hover{background:#087e91}.composer-hint{text-align:center;color:#9aa6b1;font-size:12px;margin:16px 0 24px}.starter-prompts{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.starter-prompts button{border:1px solid #e7ebef;border-radius:18px;background:transparent;padding:8px 13px;color:#82929e;font-size:12px}.home-brand{display:block;margin:25px auto}.attachment-chip{display:flex;gap:10px;align-items:center;max-width:100%;overflow-wrap:anywhere;padding:8px 12px;background:#f1f7f8;color:#537784;border-radius:8px;font-size:12px}.attachment-chip button{background:none;border:0;color:inherit;margin-left:auto}.creative-dialog{border:1px solid #e6ecef;border-radius:22px;padding:28px;max-width:720px;width:calc(100vw - 32px);color:#1d303c;box-shadow:0 25px 90px #17303c25}.creative-dialog::backdrop{background:#203c4e33;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.dialog-heading button{border:0;background:transparent;color:#7f919d;font-size:25px}.creative-dialog>p{color:#7d8e99;font-size:14px}.creative-dialog>.primary{margin-top:24px}.format-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.format-card{border:1px solid #e3e9ed;border-radius:13px;padding:16px;background:white;text-align:left;color:#273f4c;display:flex;flex-direction:column;gap:9px}.format-card small{font-size:12px;font-weight:400;line-height:1.5;color:#80909a}.format-art{display:grid;place-items:center;height:86px;width:100%;font-size:41px;border-radius:8px;background:#f3f7f8;color:#87acbb}.format-skeleton .format-art{background:#f6f1e9;color:#b9a382}.format-explainer .format-art{background:#e6f6ff;color:#5dafd2}.format-card[aria-pressed=true],.look-chip[aria-pressed=true]{border-color:#21a3b3;background:#f4fbfc;box-shadow:0 0 0 1px #21a3b3}.look-options{display:flex;gap:10px;flex-wrap:wrap}.look-chip{background:white;border:1px solid #e2e9ed;border-radius:10px;padding:10px 15px;color:#4a6575;font-size:13px}.look-clay{background:#fbf4ee}.picker-products{display:grid;gap:10px;max-height:320px;overflow:auto}.product-choice{display:grid;gap:6px;text-align:left;background:#f9fbfc;border:1px solid #e3e9ec;border-radius:10px;padding:14px;color:#355363}.product-choice small{color:#8999a4;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.project-conversation{margin:28px 0}.idea-message{background:white;border:1px solid var(--line);padding:19px 22px;border-radius:17px 17px 3px 17px;margin-left:auto;max-width:730px;white-space:pre-wrap}.direction-message{font-size:13px;color:#738a96;margin:14px 0}.workflow-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.workflow-tabs button{background:transparent;border:1px solid transparent;border-radius:9px;padding:10px 16px;color:#82949f;font-size:13px}.workflow-tabs button[aria-pressed=true]{background:white;color:#168999;border-color:#e0eaee}.step-intro{font-size:14px;color:#7f919d;margin-top:25px}.project-top h1{max-width:720px;overflow-wrap:anywhere;font-size:27px}.project-top .secondary{font-size:11px}.narration{border:0}.on-home main{max-width:1080px}.on-home .top{border:0}
@media(max-width:720px){.top{padding:0 18px;height:66px}.top nav{gap:8px}.top .secondary{font-size:11px;padding:8px 10px}.top .text-button{font-size:11px}#studio-home{display:none}main{padding:22px 18px}.home-heading{margin:65px 0 58px}.home-heading h1{letter-spacing:-1.2px}.home-heading p:not(.eyebrow){font-size:13px}.idea-composer{padding:16px;border-radius:20px}.idea-composer textarea{font-size:16px;min-height:130px}.composer-chip{font-size:11px;padding:7px 9px;max-width:175px}.composer-options{gap:6px}.composer-tools{align-items:flex-end}.send-idea{width:37px;height:37px;font-size:26px}.creative-dialog{padding:20px}.format-options{grid-template-columns:1fr}.format-card{display:grid;grid-template-columns:55px 1fr;gap:6px 12px}.format-card .format-art{grid-row:span 2;height:55px;font-size:30px}.format-card small{grid-column:2}.workflow-tabs{gap:2px}.workflow-tabs button{padding:9px 10px;font-size:12px}#studio-library{top:66px;width:280px}.project-top h1{font-size:24px}.idea-message{margin-left:15px}.reference-panel{padding:17px}.composer-hint{font-size:11px}.starter-prompts{gap:8px}}

.chat-editor{margin:24px 0 32px;padding:20px;border:1px solid #e6eaed;border-radius:24px;background:#fff}.chat-history{max-height:260px;overflow:auto;display:flex;flex-direction:column;gap:8px}.chat-message{white-space:pre-wrap;margin:0;line-height:1.5;max-width:90%;font-size:14px}.chat-message.user{align-self:flex-end;background:#eff8fa;padding:10px 14px;border-radius:16px}.chat-message.assistant{padding:8px 0}.chat-message.detail{color:#66747b;font-size:13px}.chat-editor form{display:flex;align-items:center;gap:14px;margin-top:16px}.chat-editor textarea{flex:1;min-height:66px;resize:vertical;border:0;background:#f7f9fa;border-radius:16px}.chat-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;color:#78858c}.chat-footer small{font-size:12px}@media(max-width:600px){.chat-editor{padding:14px}.chat-footer{align-items:flex-start;flex-direction:column;gap:4px}.chat-message{max-width:100%}}

.production-panel{padding:20px;margin:16px 0;border:1px solid #e7e9ec;border-radius:18px;background:#fff}.production-panel p{color:#48535f}.production-panel video{display:block;max-height:65vh;max-width:100%;margin:16px auto;border-radius:12px}.production-panel video[hidden]{display:none}

/* The conversation is the default workspace. Manual controls are opt-in. */
#project-panel{max-width:800px;margin:0 auto}.project-top{margin:12px 0 32px}.project-top h1{font-size:19px;letter-spacing:-.4px;font-weight:600;margin:0;color:#677985}.project-top .eyebrow{font-size:11px;margin-bottom:7px}.project-conversation{margin:20px 0}.direction-message{font-size:11px;text-align:right;margin:8px 4px;color:#93a0a9}.idea-message{font-size:15px;max-width:85%;background:#edf2f4;border:0;padding:16px 20px}.chat-editor{border:0;background:transparent;padding:0;margin:0;display:flex;flex-direction:column;min-height:45vh}.chat-history{max-height:none;overflow:visible;gap:18px;padding:0 0 22px}.chat-message{font-size:15px;line-height:1.75}.chat-message.user{background:#edf2f4;max-width:85%;padding:14px 18px}.chat-message.assistant{max-width:100%}.chat-message.detail{font-size:12px;color:#81909a}.chat-script{padding:26px 28px;background:white;border:1px solid #e7ebef;border-radius:18px;margin:4px 0 24px}.chat-script #chat-script-text{white-space:pre-wrap;font-size:16px;line-height:1.85;margin:0}.chat-script .eyebrow{margin-bottom:16px}.chat-composer{position:sticky;bottom:0;z-index:4;background:var(--bg);padding:18px 0 12px;margin-top:auto}.chat-editor #chat-form{margin:0;padding:15px 18px 4px;border:1px solid #e4e9ed;border-bottom:0;border-radius:22px 22px 0 0;background:#fff;max-width:none;align-items:flex-end;gap:12px}.chat-editor textarea{background:white;min-height:66px;padding:8px 0;font-size:16px;resize:vertical;max-height:240px;outline:none}.chat-editor #chat-form:focus-within{border-color:#c7dce1}.chat-tools{display:flex;align-items:center;gap:10px;padding:8px 18px 14px;background:white;border:1px solid #e4e9ed;border-top:0;border-radius:0 0 22px 22px}.chat-tools .composer-chip{border:0;font-size:12px;padding:6px 2px}.chat-tools .text-button{font-size:11px;color:#89969f}.chat-tools #chat-recover{margin-left:auto}.chat-footer{justify-content:center;margin:8px 0 0;min-height:18px}.chat-footer small{font-size:11px;color:#96a1aa}.production-panel{border:0;background:transparent;border-radius:0;padding:0;margin:0 0 22px}.production-panel p{font-size:13px;color:#71828e}.production-panel video{max-height:60vh;margin:18px 0;max-width:100%;border-radius:18px}.production-panel>.text-button{display:inline-block;padding-left:0}.production-panel>.primary{font-size:13px;border-radius:12px}.detail-heading{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.detail-heading h2{font-size:19px;margin:0}#project-details{border-top:1px solid var(--line);scroll-margin-top:25px}#reference-dialog .reference-panel{padding:0;border:0;margin:20px 0 0}#reference-heading{display:none}#reference-dialog{max-width:680px;max-height:88dvh;overflow:auto}
@media(max-width:720px){#studio-home{display:inline-block}.top .logo{font-size:19px}.top{padding:0 14px}.top nav{gap:4px}#sign-out{font-size:10px}.project-top{margin:6px 0 22px}.project-top h1{font-size:16px}.chat-script{padding:20px}.chat-script #chat-script-text{font-size:15px;line-height:1.75}.chat-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.chat-editor #chat-form{padding:10px 14px 0}.chat-tools{padding:8px 14px 12px;gap:10px;flex-wrap:wrap}.chat-footer{align-items:center}.chat-message{max-width:100%;font-size:14px}.production-panel video{max-height:55vh}.chat-editor textarea{font-size:16px}.chat-editor .send-idea{width:36px;height:36px;margin-bottom:6px}}

.chat-working{display:flex;gap:10px;align-items:center}.chat-working:before{content:"";width:8px;height:8px;border-radius:50%;background:#1498a7;animation:chat-breathe 1.3s ease-in-out infinite;flex-shrink:0}@keyframes chat-breathe{50%{opacity:.3;transform:scale(.8)}}@media(prefers-reduced-motion:reduce){.chat-working:before{animation:none}}

/* Quieter conversation: one reading column and a compact composer. */
#project-panel{max-width:760px}.project-top{margin:16px 0 28px}.project-top .eyebrow{font-size:12px;letter-spacing:.03em;text-transform:none;color:#849098;margin-bottom:4px}.project-top h1{font-size:15px;font-weight:500}.direction-message{display:none}.project-conversation{margin:18px 0}.chat-editor{min-height:calc(100dvh - 250px)}.chat-history{gap:20px;padding-bottom:24px}.chat-message{font-size:16px;line-height:1.75;letter-spacing:-.12px}.chat-message.assistant{padding:4px 0;color:#35434c}.chat-message.user,.idea-message{background:#edf0f2;border:0;border-radius:20px 20px 5px 20px;font-size:15px;padding:12px 18px;max-width:86%}.chat-script{border:0;border-left:2px solid #dce6e9;background:transparent;border-radius:0;padding:2px 0 2px 24px;margin:-4px 0 14px 2px}.chat-script .eyebrow{font-size:12px;font-weight:500;text-transform:none;letter-spacing:0;color:#93a1aa;margin-bottom:12px}.chat-script #chat-script-text{font-size:17px;line-height:1.9;color:#26343c;max-width:650px}.chat-message.detail{font-size:12px;line-height:1.6;color:#89969e}.chat-composer{padding:14px 0 12px;min-width:0}.chat-editor #chat-form{padding:14px 17px 2px;border-radius:20px 20px 0 0;gap:16px}.chat-editor textarea{min-height:30px;height:auto;padding:5px 0;font-size:16px;line-height:1.55;resize:none;border-radius:0}.chat-editor .send-idea{width:34px;height:34px;font-size:24px;background:#273f49;margin-bottom:4px}.chat-editor .send-idea:hover{background:#167d8a}.chat-editor .send-idea:disabled{opacity:.28}.chat-tools{padding:4px 17px 12px;border-radius:0 0 20px 20px}.chat-tools .composer-chip,.chat-tools .text-button{font-size:11px;color:#8c99a1}.chat-tools .composer-chip:hover,.chat-tools .text-button:hover{color:#284b5a;background:none}.chat-footer:has(small:empty){display:none}.production-panel{margin-bottom:12px}.production-panel p{font-size:12px;color:#8b979f;line-height:1.6}.production-panel video{max-height:60vh}.chat-working{margin-top:4px!important}
@media(max-width:720px){.chat-editor{min-height:calc(100dvh - 215px)}.chat-script{padding-left:18px}.chat-script #chat-script-text{font-size:16px;line-height:1.8}.chat-message{font-size:15px}.chat-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}.chat-editor textarea{font-size:16px}.project-top{margin-top:8px}.chat-tools{gap:14px}.chat-editor .send-idea{width:32px;height:32px}}

.style-menu{width:min(340px,calc(100vw - 32px));padding:18px;border-radius:16px;box-shadow:0 16px 55px #152a3518}.style-menu::backdrop{background:#192c3810;backdrop-filter:none}.style-menu .dialog-heading h2{font-size:16px;margin:0}.style-menu .dialog-heading button{width:28px;height:28px;padding:0;font-size:21px;border-radius:6px}.style-menu .format-options{display:grid;grid-template-columns:1fr;gap:3px;margin:14px 0 18px}.style-menu .format-card{display:flex;flex-direction:row;align-items:center;gap:10px;padding:9px 11px;border:0;background:transparent;border-radius:8px;box-shadow:none}.style-menu .format-card strong{font-size:13px;font-weight:500}.style-menu .format-card[aria-pressed=true]{background:#eef3f5;box-shadow:none;color:#233e4a}.style-menu .format-card[aria-pressed=true]:after{content:'✓';margin-left:auto;font-size:13px}.style-menu h3{font-size:11px;color:#8a98a1;font-weight:500;margin:0 0 8px}.style-menu .look-options{gap:5px}.style-menu .look-chip{font-size:11px;padding:7px 9px;border-radius:7px;background:#fff;box-shadow:none}.style-menu .look-chip strong{font-weight:500}.style-menu .look-chip[aria-pressed=true]{background:#edf3f5;border-color:#d4e0e5;color:#274652;box-shadow:none}.style-menu #style-done{display:block;margin:16px 0 0 auto;font-size:12px;color:#405c69}.chat-streaming{margin:0}.chat-streaming .stream-script{border-left:2px solid #dce6e9;padding-left:24px;white-space:pre-wrap;font-size:17px;line-height:1.9;color:#26343c;margin:14px 0}.chat-streaming p:last-child:after{content:'▍';font-size:14px;color:#8a9aa2}.chat-streaming .assistant{white-space:pre-wrap}

.reference-inline{margin:0 0 18px;padding:12px 0;border:0;background:transparent;font-size:13px}.reference-name{display:inline-block;max-width:100%;overflow-wrap:anywhere;color:#536b77;background:#eef2f4;border-radius:8px;padding:5px 9px;font-size:12px}.reference-inline p{font-size:13px;line-height:1.6;color:#73848e;margin:8px 0 0}.reference-inline #reference-result{max-width:650px;color:#425762}.reference-inline .text-button{padding:6px 0;margin-top:3px}

/* One input leads the experience. Context stays secondary. */
:root{--bg:#fff;--muted:#77818a}body{background:#fff}.top{height:72px;padding:0 32px;background:white}.top nav{gap:20px}.top .text-button{font-size:13px}.top .logo{font-size:21px;font-weight:700}.on-home #studio-home{display:none}.on-home main{padding-top:0}.create-home{max-width:680px;padding-top:clamp(65px,21vh,230px)}.home-heading{margin:0 0 32px}.home-heading h1{font-size:clamp(27px,3.4vw,38px);font-weight:550;letter-spacing:-1.25px;line-height:1.2;margin:0}.idea-composer{padding:8px 10px;border-radius:30px;border-color:#e0e3e7;gap:0;box-shadow:0 2px 8px #20304005}.idea-composer:hover{box-shadow:0 3px 12px #2030400b}.idea-composer:focus-within,.idea-composer.dragging{border-color:#bdcbd2;box-shadow:0 3px 12px #2030400b}.search-row{display:flex;gap:12px;align-items:center}.idea-composer textarea{min-height:38px;height:38px;max-height:170px;padding:6px 0;font-size:16px;line-height:26px;border-radius:0;letter-spacing:0}.idea-composer textarea::placeholder{color:#879199}.attach-button{width:36px;height:36px;flex-shrink:0;padding:0;border:0;background:transparent;color:#839099;font-size:26px;font-weight:300;line-height:1;border-radius:50%}.attach-button:hover{color:#263b46;background:#f3f5f6}.send-idea{width:38px;height:38px;font-size:25px;background:#253943}.send-idea:hover{background:#42616f}.idea-composer .attachment-chip{margin:4px 42px 8px;padding:5px 9px;font-size:12px;background:#f3f5f6}.home-context{display:flex;justify-content:center;align-items:center;gap:12px;min-height:42px}.home-context>.text-button{font-size:12px;color:#8a959b;padding:6px 2px;max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quiet-options{position:relative;flex-shrink:0}.quiet-options summary{display:grid;place-content:center;width:30px;height:30px;border-radius:50%;font-size:18px;letter-spacing:1px;list-style:none;cursor:pointer;color:#94a0a6;user-select:none}.quiet-options summary::-webkit-details-marker{display:none}.quiet-options summary:hover,.quiet-options[open]>summary{background:#f1f4f5;color:#40535e}.quiet-options summary:focus-visible{outline:2px solid #7297a7;outline-offset:2px}.options-menu{position:absolute;right:0;top:36px;z-index:8;min-width:190px;padding:5px;border:1px solid #e7ebee;border-radius:12px;background:white;box-shadow:0 8px 24px #20304010}.options-menu button{display:block;width:100%;border:0;padding:10px 12px;text-align:left;white-space:nowrap;border-radius:7px;background:white;color:#596873;font-size:12px}.options-menu button:hover{background:#f3f6f7}.home-status{text-align:center;font-size:14px;color:#74828b;line-height:1.6;margin:14px 12px}.inline-choice{max-width:500px;margin:18px auto 0;padding:18px 20px;border:1px solid #e9ecef;border-radius:16px;background:white}.inline-choice .dialog-heading h2{font-size:15px;font-weight:500;letter-spacing:0;margin:0 0 12px}.inline-choice .dialog-heading button{font-size:22px}.inline-choice .product-choice{display:flex;align-items:center;gap:12px;background:#f8f9fa;border:0;padding:12px;border-radius:10px;font-size:13px}.inline-choice .product-choice:hover{background:#eef2f4}.product-choice img{width:44px;height:44px;object-fit:contain;border-radius:6px}.inline-choice>.text-button{font-size:12px;margin-top:10px;padding-left:0;margin-right:16px}.on-home .home-brand{display:none}.chat-editor #chat-form{padding:10px;border:1px solid #e0e3e7;border-radius:28px;align-items:center;gap:12px;box-shadow:0 2px 8px #20304005}.chat-editor textarea{min-height:32px;padding:3px 0}.chat-editor .send-idea{margin:0;width:36px;height:36px;flex-shrink:0}.chat-editor #chat-form .quiet-options{margin-right:-6px}.chat-editor .options-menu{top:auto;bottom:40px}.chat-tools{padding:0;border:0;border-radius:0;justify-content:flex-end}.chat-tools:has(>button[hidden]){display:none}.chat-composer{background:white}.chat-message.user,.idea-message{background:#f3f4f5}.project-top .eyebrow{color:#a0a9af}.chat-footer small{color:#798791}#sign-out{margin-top:14px}#studio-library .account{margin-bottom:0}.on-home .quiet-options{opacity:.8}
@media(max-width:720px){.top{height:64px;padding:0 20px}.top .logo{font-size:19px}.top nav{gap:16px}.top .text-button{font-size:12px}.create-home{padding-top:19vh}.home-heading{margin-bottom:25px}.home-heading h1{font-size:28px;letter-spacing:-.8px}.on-home main{padding-left:18px;padding-right:18px}.search-row{gap:6px}.idea-composer{padding:7px;border-radius:27px}.idea-composer textarea{font-size:16px}.attach-button{width:30px;height:34px}.send-idea{width:34px;height:34px}.home-context{min-height:40px}.chat-editor #chat-form{gap:8px;padding:9px}.chat-editor #chat-form .quiet-options{margin-right:-4px}.chat-editor .send-idea{width:32px;height:32px}.chat-editor .attach-button{width:28px}.options-menu{min-width:180px}.inline-choice{padding:16px}.chat-composer{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}

/* The first step names the action outside the editable field. */
.home-input-label{display:block;font-size:14px;font-weight:500;color:#53636d;margin:0 0 10px 14px}.needs-product .idea-composer{border-radius:28px;padding-left:18px}.needs-product .send-idea{width:auto;min-width:108px;padding:0 18px;height:40px;border-radius:21px;font-size:14px;font-weight:550}.needs-product .search-row{gap:14px}.needs-product .home-context{min-height:0}.needs-product .idea-composer textarea::placeholder{color:#929ba2}@media(max-width:480px){.home-input-label{font-size:13px;margin-left:12px}.needs-product .idea-composer{padding-left:15px}.needs-product .send-idea{min-width:94px;padding:0 13px;font-size:13px;height:38px}.needs-product .search-row{gap:8px}}

.script-variants{display:grid;gap:18px;margin:4px 0 22px}.script-variant{background:white;border:1px solid #dce6e9;border-radius:16px;padding:22px}.script-variant h3{margin:0 0 8px;font-size:18px}.script-variant-angle{color:#71828e;font-size:13px;line-height:1.5;margin:0 0 16px}.script-variant-copy{white-space:pre-wrap;font-size:16px;line-height:1.8;color:#26343c}.script-variant button{margin-top:12px}.script-variant button:disabled{opacity:.5}@media(max-width:720px){.script-variant{padding:18px}.script-variant-copy{font-size:15px}}
