/* Approved guided-creation direction; result and inquiry layouts retain studio.css. */
:root{--page:#0c1311;--surface:#171e1b;--accent:#ff692f;--text:#f4f5f1;--muted:#b7c0bb}
.studio-header{min-height:64px;padding-inline:max(32px,calc((100vw - 1268px)/2));gap:40px;border-bottom-color:var(--line)}
.brand img{width:180px}.studio-header nav{gap:32px;padding-left:30px}.nav-item{font-size:15px}.nav-item.is-active{color:var(--accent)}
.button--primary{background:var(--accent)}.header-session .button{font-size:13px}
main{max-width:1268px;width:calc(100% - 176px);margin-inline:auto;padding-top:32px;padding-bottom:0}
.studio-footer{max-width:1268px;width:calc(100% - 176px);margin-inline:auto;font-size:12px;padding-block:26px}
.creation-progress{max-width:930px;margin:0 auto 26px}.creation-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0}
.creation-progress li{position:relative}.creation-progress li:not(:last-child):after{content:'';height:1px;background:var(--line);position:absolute;left:calc(50% + 30px);right:calc(-50% + 30px);top:23px}
.creation-progress li:has(.is-complete):after{background:var(--accent)}
.creation-progress button{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:76px;width:100%;padding:8px 0;border:0;color:var(--muted);background:none;font-size:16px;font-weight:500}
.creation-progress button:disabled{opacity:1;cursor:default}.step-marker{display:grid;place-items:center;width:26px;height:26px;border:2px solid #6c7771;border-radius:50%;font-size:12px}.step-marker .ph{display:none}.is-current .step-marker{border-color:var(--accent)}.creation-progress .is-current{color:var(--accent)}
.is-complete .step-marker{border:0;color:#c7e6df}.is-complete .step-marker .ph{display:block;font-size:28px}.is-complete .step-number{display:none}.creation-progress .is-complete{color:#c7e6df}
.guided-layout{display:grid;grid-template-columns:minmax(0,1.88fr) minmax(300px,1fr);gap:40px}
.guided-intro{position:relative;margin-bottom:28px}.guided-intro .eyebrow{font-size:13px;letter-spacing:.14em;color:var(--accent)!important;margin:0 0 18px}
.guided-intro h1{font-size:60px;font-weight:800;letter-spacing:-.045em;line-height:1.08;text-wrap:initial;max-width:none}.guided-intro #create-title-start{color:var(--text)}.guided-intro>p:last-of-type{font-size:22px;color:var(--muted);line-height:1.5;margin-top:16px;max-width:45ch}
.guided-back{position:absolute;top:0;right:calc(-100% / 1.88 - 40px);display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:14px;min-height:30px}
.guided-create .brief-section{border:0;padding:0;margin:0 0 32px}.guided-create .brief-section h2{font-size:23px;line-height:1.3;margin-bottom:12px}.guided-create .section-help{font-size:15px;line-height:1.55;margin:8px 0 20px}
.guided-create .kind-options{max-width:440px}.guided-create .kind-option{min-height:48px;font-size:15px}.guided-create .reference-inputs{gap:20px}.guided-create .reference-tile{padding:20px}.guided-create .reference-tile-content{min-height:126px;flex-direction:column;align-items:flex-start}.guided-create .reference-tile h3{font-size:16px;margin-bottom:14px}.guided-create .reference-content p{font-size:13px}.guided-create .upload-label{font-size:13px;min-height:44px;padding:9px 12px}.guided-create .reference-thumb{width:76px;height:86px}.guided-create .reference-actions p{font-size:13px}.guided-create .identity-details{margin-top:22px}.guided-create .identity-details summary{padding:16px}.guided-create .identity-details strong{font-size:14px}.guided-create .identity-details small{font-size:12px}
.guided-create .scene-section{margin-top:0;margin-bottom:32px}.scene-input{position:relative}.guided-create #scene{height:174px;min-height:174px;padding:18px 18px 35px;font-size:18px;line-height:1.6;display:block}.guided-create .character-count{position:absolute;bottom:13px;right:16px;font-size:12px}.scene-guidance{font-size:14px;color:var(--muted);margin-top:10px}.guided-create #dialogue-group{margin-top:28px}.guided-create input,.guided-create select{font-size:15px;min-height:50px}.guided-create label{font-size:14px;font-weight:600;margin-bottom:12px}.guided-create .field-help{font-size:13px}.guided-create .settings-grid{gap:28px}.guided-create [aria-labelledby="model-title"]>h2,.guided-create [aria-labelledby="model-title"]>.section-help{display:none}
.guided-create #advanced{max-width:none;margin-top:32px;border-top:1px solid var(--line);padding-top:20px}.guided-create #advanced>summary{border:0;padding:12px 0;justify-content:flex-start;font-size:16px;gap:12px;text-decoration:none}.guided-create #advanced textarea{font-size:14px}.guided-create #advanced .advanced-content label:not(:first-child){margin-top:20px}
.guided-create .preview-column{padding-left:44px;border-left:1px solid var(--line);padding-top:36px}.guided-create .preview-sticky{position:static}.guided-create .preview-column h2{font-size:26px;margin:0;line-height:1.25}.guided-create .preview-column .section-help{font-size:15px;margin:8px 0 20px}.guided-create .preview-frame{max-width:none;width:100%;aspect-ratio:6/7;margin:0;position:relative}.guided-create .preview-frame>img{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;object-position:center}.guided-create .preview-empty{min-height:0;height:100%;padding:28px 20px}.guided-create .preview-empty p{font-size:14px}.guided-create .preview-caption{max-width:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:12px;font-size:14px}.guided-create .preview-caption strong{flex:1}.guided-create #preview-filename{flex-basis:100%;font-size:12px}.guided-create #change-reference{font-size:14px;color:var(--accent)}
.reference-summary{margin-top:18px}.reference-summary>div{border-top:1px solid var(--line);padding:17px 0;display:flex;align-items:center;gap:16px}.reference-summary .ph{font-size:25px}.reference-summary p{font-size:14px;line-height:1.5}.reference-summary strong,.reference-summary span{display:block}.reference-summary span{color:var(--muted);font-size:13px}
[data-guided-step="1"] .reference-summary,[data-guided-step="1"] #change-reference,[data-guided-step="2"] #preview-filename,[data-guided-step="3"] #preview-filename{display:none}
.guided-actionbar{display:grid;grid-template-columns:1.15fr 1fr 1.2fr;align-items:center;gap:32px;border-top:1px solid var(--line);margin-top:30px;padding:24px 0}
.action-format,.action-cost{display:flex;align-items:center;gap:24px}.action-format>.ph,.action-cost>.ph{font-size:32px}.action-format p,.action-cost p{font-size:15px;line-height:1.5}.action-format strong,.action-format span,.action-cost strong,.action-cost span{display:block}.action-format strong{font-weight:500}.action-format span{color:var(--muted);font-size:12px}.action-cost{border-left:1px solid var(--line);padding-left:40px}.action-cost strong{font-size:21px;font-weight:700}.action-cost #summary-cost{font-size:21px}.guided-primary{justify-self:end;width:100%;max-width:310px;text-align:center}.guided-primary .button{width:100%;min-height:54px;font-size:16px}.guided-primary>p{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.45}
.guided-notes{display:flex;align-items:center;gap:24px;margin:0 0 16px}.guided-notes .session-note{margin:0;border:0;background:none;padding:0;min-width:220px}.guided-notes .session-note:has(#connect-preview[hidden]){display:none}.guided-notes .operation-status{margin:0;font-size:13px;max-width:78ch}.guided-notes #connect-preview{min-height:36px}
.guided-create .review-panel{margin:0;border:0;background:none;padding:0}.guided-create .review-panel>h2{font-size:23px}.review-brief{margin:28px 0}.review-brief h3{font-size:14px;color:var(--muted);margin-top:24px}.review-brief p{font-size:18px;white-space:pre-wrap;overflow-wrap:anywhere}.review-text{border-block:1px solid var(--line);padding:18px 0}.review-text summary{cursor:pointer}.review-text pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.65 var(--font);color:var(--muted);max-height:320px;overflow:auto}.guided-create #generation-gate{font-size:15px;line-height:1.6}
@media(max-width:1200px){main,.studio-footer{width:calc(100% - 64px)}.guided-layout{gap:28px;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}.guided-create .preview-column{padding-left:28px}.guided-intro h1{font-size:46px}.guided-intro>p:last-of-type{font-size:18px}.guided-back{right:calc(-100% / 1.7 - 28px)}.action-cost{padding-left:24px}.guided-actionbar{gap:24px}}
@media(max-width:900px){.studio-header{gap:24px}.studio-header nav{gap:20px;padding-left:20px}.header-session{gap:12px}.session-symbol{display:none}.guided-layout{grid-template-columns:minmax(0,1fr) minmax(240px,.75fr);gap:24px}.guided-intro h1{font-size:40px}.guided-intro>p:last-of-type{font-size:17px}.guided-back{position:static;margin-top:16px}.guided-create .preview-column{padding-left:24px;padding-top:40px}.guided-create .reference-inputs,.guided-create .settings-grid{grid-template-columns:1fr;gap:20px}.guided-create .reference-tile-content{flex-direction:row;min-height:0}.guided-actionbar{grid-template-columns:1fr 1fr}.guided-primary{grid-column:1/-1;max-width:none}.action-cost{border:0;justify-self:end}.guided-create .scene-section{margin-bottom:28px}}
@media(max-width:760px){.studio-header{padding:18px 20px 0;gap:16px}.studio-header nav{padding-left:0;gap:28px}.brand img{width:164px}.nav-item{font-size:14px}.header-session .button{min-height:44px;font-size:12px}main,.studio-footer{width:calc(100% - 40px);margin-inline:auto}main{padding-top:22px}.creation-progress{margin-bottom:28px}.creation-progress button{font-size:13px;gap:8px;min-height:70px}.creation-progress li:not(:last-child):after{left:calc(50% + 22px);right:calc(-50% + 22px)}.step-marker{width:25px;height:25px}.guided-layout{display:flex;flex-direction:column;gap:26px}.guided-intro{margin-bottom:32px}.guided-intro .eyebrow{font-size:11px;margin-bottom:14px}.guided-intro h1{font-size:38px;max-width:17ch}.guided-intro>p:last-of-type{font-size:16px;margin-top:14px}.guided-back{font-size:13px;margin-top:16px;min-height:36px}.guided-create .brief-section h2{font-size:21px}.guided-create .reference-inputs{grid-template-columns:1fr}.guided-create .reference-tile{padding:18px}.guided-create .reference-tile-content{flex-wrap:nowrap}.guided-create .reference-content{width:auto}.guided-create .preview-column{padding:24px 0 0;border-left:0;border-top:1px solid var(--line)}.guided-create .preview-column h2{font-size:23px}.guided-create .preview-frame{max-width:340px;margin-inline:auto;aspect-ratio:6/7}.guided-create .preview-caption,.reference-summary{max-width:340px;margin-inline:auto}.reference-summary{margin-top:18px}.guided-create .settings-grid{gap:22px}.guided-create #scene{font-size:16px;min-height:180px}.guided-create #advanced{margin-top:30px}.guided-create .kind-options{gap:12px}.guided-actionbar{gap:20px 12px;padding:22px 0}.action-format,.action-cost{gap:12px}.action-format>.ph,.action-cost>.ph{font-size:24px}.action-format p,.action-cost p{font-size:13px}.action-cost{padding-left:0}.action-cost #summary-cost{font-size:18px}.action-format span{font-size:10px}.guided-primary .button{min-height:54px}.guided-notes{align-items:flex-start;flex-direction:column;gap:12px}.guided-notes .session-note{min-width:0}.guided-notes .operation-status{font-size:12px}.studio-footer{font-size:11px}}
@media(max-width:760px){main:has(.guided-create:not([hidden])){padding-bottom:190px}.guided-create .guided-actionbar{position:fixed;inset:auto 0 0;z-index:3;margin:0;padding:16px 20px;background:var(--page);gap:12px 16px;border-top:1px solid #46514b}.guided-primary>p{font-size:11px;margin-top:6px}.guided-back,.guided-create #change-reference{min-height:44px}}
@media(max-width:360px){.brand img{width:140px}.studio-header{padding-inline:16px;gap:12px}main,.studio-footer{width:calc(100% - 32px)}.guided-intro h1{font-size:34px}.action-format>.ph{display:none}}
