.designer{max-width:1190px;margin:0 auto;padding:48px 0}.designer-intro{text-align:center;margin-bottom:42px}.designer-intro h1{margin:14px 0}.designer-intro>p{margin-top:16px}.designer-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:64px;align-items:start}.steps{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:28px}.steps button{border:0;background:none;padding:12px 0;font-size:14px}.steps [aria-current]{border-bottom:2px solid #798a67}.design-step h2{font-size:28px;margin-bottom:10px}.design-step>p{margin-bottom:24px}.design-step[hidden]{display:none}.field,fieldset{display:block;margin:26px 0 0;border:0;padding:0}.field input,.field textarea{display:block;width:100%;padding:12px;margin-top:10px;border:1px solid var(--line);font:inherit;background:var(--theme-surface,white)}.caption{display:block;font-size:12px;color:var(--text-caption);line-height:1.55;margin-top:10px}legend{font-size:16px;margin-bottom:12px}.choice-grid{display:flex;flex-wrap:wrap;gap:10px}.choice{position:relative;cursor:pointer}.choice input{position:absolute;opacity:0;width:1px;height:1px}.choice span{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--line);border-radius:3px;font-size:14px}.choice input:checked+span{background:var(--theme-raised,#edf2e5);border-color:#81946b;box-shadow:inset 0 0 0 1px #81946b}.choice input:focus-visible+span{outline:2px solid #81946b;outline-offset:3px}.step-actions{display:flex;justify-content:space-between;align-items:center;margin-top:30px}.step-actions button:not(.primary),.save-actions button,.reset{border:0;background:none;text-decoration:underline;text-underline-offset:4px;padding:12px 0}.step-actions .primary{margin:0}.primary:disabled{opacity:.55;cursor:default}.design-preview{position:sticky;top:24px;background:var(--theme-surface,#f8f9f5)}.preview-art{text-align:center;background:#edf2e5;padding:44px 25px;min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center}.preview-art h2{font-size:34px;margin:20px 0 12px}.palette-preview{display:flex;justify-content:center;margin-top:24px}.palette-preview i{width:55px;height:55px;border-radius:50%;margin:0 -4px;border:3px solid #ffffff80}.design-summary{padding:26px}.design-summary h2{font-size:25px;margin-bottom:12px}.design-summary p{margin:12px 0}.design-summary .primary{width:100%;margin-top:14px}.save-actions{display:flex;gap:24px;flex-wrap:wrap}#ai-status{font-size:13px}#generated-preview{width:100%;display:block}#generated-preview[hidden],#preview-art[hidden]{display:none}#preview-caption{padding:0 24px}.reset{font-size:12px}.designer-footnote{text-align:center;border-top:1px solid var(--line);padding-top:26px;margin-top:55px;font-size:12px;color:var(--text-caption)}@media(max-width:1250px){.designer{margin:0 5%}}@media(max-width:700px){.designer{padding:28px 0;margin:0 20px}.designer-intro{text-align:left;margin-bottom:28px}.designer-intro h1{font-size:32px}.designer-layout{grid-template-columns:1fr;gap:30px}.steps{gap:18px}.steps button{font-size:12px}.design-step h2{font-size:26px}.choice span{padding:12px;font-size:14px}.design-preview{position:static}.preview-art{min-height:240px;padding:25px}.preview-art h2{font-size:28px}.design-summary{padding:22px}.designer-footnote{margin-top:30px}.step-actions button{min-height:44px}}
.progress-track{height:5px;background:var(--theme-raised,#e4e9dc);overflow:hidden;border-radius:3px;margin-top:18px}.progress-track span{display:block;width:35%;height:100%;background:#82946e;animation:bouquet-progress 1.8s ease-in-out infinite}@keyframes bouquet-progress{from{transform:translateX(-100%)}to{transform:translateX(390%)}}@media(prefers-reduced-motion:reduce){.progress-track span{animation:none;width:100%;opacity:.65}}
.choice .stem-quantity{width:70px;min-width:60px;padding:8px;border:1px solid #d9dfd1;border-radius:4px;font-family:'DM Sans',sans-serif;margin-left:auto}.choice:has(input[type=checkbox]:not(:checked)) .stem-quantity{display:none}#budget-summary{font-family:'DM Sans',sans-serif;font-size:20px;color:var(--theme-text,#808080)}#extras:empty{display:none}
.design-review{padding:32px;background:var(--theme-surface,#f7f8f3);border:1px solid #e0e5d9;align-self:start;scroll-margin-top:24px}.design-review p{line-height:1.6;margin:18px 0}.design-review h2{margin-top:0}.design-review:focus{outline:none}

[hidden]{display:none!important}

.ai-preview-notice{padding:22px 26px;background:var(--theme-surface,#f6f8f1);border-left:3px solid #81916f;margin-bottom:20px}.ai-preview-notice h2{font-size:26px;margin:0 0 10px}.ai-preview-notice p{font-size:18px;line-height:1.5;font-style:italic;margin:0;color:var(--theme-text,#808080)}

.floral-details{padding:24px;margin:16px 0;background:var(--theme-raised,#f3f5ee);border:1px solid #dfe5d7}.floral-details h3{margin:0 0 12px;font-size:18px;line-height:1.3}.floral-details p{margin:8px 0;font-size:10px;line-height:1.5}.floral-details p strong{font-size:inherit}

#wrapping .choice-grid{display:flex;flex-wrap:wrap;gap:14px}#wrapping .wrapping-swatch{position:relative;padding:4px;min-height:0;border:2px solid transparent;border-radius:12px;cursor:pointer}#wrapping .wrapping-swatch span{display:block;width:42px;height:42px;border:1px solid #d7d7d0;border-radius:8px}#wrapping .wrapping-swatch input{position:absolute;opacity:0;width:1px;height:1px}#wrapping .wrapping-swatch:has(input:checked){border-color:#536348;box-shadow:0 0 0 3px #e1e7db}#wrapping .wrapping-swatch:has(input:focus-visible){outline:2px solid #536348;outline-offset:4px}

.choice-icon{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.choice-palette{display:flex;gap:4px}.choice-palette i{width:20px;height:20px;border-radius:50%;border:1px solid #deded5}#occasion .choice,#style .choice,#palette .choice{display:flex;flex-direction:column;justify-content:center;gap:12px;text-align:center;padding:18px}#occasion .choice:has(:focus-visible),#style .choice:has(:focus-visible),#palette .choice:has(:focus-visible){outline:2px solid #536348;outline-offset:3px}
/* Keep each visual and its label within one selectable surface. */
#occasion .choice-grid,#palette .choice-grid,#style .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#occasion .choice,#palette .choice,#style .choice{flex-direction:row;align-items:center;justify-content:flex-start;text-align:left;gap:12px;padding:14px 16px;border:1px solid #dfe4d8;border-radius:8px;background:var(--theme-surface,#fff);min-height:64px;box-sizing:border-box}
#occasion .choice span,#palette .choice span,#style .choice span{padding:0;border:0;box-shadow:none;background:none;border-radius:0;font-size:16px;line-height:1.25}
#occasion .choice:has(input:checked),#palette .choice:has(input:checked),#style .choice:has(input:checked){background:var(--theme-raised,#edf2e5);border-color:#81946b;box-shadow:inset 0 0 0 1px #81946b}
#occasion .choice-icon,#style .choice-icon{width:24px;height:24px;color:var(--theme-text,#81916f)}
#palette .choice-palette{flex-shrink:0;gap:0}#palette .choice-palette i{width:17px;height:17px;margin-right:-3px;border:2px solid #fff}
#style .choice-grid{grid-template-columns:1fr}
#occasion fieldset,#palette fieldset,#style fieldset{margin-top:24px}
@media(max-width:380px){#occasion .choice-grid,#palette .choice-grid{grid-template-columns:1fr}}
#flowers .choice-grid,#foliage .choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#flowers .choice,#foliage .choice{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid #dfe4d8;border-radius:8px;background:var(--theme-surface,white);min-height:82px}
#flowers .choice>span,#foliage .choice>span{padding:0;border:0;box-shadow:none;background:transparent;font-size:16px;line-height:1.25;flex:1;min-width:0}
#flowers .choice:has(input[type=checkbox]:checked),#foliage .choice:has(input[type=checkbox]:checked){background:var(--theme-raised,#edf2e5);border-color:#81946b;box-shadow:inset 0 0 0 1px #81946b}
#flowers .choice input:checked+span,#foliage .choice input:checked+span{background:none;border:0;box-shadow:none}
.flower-thumb{width:58px;height:64px;object-fit:cover;border-radius:6px;background:#f7f8f4;flex-shrink:0}
.choice input.stem-quantity{position:static;opacity:1;width:52px;min-width:52px;height:36px;padding:4px;background:var(--theme-surface,white);flex-shrink:0}
#flowers .choice:has(input:focus-visible),#foliage .choice:has(input:focus-visible){outline:2px solid #81946b;outline-offset:2px}
@media(min-width:701px) and (max-width:1150px),(max-width:480px){#flowers .choice-grid,#foliage .choice-grid{grid-template-columns:1fr}}
.flower-photo-credit{font-size:13px;line-height:1.5;margin-top:14px}.flower-photo-credit summary{cursor:pointer}.flower-photo-credit a{display:inline-block;margin:5px 12px 5px 0}
/* A unified, compact studio preview. */
.design-preview{background:var(--theme-surface,#fff);border:1px solid #e1e6da;border-radius:12px;overflow:hidden;position:static}
.ai-preview-notice{margin:0;padding:20px 24px;border-left:0;border-bottom:1px solid #e1e6da;background:var(--theme-surface,#f7f9f3)}
.ai-preview-notice h2{font-size:25px;margin:0 0 8px}.ai-preview-notice p{font-size:16px;line-height:1.45;font-style:normal}
.preview-art{min-height:220px;padding:24px;background:#edf2e5;gap:0}
.preview-art .eyebrow{font-size:11px;letter-spacing:.12em}.preview-art h2{font-size:29px;line-height:1.12;margin:14px 0 8px}.palette-preview{margin-top:18px}.palette-preview i{width:38px;height:38px;border-width:2px}.preview-art #palette-name{font-size:16px;margin:0}.preview-art .caption{font-size:12px;margin-top:12px}
.design-summary{padding:22px 24px}.design-summary h2{font-size:26px;margin:0 0 18px}.summary-row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid #edf0e8;font-size:16px;line-height:1.35}.summary-label{color:var(--theme-text,#999);font-size:14px}
.design-summary #budget-summary{padding:16px 0;margin:6px 0 12px;border-bottom:1px solid #e1e6da;font-size:19px;line-height:1.45}.design-summary #allowance,.design-summary #ai-status{font-size:13px;line-height:1.45;margin:8px 0}
.save-actions{gap:10px;margin-top:18px}.save-actions button,.design-summary .reset{border:1px solid #dce3d4;border-radius:6px;padding:10px 14px;background:var(--theme-surface,#fff);text-decoration:none;font-size:15px;min-height:42px}.save-actions button:hover,.design-summary .reset:hover{background:var(--theme-raised,#f3f6ee)}.design-summary .reset{margin-top:4px;font-size:13px;color:var(--theme-text,#999)}
#saved-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px;border-top:1px solid #e1e6da;padding-top:16px}#saved-previews:empty{display:none}#saved-previews a{text-decoration:none;font-size:13px;line-height:1.25}#saved-previews img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;margin-bottom:7px}
@media(max-width:480px){.ai-preview-notice,.design-summary{padding:18px}.summary-row{grid-template-columns:90px minmax(0,1fr);gap:8px}.preview-art{min-height:200px}.save-actions button{flex:1}}
#packaging .choice-grid{display:grid;grid-template-columns:1fr;gap:12px}#packaging .choice{display:block}#packaging .choice>span{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:18px 20px;border-radius:10px;position:relative}#packaging .choice strong{font-size:19px;font-weight:600;padding-right:24px}#packaging .choice small{display:block;font-size:16px;line-height:1.45;color:var(--theme-text,#808080)}#packaging .choice input:checked+span::after{content:'✓';position:absolute;top:18px;right:18px;color:var(--theme-text,#536348);font-size:18px}
#packaging #vaseSize{padding:0 16px 16px;background:var(--theme-surface,#f7f9f3);border-radius:8px}#packaging #vaseSize fieldset{margin-top:14px}#packaging #vaseSize .choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#packaging #vaseSize .choice>span{padding:12px 8px;text-align:center;align-items:center;font-size:16px}#packaging #vaseSize .choice input:checked+span::after{content:none}
/* One botanical selection per row, with optional colour preferences. */
#flowers .choice-grid,#foliage .choice-grid{grid-template-columns:1fr}
.flower-row{display:flex;align-items:center;gap:14px;border:1px solid #dfe4d8;border-radius:10px;background:var(--theme-surface,#fff);padding:10px;flex-wrap:wrap}
.flower-row:has(input[type=checkbox]:checked){border-color:#81946b;background:var(--theme-raised,#f5f7f0)}
#flowers .flower-row .choice,#foliage .flower-row .choice{border:0;box-shadow:none;background:transparent;padding:0;flex:1 1 190px;min-width:0}
.flower-colour-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;flex:2 1 280px}
.flower-colour-controls button{font-family:'DM Sans',sans-serif;font-size:12px;color:var(--theme-text,#525b48);cursor:pointer;background:transparent;border:0;padding:5px;min-height:44px}
.flower-colour-option{display:flex;flex-direction:column;align-items:center;gap:4px}
.flower-colour-option button{display:flex;flex-direction:column;align-items:center;gap:7px}
.flower-colour-option i{display:block;width:27px;height:27px;border-radius:50%;border:1px solid #d2d4cb}
.flower-colour-option button[aria-pressed=true] i{outline:2px solid #65794c;outline-offset:3px}
.flower-colour-option input{width:52px;padding:5px;font:16px 'DM Sans',sans-serif;border:1px solid #bdc7b1;border-radius:5px;background:white;color:var(--theme-text,#454b40)}
.flower-colour-controls .florist-colour{max-width:none;line-height:1.4;border-radius:6px;white-space:nowrap}
.florist-choice-swatch{background:conic-gradient(#eacbd2,#f5eddb,#c4d2b3,#eacbd2)}
.flower-colour-controls button:focus-visible{outline:2px solid #65794c;outline-offset:3px}
.flower-colour-controls button:hover i{border-color:#65794c}
.florist-colour[aria-pressed=true]{background:var(--theme-raised,#e8efde)}
@media(max-width:600px){.flower-colour-controls{flex-basis:100%;padding-top:6px;border-top:1px solid #e7eadf}.flower-row{gap:8px}}

.flower-availability{display:block;margin-top:5px;font:13px/1.4 Arial,sans-serif;color:var(--theme-text,#646b5d)}

.foliage-green-swatch{display:flex;align-items:center;gap:8px;padding:8px;font:13px Arial,sans-serif;color:var(--theme-text,#525b48)}.foliage-green-swatch i{width:27px;height:27px;border-radius:50%;background:#7f9b68;border:1px solid #70895c;display:block}

.no-filler-symbol{display:block;position:relative;width:27px;height:27px;flex:0 0 27px;margin-left:auto;border:2px solid #7f9b68;border-radius:50%}.no-filler-symbol::after{content:"";position:absolute;top:50%;left:2px;right:2px;height:2px;background:#7f9b68;transform:rotate(-45deg)}

#foliage .choice:has(#no-filler){padding:18px 20px;gap:16px;min-height:82px}#foliage .choice:has(#no-filler) .no-filler-symbol{margin-left:0;margin-right:4px}

#flowers .flower-row .choice:has(input[type=checkbox]:checked),#foliage .flower-row .choice:has(input[type=checkbox]:checked){border:0;background:transparent;box-shadow:none}.flower-row .stem-quantity[hidden]{display:none!important}
/* Blend white-backed botanical references into each selection surface. */
.flower-row{isolation:isolate}
.flower-row .flower-thumb{background:transparent;mix-blend-mode:multiply;border-radius:0;object-fit:contain}

.flower-row .choice:has(input[type=checkbox]:not(:checked)) .stem-quantity:not([hidden]){display:block}
/* Studio typography: expressive headings and readable supporting text. */
.designer-intro>p,.design-step>p,.designer .caption,.designer-footnote,
.design-preview p,.design-preview .summary-row,.design-preview .summary-label,
.flower-availability,.flower-photo-credit,.flower-photo-credit summary,
#packaging .choice small,.designer .field,.designer .field textarea{
 font-family:Verdana,Geneva,sans-serif;
}
.designer-intro>p,.design-step>p,#packaging .choice small,
.design-preview p,.flower-photo-credit,.designer-footnote{
 color:var(--theme-text,#686868);font-size:14px;line-height:1.7;
}
.designer .caption,.flower-availability{color:var(--theme-text,#686868);font-size:13px;line-height:1.6}
.design-preview .summary-row{font-size:13px;line-height:1.6;color:var(--theme-text,#686868)}
.designer h1,.designer h2,.designer h3{font-family:'Cormorant Garamond',Georgia,serif}
.designer h1,.designer h2,.designer h3,.designer legend{color:var(--theme-text,#565656)}
.designer-intro>p,.design-step>p,#packaging .choice small,
.design-preview p,.design-preview .summary-row,.designer .caption,
.flower-availability,.flower-photo-credit,.designer-footnote{color:var(--theme-text,#555555)}
#flowers .choice>span,#foliage .choice>span{color:var(--theme-text,#4b4b4b)}
#budget-summary{color:var(--theme-text,#454545)}
#occasion .choice>span,#palette .choice>span,#style .choice>span{font-size:14px;line-height:1.5;white-space:normal;overflow-wrap:break-word}
#occasion .choice,#palette .choice,#style .choice{height:auto;min-height:64px;gap:12px}
.designer legend{font-size:15px;line-height:1.5;margin-bottom:14px}
#flowers .choice>span,#foliage .choice>span{font-size:14px;line-height:1.5}
.designer .field textarea{line-height:1.6}
@media(max-width:480px){#occasion .choice-grid,#palette .choice-grid{grid-template-columns:1fr}}
/* Section headings match the studio's display typeface. */
body .designer legend{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:22px;line-height:1.3}
/* Compact display leading and consistent section/action typography. */
body .designer-intro h1{line-height:1.05;margin:14px 0 18px}
body .designer-intro>p{margin-top:12px;line-height:1.5}
body .designer .design-step h2,body .designer legend{line-height:1.15}
body .designer .step-actions #next{font-family:'Cormorant Garamond',Georgia,serif!important;font-size:22px;line-height:1.2}
/* Match all studio supporting copy to the shared secondary tone. */
body .designer :is(p,.caption,.flower-availability,.flower-photo-credit,.designer-footnote,.summary-label),body #packaging .choice small{color:var(--theme-text,#808080)}

/* Keep fixed green indicators before the right-aligned stem quantity. */
.flower-row .choice .foliage-green-swatch{margin-left:auto;flex-shrink:0}
.flower-row .choice:has(.foliage-green-swatch) .stem-quantity{margin-left:0;flex-shrink:0}
@media(max-width:600px){.flower-row .choice .foliage-green-swatch{gap:4px;padding:4px}.flower-row .choice .foliage-green-swatch span{display:none}}

.save-actions button,.design-summary .reset,#saved-previews>button{font-size:13px;font-family:Verdana,sans-serif}#saved-previews>button{border:1px solid #dce3d4;border-radius:6px;padding:10px 14px;background:var(--theme-surface,#fff);min-height:42px}#saved-previews>h3,#saved-previews>button{grid-column:1/-1}.save-actions button:disabled{opacity:.55;cursor:default}

.flower-row .choice button.foliage-choice{display:flex;align-items:center;gap:8px;background:transparent;border:0;cursor:pointer;font:inherit;color:inherit}.flower-row .choice .foliage-choice span{border:0;padding:0;background:transparent;box-shadow:none}.flower-row .choice .stem-quantity[hidden]{display:none!important}.foliage-choice:focus-visible{outline:2px solid #81946b;outline-offset:4px}

.flower-row .choice .foliage-choice span{display:none}

.design-summary .save-actions{display:flex;flex-wrap:nowrap;gap:8px;align-items:stretch}.design-summary .save-actions button{flex:1 1 0;min-width:0;height:44px;min-height:44px;margin:0;padding:8px 6px;font-size:13px;line-height:1.2;white-space:nowrap}.design-summary .save-actions .reset{margin:0}@media(max-width:480px){.design-summary .save-actions{gap:5px}.design-summary .save-actions button{font-size:11px;padding:8px 3px}}

.flower-row .choice .filler-flower-choice i{background:#fff;border:1px solid #d3d8cc;border-radius:4px}

.flower-row .choice button.filler-flower-choice{display:none}

.flower-colour-controls{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));align-items:start;gap:14px 8px}.flower-colour-option{min-width:0;width:100%}.flower-colour-option button{width:100%;min-width:0;justify-content:flex-start}.flower-colour-controls .florist-colour{white-space:normal}.flower-colour-option button span{text-align:center;line-height:1.4}.flower-colour-option i{flex-shrink:0}

.flower-row .choice > .stem-quantity{margin-right:32px!important}

#packaging .choice-grid > #size{flex:0 0 100%;margin:0 0 14px;padding:0 16px 16px;box-sizing:border-box}#packaging #size fieldset{margin-top:4px}

#packaging .wrapping-card{border:1px solid var(--line);border-radius:10px;overflow:hidden}#packaging .wrapping-card:has([name=packaging]:checked){background:var(--theme-raised,#edf2e5);border-color:#81946b}#packaging .wrapping-card>label>span{border:0;box-shadow:none;background:transparent}#packaging .wrapping-card #size{padding:0 20px 20px;margin:0}#packaging #size .choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#packaging #size .choice>span{padding:12px 6px;align-items:center;text-align:center;font-size:14px}#packaging #size .choice input:checked+span::after{content:none}

#packaging #size .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

#packaging .choice strong{font-weight:400}

#packaging .choice strong{font-family:"Cormorant Garamond",Garamond,Georgia,serif!important;font-weight:400}

#packaging .wrapping-card{background:var(--theme-surface,#fff);border-color:var(--theme-border,#dfe4d8)}#packaging .wrapping-card:has([name=packaging]:checked){background:var(--theme-surface,#fff)}#packaging .wrapping-card #size{padding:0 20px 20px}#packaging #size legend{font-size:13px;margin-bottom:10px}#packaging #size .choice-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#packaging #size .choice>span{padding:10px 4px;font-size:13px;border-radius:5px;background:var(--theme-surface,#fff)}#packaging #size .choice input:checked+span{background:var(--theme-raised,#edf2e5);box-shadow:none;border-color:#81946b}

#packaging .choice-grid > #size{width:100%;margin:0;padding:12px 20px;border:1px solid #dfe4d8;border-radius:10px;background:var(--theme-surface,#fff)}#packaging #size fieldset{margin:0}#packaging #size legend{margin-bottom:8px}#packaging #size .choice>span{padding:8px 4px}

@media(min-width:701px){.design-preview{position:sticky;top:var(--preview-sticky-top,24px);max-height:calc(100dvh - var(--preview-sticky-top,24px) - 16px);overflow-y:auto;align-self:start}.design-preview .design-summary{position:static;background:var(--theme-surface,#fff)}}
.mobile-bouquet-total{display:none}@media(max-width:700px){body{padding-bottom:80px}.mobile-bouquet-total{display:block;position:fixed;bottom:0;left:0;width:100%;z-index:110;border:0;border-top:1px solid #dfe4d8;background:var(--theme-raised,#edf2e5);padding:16px 20px calc(16px + env(safe-area-inset-bottom));font:13px/1.5 Verdana,sans-serif;color:var(--theme-text,#808080)}.design-preview{scroll-margin-top:var(--preview-sticky-top,90px)}}

#packaging #size .choice:has(input:disabled){opacity:.4;cursor:not-allowed}#packaging #size .choice input:disabled+span{background:var(--theme-raised,#f4f4f2);border-color:var(--theme-border,#ddd)}

.extra-product-picture{width:80px;height:80px;object-fit:contain;flex-shrink:0}

.design-summary #ai-status{margin-top:20px;margin-bottom:24px}.design-summary #ai-status + .save-actions{margin-top:0}

/* Warm cream behind the AI preview heading and notice. */
.design-preview .ai-preview-notice{background:var(--theme-raised,#f6f0e0)}

.design-preview #ai-preview-heading{font-weight:700!important}

/* Separate the panel title from its explanatory notice. */
.design-preview .ai-preview-title{padding:20px 24px;background:var(--theme-surface,#fff);border-bottom:1px solid #e1e6da}
.design-preview .ai-preview-title h2{margin:0}
.design-preview .ai-preview-notice p{margin:0}

.design-preview .ai-preview-title #ai-preview-heading{text-align:center;font-size:32px;line-height:1.2}
@media(max-width:600px){.design-preview .ai-preview-title #ai-preview-heading{font-size:28px}}

.design-preview .ai-preview-notice p{text-align:center}

/* A calmer selection summary with one clear ordering action. */
.design-summary>h2{margin:0 0 18px}
.design-summary #summary{margin:0 0 20px;line-height:1.6}
.design-summary #budget-summary{font-size:20px;line-height:1.4;margin:20px 0;padding-bottom:20px}
.design-summary #studio-login{display:inline-block;font-size:14px;margin:0 0 8px}
.design-summary #studio-login[hidden]{display:none}
.design-summary #ai-status{font-size:14px;line-height:1.6;margin:8px 0 20px}
.design-summary #review-bouquet{margin:0 0 16px!important;min-height:48px;background:#82946b;color:#fff!important;border:1px solid #82946b;font-size:14px}
.design-summary #review-bouquet:disabled{background:var(--theme-raised,#edf2e5);color:var(--theme-text,#808080)!important;border-color:var(--theme-border,#dce3d4);cursor:default}
.design-summary .save-actions{display:flex;gap:10px;margin:0}
.design-summary .save-actions button{flex:1;min-width:0;font-size:12px;padding:10px 6px;min-height:40px}
.design-summary .save-actions button[hidden]{display:none}
.design-summary #save-status:empty{display:none}

.floral-details p,.design-summary .summary-row>span:last-child,dialog .summary-row>span:last-child{white-space:pre-line}

/* Clearly signal the next step once an image is ready. */
.design-summary #review-bouquet{background:#edf2e5!important;color:var(--theme-text,#657254)!important}
.design-summary #review-bouquet.preview-ready:not(:disabled){background:#536348!important;border-color:#536348!important;color:#fff!important}
.design-summary #order-next-step{font-size:14px;line-height:1.6;margin:0 0 14px}
.design-summary #order-next-step[hidden]{display:none}

/* Keep vase sizing consistent with the wrapping size controls. */
#packaging .choice-grid > #vaseSize{width:100%;margin:0;padding:12px 20px;border:1px solid #dfe4d8;border-radius:10px;background:var(--theme-surface,#fff);box-sizing:border-box}
#packaging #vaseSize fieldset{margin:0}
#packaging #vaseSize legend{font-size:13px;margin-bottom:8px}
#packaging #vaseSize .choice>span{padding:8px 4px;font-size:13px;border-radius:5px;background:var(--theme-surface,#fff)}
#packaging #vaseSize .choice input:checked+span{background:var(--theme-raised,#edf2e5);box-shadow:none;border-color:#81946b}

/* Bouquet review: image and selections share one clear reading flow. */
dialog.bouquet-review{width:calc(100% - 32px);max-width:960px;max-height:90dvh;overflow:auto;padding:28px;border:1px solid #dce2d4;border-radius:16px;background:#fff;color:var(--theme-text,#808080);box-shadow:0 20px 70px #0003}
dialog.bouquet-review::backdrop{background:rgba(40,52,36,.48)}
.bouquet-review h2{font:400 34px/1.15 'Cormorant Garamond',Garamond,Georgia,serif;margin:0 0 24px}
.bouquet-review-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:28px;align-items:start}
.bouquet-review-layout.without-image{grid-template-columns:1fr}
.bouquet-review-visual{background:#f4f7ef;padding:14px;border-radius:10px}
.bouquet-review-visual img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:6px}
.bouquet-review-visual p{font-size:12px;text-align:center;margin:12px 0 0}
.bouquet-review-details .summary-row,.bouquet-review-detail{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid #e7ebdf;margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.bouquet-review-details .summary-label,.bouquet-review-detail>span:first-child{font-size:12px;color:var(--theme-text,#808080)}
.bouquet-review-price{background:var(--theme-raised,#edf2e5);border-radius:8px;padding:16px;margin:18px 0 0;font-size:17px;line-height:1.5;color:var(--theme-text,#536348)}
.bouquet-review-note{font-size:12px;line-height:1.6;margin:20px 0 14px}
.bouquet-review-confirm{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;padding:14px;background:var(--theme-raised,#f4f7ef);border-radius:8px}
.bouquet-review-confirm input{flex:0 0 auto;margin-top:3px;accent-color:#536348}
.bouquet-review-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:18px}
.bouquet-review-actions button{padding:12px 20px;border-radius:6px;min-height:44px;font-size:13px;cursor:pointer}
.bouquet-review-actions .primary{background:#536348!important;color:white!important;border:1px solid #536348}
.bouquet-review-actions .primary:disabled{opacity:.45;cursor:not-allowed}
.bouquet-review-back{background:var(--theme-surface,white);border:1px solid #dce2d4;color:var(--theme-text,#808080)}
@media(max-width:650px){dialog.bouquet-review{padding:20px}.bouquet-review h2{font-size:29px}.bouquet-review-layout{grid-template-columns:1fr;gap:18px}.bouquet-review-visual img{max-height:280px}.bouquet-review-actions{flex-direction:column-reverse}.bouquet-review-actions button{width:100%}}

.bouquet-review-close{position:absolute;top:14px;right:14px;width:44px;height:44px;padding:0;border:0;background:transparent;color:var(--theme-text,#808080);font:400 28px/1 Arial,sans-serif;cursor:pointer}
.bouquet-review h2{padding-right:40px}
.bouquet-review [role="status"]:empty{display:none}
@media(max-width:650px){.bouquet-review-details .summary-row,.bouquet-review-detail{grid-template-columns:90px minmax(0,1fr);gap:10px}.bouquet-review-confirm{margin-top:0}.bouquet-review-visual img{height:240px}.bouquet-review-actions{gap:8px}}
.bouquet-review-actions{align-items:stretch}.bouquet-review-actions button{margin:0!important;min-height:46px}.bouquet-review-confirm input{width:18px!important;height:18px;margin-right:0!important}
@media(max-width:650px){.bouquet-review-details .summary-row,.bouquet-review-detail,.bouquet-review-confirm,.bouquet-review-actions button{font-size:14px}.bouquet-review-visual img{height:210px}}
.substitution-notice{margin:18px 0;padding:14px 16px;background:var(--theme-raised,#f3f6ed);border-left:3px solid #8da477;border-radius:3px;font-size:12px;line-height:1.6}.substitution-notice strong{display:block;margin-bottom:5px;font-size:12px}.substitution-notice p{margin:0;font-size:12px;line-height:1.6}

/* Keep the preview compact and let the page own scrolling. */
.design-preview{position:static;max-height:none;overflow:clip}
.design-preview .ai-preview-title{padding:12px 16px}
.design-preview .ai-preview-title #ai-preview-heading{font-size:24px;line-height:1.2}
.design-preview .ai-preview-notice{padding:10px 16px}
.design-preview .ai-preview-notice p{font-size:12px;line-height:1.45}
.design-preview .preview-art{min-height:0;padding:16px;display:grid;grid-template-columns:auto 1fr;gap:8px 14px;text-align:left}
.design-preview .preview-art .eyebrow,.design-preview .preview-art .caption{grid-column:1/-1;text-align:center;margin:0;font-size:10px}
.design-preview .palette-preview{grid-row:2/4;margin:0}
.design-preview .palette-preview i{width:28px;height:28px}
.design-preview .preview-art h2{font-size:24px;margin:0;line-height:1.15}
.design-preview .preview-art h2 br{display:none}
.design-preview .preview-art #palette-name{font-size:12px;margin:0}
.design-preview .design-summary{padding:14px 16px}
.design-preview .design-summary>h2{font-size:22px;margin:0 0 10px}
.design-preview #summary{margin:0 0 10px;font-size:13px;line-height:1.45}
.design-preview #budget-summary{font-size:16px;margin:8px 0;padding:8px 0}
.design-preview .substitution-notice{margin:10px 0;padding:10px 12px}
.design-preview .substitution-notice strong,.design-preview .substitution-notice p{font-size:11px;line-height:1.45}
.design-preview .substitution-notice strong{margin-bottom:3px}
.design-preview #allowance,.design-preview #ai-status{font-size:12px;line-height:1.4;margin:8px 0}
.design-preview #generated-preview{max-height:480px;object-fit:contain;background:var(--theme-surface,#f8f9f5)}
@media(min-width:701px){.design-preview{position:static;max-height:none;overflow:clip}}

/* Balanced centred moodboard; preserve readable supporting copy. */
.design-preview .preview-art{display:flex;flex-direction:column;gap:0;text-align:center;padding:22px 20px;min-height:210px}
.design-preview .preview-art .eyebrow{font-size:11px;margin:0 0 12px}
.design-preview .palette-preview{margin:0 0 12px}
.design-preview .palette-preview i{width:34px;height:34px}
.design-preview .preview-art h2{font-size:28px;line-height:1.18;margin:0 0 8px}
.design-preview .preview-art h2 br{display:block}
.design-preview .preview-art #palette-name{font-size:14px;margin:0 0 10px}
.design-preview .preview-art .caption{font-size:12px;margin:0}
.design-preview .ai-preview-notice p{font-size:13px}
.design-preview .design-summary{padding:18px 20px}
.design-preview .substitution-notice strong,.design-preview .substitution-notice p{font-size:12px}

/* Estimated determinate generation progress; completion comes from the job response. */
#generation-progress .progress-track{height:9px}#generation-progress .progress-track span{animation:none;transform:none;width:0;opacity:1;transition:width .5s ease}#generation-progress .caption{margin-top:8px;font-variant-numeric:tabular-nums}@media(prefers-reduced-motion:reduce){#generation-progress .progress-track span{transition:none}}

.flower-colour-controls{grid-template-columns:repeat(auto-fill,minmax(148px,1fr))}
.stem-stepper{display:flex;align-items:center;justify-content:center;gap:0;border:1px solid #bdc7b1;border-radius:8px;background:var(--theme-surface,#fff);overflow:hidden;max-width:100%}
.stem-stepper:has(input[hidden]){display:none}
.stem-stepper button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;font-size:23px;background:var(--theme-raised,#f0f4e9);border:0;touch-action:manipulation}
.stem-stepper input{width:48px;min-width:0;height:44px;margin:0;padding:4px;text-align:center;border:0;border-radius:0;box-sizing:border-box;appearance:textfield;-moz-appearance:textfield}
.stem-stepper input::-webkit-inner-spin-button,.stem-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:600px){.flower-colour-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 8px}}

/* Studio primary actions share a high-contrast green treatment. */
body .designer #next,body .designer #generate,body .designer #review-bouquet,
body .bouquet-review-actions .primary{background:#36533d!important;color:#fff!important;border:1px solid #36533d;min-height:44px}
body .designer #next:hover:not(:disabled),body .designer #generate:hover:not(:disabled),body .designer #review-bouquet:hover:not(:disabled),body .bouquet-review-actions .primary:hover:not(:disabled){background:#29422f!important}
body .designer #next:focus-visible,body .designer #generate:focus-visible,body .designer #review-bouquet:focus-visible{outline:3px solid #8ba677;outline-offset:3px}
body .designer #next:disabled,body .designer #generate:disabled,body .designer #review-bouquet:disabled{opacity:.5;cursor:not-allowed}
body .designer .design-summary #review-bouquet:disabled{background:#36533d!important;color:#fff!important;border-color:#36533d}

/* Studio header utilities: one SVG per link, consistent touch targets. */
body>header .utilities{display:flex;align-items:center;gap:14px}
body>header .utilities .studio-utility{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;text-decoration:none}
body>header .studio-utility svg{display:block;width:25px;height:25px;flex-shrink:0}
body>header .studio-utility-label{font-size:11px}
body>header .studio-utility #bag-count{position:absolute;right:-3px;top:0;background:var(--theme-raised,#edf2e5);border-radius:50%;min-width:17px;height:17px;font-size:11px;line-height:17px;text-align:center}
@media(max-width:700px){body>header .utilities{gap:0}body>header .studio-utility-label{display:none}body>header .studio-utility svg{width:23px;height:23px}}

/* Studio-only sticky total/preview action. */
body .mobile-bouquet-total{background:#36533d!important;color:#fff!important;border-color:#36533d!important}
body .mobile-bouquet-total:focus-visible{outline:3px solid #a7bf91;outline-offset:-4px}
.flower-row .stem-stepper{flex:0 0 auto;align-self:center}
.flower-row .stem-stepper input.stem-quantity{width:48px;min-width:0;margin:0}
@media(max-width:600px){.flower-row .choice:has(>.stem-stepper){flex-wrap:wrap}.flower-row .choice>.stem-stepper{margin-left:auto}}

/* Uniform compact controls; 16px inputs avoid iOS focus zoom. */
body .designer .flower-row .stem-stepper{width:122px;min-width:122px;max-width:122px;height:40px;box-sizing:border-box;flex:0 0 auto;border-radius:6px}
body .designer .flower-row .stem-stepper button{width:40px;min-width:40px;max-width:40px;height:38px;min-height:38px;flex:0 0 40px;font-size:20px;padding:0;box-sizing:border-box}
body .designer .flower-row .stem-stepper input{width:40px;min-width:40px;max-width:40px;height:38px;min-height:38px;flex:0 0 40px;margin:0!important;padding:2px!important;font-size:16px!important;line-height:normal;box-sizing:border-box;border:0}

/* Emphasise the payable amount, rather than the surrounding bar copy. */
body .mobile-bouquet-total{font-size:13px!important;font-weight:400!important;line-height:1.6;color:var(--theme-text,#dce6d9)!important}
body .mobile-bouquet-total .numeric{font-size:20px!important;font-weight:700!important;color:#fff!important;white-space:nowrap}

/* Natural-colour flowers, fillers and foliage share the colour-option layout. */
.flower-colour-option .foliage-choice{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%;background:transparent;border:0;padding:5px;min-height:44px}
.flower-colour-option .foliage-choice i{background:#91a57d}
.flower-colour-option .filler-flower-choice i{background:#f3f1e6}

/* Give colour choices the full card width instead of a narrow side column. */
.designer .flower-row{flex-direction:column;align-items:stretch}
#flowers .flower-row>.choice,#foliage .flower-row>.choice{flex:0 0 auto;width:100%;min-width:0;justify-content:flex-start}
.designer .flower-row>.flower-colour-controls{flex:0 0 auto;width:100%;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));padding-top:12px;border-top:1px solid #e7eadf}
@media(max-width:600px){.designer .flower-row>.flower-colour-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Spreadsheet-defined grouping uses the existing shared flower cards. */
.studio-group-heading{grid-column:1/-1;font-size:16px;font-weight:400;margin:26px 0 12px}

/* Flower cards: image, name and colour controls contained in one tile. */
@media(min-width:1100px){#flowers .choice-grid,#foliage .choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
#flowers .flower-row>.choice,#foliage .flower-row>.choice{flex-direction:column;justify-content:center;gap:8px;text-align:center;min-height:108px}
#flowers .flower-row>.choice>span,#foliage .flower-row>.choice>span{flex:0 0 auto;justify-content:center;overflow-wrap:anywhere}
#flowers .flower-row .flower-thumb,#foliage .flower-row .flower-thumb{width:72px;height:72px}
#foliage .choice:has(#no-filler){grid-column:1/-1}
@media(min-width:701px){.design-preview{position:sticky;top:210px;max-height:calc(100dvh - 230px);overflow-y:auto;overscroll-behavior:contain}}

/* Uniform browsing cards; native modal editors preserve their row's inputs. */
#flowers .flower-row,#foliage .flower-row{height:258px;gap:8px;justify-content:flex-start;cursor:default}
#flowers .flower-row>.choice,#foliage .flower-row>.choice{height:120px;min-height:120px;cursor:pointer}
.flower-card-dots{display:flex;align-items:center;justify-content:center;gap:5px;height:18px}
.flower-card-dots i{display:block;width:13px;height:13px;border:1px solid #c7cebf;border-radius:50%;background:#91a57d}
.flower-card-dots .florist-choice-swatch{background:conic-gradient(#edc7cf,#f3eedc,#b8cba6,#edc7cf)}
.flower-card-summary{height:36px;line-height:18px;font-size:12px;text-align:center;overflow:auto;color:var(--theme-text,#536348)}
.flower-edit,.flower-editor-close{background:#36533d;color:#fff!important;border:0;border-radius:5px;min-height:40px;padding:8px 14px;font-size:13px;cursor:pointer}
.flower-editor{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 32px));max-height:85dvh;padding:24px;border:1px solid #dfe4d8;border-radius:12px;background:var(--theme-surface,#fff);color:var(--theme-text,#555);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.flower-editor::backdrop{background:#14221880}
.flower-editor h2{font-size:28px;margin:0 0 8px}.flower-editor>p{font-size:14px;margin:0 0 18px}
.flower-editor .flower-colour-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:12px;border:0;padding:0}
.flower-editor .flower-colour-option{min-width:0}
.flower-editor-close{display:block;width:100%;margin-top:24px;position:sticky;bottom:0}
@media(max-width:600px){.flower-editor{inset:auto 0 0;width:100%;max-height:85dvh;margin:0;border-radius:16px 16px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom))}.flower-editor .flower-colour-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
#flowers .flower-row,#foliage .flower-row{height:280px;flex-wrap:nowrap}
.flower-card-dots,.flower-card-summary,.flower-edit{flex-shrink:0}.flower-edit{width:100%}

/* Preview-box typography requested by PIXY. */
body .design-summary>h2,body #saved-previews>h3{font-size:19px!important;font-weight:400}
body .design-preview .summary-row,body .design-preview .summary-row span,body .design-preview .summary-row .numeric{font-size:10px!important;line-height:1.6}
body #budget-summary .budget-title{font-family:Garamond,'Cormorant Garamond',Georgia,serif!important;font-size:19px!important;font-weight:400}
body #budget-summary .budget-amount,body #budget-summary .budget-amount .numeric{font-family:Verdana,sans-serif!important;font-size:19px!important;font-weight:400}
body #budget-summary .budget-tax{font-size:10px!important;color:var(--theme-text,#808080)!important}
body .design-preview #allowance,body .design-preview #allowance .numeric,body .designer .designer-faq-link{color:var(--theme-text,#4d4d4d)!important}
body .designer .designer-faq-link{text-decoration:none!important}
body #saved-previews a,body #saved-previews a span,body .design-preview #preview-caption{color:var(--theme-text,#4d4d4d)!important}

/* Florist note: neutral background and Garamond typography. */
body .design-preview .ai-preview-notice{background:var(--theme-surface,#fff)!important}
body .design-preview .ai-preview-notice p{font-family:Verdana,Arial,sans-serif!important;font-size:12px!important;line-height:1.5}

body .design-preview .ai-preview-title{background:#36533d;border-bottom-color:#36533d}
body .design-preview .ai-preview-title #ai-preview-heading{color:#fff!important}

/* Match generated floral details to the confirmed bouquet summary. */
body .design-preview .floral-details{margin:0;padding:18px 20px;background:var(--theme-surface,#fff);border:0;border-bottom:1px solid #e1e6da}
body .design-preview .floral-details h3{font-family:Garamond,'Cormorant Garamond',Georgia,serif!important;font-size:19px!important;font-weight:400;line-height:1.3;margin:0 0 10px}
body .design-preview .floral-detail-row{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;margin:0!important;padding:9px 0;border-bottom:1px solid #edf0e8;font-family:Verdana,Arial,sans-serif!important;font-size:10px!important;line-height:1.6;color:var(--theme-text,#686868)}
body .design-preview .floral-detail-row:last-child{border-bottom:0}
body .design-preview .floral-detail-row strong{font:inherit!important;font-weight:400!important;color:var(--theme-text,#999)}
body .design-preview .floral-detail-row span{font:inherit!important;white-space:pre-line;min-width:0}
@media(max-width:480px){body .design-preview .floral-detail-row{grid-template-columns:90px minmax(0,1fr);gap:8px}}

/* Keep the palette name and moodboard caption close together. */
body .design-preview .preview-art #palette-name{margin:0 0 3px;line-height:1.3}
body .design-preview .preview-art .caption{margin:0;line-height:1.3}

/* Compact cards without reducing flower image size. */
#flowers .flower-row,#foliage .flower-row{height:248px;gap:5px}
#flowers .flower-row>.choice,#foliage .flower-row>.choice{height:112px;min-height:112px}
/* Generated preview caption follows the same quiet notice styling above the image. */
body .design-preview #preview-caption{margin:0!important;padding:10px 16px!important;background:#fff!important;border-bottom:1px solid #e1e6da;text-align:center!important;font-family:Verdana,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;color:var(--theme-text,#808080)!important}
/* Prevent iOS Safari from retaining a focused-field zoom between Studio steps. */
@media(max-width:700px){body .designer input:not([type=checkbox]):not([type=radio]),body .designer select,body .designer textarea{font-size:16px!important}}

/* Keep the generated-bouquet consent sheet stable when it opens on iOS. */
@media(max-width:700px){dialog.bouquet-review{overscroll-behavior:contain}.bouquet-review,.bouquet-review button,.bouquet-review label{touch-action:manipulation}}

/* Open foldables keep the desktop Studio, with compact spacing and guarded columns. */
@media(min-width:701px) and (max-width:1023px){
 .designer{margin-left:24px;margin-right:24px;zoom:.96}
 .designer-layout{grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);gap:clamp(20px,3vw,32px)}
}
