@import url("/product-font.css");

.creative-studio,.creative-start{font-family:var(--app-font);color:#eae7e2;background:#242729}.creative-studio{height:calc(100svh - 78px);min-height:650px;display:flex;flex-direction:column}.creative-toolbar{display:flex;align-items:center;gap:14px;border-bottom:1px solid #ffffff20;padding:12px 22px;background:#222526;min-height:65px}.creative-toolbar>input{background:transparent!important;color:inherit!important;border:0!important;font:500 14px var(--app-font);width:200px;min-width:100px;padding:8px!important}.creative-toolbar>span{font-size:10px;color:#b1b4b3;white-space:nowrap}.creative-toolbar>div{display:flex;align-items:center;gap:7px;margin-left:auto}.creative-toolbar button,.creative-toolbar select{font:11px var(--app-font);color:#eae7e2;background:transparent;border:1px solid #ffffff25;border-radius:5px;padding:8px 10px;cursor:pointer}.creative-toolbar select option{background:#272b2d;color:#fff}.creative-toolbar .creative-primary{background:#e6a39b;color:#242729;border-color:#e6a39b}.creative-toolbar svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;vertical-align:middle}.creative-workspace{display:grid;grid-template-columns:65px minmax(0,1fr) 250px;flex:1;min-height:0}.creative-rail{display:flex;flex-direction:column;align-items:center;padding:16px 7px;gap:10px;border-right:1px solid #ffffff18;background:#222526}.creative-rail button{background:transparent;border:0;color:#cecfcb;padding:10px 6px;border-radius:5px;display:grid;gap:7px;justify-items:center;font:9px var(--app-font);cursor:pointer;width:48px}.creative-rail button:hover,.creative-rail button:focus-visible{background:#3c4142;color:#fff}.creative-rail svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}.creative-scroll{overflow:auto;min-width:0;padding:50px;outline:none;background-color:#333738;background-image:radial-gradient(#ffffff20 .7px,transparent .7px);background-size:18px 18px}.creative-world{position:relative;margin:0 auto}.creative-artboard{position:relative;transform-origin:0 0;overflow:hidden;box-shadow:0 12px 50px #0003;color:#363436;flex:none}.creative-element{position:absolute;box-sizing:border-box;white-space:pre-wrap;line-height:1.12;min-width:0}.creative-element>span{display:block;width:100%;height:100%;outline:none;overflow-wrap:anywhere}.creative-button{display:flex;align-items:center;justify-content:center;line-height:1.3;padding:12px 16px}.creative-button>span{height:auto}.creative-image img{width:100%;height:100%;object-fit:contain}.creative-studio .creative-element{outline:1px solid transparent}.creative-studio .creative-element:hover{outline-color:#9c7a73aa}.creative-studio .creative-element.is-selected{outline:1.5px solid #9f5951;overflow:visible}.creative-move,.creative-resize{position:absolute;display:none;touch-action:none;z-index:3;border:1px solid #9f5951;background:#fff;color:#363436;cursor:move;padding:0}.is-selected>.creative-move{display:block;left:0;top:-25px;width:25px;height:25px;font-size:17px;line-height:1}.is-selected>.creative-resize{display:block;bottom:-5px;right:-5px;width:10px;height:10px;cursor:nwse-resize}.creative-element [contenteditable]{cursor:text}.creative-element [contenteditable]:focus{outline:1px dashed #9f5951;outline-offset:4px}#creative-inspector{border-left:1px solid #ffffff18;overflow:auto;padding:20px 17px;background:#222526;min-width:0;font-size:11px}#creative-inspector header{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}#creative-inspector header strong{font-weight:500;font-size:13px}#creative-inspector label{display:grid;gap:7px;margin:15px 0;color:#c5c7c3;font-size:10px}#creative-inspector input,#creative-inspector select,#creative-inspector textarea{width:100%;min-width:0;font:12px var(--app-font);border:1px solid #ffffff30;background:#303536;color:#ecebe6;border-radius:4px;padding:9px;box-sizing:border-box}#creative-inspector input[type=color]{height:35px;padding:3px}#creative-inspector select option{background:#303536;color:#fff}#creative-inspector>p,.creative-action p{font-size:10px;line-height:1.7;color:#a8adaa}#creative-inspector button{font:10px var(--app-font);border:1px solid #ffffff30;padding:7px 9px;background:transparent;color:#ecebe6;border-radius:4px;cursor:pointer}#creative-inspector header button{border:0;font-size:18px}.creative-pair{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.creative-pair label{margin:8px 0!important}.creative-action{border-top:1px solid #ffffff25;padding-top:17px;margin-top:22px}.creative-action summary{cursor:pointer;font-size:12px;font-weight:500}.creative-selection-tools{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #ffffff25;margin-top:25px;padding-top:20px}.creative-status{display:flex;justify-content:space-between;gap:15px;padding:10px 22px;background:#222526;color:#b0b4b1;font-size:9px;border-top:1px solid #ffffff18}.creative-start{min-height:calc(100svh - 78px);padding:60px max(5vw,calc((100vw - 1100px)/2))}.creative-start h1{font-size:clamp(38px,4vw,60px);font-weight:450;letter-spacing:-2px;margin:22px 0 15px}.creative-start>header p{color:#c2c4c0;font-size:14px}.creative-template-controls{display:flex;align-items:end;gap:25px;margin:35px 0 25px;font-size:11px}.creative-template-controls label{display:grid;gap:10px}.creative-template-controls select{padding:10px;font:13px var(--app-font);background:#303536;color:#f5f2ed;border:1px solid #777;border-radius:4px}.creative-template-controls>span{opacity:.7;padding-bottom:10px}.creative-templates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.creative-template{display:flex;flex-direction:column;gap:12px;min-width:0;text-align:left;border:1px solid #ffffff30;border-radius:6px;background:transparent;color:inherit;padding:12px;cursor:pointer}.creative-template:hover{border-color:#e6a39b}.creative-template-art{display:block;width:100%;height:235px;position:relative;padding:25px 20px;box-sizing:border-box;overflow:hidden;border-radius:2px}.creative-template-art>i{display:block;background:var(--template-accent);height:65px;margin-bottom:25px}.creative-template-art>strong{display:block;font-size:29px;line-height:1.05;font-weight:400;letter-spacing:-1px}.creative-template-art>span{display:inline-block;padding:8px 11px;font:8px var(--app-font);margin-top:20px}.creative-template-art.template-minimal>i{height:3px;margin-bottom:35px}.creative-template-art.template-bold>i{position:absolute;left:0;right:0;top:0;height:80px}.creative-template-art.template-bold>strong{position:relative;margin-top:70px;font-size:35px}.creative-template>strong{font-size:13px;font-weight:500}.creative-template>small{font-size:11px;line-height:1.6;opacity:.75}.creative-library{margin-top:40px;font-size:12px}.creative-library summary{cursor:pointer;padding:15px 0;border-top:1px solid #8885}.creative-library>div,.creative-draft-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.creative-preview-frame{width:100%;height:70vh;border:0;background:#fff}#modal:has(.creative-preview-frame){max-width:940px;width:94vw}#modal:has(.creative-templates){max-width:970px;width:94vw}.brand-kit select{width:100%;font-size:14px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:12px}.brand-kit select:focus-visible{outline:2px solid var(--brand-rose);outline-offset:3px}.brand-kit-head,.brand-kit-layout label,.brand-kit-layout h3{font-family:var(--app-font)}
.canvas-public{margin:0;background:#fcfaf6}.canvas-public #canvas-public{position:relative;margin:0 auto}.canvas-public .creative-artboard{box-shadow:none}.canvas-public [role=button]{cursor:pointer}.canvas-public [role=button]:focus-visible{outline:3px solid #9f5951;outline-offset:3px}.creative-capture-dialog{border:0;padding:20px;border-radius:7px;max-width:560px;width:calc(100% - 40px);max-height:90svh;overflow:auto;box-sizing:border-box;background:#fcfaf6}.creative-capture-dialog::backdrop{background:#1b1b1b88}.creative-capture-close{display:block;margin:0 0 15px auto;border:1px solid #b5a79c;border-radius:4px;background:transparent;padding:7px 13px;font:12px var(--app-font);cursor:pointer}
@media(max-width:1000px){.creative-toolbar{flex-wrap:wrap;padding:10px 14px;gap:8px}.creative-toolbar>div{margin-left:0;width:100%;flex-wrap:wrap}.creative-workspace{grid-template-columns:55px minmax(0,1fr) 220px}.creative-scroll{padding:35px}.creative-studio{height:calc(100svh - 76px);min-height:760px}.creative-start{padding:40px 25px}.creative-template-art{height:220px;padding:20px 15px}.creative-template-art>strong{font-size:24px}}
@media(max-width:650px){.creative-workspace{grid-template-columns:45px minmax(0,1fr);grid-template-rows:minmax(330px,1fr) 230px}.creative-rail{grid-row:1;padding:10px 2px}.creative-rail button{width:38px;font-size:8px}.creative-scroll{padding:25px;grid-row:1}#creative-inspector{grid-column:1/-1;grid-row:2;border-left:0;border-top:1px solid #ffffff30;padding:17px 22px}#creative-inspector header{margin-bottom:13px}.creative-status>span:first-child{max-width:230px;line-height:1.6}.creative-studio{min-height:840px}.creative-toolbar>input{width:180px}.creative-toolbar button,.creative-toolbar select{font-size:10px;padding:7px 8px}.creative-templates{grid-template-columns:1fr}.creative-template-art{height:260px}.creative-template-art>strong{font-size:34px}.creative-template-art.template-bold>strong{font-size:42px}.creative-template-controls{align-items:start;flex-direction:column;gap:10px}.creative-template-controls>span{padding:0}.creative-start h1{font-size:42px}.creative-preview-frame{height:70svh}.creative-capture-dialog{padding:10px;width:calc(100% - 20px)}}
.creative-image-empty{display:grid!important;place-items:center;border:1px dashed #8d8d8d;background:#ddd8d0;color:#756d69;font:14px var(--app-font);min-height:100%}.creative-image{overflow:hidden}
#creative-inspector>header+.creative-action{border-top:0;margin-top:0;padding-top:0;margin-bottom:22px;padding-bottom:17px;border-bottom:1px solid #ffffff25}
/* Font browsing is rendered in the page, outside clipped inspector panels. */
.font-picker-control{display:block;min-width:0}.font-picker-control>select[hidden]{display:none!important}.font-picker-trigger{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:43px;padding:10px 12px!important;border:1px solid #bfb8b0!important;border-radius:6px!important;background:#fcfaf6!important;color:#363436!important;cursor:pointer;text-align:left;font-size:14px!important}.font-picker-current{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:1.4}.font-picker-chevron{font:16px var(--app-font);opacity:.7;flex-shrink:0}.font-picker-trigger[aria-expanded=true]{border-color:#a65853!important;box-shadow:0 0 0 2px #e6a39b44}.font-picker-trigger:focus-visible{outline:2px solid #e6a39b;outline-offset:3px}#creative-inspector .font-picker-trigger{background:#303536!important;color:#f5f2ed!important;border-color:#5b6262!important}.font-picker-panel{position:fixed;z-index:2147483640;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background:#faf8f4;color:#363436;border:1px solid #bcb3a9;border-radius:12px;box-shadow:0 18px 60px #0005;font:13px var(--app-font);color-scheme:light}.font-picker-panel *{box-sizing:border-box}.font-picker-panel header{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid #ded8d0;font-size:12px;font-weight:500}.font-picker-panel header button{background:transparent;border:0;padding:0 4px;font-size:23px;line-height:1;color:inherit;cursor:pointer}.font-picker-search{padding:12px 14px 0}.font-picker-search input{width:100%;padding:11px 12px;background:#fff;color:#363436;border:1px solid #cfc7bd;border-radius:6px;font:13px var(--app-font);outline:none;min-height:41px}.font-picker-search input:focus{border-color:#a65853;box-shadow:0 0 0 2px #e6a39b30}.font-picker-sample{padding:16px 16px 14px;border-bottom:1px solid #ded8d0;background:#eee8e0;min-height:137px;flex-shrink:0}.font-picker-sample>span{display:block;font:10px var(--app-font);color:#756d69;margin-bottom:10px}.font-picker-sample strong{display:block;font-size:29px;font-weight:400;line-height:1.15;min-height:66px;overflow-wrap:anywhere}.font-picker-sample small{display:block;margin-top:9px;font:9px var(--app-font);color:#756d69;min-height:13px}.font-picker-list{overflow:auto;overscroll-behavior:contain;max-height:260px;min-height:110px;scrollbar-width:thin;scrollbar-color:#a99c90 #eee8e0}.font-picker-option{display:flex;align-items:center;gap:10px;padding:12px 15px;min-height:63px;border-bottom:1px solid #e8e1d9;cursor:pointer}.font-picker-option.is-highlighted{background:#ead4cd}.font-picker-option[aria-selected=true]{box-shadow:inset 3px 0 #a65853}.font-picker-option-meta{display:grid;gap:5px;min-width:0;flex:1}.font-picker-option-meta strong{font:500 12px var(--app-font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.font-picker-option-meta small{font:9px var(--app-font);color:#756d69}.font-picker-option-sample{font-size:23px;font-weight:400;line-height:1.2;width:120px;white-space:nowrap;text-align:right}.font-picker-option[data-preview-state=unavailable] .font-picker-option-sample{opacity:.4}.font-picker-option-check{width:12px;font-size:13px;color:#a65853}.font-picker-panel footer{padding:10px 14px;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ded8d0;font:9px var(--app-font);color:#756d69;flex-shrink:0}.font-picker-empty{padding:20px 15px;color:#756d69}.creative-toolbar select,#creative-inspector select,.creative-template-controls select,.brand-kit select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%239a9994' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:30px!important;line-height:1.5;cursor:pointer}#creative-inspector select:focus-visible,.creative-toolbar select:focus-visible{outline:2px solid #e6a39b;outline-offset:2px}@media(max-width:600px){.font-picker-panel{border-radius:10px}.font-picker-sample{min-height:120px;padding:13px 14px}.font-picker-sample strong{font-size:26px;min-height:58px}.font-picker-list{max-height:230px}.font-picker-option-sample{width:110px;font-size:22px}.font-picker-panel footer span:last-child{font-size:8px}}
.font-picker-option:not([data-preview-state=ready]) .font-picker-option-sample{opacity:.35}.font-picker-compact .font-picker-sample{min-height:90px;padding:10px 14px}.font-picker-compact .font-picker-sample strong{font-size:22px;min-height:26px}.font-picker-compact .font-picker-sample small{margin-top:5px}.font-picker-compact .font-picker-list{min-height:60px;flex:1}.font-picker-search,.font-picker-panel header{flex-shrink:0}
/* Studio menus stay compact and consistent across browsers. */
.studio-select{display:block;min-width:0}.studio-select>select[hidden]{display:none!important}.studio-select-trigger{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:36px;padding:8px 10px!important;border:1px solid #59605f!important;border-radius:5px!important;background:#303536!important;color:#ede9e2!important;font:12px/1.4 var(--app-font)!important;text-align:left;cursor:pointer}.studio-select-trigger>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.studio-select-trigger>i{font:15px var(--app-font);font-style:normal;opacity:.65}.studio-select-trigger[aria-expanded=true]{border-color:#e6a39b!important}.studio-select-trigger:focus-visible{outline:2px solid #e6a39b;outline-offset:2px}.studio-select-menu{position:fixed;inset:auto;margin:0;z-index:2147483641;padding:5px;border:1px solid #cfc7bc;border-radius:7px;background:#faf8f4;color:#363436;box-shadow:0 12px 35px #0004;overflow-y:auto;box-sizing:border-box;color-scheme:light}.studio-select-menu button{display:block;width:100%;text-align:left;border:0;border-radius:4px;background:transparent;color:inherit;padding:9px 28px 9px 11px;position:relative;font:12px/1.45 var(--app-font);cursor:pointer;overflow-wrap:anywhere}.studio-select-menu button[aria-selected=true]::after{content:'✓';position:absolute;right:10px;color:#a65853}.studio-select-menu button:focus,.studio-select-menu button:hover{outline:0;background:#ead4cd;color:#363436}.studio-select-dark{background:#2d3132;border-color:#535958;color:#eeeae4}.studio-select-dark button:focus,.studio-select-dark button:hover{background:#424847;color:#fff}.studio-select-dark button[aria-selected=true]::after{color:#e6a39b}
.creative-launcher{padding:0;min-height:calc(100svh - 82px)}.creative-launcher .creative-toolbar{margin:0}.creative-toolbar>strong{font-size:14px;font-weight:500}.creative-launch-workspace{display:grid;grid-template-columns:190px minmax(0,1fr) 240px;min-height:calc(100svh - 148px)}.creative-launch-tools{padding:28px 15px;background:#25292a;border-right:1px solid #ffffff16}.creative-launch-tools h2,.creative-launch-settings h2{font-size:11px;font-weight:500;letter-spacing:.03em;color:#b6b9b4;margin:0 0 20px}.creative-purpose-options{display:flex;gap:7px;flex-wrap:wrap}.creative-purpose-options button{display:flex;align-items:center;gap:10px;border:1px solid #ffffff26;border-radius:5px;padding:10px 12px;font:12px var(--app-font);background:transparent;color:inherit;cursor:pointer}.creative-purpose-options svg{height:17px;width:17px;fill:none;stroke:currentColor;stroke-width:1.4;flex-shrink:0}.creative-purpose-options button[aria-pressed=true]{background:#e6a39b;color:#25292a;border-color:#e6a39b}.creative-launch-tools .creative-purpose-options{display:grid}.creative-launch-tools .creative-purpose-options button{border-color:transparent;white-space:nowrap}.creative-launch-preview{background:#343837;background-image:radial-gradient(#ffffff16 .65px,transparent .65px);background-size:18px 18px;padding:28px;display:flex;align-items:center;flex-direction:column;gap:24px;overflow:auto}.creative-preview-label{font-size:10px;color:#d1d1c9;align-self:flex-start}.creative-preview-well{flex-shrink:0;position:relative}.creative-launch-settings{padding:28px 20px;background:#25292a;border-left:1px solid #ffffff16}.creative-layout-options{display:grid;gap:8px}.creative-layout-options button{background:transparent;color:#eeeae4;border:1px solid #ffffff25;border-radius:6px;display:flex;align-items:center;gap:12px;text-align:left;padding:9px 10px;font:12px var(--app-font);cursor:pointer}.creative-layout-options button[aria-pressed=true]{border-color:#e6a39b;background:#ffffff06}.layout-swatch{display:block;width:38px;height:43px;background:linear-gradient(#e6a39b 0 28%,#f5f0e7 28%);border:5px solid #f5f0e7;box-sizing:border-box}.swatch-minimal{background:linear-gradient(#e6a39b 0 7%,#f5f0e7 7%)}.swatch-bold{border-width:0;background:linear-gradient(#e6a39b 0 50%,#f5f0e7 50%)}.creative-launch-settings .creative-template-controls{margin:28px 0 14px;display:block}.creative-launch-settings .creative-template-controls label{gap:8px;display:grid;font-size:11px;color:#c9cac4}.creative-launch-settings p{font-size:11px;line-height:1.7;color:#a8aea8}.creative-brand-link{background:transparent;color:#e6a39b;border:0;font:11px var(--app-font);padding:3px 0;cursor:pointer}.creative-studio .creative-workspace{grid-template-columns:155px minmax(0,1fr) 260px}.creative-studio .creative-rail{align-items:stretch;flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:6px;padding:16px 8px}.creative-studio .creative-scroll{padding:44px 35px}.creative-status{font-size:10px}.creative-toolbar .studio-select{min-width:76px}#creative-inspector .creative-geometry{border-top:1px solid #ffffff16;margin:14px 0;padding:13px 0}#creative-inspector .creative-geometry summary{font-size:11px;color:#c8cac5;cursor:pointer;margin-bottom:10px}
@media(max-width:1000px){.creative-launch-workspace{grid-template-columns:155px minmax(0,1fr) 210px}.creative-launch-preview{padding:22px 16px}.creative-studio .creative-workspace{grid-template-columns:110px minmax(0,1fr) 230px}.creative-launch-tools{padding:24px 8px}.creative-launch-tools .creative-purpose-options button{font-size:11px;padding:10px 6px}.creative-studio .creative-scroll{padding:35px 20px}}
@media(max-width:650px){.creative-launch-workspace{grid-template-columns:1fr;min-height:0}.creative-launch-tools{padding:16px;border:0}.creative-launch-tools h2{display:none}.creative-launch-tools .creative-purpose-options{display:flex}.creative-launch-tools .creative-purpose-options button{font-size:11px;padding:9px}.creative-launch-preview{min-height:300px;padding:18px}.creative-launch-settings{padding:20px;border-left:0}.creative-launch-settings h2{margin-bottom:12px}.creative-layout-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.creative-layout-options button{font-size:10px;gap:6px;padding:7px}.layout-swatch{width:22px;height:27px;flex-shrink:0}.creative-launch-settings .creative-template-controls{margin:18px 0 12px}.creative-launcher .creative-toolbar{flex-wrap:nowrap}.creative-launcher .creative-toolbar>span{display:none}.creative-launcher .creative-toolbar>div{width:auto;margin-left:auto}.creative-studio .creative-workspace{grid-template-columns:45px minmax(0,1fr);grid-template-rows:minmax(330px,1fr) 250px}.creative-studio .creative-rail{flex-direction:column;flex-wrap:nowrap;padding:12px 3px;overflow:auto}.creative-studio .creative-scroll{padding:25px 16px}.creative-launch-preview .creative-artboard{box-shadow:0 8px 24px #0003}}
.dialog-content .studio-select-trigger{background:#faf8f4!important;color:#363436!important;border-color:#c9bfb3!important}.creative-launch-settings .creative-brand-link:focus-visible,.creative-purpose-options button:focus-visible,.creative-layout-options button:focus-visible{outline:2px solid #e6a39b;outline-offset:3px}
/* Page placement, text anchoring and structural guides. */
.creative-text>span{height:auto}.creative-artboard.has-center-guides::before,.creative-artboard.has-center-guides::after{content:'';position:absolute;z-index:100;pointer-events:none;background:#be746866}.creative-artboard.has-center-guides::before{width:1px;top:0;bottom:0;left:50%}.creative-artboard.has-center-guides::after{height:1px;left:0;right:0;top:50%}.creative-artboard.snap-center-x::before,.creative-artboard.snap-center-y::after{background:#ba6354;box-shadow:0 0 0 1px #ba635420}.creative-layout-panel{padding:16px 0;border-top:1px solid #ffffff18;border-bottom:1px solid #ffffff18;margin:16px 0}.creative-layout-panel h3{font:500 11px var(--app-font);margin:0 0 14px;color:#eae7e2}.creative-layout-grids{display:flex;gap:24px}.creative-layout-grids>div>span{display:block;font-size:10px;color:#b9bfb8;margin-bottom:9px}.creative-nine-grid{display:grid;grid-template-columns:repeat(3,25px);grid-template-rows:repeat(3,25px);gap:3px;padding:5px;border:1px solid #555e59;border-radius:5px;width:max-content;background:#303635}.creative-nine-grid button{display:grid;place-items:center;width:25px;height:25px;min-height:0;margin:0;padding:0!important;border:0!important;background:transparent;color:#c9d0c6;cursor:pointer;border-radius:3px}.creative-nine-grid button i{width:5px;height:5px;border:1px solid currentColor;border-radius:1px}.creative-nine-grid button:hover{background:#ffffff13}.creative-nine-grid button[aria-pressed=true]{background:#e6a39b;color:#242729}.creative-nine-grid button[aria-pressed=true] i{background:currentColor}.creative-nine-grid button:focus-visible{outline:2px solid #e6a39b;outline-offset:1px}.creative-center-tools{display:flex;gap:7px;margin-top:14px}.creative-center-tools button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;font-size:17px!important;padding:7px!important}.creative-center-tools button span{font-size:10px}.creative-toolbar button[aria-pressed=true]{border-color:#c68e84;background:#e6a39b17;color:#f2c9bf}.creative-line{padding:0;line-height:0}.creative-studio .creative-line::after{content:'';position:absolute;inset:-7px;z-index:1;cursor:pointer}.creative-line>.creative-move,.creative-line>.creative-resize{z-index:4}.creative-line-axis{display:flex;gap:6px;margin-top:12px}.creative-line-axis button{font-size:9px!important;flex:1}.creative-line-axis button[aria-pressed=true]{border-color:#e6a39b!important;color:#f4c8be!important}.canvas-public .creative-line{pointer-events:none}
#creative-inspector .creative-nine-grid button{background:transparent;color:#c9d0c6}#creative-inspector .creative-nine-grid button[aria-pressed=true]{background:#e6a39b;color:#242729}#creative-inspector .creative-nine-grid button:hover{background:#ffffff20}#creative-inspector .creative-nine-grid button[aria-pressed=true]:hover{background:#efb7af}
.creative-structure-overlay{position:absolute;inset:0;z-index:90;pointer-events:none;color:#a56055;font:11px var(--app-font)}.creative-padding-box{position:absolute;border-left:1px dashed #a5605570;border-right:1px dashed #a5605570;border-top:1px dashed #a5605540;border-bottom:1px dashed #a5605540;box-sizing:border-box}.creative-row-box{position:absolute;border:1px solid #a5605570;box-sizing:border-box}.creative-row-box>span{position:absolute;left:0;top:-22px;font:10px var(--app-font);background:#fcfaf6e8;padding:4px 7px;border-radius:3px;white-space:nowrap}.creative-document-controls{border-top:1px solid #ffffff16;border-bottom:1px solid #ffffff16;padding:16px 0;margin:14px 0;color:#d6dbd1}.creative-document-controls>header{display:block!important;padding:0!important;margin:0 0 13px!important}.creative-document-controls header strong{font-size:11px}.creative-document-controls header span{display:block;font-size:10px;color:#c1978c;margin-top:7px}.creative-document-controls p{font-size:10px!important;line-height:1.7!important;margin:9px 0!important;color:#aeb6ab!important}.creative-document-controls p.creative-measurement{color:#d2b3a8!important}.creative-document-controls details{padding:12px 0;border-top:1px solid #ffffff12}.creative-document-controls summary{cursor:pointer;font-size:11px;margin-bottom:12px}.creative-padding-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.creative-padding-inputs label{text-transform:capitalize}.creative-document-controls .creative-floating{display:flex!important;align-items:center;gap:9px;font-size:10px!important}.creative-floating input[type=checkbox]{width:14px!important;accent-color:#e6a39b;padding:0!important}.creative-document-controls input[type=number]{min-width:0;width:100%;box-sizing:border-box}.creative-studio .creative-toolbar{flex-wrap:wrap}.creative-studio .creative-toolbar>div{flex-wrap:wrap}.creative-studio .creative-rail{overflow:auto}
/* Selection tools stay legible at every canvas zoom and remain above the scroll area. */
.creative-canvas-area{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.creative-canvas-area .creative-scroll{flex:1;min-height:0}#creative-selection-toolbar{display:flex;align-items:center;gap:5px;flex:0 0 53px;box-sizing:border-box;padding:7px 12px;background:#292d2e;border-bottom:1px solid #ffffff18;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;color:#eeeae4}#creative-selection-toolbar>*{flex-shrink:0}#creative-selection-toolbar label{margin:0;display:flex;align-items:center;gap:6px;font:10px var(--app-font);color:#c3c5bf}#creative-selection-toolbar button{display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:5px;color:#eae7e2;min-width:32px;height:32px;padding:6px;cursor:pointer;font:14px var(--app-font)}#creative-selection-toolbar button:hover{background:#ffffff12}#creative-selection-toolbar button[aria-pressed=true]{background:#e6a39b26;color:#f4c1b8;border-color:#e6a39b55}#creative-selection-toolbar :focus-visible{outline:2px solid #e6a39b;outline-offset:1px}#creative-selection-toolbar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}#creative-selection-toolbar .creative-quick-font{font-size:0}#creative-selection-toolbar .font-picker-control{width:132px}#creative-selection-toolbar .font-picker-trigger{display:flex;justify-content:space-between;width:100%;min-height:32px;height:32px;background:#34393a;border:1px solid #ffffff25;color:#eeeae4;font-size:11px;padding:5px 8px}#creative-selection-toolbar input[type=number]{width:54px;height:32px;box-sizing:border-box;border:1px solid #ffffff25;background:#34393a;color:#eeeae4;border-radius:5px;padding:5px;font:12px var(--app-font)}#creative-selection-toolbar input[type=color]{width:30px;height:30px;padding:3px;border:1px solid #ffffff25;border-radius:5px;background:transparent;cursor:pointer}.creative-quick-divider{height:22px;width:1px;background:#ffffff20;margin:0 3px}.creative-quick-type,.creative-quick-hint{font-size:11px;color:#bfc3be}.creative-quick-color .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}#creative-selection-toolbar .creative-quick-delete{color:#e6a39b}.creative-align-icon{display:flex;flex-direction:column;gap:3px;width:16px}.creative-align-icon i{height:1px;background:currentColor;width:16px}.creative-align-icon i:nth-child(2){width:10px}.creative-align-icon.align-center{align-items:center}.creative-align-icon.align-right{align-items:flex-end}
@media(max-width:650px){.creative-canvas-area{grid-column:2;grid-row:1}#creative-selection-toolbar{padding:7px 8px}}

#creative-selection-toolbar .font-picker-trigger{background:#34393a!important;color:#eeeae4!important;font-size:11px!important;padding:5px 8px!important;border:1px solid #ffffff25!important}
/* Compact document controls, with the canvas taking priority. */
.creative-studio .creative-editor-toolbar{min-height:50px;height:50px;box-sizing:border-box;padding:7px 14px;gap:14px;flex-wrap:nowrap}.creative-editor-toolbar>.creative-design-title{margin:0;display:flex;align-items:center;gap:8px;min-width:0;flex:1}.creative-design-title #creative-name{width:190px;min-width:65px;max-width:100%;padding:5px 0!important;border:0!important;background:transparent!important;color:#eae7e2!important;font:500 12px var(--app-font);text-overflow:ellipsis}.creative-studio .creative-editor-toolbar>.creative-editor-actions{margin-left:auto;gap:8px;flex-wrap:nowrap;flex:none}.creative-tool-group{display:flex;align-items:center;gap:2px}.creative-tool-group+.creative-tool-group{border-left:1px solid #ffffff18;padding-left:8px}.creative-editor-toolbar .creative-tool-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:30px;height:30px;padding:6px;border:1px solid transparent;border-radius:4px;flex-shrink:0}.creative-editor-toolbar .creative-tool-icon svg{width:15px;height:15px;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.creative-editor-toolbar .creative-tool-icon:hover{background:#ffffff10}.creative-editor-toolbar .creative-tool-icon[aria-pressed=true]{border-color:transparent;background:#e6a39b18;color:#f0b9af}.creative-editor-toolbar .creative-tool-icon.creative-primary{padding:6px 10px;font-size:11px;color:#242729;background:#e6a39b}.creative-editor-toolbar .creative-tool-icon:focus-visible{outline:2px solid #e6a39b;outline-offset:2px}.creative-editor-toolbar .studio-select{min-width:65px}.creative-editor-toolbar .studio-select-trigger{min-height:30px;height:30px;padding:5px 8px;font-size:11px}.creative-studio .creative-status{padding:7px 14px;font-size:9px;line-height:1.3}.creative-studio #creative-inspector{padding:16px 14px}.creative-studio #creative-inspector>header{margin-bottom:15px}.creative-studio #creative-inspector label{margin:11px 0;gap:5px}.creative-studio #creative-inspector .creative-document-controls{padding:12px 0;margin:11px 0}.creative-studio #creative-inspector input,.creative-studio #creative-inspector select,.creative-studio #creative-inspector textarea{padding:7px;font-size:11px}.creative-studio .creative-rail{gap:4px;padding-top:12px}.creative-studio .creative-rail button{padding-top:8px;padding-bottom:8px;gap:5px}
@media(max-width:850px){.creative-design-title #creative-name{width:135px}.creative-studio .creative-editor-toolbar{gap:8px;padding-left:10px;padding-right:10px}.creative-studio .creative-editor-toolbar>.creative-editor-actions{gap:4px}.creative-tool-group+.creative-tool-group{padding-left:4px}}
@media(max-width:650px){.creative-studio .creative-editor-toolbar{height:auto;min-height:83px;display:flex;flex-wrap:wrap;gap:3px;padding:6px 10px}.creative-editor-toolbar>.creative-design-title{flex-basis:100%;height:27px;justify-content:space-between}.creative-design-title #creative-name{width:220px}.creative-studio .creative-editor-toolbar>.creative-editor-actions{width:100%;margin:0;overflow-x:auto;scrollbar-width:thin;gap:6px;padding-bottom:3px;min-height:34px}.creative-editor-actions>.creative-tool-group{flex-shrink:0}.creative-editor-actions>.studio-select{flex-shrink:0}.creative-studio .creative-status>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.creative-studio .creative-status>span:last-child{white-space:nowrap}}
.creative-studio{overflow:hidden}
.creative-media-tray{background:#25292a;border-bottom:1px solid #ffffff20;padding:10px 12px;flex-shrink:0;min-width:0}.creative-media-tray header{display:flex;gap:10px;align-items:center;font-size:11px}.creative-media-tray header span{font-size:10px;color:#aeb6ab;flex:1}.creative-media-tray button{background:transparent;color:inherit;border:1px solid #ffffff25;border-radius:4px;cursor:pointer;font:11px var(--app-font);padding:5px}.photo-media-list{display:flex;gap:8px;overflow:auto;max-height:130px;margin-top:10px}.photo-media-list button{width:100px;height:85px;flex-shrink:0;padding:0;overflow:hidden;cursor:grab}.photo-media-list img{width:100%;height:100%;object-fit:cover}.photo-profile-logo{display:block;max-width:160px;max-height:90px;object-fit:contain;margin:15px 0}#photofolio-state{display:block;font-size:11px;color:#756d69;margin:10px 0}
.inline-input-row{position:relative}.inline-input-row .profile-field{position:relative;padding-right:25px}.inline-input-row .profile-field>span[aria-hidden]{position:absolute;right:28px;top:0}.inline-input-edit{position:absolute;right:0;top:0;width:24px!important;height:25px!important;background:transparent!important;border:0!important;color:var(--design-text,#363436)!important;padding:0!important;margin:0!important;font-size:20px!important;opacity:.5}.inline-input-row:hover .inline-input-edit,.inline-input-edit:focus-visible{opacity:1}.inline-input-row [contenteditable]:focus{outline:1px dashed #c68e84;outline-offset:3px}.inline-add-input{display:block!important;background:transparent!important;border:1px dashed #b6aca3!important;color:var(--design-muted,#756d69)!important;font-size:11px!important;padding:7px 12px!important;width:auto!important;margin:12px 0!important}.capture-card .inline-add-input:hover{border-style:solid!important}
.swatch-studio,.swatch-quiet{background:linear-gradient(transparent 0 18%,#b8b1a5 18% 20%,transparent 20% 75%,#363436 75% 90%,transparent 90%)}.swatch-split{background:linear-gradient(90deg,transparent 0 45%,#e6a39b 45% 47%,transparent 47%)}.template-studio i,.template-split i,.template-quiet i{height:1px;background:currentColor;opacity:.4}.template-studio strong,.template-quiet strong{font-size:30px}.template-quiet{padding-top:50px!important}.template-split strong{max-width:55%;font-size:28px}.template-split>span{align-self:flex-end}
/* Canvas measurements are editable, but never intercept a drag or block text. */
.creative-structure-overlay{z-index:5;pointer-events:none}.creative-spacing-chip{position:absolute;display:flex;align-items:center;gap:4px;pointer-events:auto;transform:translate(-50%,-50%) scale(var(--canvas-inverse-zoom,1));transform-origin:center;background:#fcfaf6;border:1px solid #c5aea5;border-radius:5px;box-shadow:0 1px 4px #00000010;padding:3px 5px;color:#80594f;font:10px var(--app-font);white-space:nowrap;line-height:1.2}.creative-spacing-chip input{width:34px;min-width:0;padding:2px 0;border:0;border-radius:2px;background:transparent;color:#493c37;font:500 11px var(--app-font);text-align:center;appearance:textfield;-moz-appearance:textfield}.creative-spacing-chip input::-webkit-inner-spin-button{appearance:none}.creative-spacing-chip input:focus{outline:1px solid #a65853;background:#f4e7df}.creative-spacing-chip:focus-within{border-color:#a65853;z-index:3}.creative-distance-line{position:absolute;border-color:#a5605580;border-style:dashed;border-width:0;pointer-events:none}.distance-above{border-left-width:1px}.distance-left,.distance-right{border-top-width:1px}.creative-studio .is-selected>.creative-move{display:grid;place-items:center;width:22px;height:28px;line-height:1;border:1px solid #ad7d70;border-radius:5px;background:#fcfaf6;color:#94665b;box-shadow:0 1px 5px #0002;transform:scale(var(--canvas-inverse-zoom,1));transform-origin:top left;font-size:17px;cursor:grab;z-index:8}.creative-studio .creative-move:active{cursor:grabbing;background:#efd9cf}.creative-studio .is-selected>.creative-resize{width:10px;height:10px;border-radius:2px;border:1px solid #ad7d70;background:#fcfaf6;transform:scale(var(--canvas-inverse-zoom,1));transform-origin:center;z-index:8}.creative-move:focus-visible,.creative-resize:focus-visible{outline:2px solid #a65853;outline-offset:2px}
.creative-image-fit{display:flex;gap:3px;border:1px solid #ffffff25;border-radius:5px;padding:2px}.creative-image-fit button{flex:1;min-width:40px!important;font-size:11px!important}.creative-image-fit button[aria-pressed=true]{background:#e6a39b26!important;color:#f4c1b8!important;border-color:#e6a39b55!important}#creative-selection-toolbar .creative-image-fit{margin-right:5px}
.creative-capture-placeholder{height:100%;overflow:auto;padding:2px}.source-inputs{font:14px var(--app-font);display:grid;gap:14px;color:inherit}.source-inputs>label{display:grid;gap:7px}.source-inputs input,.source-inputs textarea,.source-inputs select{box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #b6aca3;background:transparent;color:inherit;border-radius:0}.source-inputs input[readonly],.source-inputs textarea[readonly]{pointer-events:none}.source-submit-label{padding:16px 20px;background:var(--source-submit-background,#363436);color:var(--source-submit-color,#fcfaf6);font-size:15px;cursor:text}.source-inputs small{font-size:11px;opacity:.6}.source-availability{display:grid;gap:8px;padding:15px 0;border-block:1px solid #b6aca3;font-size:13px}.source-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.source-days{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.source-days label{font-size:12px}.creative-capture .creative-element>span{white-space:normal}
.creative-template-actual{display:block;position:relative;height:200px;overflow:hidden;background:#fcfaf6}.creative-template-actual>.creative-artboard{position:absolute;top:0;left:0;transform:scale(.27);transform-origin:top left;box-shadow:none}.source-inputs .profile-field{margin:0}.source-inputs .inline-input-row{font-size:14px}
.creative-item-list{display:grid;gap:7px}.creative-item-list>button{display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;background:#fcfaf6;border:1px solid #d7cfc5;padding:13px 15px;color:#363436;border-radius:4px;cursor:pointer}.creative-item-list strong{font:500 13px var(--app-font)}.creative-item-list span{font:11px var(--app-font);color:#756d69}.source-responses article{padding:12px 0;border-bottom:1px solid #d7cfc5}.source-responses p{font-size:13px}
.source-responses article{overflow-wrap:anywhere}
.source-responses dl{display:grid;gap:8px;margin:12px 0;font-size:13px}
.source-responses dt{color:var(--muted)}
.source-responses dd{margin:2px 0 0;white-space:pre-wrap}
.source-inputs{font-family:inherit}

/* The editor owns the window; tools stay beside the document. */
.studio-shell>.workspace{height:100dvh;min-height:0;min-width:0;overflow:hidden}
.studio-shell>.workspace>.simple-topbar{display:none}
.studio-shell .creative-studio{height:100dvh;min-height:0;width:100%;overflow:hidden}
.creative-studio .creative-workspace{grid-template-columns:var(--creative-rail-width,60px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);position:relative}
.creative-studio.inspector-open .creative-workspace{grid-template-columns:var(--creative-rail-width,60px) minmax(0,1fr) 260px}
.creative-studio .creative-rail{grid-column:1;grid-row:1;flex-direction:column;flex-wrap:nowrap;align-items:center;gap:4px;padding:10px 3px;overflow-x:hidden;overflow-y:auto}
.creative-studio .creative-rail button{width:52px;flex-shrink:0;padding:10px 2px;font-size:8px;gap:5px}
.creative-studio .creative-rail button[aria-expanded=true]{background:#e6a39b20;color:#f0b9af}
.creative-studio .creative-canvas-area{grid-column:2;grid-row:1;position:relative}
.creative-studio #creative-inspector{grid-column:3;grid-row:1;border-left:1px solid #ffffff18;border-top:0;min-height:0}
.creative-studio #creative-inspector[hidden]{display:none}
.creative-studio .creative-scroll{padding:32px;grid-row:auto;overscroll-behavior:contain}
.creative-studio .creative-media-tray{position:absolute;top:54px;left:12px;right:12px;z-index:110;border:1px solid #ffffff25;border-radius:7px;box-shadow:0 14px 35px #0006;max-height:calc(100% - 70px);overflow:auto}
.creative-studio .creative-exit{display:grid;place-items:center;width:30px;height:30px;padding:5px;border:0;background:transparent;color:#cecfcb;flex-shrink:0;border-radius:4px}
.creative-studio .creative-exit svg{width:17px;height:17px}
.creative-studio .creative-exit:hover{background:#ffffff12}
.creative-studio .creative-exit:focus-visible{outline:2px solid #e6a39b;outline-offset:2px}
@media(max-width:650px){
 .creative-studio .creative-workspace,.creative-studio.inspector-open .creative-workspace{grid-template-columns:var(--creative-rail-width,50px) minmax(0,1fr)}
 .creative-studio .creative-rail button{width:44px;font-size:7px}
 .creative-studio #creative-inspector{position:absolute;right:0;top:0;bottom:0;width:min(280px,calc(100vw - var(--creative-rail-width,50px)));grid-column:auto;grid-row:auto;z-index:115;box-shadow:-12px 0 32px #0005}
 .creative-studio .creative-scroll{padding:24px 16px}
 .creative-studio .creative-media-tray{left:6px;right:6px}
 .creative-media-tray header{flex-wrap:wrap}
 .creative-media-tray header span{flex-basis:65%}
 .creative-studio .creative-editor-toolbar>.creative-design-title{flex-basis:calc(100% - 42px)}
}

/* Web preview uses the whole window rather than a framed canvas dialog. */
#modal:has(.creative-preview-frame){position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:#fcfaf6}
#modal:has(.creative-preview-frame)::backdrop{background:transparent;backdrop-filter:none}
#modal:has(.creative-preview-frame) .dialog-head{height:40px;box-sizing:border-box;margin:0;padding:0 14px;background:#222526;color:#eae7e2;display:flex;align-items:center;justify-content:space-between;gap:12px}
#modal:has(.creative-preview-frame) .dialog-head button,#modal:has(.creative-preview-frame) .dialog-head a{background:none;border:0;color:inherit;text-decoration:none;padding:5px 0;font:12px var(--app-font);cursor:pointer}
#modal:has(.creative-preview-frame) .dialog-head :focus-visible{outline:2px solid #e6a39b;outline-offset:3px}
#modal:has(.creative-preview-frame) .creative-web-preview-label{font:11px var(--app-font);color:#aeb6ab;margin:0}
#modal:has(.creative-preview-frame) .dialog-content{height:calc(100% - 40px);padding:0;margin:0}
#modal .creative-preview-frame{display:block;width:100%;height:100%;border:0;border-radius:0;background:#fcfaf6}
#modal:has(.creative-preview-stage)[open]{display:flex;flex-direction:column}
#modal:has(.creative-preview-stage) .dialog-head{flex:0 0 44px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px}
#modal:has(.creative-preview-stage) .dialog-content{height:auto;flex:1;min-height:0}
#modal .creative-preview-stage{display:flex;justify-content:center;width:100%;height:100%;overflow:hidden;background:#333738}
.creative-preview-viewport{height:100%;overflow:hidden}
#modal .creative-preview-stage iframe{transform-origin:top left}
#modal .creative-preview-devices{display:flex;gap:3px}
#modal .creative-preview-devices button{padding:6px 9px;border:1px solid transparent;border-radius:5px}
#modal .creative-preview-devices button:hover{background:#ffffff16}
#modal .creative-preview-devices button[aria-pressed=true]{border-color:#e6a39b;background:#e6a39b28;color:#ffe4dd}
#modal .creative-preview-back{justify-self:start;white-space:nowrap}
#modal .creative-preview-link{justify-self:end;white-space:nowrap}
@media(max-width:475px){
 #modal:has(.creative-preview-stage) .dialog-head{padding-inline:8px;gap:4px}
 #modal:has(.creative-preview-stage) .creative-preview-back span:last-child{display:none}
}

.creative-studio.tools-collapsed{--creative-rail-width:0px}
.creative-studio .creative-rail[hidden]{display:none}
.creative-studio .creative-rail-control[aria-expanded=true]{color:#efc7ba}

.creative-output-kind{font:10px var(--app-font);color:#c3b1a9;white-space:nowrap}
.creative-page-width{border-block:1px solid #ffffff18;margin:12px 0;padding:14px 0}
.creative-page-width>strong{font-size:12px;font-weight:500}
.creative-page-width>p{font-size:11px;line-height:1.6;color:#aeb6ab}
.creative-studio .creative-editor-toolbar .studio-select{min-width:85px}
@media(max-width:850px){.creative-output-kind{display:none}}

.creative-studio .creative-artboard{isolation:isolate}
#creative-selection-toolbar .creative-quick-layer input{width:58px}
#creative-selection-toolbar .creative-quick-blend .studio-select{min-width:118px}
#creative-selection-toolbar .creative-quick-blend .studio-select-trigger{height:32px;min-height:32px;font-size:11px;background:#34393a;color:#eeeae4;border:1px solid #ffffff25}

.creative-studio .creative-structure-overlay{z-index:10001}
.creative-studio .creative-artboard.has-center-guides::before,.creative-studio .creative-artboard.has-center-guides::after{z-index:10002}

.creative-snap-guides{position:absolute;inset:0;pointer-events:none;z-index:12000}.creative-snap-guides>div{position:absolute;border-color:#e8a59d;border-style:solid;border-width:0}.creative-snap-guides .snap-guide-x{top:0;bottom:0;border-left-width:1px}.creative-snap-guides .snap-guide-y{left:0;right:0;border-top-width:1px}.creative-snap-guides span{position:absolute;top:3px;left:3px;background:#e8a59d;color:#252929;white-space:nowrap;padding:3px 5px;border-radius:3px;font:11px var(--app-font);transform:scale(var(--canvas-inverse-zoom,1));transform-origin:top left}.creative-layout-images{border:0;padding:0;margin:20px 0;display:grid;gap:8px;max-height:260px;overflow:auto}.creative-layout-images label{display:flex;align-items:center;gap:10px;font-size:13px}.creative-layout-images img,.layout-frame-placeholder{width:48px;height:38px;object-fit:cover;background:#e7dfd5;flex:none}.creative-layout-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

.creative-device-tools{display:flex;flex:none;gap:2px}.creative-editor-toolbar .creative-device-tools button{display:grid;place-items:center;width:32px;height:32px;padding:0}.creative-device-tools button svg{width:17px;height:17px}.creative-canvas-area{position:relative}#creative-selection-toolbar{position:absolute;z-index:108;max-width:calc(100% - 16px);height:42px;min-height:42px;flex-basis:auto;border:1px solid #ffffff28;border-radius:7px;box-shadow:0 5px 20px #0003;padding:4px 7px;box-sizing:border-box}#creative-selection-toolbar[hidden]{display:none!important}.creative-studio .creative-capture-placeholder{height:auto;overflow:visible;padding:0}.creative-studio .creative-capture .source-inputs{font:inherit}.creative-selection-chrome{position:absolute;z-index:10004;pointer-events:none;outline:1px solid #bd8074;box-sizing:border-box}.creative-selection-chrome button{pointer-events:auto;position:absolute;display:grid;place-items:center;border:1px solid #ad7d70;background:#fcfaf6;color:#80594f;border-radius:4px;transform:scale(var(--canvas-inverse-zoom,1));font:17px var(--app-font)}.creative-selection-chrome .creative-move{left:0;top:-28px;width:23px;height:26px;cursor:grab;transform-origin:bottom left}.creative-selection-chrome .creative-resize{right:-4px;bottom:-4px;width:10px;height:10px;padding:0;cursor:nwse-resize;transform-origin:center}.creative-spacing-auto{pointer-events:none;gap:7px}.creative-spacing-auto strong{font-weight:500}.creative-auto-size{font-size:11px;opacity:.75;padding:8px 0}.creative-studio .creative-workspace{min-height:0}@media(max-width:650px){.creative-device-tools{flex:none}}

.creative-studio .creative-button>span{height:auto}.av-adaptive-page{min-width:0}

.creative-studio .source-inputs .inline-input-row,.creative-studio .source-inputs .profile-field{font-size:inherit}

.creative-selection-chrome .creative-move{top:0;transform-origin:top left}

/* Keep preview/sharing visible; secondary tools scroll independently on phones. */
.creative-studio .creative-editor-toolbar{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 12px;min-height:52px}
.creative-studio .creative-editor-toolbar>.creative-exit{grid-column:1;grid-row:1;width:28px}
.creative-studio .creative-editor-toolbar>.creative-design-title{grid-column:2;grid-row:1;width:auto;min-width:0;max-width:220px;flex-basis:auto}
.creative-studio .creative-design-title #creative-name{min-width:0;width:100%;text-overflow:ellipsis}
.creative-studio .creative-primary-actions{grid-column:3;grid-row:1;display:flex;align-items:center;gap:5px;margin:0;width:auto;flex:none}
.creative-studio .creative-save-action{display:flex}
.creative-studio .creative-editor-toolbar>.creative-editor-actions{grid-column:1/-1;grid-row:2;min-width:0;width:100%;margin:0;overflow-x:auto;overscroll-behavior-inline:contain;flex-wrap:nowrap;scrollbar-width:thin;scroll-padding-inline:4px}
.creative-studio .creative-editor-actions .creative-tool-group{flex-shrink:0}
.creative-studio .creative-primary-actions .creative-tool-icon{min-width:34px;min-height:34px}
.creative-view-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.creative-view-options>label{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:5px;font-size:13px}
.creative-view-options button{display:grid;place-items:center;min-width:38px;min-height:38px;border:1px solid var(--line);border-radius:4px;background:transparent;cursor:pointer;color:var(--ink)}
.creative-view-options button[aria-pressed=true]{background:var(--brand-rose,#e6a39b)}
.creative-view-options svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.5}
@media(min-width:1100px){
 .creative-studio .creative-editor-toolbar{grid-template-columns:28px minmax(140px,200px) minmax(0,1fr) auto}
 .creative-studio .creative-editor-toolbar>.creative-editor-actions{grid-column:3;grid-row:1;justify-content:flex-end}
 .creative-studio .creative-primary-actions{grid-column:4}
}
@media(max-width:600px){
 .creative-studio .creative-editor-toolbar{padding:7px 8px;gap:5px}
 .creative-studio .creative-primary-actions .creative-tool-icon{min-width:36px;min-height:40px;padding:8px}
 .creative-studio .creative-primary-actions .creative-primary{min-width:64px}
 .creative-studio .creative-save-action{display:none}
 .creative-studio .creative-editor-actions .creative-tool-icon,.creative-studio .creative-device-tools button{min-width:38px;min-height:40px}
 .creative-studio .creative-rail button{min-height:44px}
 .creative-studio #creative-inspector :is(input,select,textarea){font-size:16px;min-height:42px}
 .creative-view-options>label{padding:7px;gap:7px;font-size:12px}
}
/* Save feedback remains visible at tablet widths as well as on phones. */
.creative-studio .creative-editor-toolbar{height:auto}
.creative-studio .creative-editor-toolbar>.creative-design-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1px 7px;height:auto;align-items:center}
.creative-studio .creative-design-title #creative-name{grid-column:1/-1;line-height:18px;padding:0!important}
.creative-studio .creative-design-title .creative-output-kind{grid-column:1;grid-row:2}
@media(min-width:1000px) and (max-width:1099px){
 .creative-studio .creative-editor-toolbar{grid-template-columns:28px minmax(120px,160px) minmax(0,1fr) auto}
 .creative-studio .creative-editor-toolbar>.creative-editor-actions{grid-column:3;grid-row:1;justify-content:flex-end}
 .creative-studio .creative-primary-actions{grid-column:4}
}

@media(max-width:600px){
 .creative-studio .creative-design-title #creative-name{font-size:16px}
 .creative-studio #creative-selection-toolbar{height:48px;min-height:48px;padding:4px}
 .creative-studio #creative-selection-toolbar button{min-width:38px;height:38px}
 .creative-studio #creative-selection-toolbar input[type=number]{font-size:16px;height:38px}
}

.creative-design-title .creative-output-kind{min-width:0;overflow:hidden;text-overflow:ellipsis}.creative-studio .creative-design-title #creative-save-state:focus-visible{outline:2px solid #e6a39b;outline-offset:2px}

.creative-recipe-control{display:grid;gap:8px;margin-top:22px;font-size:11px;color:inherit}.creative-recipe-control .studio-select{width:100%}.creative-recipe-control .studio-select-trigger{width:100%;font-size:12px;min-height:42px}.creative-launch-tools{overflow-y:auto}

/* The support banner stays outside the app's changing page/editor shell. */
.support-view{padding-top:64px}.support-banner{position:fixed;top:0;left:0;right:0;z-index:100000;background:#252925;color:#fff;padding:10px 20px;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;font:12px/1.4 var(--app-font)}.support-banner button{background:#fff;color:#252925;border:0;padding:10px 14px;white-space:nowrap;cursor:pointer}.support-view .topbar{top:64px}.support-banner span{overflow-wrap:anywhere}@media(max-width:450px){.support-banner{font-size:10px;padding:8px 12px;gap:8px}.support-banner button{font-size:11px;padding:10px}}

/* Page controls sit outside the artwork and scale independently of its zoom. */
.creative-page-handles{position:absolute;inset:0;pointer-events:none;z-index:11000}.creative-page-resize{position:absolute!important;pointer-events:auto;touch-action:none;background:#f4f1e9!important;border:1px solid #252925!important;padding:0!important;min-width:0!important;min-height:0!important;transform:scale(var(--canvas-inverse-zoom,1));box-shadow:0 1px 5px #0004}.creative-page-resize:hover,.creative-page-resize:focus-visible{background:#d4e1b8!important;outline:2px solid #657d40;outline-offset:2px}.creative-page-resize.resize-width{width:8px;height:44px;right:-4px;top:50%;cursor:ew-resize}.creative-page-resize.resize-height{width:44px;height:8px;bottom:-4px;left:50%;cursor:ns-resize}.creative-page-resize.resize-both{width:14px;height:14px;right:-7px;bottom:-7px;cursor:nwse-resize}.creative-layout-options{max-height:380px;overflow:auto}.swatch-folio{background:linear-gradient(#eeeadd 35%,#34352d 35%,#34352d 42%,#eeeadd 42%)}.swatch-bulletin{background:repeating-linear-gradient(#f5f5ee 0 7px,#353933 7px 8px)}.swatch-fieldnotes{background:radial-gradient(ellipse,#b4baa3 25%,#eeeee4 27%)}.swatch-poster{background:linear-gradient(135deg,#c9d0ba 45%,#303629 45%,#303629 65%,#c9d0ba 65%)}

.creative-page-resize.resize-width{right:4px;transform-origin:right center}.creative-page-resize.resize-height{bottom:4px;transform-origin:center bottom}.creative-page-resize.resize-both{right:4px;bottom:4px;transform-origin:right bottom}

/* Spacing is editor chrome, outside the scrollable artwork and its zoom. */
#creative-spacing-toolbar{flex:none;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;box-sizing:border-box;max-width:100%;padding:10px 14px;background:#292d2e;border-top:1px solid #ffffff20;color:#eeeae4;font:12px var(--app-font);z-index:109}
#creative-spacing-toolbar[hidden]{display:none}
#creative-spacing-toolbar>strong{font-size:11px;font-weight:500;color:#c3c5bf;margin-right:4px;white-space:nowrap}
#creative-spacing-toolbar>strong>span{font-weight:400;color:#919997;margin-left:3px}
#creative-spacing-toolbar .creative-spacing-chip{position:static;transform:none;box-shadow:none;display:flex;align-items:center;gap:7px;padding:5px 8px;margin:0;background:#34393a;border:1px solid #ffffff28;border-radius:5px;color:#d4d8d3;font:11px var(--app-font);min-width:0}
#creative-spacing-toolbar .creative-spacing-chip input{box-sizing:border-box;width:47px;min-width:0;min-height:26px;font:13px var(--app-font);color:#f4f1e9;background:#292d2e;border:0;padding:4px;border-radius:3px;text-align:center}
#creative-spacing-toolbar .creative-spacing-chip input:focus{outline:2px solid #e6a39b;outline-offset:1px}
#creative-spacing-toolbar .creative-spacing-auto strong{font-weight:400;min-width:47px;text-align:center;color:#aeb6ab}
@media(max-width:650px){#creative-spacing-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px}#creative-spacing-toolbar>strong{grid-column:1/-1}#creative-spacing-toolbar .creative-spacing-chip{justify-content:space-between;padding:4px 7px}#creative-spacing-toolbar .creative-spacing-chip input{font-size:16px;min-height:30px;width:54px}}

.creative-studio .creative-template-action{height:32px;padding:5px 9px;border:1px solid #ffffff28;border-radius:4px;background:#34393a;color:#eeeae4;font:11px var(--app-font);white-space:nowrap}.creative-template-menu{display:grid;gap:12px;margin:20px 0}.creative-saved-template{border:1px solid #c9bfb3;border-radius:5px;padding:8px}.creative-saved-template .creative-template{width:100%;min-height:100px;border:0}.creative-saved-template>.text-link{margin:8px}
@media(max-width:600px){.creative-studio .creative-editor-toolbar>.creative-design-title{grid-column:2/-1}.creative-studio .creative-primary-actions{grid-column:1/-1;grid-row:2;justify-content:space-between;width:100%}.creative-studio .creative-save-action{display:flex}.creative-studio .creative-editor-toolbar>.creative-editor-actions{grid-row:3}.creative-studio .creative-template-action{height:40px;min-width:44px}}

.focused-starter{--starter-ink:var(--product-ink);--starter-muted:#5d636c;--starter-line:var(--product-line);background:var(--product-paper);color:var(--starter-ink);padding:clamp(20px,4vw,58px);min-height:calc(100svh - 82px)}
.starter-heading,.starter-workspace{max-width:1160px;margin-inline:auto}
.starter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.starter-heading .starter-back{margin-bottom:14px}
.starter-heading h1{font:500 clamp(30px,4.2vw,54px)/1.05 var(--app-font);letter-spacing:-.055em;margin:0 0 9px}
.starter-heading p,.starter-next{color:var(--starter-muted);margin:0}
.starter-workspace{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:clamp(16px,3.5vw,48px);align-items:start}
.starter-setup{display:grid;gap:16px;min-width:0}
.starter-setup h2{font:650 16px/1.2 var(--app-font);margin:0}
.starter-recipes{display:grid;gap:8px}
.starter-recipe{display:grid;gap:3px;text-align:left;border:1px solid var(--starter-line);border-radius:6px;background:#fff;color:var(--starter-ink);padding:12px 14px}
.starter-recipe:hover{border-color:#98a7b8}
.starter-recipe[aria-pressed="true"]{border-color:var(--product-accent);background:var(--product-accent-soft);box-shadow:inset 3px 0 var(--product-accent)}
.starter-recipe strong{font-size:14px}.starter-recipe span,.starter-next{font-size:13px;color:var(--starter-muted)}
.starter-destination{display:grid;gap:7px;font-size:13px;font-weight:650}
.starter-destination select,.starter-destination .studio-select-trigger{width:100%;min-height:42px}
.starter-style{border-block:1px solid var(--starter-line);font-size:13px}
.starter-style summary{cursor:pointer;padding:12px 0;font-weight:650}
.starter-style[open]{padding-bottom:12px}
.starter-style .creative-layout-options{display:flex;flex-wrap:wrap;gap:5px}
.starter-style .creative-layout-options button{width:auto;color:var(--starter-ink);border:1px solid var(--starter-line);border-radius:5px;padding:6px 9px}
.starter-style .creative-layout-options button[aria-pressed="true"]{border-color:var(--product-accent);background:var(--product-accent-soft)}
.focused-starter .creative-recipe-control{margin:0;font-size:13px;font-weight:650}
.focused-starter :is(.creative-recipe-control,.starter-destination) .studio-select-trigger {
  background:#fff!important;color:var(--starter-ink)!important;border-color:var(--starter-line)!important
}
.starter-setup>.primary{justify-self:start;background:var(--product-accent);border-color:var(--product-accent);color:#fff}
.starter-setup>.primary:hover{background:var(--product-accent-hover);border-color:var(--product-accent-hover)}
.starter-preview{min-width:0;background:var(--product-wash);border:1px solid var(--starter-line);border-radius:6px;padding:clamp(14px,4vw,38px);display:grid;justify-items:center;gap:14px}
.starter-preview>span{font-size:12px;color:var(--starter-muted)}
.starter-preview-well{position:relative;width:min(100%,560px);overflow:hidden;box-shadow:0 10px 30px #2533461c;background:#fff}
.starter-preview-well .creative-artboard{transform-origin:top left;box-shadow:none}
.focused-starter button:focus-visible,.focused-starter summary:focus-visible{outline:2px solid var(--product-accent);outline-offset:3px}
@media(max-width:670px){.starter-heading{align-items:flex-start;flex-direction:column}.starter-workspace{grid-template-columns:1fr}.starter-preview{grid-row:2}.starter-setup>.primary{width:100%}}

.starter-collection{position:absolute;box-sizing:border-box;font-size:17px}
.starter-preview-well .source-submit-label{cursor:default}
.source-inputs .source-consent{display:flex;align-items:flex-start;gap:8px}
.source-inputs .source-consent input{width:16px;min-height:16px;margin:3px 0 0}



.source-advanced{grid-column:1/-1;border-block:1px solid var(--line);padding:10px 0;margin:4px 0}
.source-advanced summary{cursor:pointer;font-weight:600;font-size:13px}
.source-advanced[open]>.source-option-grid{margin-top:10px}
#workflow-copy textarea{resize:vertical}


.form-appearance-grid input[type=color]{box-sizing:border-box;width:100%;height:42px;padding:4px}


.creative-studio.full-canvas .creative-workspace{grid-template-columns:minmax(0,1fr)}
.creative-studio.full-canvas .creative-canvas-area{grid-column:1}
.creative-studio.full-canvas .creative-scroll{padding:0}
.creative-studio.full-canvas :is(.creative-rail,#creative-inspector,.creative-status,#creative-spacing-toolbar,[aria-controls=creative-inspector],.creative-rail-control){display:none}

.creative-studio [data-av-canvas-form] .inline-input-row .profile-field{padding-right:0}
.creative-studio [data-av-canvas-form] .inline-input-edit{right:-24px;opacity:0}
.creative-studio [data-av-canvas-form] .inline-input-row:hover .inline-input-edit,
.creative-studio [data-av-canvas-form] .inline-input-edit:focus-visible{opacity:1}

.creative-studio .creative-scroll.fit-to-workspace{
 padding:0;
 overflow-x:hidden;
 background:var(--canvas-paper);
}
.creative-scroll.fit-to-workspace .creative-artboard{box-shadow:none}
#modal .newsletter-design-stage{
 display:block;
 overflow:hidden auto;
}
#modal .newsletter-design-stage .creative-preview-viewport{margin-inline:auto}


.creative-tool-picker{
 position:fixed;
 inset:auto;
 margin:0;
 width:172px;
 max-width:calc(100vw - 16px);
 max-height:calc(100dvh - 16px);
 overflow:auto;
 box-sizing:border-box;
 padding:5px;
 border:1px solid #ffffff32;
 border-radius:7px;
 background:#282b2d;
 color:#f0ebe5;
 box-shadow:0 10px 24px #0006;
}
.creative-tool-picker:popover-open{display:grid;gap:2px}
.creative-tool-picker button{
 display:flex;
 align-items:center;
 gap:8px;
 width:100%;
 min-height:36px;
 padding:5px 8px;
 border:0;
 border-radius:4px;
 background:transparent;
 color:inherit;
 font:500 12px var(--app-font);
 text-align:left;
 cursor:pointer;
}
.creative-tool-picker button:hover,.creative-tool-picker button:focus-visible{background:#ffffff18}
.creative-tool-picker svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}




.creative-insert-page{max-width:820px}
.creative-insert-page h1{margin-top:20px}
.creative-insert-page .panel{margin-top:24px}



.creative-studio #creative-selection-toolbar{
 flex-wrap:wrap;
 align-content:flex-start;
 width:max-content;
 height:auto;
 min-height:35px;
 max-height:min(150px,45dvh);
 gap:3px 5px;
 padding:3px 5px;
 overflow:auto;
}
.creative-studio #creative-selection-toolbar button{min-width:28px;min-height:0;height:28px;padding:3px 5px;font-size:12px}
.creative-studio #creative-selection-toolbar input[type=number]{height:28px;padding:4px;font-variant-numeric:tabular-nums}
#creative-selection-toolbar .creative-quick-font{max-width:122px}
#creative-selection-toolbar .creative-quick-size input,
#creative-selection-toolbar .creative-quick-layer input{width:46px}
#creative-selection-toolbar .creative-quick-blend{max-width:110px}
#creative-selection-toolbar .studio-select-trigger,
#creative-selection-toolbar .font-picker-trigger{min-height:28px}

#creative-selection-toolbar .font-picker-control{width:116px}
#creative-selection-toolbar .creative-quick-blend .studio-select{min-width:0;width:82px}

.creative-studio #creative-selection-toolbar.creative-capture-tools{
 gap:4px 8px;
 padding:4px;
 border-radius:8px;
 box-shadow:0 5px 14px #0002;
}
#creative-selection-toolbar :is(.creative-quick-actions,.creative-height-stepper,.creative-quick-measures,.creative-quick-layers){
 display:flex;
 align-items:center;
 gap:3px;
}
.creative-studio #creative-selection-toolbar .creative-quick-actions button{
 display:flex;
 gap:4px;
 padding-inline:6px;
}
.creative-studio #creative-selection-toolbar .creative-height-stepper{
 gap:0;
 border:1px solid var(--editor-line,#ffffff25);
 border-radius:5px;
}
.creative-studio #creative-selection-toolbar .creative-height-stepper input[type=number]{
 appearance:textfield;
 width:33px;
 text-align:center;
 padding-inline:0;
 border:0;
 border-radius:0;
}
#creative-selection-toolbar [data-inline-input-height]::-webkit-inner-spin-button,
#creative-selection-toolbar [data-inline-input-height]::-webkit-outer-spin-button{appearance:none;margin:0}
#creative-selection-toolbar [data-height-scrub]{
 cursor:ns-resize;
 touch-action:none;
 user-select:none;
 border-inline-end-color:var(--editor-line,#ffffff25);
}
#creative-selection-toolbar [data-scrubbing] [data-height-scrub]{
 background:var(--editor-selection,#17344a);
 color:var(--editor-selected-ink,#bbdeff);
}
.creative-studio #creative-selection-toolbar.creative-capture-tools button:hover{
 background:var(--editor-selection,#ffffff14);
 color:var(--editor-selected-ink,currentColor);
}
#creative-selection-toolbar .creative-quick-measures,
#creative-selection-toolbar .creative-quick-layers{gap:5px}
#creative-selection-toolbar .creative-quick-measures label{gap:3px}
#creative-selection-toolbar .creative-quick-measures input[type=number]{width:43px}
#creative-selection-toolbar .creative-quick-layers .creative-quick-divider{margin:0}
.creative-studio #creative-selection-toolbar .creative-button-tools,
#creative-selection-toolbar :is(.creative-button-dimensions,.creative-button-alignments){
 display:flex;
 align-items:center;
 gap:4px;
}
.creative-studio #creative-selection-toolbar .creative-button-tools{
 flex-wrap:wrap;
 min-width:0;
 max-width:100%;
}
.creative-studio #creative-selection-toolbar .creative-button-tools [data-creative-command="button-options"]{
 display:flex;
 gap:4px;
}
.creative-studio #creative-selection-toolbar .creative-button-tools .studio-select-trigger{
 gap:6px;
 min-width:79px;
 padding-inline:6px;
 border-color:var(--editor-line,#ffffff25);
}
.creative-studio #creative-selection-toolbar .creative-button-dimensions label{
 gap:3px;
}
.creative-studio #creative-selection-toolbar .creative-button-dimensions input{
 width:46px;
}
#creative-selection-toolbar .creative-button-dimensions svg{
 width:14px;
 height:14px;
}
.studio-select-sample-frame{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 padding:3px 8px;
 border:1px solid var(--line);
 border-radius:4px;
}
@media(max-width:550px){
 .creative-studio #creative-selection-toolbar button{height:32px}
 .creative-studio #creative-selection-toolbar input[type=number]{height:32px;font-size:16px}
 #creative-selection-toolbar .creative-quick-layers .creative-quick-divider{display:none}
}


.creative-hover-tip{
 position:fixed;
 inset:auto;
 z-index:12000;
 margin:0;
 max-width:min(260px,calc(100vw - 16px));
 box-sizing:border-box;
 padding:7px 10px;
 border:1px solid #ffffff30;
 border-radius:6px;
 background:#1f2223;
 color:#fbf6ee;
 box-shadow:0 4px 16px #0005;
 font:500 12px/1.4 var(--app-font);
 pointer-events:none;
}
.creative-hover-tip[hidden]{display:none}


.creative-title-row{display:flex;align-items:center;min-width:0;grid-column:1/-1}
.creative-name-field{display:flex;align-items:center;gap:4px;flex:1;min-width:0;border-bottom:1px solid transparent}
.creative-name-field:hover,
.creative-name-field:focus-within{border-color:#e6a39b}
.creative-name-field svg{flex:none;opacity:.55;pointer-events:none}
.creative-studio .creative-design-switcher{display:grid;place-items:center;flex:none;width:24px;height:28px;padding:0;border:0;background:transparent}
.creative-studio .creative-design-switcher:hover{background:#ffffff15}
.creative-studio .creative-save-button{display:flex;align-items:center;gap:6px;border-radius:999px;min-width:62px}
.creative-save-indicator{width:7px;height:7px;border-radius:50%;flex:none;background:#ecb8ab}
.creative-save-button[data-save-state=saved] .creative-save-indicator{background:#aac995;box-shadow:0 0 0 3px #aac99520}
.creative-save-button[data-save-state=saving] .creative-save-indicator{background:#edcb91;animation:creative-saving .9s ease-in-out infinite alternate}
.creative-save-button[data-save-state=error]{border-color:#e6a39b;color:#ffd2c7}
.creative-save-button:hover{border-color:#e6a39b}
@keyframes creative-saving{to{opacity:.4}}
@media(prefers-reduced-motion:reduce){.creative-save-button[data-save-state=saving] .creative-save-indicator{animation:none}}
.creative-item-list>button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px}
.creative-item-list>button:hover,.creative-item-list>button[aria-current=true]{border-color:#a65853;background:#f9ece6}
.creative-item-list .creative-design-kind{display:grid;place-items:center;width:32px;height:32px;border-radius:5px;background:#eaded5;color:#7b4b44}
.creative-item-list svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.creative-item-list .creative-design-entry{display:grid;gap:2px;overflow-wrap:anywhere}


.creative-editor-toolbar .creative-workflow-toggle{
 display:flex;
 align-items:center;
 gap:3px;
 flex:none;
 min-height:32px;
 padding:5px 7px;
}
.creative-editor-toolbar:has(#creative-workflow-picker:popover-open) .creative-workflow-toggle{
 border-color:#e6a39b;
 background:#ffffff12;
}
.creative-tool-group-detail{border-top:1px solid #ffffff22;padding-top:3px}
.creative-tool-group-detail summary{
 display:flex;
 align-items:center;
 gap:8px;
 list-style:none;
 min-height:36px;
 box-sizing:border-box;
 padding:5px 8px;
 border-radius:4px;
 font:500 12px var(--app-font);
 cursor:pointer;
}
.creative-tool-group-detail summary::-webkit-details-marker{display:none}
.creative-tool-group-detail summary:hover,.creative-tool-group-detail summary:focus-visible{background:#ffffff18}
.creative-tool-group-detail .creative-tools-chevron{margin-left:auto}
.creative-tool-group-detail[open] .creative-tools-chevron{transform:rotate(180deg)}
.creative-form-options{display:grid;gap:2px;padding-left:7px}


.font-picker-sample{height:137px}
.font-picker-sample strong{height:66px;overflow:hidden}
.font-picker-list{flex:1;max-height:none;min-height:0}
.font-picker-option{height:63px;overflow:hidden}
.font-picker-option-sample{flex:none;overflow:hidden}
.font-picker-compact .font-picker-sample{height:100px}
.font-picker-compact .font-picker-sample strong{height:40px;min-height:0}
.font-picker-compact .font-picker-list{min-height:0}
.font-picker-short .font-picker-sample,.font-picker-short footer{display:none}
@media(max-width:600px){.font-picker-panel:not(.font-picker-compact) .font-picker-sample{height:124px}.font-picker-panel:not(.font-picker-compact) .font-picker-sample strong{height:58px}}

.button-resize-chrome .creative-resize{width:14px;height:14px;right:-6px;bottom:-6px}
.button-resize-chrome [data-button-resize=width]{right:0;top:50%;width:10px;height:22px;transform:translate(50%,-50%) scale(var(--canvas-inverse-zoom,1));cursor:ew-resize}
.button-resize-chrome [data-button-resize=height]{left:50%;bottom:0;width:22px;height:10px;transform:translate(-50%,50%) scale(var(--canvas-inverse-zoom,1));cursor:ns-resize}
.button-resize-chrome .creative-resize:focus-visible{outline:2px solid #2a6fc4;outline-offset:2px}
.newsletter-delivery{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
.newsletter-delivery summary{cursor:pointer;font-weight:600}

.creative-studio .creative-email-review{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}


.popup-size-preview{height:156px;display:grid;place-items:center;padding:12px;margin-bottom:18px;background:var(--product-wash);border:1px solid var(--product-line);border-radius:9px;overflow:hidden}
.popup-size-sample{box-sizing:border-box;width:min(100%,calc(var(--av-popup-width,560px)*.32));min-height:min(100%,calc(var(--av-popup-min-height,0px)*.13));border-radius:calc(var(--av-popup-radius,8px)*.32);padding:max(5px,calc(var(--av-popup-padding,24px)*.32));display:grid;align-content:center;gap:5px;background:#fcfaf6;box-shadow:0 4px 16px #36281930}
.popup-size-sample i{height:7px;border:1px solid var(--product-line);border-radius:2px}
.popup-size-sample i:first-child{width:54%;border:0;background:var(--product-ink)}
.popup-size-sample i:last-child{width:40%;border:0;background:var(--product-accent)}

.creative-studio .creative-input-style {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.creative-input-style svg { width: 15px; height: 15px; }
#modal:has(#input-style-options) { width: min(760px, calc(100% - 24px)); }
.input-style-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}
.input-style-controls { min-width: 0; }
.input-style-controls .source-option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.input-style-controls .field { min-width: 0; margin: 0; }
.input-style-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.input-style-presets [aria-pressed=true] {
  border-color: var(--accent-strong);
  background: var(--wash);
  color: var(--accent-strong);
}
.input-style-number { position: relative; display: block; }
.input-style-number input { padding-right: 38px; }
.input-style-number > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-style-controls input[type=color] { width: 100%; min-height: 41px; padding: 4px; }
.input-style-more { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.input-style-more summary { cursor: pointer; font-weight: 600; }
.input-style-more .source-option-grid { margin-top: 12px; }
.input-style-preview { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 16px; overflow-wrap: anywhere; }
.input-style-preview h3 { color: inherit; margin: 0 0 12px; font: 600 12px var(--app-font); }
.input-style-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media(max-width: 600px) {
  .input-style-layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .input-style-preview { order: -1; padding: 12px; }
}
.source-advanced[open] > .input-style-editor { margin-top: 12px; }
.input-style-editor > p:first-child { margin: 0 0 16px; }
