.figure{background-color:#171c20;background-image:linear-gradient(#a0ab9c16 1px,transparent 1px),linear-gradient(90deg,#a0ab9c16 1px,transparent 1px),radial-gradient(ellipse at 50% 43%,#303c38,#151b1e 76%)}
#design-title,#quote-design-summary{overflow-wrap:anywhere}
#dimensions{text-align:right}
@media(max-width:540px){.workspace-title h1{font-size:1.16rem}}
@media(max-width:360px){.workspace-title h1{font-size:1.04rem}}
.ornament-price-meta{text-align:right;white-space:nowrap}
.ornament-label,.controls label.ornament-label{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}
.ornament-label span{font-size:.82rem;color:var(--muted)}
.ornament-picker,.ornament-presets{display:grid;gap:.35rem}
.ornament-picker{grid-template-columns:repeat(5,minmax(0,1fr));margin:.25rem 0 .5rem}
.ornament-presets{grid-template-columns:repeat(2,minmax(0,1fr))}
.ornament-picker button,.ornament-presets button{min-height:2.55rem;border:1px solid var(--line);color:var(--fg);background:#ffffff09;border-radius:.4rem;padding:.35rem .15rem;font:inherit;font-size:.88rem;cursor:pointer}
.ornament-picker button:hover,.ornament-presets button:hover{border-color:#b7cbbc}
.ornament-picker button[aria-pressed="true"]{border-color:#d9bc81;color:#f8e4b8;background:#d9bc8130}
.ornament-picker svg{display:block;width:1.45rem;height:1.45rem;margin:auto;fill:currentColor}
#art-controls[hidden],#icon[hidden]{display:none}
.ornament-quote-price{font-size:.95rem;font-weight:650;color:var(--fg)}
.ornament-colors{border:1px solid var(--line);border-radius:.65rem;min-inline-size:0;margin:.85rem 0 .55rem;padding:.4rem .6rem .6rem}
.ornament-colors legend{padding:0 .3rem;color:var(--fg);font-size:.95rem;font-weight:650}
.ornament-colors #color-count{color:var(--muted);font-size:.84rem;margin:0 0 .3rem}
.ornament-colors .pair{row-gap:.3rem}
.ornament-colors label{display:flex;gap:.35rem;align-items:center}
.ornament-swatch{width:.85rem;height:.85rem;border:1px solid #ffffff55;border-radius:50%;flex:none}
.ornament-colors select:disabled{opacity:.6}
.ornament-trim-note{color:var(--muted);font-size:.82rem;margin:.15rem 0 .55rem}

#custom-shape { margin: 10px 0 14px; border: 1px solid var(--line, #314151); border-radius: 9px; padding: 10px; }
#custom-shape h3 { margin: 0 0 5px; font-size: 1rem; }
#outline-canvas { width: min(100%,240px); height: auto; display: block; border-radius: 6px; cursor: crosshair; touch-action: none; }
.outline-actions { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 4px; }
#edit-outline { margin:6px 0 0; }

.workspace-title p{margin:4px 0 0;color:var(--muted);font-size:.85rem}
.ornament-price-meta strong{font-variant-numeric:tabular-nums}
.controls .customer-step{margin:0;padding:0;border:0;border-bottom:1px solid var(--line)}
.controls .customer-step:last-of-type{border-bottom:0}
.controls .customer-step>summary{display:flex;align-items:center;gap:9px;list-style:none;padding:11px 0;min-height:46px;font-size:.94rem}
.controls .customer-step>summary::-webkit-details-marker{display:none}
.controls .customer-step>summary::after{content:"+";font-size:1.08rem;color:var(--accent);margin-left:auto}
.controls .customer-step[open]>summary::after{content:"−"}
.step-number{display:grid;place-items:center;width:1.6rem;height:1.6rem;border-radius:50%;font-size:.8rem;color:#ffca9d;background:#3c2a20;flex:none}
.step-current{font-size:.75rem;color:var(--muted);text-align:right;margin-left:auto;line-height:1.3}
.step-current+*{min-width:0}
.customer-step-body{padding:2px 0 13px}
#shape-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-bottom:.7rem}
#shape-tiles button,#size-tiles button{min-width:0;min-height:44px;display:grid;place-items:center;align-content:center;gap:4px;font-size:.76rem;line-height:1.1;padding:5px 2px;background:#202a35;border-color:var(--line)}
#shape-tiles button{min-height:61px}
#shape-tiles svg{width:24px;height:24px;fill:currentColor;color:#cfdae6}
#shape-tiles button[aria-pressed=true],#size-tiles button[aria-pressed=true]{background:#4b3225;border-color:#e99b66;color:#ffe5ce}
#shape-tiles button[aria-pressed=true] svg{color:#ffd0a9}
.size-picks{margin:10px 0 0;padding:0;border:0;min-width:0}
.size-picks legend{font-weight:700;font-size:.86rem;padding:0 0 4px}
#size-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
#size-tiles small{font-size:.73rem;margin:0}
.stage-feedback{margin:0;padding:3px 14px 8px;font-size:.84rem;color:#ffcaa0;line-height:1.35;min-height:0}
.stage-feedback:empty{display:none}
.ornament-colors{margin:0}
.studio-draft{display:flex;align-items:center;justify-content:space-between;gap:8px}
.studio-draft .quiet{font-size:.8rem;white-space:nowrap}
.quote-review{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:9px}
.quote-review img{object-fit:contain;background:#28323e;border-radius:5px;width:88px;height:78px;flex:none}
.quote-review p{margin:0}
@media(max-width:540px){.workspace-title p{display:none}.workspace-head #open-quote{max-width:48%;white-space:normal;line-height:1.2}.step-current{font-size:.78rem}#shape-tiles button{font-size:.82rem}.stage-feedback{font-size:.78rem}}
.controls .customer-step>summary strong{white-space:nowrap}
.controls .customer-step>summary::after{flex:none}

.collection-kicker{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;color:#f5bd91;font-weight:760;margin:.15rem 0 .45rem}
.simple-kicker{color:var(--muted);margin-top:.9rem}
#signature-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#signature-tiles button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:4px;text-align:left;padding:6px;background:#1a2530;border-color:#344254;border-radius:9px}
#signature-tiles button[aria-pressed=true]{border-color:#e99b66;background:#32271f}
#signature-tiles img{display:block;width:100%;height:63px;object-fit:contain;border-radius:5px;background:radial-gradient(ellipse at 49% 42%,#354454,#17202a 85%)}
#signature-tiles strong{font-size:.83rem;line-height:1.15}
#signature-tiles span{font-size:.69rem;line-height:1.25;color:var(--muted);margin-bottom:2px}
@media(max-width:900px){#signature-tiles img{height:55px}}

/* Keep the preview fixed and one customer-focused scroll rail. */
.studio{grid-template:minmax(0,1fr) / minmax(300px,380px) minmax(0,1fr)}
.studio .controls{min-width:0;scroll-padding-top:58px}
.studio-flow{position:sticky;top:-1px;z-index:2;display:grid;grid-template-columns:1fr 1fr 1.15fr 1fr;gap:5px;background:var(--card);padding:5px 0 8px;border-bottom:1px solid var(--line)}
.studio-flow button{min-height:41px;font-size:.8rem;padding:5px 4px;white-space:nowrap}
.studio-flow button[aria-current="step"]{background:#473225;border-color:#e99b66;color:#ffdebf}
.controls .shape-library{margin-top:.75rem;padding:.55rem 0;border-top:1px solid var(--line)}
.controls .shape-library>summary{margin-bottom:.5rem}
.controls .studio-files{margin-top:5px}
.controls .studio-files .file-details{margin-top:6px}
.size-picks{margin:0 0 12px}
#signature-tiles button{padding:7px;gap:5px}
#signature-tiles img{height:clamp(72px,11vh,108px);padding:8px;object-fit:contain;background:radial-gradient(ellipse at 45% 38%,#f4e8d1,#d4bb95);filter:drop-shadow(0 1px 1px #08120f60)}
#signature-tiles img[src$="collection-frost.svg"]{background:radial-gradient(ellipse at 45% 38%,#55798f,#233b52)}
#signature-tiles strong{font-size:.88rem}
#signature-tiles span{font-size:.74rem}
.example-action{min-height:37px;font-size:.8rem}
.fit-notice{margin:0 12px 8px;padding:8px 10px;color:#ffe1b8;background:#292219;border:1px solid #856744;border-radius:8px}
.fit-notice[hidden]{display:none}
.fit-notice p{margin:0;font-size:.82rem;line-height:1.35}
.fit-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}
.fit-actions:empty{display:none}
.fit-actions button{min-height:34px;background:#443323;border-color:#a98156;color:#ffebd5;font-size:.77rem;padding:4px 8px}
#quote-fit{margin:9px 0}
@media(max-width:900px){
 .studio{grid-template:minmax(0,1fr) minmax(0,.9fr) / minmax(0,1fr)}
 .studio .stage{grid-area:1/1}
 .studio .controls{grid-area:2/1;display:block}
 #signature-tiles img{height:76px}
 .studio-flow{top:0}
}
@media(max-width:540px){
 .fit-notice{padding:5px 7px;margin:0 6px 4px}
 .fit-notice p{font-size:.76rem}
 .fit-actions button{min-height:34px}
 .fit-actions{gap:4px;margin-top:4px}
}

.color-priority>summary strong{color:#ffd6b6}.color-priority .ornament-colors{background:#211f21;border-color:#70533b}.color-priority .color-legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.color-guide{font-size:.8rem;color:var(--muted);margin:0 0 .35rem}

#outline-canvas { width: min(100%, 320px); }
#outline-canvas:focus-visible { outline: 2px solid #ffb377; outline-offset: 3px; }
.outline-actions button { min-height: 42px; padding: 6px 11px; }
.outline-actions button[aria-pressed="true"] { border-color: #ffad72; color: #ffbd8f; background: #342a26; }
#outline-count { display: block; margin-top: 5px; }

.stage-mode-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
#draw-toggle,#custom-shape button{font:inherit;font-size:.82rem;color:var(--fg);background:#232c34;border:1px solid #56636c;border-radius:6px;cursor:pointer}
#draw-toggle{min-height:36px;padding:4px 9px}
#custom-shape{position:absolute;inset:0;display:grid;grid-template-rows:auto auto auto auto minmax(140px,1fr) auto auto;justify-items:center;gap:3px;margin:0;padding:8px;border:0;overflow:auto}
#custom-shape h3{margin:0;font-size:.91rem}
#custom-shape .rail-note,#outline-count{margin:0;text-align:center;font-size:.77rem;color:var(--muted)}
#custom-shape .outline-actions{justify-content:center;margin:0}
#custom-shape button{padding:3px 8px;min-height:31px}
#custom-shape button[aria-pressed="true"]{background:#342a26;border-color:#ffad72;color:#ffbd8f}
#custom-shape button:disabled{opacity:.5;cursor:default}
.outline-workspace{container-type:size;position:relative;align-self:stretch;width:100%;min-height:0}
#outline-canvas{width:min(100cqw,100cqh,600px);height:min(100cqw,100cqh,600px)}
@media(max-width:900px){.studio.is-drawing{grid-template-rows:minmax(0,1.8fr) minmax(0,.8fr)}}

#start-custom{min-height:36px;padding:4px 9px;border:1px solid #ffbd87;border-radius:6px;background:#ffc490;color:#24160e;font:inherit;font-size:.83rem;font-weight:800;cursor:pointer}
#start-custom:hover{background:#ffe0bc}
#draw-toggle:disabled{opacity:.55;cursor:not-allowed}
#outline-count{color:#f0d0b3}

@media(max-width:420px){.ornament-price-meta{white-space:normal;max-width:48%;line-height:1.25}#size-tiles small{font-size:.69rem}}
