/* Workspace layout only. Shared MC Flow branding and login remain in product.css. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.studio-app{--line:#e3e6ed;--muted:#65708a;background:#faf9f5}
.studio-app header{height:72px;padding:0 30px;gap:20px;background:#fffdf9}
.studio-app .brand.mc-wordmark img{width:158px;height:59px}
.header-tools{display:flex;align-items:center;gap:5px;margin-left:20px}
.header-tool{display:inline-flex;align-items:center;gap:8px;background:transparent;border:0;border-radius:7px;padding:10px 12px;color:var(--muted);font-size:12px;white-space:nowrap}
.header-tool:hover:enabled{color:var(--blue);background:#f0f4ff}
#library-count{font-size:10px;padding:2px 5px;border-radius:4px;background:#eef1f7;color:var(--muted)}#library-count:empty{display:none}
.studio-app .workspace-button{border:0;background:transparent;padding:6px;max-width:220px}
.studio-app .workspace-button small{display:none}.studio-app .workspace-button strong{font-size:12px}.studio-app .workspace-avatar{width:28px;height:28px;font-size:11px;background:#eef2fd}
.studio-app .logout{font-size:11px;padding:8px 0;border:0;border-radius:0;color:var(--muted)}
.studio-app main{max-width:1540px;padding:28px 30px 15px}
.studio-app .studio-intro{display:flex;align-items:center;justify-content:space-between;margin:0 0 24px;padding:0;gap:20px}
.intro-kicker{font-size:9px;font-weight:600;letter-spacing:1.2px;color:var(--muted);margin:0 0 10px}
.studio-app .studio-intro h1{font-size:30px;line-height:1.25;letter-spacing:-1.1px;margin:0 0 8px;font-weight:800}
.studio-app .studio-intro .intro{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
#stage-actions{flex-shrink:0}#content-approve{font-size:12px;padding:13px 18px;min-width:184px;gap:20px;min-height:46px}
.studio-app .process-nav{display:flex;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;background:transparent;overflow:visible;margin-bottom:24px;scroll-margin-top:20px}
.studio-app .process-nav button{position:relative;display:flex;align-items:center;justify-content:center;flex:1;border:0;padding:12px 16px 17px;gap:10px;background:transparent;color:#6b7488;border-radius:0}
.studio-app .process-nav button:after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:2px;background:transparent}
.studio-app .process-nav button.active:after{background:var(--blue)}.studio-app .process-nav button.active{background:transparent;color:var(--navy)}
.studio-app .process-nav button:not(:disabled):hover{background:#f1f3f7}
.studio-app .process-nav b{width:23px;height:23px;font-size:9px;border:1px solid #dce0e9;background:transparent;color:#7f8798}
.studio-app .process-nav .active b{background:var(--blue);border-color:var(--blue);color:white}.studio-app .process-nav .completed b{background:#eaf0ff;border-color:#eaf0ff;color:var(--blue)}
.studio-app .process-nav span{font-size:12px;font-weight:600}.studio-app .process-nav button:disabled{opacity:.55;cursor:not-allowed}
#process-feedback{font-size:12px;line-height:1.7;padding:10px 14px;background:#eef3ff;border-radius:7px;margin:0 0 18px;min-height:0}
#process-feedback:empty{display:none}#process-feedback.error{background:#fff0ec;color:#a54130}
.studio-app .workspace{display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:22px;align-items:start}
.studio-app .panel{border-radius:12px;box-shadow:none;border-color:var(--line);padding:22px}
.studio-app .panel .section-heading{padding-bottom:15px;margin-bottom:16px;gap:8px}.studio-app .panel .section-heading h2{font-size:14px!important;letter-spacing:-.3px;font-weight:700}
.studio-app .panel .section-heading .mini-badge{font-size:9px;letter-spacing:0;border-radius:5px;background:#f3f5f9}
.studio-app[data-stage="1"] main{max-width:1140px}
.studio-app[data-stage="1"] .workspace{display:block;max-width:660px;margin:42px auto 65px}
.studio-app .input-panel{padding:32px}
.import-welcome{display:flex;align-items:flex-start;gap:14px;margin-bottom:25px}
.import-welcome strong{font-family:Manrope,Inter,Arial,sans-serif;font-size:17px;font-weight:800;letter-spacing:-.4px;line-height:1.5}
.import-welcome p{font-size:12px;color:var(--muted);line-height:1.7;margin:6px 0 0}
.assistant-mark{width:36px;height:36px;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:3px;flex-shrink:0;background:#eaf0ff;color:var(--blue)}
.assistant-mark i{width:4px;height:13px;border-radius:3px;background:currentColor;display:block}.assistant-mark i:nth-child(2){height:21px}.assistant-mark i:nth-child(3){height:9px}
.studio-app .figma-dropzone{min-height:218px;background:#fcfcff;border:1px dashed #b9c8eb;border-radius:10px;padding:28px}
.studio-app .figma-dropzone>img{width:26px;height:39px;margin-bottom:14px}
.studio-app .figma-dropzone>strong{font-size:14px;font-weight:600}.studio-app .figma-dropzone>span{font-size:12px}.studio-app .figma-dropzone>small{font-size:10px;margin-top:18px}
.studio-app .figma-dropzone:hover,.studio-app .figma-dropzone.dragging{background:#f2f6ff;border-color:var(--blue)}
.studio-app .figma-source{border:0;background:#f5f7fc;padding:13px 15px;border-radius:8px}
.studio-app .figma-source p{font-size:12px;line-height:1.7;margin:5px 0 0}.studio-app .figma-source>strong{font-size:11px}
.studio-app .production-options{margin:18px 0;border:0;padding:0}.studio-app .production-options>summary{color:var(--muted);font-size:12px;font-weight:400}
.studio-app #integrate{padding:15px 18px;font-size:13px;min-height:49px}.studio-app .privacy{font-size:10px;line-height:1.7;margin-top:14px}
.studio-app #generation-progress{background:#f4f6fb;border-radius:8px;padding:17px;margin-top:20px}
.studio-app #generation-stage{margin:10px 0 0;font-size:12px}
.studio-app .output-panel{min-height:0;padding:19px;order:0}
.studio-app .result-toolbar{gap:8px;margin-bottom:12px}.studio-app .device-toggle{padding:2px;border:0;background:#f1f3f7;border-radius:7px}
.studio-app .device-toggle button{padding:8px 11px;font-size:10px;background:transparent}.studio-app .device-toggle button.active{background:#fff;box-shadow:0 1px 3px #071e6110;color:var(--navy)}
.studio-app #edit-toggle{font-size:10px;border-color:transparent;background:transparent;padding:8px 10px;color:var(--muted)}.studio-app #edit-toggle.active{background:#eef3ff;color:var(--blue)}
.studio-app .result-toolbar .text-link{font-size:10px}.studio-app .edit-guidance{background:transparent;padding:0;margin:0 0 14px;font-size:11px;color:var(--muted)}
.studio-app .preview-shell{border:1px solid #e8eaf0;padding:20px 12px;border-radius:8px;background:#f1f2f5;max-width:100%}
.studio-app iframe{height:max(580px,calc(100dvh - 312px));box-shadow:0 2px 8px #071e6108}
.studio-app .preflight-card{display:block;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 13px;margin-bottom:14px}
.audit-disclosure>summary{display:flex;align-items:center;gap:9px;list-style:none;font-size:11px;cursor:pointer;min-height:24px}.audit-disclosure>summary::-webkit-details-marker{display:none}
.audit-label{color:var(--muted)}.studio-app .preflight-card #builder-score{font-family:Inter,Arial,sans-serif;letter-spacing:0;font-size:12px;line-height:1.5;font-weight:600}
.studio-app .preflight-card #builder-audit-state{font-size:10px}.audit-more{margin-left:auto;color:var(--muted);font-size:10px}.audit-more>span{margin-left:5px}
.audit-disclosure[open] .audit-more>span{display:inline-block;rotate:180deg}.studio-app .preflight-card>div{padding:12px 0 0}.studio-app .preflight-card p{font-size:12px;margin-bottom:0}
.studio-app .campaign-warnings{background:transparent;border:0;padding:0;margin-bottom:12px}.studio-app .campaign-warnings details{margin:0}.studio-app .campaign-warnings summary{font-size:11px;color:#916327}.studio-app .campaign-warnings li{font-size:12px;line-height:1.7}
.studio-app .email-tools{margin-top:18px;border-top:1px solid var(--line);padding-top:14px;font-size:11px}.email-tools>summary{display:flex;align-items:center;gap:10px;list-style:none;color:var(--muted);font-size:11px}.email-tools>summary::-webkit-details-marker{display:none}.email-tools>summary:before{content:'+';font-size:15px}.email-tools[open]>summary:before{content:'−'}.email-tools>summary>span{margin-left:auto;color:#8b93a3;font-size:10px}
.studio-app .email-tools .delivery{padding:18px 0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center}.studio-app .email-tools h3{font-size:13px;font-weight:600;letter-spacing:0;margin:0 0 5px}.studio-app .email-tools p{font-size:11px}.studio-app #generation-strategy{font-size:10px;color:var(--muted);margin-bottom:0}
/* The assistant is a visible companion to the canvas, without an iframe transform. */
.studio-app .assistant-panel{order:1;position:sticky;top:22px;padding:23px;max-height:calc(100dvh - 44px);overflow:auto;scrollbar-width:thin;border-color:#d8e1f4;background:#fff}
.assistant-top{display:flex;align-items:center;gap:11px;margin-bottom:24px}
.studio-app .assistant-top h2{font-size:13px;font-weight:700;line-height:1.5;letter-spacing:-.2px;margin:0}
#assistant-presence{font-size:10px;color:var(--muted);line-height:1.7;display:flex;align-items:center;gap:5px;margin-top:3px}
#assistant-presence:before{content:'';width:4px;height:4px;border-radius:50%;background:var(--blue)}
#assistant-help{margin-left:auto;width:25px;height:25px;font-size:12px;background:transparent;border:1px solid var(--line);flex-shrink:0}
.assistant-guidance{padding:0 0 20px;margin:0;border-bottom:1px solid var(--line)}
.assistant-greeting{font-family:Manrope,Inter,Arial,sans-serif;font-size:20px;line-height:1.45;letter-spacing:-.5px;font-weight:800;margin:0 0 10px}
#assistant-guidance-text{font-size:12px;line-height:1.85;color:var(--muted);margin:0}
#assistant-guide-action{display:block;margin:12px 0 0;padding:0;border:0;background:transparent;font-size:12px;line-height:1.6;text-align:left;color:var(--blue)}
.quick-edit-actions{display:grid;gap:7px;margin:19px 0 22px}
.quick-edit-actions button{display:flex;align-items:center;gap:9px;border:1px solid #e9ecf3;border-radius:8px;padding:11px 12px;background:#fafbfe;color:var(--navy);font-size:11px;text-align:left;min-height:40px}
.quick-edit-actions button:hover:enabled{border-color:#acbfe7;background:#f2f6ff}.quick-edit-actions button>span:first-child{display:grid;place-items:center;width:18px;height:18px;border-radius:4px;background:#edf1fb;color:var(--blue);font-size:12px}.quick-edit-actions button>span:last-child{margin-left:auto;color:#8b98b4;font-size:13px}
.studio-app #assistant-form .prompt-label{font-size:11px;font-weight:500;margin:0 0 9px}
.studio-app #assistant-prompt{min-height:116px;font-size:12px;line-height:1.8;background:#fcfcfe;resize:vertical;border-color:#dce2ed;padding:12px}
.studio-app .assistant-suggestions{margin:10px 0 14px;gap:6px}.studio-app .assistant-suggestions button{font-size:10px;border-color:#e2e7f0;border-radius:5px;padding:6px 8px;color:var(--muted)}
.studio-app .assistant-send{display:flex;width:100%;justify-content:space-between;align-items:center;border:0;background:#edf2ff;color:var(--blue);font-size:11px;font-weight:600;min-height:42px;padding:11px 12px}
.studio-app .assistant-send:hover:enabled{background:#e0eaff}.assistant-send>span{font-size:18px}
.studio-app .assistant-send:disabled{opacity:1;background:#f1f3f7;color:#959eaf;cursor:not-allowed}
.studio-app .assistant-panel>.preview-note{font-size:10px;color:#8992a4;line-height:1.7;margin:12px 0 0}
.assistant-history{margin:0 0 20px}.assistant-history>summary{font-size:11px;color:var(--muted)}.assistant-history>summary span{font-size:10px}
.studio-app .assistant-messages{max-height:250px;padding:14px 0 0;gap:10px}.studio-app .assistant-message{font-size:12px;line-height:1.8;padding:12px;border-radius:8px}.studio-app .assistant-message.user{background:#f3f4f7;margin-left:12px}.studio-app .assistant-message.assistant{border:0;background:#f0f4ff;margin-right:8px}
#assistant-progress progress{height:5px}#assistant-progress p{font-size:11px}
.assistant-panel[data-busy="true"] .assistant-mark i,.studio-app[data-working="true"][data-stage="1"] .import-welcome .assistant-mark i{animation:assistant-working 1.15s ease-in-out infinite}.assistant-panel[data-busy="true"] .assistant-mark i:nth-child(2){animation-delay:.15s}.assistant-panel[data-busy="true"] .assistant-mark i:nth-child(3){animation-delay:.3s}
@keyframes assistant-working{0%,100%{opacity:.35;scale:1 .6}50%{opacity:1;scale:1 1}}
/* QA and delivery retain explicit approvals; details appear when relevant. */
.studio-app .qa-panel,.studio-app .export-panel{padding:26px}
.studio-app .qa-top{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 24px;gap:28px}
.studio-app .qa-score{min-width:200px}.studio-app .qa-score>strong{font-size:48px;letter-spacing:-2px}.studio-app .qa-score>span{font-size:14px}.studio-app .qa-score small{font-size:10px}
.studio-app #qa-state{font-size:12px;line-height:1.8}.studio-app .qa-findings{background:#fcfcfe;border:1px solid var(--line);padding:14px 17px;border-radius:8px}.studio-app .qa-findings summary{font-size:12px;font-weight:500}
.studio-app .qa-renders{gap:20px;margin:22px 0}.studio-app .qa-renders article{border-radius:9px}.studio-app .qa-renders .card-kicker{font-size:10px;letter-spacing:.3px;padding:15px;background:#fff}
.studio-app .qa-approval .flow-check{font-size:12px;line-height:1.8}.studio-app .qa-approval .primary{font-size:12px;min-height:46px}
.delivery-tabs{display:inline-flex;border-radius:8px;background:#f1f3f8;padding:4px;gap:4px;margin-bottom:10px;max-width:100%}
.delivery-tabs button{background:transparent;border:0;border-radius:5px;color:var(--muted);font-size:12px;padding:11px 17px;line-height:1.5}
.delivery-tabs button[aria-pressed="true"]{background:#fff;color:var(--navy);box-shadow:0 1px 4px #071e6110}
.studio-app .export-options{display:block;margin:15px 0 22px;max-width:650px}.studio-app .export-options article{padding:25px;border:1px solid var(--line);border-radius:10px;background:#fcfcff}
.studio-app .export-options .export-icon{display:none}.studio-app .export-options h3{font-size:22px;margin:12px 0}.studio-app .export-options p{font-size:12px}.studio-app #zip-slot{margin-top:20px}
.studio-app #library-dialog{width:min(720px,calc(100vw - 30px));padding:28px;margin-block:auto;max-height:85dvh}
.studio-app #library-dialog .dialog-top h2{font-size:25px;font-weight:800;letter-spacing:-.7px;margin-top:0}.studio-app #library-dialog .stage-intro{font-size:12px;margin:15px 0 20px}
#history-search{width:100%;font:12px/1.7 Inter,Arial,sans-serif;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff;color:var(--navy);margin-bottom:14px}
.studio-app #history-list{display:grid;grid-template-columns:1fr;gap:0;max-height:50dvh;overflow:auto}
.studio-app .history-button{position:relative;display:grid;grid-template-columns:1fr auto;gap:5px;padding:16px 10px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--navy);margin:0}
.history-button>strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;padding-right:22px;grid-column:1}.history-button>span:nth-child(2){font-size:11px;color:var(--muted);grid-column:1}.history-button>span:last-child{font-size:16px;color:var(--blue);grid-column:2;grid-row:1/3;align-self:center}
.studio-app .history-button:hover{background:#f0f4ff;border-color:var(--line)}.library-empty{font-size:13px;line-height:1.9;color:var(--muted);padding:22px 0}.studio-app #history-empty{font-size:12px;margin:20px 0}
.studio-app footer{margin-top:20px;padding:20px 0;font-size:9px;border-top:1px solid var(--line)}
@media(min-width:1700px){.studio-app .workspace{grid-template-columns:minmax(0,1fr) 370px}}
@media(max-width:1100px){.studio-app header{padding:0 22px;gap:12px}.header-tools{margin-left:3px}.header-tool{font-size:11px;padding:9px}.studio-app .workspace{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.studio-app .assistant-panel{padding:19px}.studio-app main{padding:25px 22px 12px}.studio-app .output-panel{padding:15px}.studio-app .preview-shell{padding:12px 6px}}
@media(max-width:950px){.studio-app .workspace{grid-template-columns:1fr}.studio-app .assistant-panel{position:static;max-height:none;overflow:visible;order:0}.studio-app .output-panel{order:1}.studio-app .assistant-top{margin-bottom:14px}.studio-app .assistant-guidance{padding-bottom:15px}.quick-edit-actions{grid-template-columns:1fr 1fr;margin:15px 0}.studio-app #assistant-prompt{min-height:85px}.studio-app .assistant-greeting{font-size:18px;margin-bottom:7px}.studio-app .assistant-panel>.preview-note{margin-top:9px}.studio-app .process-nav{display:flex}.studio-app .process-nav button{border:0;padding:12px 8px 15px}.studio-app #builder-audit-state{display:none}.studio-app .workspace-button{max-width:180px}.studio-app .workspace-button strong{max-width:130px}.studio-app #content-approve{min-width:156px;font-size:11px;padding:12px 14px}.studio-app .studio-intro h1{font-size:26px}.studio-app .studio-intro .intro{font-size:11px}}
@media(max-width:640px){.studio-app header{height:auto;min-height:65px;padding:8px 16px;gap:8px;flex-wrap:wrap}.studio-app .brand.mc-wordmark img{width:125px;height:46px}.studio-app .workspace-button{margin-left:auto;max-width:155px}.studio-app .workspace-button strong{max-width:106px;font-size:11px}.studio-app .workspace-avatar{display:none}.studio-app .logout{font-size:0;width:23px;padding:3px}.studio-app .logout:after{content:'↗';font-size:18px}.studio-app .header-tools{order:5;width:100%;padding:3px 0 0;margin:0;border-top:1px solid #f0efe9;gap:14px}.header-tool{padding:6px 0;font-size:11px}.studio-app main{padding:24px 16px 12px}.studio-app .studio-intro{align-items:flex-start;margin-bottom:21px;flex-direction:column;gap:16px}.studio-app .studio-intro h1{font-size:26px;letter-spacing:-.9px}.intro-kicker{font-size:8px;margin-bottom:8px}.studio-app .studio-intro .intro{font-size:12px}.studio-app #stage-actions{width:100%}.studio-app #content-approve{width:100%;min-height:44px;font-size:12px}.studio-app .process-nav{margin-bottom:20px}.studio-app .process-nav button{flex-direction:row;gap:6px;padding:10px 2px 14px}.studio-app .process-nav span{font-size:10px}.studio-app .process-nav b{width:20px;height:20px;font-size:8px}.studio-app[data-stage="1"] .workspace{margin:26px auto 40px}.studio-app .input-panel{padding:23px 19px}.import-welcome{gap:12px;margin-bottom:22px}.import-welcome strong{font-size:16px}.import-welcome p{font-size:12px}.studio-app .figma-dropzone{padding:22px 15px;min-height:210px}.studio-app .figma-dropzone>strong{font-size:13px}.studio-app .assistant-panel{padding:20px}.studio-app .output-panel{padding:14px}.studio-app .quick-edit-actions button{font-size:10px;padding:10px 8px;gap:6px}.quick-edit-actions button>span:last-child{display:none}.studio-app .audit-more{font-size:9px}.studio-app .email-tools>summary>span{font-size:9px}.studio-app .email-tools .delivery{align-items:flex-start;gap:15px;flex-direction:column}.studio-app .qa-panel,.studio-app .export-panel{padding:20px}.studio-app .qa-top{grid-template-columns:1fr;gap:20px}.studio-app .qa-renders{grid-template-columns:1fr}.studio-app .qa-top .text-link{margin-left:0;font-size:11px}.studio-app .qa-approval{gap:20px}.studio-app .delivery-tabs{display:flex}.delivery-tabs button{font-size:11px;padding:10px 8px;flex:1}.studio-app .export-options article{padding:22px}.studio-app #library-dialog{padding:23px}.studio-app footer{line-height:1.7}}
@media(prefers-reduced-motion:reduce){.assistant-panel[data-busy="true"] .assistant-mark i,.studio-app[data-working="true"][data-stage="1"] .import-welcome .assistant-mark i{animation:none}}

.studio-app #workspace-admin #connections-open{display:inline-flex;margin-top:24px;font-size:12px;padding:12px 15px}

.studio-app button:disabled{cursor:not-allowed}.studio-app .primary:disabled{background:#edf0f7;color:#939db0;opacity:1}

/* On narrow screens, the two working surfaces share one accessible, explicit switch. */
.workbench-tabs{display:none}
@media(max-width:950px){
 .studio-app .workbench-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--line);background:#f0f2f7;border-radius:8px;margin:0 0 16px}
 .workbench-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:12px;line-height:1.7;padding:10px 8px}
 .workbench-tabs button[aria-pressed="true"]{background:white;box-shadow:0 1px 4px #071e610a;color:var(--navy);font-weight:600}
 .workbench-tabs button>span{color:var(--blue);font-size:14px}
 .studio-app[data-mobile-pane="email"] .assistant-panel{display:none}
 .studio-app[data-mobile-pane="assistant"] .output-panel{display:none}
}

/* Generation stays explicit; one calm, drifting editorial bubble at a time. */
.studio-app .wait-preview-link{display:block;margin:18px auto 0;padding:7px 0;border:0;background:none;color:var(--navy);font-size:12px}.wait-preview-link span{color:var(--muted);font-size:10px;margin-left:5px}
.generation-inline-title{display:flex;gap:9px;align-items:center;font-size:14px;line-height:1.5}.wait-status-dot{width:8px;height:8px;flex-shrink:0;background:var(--blue,#0862ff);border-radius:50%;box-shadow:0 0 0 4px #0862ff16;animation:wait-pulse 2s ease-in-out infinite}.studio-app #generation-reopen{margin:12px 0}
.studio-app dialog.generation-wait{width:min(900px,calc(100vw - 32px));max-height:calc(100svh - 32px);padding:26px 40px 20px;border:1px solid #dde5f8;border-radius:24px;background:radial-gradient(ellipse at 50% 20%,#eaf0ff 0,transparent 57%),#faf8f2;box-shadow:0 28px 120px #071e6130;overflow:auto}.generation-wait::backdrop{background:#071e6175;backdrop-filter:blur(6px)}
.wait-top{display:flex;justify-content:space-between;align-items:center;gap:14px}.wait-mode{font-size:10px;font-weight:700;letter-spacing:1.2px;color:#0862ff}.wait-dismiss{border:1px solid #dce2ef;background:#ffffffb3;border-radius:25px;padding:9px 14px;font-size:11px;color:var(--navy);flex-shrink:0}.wait-heading{text-align:center;margin-top:16px}.wait-orbit{position:relative;width:58px;height:58px;border:1px solid #0862ff30;border-radius:50%;display:grid;place-items:center;margin:0 auto 16px}.wait-orbit>span{font-size:34px;color:#0862ff;animation:wait-turn 18s linear infinite}.wait-orbit i{position:absolute;left:-4px;top:24px;width:7px;height:7px;background:#0862ff;border-radius:50%}.wait-orbit i:last-child{left:auto;right:-3px;background:#9cb5ef}.wait-eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#536792;margin:0 0 12px}.studio-app .generation-wait h2{font-family:Manrope,Inter,sans-serif;font-size:clamp(26px,3.2vw,40px);font-weight:800;line-height:1.18;letter-spacing:-1.3px;margin:0;color:var(--navy)}.generation-wait #wait-description{font-size:12px;line-height:1.8;color:#58647e;margin:14px 0 0}.wait-tracking{max-width:490px;margin:25px auto 0}.wait-progress-label{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;min-height:28px}.wait-progress-label strong{color:#0862ff;font-variant-numeric:tabular-nums;white-space:nowrap}.generation-wait progress{display:block;width:100%;height:7px;border:0;border-radius:20px;overflow:hidden;appearance:none;background:#e0e6f3;accent-color:#0862ff}.generation-wait progress::-webkit-progress-bar{background:#e0e6f3;border-radius:20px}.generation-wait progress::-webkit-progress-value{background:#0862ff;border-radius:20px;transition:width .7s ease}.generation-wait progress::-moz-progress-bar{background:#0862ff;border-radius:20px}.wait-tracking>p{text-align:center;font-size:10px;color:#62708e;line-height:1.6;margin:9px 0 0}
.wait-learning{padding:28px 24px 18px;max-width:660px;margin:auto}.wait-bubble{position:relative;background:#fff;border:1px solid #dfe5f0;border-radius:20px 20px 20px 5px;padding:24px 26px;box-shadow:0 12px 34px #071e6109;animation:wait-drift 20s ease-in-out infinite;transform-origin:center}.wait-bubble-top{display:flex;justify-content:space-between;gap:10px;font-size:9px;letter-spacing:1px;font-weight:700;color:#0862ff}.wait-bubble-top>span:last-child{color:#64718c;font-size:8px;letter-spacing:.6px}.studio-app .wait-bubble h3{font-family:Manrope,Inter,sans-serif;font-size:21px;line-height:1.35;letter-spacing:-.6px;margin:17px 0 10px;color:var(--navy)}.wait-bubble>p{font-size:12px;line-height:1.85;color:#4d5b77;margin:0;min-height:67px}.wait-news-footer{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:18px;font-size:10px;color:#6b7690}.wait-news-footer a{color:#0862ff;text-decoration:none}.wait-news-footer a:hover{text-decoration:underline}.wait-controls{display:flex;align-items:center;justify-content:space-between;max-width:550px;margin:0 auto;gap:10px;color:#64718c;font-size:10px}.wait-controls>div{display:flex;gap:8px}.wait-controls button{border:0;background:transparent;color:var(--navy);font-size:11px;padding:8px}.wait-editorial{text-align:center;color:#71809a;font-size:9px;margin:13px 0 0}.wait-paused .wait-bubble,.wait-bubble:hover,.wait-bubble:focus-within{animation-play-state:paused}.wait-paused .wait-orbit>span{animation-play-state:paused}
@keyframes wait-drift{0%,100%{transform:translate(-10px,3px) rotate(-.25deg)}50%{transform:translate(12px,-8px) rotate(.25deg)}}@keyframes wait-turn{to{transform:rotate(360deg)}}@keyframes wait-pulse{50%{box-shadow:0 0 0 7px #0862ff08}}
@media(max-width:640px){.studio-app dialog.generation-wait{padding:18px 18px 16px;border-radius:18px}.wait-top{gap:8px}.wait-mode{font-size:8px;letter-spacing:.7px}.wait-dismiss{font-size:10px;padding:8px 10px}.wait-heading{margin-top:22px}.generation-wait #wait-description br{display:none}.wait-learning{padding:22px 0 14px}.wait-bubble{padding:20px;animation:none}.wait-bubble-top{flex-wrap:wrap}.studio-app .wait-bubble h3{font-size:19px}.wait-news-footer{flex-wrap:wrap}.wait-progress-label{font-size:10px}.wait-preview-link span{display:block;margin:5px 0 0}.wait-editorial{font-size:8px}.wait-tracking{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.wait-bubble,.wait-orbit>span,.wait-status-dot{animation:none!important}.generation-wait progress::-webkit-progress-value{transition:none}}

/* Configured production and the isolated public example reuse the same studio. */
.studio-app header{height:62px}.studio-app main{padding-top:18px}.studio-app .studio-intro{margin-bottom:14px}.studio-app .studio-intro h1{font-size:27px}.studio-app .process-nav{margin-bottom:16px}.studio-app .process-nav button{padding-top:8px;padding-bottom:12px}.studio-app[data-stage="2"] .intro-kicker{display:none}.studio-app[data-stage="2"] .studio-intro h1{font-size:23px}.studio-app[data-stage="2"] #page-description{font-size:11px}.studio-app[data-stage="2"] iframe{height:max(520px,calc(100dvh - 260px))}.studio-app[data-stage="1"] .workspace{margin:22px auto 45px}
#production-format-wrap{margin:0 0 16px}#production-format-wrap strong{display:block;font-size:13px;padding:10px 0}#production-format-note{font-size:11px;margin:5px 0;line-height:1.7}.brief-upload-icon{font-size:30px!important;color:var(--blue);line-height:1;margin-bottom:14px}.studio-app .import-welcome p{max-width:540px}
.production-summary{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:12px}.production-summary>div{flex:1;min-width:0}.production-summary strong{font-size:12px;line-height:1.7;display:block}.production-summary p{font-size:11px;line-height:1.7;color:var(--muted);margin:3px 0}.production-summary>div>span{font-size:10px;color:var(--muted)}.production-summary .text-link{font-size:11px;padding:5px 0}.qa-score #qa-score.audit-status-text{font-size:20px;letter-spacing:-.5px;line-height:1.4}.qa-score:has(.audit-status-text){align-items:start}.qa-score>span>span{display:block}
.demo-banner{display:flex;justify-content:space-between;gap:24px;align-items:center;border-bottom:1px solid #dae3f5;padding:11px 30px;background:#eef3ff;color:var(--navy)}.demo-banner>div:first-child{display:flex;gap:16px;align-items:center;flex:1}.demo-banner strong{font-size:11px;white-space:nowrap}.demo-banner span{font-size:10px;line-height:1.7;max-width:660px;color:#556581}.demo-banner>div:last-child{display:flex;gap:14px;align-items:center}.demo-banner a,.demo-banner button{font-size:10px;line-height:1.6;color:var(--navy)}.demo-banner button{border:0;border-left:1px solid #ccd8ef;padding:0 0 0 14px;background:none;white-space:nowrap}.demo-banner a{text-decoration:none;max-width:150px}
body[data-demo="true"] #workspace-open,body[data-demo="true"] #logout,body[data-demo="true"] #dropzone,body[data-demo="true"] #production-format-wrap,body[data-demo="true"] #figma-source,body[data-demo="true"] .production-options,body[data-demo="true"] #image-dropzone,body[data-demo="true"] #assistant-form,body[data-demo="true"] .assistant-suggestions,body[data-demo="true"] #pdf,body[data-demo="true"] [data-delivery="esp"],body[data-demo="true"] #generation-preview{display:none!important}body[data-demo="true"] .header-tools{margin-left:auto}body[data-demo="true"] #demo-brief{display:block}body[data-demo="true"][data-stage="1"] .import-welcome{display:none}body[data-demo="true"] .production-summary{flex-wrap:wrap}body[data-demo="true"] .generation-wait h2{font-size:34px}
.demo-brief-heading{margin-bottom:22px}.demo-brief-heading .mini-badge{font-size:9px;letter-spacing:.6px;color:#62708d}.studio-app .demo-brief-heading h2{font-size:23px;letter-spacing:-.7px;font-weight:800;line-height:1.3;margin:14px 0 8px}.demo-brief-heading p{font-size:12px;color:var(--muted);line-height:1.7}.demo-field-group{border:1px solid var(--line);border-radius:9px;margin:0 0 10px;padding:0 15px}.demo-field-group>summary{font-size:12px;font-weight:600;padding:15px 0;cursor:pointer}.demo-field{display:block;padding:0 0 15px}.demo-field>span{display:block;font-size:11px;color:var(--muted);margin:0 0 7px}.demo-field input,.demo-field select,.demo-field textarea{width:100%;font-size:12px}.demo-field textarea{min-height:90px;line-height:1.8}.demo-file-options{margin:22px 0;border-top:1px solid var(--line);padding:17px 0 0}.demo-file-options summary{font-size:11px;color:var(--navy)}.demo-file-options p{font-size:11px;line-height:1.8;color:var(--muted)}.demo-file-options a{font-size:11px;display:inline-block}.demo-import-button{display:block;padding:11px 14px;border:1px dashed #bdcbe8;background:#f6f8fc;border-radius:7px;font-size:12px;margin-top:12px;cursor:pointer}.demo-qualification{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.demo-qualification h3{font-family:Manrope,Inter,sans-serif;font-size:18px;line-height:1.4;font-weight:800;letter-spacing:-.4px;margin:8px 0}.demo-qualification p{font-size:12px;line-height:1.8;color:var(--muted)}.demo-qualification a.primary{display:flex;text-decoration:none;text-align:center;justify-content:center;font-size:11px;line-height:1.7;padding:13px}.demo-qualification>.text-link{display:block;font-size:10px;line-height:1.7;margin-top:12px;overflow-wrap:anywhere}.export-panel>.demo-qualification{max-width:680px;padding:28px;background:#f3f6ff;border:1px solid #d9e4ff;border-radius:10px;margin:28px auto 0}.export-panel>.demo-qualification h3{font-size:25px}.export-panel>.demo-qualification a.primary{display:inline-flex;font-size:13px}#demo-image-control{margin:15px 0}
@media(max-width:950px){.demo-banner{gap:12px}.demo-banner>div:first-child{display:block}.demo-banner strong{display:block;margin-bottom:5px}.demo-banner span{display:block}.demo-banner>div:last-child{flex-shrink:0;max-width:150px;display:block}.demo-banner button{display:block;padding:6px 0 0;border:0}.studio-app[data-stage="1"] .workspace{margin-top:18px}.production-summary{gap:12px}}
@media(max-width:640px){.demo-banner{padding:12px 16px;align-items:start}.demo-banner span{font-size:9px}.demo-banner>div:last-child{max-width:110px}.demo-banner a,.demo-banner button{font-size:9px}.studio-app main{padding-top:16px}.studio-app .studio-intro h1{font-size:24px}.studio-app .process-nav span{font-size:10px}.studio-app .process-nav button{gap:6px;padding-left:5px;padding-right:5px}.production-summary{display:block}.production-summary>div+div{margin-top:8px}.demo-brief-heading h2{font-size:21px}.studio-app .input-panel{padding:23px}.demo-banner strong{white-space:normal}body[data-demo="true"] header .header-tools{order:0;width:auto;border:0;margin-left:auto}.studio-app .process-nav{margin-bottom:12px}.export-panel>.demo-qualification{padding:20px}}
.studio-app .output-panel>.section-heading{display:none}.studio-app .output-panel{padding:16px}.studio-app .output-panel .result-toolbar{margin-bottom:8px}.studio-app .output-panel .edit-guidance{margin-bottom:8px}.studio-app .preview-shell{padding:12px 8px}.studio-app #process-feedback{padding:7px 12px;margin-bottom:12px;font-size:11px}.studio-app .assistant-panel .assistant-top{margin-bottom:18px}.assistant-panel .production-summary{display:block;padding-bottom:16px;margin-bottom:16px}.assistant-panel .production-summary>div+div{margin-top:10px}.email-content-alert{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff8e8;border:1px solid #f0e3be;padding:8px 11px;margin-bottom:10px;border-radius:7px;font-size:11px;color:#7d5a23}.email-content-alert button{font-size:10px;white-space:nowrap}
.demo-permanent-label{position:fixed;z-index:30;bottom:12px;left:12px;padding:7px 11px;border:1px solid #d5dff3;border-radius:20px;background:#f5f8ffed;color:#071e61;box-shadow:0 2px 10px #071e610a;font-size:9px;pointer-events:none}
body[data-demo="true"] .qa-render-empty{min-height:140px;padding:24px;line-height:1.8}body[data-demo="true"] .qa-approval .flow-check{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px}body[data-demo="true"] .qa-approval .flow-check input{margin-top:3px;flex-shrink:0}
body[data-demo="true"] .email-tools .delivery,body[data-demo="true"] #source-brief{display:none!important}
/* Public example: the real workbook and its configured destinations. */
body[data-demo="true"][data-stage="1"] main{max-width:1440px}
body[data-demo="true"][data-stage="1"] .workspace{max-width:1320px}
body[data-demo="true"] .demo-brief-heading{max-width:760px;margin-bottom:22px}
.demo-mapping-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:24px;align-items:start}
.demo-sheet,.demo-template{min-width:0;border:1px solid #dfe4eb;border-radius:9px;overflow:hidden;background:#fff}
.demo-file-bar{display:flex;align-items:center;gap:9px;padding:13px;background:#f2f7f3;border-bottom:1px solid #d5e5da;font-size:11px;color:#28563d}.demo-file-bar strong{font-weight:600;overflow-wrap:anywhere}.demo-file-bar a{margin-left:auto;color:inherit;font-size:20px;text-decoration:none;min-width:30px;text-align:center}.demo-excel-icon{background:#28744c;color:white;font-weight:800;font-size:13px;padding:4px 7px;border-radius:3px}
.demo-sheet-scroll{max-height:597px;overflow:auto;scrollbar-width:thin}.demo-sheet-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px}.demo-sheet-table th,.demo-sheet-table td{border-bottom:1px solid #e5e9ed;border-right:1px solid #e5e9ed;padding:0;text-align:left;vertical-align:middle}.demo-sheet-table thead{position:sticky;top:0;z-index:1}.demo-sheet-table thead th{padding:10px 8px;background:#f0f2f5;font-size:10px;font-weight:500}.demo-sheet-table th:first-child{width:30px;text-align:center;color:#788398;background:#f0f2f5;font-weight:400;font-size:10px}.demo-sheet-table th:nth-child(2){width:33%}.demo-sheet-table td>label{display:block;padding:10px;font-size:10px;line-height:1.6;font-weight:500;color:#56617a}.demo-sheet-table td:last-child{background:#fffdf2}.demo-sheet-table input,.demo-sheet-table textarea,.demo-sheet-table select{font-family:Inter,Arial,sans-serif;width:100%;min-width:0;border:0;border-radius:0;background:transparent;padding:12px 10px;font-size:11px;line-height:1.6;color:#172442;box-shadow:none;resize:vertical}.demo-sheet-table input{height:48px}.demo-sheet-table select{padding-right:20px}.demo-sheet-table input:focus,.demo-sheet-table textarea:focus,.demo-sheet-table select:focus{outline:2px solid #3159ed;outline-offset:-2px;background:#f0f4ff}.demo-sheet-row.is-selected>th,.demo-sheet-row.is-selected>td:first-of-type{background:#eaf0ff;color:#234ce1}.demo-sheet-tab{padding:11px 13px;border-top:1px solid #dfe4eb;font-size:11px;font-weight:600;color:#28744c;background:#f8faf9}.demo-sheet-tab span{float:right;font-size:9px;color:#7a8495;font-weight:400}
.demo-template-bar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px;border-bottom:1px solid #e2e6ee;font-size:11px}.demo-template-bar span{font-size:9px;color:#3159ed}.studio-app #demo-template-preview{display:block;width:100%;max-width:100%;height:600px;border:0;box-shadow:none;background:#f0ebe3}.demo-template>p{font-size:9px;color:#65708a;line-height:1.7;margin:0;padding:10px 14px;border-top:1px solid #e2e6ee}.demo-file-options{margin:20px 0 18px}.demo-file-options[open]{max-width:640px}.demo-file-options summary{cursor:pointer}.demo-file-options .demo-import-button{max-width:320px}.demo-brief-heading p{margin-bottom:0}
@media(max-width:950px){.demo-mapping-layout{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}body[data-demo="true"] .input-panel{padding:20px}.demo-sheet-table th:nth-child(2){width:31%}.demo-sheet-table td>label{padding:8px;font-size:9px}.demo-sheet-table input,.demo-sheet-table textarea,.demo-sheet-table select{font-size:10px;padding:10px 7px}}
@media(max-width:700px){.demo-mapping-layout{grid-template-columns:minmax(0,1fr)}.demo-sheet-scroll{max-height:340px}.studio-app #demo-template-preview{height:440px}.demo-sheet-table td>label{font-size:10px}.demo-template-bar{padding:12px}.demo-template-bar span{width:100%}.demo-file-bar{font-size:10px}.demo-sheet-table th:nth-child(2){width:34%}.demo-sheet-table input,.demo-sheet-table textarea,.demo-sheet-table select{font-size:11px}body[data-demo="true"] .demo-brief-heading h2{font-size:22px}body[data-demo="true"] #integrate{font-size:12px}}
@media(prefers-reduced-motion:reduce){.demo-sheet-row{scroll-behavior:auto}}
.demo-sheet-table textarea{min-height:62px;max-height:180px}.demo-sheet-table textarea[rows="3"]{min-height:94px}.demo-generation-action{position:sticky;bottom:0;z-index:2;padding-top:12px;background:#fff;border-radius:8px;box-shadow:0 -8px 18px #fff}.demo-generation-action #integrate{width:100%}.demo-generation-action .privacy{margin-bottom:0;padding-bottom:6px}
/* This preview follows its column, independently from the fixed-width email editor. */
.studio-app #demo-template-preview{min-width:0;margin:0}
.demo-generation-action{position:static;padding-top:0;box-shadow:none}
.demo-example-picker{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:24px 0 10px}.demo-example-picker button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;min-width:0;min-height:112px;border:1px solid #dfe4eb;background:#fff;border-radius:9px;color:#172442;padding:13px 7px}.demo-example-picker button[aria-pressed=true]{border-color:#3159ed;box-shadow:0 0 0 1px #3159ed;background:#f4f7ff}.demo-example-picker button:hover{background:#f4f7ff}.demo-example-picker strong{font-size:11px}.demo-example-picker small{font-size:10px;color:#65708a}.demo-type-icon{height:31px;display:block}.demo-type-icon svg{width:29px;height:31px}.demo-sheet-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.demo-sheet-tabs button,.demo-batch-bar button{font-size:11px;padding:10px 12px;border:1px solid #dfe4eb;border-radius:7px;background:#fff;color:#53617c}.demo-sheet-tabs [aria-pressed=true],.demo-batch-bar [aria-pressed=true]{color:#234ce0;border-color:#8fa9ee;background:#eef3ff}.demo-batch-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;border:1px solid #dfe4eb;border-radius:10px;background:white;padding:14px 17px;margin:0 0 18px}.demo-batch-bar>strong{font-size:11px;margin-right:12px}.demo-source-artifact{padding:12px;border-bottom:1px solid #dfe4eb;background:#f8f9fa}.demo-source-artifact summary{font-size:11px;color:#53617c;margin-bottom:10px;cursor:pointer}.demo-source-artifact img{display:block;width:100%;max-height:260px;object-fit:contain;background:#f3efe8}.demo-source-artifact:not([hidden])~.demo-sheet-scroll{max-height:320px}#demo-example-note{margin:10px 0 20px}
@media(max-width:950px){.demo-example-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.demo-example-picker button{min-height:96px}.demo-batch-bar>strong{width:100%}}
@media(max-width:480px){.demo-example-picker{gap:7px}.demo-example-picker strong{font-size:10px}.demo-example-picker small{font-size:9px}.demo-example-picker button{padding:10px 5px}.demo-sheet-tabs{gap:5px}.demo-sheet-tabs button{font-size:10px;padding:8px}.demo-batch-bar button{font-size:10px;padding:9px}.demo-source-artifact img{max-height:220px}}
.demo-file-bar[data-source="pdf"]{background:#fff5f2;color:#a54b3b}.demo-file-bar[data-source="pdf"] .demo-excel-icon{background:#b65441;font-size:9px}.demo-file-bar[data-source="figma"]{background:#f6f2ff;color:#6d4da3}.demo-file-bar[data-source="figma"] .demo-excel-icon{background:#8754c3}.demo-file-bar[data-source="jpeg"]{background:#fff8ec;color:#946b29}.demo-file-bar[data-source="jpeg"] .demo-excel-icon{background:#a67d37;font-size:9px}
#demo-source-open{text-decoration:none}.demo-source-zoom{display:block;font-size:10px;color:#3159ed;text-align:right;padding:8px 0 0}
/* One primary scenario; source diversity is a secondary discovery. */
.demo-other-formats{margin:0 0 14px;padding:0;border:0}.demo-other-formats>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;font-size:11px;font-weight:500;color:#3159ed;cursor:pointer;padding:6px 0}.demo-other-formats>summary::-webkit-details-marker{display:none}.demo-other-formats>summary:after{content:'+';font-size:16px}.demo-other-formats[open]>summary:after{content:'−'}.demo-other-formats[open]{padding-bottom:16px;border-bottom:1px solid #e3e6ed}.demo-other-formats .demo-example-picker{margin-top:12px}.demo-mobile-switch{display:none}.demo-template-bar>strong{font-size:11px}.demo-brief-heading{margin-bottom:12px}
@media(max-width:700px){.demo-mobile-switch{display:flex;background:#eef1f6;padding:3px;border-radius:8px;margin:0 0 14px}.demo-mobile-switch button{flex:1;padding:11px 8px;border:0;background:transparent;color:#65708a;font-size:11px;border-radius:6px}.demo-mobile-switch button[aria-pressed=true]{background:white;color:#173bba;box-shadow:0 1px 3px #071e6110}.demo-mapping-layout[data-demo-pane="brief"]>.demo-template{display:none}.demo-mapping-layout[data-demo-pane="email"]>.demo-sheet{display:none}.demo-other-formats>summary{font-size:11px}.demo-template-bar>strong{line-height:1.6}}
body[data-demo="true"] .demo-brief-heading{position:relative;max-width:none;padding-right:335px;min-height:118px;margin-bottom:14px}.demo-brief-heading .demo-generation-action{position:absolute;right:0;top:16px;width:300px}.demo-brief-heading .privacy{text-align:center;font-size:9px}.demo-brief-heading .demo-generation-action #integrate{font-size:12px;min-height:48px}.demo-other-formats+.preview-note{margin-top:6px!important}.demo-brief-heading>p{max-width:740px}
@media(min-width:701px) and (max-width:1000px){body[data-demo="true"] .demo-brief-heading{padding-right:260px}.demo-brief-heading .demo-generation-action{width:235px}}
@media(max-width:700px){body[data-demo="true"] .demo-brief-heading{padding-right:0;min-height:0}.demo-brief-heading .demo-generation-action{position:static;width:100%;margin-top:17px}.demo-brief-heading .privacy{text-align:left;font-size:9px}}
/* Keep the email visible on laptop screens when navigating a generated batch. */
@media(min-width:951px){body[data-demo="true"][data-stage="2"] .demo-banner{padding:6px 30px}body[data-demo="true"][data-stage="2"] .demo-banner span{display:none}body[data-demo="true"][data-stage="2"] .demo-banner a{max-width:none;white-space:nowrap}body[data-demo="true"][data-stage="2"] main{padding-top:12px}body[data-demo="true"][data-stage="2"] .process-nav{margin-bottom:12px}body[data-demo="true"][data-stage="2"] #process-feedback{padding:5px 10px;margin-bottom:8px}body[data-demo="true"][data-stage="2"] .demo-batch-bar{padding:8px 14px;margin-bottom:10px}body[data-demo="true"][data-stage="2"] .demo-batch-bar button{padding:7px 10px}body[data-demo="true"][data-stage="2"] .preview-shell{padding-top:8px;padding-bottom:8px}}

body[data-demo-view="welcome"] main,body[data-demo-view="welcome"] footer,body[data-demo-view="welcome"] header .header-tools{display:none!important}
#demo-welcome{max-width:1260px;margin:55px auto 75px;padding:24px 36px;display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center}
#demo-welcome[hidden]{display:none}.demo-welcome-copy h1{font-size:clamp(38px,4.4vw,64px);line-height:1.06;letter-spacing:-2.8px;margin:24px 0;color:#182c49}.demo-welcome-copy h1 em{font-style:normal;color:#3159ed}.demo-welcome-copy>p{font-size:17px;line-height:1.7;max-width:470px;color:#53627b}.demo-welcome-copy .primary{margin:20px 0 12px;padding:18px 24px;width:auto;min-height:56px}.demo-welcome-copy>small{display:block;color:#617088;font-size:12px}.demo-welcome-copy p.demo-welcome-disclaimer{font-size:12px;line-height:1.65;margin-top:27px;max-width:440px}
.demo-welcome-art{padding:40px 15px;background:#eaf0ff;border-radius:32px;text-align:center}.welcome-workbook{background:white;border:1px solid #d5e5dd;padding:18px;border-radius:14px;max-width:300px;margin:0 auto;box-shadow:0 12px 25px #193a4b08}.excel-symbol{display:inline-grid;place-items:center;background:#217347;color:white;border-radius:5px;width:32px;height:38px;font-size:20px;margin-right:10px}.welcome-workbook>div{display:flex;gap:4px;margin-top:14px}.welcome-workbook i{font-style:normal;background:#edf5ee;font-size:11px;padding:7px;flex:1;color:#246441}.welcome-connector{display:block;font-size:28px;color:#3159ed;margin:18px}.welcome-mails{display:flex;align-items:center;gap:14px}.welcome-mails>div{width:33%;padding:12px 8px 17px;background:#f9f6ef;box-shadow:0 14px 24px #172b4920;min-width:0}.welcome-mails>div:nth-child(2){transform:translateY(-9px)}.welcome-mails span{display:block;font:6px Arial;letter-spacing:1.5px;margin-bottom:12px}.welcome-mails img{width:100%;aspect-ratio:1.2;object-fit:cover}.welcome-mails strong{display:block;font:17px/1.1 Georgia;margin:12px 0}.welcome-mails i{display:block;background:#d7d6cb;height:2px;margin:4px auto;width:70%}.demo-welcome-art>small{display:block;font-size:9px;letter-spacing:1.4px;margin-top:30px;color:#53627b}
#demo-intro{border:0;border-radius:24px;padding:42px 56px;text-align:center;box-shadow:0 20px 90px #12274525;max-width:calc(100vw - 40px)}#demo-intro::backdrop{background:#f3f6fbdc}#demo-intro h2{font-size:42px;color:#3159ed;letter-spacing:-1.8px;margin:25px 0 10px}#demo-intro p{color:#53627b}#demo-intro button{margin-top:20px}
#demo-import-scene{margin:25px 0;text-align:center}.demo-drop-target{border:1.5px dashed #b6c7e9;border-radius:20px;padding:25px;background:linear-gradient(125deg,#f5f8ff,#fbfdfb);overflow:hidden}.demo-drop-target>strong,.demo-drop-target>span{display:block}.demo-drop-icon{font-size:28px;color:#3159ed;margin-bottom:8px}.demo-drop-target>strong{font-size:18px;color:#213750;margin:8px}.demo-drop-target>span,.demo-drop-target>p{color:#65758a;font-size:12px}.demo-file-token{display:flex;align-items:center;text-align:left;padding:18px;background:white;border:1px solid #dbe7e0;border-radius:12px;max-width:410px;margin:22px auto 16px;box-shadow:0 8px 18px #1d3c4e09}.demo-file-token>div{min-width:0;flex:1}.demo-file-token strong{font-size:13px;overflow-wrap:anywhere}.demo-file-token small{display:block;font-size:11px;color:#627480;margin-top:6px}.demo-file-check{color:#267348;background:#edf8f0;border-radius:50%;padding:5px 8px;margin-left:9px}.demo-file-arriving .demo-file-token{animation:example-file-drop 850ms cubic-bezier(.2,.8,.2,1) both}.demo-file-arriving .demo-file-check{animation:example-file-check 1100ms both}@keyframes example-file-drop{0%{opacity:0;transform:translate(45px,-45px) rotate(5deg)}65%{opacity:1;transform:translate(0,3px) rotate(-.5deg)}100%{opacity:1;transform:none}}@keyframes example-file-check{0%,65%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:scale(1)}}
body[data-demo-view] #demo-batch-bar{display:none!important}
body[data-demo-view="import"]:not(.demo-inspecting) .demo-mapping-layout,body[data-demo-view="import"]:not(.demo-inspecting) .demo-mobile-switch,body[data-demo-view="import"]:not(.demo-inspecting) .demo-file-options{display:none!important}
body[data-demo-view="gallery"] #demo-import-scene,body[data-demo-view="gallery"] #demo-other-formats,body[data-demo-view="gallery"] #demo-example-note{display:none}
#demo-gallery{display:none}
body[data-demo-view="gallery"][data-stage="2"] .workspace{display:block!important}
body[data-demo-view="gallery"][data-stage="2"] .input-panel{display:block!important;width:100%;max-width:none}
body[data-demo-view="gallery"][data-stage="2"] .output-panel,body[data-demo-view="gallery"][data-stage="2"] #adjustment-panel,body[data-demo-view="gallery"][data-stage="2"] #content-approve,body[data-demo-view="gallery"][data-stage="2"] #workbench-tabs{display:none!important}
body[data-demo-view="gallery"] .demo-mapping-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(0,1.5fr);align-items:start;gap:24px}
body[data-demo-view="gallery"] .demo-template{display:none!important}
body[data-demo-view="gallery"] #demo-gallery{display:block;min-width:0}
.demo-gallery-heading{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.demo-gallery-heading h3{font-size:23px;margin:10px 0 0;letter-spacing:-.6px}.demo-gallery-heading>span{font-size:11px;color:#56745e;text-align:right;max-width:140px}.demo-gallery-heading+.demo-gallery-heading{display:none}#demo-gallery>p{font-size:12px;color:#63738a;line-height:1.6;margin:10px 0 18px}#demo-email-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:start}.demo-email-card{position:relative;min-width:0;background:#fff;border:1px solid #dce3ec;border-radius:13px;overflow:hidden;padding-bottom:15px;transition:border-color .2s,box-shadow .2s,translate .2s}.demo-email-card.is-selected{border-color:#3159ed;box-shadow:0 0 0 2px #3159ed1a}.demo-email-card:hover{translate:0 -3px;box-shadow:0 10px 24px #20344b12}.demo-card-top{padding:10px 12px;font-size:11px;color:#497254;background:#f3f7f3}.demo-card-image{position:relative;width:100%;aspect-ratio:3/4;overflow:hidden;background:#f5f1e9;border-bottom:1px solid #e6e9ee}.demo-card-image iframe{width:600px;height:1400px;max-width:none;border:0;transform-origin:top left;pointer-events:none}.demo-email-card>strong{display:block;padding:13px 12px 7px;font-size:13px;line-height:1.4}.demo-card-hint{font-size:11px;padding:0 12px;color:#3159ed}.demo-card-open{position:absolute;inset:0;border:0;background:transparent;cursor:pointer;width:100%}.demo-card-open:focus-visible{outline:3px solid #3159ed;outline-offset:-4px;border-radius:12px}
body[data-demo-view] #demo-sheet-tabs{display:flex!important;gap:0;padding:0;margin:0;overflow:auto;max-width:100%;border-top:1px solid #dbe6df;background:#f3f7f3}body[data-demo-view] #demo-sheet-tabs[hidden]{display:none!important}body[data-demo-view] #demo-sheet-tabs button{flex:1;white-space:nowrap;border:0;border-radius:0;padding:13px 12px;font-size:12px;color:#486754;background:transparent;min-width:max-content}body[data-demo-view] #demo-sheet-tabs button[aria-pressed="true"]{background:white;border-bottom:3px solid #267348;color:#1f623e}.demo-sheet-tab{display:none!important}#demo-back-to-gallery{margin:0 0 14px}body[data-demo-view="import"] #demo-gallery{display:none!important}
@media(max-width:1000px){#demo-welcome{gap:25px;padding:20px;margin:30px auto}.demo-welcome-art{padding:30px 12px}.welcome-mails{gap:8px}.welcome-mails strong{font-size:14px}body[data-demo-view="gallery"] .demo-mapping-layout{grid-template-columns:minmax(280px,.8fr) minmax(0,1fr)}#demo-email-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#demo-welcome{grid-template-columns:1fr;gap:30px;margin:12px auto 40px;padding:16px 22px}.demo-welcome-copy h1{font-size:42px;letter-spacing:-1.8px}.demo-welcome-copy>p{font-size:15px}.demo-welcome-copy .primary{width:100%;font-size:14px}.demo-welcome-art{padding:25px 25px}.demo-welcome-copy p.demo-welcome-disclaimer{margin-top:20px}#demo-intro{padding:30px 24px}#demo-intro h2{font-size:36px}.demo-drop-target{padding:20px 12px}.demo-drop-target>strong{font-size:16px}.demo-file-token{padding:13px 10px}.demo-file-token strong{font-size:11px}body[data-demo-view="gallery"] .demo-mapping-layout{grid-template-columns:1fr}body[data-demo-view="gallery"] .demo-mapping-layout[data-demo-pane="brief"] #demo-gallery{display:none!important}body[data-demo-view="gallery"] .demo-mapping-layout[data-demo-pane="email"] .demo-sheet{display:none!important}body[data-demo-view="gallery"] #demo-email-cards{display:flex;overflow:auto;scroll-snap-type:x mandatory;padding:3px 3px 18px;gap:14px}body[data-demo-view="gallery"] .demo-email-card{flex:0 0 78%;scroll-snap-align:start}.demo-gallery-heading h3{font-size:22px}body[data-demo-view="gallery"] .demo-mobile-switch{display:flex}#demo-back-to-gallery{font-size:12px}header .brand{z-index:1}}
@media(prefers-reduced-motion:reduce){.demo-file-arriving .demo-file-token,.demo-file-arriving .demo-file-check{animation:none}.demo-email-card{transition:none}.demo-email-card:hover{translate:none}}

body[data-demo-view] .import-welcome{display:none!important}
body[data-demo-view="gallery"] .demo-brief-heading{margin-top:0}
@media(max-width:640px){body.studio-app[data-demo="true"] header{height:auto!important;min-height:65px;display:flex;align-items:center;flex-wrap:wrap;overflow:visible}body.studio-app[data-demo="true"] header .header-tools{position:static!important;order:5;width:100%;margin:0;padding:6px 0;border-top:1px solid #efefe9;justify-content:flex-end}body[data-demo-view="welcome"] header .header-tools{display:none!important}body[data-demo-view="gallery"] #demo-gallery>p{margin-bottom:12px}body[data-demo="true"][data-stage="2"] .demo-banner>div:first-child>span{display:none}}

@media(max-width:700px){body[data-demo-view="gallery"] .studio-intro{display:none}body[data-demo-view="gallery"] .demo-brief-heading>p,body[data-demo-view="gallery"] .demo-generation-action>.privacy{display:none}body[data-demo-view="gallery"] .demo-brief-heading{margin-bottom:16px}body[data-demo-view="gallery"] .demo-generation-action{margin-top:14px}body[data-demo-view="gallery"] .demo-gallery-heading h3{font-size:20px}body[data-demo-view="gallery"] .demo-banner{padding-top:8px;padding-bottom:8px}}


/* The entrance is a spatial reveal, with no dialog and no interstitial copy. */
#demo-intro{position:fixed;inset:0;z-index:2000;padding:0;margin:0;max-width:none;width:100%;height:100%;border:0;border-radius:0;background:transparent;overflow:hidden;pointer-events:none;box-shadow:none}
#demo-intro[hidden]{display:none!important}.portal-panel{position:absolute;top:0;bottom:0;width:50.2%;background:radial-gradient(ellipse at 100% 50%,#3058ec 0,#0d235b 45%,#07152d 100%)}.portal-left{left:0;animation:portal-left 1150ms cubic-bezier(.65,0,.2,1) both}.portal-right{right:0;background:radial-gradient(ellipse at 0 50%,#3058ec 0,#0d235b 45%,#07152d 100%);animation:portal-right 1150ms cubic-bezier(.65,0,.2,1) both}.portal-halo{position:absolute;left:50%;top:50%;width:100px;height:100px;margin:-50px;border:1px solid #b8fbb9;border-radius:50%;box-shadow:0 0 35px #a4ffad88,inset 0 0 30px #60aaff77;animation:portal-halo 1150ms cubic-bezier(.5,0,.15,1) both}.portal-line{position:absolute;left:50%;top:0;height:100%;width:2px;background:#c5f7dd;box-shadow:0 0 28px 8px #7fa8ff88;animation:portal-light 1150ms ease-out both}
@keyframes portal-left{0%,12%{transform:translateX(0)}100%{transform:translateX(-101%)}}@keyframes portal-right{0%,12%{transform:translateX(0)}100%{transform:translateX(101%)}}@keyframes portal-halo{0%{opacity:0;transform:scale(.5)}20%{opacity:1}100%{opacity:0;transform:scale(18)}}@keyframes portal-light{0%{opacity:0;transform:scaleY(.1)}22%{opacity:1;transform:scaleY(1)}65%,100%{opacity:0}}
body[data-demo-view="import"] .demo-template,body[data-demo-view="import"] .demo-mobile-switch{display:none!important}body[data-demo-view="import"] .demo-mapping-layout{grid-template-columns:minmax(0,1fr)!important;max-width:900px;margin-left:auto;margin-right:auto}body[data-demo-view="import"] .demo-mapping-layout .demo-sheet{display:block!important}
body[data-demo-view="gallery"] #demo-email-cards{grid-template-columns:repeat(3,minmax(0,210px));gap:16px;align-items:start}.demo-card-image{aspect-ratio:auto;background:#faf6ef}.demo-card-image iframe{height:1000px;display:block}.demo-email-card>strong{font-size:12px;padding:11px 10px 5px}.demo-card-top{padding:8px 10px}.demo-card-hint{font-size:10px;padding:0 10px}.demo-email-card{padding-bottom:12px}
@media(max-width:1000px) and (min-width:701px){body[data-demo-view="gallery"] #demo-email-cards{grid-template-columns:repeat(2,minmax(0,190px))}}
@media(max-width:700px){body[data-demo-view="gallery"] .demo-email-card{flex-basis:64%}}
@media(prefers-reduced-motion:reduce){#demo-intro{display:none!important}.portal-panel,.portal-halo,.portal-line{animation:none!important}}

/* Focused production assistant: direct edits first, layout assistance on demand. */
.assistant-panel .production-summary{padding:0 0 16px;margin-bottom:16px}.assistant-panel .production-summary>div+div{display:none}.assistant-panel .assistant-guidance{padding:0 0 14px;margin-bottom:14px}.assistant-panel .assistant-greeting{font-size:19px;line-height:1.3}.assistant-panel #assistant-guidance-text{font-size:12px;line-height:1.7;margin-top:8px}.quick-edit-actions{display:grid;grid-template-columns:1fr;gap:8px}.quick-edit-actions button{font-size:12px;padding:12px 14px}.assistant-panel #assistant-structure{border-top:1px solid #e1e6ef;padding-top:15px;margin-top:18px}.assistant-panel #assistant-structure>summary{font-size:13px;color:#1a3156;font-weight:650;cursor:pointer}.assistant-panel #assistant-structure>p{font-size:11px;line-height:1.7}.assistant-panel #assistant-structure #assistant-form{margin-top:14px}.assistant-panel .demo-qualification{padding-top:18px;margin-top:18px}.assistant-panel .demo-qualification>h3{font-size:17px}.assistant-panel .demo-qualification>p{font-size:11px;line-height:1.7}.assistant-panel .production-summary p{font-size:11px;line-height:1.65}
/* Score encouragement celebrates the audit, never replaces final approval. */
.qa-score{position:relative;min-width:170px;min-height:130px;justify-content:center;padding:25px 22px;isolation:isolate}.qa-score>strong{position:relative;z-index:1}.audit-progress-ring{position:absolute;inset:0;width:130px;height:130px;left:50%;margin-left:-65px;transform:rotate(-90deg);overflow:visible;pointer-events:none;opacity:0}.audit-scored .audit-progress-ring{opacity:1}.audit-progress-ring circle{fill:none;stroke-width:3;stroke-linecap:round}.audit-ring-track{stroke:#e4e9ef}.audit-ring-value{stroke:#a16a35;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .85s cubic-bezier(.2,.8,.2,1)}.audit-good .audit-ring-value{stroke:#26794b}.qa-score.audit-good{color:#246940}.qa-score.audit-good:after{content:'✓';position:absolute;right:8px;top:8px;width:22px;height:22px;background:#e6f7e8;border:1px solid #b9dfc4;border-radius:50%;display:grid;place-items:center;font-size:13px;color:#26794b}#audit-verdict{font-size:12px;line-height:1.6;color:#89552b;margin:15px 0 20px}#audit-verdict[data-good="true"]{color:#267047}.frozen-preview-note{font-size:12px;line-height:1.8;border-left:3px solid #3159ed;padding:12px 15px;background:#f1f5ff;color:#3c5377;border-radius:0 8px 8px 0;margin:20px 0}
.qa-renders.preview-contact-sheet{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:23px 0}.qa-renders .render-tile{padding:0 0 13px;border:1px solid #dde5ee;border-radius:12px;overflow:hidden;min-width:0;background:white;position:relative}.render-tile.has-flags{border-color:#b64a4a;box-shadow:0 0 0 1px #b64a4a20}.render-open{display:block;width:100%;padding:0;border:0;cursor:zoom-in;height:175px;overflow:hidden;background:#eff2f6}.qa-renders .render-open img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;margin:0;border:0;border-radius:0}.render-tile>strong{display:block;font-size:11px;line-height:1.5;color:#243a5c;padding:10px 12px 4px}.render-tile>small{font-size:10px;color:#3159ed;padding:0 12px;display:block}.render-flag-count{font-size:11px;color:#aa353b;position:absolute;top:9px;right:9px;background:white;border-radius:20px;padding:0 7px}.render-flag-count:empty{display:none}.review-heading{display:flex;justify-content:space-between;align-items:start;gap:20px}.review-heading h3{font-size:25px;letter-spacing:-.7px;margin:12px 0}.review-heading>span{font-size:12px;color:#9e353a;padding-top:7px;white-space:nowrap}#review-overview{border-top:1px solid #e0e7f0;padding-top:24px;margin-top:28px}#review-empty{font-size:12px;color:#67778d;line-height:1.7}#review-flag-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;padding:0}.review-flag{list-style:none;padding:15px;border:1px solid #ecd0d1;border-radius:10px;background:#fff9f8}.review-flag p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 12px}.review-flag>button{font-size:11px;color:#9b373e;text-align:left}.review-flag>div{display:flex;gap:16px;flex-wrap:wrap}.review-flag>div button{font-size:10px}.review-flag.is-resolved{border-color:#d2e4d6;background:#f6faf6}.review-flag.is-resolved>button{color:#377349}
#preview-review-dialog{width:min(1100px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:26px;border:0;border-radius:18px;box-shadow:0 30px 90px #10274640}#preview-review-dialog::backdrop{background:#0c1d3b88;backdrop-filter:blur(4px)}.preview-review-top{display:flex;justify-content:space-between;gap:20px}.preview-review-top h2{font-size:24px;line-height:1.3;margin:10px 0}.preview-review-body{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px;align-items:start}.review-image-scroll{max-height:65dvh;overflow:auto;border:1px solid #e0e5eb;border-radius:8px;background:#edf0f4;padding:12px}#review-image-canvas{position:relative;width:100%;margin:0 auto}#review-large-image{display:block;width:100%;height:auto;max-width:none}#review-image-canvas.is-pinning{cursor:crosshair}#review-pins{position:absolute;inset:0;pointer-events:none}.review-pin{position:absolute;translate:-50% -50%;background:#aa333f;color:white;width:26px;height:26px;border:2px solid white;border-radius:50% 50% 50% 3px;box-shadow:0 2px 8px #0b203b35;display:grid;place-items:center;font-size:11px;pointer-events:auto;cursor:pointer;padding:0}.review-pin.is-resolved{background:#3c8051}.review-pin.is-pending{background:#3159ed;pointer-events:none}.review-comments{max-height:65dvh;overflow:auto;padding:2px}.review-comments>p{font-size:11px;line-height:1.7;color:#66788f}.review-comments .secondary{width:100%;font-size:12px}.review-comments .secondary[aria-pressed="true"]{background:#fff2f1;border-color:#d2a4aa;color:#a3303d}#review-comment-form{margin:20px 0}#review-comment-form label{font-size:12px;display:block;margin-bottom:8px}#review-comment-form textarea{width:100%;box-sizing:border-box;font:12px/1.7 inherit;border:1px solid #d6dfed;border-radius:8px;padding:10px}#review-comment-form .primary{width:100%;font-size:11px;margin-top:10px}#review-comment-cancel{margin-top:12px;font-size:11px}#review-client-comments .review-flag{margin-bottom:10px}#review-save-status{color:#3159ed}
/* Measured production appears before delivery choices. */
#production-dashboard{padding-bottom:25px;margin-bottom:28px;border-bottom:1px solid #e0e6ed}#production-dashboard>.preview-note{max-width:860px;font-size:12px;line-height:1.8}#production-time-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:22px 0}#production-time-cards article{background:#f5f7fb;border:1px solid #e1e7f0;border-radius:12px;padding:20px}#production-time-cards article:last-child{background:#eef7ee;border-color:#d1e5d2}#production-time-cards span{display:block;font-size:12px;color:#526681}#production-time-cards strong{display:block;font-size:29px;letter-spacing:-.8px;margin:15px 0;color:#183454}#production-time-cards small{font-size:10px;line-height:1.7;color:#667990}.production-table-scroll{overflow:auto}#production-time-table{width:100%;border-collapse:collapse;font-size:12px;min-width:600px;text-align:left}#production-time-table caption{text-align:left;font-size:12px;color:#55708e;margin:5px 0 12px}#production-time-table th{color:#677b95;font-weight:500;font-size:10px}#production-time-table td,#production-time-table th{padding:14px 12px;border-bottom:1px solid #e3e9f0}#production-time-table td:first-child{font-weight:650;color:#223d60}#production-clock-state{font-size:10px;color:#617b6b}#demo-esp-next{background:#f4f7ff;border:1px solid #dae4f7;border-radius:15px;padding:25px}#demo-esp-next h3{font-size:22px}#demo-esp-next p{font-size:13px;line-height:1.8;color:#5d718a}#demo-esp-next a{font-size:12px}.export-options:has(#demo-esp-next:not([hidden])){display:grid;grid-template-columns:1fr 1fr;gap:20px}
@media(max-width:1000px){.qa-renders.preview-contact-sheet{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-review-body{grid-template-columns:minmax(0,1fr) 240px;gap:15px}#production-time-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.qa-renders.preview-contact-sheet{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.render-open{height:150px}.render-tile>strong{font-size:10px}.render-tile>small{font-size:9px}.review-heading h3{font-size:22px}.review-heading{gap:12px;flex-wrap:wrap}#review-flag-list{grid-template-columns:1fr}#preview-review-dialog{padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px);box-sizing:border-box}.preview-review-body{grid-template-columns:1fr}.review-image-scroll{max-height:43dvh;padding:6px}.review-comments{max-height:none}.preview-review-top h2{font-size:20px}#production-time-cards{gap:10px}#production-time-cards article{padding:16px}#production-time-cards strong{font-size:24px}#production-time-cards span{font-size:11px}.export-options:has(#demo-esp-next:not([hidden])){grid-template-columns:1fr}#demo-esp-next{padding:20px}.qa-score{margin:0 auto;min-width:150px;max-width:180px}}
@media(prefers-reduced-motion:reduce){.audit-ring-value{transition:none}}

body[data-demo="true"] #assistant-structure{display:none!important}

.qa-top .qa-score{display:flex;flex-direction:column;align-items:center;justify-content:center;width:170px;min-width:170px;min-height:130px;height:130px;padding:0;margin:0 0 20px;gap:0;box-sizing:border-box}.qa-top .qa-score>strong{font-size:44px;line-height:1;letter-spacing:-1.5px;margin:0;padding:0;z-index:1}.qa-top .qa-score>strong.audit-status-text{font-size:19px;line-height:1.3;letter-spacing:-.4px;text-align:center;max-width:160px}.qa-top .qa-score>span{display:contents}.qa-top .qa-score #qa-score-unit{font-size:12px;line-height:1;margin-top:6px}.qa-top .qa-score small{position:absolute;top:calc(100% + 8px);left:50%;translate:-50% 0;font-size:9px;line-height:1.3;white-space:nowrap;max-width:none;margin:0;text-align:center}.qa-top .audit-progress-ring{top:0;left:50%;width:130px;height:130px}.qa-top .qa-score.audit-good:after{right:3px;top:2px}.review-flag button.text-link{border:0;background:transparent;padding:0;font-family:inherit;cursor:pointer;line-height:1.6;text-decoration:none}.review-flag button.text-link:hover{text-decoration:underline}.review-flag>div button{color:#5c6f8a}.review-flag>div button:last-child{color:#a3464b}.studio-app .export-options:has(#demo-esp-next:not([hidden])){max-width:none}.preview-review-top .icon-button{flex-shrink:0}
@media(max-width:640px){.qa-top .qa-score{margin-left:auto;margin-right:auto}.qa-top{gap:25px}}
#demo-import-scene[data-source="pdf"] .excel-symbol{background:#b34d43;font-size:10px}#demo-import-scene[data-source="figma"] .excel-symbol{background:#7853bc}#demo-import-scene[data-source="jpeg"] .excel-symbol{background:#ad7c32;font-size:10px}

/* Large review workspace, with optional pixel-scale zoom and unchanged pin coordinates. */
#preview-review-dialog{width:calc(100vw - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);max-width:none;box-sizing:border-box;padding:22px 24px;overflow:hidden}
#preview-review-dialog[open]{display:flex;flex-direction:column;gap:0}
#preview-review-dialog .preview-review-top{flex-shrink:0;align-items:center}
#preview-review-dialog .preview-review-top h2{margin:6px 0;font-size:22px}
#preview-review-dialog #review-reference-note{flex-shrink:0;font-size:11px;margin:7px 0 10px}
.review-zoom-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:12px;flex-shrink:0}
.review-zoom-toolbar label{font-size:11px;color:#60728c}
.review-zoom-toolbar select{width:auto;min-width:165px;padding:7px 10px;font:inherit;font-size:12px;color:#223c60;border:1px solid #d8e1ef;border-radius:8px;background:#fff}
#preview-review-dialog .preview-review-body{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:stretch}
#preview-review-dialog .review-image-scroll{max-height:none;min-height:0;height:100%;box-sizing:border-box;padding:8px;overscroll-behavior:contain}
#preview-review-dialog .review-comments{min-height:0;max-height:100%;overscroll-behavior:contain}
#review-image-canvas{max-width:none;flex-shrink:0}
@media(max-width:900px) and (min-width:641px){#preview-review-dialog .preview-review-body{grid-template-columns:minmax(0,1fr) 220px;gap:12px}}
@media(max-width:640px){#preview-review-dialog{width:100vw;height:100dvh;max-height:100dvh;padding:14px 12px;border-radius:0}#preview-review-dialog .preview-review-top h2{font-size:18px}#preview-review-dialog .preview-review-body{display:block;overflow:auto}#preview-review-dialog .review-image-scroll{height:calc(100dvh - 180px);min-height:280px;padding:4px}#preview-review-dialog .review-comments{max-height:none;margin-top:16px;padding-bottom:16px}.review-zoom-toolbar{gap:9px;margin-bottom:10px}}

/* Visual sources stay documents/maquettes, never editable spreadsheet rows. */
body[data-demo-source="pdf"] .demo-sheet-scroll,body[data-demo-source="figma"] .demo-sheet-scroll,body[data-demo-source="jpeg"] .demo-sheet-scroll{display:none!important}
body[data-demo-source="pdf"] #demo-source-artifact>summary,body[data-demo-source="figma"] #demo-source-artifact>summary,body[data-demo-source="jpeg"] #demo-source-artifact>summary{display:none}
body[data-demo-source="pdf"] #demo-source-artifact,body[data-demo-source="figma"] #demo-source-artifact,body[data-demo-source="jpeg"] #demo-source-artifact{padding:20px;background:#eef1f6;border-bottom:0}
body[data-demo-source="pdf"] #demo-source-image,body[data-demo-source="figma"] #demo-source-image,body[data-demo-source="jpeg"] #demo-source-image{max-height:none;width:100%;max-width:600px;margin:0 auto;height:auto;object-fit:contain;box-shadow:0 6px 22px #14253a16;background:white}
body[data-demo-source="pdf"] #demo-source-artifact,body[data-demo-source="figma"] #demo-source-artifact,body[data-demo-source="jpeg"] #demo-source-artifact{max-height:680px;overflow:auto}
body[data-demo-source="pdf"] .demo-file-bar,body[data-demo-source="figma"] .demo-file-bar,body[data-demo-source="jpeg"] .demo-file-bar{background:#f5f7fb;color:#344f70;border-bottom-color:#dce4ee}
body[data-demo-source="pdf"] .demo-excel-icon{background:#b34d43;font-size:10px}body[data-demo-source="figma"] .demo-excel-icon{background:#7853bc}body[data-demo-source="jpeg"] .demo-excel-icon{background:#ad7c32;font-size:10px}
@media(max-width:640px){body[data-demo-source="pdf"] #demo-source-artifact,body[data-demo-source="figma"] #demo-source-artifact,body[data-demo-source="jpeg"] #demo-source-artifact{padding:12px;max-height:65dvh}}
body[data-demo-source="pdf"] #demo-import-scene,body[data-demo-source="figma"] #demo-import-scene,body[data-demo-source="jpeg"] #demo-import-scene{display:none}
body[data-demo-view="import"][data-demo-source="pdf"] .demo-mapping-layout,body[data-demo-view="import"][data-demo-source="figma"] .demo-mapping-layout,body[data-demo-view="import"][data-demo-source="jpeg"] .demo-mapping-layout{display:grid!important}

/* A choice of free exploration or contextual, action-led guidance. */
.demo-entry-options{display:flex;align-items:stretch;gap:10px;flex-wrap:wrap;margin:22px 0 10px}.demo-welcome-copy .demo-entry-options .primary,.demo-welcome-copy .demo-entry-options .secondary{margin:0;min-height:53px;padding:15px 19px;width:auto;font-size:13px}.demo-welcome-copy .demo-entry-options .secondary{display:inline-flex;justify-content:center;align-items:center;border:1px solid #cbd7ec;background:white;color:#233e67;border-radius:9px;cursor:pointer}.demo-welcome-copy>p.demo-entry-hint{font-size:11px;margin:0 0 12px;line-height:1.6;color:#63738b}
#demo-tour{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:visible;background:transparent;color:#172f53;pointer-events:none;z-index:5000}#demo-tour[hidden]{display:none!important}#demo-tour::backdrop{background:transparent;pointer-events:none}.tour-shade{position:absolute;background:#07162cb8;pointer-events:auto;transition:left .28s cubic-bezier(.2,.8,.2,1),top .28s cubic-bezier(.2,.8,.2,1),width .28s cubic-bezier(.2,.8,.2,1),height .28s cubic-bezier(.2,.8,.2,1)}.tour-spotlight{position:absolute;border:2px solid #88a8ff;border-radius:10px;box-shadow:0 0 0 4px #5b88ff24,0 0 28px #73a0ff25;pointer-events:none;box-sizing:border-box;transition:left .28s cubic-bezier(.2,.8,.2,1),top .28s cubic-bezier(.2,.8,.2,1),width .28s cubic-bezier(.2,.8,.2,1),height .28s cubic-bezier(.2,.8,.2,1)}.tour-card{position:absolute;pointer-events:auto;box-sizing:border-box;padding:21px 23px 16px;background:#fffefb;border:1px solid #e4eafa;border-radius:16px;box-shadow:0 12px 48px #03132644;font-family:Inter,Arial,sans-serif;max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}.tour-card-top{display:flex;justify-content:space-between;align-items:center;gap:15px}.tour-card-top>span{font-size:10px;font-weight:650;color:#526f98;letter-spacing:.2px}.tour-card-top button{border:0;border-radius:50%;width:26px;height:26px;padding:0;background:#edf1f8;font-size:19px;color:#536d8d;cursor:pointer;flex-shrink:0}.tour-phase-progress{display:flex;gap:5px;margin:13px 0 16px}.tour-phase-progress i{height:3px;flex:1;border-radius:4px;background:#e3e9f2}.tour-phase-progress i[data-state="done"]{background:#91bea1}.tour-phase-progress i[data-state="current"]{background:#3159ed}.tour-card h2{font:750 18px/1.35 Manrope,Inter,Arial,sans-serif;letter-spacing:-.4px;color:#193758;margin:0 0 10px}.tour-card p{font:12px/1.75 Inter,Arial,sans-serif;color:#586e8b;margin:0 0 12px}.tour-card #tour-proof{font-size:10px;line-height:1.8;padding:10px 0;border-top:1px solid #e4eafa;color:#466553}.tour-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.tour-card #tour-next{display:inline-flex;justify-content:center;align-items:center;font:650 11px/1.5 Inter,Arial,sans-serif;border:0;background:#3159ed;color:white;border-radius:8px;padding:11px 15px;cursor:pointer;margin:3px 0 9px}.tour-card #tour-skip{border:0;background:none;color:#5f7493;padding:5px 0;cursor:pointer;font-size:10px}.tour-card #tour-free{border:0;background:none;color:#708097;font-size:10px;padding:8px 0 0;cursor:pointer;text-align:left}.tour-card button:focus-visible{outline:3px solid #91b0f8;outline-offset:3px}.tour-card button[hidden],.tour-card p[hidden]{display:none!important}
@media(max-width:640px){.demo-welcome-copy .demo-entry-options{display:grid;grid-template-columns:1fr;gap:10px}.demo-welcome-copy .demo-entry-options .primary,.demo-welcome-copy .demo-entry-options .secondary{width:100%;min-height:48px}.tour-card{padding:16px 18px 12px;border-radius:13px}.tour-card h2{font-size:16px}.tour-card p{font-size:12px;line-height:1.65}.tour-phase-progress{margin:10px 0 12px}.tour-card #tour-proof{font-size:10px}}
@media(prefers-reduced-motion:reduce){.tour-shade,.tour-spotlight{transition:none}}
.tour-card #tour-next:disabled{background:#e2e9f4;color:#7689a3;cursor:default}

/* Mobile screenshots keep a phone-sized display, including high-density Gmail captures. */
.qa-renders .render-tile[data-device="mobile"] .render-open img{width:60%;max-width:110px;height:auto;margin-inline:auto;object-fit:initial}

/* One primary task per stage; supporting explanations stay secondary. */
.studio-app #process-description{display:none}
.studio-app .studio-intro{padding-block:0;margin-bottom:16px}
.studio-app .studio-intro h1{font-size:clamp(24px,2.5vw,34px);line-height:1.2}
.studio-app .studio-intro .intro{font-size:13px;line-height:1.7;margin-top:8px}
.production-assurance{font-size:11px;line-height:1.7;color:#526983;border-left:2px solid #9cbaa9;padding-left:12px;margin:14px 0}
.demo-welcome-copy>.demo-method-note{font-size:12px;color:#436553;line-height:1.7;margin:10px 0}
.studio-app .demo-banner>div:first-child>span{max-width:550px;font-size:10px}
#adjustment-panel .assistant-top h2{font-size:21px}
#adjustment-panel .quick-edit-actions{gap:8px;margin-bottom:18px}
.review-section-label{font-size:11px;font-weight:600;color:#61738d;margin:8px 0 13px;letter-spacing:.02em}
.preview-navigation{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:26px 0 10px;border-top:1px solid #e0e7f0;padding-top:18px}
.preview-navigation h3{font-size:18px;line-height:1.4;margin:0;color:#203b60}
.preview-navigation .review-section-label{margin:0 0 6px}
.preview-device-filter{display:flex;gap:3px;padding:3px;border:1px solid #dce4ed;background:#f5f7fb;border-radius:9px;flex-shrink:0}
.preview-device-filter button{border:0;border-radius:6px;background:transparent;color:#63718b;font:inherit;font-size:11px;padding:8px 11px;cursor:pointer}
.preview-device-filter button[aria-pressed=true]{background:white;color:#173466;box-shadow:0 1px 4px #10265c12}
#production-dashboard{border:1px solid #e0e7f0;border-radius:12px;margin-top:26px;padding:20px}
#production-dashboard .review-heading h3{font-size:21px;margin:8px 0}
#production-dashboard>.preview-note{font-size:11px}
#production-time-cards{gap:9px;margin:15px 0}
#production-time-cards article{padding:15px}
#production-time-cards strong{font-size:24px;margin:11px 0}
.production-breakdown>summary{font-size:11px;color:#61738d;cursor:pointer;padding-top:8px}
.production-breakdown .preview-note{font-size:11px;line-height:1.7}
#export-panel .export-zip h3{font-size:24px}
#export-panel .demo-qualification{margin-top:22px}
@media(max-width:700px){.preview-navigation{align-items:flex-start;flex-direction:column;gap:12px}.preview-device-filter{width:100%;justify-content:space-between}.preview-device-filter button{flex:1}.studio-app .studio-intro{padding-block:13px}.studio-app .studio-intro h1{font-size:26px}#production-dashboard{padding:16px}#production-time-cards{grid-template-columns:1fr 1fr}}

.wait-preview-details{margin-top:12px}.wait-preview-details>summary{font-size:10px;color:#7a879b;cursor:pointer}.wait-preview-details>.wait-preview-link{margin-top:8px}body[data-demo-view="welcome"] #demo-banner>div:first-child>span{display:none}body[data-demo="true"]:not([data-demo-view="welcome"]) .pilot-banner{display:none}

.studio-app .studio-intro{padding-block:0}.studio-app #content-approve{min-height:44px;padding-block:12px}.studio-app[data-demo="true"] #export-panel .delivery-tabs{display:none}.studio-app .export-options:has(#demo-esp-next:not([hidden])){grid-template-columns:minmax(0,1fr);max-width:780px;margin-inline:auto}.studio-app #demo-esp-next{padding:15px 19px;border:1px solid #e0e7f0;border-radius:10px;background:#fafbfe}.studio-app #demo-esp-next summary{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-weight:600;color:#375273;cursor:pointer}.studio-app #demo-esp-next summary span{font-size:10px;font-weight:400;color:#758198}.studio-app #demo-esp-next summary:before{content:'+'}.studio-app #demo-esp-next[open] summary:before{content:'−'}.studio-app #demo-esp-next p{font-size:12px;margin:16px 0 8px}.studio-app #demo-esp-next a{font-size:11px}@media(max-width:640px){.studio-app #demo-esp-next summary{flex-wrap:wrap;gap:8px}}
/* Module tools stay outside the email document and its exported code. */
#module-tools{position:fixed;z-index:120;display:flex;align-items:center;gap:3px;padding:5px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#152c56;box-shadow:0 5px 24px #0c214329;max-width:calc(100vw - 16px)}
#module-tools[hidden],.module-notice[hidden]{display:none!important}
#module-tools .module-name{font-size:12px;font-weight:600;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 7px}
#module-tools button{border:0;border-radius:7px;background:#f1f5fa;color:#16366a;width:36px;height:36px;padding:0;font-size:22px;line-height:1;cursor:pointer}
#module-tools button:hover:not(:disabled){background:#e1edff}#module-tools button:disabled{opacity:.3;cursor:default}#module-tools button[data-module-action=delete]:hover:not(:disabled){color:#9f2424;background:#fff0ef}
.module-notice{display:flex;gap:16px;align-items:center;justify-content:space-between;font-size:12px;color:#264368;margin:8px 0 12px;padding:9px 12px;border-radius:8px;background:#edf4fa}.module-notice button{flex-shrink:0}
#module-dialog{width:min(460px,calc(100vw - 32px));padding:24px;border:1px solid #d6deea;border-radius:20px;color:#102a51}#module-dialog::backdrop{background:#091d4680}#module-dialog h2{font-size:22px;margin:0 0 12px}#module-dialog p{font-size:14px;line-height:1.6;color:#52647b}.module-list{display:grid;gap:8px;margin:20px 0}.module-list button{text-align:left;width:100%}
@media(max-width:600px){#module-tools .module-name{max-width:95px}#module-tools button{width:39px;height:39px}.module-notice{align-items:start}#module-picker{min-height:40px}}
/* Keep the next action ahead of explanations and commercial qualification. */
body[data-demo-view="welcome"] #demo-banner{display:none!important}
.demo-welcome-copy .demo-entry-options{align-items:center;gap:14px 24px;margin-top:28px}
.demo-welcome-copy .demo-entry-options .text-link{padding:9px 0;border:0;background:none;color:#60718b;font-size:12px;font-weight:500;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.demo-welcome-copy .demo-entry-options .text-link:hover{color:#2458f5}
.demo-welcome-copy>p{margin-bottom:0}
body[data-demo-view="import"] #page-kicker,body[data-demo-view="import"] #page-description,body[data-demo-view="import"] .demo-brief-heading{display:none!important}
body[data-demo="true"] .demo-generation-action>.privacy,body[data-demo="true"] .wait-preview-details{display:none!important}
body[data-demo-view="import"] #demo-import-scene{margin:0 0 20px}
body[data-demo-view="import"] .input-panel{max-width:700px;padding:24px}
body[data-demo-view="import"] .workspace{margin-top:18px!important}
.demo-drop-target{padding:23px 24px 24px}
.demo-drop-target>strong{font-size:17px;margin:0 0 7px}
.demo-drop-target .demo-file-token{margin:18px auto 20px}
.demo-drop-target .demo-generation-action{margin:0 auto;max-width:410px}
.demo-drop-target .demo-generation-action>button{width:100%;margin:0}
#demo-inspect-brief{font-size:12px;margin:14px 0 0;padding:5px 0}
.demo-example-details{margin:14px 0 0;padding-top:14px;border-top:1px solid #e6eaf0}
.demo-example-details>summary,.demo-edit-details>summary,.demo-export-details>summary,.demo-contact-alternative>summary{font-size:11px;color:#63738b;cursor:pointer;line-height:1.6}
.demo-example-details p,.demo-edit-details p{font-size:11px;line-height:1.75;color:#63738b}
body[data-demo-view="gallery"] .demo-brief-heading>h2,body[data-demo-view="gallery"] .demo-brief-heading>.mini-badge,body[data-demo-view="gallery"] .demo-brief-heading>p,body[data-demo-view="gallery"] #demo-gallery>p,body[data-demo-view="gallery"] #demo-example-details{display:none!important}
body[data-demo-view="gallery"] .demo-generation-action{margin-top:0;margin-bottom:12px}
body[data-demo-view="gallery"] .demo-generation-action>.secondary{font-size:11px;padding:9px 13px}
body[data-demo="true"] .demo-banner{padding-top:8px;padding-bottom:8px;gap:12px}
body[data-demo="true"] .demo-banner>div:first-child{flex:1}
body[data-demo="true"] .demo-banner strong{margin:0}
body[data-demo="true"] .demo-banner button{border:0;padding:3px 0}
.demo-edit-details{margin-top:18px;padding-top:12px;border-top:1px solid #e5eaf2}
.demo-export-details{margin-top:16px}
.demo-contact-alternative{margin-top:14px}
.demo-contact-alternative a{display:inline-block;margin-top:10px;font-size:12px}
@media(max-width:700px){.demo-welcome-copy .demo-entry-options{gap:6px}.demo-welcome-copy .demo-entry-options .text-link{width:100%;text-align:center}.demo-drop-target{padding:20px 14px}body[data-demo-view="import"] .input-panel{padding:18px}.demo-drop-target .demo-file-token{margin:16px auto}.demo-welcome-copy h1{margin-top:18px}}
.demo-welcome-copy .demo-entry-options{flex-direction:column;align-items:flex-start;gap:9px}
.demo-welcome-copy .demo-entry-options .text-link{margin:0;flex:none}
#demo-inspect-brief{border:0;background:none;color:#526783;cursor:pointer;text-decoration:underline;text-underline-offset:4px;line-height:1.6}
body[data-demo-view="import"] #production-workspace{display:block!important;max-width:700px;margin:18px auto 40px!important}
#demo-source-generation{margin-bottom:22px}#demo-source-generation #integrate{width:100%}
body[data-demo="true"][data-demo-view="gallery"] .demo-brief-heading{min-height:0;padding-right:0}
body[data-demo-view="gallery"] .demo-brief-heading .demo-generation-action{position:static;width:auto}
@media(max-width:700px){.demo-welcome-copy .demo-entry-options{align-items:stretch}}
