/* PayProof-style working surface: navigation rail, compact metrics, one fixed screen. */
:root{--bg:#07121f;--panel:#0c1b2b;--text:#edf6ff;--muted:#a4b8ca;--line:#254155;--accent:#73e0ed;--warm:#d3b0f4}
html,body{height:100%;margin:0}body{height:100dvh;display:grid;grid-template-rows:68px minmax(0,1fr);background:radial-gradient(ellipse at 70% 0,#15304a,transparent 65%),var(--bg);font-size:16px}
button,input,textarea,select{font:inherit}button{min-height:38px;padding:9px 14px;border-radius:8px;line-height:1.2}input,textarea,select{min-height:36px;padding:8px 11px;font-size:15px}textarea{resize:none}button.secondary,.quiet{background:#172c3d;color:#d8eff8;border:1px solid #31566c}h1,h2,h3{font-family:inherit;letter-spacing:0}h2{font-size:22px}h3{font-size:18px}p{line-height:1.45}.caption,small{font-size:14px;line-height:1.45}.subtle,.card-kind{font-size:12px;letter-spacing:1px;color:#93c9de}
.app-header{height:auto;padding:10px 22px;gap:22px;border-bottom:1px solid #2c4c65;background:#081726;min-width:0}.brand{font-size:27px}.brand-mark{background:#183d55;color:#70e2ed}.project-header{gap:10px;flex:1;min-width:0}.project-header select{min-width:0;max-width:230px;font-size:15px}.breadcrumb,.edition-label{display:none}.project-save{display:flex;align-items:center;gap:10px;min-width:0;max-width:470px}.project-save>input{width:200px}.project-save .row{margin:0;flex-wrap:nowrap}.project-save small{display:none}.credit-strip{margin:0;gap:10px;flex-wrap:nowrap;font-size:13px}.free-badge{padding:7px 12px;background:#163f3b;border-color:#376d62;color:#bcf4d7;white-space:nowrap;font-size:13px}.credit-lock{color:#d2b8f0;white-space:nowrap}
main{margin:0;padding:14px 18px 10px 0;width:100%;max-width:none;min-width:0;min-height:0;display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:88px minmax(0,1fr) auto;gap:14px 18px}
.app-rail{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;gap:10px;padding:12px;border-right:1px solid #28465b;min-height:0}.app-rail button{display:flex;align-items:center;gap:13px;text-align:left;background:transparent;color:#9eb6ca;border:1px solid transparent;min-height:57px;padding:12px;font-size:16px}.app-rail button>span{font-size:25px;width:28px;text-align:center}.app-rail button>b{font-size:inherit;font-weight:500;background:none;padding:0}.app-rail button[aria-selected=true]{color:#cefbff;background:linear-gradient(100deg,#15465a,#132e42);border-color:#367187;box-shadow:inset 3px 0 #72e7ee}
.project-overview{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;min-height:0}.overview-card{padding:12px 15px;grid-template-rows:16px 28px 16px;gap:3px;background:linear-gradient(125deg,#132e42,#0e2031);border-radius:10px;border-color:#254c64;border-left-width:3px}.overview-card strong{font-size:26px;line-height:1.05}.overview-card>span:not(.metric-icon){font-size:12px;line-height:1.2}.overview-card .metric-label{font-size:11px!important}.overview-card .metric-icon{font-size:32px}.metric-track{position:absolute;bottom:0;left:0;width:100%;margin:0;height:3px}
.screen-stage{grid-column:2;grid-row:2;min-height:0;min-width:0;display:grid}.app-screen{height:100%;min-height:0;min-width:0}.status{grid-column:2;grid-row:3;margin:0;padding:7px 12px;font-size:14px;line-height:1.35;background:#122c3d;border-color:#2d6171;max-width:100%}.status:empty{display:none}
.planning-workspace{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px}.conversation-panel,.sideboard-panel,.shotplan-panel,.panel,.sequence-panel{padding:18px;border:1px solid #28495e;border-radius:12px;background:linear-gradient(140deg,#102337,#0b1b2b);min-height:0}.section-heading{margin:0 0 8px;gap:10px;flex-wrap:nowrap}.section-heading .subtle{margin-bottom:4px}.conversation-panel{display:flex;flex-direction:column;gap:8px}.conversation-panel>.section-heading{flex:none}.sarah-avatar{width:32px;height:32px;font-size:20px;background:#234958;color:#8ce7ec;border-color:#4a7f8e}.voice-toolbar{flex:none;margin:0;padding:10px 12px;border-color:#32605b;background:#153437}.voice-toolbar .row{gap:7px}.voice-toolbar button{font-size:14px;min-height:34px;padding:7px 10px}.voice-status-line{font-size:13px;line-height:1.25;min-height:20px;margin-top:5px}.voice-meter{height:18px}.conversation{flex:1;min-height:0;max-height:none;overflow:visible;padding:0;display:flex;flex-direction:column;justify-content:center}.conversation-welcome{max-width:620px;margin:auto;text-align:center}.conversation-welcome .sparkle{font-size:25px}.conversation-welcome h3{font-size:23px;margin:6px 0 8px}.conversation-welcome p{font-size:15px;margin:0;line-height:1.5}.purpose-starters{margin:10px auto 0;max-width:100%;gap:7px}.purpose-starters button{font-size:13px;padding:7px 10px;min-height:32px}.message{font-size:17px;line-height:1.6;padding:18px;margin:0;max-width:100%;background:#153047;white-space:pre-wrap}.message.user{margin-left:0;background:#26354d}.message.assistant{background:#153047}.message .speaker{font-size:12px;color:#91d9e6;margin-bottom:6px}.reply-listen{color:#8edde8;font-size:13px;min-height:28px;padding:5px 0}.question-options{margin:0;gap:6px;flex:none}.question-options button{padding:6px 9px;font-size:13px;min-height:30px;background:#203b4e;border-color:#3b5d72}.composer{flex:none;overflow:visible;border-color:#3b6d81;background:#0a1b2d}.composer textarea{height:64px;padding:12px;font-size:16px;min-height:0}.composer-footer{padding:4px 8px 8px 12px}.composer-footer small{font-size:12px;max-width:none}.composer-footer button{min-height:36px;font-size:14px}.page-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;min-height:36px}.page-controls span{font-size:14px;color:#a9c8dd}.page-controls button{min-height:32px;font-size:13px;padding:6px 10px}
.sideboard-panel{display:flex;flex-direction:column;gap:8px}.story-progress{margin:0;gap:8px;flex:none}.story-progress span{padding:6px 10px;font-size:13px;border-color:#31536a;color:#a9c7d5}.story-progress .known{background:#234f49;border-color:#3e8575;color:#c0f3d5}.scene-board{display:block;margin:0;min-height:0;flex:1}.scene-card{height:100%;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);background:#10283a;border-color:#325d73}.scene-card:not(:has(img)){display:block}.scene-card img{height:100%;max-height:100%;object-fit:contain;background:#071521}.scene-card .card-body{padding:18px;display:flex;flex-direction:column;min-height:0}.scene-card h3{font-size:21px;line-height:1.45;margin:9px 0;overflow-wrap:anywhere}.card-graphic{font-size:45px;margin:0 0 9px;color:#79dbe8}.scene-card .card-edit{margin-top:auto;font-size:15px}.scene-card .card-edit[open]{display:grid;gap:8px}.scene-card:has(.card-edit[open]) .card-graphic{display:none}.scene-card:has(.card-edit[open]) h3{display:none}.scene-card textarea{height:95px;font-size:15px;min-height:0}.scene-card select{font-size:14px}.scene-card button{font-size:14px;min-height:34px}.image-credit{font-size:12px;margin:5px 0}.board-empty{min-height:0;flex:1;margin:0}.board-empty p{font-size:16px}.board-lines i{width:64px;height:90px}.wide-button{width:100%;min-height:36px;font-size:14px}.sideboard-panel #openShotPlan{min-height:36px;font-size:14px}.plan-subnav{display:none}
.shotplan-panel{height:100%;display:flex;flex-direction:column;gap:10px}.shotplan-panel>.caption{margin:0;flex:none}.storyboard-shots{display:block;min-height:0;flex:1}.storyboard-shot{margin:0;height:100%;padding:18px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:10px 22px;background:#112b40;border-color:#315c73}.shot-topline{grid-column:1;margin:0}.storyboard-shot>h3{grid-column:1;margin:0;font-size:21px}.storyboard-shot>p{grid-column:1;font-size:16px;margin:0;line-height:1.5;white-space:pre-wrap}.storyboard-shot>img{grid-column:2;grid-row:1/3;width:100%;height:120px;object-fit:contain;margin:0}.storyboard-shot>details{grid-column:2;grid-row:3;min-height:0;font-size:15px}.storyboard-shot:not(:has(>img))>details{grid-row:1/4}.storyboard-shot textarea{height:130px;font-size:15px;margin:10px 0;min-height:0}.storyboard-shot select{font-size:14px}.storyboard-shot label{font-size:14px}.shot-buttons{gap:7px}.shot-buttons button{font-size:14px;min-height:34px}.approval-bar,.approved-bar{flex:none;margin:0;padding:9px 0 0;gap:14px;border-top:1px solid #2c4a62}.approval-bar p{margin:3px 0;font-size:13px}.approval-bar strong{font-size:15px}.approval-bar label{font-size:13px}.approval-bar input{min-height:34px;margin-top:4px}.approved-bar{font-size:15px}
.references-screen{display:grid;grid-template-columns:1fr 1fr;gap:18px}.reference-section{margin:0;padding:20px;border:1px solid #31566b;border-radius:12px;display:flex;flex-direction:column;min-height:0;gap:10px;background:#102237}.reference-section p,.reference-section small{margin:0;font-size:14px}.reference-library{display:block;min-height:0;margin:0;flex:1}.reference-card{height:100%;display:flex;flex-direction:column;border-color:#37647d;background:#0c2032}.reference-card img{flex:1;min-height:0;height:auto;object-fit:contain}.reference-card figcaption{font-size:15px;padding:9px 12px}.reference-card button{font-size:14px;align-self:start}.location-search{margin:0;padding:18px;border:1px solid #31566b;border-radius:12px;display:flex;flex-direction:column;gap:9px}.location-results{flex:1;min-height:0}.location-result{margin:0;display:flex;flex-direction:column;height:100%;padding:14px;background:#10263a}.location-result>img{height:40%;width:100%;object-fit:contain}.location-result h3{font-size:20px}.location-result p{font-size:15px}.location-result button{font-size:14px;min-height:36px}
.take-workspace{height:100%;grid-template-columns:1fr 1fr;align-items:stretch;gap:18px}.take-workspace>.panel:first-child,.take-workspace>.panel:last-child{min-height:0;max-height:none;overflow:visible;display:flex;flex-direction:column;gap:8px}.take-workspace h2{margin:0}.take-workspace label{font-size:14px;margin:0}.take-workspace p{margin:0;font-size:13px}.take-workspace small{font-size:12px}.take-workspace #prompt{flex:1;min-height:100px;height:auto;max-height:240px}.take-workspace #promptCount{font-size:12px}.opening-choice{display:grid;grid-template-columns:1fr 1fr;gap:6px;align-items:center}.opening-choice label{grid-column:1}.opening-choice select{grid-column:1}#activeReference{grid-column:2;grid-row:1/3;min-height:0}#activeReference img{height:72px;max-height:72px;margin:0}#activeReference p{display:none}.take-workspace .consent{font-size:13px;gap:6px}.take-workspace .row[style]{margin-top:0!important}.take-workspace details summary{margin:0!important;font-size:13px}.take-workspace #jobs{display:block;min-height:0;flex:1}.job{height:100%;margin:0;display:flex;flex-direction:column;gap:8px}.job video{flex:1;min-height:0;max-height:none}.job p{font-size:14px}.empty{min-height:0;flex:1;font-size:16px;padding:18px}.empty strong{font-size:18px}
.edit-grid{height:100%;display:block;min-height:0}.edit-grid>.panel{height:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:8px 20px}.edit-grid .subtle{display:none}.edit-grid h2{grid-column:1;margin:0}.edit-grid>.panel>.row{grid-column:1;margin:0!important}.edit-grid #editInfo{grid-column:2;grid-row:1/3;margin:0}.edit-grid #clips{grid-column:1/-1;grid-row:3;min-height:0}.edit-grid #clips+.page-controls{grid-column:1/-1;grid-row:4}.clip{height:100%;min-height:0;margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-rows:auto minmax(0,1fr);gap:8px 20px;padding:15px;background:#10283c}.clip h3{margin:0;font-size:18px}.clip video{grid-column:1;grid-row:2/10;height:100%;max-height:100%;min-height:0;object-fit:contain;margin:0}.clip label{grid-column:2;margin:0;font-size:14px}.clip input,.clip textarea{grid-column:2;min-height:34px;font-size:14px}.clip textarea{height:65px}.clip .row,.clip .twocol{grid-column:2}.clip .row button{font-size:14px;min-height:34px}.clip small{font-size:12px}.edit-grid #noClips{grid-column:1/-1;grid-row:3}.edit-grid label[for=brief]{grid-column:1;grid-row:5;margin:0;align-self:center;font-size:14px}.edit-grid #brief{grid-column:2;grid-row:5;height:56px;min-height:0;font-size:14px}.edit-grid>.panel>.row:last-child{grid-column:1;grid-row:5;align-self:end;margin-top:25px!important}
.export-screen>.panel{height:100%;display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);grid-template-rows:auto minmax(0,1fr);gap:12px 22px}.export-screen>.panel>.subtle{display:none}.export-screen h2{grid-column:1/-1;margin:0}.export-screen #editEmpty{grid-column:1/-1}.export-screen #review{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:10px;min-height:0}.export-screen #review>p{font-size:14px;margin:0}.export-screen #choices{flex:1;min-height:0}.choice{height:100%;margin:0;padding:16px;display:flex;flex-direction:column;gap:10px}.choice h3{font-size:18px;margin:0}.choice p,.choice small{font-size:15px;margin:0}.export-screen #result{grid-column:2;grid-row:2;display:flex;flex-direction:column;min-height:0;gap:10px}.export-screen #video{flex:1;min-height:0;max-height:none;height:100%;object-fit:contain;margin:0}.export-screen #formatButtons{margin:0;flex:none}.export-screen #formatButtons button{font-size:14px;min-height:36px}.export-screen #result>.row{flex:none}.export-screen #receipt{font-size:14px;margin:0}.action{font-size:14px;padding:9px 12px}.export-screen #review>.row{gap:8px;flex-direction:column;align-items:stretch}
@media(min-width:1900px){body{grid-template-rows:78px minmax(0,1fr)}main{grid-template-columns:230px minmax(0,1fr);grid-template-rows:105px minmax(0,1fr) auto;gap:18px 24px;padding:20px 24px 14px 0}.app-header{padding:12px 28px}.app-rail{padding:16px}.app-rail button{font-size:20px;min-height:68px}.overview-card{padding:15px 21px;grid-template-rows:18px 34px 18px}.overview-card strong{font-size:32px}.overview-card>span:not(.metric-icon){font-size:15px}.overview-card .metric-label{font-size:13px!important}.overview-card .metric-icon{font-size:42px}.conversation-panel,.sideboard-panel,.shotplan-panel,.panel{padding:24px}h2{font-size:27px}.message{font-size:22px;padding:24px}.conversation-welcome p{font-size:20px}.conversation-welcome h3{font-size:30px}.purpose-starters button{font-size:17px;min-height:40px}.composer textarea{font-size:20px;height:85px}.composer-footer button{font-size:18px;min-height:44px}.voice-toolbar button{font-size:17px;min-height:40px}.voice-status-line{font-size:16px}.scene-card h3{font-size:28px}.scene-card .card-body{padding:26px}.card-graphic{font-size:62px}.page-controls button{font-size:16px;min-height:40px}.page-controls span{font-size:17px}.scene-card textarea{height:160px;font-size:19px}.scene-card select,.scene-card button{font-size:17px}.storyboard-shot>h3{font-size:28px}.storyboard-shot>p{font-size:20px}.storyboard-shot textarea{height:210px;font-size:19px}.storyboard-shot>img{height:210px}.clip input,.clip textarea,.clip label{font-size:18px}.clip textarea{height:100px}.status{font-size:16px}}
@media(max-height:850px) and (min-width:1001px){body{grid-template-rows:58px minmax(0,1fr)}main{grid-template-rows:77px minmax(0,1fr) auto;gap:10px 14px;padding-top:10px}.app-header{padding:7px 16px;gap:12px}.project-save input{width:155px}.project-save .row button{font-size:13px;padding:7px}.credit-strip{gap:7px}.credit-lock{font-size:12px}.free-badge{font-size:12px;padding:6px 9px}.overview-card{padding:8px 13px;grid-template-rows:15px 24px 15px}.overview-card strong{font-size:24px}.conversation-panel,.sideboard-panel,.shotplan-panel,.panel{padding:14px}.voice-toolbar{padding:7px 10px}.conversation-welcome p{font-size:14px}.conversation-welcome h3{font-size:20px}.conversation-welcome .sparkle{display:none}.purpose-starters{margin-top:7px}.purpose-starters button{font-size:12px;padding:5px 8px;min-height:28px}.message{font-size:16px;padding:12px}.composer textarea{height:50px;padding:8px 10px}.composer-footer{padding:3px 7px 7px}.composer-footer small{font-size:11px}.page-controls button{min-height:28px;padding:5px 8px}.page-controls{min-height:28px}.question-options button{font-size:12px;min-height:27px}.scene-card .card-body{padding:14px}.card-graphic{font-size:38px}.storyboard-shot{padding:14px}.storyboard-shot>p{font-size:14px}.storyboard-shot textarea{height:110px}.storyboard-shot>img{height:85px}.approval-bar{padding-top:6px}.approval-bar p{font-size:12px}.take-workspace{gap:14px}.take-workspace>.panel{gap:5px}.take-workspace #prompt{min-height:60px;max-height:120px}.take-workspace .caption{font-size:12px}.take-workspace .subtle{display:none}.take-workspace #chargeInfo{font-size:11px}.edit-grid #editInfo{font-size:13px}.clip textarea{height:47px}.export-screen #review>p{font-size:12px}.export-screen .choice{padding:12px}.export-screen .choice p,.export-screen .choice small{font-size:14px}}
@media(max-width:1000px){body{grid-template-rows:58px minmax(0,1fr)}.app-header{padding:8px 12px;gap:10px}.brand{font-size:22px}.brand-mark,.project-save,.credit-strip{display:none}.project-header select{max-width:150px;font-size:13px}.project-header button{font-size:12px;padding:6px}main{padding:8px;grid-template-columns:1fr;grid-template-rows:48px minmax(0,1fr) auto;gap:8px}.app-rail{grid-column:1;grid-row:1;flex-direction:row;padding:0;border:0;gap:4px}.app-rail button{flex:1;min-width:0;min-height:44px;padding:5px 3px;gap:2px;flex-direction:column;font-size:10px}.app-rail button>span{font-size:18px;width:auto}.project-overview{display:none}.screen-stage{grid-column:1;grid-row:2}.status{grid-column:1;grid-row:3;font-size:12px;padding:6px}.planning-workspace{grid-template-columns:1fr;grid-template-rows:34px minmax(0,1fr);gap:8px}.plan-subnav{display:flex;gap:8px}.plan-subnav button{font-size:13px;min-height:30px;padding:5px 10px}.plan-subnav button[aria-pressed=true]{background:#326172}.planning-workspace[data-mobile-pane=conversation] .sideboard-panel,.planning-workspace[data-mobile-pane=brief] .conversation-panel{display:none}.conversation-panel,.sideboard-panel,.shotplan-panel,.panel{padding:12px;gap:7px}.conversation-welcome p{font-size:13px}.conversation-welcome h3{font-size:20px}.conversation-welcome .sparkle{display:none}.purpose-starters{gap:5px;margin-top:7px}.purpose-starters button{font-size:11px;min-height:27px;padding:5px 7px}.voice-toolbar{padding:7px}.voice-toolbar button{font-size:11px;padding:6px 7px;min-height:30px}.voice-status-line{font-size:11px}.message{font-size:15px;line-height:1.45;padding:12px}.composer textarea{height:50px;font-size:15px}.composer-footer small{font-size:10px;max-width:100px}.composer-footer button{font-size:12px;padding:7px 9px}.question-options button{font-size:11px;min-height:26px;padding:5px}.section-heading h2{font-size:19px}.scene-card{grid-template-columns:1fr}.scene-card:has(img){grid-template-rows:40% 60%}.scene-card .card-body{padding:12px}.scene-card h3{font-size:19px}.scene-card textarea{height:70px}.card-graphic{font-size:35px}.storyboard-shot{display:flex;flex-direction:column;gap:7px;padding:12px}.storyboard-shot>img{display:none}.storyboard-shot>h3{font-size:18px}.storyboard-shot>p{font-size:13px}.storyboard-shot textarea{height:85px;font-size:13px}.storyboard-shot details{margin-top:auto}.approval-bar{gap:6px;flex-wrap:nowrap}.approval-bar>div{display:none}.approval-bar label{font-size:12px;flex:1}.approval-bar button{font-size:12px}.references-screen,.take-workspace{grid-template-columns:1fr}.references-screen .location-search{display:none}.take-workspace>.panel:last-child{display:none}.edit-grid>.panel{grid-template-columns:1fr;grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:6px}.edit-grid #editInfo{display:none}.edit-grid #brief,.edit-grid label[for=brief]{display:none}.edit-grid>.panel>.row:last-child{grid-column:1;grid-row:5;margin:0!important}.clip{display:flex;flex-direction:column;gap:5px;padding:10px}.clip video{min-height:80px;height:100px;max-height:120px;flex:1}.clip h3{font-size:16px}.clip textarea{height:44px}.clip label,.clip input,.clip textarea{font-size:12px}.clip .row button{font-size:12px;min-height:28px}.export-screen>.panel{display:flex;flex-direction:column}.export-screen #review{flex:none}.export-screen #choices,.export-screen #choices+.page-controls,.export-screen #review>.caption{display:none}.export-screen #review>.row{flex-direction:row}.export-screen #review button{font-size:12px}.export-screen #result{flex:1}.export-screen #formatButtons button{font-size:11px;padding:5px 8px;min-height:29px}.export-screen .action{font-size:12px}.export-screen #receipt{font-size:12px}}

/* Focused authoring dialogs preserve complete fields and return to the same page. */
#screenMenu,.focus-subnav,.clip-subnav,.mobile-options,.mobile-purpose{display:none}
.focus-dialog{width:min(720px,calc(100vw - 28px));max-width:none;max-height:none;height:auto;max-height:calc(100dvh - 24px);margin:auto;padding:20px;border:1px solid #447590;border-radius:13px;background:#10263b;color:#e7f4fc;overflow:visible}.focus-dialog::backdrop{background:#020b16cc}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.dialog-heading h2{font-size:23px}.dialog-body{font-size:16px}.dialog-body details>summary{display:none}.dialog-body details{display:flex;flex-direction:column;gap:12px}.dialog-body textarea{height:160px;width:100%;font-size:16px;min-height:0}.dialog-body select{width:100%;font-size:16px}.dialog-body label{margin:6px 0;font-size:15px}.dialog-body .shot-buttons{display:flex;flex-wrap:wrap}.dialog-body .shot-buttons button{font-size:15px;min-height:38px}.dialog-body .approval-bar{display:flex;flex-wrap:wrap}.dialog-body .approval-bar>div{flex:1 1 100%;display:block}.dialog-body .approval-bar label{max-width:160px}.dialog-body .approval-bar button{font-size:15px}.dialog-body .purpose-editor{display:flex;flex-direction:column;gap:10px}.dialog-body .project-save{display:flex;max-width:none}.dialog-body .project-save>input{width:100%}.dialog-body .take-settings{display:flex;flex-direction:column;gap:12px}.dialog-body .take-settings>details{display:flex}.dialog-body .text-pages{margin-top:15px}
.text-pages{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:9px;white-space:normal}.text-pages button{font-size:12px;min-height:26px;padding:4px 6px;flex:none}.text-pages small{font-size:12px}.status{display:flex;align-items:center;gap:10px}.status>span{flex:1;min-width:0}.status button{flex:none;min-height:26px;padding:4px 7px;font-size:12px}.shotplan-panel #openApproval{align-self:end;min-height:36px;font-size:15px}.take-workspace>.panel{min-height:0;max-height:none;overflow:visible;display:flex;flex-direction:column;gap:8px}.take-workspace>.panel .subtle{display:none}.take-workspace #chargeInfo{margin-top:auto}.take-workspace #prompt{flex:1;min-height:65px}.take-workspace>.panel>h2{margin:0}.take-workspace>.panel>label[for=prompt]{margin:0}.take-workspace .opening-choice{margin:0}.location-empty{display:none;padding:24px;border:1px dashed #426b7f;border-radius:12px;place-items:center;text-align:center;font-size:18px}.references-screen:has(#locationSearch[hidden]) .location-empty{display:grid}.edit-grid>.panel>.row:last-child{grid-row:5;grid-column:1/-1;margin:0!important;align-self:auto}.edit-grid>.panel{grid-template-rows:auto auto minmax(0,1fr) auto auto}.edit-grid .clip-subnav{grid-column:1/-1}.clip .twocol>div>input{width:100%}
@media(max-width:1000px){
 .app-rail button{display:none}#screenMenu{display:block;width:100%;font-size:16px;min-height:42px;background:#17354b;border:1px solid #407187;color:#e0f6ff}.app-rail{display:block}.app-header{gap:8px}.brand{font-size:21px}.project-header{justify-content:flex-end}.project-header select{max-width:120px;font-size:14px}.project-header button{font-size:12px;min-height:34px;padding:6px}.plan-subnav button{font-size:14px}.conversation-panel>.section-heading{display:none}.voice-toolbar .row{flex-wrap:nowrap;gap:5px}.voice-toolbar button{font-size:12px;min-height:30px;padding:6px}.voice-status-line{font-size:12px}.conversation .reply-listen{display:none}.conversation-welcome{margin:0}.conversation-welcome h3{font-size:18px}.conversation-welcome p{font-size:14px}.conversation .purpose-starters,#questionOptions{display:none}.mobile-options,.mobile-purpose{display:flex;gap:7px;flex:none}.mobile-options select,.mobile-purpose select{min-width:0;flex:1;font-size:14px;min-height:34px}.mobile-options button,.mobile-purpose button{font-size:14px;min-height:34px;padding:6px 9px}.message{font-size:15px;line-height:1.4;padding:10px}.message .speaker{font-size:12px;margin-bottom:5px}.composer textarea{height:45px;font-size:15px}.composer-footer small{font-size:11px}.composer-footer button{font-size:14px;min-height:32px}.page-controls button{font-size:13px;min-height:30px}.sideboard-panel .wide-button,.sideboard-panel #openShotPlan{font-size:14px}.scene-card .card-body{padding:12px}.scene-card h3{font-size:19px}.scene-card .card-edit{font-size:14px}.scene-card img{min-height:0}.card-graphic{font-size:30px;margin:0 0 5px}.text-pages button{font-size:12px}.shotplan-panel>.section-heading .subtle{display:none}.shotplan-panel>.section-heading h2{font-size:20px}.shotplan-panel>.section-heading button{font-size:14px;padding:7px 10px}.shotplan-panel>.caption{font-size:13px}.shotplan-panel .storyboard-shot{min-height:0}.storyboard-shot>p{font-size:14px;line-height:1.4}.storyboard-shot>h3{font-size:18px}.storyboard-shot>details{margin-top:auto}.storyboard-shot>details>summary{font-size:14px;min-height:24px}.storyboard-shot>details:not([open])>:not(summary){display:none}.storyboard-shot>details[open]{display:none}.shot-topline .pill{font-size:12px;padding:3px 7px}.shot-number{font-size:23px}.focus-dialog{padding:14px}.dialog-heading{gap:10px;margin-bottom:12px}.dialog-heading h2{font-size:20px}.dialog-heading button{font-size:13px;min-height:34px}.dialog-body textarea{height:120px;font-size:15px}.dialog-body .shot-buttons button{font-size:14px;min-height:34px}.dialog-body .approval-bar>div{display:block}.dialog-body .approval-bar{padding:0}.dialog-body .approval-bar label{font-size:14px}.dialog-body .project-save{flex-direction:column}.dialog-body .project-save .row{display:flex}
 .focus-subnav{display:flex;gap:7px;grid-column:1/-1;min-height:34px}.focus-subnav button{flex:1;font-size:14px;min-height:34px;padding:6px 8px}.focus-subnav button[aria-pressed=true]{background:#326172;border-color:#5b8e9f}.references-screen,.take-workspace{display:grid;grid-template-columns:1fr;grid-template-rows:34px minmax(0,1fr);gap:8px}.references-screen[data-pane=library] #locationSearch,.references-screen[data-pane=library] .location-empty{display:none}.references-screen[data-pane=places] .reference-section{display:none}.references-screen[data-pane=places] #locationSearch:not([hidden]){display:flex}.references-screen .reference-section,.references-screen .location-search{padding:12px;gap:8px;min-height:0}.reference-section>.caption,.reference-section>small{font-size:13px}.reference-section .row{flex-wrap:nowrap}.reference-section .row select{width:100px;min-width:0;font-size:14px}.reference-section .row button{font-size:14px;padding:6px;min-height:36px}.reference-heading h3{font-size:19px}.reference-heading .pill{display:none}.reference-card figcaption{font-size:14px}.reference-card button{font-size:14px}.location-result h3{font-size:18px}.location-result p{font-size:14px}.location-result button{font-size:14px}.location-search h3{font-size:18px}.location-search>.caption{font-size:13px}.take-workspace[data-pane=compose]>section.panel:nth-of-type(2),.take-workspace[data-pane=saved]>section.panel:nth-of-type(1){display:none}.take-workspace>.panel{display:flex;padding:12px;gap:6px;min-height:0;max-height:none}.take-workspace>.panel>h2{font-size:20px}.take-workspace .caption{font-size:13px}.take-workspace small{font-size:12px}.take-workspace #prompt{min-height:45px;max-height:none;font-size:14px}.take-workspace .opening-choice{grid-template-columns:1fr}.take-workspace #activeReference{display:none}.take-workspace #chargeInfo{font-size:12px}.take-workspace button{font-size:14px;min-height:34px}.take-workspace #jobs .job{min-height:0}.take-workspace #noJobs{font-size:14px}.take-workspace #noJobs strong{font-size:17px}.edit-grid>.panel{gap:7px}.edit-grid #clips{min-height:0}.clip{gap:7px;padding:10px}.clip-subnav{display:flex;gap:5px}.clip-subnav button{flex:1;font-size:13px;min-height:32px;padding:5px}.clip-subnav button[aria-pressed=true]{background:#326172}.clip h3{font-size:17px}.clip[data-pane=preview]>label,.clip[data-pane=preview]>textarea,.clip[data-pane=preview]>.twocol,.clip[data-pane=preview]>.row{display:none}.clip[data-pane=notes]>video,.clip[data-pane=notes]>.twocol,.clip[data-pane=notes]>.row{display:none}.clip[data-pane=timing]>video,.clip[data-pane=timing]>label,.clip[data-pane=timing]>textarea{display:none}.clip video{height:100%;max-height:none;min-height:0;flex:1}.clip textarea{height:65px;font-size:14px}.clip label,.clip input{font-size:14px}.clip .row button{font-size:14px;min-height:34px}.clip .twocol{gap:9px}.edit-grid>.panel>.row:last-child{display:flex;gap:8px;grid-column:1;grid-row:5}.edit-grid>.panel>.row:last-child button{font-size:14px;min-height:34px}.edit-grid>.panel>h2{font-size:19px}.edit-grid #addFiles{font-size:14px;min-height:34px}.export-screen{display:grid;grid-template-rows:34px minmax(0,1fr);gap:8px}.export-screen>.panel{min-height:0;display:flex;flex-direction:column;gap:8px}.export-screen[data-pane=review] #result,.export-screen[data-pane=video] #review{display:none}.export-screen[data-pane=review] #review{flex:1;display:flex;min-height:0}.export-screen[data-pane=video] #result:not([hidden]){flex:1;display:flex;min-height:0}.export-screen #choices{display:block;flex:1;min-height:0}.export-screen #choices+.page-controls{display:flex}.export-screen #review>.row{flex-direction:column;gap:6px}.export-screen #review button{font-size:14px;min-height:34px}.export-screen #review>.caption{display:none}.export-screen .choice{padding:12px;min-height:0}.export-screen .choice h3{font-size:16px}.export-screen .choice p,.export-screen .choice small{font-size:14px}.export-screen #formatButtons{gap:6px}.export-screen #formatButtons button{font-size:13px}.export-screen .action{font-size:14px;padding:7px 9px}.export-screen #receipt{font-size:12px}
}
@media(max-width:420px) and (max-height:650px){.conversation-panel{gap:5px;padding:9px}.voice-toolbar{padding:5px 7px}.voice-status-line{font-size:11px;min-height:15px;margin-top:3px}.voice-toolbar button{font-size:11px;min-height:26px;padding:5px}.voice-meter{display:none}.message{font-size:14px;padding:7px;line-height:1.35}.message .speaker{font-size:11px}.composer textarea{height:36px;padding:7px}.composer-footer{padding:3px 5px 5px;gap:4px}.composer-footer small{font-size:10px;max-width:92px}.composer-footer button{font-size:13px;min-height:29px;padding:5px 7px}.mobile-options select,.mobile-purpose select,.mobile-options button,.mobile-purpose button{font-size:13px;min-height:30px;padding:5px 6px}.page-controls{min-height:27px}.page-controls button{font-size:12px;min-height:27px}.page-controls span{font-size:12px}.conversation-welcome h3{font-size:17px;margin:4px 0}.conversation-welcome p{font-size:13px}.shotplan-panel{gap:6px;padding:10px}.shotplan-panel>.caption{font-size:12px}.storyboard-shot{padding:10px;gap:5px}.storyboard-shot>p{font-size:13px}.storyboard-shot>h3{font-size:16px}.shotplan-panel #openApproval{font-size:14px;min-height:32px}.storyboard-shot .text-pages{margin-top:6px}.text-pages button{font-size:11px;min-height:24px}.take-workspace>.panel{padding:10px;gap:5px}.take-workspace #prompt{min-height:35px}.take-workspace #chargeInfo{font-size:11px}.take-workspace #activeReference{display:none}.take-workspace label,.take-workspace select{font-size:13px}.take-workspace #promptCount{display:none}.take-workspace .opening-choice{gap:3px}.take-workspace #approvedShot{min-height:31px}.take-workspace #referenceChoice{min-height:31px}.take-workspace .panel>h2{font-size:18px}.edit-grid>.panel{padding:10px;gap:5px}.clip{padding:8px;gap:5px}.clip-subnav button{font-size:12px;min-height:29px}.clip h3{font-size:15px}.clip textarea{height:52px}.clip label{font-size:13px}.edit-grid>.panel>.row:last-child button{font-size:13px;min-height:32px}.export-screen>.panel{padding:10px}.export-screen #reviewMeta{font-size:12px}.export-screen #review button{font-size:13px;min-height:31px}.export-screen .choice p,.export-screen .choice small{font-size:13px}.export-screen .choice{padding:10px;gap:7px}.export-screen #formatButtons button{font-size:12px}.export-screen .action{font-size:13px}.focus-dialog{padding:12px}.dialog-body textarea{height:100px}.dialog-heading h2{font-size:18px}}

.take-workspace #shotApprovalNote{display:none}.dialog-body #chargeInfo{display:block;font-size:14px;line-height:1.5;margin-top:10px}.dialog-body details[open]>:not(summary){display:block}

.plan-subnav button{background:#172f43;color:#c2dbe8;border:1px solid #355e74}.plan-subnav button[aria-pressed=true]{background:#71d7e3;color:#062736;border-color:#a0f2f6}.scene-card.wide{grid-column:auto}

@media(min-width:1900px){.scene-card .card-body{padding:18px}.scene-card h3{font-size:22px;line-height:1.4}.scene-card .card-graphic{font-size:42px;margin-bottom:8px}}

.scene-card{overflow:visible}

.reference-actions{display:flex;gap:8px;padding:7px 10px;flex:none}.reference-actions button{margin:0;min-height:34px}.reference-card figcaption{padding:6px 10px}.reference-details p{overflow-wrap:anywhere;margin:0 0 14px}.reference-details .action{display:inline-block}#referenceUploadState{display:flex;align-items:center;gap:10px;font-size:14px;color:#beeff0;min-height:28px;flex:none}#referenceUploadState>span{flex:1}#referenceUploadState button{font-size:13px;min-height:28px;padding:4px 8px}.reference-section>.caption{font-size:14px}.reference-plan-note{font-size:14px;color:#a7dce5}
@media(max-width:1000px){.reference-section>.row select{width:auto;flex:1}.reference-section>.row button{flex:none}.reference-actions{padding:5px 8px;gap:6px}.reference-actions button{font-size:13px;min-height:30px}.reference-card figcaption{font-size:14px;padding:5px 8px}.reference-section>.caption{font-size:13px}}
@media(max-width:420px) and (max-height:650px){.references-screen .reference-section{gap:6px;padding:10px}.reference-section>.caption{font-size:12px}.reference-section>small{font-size:12px}.reference-section>.row select{font-size:13px}.reference-section>.row button{font-size:13px}.reference-heading h3{font-size:18px}#referenceUploadState{font-size:13px}.reference-details p{font-size:14px;margin-bottom:10px}}

@media(max-width:1000px){.references-screen[data-pane=library]:has(#locationSearch[hidden]) .location-empty{display:none}}

@media(min-width:1001px){.scene-card{grid-template-rows:minmax(0,1fr)}.scene-card img{min-height:0;height:100%;object-fit:contain}.scene-card .card-body{min-height:0}}

@media(max-width:420px) and (max-height:650px){.scene-card .card-body{padding:8px;position:relative}.scene-card .card-graphic{position:absolute;right:8px;top:6px;font-size:18px;margin:0}.scene-card .card-kind{font-size:11px;padding-right:22px}.scene-card h3{font-size:16px;line-height:1.3;margin:6px 0}.scene-card .card-edit{font-size:13px;margin-top:auto}.scene-card:not(:has(img)) .card-body{height:100%}}

@media(max-width:420px) and (max-height:650px){.scene-card:has(img){grid-template-columns:35% minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.scene-card:has(img) img{height:100%;min-height:0}.scene-card:has(img) h3{font-size:14px}.scene-card:has(img) .card-graphic{display:none}}

.focus-dialog:has(.scene-flow){height:min(740px,calc(100dvh - 24px));display:flex;flex-direction:column}.focus-dialog:has(.scene-flow) .dialog-body{flex:1;min-height:0;display:flex}.scene-flow{display:flex;flex-direction:column;gap:10px;width:100%;min-height:0}.scene-tabs{display:flex;gap:6px;flex:none}.scene-tabs button{flex:1;font-size:14px;min-height:36px}.scene-tabs button[aria-pressed=true]{background:#71d7e3;color:#082b38}.scene-panes{flex:1;min-height:0}.scene-pane{height:100%;display:flex;flex-direction:column;gap:8px;min-height:0}.scene-pane p{margin:0;font-size:15px;line-height:1.45}.scene-pane label{margin:0}.scene-pane textarea{flex:1;min-height:50px;resize:none;margin:0}.scene-pane img{flex:1;min-height:0;max-height:100%;object-fit:contain;width:100%;background:#071522}.scene-pane input{flex:none;min-height:36px}.scene-pane button{flex:none;min-height:35px}.scene-pane .scene-cost{font-size:14px;color:#c8e5b3}.scene-error{margin:0;font-size:13px;color:#ffce9a;line-height:1.4}.scene-actions{display:flex;gap:8px;flex:none}.scene-actions button{flex:1;font-size:14px;min-height:38px}.scene-pane small{font-size:13px}
@media(max-width:420px){.scene-flow{gap:7px}.scene-pane{gap:6px}.scene-pane p{font-size:13px}.scene-pane .scene-cost{font-size:12px}.scene-tabs button,.scene-actions button{font-size:12px;min-height:32px;padding:6px}.scene-pane button{font-size:13px;padding:6px;min-height:32px}.scene-pane input{font-size:14px;padding:7px;min-height:32px}.scene-error{font-size:12px}.scene-pane label{font-size:14px}.scene-pane textarea{font-size:14px}.scene-pane small{font-size:12px}}

/* Suggested city image remains separate from an explicitly saved reference. */
.scene-card .location-suggestion{height:100%;min-height:0;width:100%;padding:0;border:0;border-radius:0;background:#071521;overflow:hidden;display:block}
.scene-card .location-suggestion img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain}
.scene-card.has-location-suggestion .card-graphic{display:none}
.scene-card .location-suggestion-note{font-size:14px;line-height:1.3;margin:2px 0 7px}
.scene-card .location-photo-action{margin:0 0 8px;flex:none}
@media(max-width:1000px){.scene-card.has-location-suggestion{grid-template-rows:minmax(0,40%) minmax(0,60%)}.scene-card.has-location-suggestion .card-body{padding:9px 12px}.scene-card.has-location-suggestion h3{font-size:18px;line-height:1.2;margin:3px 0}.scene-card .location-suggestion-note{font-size:14px;margin:1px 0 4px}.scene-card .location-photo-action{margin:0 0 3px;min-height:32px;padding:5px 8px}}
@media(max-width:420px) and (max-height:650px){.scene-card.has-location-suggestion{grid-template-columns:40% 60%;grid-template-rows:minmax(0,1fr)}.scene-card.has-location-suggestion .card-body{padding:6px}.scene-card.has-location-suggestion h3{font-size:15px}.scene-card.has-location-suggestion .location-photo-action{font-size:14px}.scene-card.has-location-suggestion .card-kind{font-size:12px}}

@media(max-width:420px) and (max-height:650px){.scene-card.has-location-suggestion .location-photo-action{display:none}.scene-card.has-location-suggestion .card-kind{display:none}}

/* Keep loaded city photographs inside the fixed chooser; retain all choice controls. */
.references-screen .location-search{min-height:0;min-width:0}
.location-result>img{min-height:0;flex:0 1 40%}
.location-result>div{flex:none;min-width:0}
@media(min-width:1001px){.references-screen{grid-template-rows:minmax(0,1fr)}}

/* The next free step stays beside the conversation, including narrow screens. */
#nextStory,#openShotPlan{background:#73e0ed;color:#082636;border:1px solid #9aeefa;font-weight:700;flex:none;min-height:38px}
#nextStory{width:100%;margin:0}
@media(max-width:1000px){#nextStory{font-size:14px;min-height:34px;padding:7px}}
@media(max-width:420px) and (max-height:650px){#nextStory{font-size:13px;min-height:30px;padding:5px}.conversation-panel .voice-status-line{display:none}}

/* PayProof's cyan accents, layered surfaces and live data visuals. */
.overview-card{background:linear-gradient(125deg,#102a41e8,#061321f5);box-shadow:inset 0 1px #ffffff08,0 8px 20px #0002;border-color:#245873}
.overview-card .metric-icon.metric-ring{position:relative;display:grid;place-items:center;isolation:isolate;width:42px;height:42px;border-radius:50%;background:conic-gradient(#54dcf2 var(--progress),#1c3b51 0);font-size:20px;color:#72deec}
.metric-ring:before{content:'';position:absolute;inset:4px;border-radius:50%;background:#0c2133;z-index:-1}
.conversation-panel,.sideboard-panel,.shotplan-panel,.export-screen>.panel{background:linear-gradient(145deg,#10263ce8,#081727f5);border-color:#24536f;box-shadow:inset 0 1px #ffffff08,0 12px 35px #0003}
.creator-stage{display:flex;flex-direction:column;gap:9px;flex:1;min-height:0}
.creator-stage-bar{display:flex;gap:8px;flex:none}.creator-stage-bar button{font-size:14px;min-height:34px}.creator-disclosure{font-size:13px;color:#aac5d9}.creator-frame{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;flex:1;min-height:0;padding:24px;border-radius:15px;border:1px solid #2d7295;background:radial-gradient(ellipse at 30% 20%,#1b4c71,#081929 65%);overflow:hidden}.creator-frame:after{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#46bddd09 1px,transparent 1px),linear-gradient(90deg,#46bddd09 1px,transparent 1px);background-size:40px 40px}
.creator-references{display:flex;gap:12px;min-height:0;min-width:0}.creator-reference{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;margin:0;border:1px solid #377491;border-radius:12px;overflow:hidden;background:#092136;box-shadow:0 12px 24px #0005}.creator-reference img{width:100%;object-fit:contain;flex:1;min-height:0}.creator-reference-symbol{display:grid;place-items:center;flex:1;min-height:0;font-size:90px;color:#63dcf2;text-shadow:0 0 50px #45d7ff55;background:radial-gradient(circle,#135374,#082238 70%)}.creator-reference figcaption{font-size:13px;padding:10px;color:#b3d2e5;flex:none;overflow-wrap:anywhere}.creator-frame-copy{align-self:center;min-width:0;overflow-wrap:anywhere;position:relative;z-index:1}.creator-shot-number{color:#73e0ed;font:700 14px Consolas,monospace;letter-spacing:1.5px}.creator-frame-copy h3{font-size:clamp(20px,2vw,36px);line-height:1.35;margin:15px 0;color:#f0f8ff;overflow-wrap:anywhere}.creator-frame-copy p{color:#b4d1e8;font-size:17px}.creator-timeline{display:flex;gap:7px;flex:none}.creator-beat{flex:1;border-color:hsl(var(--beat) 50% 45%);background:hsl(var(--beat) 50% 20%);color:#deefff;font-size:14px}.creator-beat[aria-pressed=true]{background:#73e0ed;color:#062435;box-shadow:0 0 15px #57d9f333}.creator-clock{font-size:13px;color:#b4d1e8}.creator-stage input[type=range]{width:100%;accent-color:#73e0ed;min-height:18px;padding:0;flex:none}
.shotplan-panel[data-creator-mode=visual] #storyboardShots,.shotplan-panel[data-creator-mode=visual] #storyboardShots+.page-controls{display:none}
#backToStoryboard{font-size:14px;min-height:32px;align-self:flex-start}
.export-screen #editEmpty{padding:18px;border:1px solid #265b7b;background:radial-gradient(ellipse at 25% 45%,#103858,transparent 70%);min-height:0;flex:1}.creator-export-guide{width:100%;height:100%;min-height:0;min-width:0;container-type:size;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:24px;text-align:left}.creator-delivery-art{position:relative;aspect-ratio:1.2;width:min(100%,120cqh,1000px);max-height:100%;min-width:0;min-height:0;justify-self:center;perspective:800px}.creator-delivery-copy{min-width:0;min-height:0;overflow-wrap:anywhere}.delivery-orbit{position:absolute;width:80%;aspect-ratio:1;top:7%;left:10%;border-radius:50%;border:1px solid #2da4ce66;box-shadow:0 0 90px #1caaf529,inset 0 0 70px #3e93f322}.delivery-format{position:absolute;display:flex;flex-direction:column;justify-content:space-between;min-width:0;border-radius:12px;padding:12px;border:1px solid #55d9f3;box-shadow:0 18px 35px #0008;background:linear-gradient(150deg,#174b6e,#06243a);color:#dbf6ff;transform:rotateY(-12deg) rotateZ(-5deg)}.delivery-format span{font:700 12px Consolas,monospace;color:#8fdaf0}.delivery-format b{font-size:clamp(12px,1.2vw,20px)}.delivery-format i{font-size:40px;color:#69dffa;align-self:center;font-style:normal}.delivery-format.landscape{width:66%;aspect-ratio:16/9;left:3%;top:16%}.delivery-format.square{width:37%;aspect-ratio:1;left:17%;top:52%;border-color:#ad92f2;background:linear-gradient(150deg,#3b3068,#151a34)}.delivery-format.portrait{width:28%;aspect-ratio:9/16;right:5%;top:30%;transform:rotateY(-12deg) rotateZ(7deg);border-color:#64ebad;background:linear-gradient(150deg,#1d574e,#071f29)}.creator-delivery-copy h2{font-size:clamp(24px,2.4vw,44px);line-height:1.12;margin:13px 0 20px}.creator-delivery-copy p{font-size:17px;max-width:470px;color:#adc9dd;line-height:1.5}.creator-delivery-copy small{display:block;font-size:13px;margin-top:14px;color:#88b9ce}.delivery-checks{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.delivery-checks span{font-size:13px;background:#0b2c40;border:1px solid #256080;border-radius:7px;padding:8px}
@media(max-width:1000px){.creator-stage{gap:6px}.creator-stage-bar{gap:5px;flex-wrap:wrap}.creator-stage-bar button{font-size:12px;min-height:30px;padding:6px}.creator-frame{padding:12px;gap:12px;grid-template-columns:1fr;grid-template-rows:minmax(0,45%) minmax(0,55%)}.creator-frame-copy{align-self:start;min-height:0}.creator-frame-copy h3{font-size:19px;line-height:1.25;margin:8px 0}.creator-frame-copy p{font-size:13px;margin:6px 0}.creator-shot-number{font-size:12px}.creator-reference-symbol{font-size:35px}.creator-reference figcaption{font-size:12px;padding:6px}.creator-timeline{gap:4px}.creator-beat{font-size:12px;min-height:28px;padding:5px}.creator-disclosure,.creator-clock{font-size:12px}.creator-export-guide{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;gap:8px}.creator-delivery-art{height:100%;max-width:380px;justify-self:center;width:auto}.creator-delivery-copy{text-align:center;align-self:start}.creator-delivery-copy h2{font-size:24px;margin:8px 0}.creator-delivery-copy p{font-size:14px;margin:8px auto}.creator-delivery-copy small{font-size:12px;margin-top:9px}.delivery-checks{justify-content:center;gap:5px;margin:10px 0}.delivery-checks span{font-size:11px;padding:5px}.delivery-format{padding:7px}.delivery-format i{font-size:25px}.delivery-format b{font-size:12px}.delivery-format span{font-size:10px}.export-screen #editEmpty{padding:10px}.creator-delivery-copy button{font-size:14px;min-height:34px}}
@media(max-width:420px) and (max-height:650px){.creator-frame{padding:8px;gap:6px;grid-template-columns:35% minmax(0,65%);grid-template-rows:minmax(0,1fr)}.creator-references{flex-direction:column;gap:5px}.creator-reference figcaption{font-size:10px;padding:4px}.creator-reference-symbol{display:none}.creator-reference{justify-content:center}.creator-frame-copy h3{font-size:14px;line-height:1.25;margin:5px 0}.creator-frame-copy p{font-size:11px}.creator-shot-number{font-size:10px;letter-spacing:0}.creator-disclosure,.creator-clock{font-size:10px}.creator-stage-bar button{font-size:11px;min-height:27px;padding:5px}.creator-stage{gap:5px}.creator-delivery-copy h2{font-size:20px;margin:5px 0}.creator-delivery-copy p{font-size:12px;margin:5px auto}.creator-delivery-copy small{font-size:10px;margin-top:6px}.delivery-checks{margin:6px 0}.delivery-checks span{font-size:10px}.creator-delivery-copy .card-kind{font-size:10px}.creator-delivery-copy button{font-size:13px;min-height:29px}.delivery-format i{font-size:18px}.delivery-format b{font-size:10px}}

/* Size decoration within the available pane; keep the full copy and next action visible. */
.export-screen #editEmpty{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);min-width:0;align-items:stretch;justify-content:stretch;justify-items:stretch}
.creator-reference figcaption{min-width:0;line-height:1.2}
@media(max-width:420px) and (max-height:650px){
 .creator-export-guide{grid-template-rows:minmax(64px,1fr) auto;gap:5px}
 .creator-delivery-art{display:flex;align-items:center;justify-content:center;gap:8px;height:64px;width:100%;max-width:240px;aspect-ratio:auto}
 .creator-delivery-art .delivery-orbit{display:none}
 .creator-delivery-art .delivery-format{position:static;flex:none;transform:none;inset:auto;padding:4px;border-radius:7px;line-height:1.1}
 .creator-delivery-art .delivery-format.landscape{width:86px;height:49px;aspect-ratio:auto}
 .creator-delivery-art .delivery-format.square{width:50px;height:50px;aspect-ratio:auto}
 .creator-delivery-art .delivery-format.portrait{width:42px;height:64px;aspect-ratio:auto}
 .creator-delivery-art .delivery-format i{display:none}
 .creator-delivery-art .delivery-format b,.creator-delivery-art .delivery-format span{font-size:9px}
 .creator-delivery-copy h2{font-size:18px;line-height:1.12;margin:4px 0}
 .creator-delivery-copy p{font-size:12px;line-height:1.35;margin:4px auto}
 .creator-delivery-copy small{font-size:10px;line-height:1.2;margin-top:5px}
 .creator-delivery-copy .delivery-checks{gap:4px;margin:6px 0}
 .creator-delivery-copy .delivery-checks span{padding:4px;font-size:10px;line-height:1.2}
}

/* Direct plan approval stays in the workspace. */
.approval-bar{justify-content:space-between}.approval-bar>div{display:block}.approved-bar{flex-direction:row;flex-wrap:wrap}.approved-bar>div{min-width:0;flex:1;overflow-wrap:anywhere}.approved-bar strong{color:#70dfed}.approved-bar p{font-size:13px;line-height:1.4;margin:5px 0 0;max-width:72ch}.approved-bar button{flex:none;max-width:100%;white-space:normal}
.edit-duration{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;color:#9bd7e7;font-size:13px}.edit-duration progress{height:7px;accent-color:#6edce7;width:120px}.edit-duration[data-over=true]{color:#ffc382}
@media(max-width:1000px){.approval-bar>div{display:none}.approved-bar{gap:6px;flex-direction:column;flex-wrap:nowrap;align-items:flex-start}.approved-bar>div{width:100%;flex:none}.approved-bar strong{font-size:14px}.approved-bar p{font-size:12px;margin:3px 0}.approved-bar button{font-size:12px;min-height:30px;padding:5px 9px;flex:none}.edit-duration{font-size:11px}.edit-duration progress{width:70px}}

body[data-busy=true] .status:before{content:'';width:15px;height:15px;flex:none;border:2px solid #406678;border-top-color:#6fe0ee;border-radius:50%;animation:cutbrief-working .8s linear infinite}@keyframes cutbrief-working{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){body[data-busy=true] .status:before{animation:none}}
