@font-face{font-family:'Instagram Sans Headline';src:url('/brand/instagram-sans-headline.otf') format('opentype');font-style:normal;font-weight:400;font-display:swap;}
:root{--bg:#f6f5f1;--paper:#fffefa;--ink:#242921;--muted:#7a7e72;--line:#e3e4dc;--olive:#515e40;--soft:#ecefe5;--accent:#a57746;--shadow:0 6px 25px #272b2110}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:not-allowed}button,input,textarea,select,label{touch-action:manipulation}button,input,textarea,select{outline-offset:3px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #a2b088}svg{width:18px;height:18px;display:block;flex-shrink:0}button svg{pointer-events:none}span[data-icon],i[data-icon]{display:inline-flex;align-items:center;justify-content:center;font-style:normal;flex-shrink:0}button[data-icon]{display:inline-flex;align-items:center;justify-content:center;gap:8px}[hidden]{display:none!important}.topbar{height:74px;padding:0 38px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:#faf9f6;gap:20px}.wordmark{display:flex;align-items:center;white-space:nowrap}.wordmark-text{display:block;font-family:'Instagram Sans Headline',Arial,sans-serif;font-size:1em;line-height:1;font-weight:400;letter-spacing:.01em;text-transform:lowercase;}.wordmark img{display:none}.brand-symbol{display:block;width:20px;height:29px;border:1.8px solid var(--olive);border-radius:11px 11px 5px 5px;box-shadow:inset 6px 0 0 #dae0d2;transform:rotate(-7deg);margin-right:6px}.version{font-size:9px;letter-spacing:0;border:1px solid var(--line);border-radius:4px;padding:2px 5px;color:var(--muted);margin-left:5px}.top-actions{display:flex;gap:9px;align-items:center}.local-note{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin-right:17px}.local-note i{width:5px;height:5px;border-radius:50%;background:#687c52}.button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:8px;min-height:42px;padding:10px 15px;font-weight:550;font-size:12px;transition:background .15s,transform .15s}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{color:#fcfaf4;background:var(--ink);border-color:var(--ink)}.button.primary:hover:not(:disabled){background:#404b35}.button.secondary{border-color:#dce0d4;background:#fffefa}.button.secondary:hover:not(:disabled){background:var(--soft)}.button.subtle{background:transparent;border-color:var(--line)}.button.compact{min-height:38px;font-size:11px;padding:9px 13px}.button.full{width:100%}.icon-button{width:34px;height:34px;border:1px solid var(--line);border-radius:7px;background:transparent;display:grid;place-items:center;padding:7px}.icon-button:hover:not(:disabled){background:var(--soft)}.text-button{border:0;background:transparent;padding:4px 0;font-size:11px;color:var(--olive);display:inline-flex;align-items:center;gap:7px}.text-button:hover{text-decoration:underline}.text-button svg{width:15px;height:15px}.page-shell{max-width:1540px;padding:0 38px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:28px 0 26px}.eyebrow{font-size:9px;letter-spacing:.14em;color:#96927f;font-weight:650}.intro h1{font-size:34px;letter-spacing:-1.25px;font-weight:450;margin:6px 0 0;line-height:1.15}.intro h1 em{font-family:Georgia,serif;font-weight:400;color:var(--olive)}.intro p{font-size:12px;line-height:1.7;margin:0;color:#616a56}.intro p span{font-size:11px;color:var(--muted)}.workspace{display:grid;grid-template-columns:352px minmax(0,1fr);gap:24px;align-items:start}.controls{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.control-title{display:flex;align-items:center;justify-content:space-between;padding:18px 21px 15px}.control-title h2{font-size:16px;font-weight:550;letter-spacing:-.35px;margin:0}.control-title p{font-size:10px;color:var(--muted);margin:3px 0 0}.pill{font-size:8px;letter-spacing:.06em;color:#788764;padding:5px 7px;border:1px solid #e0e5d8;border-radius:4px;background:#f5f6ee;white-space:nowrap}.tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:0 15px;border-bottom:1px solid var(--line)}.tab{display:flex;flex-direction:column;gap:2px;padding:11px 0 12px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:11px;color:var(--muted)}.tab span{font-size:8px;letter-spacing:.05em;opacity:.8}.tab[aria-selected=true]{border-color:var(--olive);color:var(--ink);font-weight:650}.panels{height:576px;overflow:auto;scrollbar-width:thin;scrollbar-color:#d9ded0 transparent;overscroll-behavior:contain}.panel{padding:21px}.section-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:13px}.section-heading h3{font-size:12px;font-weight:600;margin:0}.section-heading>span{font-size:9px;color:var(--muted)}.scene-cards{display:flex;flex-direction:column;gap:8px}.scene-card{width:100%;border:1px solid var(--line);border-radius:9px;background:#fffefa;display:flex;align-items:center;gap:12px;padding:7px;text-align:left;position:relative}.scene-card img{width:49px;height:63px;object-fit:cover;border-radius:5px;background:#e9e3d9}.scene-card strong{font-size:12px;font-weight:550;display:block}.scene-card small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.scene-card .selection-dot{width:15px;height:15px;border-radius:50%;border:1px solid #d4d9ca;margin-left:auto;margin-right:8px;flex-shrink:0;display:grid;place-items:center}.scene-card .selection-dot svg{width:10px;height:10px;display:none}.scene-card[aria-pressed=true]{border-color:#818b70;background:#f2f4eb;box-shadow:inset 0 0 0 .5px #818b70}.scene-card[aria-pressed=true] .selection-dot{background:var(--olive);border-color:var(--olive);color:#fff}.scene-card[aria-pressed=true] .selection-dot svg{display:block}.help{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin:7px 0 0;font-weight:400}.field-gap{height:18px}.field{display:block;margin:0 0 15px}.field>span{display:flex;align-items:center;gap:5px;justify-content:space-between;font-size:11px;font-weight:550;margin-bottom:7px}.field>span small{font-weight:400;font-size:9px;color:var(--muted)}input[type=text],textarea,select{background:white;border:1px solid #dfe2d7;border-radius:7px;width:100%;min-height:40px;padding:10px 11px;color:var(--ink);font-size:12px;transition:border .1s;box-shadow:0 1px 2px #00000002}input[type=text]:hover,textarea:hover,select:hover{border-color:#aeb69f}input[type=text]:focus,textarea:focus,select:focus{border-color:#737f60}textarea{resize:vertical;line-height:1.5;min-height:68px}select{padding-right:22px}input[type=color]{width:54px;height:38px;padding:4px;border:1px solid #dde1d4;background:white;border-radius:7px;cursor:pointer}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:3px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;font-size:11px;cursor:pointer}.switch-row input{appearance:none;-webkit-appearance:none;border:0;border-radius:30px;width:31px;height:18px;background:#d9ddd2;margin:0;position:relative;cursor:pointer;transition:background .15s;flex:none}.switch-row input:before{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;background:#fff;border-radius:50%;transition:transform .15s}.switch-row input:checked{background:var(--olive)}.switch-row input:checked:before{transform:translateX(13px)}.details{border-top:1px solid var(--line);margin-top:17px}.details summary{display:flex;justify-content:space-between;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:11px;padding:14px 0;color:#626c54}.details summary::-webkit-details-marker{display:none}.details summary>span{font-size:17px;font-weight:300}.details[open] summary>span{transform:rotate(45deg)}.details-body{padding:0 0 12px}.details-body>.button{margin-top:13px}.next{margin-top:20px}.next span{margin-left:auto}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px}.two-columns .field{margin:0}.slider-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:10px;color:#6d755f;margin:13px 0}.slider-label input{width:100%;accent-color:var(--olive);height:16px;cursor:pointer;margin:2px 0}.slider-label output{font-size:9px;color:var(--muted)}.upload{border:1px dashed #bfc8b0;border-radius:10px;display:flex;align-items:center;gap:10px;padding:14px 11px;background:#f3f5ed;cursor:pointer}.upload.dragover{outline:2px solid #6b7a50;background:#eaf0df}.upload strong{display:block;font-size:11px;font-weight:550}.upload small{display:block;font-size:9px;color:var(--muted);line-height:1.5;margin-top:4px}.upload>span[data-icon]{margin-left:auto}.logo-thumb{background:#303a2a;width:47px;height:47px;border:1px solid #c9cfbf;display:grid;place-items:center;overflow:hidden;border-radius:50%;font:italic 25px Georgia,serif;color:#faf6ed;flex:none}.logo-thumb img{width:100%;height:100%;object-fit:contain}.upload-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 18px}.upload-foot span{font-size:9px;color:var(--muted);max-width:225px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-foot button{font-size:10px}.prefix-field{position:relative}.prefix-field>span{position:absolute;left:12px;top:9px;color:#96a084;font-size:13px}.prefix-field input{padding-left:30px}.inline-note{padding:11px 12px;border-radius:8px;background:#f0f2e9;display:flex;gap:9px;color:#737e63}.inline-note svg{width:14px;height:14px;margin-top:2px}.inline-note p{font-size:10px;line-height:1.6;margin:0}.divider{display:flex;align-items:center;gap:10px;margin:22px 0 13px;font-size:9px;color:#979b8d}.divider:after{content:'';flex:1;height:1px;background:var(--line)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.stats-grid .field>span{justify-content:start;gap:5px;font-size:10px}.stats-grid svg{width:13px;height:13px}.preset-button{font-size:10px}.segmented{display:flex;gap:7px}.segmented button{display:flex;align-items:center;justify-content:center;gap:7px;padding:10px;border:1px solid var(--line);background:#fffefa;border-radius:7px;flex:1;font-size:11px}.segmented button[aria-pressed=true]{border-color:#83916c;background:#f1f4e9}.color-chip{width:16px;height:16px;display:block;border-radius:50%;border:1px solid #d0d5c6}.color-chip.light{background:#ede8df}.color-chip.dark{background:#353b31}.swatches{display:flex;gap:8px}.swatches button{flex:1;background:transparent;border:1px solid transparent;border-radius:8px;display:flex;flex-direction:column;align-items:center;padding:8px 5px;font-size:9px;gap:6px;color:#7a806e}.swatches button i{display:block;width:27px;height:27px;border-radius:50%;border:1px solid #c2c7b8;box-shadow:0 0 0 3px #fff}.swatches button[aria-pressed=true]{border-color:#a8b397;background:#f3f5ed;color:#475a35}.inline-color{display:flex;align-items:center;justify-content:space-between}.inline-color span{margin:0}.sizes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.sizes button{border:1px solid var(--line);background:#fffefa;border-radius:7px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 5px}.sizes b{font-weight:550;font-size:12px}.sizes span{font-size:10px;color:#79816c}.sizes button[aria-pressed=true]{border-color:#83916c;background:#f0f4e8}.control-bottom{padding:13px 15px;display:flex;align-items:center;gap:7px;background:#f9faf4;border-top:1px solid var(--line)}.control-bottom .button{font-size:10px;padding:8px 10px;min-height:34px;flex:1}.control-bottom .button svg{width:14px;height:14px}.reset-button{font-size:9px;margin-left:1px}.preview{min-width:0}.preview-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;min-height:31px}.scene-heading{display:flex;align-items:center;gap:8px}.scene-heading strong{font-size:12px;font-weight:550}.status-dot{width:5px;height:5px;border-radius:50%;background:#75865c}.scene-tag{font-size:9px;color:#959989;border-left:1px solid #ddd;padding-left:9px;margin-left:3px}.view-controls{display:flex;padding:3px;background:#e8eadf;border-radius:6px}.view-controls button{border:0;background:transparent;border-radius:4px;padding:5px 9px;font-size:10px;color:#818973}.view-controls button[aria-pressed=true]{background:#fffef9;color:#46533a;box-shadow:0 1px 4px #0001}.stage{position:relative;border-radius:13px;background:radial-gradient(ellipse at 50% 20%,#eeeae1,#deded3);height:min(685px,calc(100svh - 221px));min-height:505px;display:flex;justify-content:center;align-items:center;overflow:hidden;border:1px solid #dce0d3;isolation:isolate}.stage:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#afbaa54a .65px,transparent .65px);background-size:12px 12px;opacity:.45;z-index:-1}.stage-label{position:absolute;left:17px;top:18px;display:flex;align-items:center;gap:6px;font-size:8px;letter-spacing:.1em;color:#8e947f;writing-mode:vertical-rl}.stage-label svg{width:13px;height:13px}.stage-corner{position:absolute;right:16px;bottom:18px;color:#9b9e8e;text-align:right;line-height:1.3;font-size:17px;letter-spacing:.03em;font-weight:300;pointer-events:none;z-index:-1}.stage-corner span{font-size:7px;letter-spacing:.12em}.canvas-wrap{position:relative;line-height:0;max-width:100%;box-shadow:0 7px 24px #33291e1a;border-radius:3px;overflow:hidden;background:#d5c5b3}#previewCanvas{display:block;width:100%;height:auto}#hotspot{position:absolute;pointer-events:none;border:1px dashed #f7efc6;box-shadow:0 0 0 1px #48533277;border-radius:3px;background:#f6f0ca0d}.loading{position:absolute;display:flex;align-items:center;gap:9px;background:#fffffaf0;padding:11px 15px;border-radius:8px;font-size:11px;box-shadow:var(--shadow)}.loading span{width:13px;height:13px;border:2px solid #dfe7d3;border-top-color:#64734e;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.preview-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;color:#8a8e7f}.preview-bottom p{display:flex;align-items:center;gap:6px;margin:0;font-size:9px}.preview-bottom svg{width:12px;height:12px}.preview-bottom>div{display:flex;gap:7px;align-items:center;font-size:9px;white-space:nowrap}.small-separator{color:#c2c8b8}.scene-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.scene-tile{display:flex;align-items:center;gap:10px;padding:6px;border:1px solid #dde1d2;border-radius:7px;background:#fafbf4;text-align:left}.scene-tile img{width:31px;height:38px;object-fit:cover;border-radius:3px}.scene-tile>span{font-size:10px;color:#69735a}.scene-tile .tile-number{margin-left:auto;margin-right:5px;font-size:9px;color:#afb79f}.scene-tile[aria-pressed=true]{border-color:#919c7d;background:#e9eddf}.scene-tile[aria-pressed=true]>span{color:#354629}.preview-disclaimer{font-size:9px;line-height:1.6;color:#929787;margin:11px 0 0}.warning{margin-top:10px;background:#f1e9d8;color:#92703c;border:1px solid #e2d5b8;padding:8px 10px;border-radius:6px;font-size:10px}.footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid var(--line);padding:21px 0 25px;margin-top:27px;color:#959a8a;font-size:10px}.footer>div{display:flex;align-items:center;gap:3px}.brand-symbol.mini{height:19px;width:14px;border-width:1px;box-shadow:inset 4px 0 0 #e2e6dc}.footer p{font-size:9px;margin:0;text-align:center;line-height:1.8}.footer p>span{color:#a4a896;font-size:8px}.footer .text-button{font-size:10px}.dialog{padding:0;border:1px solid var(--line);border-radius:16px;width:calc(100% - 28px);max-width:485px;background:var(--paper);color:var(--ink);max-height:90svh;overflow:auto;box-shadow:0 10px 90px #0003}.dialog::backdrop{background:#1b251bbc;backdrop-filter:blur(5px)}.dialog-head{padding:23px 25px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog h2{font-size:22px;letter-spacing:-.7px;font-weight:450;margin:5px 0 0}.dialog-content{padding:22px 25px}.export-summary{display:flex;align-items:center;gap:13px;background:#f0f2e8;padding:12px;border-radius:9px;margin-bottom:20px}.export-summary>img{width:48px;height:60px;object-fit:cover;border-radius:4px}.export-summary strong{font-size:13px;font-weight:550}.export-summary p{font-size:10px;color:#778269;margin:3px 0 1px}.export-summary div>span{font-size:9px;color:#8a927e}.export-summary>.pill{margin-left:auto}.export-buttons{display:flex;gap:9px;margin:14px 0 9px}.export-buttons .button{flex:1}.file-status{font-size:10px;color:var(--olive);line-height:1.6;margin:9px 0 0;word-break:break-word;min-height:1px}.dialog .divider{margin-top:23px}.dialog-content>p{font-size:12px;line-height:1.7;color:#727c64}.dialog-content>p.help{font-size:10px}.help-content h3{font-size:13px;margin:16px 0 4px}.help-content p{margin:0 0 13px;font-size:12px}.small-dialog{max-width:440px}.toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:#2c3822;color:#fffdf4;border:1px solid #67775a;border-radius:9px;padding:12px 17px;font-size:12px;z-index:100;max-width:calc(100vw - 32px);box-shadow:0 4px 30px #0002}.noscript{padding:20px;background:#fbefc6;position:fixed;bottom:0;left:0;right:0}.flash{animation:flash 1s ease-out}@keyframes flash{from{box-shadow:0 0 0 4px #a8b78d88}to{box-shadow:0 0 0 0 transparent}}

.product-thumb{position:relative;display:block;width:44px;height:56px;border-radius:6px;background:linear-gradient(145deg,#eeeae3,#d7d5cf);overflow:hidden;flex:none}
.product-thumb:before{content:'';position:absolute;left:25%;top:8%;width:50%;height:82%;border-radius:8px;background:#faf9f6;box-shadow:0 0 9px #f1b96c,0 5px 8px #0002}
.product-thumb:after{content:'';position:absolute;left:31%;top:29%;width:38%;height:40%;background:linear-gradient(135deg,#d9dfdf,#f4f0e9);border-radius:2px}
.scene-card .product-thumb.large{width:49px;height:63px}.instagram-note{align-items:flex-start}.ig-2026{font-size:9px;font-weight:800;letter-spacing:.05em;background:#111;color:#fff;border-radius:5px;padding:4px 6px;flex:none}
/* Editor layout: explicit preview dimensions prevent flex canvas collapse. */

:root{--bg:#f5f4f0;--paper:#fff;--ink:#242a25;--muted:#656d63;--line:#e1e4dc;--olive:#526447;--soft:#eef2e9;--shadow:0 3px 16px #25312206;--ease:cubic-bezier(.23,1,.32,1)}
body{font-size:14px;-webkit-font-smoothing:antialiased}
.topbar{height:72px;padding:0 32px;background:#fff;border-bottom:1px solid var(--line)}
.wordmark{font-size:26px}.wordmark-text{font-size:1em}.version{display:none}.local-note{font-size:12px;color:var(--muted)}
.page-shell{max-width:1536px;padding:0 32px}.intro{padding:26px 0 24px}.eyebrow{font-size:10px;color:#697560;letter-spacing:.12em}.intro h1{font-size:34px;line-height:1.2}.intro p{font-size:13px}.intro p span{font-size:12px}
.workspace{grid-template-columns:370px minmax(0,1fr);gap:28px;align-items:start}
.controls{border-radius:16px;background:#fff}.control-title{padding:20px 22px 16px}.control-title h2{font-size:17px}.control-title p{font-size:12px}.pill{font-size:10px}
.tabs{padding:0 12px;gap:4px}.tab{font-size:13px;min-height:60px;padding:10px 4px;align-items:center;justify-content:center}.tab span{font-size:10px}.tab[aria-selected=true]{color:#3e5635;border-bottom-width:3px}
.panels{height:clamp(370px,calc(100dvh - 362px),610px)}.panel{padding:22px}.section-heading{margin-bottom:16px}.section-heading h3{font-size:16px;letter-spacing:-.35px}.section-heading>span{font-size:11px}
.scene-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scene-card{display:flex;flex-direction:column;align-items:stretch;padding:8px;gap:10px;border-radius:12px;min-width:0}.scene-card img,.scene-card .product-thumb.large{width:100%;height:106px;border-radius:7px;object-fit:cover;object-position:center 48%}.scene-card .product-thumb:before{left:36%;width:28%}.scene-card .product-thumb:after{left:39%;width:22%}.scene-card>span:not(.product-thumb):not(.selection-dot){padding:0 2px 4px}.scene-card strong{font-size:13px}.scene-card small{font-size:11px;line-height:1.4}.scene-card .selection-dot{position:absolute;right:15px;top:15px;margin:0;width:20px;height:20px;background:#ffffffde}.scene-card[aria-pressed=true]{border-color:#607354;background:#f1f5ed;box-shadow:0 0 0 1px #607354}.scene-card .selection-dot svg{width:13px;height:13px}
.help{font-size:12px;line-height:1.6;margin-top:10px}.field{margin-bottom:20px}.field>span{font-size:13px;margin-bottom:8px}.field>span small{font-size:11px}
input[type=text],textarea,select{min-height:46px;font-size:14px;padding:11px 12px;border-radius:9px;border-color:#d6dcd2;transition:border-color 140ms ease}textarea{min-height:90px}.prefix-field>span{top:10px}.prefix-field input{padding-left:30px}
.button{min-height:44px;font-size:13px;border-radius:9px;padding:11px 15px;transition:background 150ms ease,transform 120ms var(--ease)}.button.compact{min-height:42px;font-size:12px}.button.primary{background:#374c2f;border-color:#374c2f}.button:hover:not(:disabled){transform:none}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:scale(.97)}
.icon-button{width:44px;height:44px}.text-button{min-height:40px;font-size:12px}.details summary{font-size:13px;min-height:48px;color:#4d5e42}.details{margin-top:20px}.next{margin-top:22px}.upload{padding:16px}.upload strong{font-size:14px}.upload small,.upload-foot span{font-size:11px}.upload-foot button{font-size:12px}.inline-note p{font-size:12px}.divider{font-size:11px}.stats-grid .field>span{font-size:12px}.slider-label{font-size:12px}.slider-label output{font-size:12px}.slider-label input{height:24px}.switch-row{font-size:13px;min-height:48px}.switch-row input{width:38px;height:22px}.switch-row input:before{width:16px;height:16px}.switch-row input:checked:before{transform:translateX(16px)}.segmented button{font-size:13px;min-height:46px}.swatches button{font-size:12px;min-height:68px}.sizes button{min-height:64px}.sizes b{font-size:14px}.sizes span{font-size:12px}
.control-bottom{padding:12px;gap:7px;background:#fafbf8}.control-bottom .button{font-size:12px;min-height:44px;padding:10px}.reset-button{font-size:12px}
.preview-header{min-height:40px;margin-bottom:12px}.scene-heading strong{font-size:14px}.scene-tag{font-size:11px}.status-dot{width:6px;height:6px}.view-controls{padding:4px;border-radius:9px;background:#e7eae2}.view-controls button{font-size:12px;min-height:34px;padding:7px 12px;border-radius:6px}
.stage{height:clamp(430px,calc(100dvh - 300px),760px);min-height:0;border-radius:16px;background:#ebece6;display:grid;place-items:center}.stage:before{opacity:.3}.canvas-wrap{flex:none;min-width:0;max-width:100%;height:auto;line-height:0;background:transparent;box-shadow:0 8px 32px #33291e14}.stage-label{font-size:9px;letter-spacing:.1em}.stage-corner{font-size:18px}.stage-corner span{font-size:9px}
.preview-bottom{padding:12px 0}.preview-bottom p{font-size:12px}.preview-bottom>div{font-size:11px}.scene-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.scene-tile{min-height:56px;border-radius:9px;gap:8px}.scene-tile>span{font-size:12px}.scene-tile .tile-number{display:none}.scene-tile .product-thumb{width:31px;height:38px}.preview-disclaimer{font-size:11px;color:var(--muted)}.warning{font-size:12px}.footer{margin-top:24px;padding:20px 0;font-size:12px}.footer p,.footer p>span{font-size:11px}
.dialog{max-width:510px;border-radius:18px}.dialog h2{font-size:25px}.dialog-content>p.help{font-size:12px}.export-summary strong{font-size:15px}.export-summary p{font-size:12px}.export-summary div>span{font-size:11px}.file-status{font-size:12px}.ig-2026{font-size:11px}.instagram-note{margin-bottom:22px}.toast{font-size:13px}.mobile-live{display:none}
@media(hover:hover) and (pointer:fine){.scene-card:hover,.scene-tile:hover{border-color:#8b9a7f}.button.primary:hover:not(:disabled){background:#48603d}.tab:hover{background:#f6f8f2}.icon-button:hover:not(:disabled){background:var(--soft)}}
@media(min-width:761px) and (max-width:1100px){.topbar{padding:0 20px}.page-shell{padding:0 20px}.workspace{grid-template-columns:330px minmax(0,1fr);gap:18px}.panel{padding:18px}.intro h1{font-size:29px}.intro p{display:none}.local-note,.scene-tag,.stage-label,.stage-corner{display:none}.scene-strip{grid-template-columns:repeat(2,1fr)}.preview-bottom>div{display:none}}
@media(max-width:760px){
 html,body{height:var(--app-height,100dvh);overflow:hidden;overscroll-behavior:none}
 .topbar{height:60px;padding:0 14px;gap:10px}.wordmark img{width:158px}.brand-symbol{width:17px;height:25px;margin-right:3px}.local-note,.version{display:none}.top-actions{gap:6px}.button.compact{font-size:12px;padding:9px 10px;min-height:40px}.top-actions svg{width:16px;height:16px}
 .page-shell{height:calc(var(--app-height,100dvh) - 60px);padding:0;overflow:hidden}.intro,.footer{display:none}
 .workspace{height:100%;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,43fr) minmax(0,57fr);grid-template-areas:'preview' 'controls';gap:0;align-items:stretch}
 .preview{grid-area:preview;min-height:0;display:grid;grid-template-rows:36px minmax(0,1fr);gap:6px;padding:6px 12px 12px;background:#eeefe9}
 .preview-header{height:36px;min-height:0;margin:0;gap:6px}.scene-heading{gap:6px}.scene-heading strong{font-size:12px}.scene-tag{display:none}.view-controls{padding:3px}.view-controls button{font-size:11px;min-height:30px;padding:5px 9px}
 .stage{height:100%;min-height:0;width:100%;border-radius:12px}.canvas-wrap{height:auto;max-height:100%;max-width:100%;flex:none}.stage-label,.stage-corner,.preview-bottom,.scene-strip,.preview-disclaimer{display:none}.warning{position:absolute;top:105px;left:20px;right:20px;z-index:3;background:#fff3d8}.loading{font-size:12px}
 .controls{grid-area:controls;min-height:0;display:flex;flex-direction:column;border-radius:20px 20px 0 0;border-width:1px 0 0;box-shadow:0 -4px 16px #25312208;overflow:hidden}
 .control-title{display:flex;padding:10px 16px 0;min-height:30px}.control-title h2,.control-title .pill{display:none}.control-title p{font-size:11px;margin:0;color:var(--muted)}
 .tabs{height:51px;flex:none;padding:0 12px;gap:8px}.tab{min-height:0;font-size:12px;flex-direction:row;gap:6px;padding:8px 0}.tab span{font-size:10px;color:#78846e}
 .panels{height:auto;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:16px}.panel{padding:18px 16px 24px}.section-heading{margin-bottom:12px}.section-heading h3{font-size:16px}
 .scene-cards{gap:9px}.scene-card{flex-direction:row;align-items:center;padding:7px;gap:8px;min-height:80px}.scene-card img,.scene-card .product-thumb.large{width:48px;height:64px;flex:none}.scene-card .product-thumb:before{left:25%;width:50%}.scene-card .product-thumb:after{left:31%;width:38%}.scene-card strong{font-size:12px}.scene-card small{font-size:10px;line-height:1.35;padding-right:4px}.scene-card>span:not(.product-thumb):not(.selection-dot){padding:0}.scene-card .selection-dot{width:15px;height:15px;top:5px;right:5px}.scene-card .selection-dot svg{width:10px;height:10px}
 input[type=text],textarea,select{font-size:16px;min-height:46px}.control-bottom{flex:none;gap:8px;padding:8px 12px calc(8px + env(safe-area-inset-bottom));min-height:60px}.control-bottom .button{font-size:12px}.control-bottom .icon-button{width:42px;height:42px}.reset-button{font-size:12px}.toast{bottom:calc(74px + env(safe-area-inset-bottom))}
 html.keyboard-open .workspace{grid-template-rows:minmax(0,29fr) minmax(0,71fr)}html.keyboard-open .control-title{display:none}
}
@media(max-width:380px){.topbar{padding:0 10px}.wordmark{font-size:19px}.button.compact{font-size:11px;padding:8px}.top-actions .button svg{display:none}.scene-card img,.scene-card .product-thumb.large{width:38px;height:54px}.scene-card strong{font-size:11px}.scene-card small{font-size:10px}.tab{font-size:11px;gap:4px}.panel{padding:16px 12px}.control-bottom{gap:5px}}
@media(max-height:600px) and (max-width:760px){.workspace{grid-template-rows:minmax(0,35fr) minmax(0,65fr)}.control-title{display:none}.tabs{height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.wordmark{color:inherit;text-decoration:none}.top-actions #topExport{background:transparent;color:var(--ink);border-color:var(--line)}
@media(max-width:760px){.topbar{gap:8px}.wordmark{font-size:20px}.top-actions{gap:5px}#openProject{width:38px;padding:8px;font-size:0}#openProject svg{display:block;width:18px;height:18px}#topExport{padding:8px;font-size:11px}#topExport svg{display:none}#orderButton{padding:8px 10px;font-size:11px;gap:5px}#orderButton svg{width:14px;height:14px}}

/* Guided product customizer */

:root{--ease-out:cubic-bezier(.23,1,.32,1);--editor-height:calc(100dvh - 104px)}
body{background:#f2f1ed}
.topbar{height:68px;padding:0 28px;background:#fff;position:sticky;top:0;z-index:20}
.studio-context{position:absolute;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;line-height:1.25}
.studio-context strong{font-size:12px;font-weight:650}.studio-context span{font-size:10px;color:var(--muted);margin-top:3px}
.local-note{margin-right:8px}.page-shell{max-width:1640px;padding:18px 24px;margin:auto}.intro,.footer{display:none}
.workspace{height:var(--editor-height);display:grid;grid-template-columns:minmax(0,1fr) 420px;grid-template-areas:'preview controls';gap:18px;align-items:stretch}
.preview{grid-area:preview;min-width:0;min-height:0;display:grid;grid-template-rows:47px minmax(0,1fr) 38px auto;position:relative}
.controls{grid-area:controls;height:100%;min-height:0;display:flex;flex-direction:column;border-radius:18px;box-shadow:0 14px 45px #2026190c;background:#fff}
.control-title{padding:22px 24px 17px}.control-title h2{font-size:21px;letter-spacing:-.55px;font-weight:600;margin:3px 0 0}.control-title p{font-size:11px;margin-top:5px}
.step-kicker{display:block;font-size:9px;line-height:1.2;letter-spacing:.13em;font-weight:750;color:#788667}.pill{display:flex;align-items:center;gap:5px;border:0;background:#eef3e8;color:#506348;padding:6px 9px;border-radius:99px}.pill i{width:5px;height:5px;border-radius:50%;background:#607853;box-shadow:0 0 0 3px #dce7d4}
.tabs{padding:0 20px;gap:3px;border-bottom:0}.tab{position:relative;min-height:48px;padding:5px 2px 12px;font-size:11px;flex-direction:row;gap:6px;justify-content:center;align-items:center;border:0}.tab span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#eef0e9;color:#76806e;font-size:8px;font-weight:700}.tab[aria-selected=true]{border:0;color:#33452c}.tab[aria-selected=true] span{background:#40593a;color:#fff}.tab:after{content:'';position:absolute;right:-4px;top:21px;width:7px;height:1px;background:#d9ddd4}.tab:last-child:after{display:none}
.step-progress{height:2px;background:#eceee8;margin:0 24px;overflow:hidden;border-radius:2px}.step-progress i{display:block;width:25%;height:100%;background:#4f6546;transition:width 220ms var(--ease-out)}
.panels{height:auto;min-height:0;flex:1;overflow:auto;scrollbar-width:thin;scroll-padding:24px}.panel{padding:22px 24px 28px}.section-heading{margin-bottom:16px}.section-heading h3{font-size:15px;letter-spacing:-.15px}.section-heading>span{font-size:10px}
.scene-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.scene-card{display:block;padding:6px;border-radius:12px;overflow:hidden}.scene-card img,.scene-card .product-thumb.large{width:100%;height:118px;border-radius:8px;object-fit:cover}.scene-card>span:not(.product-thumb):not(.selection-dot){display:block;padding:9px 5px 7px}.scene-card strong{font-size:12px}.scene-card small{font-size:10px;line-height:1.35;margin-top:3px}.scene-card .selection-dot{position:absolute;top:12px;right:12px;margin:0;width:21px;height:21px;background:#fff;border:1px solid #dde2d8;box-shadow:0 2px 9px #0002}.scene-card[aria-pressed=true]{background:#f5f7f1;box-shadow:inset 0 0 0 1px #65785b}.scene-card[aria-pressed=true] .selection-dot{background:#40593a;border-color:#40593a}
.field{margin-bottom:18px}.field>span{font-size:12px;margin-bottom:8px}input[type=text],textarea,select{min-height:46px;border-radius:10px;font-size:14px;padding:11px 13px}.prefix-field>span{top:12px}.upload{min-height:82px;border-radius:12px;padding:14px;background:#f6f7f2}.details summary{font-size:12px}.inline-note{border-radius:10px}.next{min-height:48px;border-radius:10px;margin-top:22px}
.button,.icon-button,.scene-card,.tab,.segmented button,.swatches button,.sizes button,.view-controls button{transition:transform 150ms var(--ease-out),background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease}.button:active:not(:disabled),.icon-button:active:not(:disabled),.scene-card:active,.segmented button:active,.swatches button:active,.sizes button:active,.view-controls button:active{transform:scale(.97)}
.control-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:16px 18px;background:#fbfcf8;border-top:1px solid #e5e8df}.design-summary{min-width:0;display:flex;flex-direction:column;justify-content:center}.design-summary span{font-size:9px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}.design-summary strong{font-size:12px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.control-bottom>#panelOrderButton{min-height:46px;padding:10px 16px}.editor-tools{grid-column:1/-1;display:flex;align-items:center;gap:7px;padding-top:2px}.editor-tools .button{min-height:34px;padding:7px 10px;font-size:10px}.editor-tools .reset-button{margin-left:auto}
.preview-header{min-height:47px;margin:0;padding:0 4px}.scene-heading{gap:9px}.scene-heading>div{display:flex;flex-direction:column}.scene-heading small{font-size:8px;line-height:1;letter-spacing:.12em;color:#899181;font-weight:700}.scene-heading strong{font-size:14px;margin-top:4px}.status-dot{width:7px;height:7px;box-shadow:0 0 0 4px #dfe7da}.view-controls{background:#e4e6df;border-radius:10px}.view-controls button{font-size:11px;min-height:34px;border-radius:7px;padding:7px 13px}.stage{height:auto;min-height:0;border-radius:18px;background:radial-gradient(ellipse at 50% 10%,#f0eee8,#d9dcd2);box-shadow:inset 0 1px 0 #fff}.canvas-wrap{box-shadow:0 18px 48px #292d2222}.preview-bottom{padding:9px 4px 0}.preview-bottom p,.preview-bottom>div{font-size:10px}.scene-strip{display:none}.preview-disclaimer{font-size:9px;margin:3px 4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-label{left:20px;top:20px}.stage-corner{right:20px;bottom:20px}
@media(min-width:761px) and (max-width:1180px){.workspace{grid-template-columns:minmax(0,1fr) 380px}.studio-context,.local-note{display:none}.page-shell{padding:16px}.scene-card img,.scene-card .product-thumb.large{height:96px}}
@media(max-width:760px){
 :root{--editor-height:calc(var(--app-height,100dvh) - 58px)}html,body{height:var(--app-height,100dvh);overflow:hidden}.topbar{height:58px;padding:0 12px;position:relative}.studio-context,.local-note,#topExport,#orderButton{display:none}.top-actions{margin-left:auto}.wordmark{font-size:20px}.page-shell{height:var(--editor-height);padding:0;overflow:hidden}
 .workspace{height:100%;grid-template-columns:1fr;grid-template-rows:minmax(0,42fr) minmax(0,58fr);grid-template-areas:'preview' 'controls';gap:0}.preview{grid-template-rows:38px minmax(0,1fr);padding:5px 10px 10px;background:#e9ebe5}.preview-header{height:38px;padding:0}.scene-heading small{display:none}.scene-heading strong{font-size:12px;margin:0}.view-controls button{min-height:29px;padding:5px 9px;font-size:10px}.stage{border-radius:13px}.stage-label,.stage-corner,.preview-bottom,.preview-disclaimer{display:none}
 .controls{height:100%;border-radius:20px 20px 0 0;box-shadow:0 -8px 30px #26302012}.control-title{min-height:48px;padding:11px 16px 7px}.control-title h2{display:block;font-size:16px;margin:1px 0 0}.control-title p{display:none}.control-title .pill{display:flex;font-size:8px}.step-kicker{font-size:8px}.tabs{height:45px;padding:0 12px;gap:0}.tab{font-size:11px;min-height:43px;padding:5px 1px 8px;gap:4px}.tab span{width:17px;height:17px;font-size:7px}.tab:after{display:none}.step-progress{margin:0 16px}.panels{flex:1}.panel{padding:17px 15px 24px}.section-heading h3{font-size:15px}.scene-cards{grid-template-columns:1fr 1fr;gap:8px}.scene-card{min-height:0;padding:5px;display:block}.scene-card img,.scene-card .product-thumb.large{width:100%;height:78px}.scene-card>span:not(.product-thumb):not(.selection-dot){padding:6px 3px 4px}.scene-card strong{font-size:11px}.scene-card small{font-size:9px}.scene-card .selection-dot{top:9px;right:9px;width:18px;height:18px}
 .control-bottom{min-height:74px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;gap:8px}.design-summary strong{font-size:11px}.control-bottom>#panelOrderButton{min-height:44px;padding:9px 12px;font-size:11px}.editor-tools{display:none}.toast{bottom:calc(84px + env(safe-area-inset-bottom))}
 html.keyboard-open .workspace{grid-template-rows:minmax(0,26fr) minmax(0,74fr)}html.keyboard-open .control-title{display:none}
}
@media(max-width:380px){.top-actions #orderButton{font-size:10px;padding:8px}.scene-card img,.scene-card .product-thumb.large{height:66px}.tab{font-size:10px}.tab span{display:none}}

/* Navigation never shares the scrolling form surface. */
.controls>.control-title,.controls>.tabs,.controls>.step-progress,.controls>.control-bottom{flex-shrink:0}
.controls>.panels{flex:1 1 0;min-height:0;padding-bottom:0;scrollbar-gutter:stable}
.control-bottom{position:relative;display:grid;grid-template-columns:1fr;padding:12px 20px;gap:9px;background:#fff;border-top:1px solid var(--line);z-index:4}
.design-summary{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.design-summary strong{margin:0}
.step-actions{display:flex;gap:8px}.step-actions>.button{min-height:48px;font-size:13px;border-radius:10px;padding:11px 16px;flex:1}.step-actions>#stepBack{flex:0 0 66px}.step-actions>.primary{justify-content:space-between}.step-actions>#stepBack:disabled{visibility:hidden}
.editor-menu{position:relative}.editor-menu>summary{cursor:pointer;list-style:none;text-align:center;font-size:11px;color:#62705b;padding:4px}.editor-menu>summary::-webkit-details-marker{display:none}.editor-menu[open] .editor-tools{display:flex;position:absolute;bottom:calc(100% + 8px);left:0;right:0;background:#fff;padding:12px;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 30px #22301926;gap:8px;align-items:center}.editor-tools .button{flex:1}.editor-tools .icon-button{width:36px;height:36px}.editor-tools .text-button{font-size:11px;white-space:nowrap}.editor-tools .reset-button{margin-left:0}
#orderButton{display:none}.studio-context{position:static;transform:none;margin-left:auto;margin-right:auto}.local-note{display:none}
.preview-actions{display:flex;align-items:center;gap:8px}#expandPreview{font-size:11px;min-height:36px;padding:7px 11px}.panels input[type=text],.panels textarea,.panels select{font-size:16px}
.stage>.preview-shortcuts{display:none!important}
.preview-shortcuts button{min-width:0;border:1px solid #ffffff5c;background:#fffffff2;color:#243024;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:650;box-shadow:0 10px 28px #20271924;backdrop-filter:blur(14px);display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:transform 150ms var(--ease-out),background-color 180ms ease,border-color 180ms ease}
.preview-shortcuts button:active{transform:scale(.97)}
.preview-shortcuts svg{width:15px;height:15px}
.preview-shortcuts .shortcut-order{background:#202921;color:#fff;border-color:#202921}
.preview-expanded .preview{position:fixed;inset:0;z-index:50;background:#e9ebe5;padding:18px 24px;grid-template-rows:48px minmax(0,1fr) 36px auto}
.preview-expanded .controls{visibility:hidden}.preview-expanded .stage{min-height:0}.preview-expanded .preview-header{display:flex}.preview-expanded .stage-label,.preview-expanded .stage-corner{display:none}.preview-expanded .toast{z-index:60}
.preview-expanded .stage>.preview-shortcuts{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:4;display:grid!important;grid-template-columns:repeat(5,minmax(82px,1fr));gap:8px;width:min(620px,calc(100% - 32px));pointer-events:auto}
@media(max-width:760px){
 .workspace{grid-template-rows:minmax(0,34fr) minmax(0,66fr)}
 .control-title{min-height:43px;padding:9px 16px 5px}.tabs{height:42px}.tab{min-height:40px;padding-bottom:6px}
 .control-bottom{padding:10px 14px calc(8px + env(safe-area-inset-bottom));gap:7px;min-height:0}
 .step-actions>.button{min-height:46px;font-size:13px}.design-summary strong{font-size:11px}.editor-menu>summary{font-size:11px;padding:3px;min-height:24px}
 .scene-cards{gap:8px}.scene-card small{display:none}.scene-card img,.scene-card .product-thumb.large{height:70px}.scene-card strong{font-size:12px}
 .preview-actions{gap:5px}#expandPreview{min-height:32px;font-size:10px;padding:6px 8px}.view-controls button{min-height:30px}.scene-heading{gap:7px}
 .preview-expanded .preview{padding:calc(8px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));grid-template-rows:42px minmax(0,1fr)}
 .preview-expanded #expandPreview{font-size:11px}.preview-expanded .scene-heading{display:none}.preview-expanded .preview-actions{width:100%;justify-content:space-between}
 .preview-expanded .stage>.preview-shortcuts{bottom:calc(10px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;width:calc(100% - 16px)}
 .preview-shortcuts button{min-height:48px;padding:7px 5px;border-radius:10px;font-size:10px;gap:4px;flex-direction:column}
 .preview-shortcuts svg{width:16px;height:16px}
 html.keyboard-open .workspace{grid-template-rows:minmax(0,18fr) minmax(0,82fr)}
 html.keyboard-open .design-summary,html.keyboard-open .editor-menu{display:none}
}
@media(prefers-reduced-motion:reduce){.step-progress i{transition:none}}

/* Local-only batch personalization for outbound previews. */
.batch-dialog{max-width:680px}.batch-dialog .dialog-content{max-height:min(74vh,760px);overflow:auto}.batch-intro{margin:-2px 0 18px;color:var(--muted);font-size:13px;line-height:1.55}.batch-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:15px 0;border-top:1px solid var(--line)}.batch-step>div>strong{display:block;font-size:14px}.batch-step p{margin:4px 0 11px;color:var(--muted);font-size:12px;line-height:1.45}.batch-number{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#40593a;color:#fff;font-size:11px;font-weight:750}.batch-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.batch-actions .button,.batch-step>.button{min-height:40px}.batch-file-status{display:block;margin-top:9px;color:#65705e;font-size:11px}.batch-validation{margin:4px 0 18px;padding:13px;border-radius:12px;background:#f5f7f1;border:1px solid #dde4d7}.batch-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.batch-totals span{display:flex;flex-direction:column;gap:2px;padding:9px 10px;border-radius:9px;background:#fff;color:var(--muted);font-size:10px}.batch-totals strong{color:var(--ink);font-size:18px;line-height:1.1}.batch-totals .warning-count strong{color:#9a593c}.batch-issues{margin-top:10px;color:#7f563f;font-size:11px;line-height:1.45}.batch-issues:empty{display:none}.batch-generate{min-height:50px;margin-top:14px}.batch-progress{height:5px;margin-top:14px;border-radius:9px;background:#e5e9df;overflow:hidden}.batch-progress i{display:block;width:0;height:100%;background:#526b49;transition:width 180ms ease}.batch-dialog .file-status{min-height:18px;margin-top:9px}.batch-dialog .inline-note{margin-top:2px}
@media(max-width:760px){.top-actions [data-open-batch]{display:none}.batch-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);margin:auto}.batch-dialog .dialog-content{max-height:calc(100dvh - 100px)}.batch-totals{grid-template-columns:1fr 1fr}.batch-totals span:last-child{grid-column:1/-1}.batch-step{padding:13px 0}.batch-intro{font-size:12px}.editor-menu[open] .editor-tools{flex-wrap:wrap}.editor-tools [data-open-batch]{display:block}}
@media(prefers-reduced-motion:reduce){.batch-progress i{transition:none}}

/* Public editor never exposes operator tooling; the admin route unlocks it after session verification. */
[data-admin-only]{display:none!important}body.admin-ready button[data-admin-only]{display:flex!important}body.admin-ready dialog[data-admin-only][open]{display:block!important}body.admin-ready input[data-admin-only]{display:none!important}body:not([data-admin-route]) #adminLogout{display:none!important}.admin-login{max-width:430px}.admin-login .dialog-content>p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.5}.admin-login input[type=password]{width:100%;min-height:48px;border:1px solid var(--line);border-radius:10px;padding:11px 13px;font:inherit}.admin-login::backdrop{background:#20261fe8;backdrop-filter:blur(8px)}

/* Contextual preview tools */
.immersive-editor .workspace{position:relative;display:block;height:var(--editor-height)}
.immersive-editor .preview{height:100%;display:grid;grid-template-rows:minmax(0,1fr) 26px auto}
.immersive-editor .stage{position:relative;padding-bottom:82px}
.immersive-editor .controls{display:none}
.immersive-editor.tool-open .controls{display:flex;position:absolute;right:20px;top:64px;bottom:110px;width:340px;z-index:55;box-shadow:0 16px 60px #20292126;border-radius:18px;visibility:visible}
.immersive-editor .control-title{position:relative;padding:18px 20px 12px;min-height:70px}
.immersive-editor #closeTool{position:absolute;right:12px;top:12px;min-width:36px;min-height:36px}
.immersive-editor .control-title .pill,.immersive-editor .tabs,.immersive-editor .step-progress,.immersive-editor .step-kicker{display:none}
.immersive-editor .control-title h2{font-size:20px;padding-right:30px}
.immersive-editor .control-bottom{padding:12px 16px}.immersive-editor .panel{padding:16px 20px}
.immersive-editor .stage>.preview-shortcuts{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:56;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:min(590px,calc(100% - 24px));padding:7px;border:1px solid #ffffffcc;border-radius:18px;background:#f8f8f0ed;box-shadow:0 8px 32px #20292124;backdrop-filter:blur(16px)}
.immersive-editor .preview-shortcuts button{box-shadow:none;min-height:46px;border-radius:11px}
.immersive-editor .preview-shortcuts button[aria-expanded=true]{background:#dfe6d7;color:#23371f}
.immersive-editor .preview-shortcuts button:active{transform:scale(.97)}
.immersive-editor .toast{bottom:104px;pointer-events:none}
@media(min-width:1000px){.immersive-editor.tool-open .stage{padding-right:370px}}
@media(max-width:760px){
.immersive-editor .workspace{height:100%}.immersive-editor .preview{grid-template-rows:minmax(0,1fr);padding:4px 8px 8px}
.immersive-editor .preview-bottom,.immersive-editor .preview-disclaimer{display:none}
.immersive-editor.tool-open .controls{top:auto;bottom:88px;left:12px;right:12px;width:auto;max-height:46%;height:auto;border-radius:18px}
.immersive-editor .control-title{display:flex;min-height:56px;padding:12px 16px}.immersive-editor #saveStatus{display:none}
.immersive-editor .panels{overflow:auto;min-height:0}.immersive-editor .control-bottom{display:none}
.immersive-editor .preview-shortcuts button{font-size:10px;gap:4px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.immersive-editor .stage>.preview-shortcuts{bottom:10px;padding:5px;gap:3px}
.immersive-editor.tool-open .stage{padding-bottom:calc(40vh + 80px)}
}

.immersive-editor.tool-open .controls{height:auto;min-height:0;max-height:calc(100% - 174px)}
@media(max-width:760px){.immersive-editor.tool-open .controls{height:46%;max-height:46%;min-height:0}.immersive-editor .panels{flex:1;overflow-y:auto}}

/* Quiet, interruptible tool transitions. */
.immersive-editor .controls{display:flex;opacity:0;visibility:hidden;pointer-events:none;position:absolute;right:20px;top:64px;bottom:110px;width:340px;min-height:0;transform:translateY(8px);transition:opacity 160ms ease-out,transform 180ms cubic-bezier(.22,1,.36,1),visibility 160ms}
.immersive-editor.tool-open .controls{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.immersive-editor .preview-shortcuts button{transition:background-color 150ms ease,transform 120ms ease-out}
.immersive-editor #saveStatus{font-size:10px;color:#7b8276}
.immersive-editor .inline-note{display:none}
.immersive-editor .upload{min-height:104px}.immersive-editor .upload small{line-height:1.6}
@media(max-width:760px){.immersive-editor .controls{top:auto;bottom:88px;left:12px;right:12px;width:auto;height:46%;max-height:46%;transform:translateY(14px)}}
@media(prefers-reduced-motion:reduce){.immersive-editor .controls,.immersive-editor .preview-shortcuts button{transition:none;transform:none}}

/* The preview is the interface; the old header strip only diluted the workspace. */
.immersive-editor .preview-header{display:none}
.preview-expanded .preview{grid-template-rows:minmax(0,1fr) 36px auto}
@media(max-width:760px){.preview-expanded .preview{grid-template-rows:minmax(0,1fr)}}



/* A compact workspace: one preview, one contextual tool, one action dock. */
.immersive-editor{--ink:#242a26;--muted:#70776f;--line:#e1e4dd;--olive:#43553e;--editor-height:calc(var(--app-height,100dvh) - 88px)}
.immersive-editor body{font-family:Arial,Helvetica,sans-serif;background:#f7f8f4}
.immersive-editor .topbar{height:64px;padding:0 max(24px,calc((100vw - 1200px)/2));background:#fff;border-bottom:1px solid #e7e9e3}
.immersive-editor .wordmark{font-size:27px}.immersive-editor .studio-context{margin-left:auto;margin-right:0;align-items:flex-end}.immersive-editor .studio-context strong{font-size:12px;font-weight:500}.immersive-editor .studio-context span{display:none}.immersive-editor .top-actions:empty{display:none}
.immersive-editor .page-shell{max-width:1200px;padding:12px 16px}
.immersive-editor .preview{grid-template-rows:minmax(0,1fr)}
.immersive-editor .preview-bottom,.immersive-editor .preview-disclaimer,.immersive-editor .stage-label,.immersive-editor .stage-corner{display:none}
.immersive-editor .stage{padding:16px 16px 90px;background:#e9ece5;border:0;border-radius:24px;box-shadow:none}
.immersive-editor .stage,.immersive-editor .preview{transition:background-color 220ms cubic-bezier(.23,1,.32,1)}
.immersive-editor[data-print-theme=dark] .stage,.immersive-editor[data-print-theme=dark] .preview{background:#171b18}
.immersive-editor .stage:before{display:none}.immersive-editor .canvas-wrap{border-radius:12px;box-shadow:0 8px 28px #26302018}
.immersive-editor .mobile-zoom{display:none}
.immersive-editor .controls,.immersive-editor.tool-open .controls{top:16px;right:16px;bottom:94px;width:360px;max-height:none;height:auto;border:1px solid #e0e4da;border-radius:20px;box-shadow:0 12px 36px #24302014;transform-origin:bottom right}
.immersive-editor .control-title{min-height:62px;padding:18px 20px 12px;border-bottom:1px solid #f0f1ed}.immersive-editor .control-title h2{font-size:18px;font-weight:600;letter-spacing:-.5px}.immersive-editor #saveStatus{display:none}.immersive-editor #closeTool{width:36px;height:36px;min-height:36px;top:12px;border:0;background:#f3f5ef;border-radius:50%}
.immersive-editor .panels{scrollbar-gutter:auto;scroll-padding:16px}.immersive-editor .panel{padding:18px 20px 24px}.immersive-editor .panel .field>span{font-size:12px}.immersive-editor .help{font-size:11px;line-height:1.55}.immersive-editor .upload{min-height:76px;padding:12px;background:#f8f9f5}.immersive-editor .upload strong{font-size:13px}.immersive-editor .upload small{font-size:10px}.immersive-editor .logo-thumb img{object-fit:cover}.immersive-editor .upload-foot{margin-bottom:14px}
.immersive-editor .profile-import{margin:0 0 20px;justify-content:space-between;min-height:44px;font-size:12px;background:#edf2e7;border-color:#dce4d4}.immersive-editor .profile-import[aria-busy=true]{opacity:.65}
.immersive-editor .control-bottom{padding:10px 16px;background:#fff}.immersive-editor .design-summary,.immersive-editor .step-actions{display:none}.immersive-editor .editor-menu>summary{font-size:11px;min-height:28px}
.immersive-editor .stage>.preview-shortcuts{bottom:16px;width:min(530px,calc(100% - 32px));gap:4px;padding:6px;border-radius:18px;border:1px solid #e2e6dc;background:#fff;box-shadow:0 6px 24px #26302018}
.immersive-editor .preview-shortcuts button{min-height:48px;font-size:12px;background:transparent;box-shadow:none;border:0;flex-direction:row}.immersive-editor .preview-shortcuts button[aria-expanded=true]{background:#eaf0e3}.immersive-editor .preview-shortcuts .shortcut-order{background:#26362a;color:#fff}.immersive-editor .preview-shortcuts svg{width:17px;height:17px}
@media(min-width:761px){.immersive-editor.tool-open .stage{padding-right:400px}}
@media(max-width:760px){
 .immersive-editor{--editor-height:calc(var(--app-height,100dvh) - 56px);--tool-height:min(43dvh,350px)}
 .immersive-editor,.immersive-editor body{width:100%;max-width:100%;overflow-x:hidden}
 .immersive-editor .topbar{height:56px;padding:0 18px}.immersive-editor .wordmark{font-size:24px}.immersive-editor .studio-context{display:none}
 .immersive-editor .page-shell,.immersive-editor .workspace,.immersive-editor .preview,.immersive-editor .stage{width:100%;max-width:100%;min-width:0}
 .immersive-editor .page-shell{padding:0;height:var(--editor-height)}.immersive-editor .preview{padding:0;background:#e9ece5}
 .immersive-editor .stage{padding:12px 8px calc(86px + env(safe-area-inset-bottom));border-radius:0}
 .immersive-editor .canvas-wrap{touch-action:none;overscroll-behavior:contain;transition:width 240ms cubic-bezier(.22,1,.36,1),height 240ms cubic-bezier(.22,1,.36,1)}
 .immersive-editor .mobile-zoom{position:absolute;z-index:5;top:20px;right:16px;display:flex;align-items:center;gap:7px;min-height:44px;padding:0 13px;border:1px solid #ffffffb8;border-radius:999px;background:#fffffff0;color:#26362a;box-shadow:0 5px 20px #15201724;backdrop-filter:blur(12px);font-size:11px;font-weight:650;transition:transform 120ms ease-out,background-color 160ms ease}
 .immersive-editor .mobile-zoom:active{transform:scale(.97)}.immersive-editor .mobile-zoom[aria-pressed=true]{background:#26362af2;color:#fff;border-color:#ffffff35}
 .immersive-editor .mobile-zoom-icon{position:relative;width:15px;height:15px;border:1.7px solid currentColor;border-radius:4px}.immersive-editor .mobile-zoom-icon:after{content:'';position:absolute;width:6px;height:1.7px;background:currentColor;right:-5px;bottom:-3px;transform:rotate(45deg);border-radius:2px}.immersive-editor .mobile-zoom[aria-pressed=true] .mobile-zoom-icon:before{content:'';position:absolute;left:3px;right:3px;top:5px;height:1.7px;background:currentColor;border-radius:2px}
 .immersive-editor.tool-open .stage{padding:8px 8px calc(var(--tool-height) + 94px + env(safe-area-inset-bottom))}
 .immersive-editor .controls,.immersive-editor.tool-open .controls{top:auto;left:10px;right:10px;bottom:calc(82px + env(safe-area-inset-bottom));width:auto;height:var(--tool-height);max-height:none;border-radius:20px;transform-origin:bottom center}
 .immersive-editor .control-title{min-height:54px;padding:15px 18px 10px}.immersive-editor .control-title h2{font-size:17px}.immersive-editor .panel{padding:14px 18px 22px}.immersive-editor .panels input,.immersive-editor .panels textarea,.immersive-editor .panels select{font-size:16px}
 .immersive-editor .stage>.preview-shortcuts{left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));width:auto;max-width:none;transform:none;padding:5px;gap:2px;border-radius:18px}
 .immersive-editor .preview-shortcuts button{min-width:0;padding:5px 2px;overflow:hidden;flex-direction:column;min-height:54px;font-size:10px;gap:5px;border-radius:12px}.immersive-editor .preview-shortcuts svg{width:19px;height:19px}.immersive-editor .control-bottom{display:none}
 .immersive-editor.keyboard-open{--tool-height:calc(var(--editor-height) - 96px)}
 .immersive-editor.keyboard-open .stage{padding-bottom:86px}.immersive-editor.keyboard-open.tool-open .canvas-wrap{visibility:hidden}
}
@media(prefers-reduced-motion:reduce){.immersive-editor .controls,.immersive-editor .canvas-wrap,.immersive-editor .mobile-zoom{transition:none}}
/* Keep the prefix clear of typed text at every input size. */
.immersive-editor .prefix-field input{padding-left:32px}.immersive-editor .prefix-field>span{left:13px;top:12px;font-size:16px}

.wordmark img{display:block;width:188px;height:auto}.wordmark-text{display:none}.immersive-editor .wordmark{font-size:0}
@media(max-width:760px){.wordmark img{width:152px}.immersive-editor .wordmark{font-size:0}}
