/* Four distinct work surfaces. Keep workspace ancestors overflow/transform-free
   so the selected-photo rail continues to follow the viewport. */
body{background:radial-gradient(ellipse at 2% 12%,#dce6dc80,transparent 42%),radial-gradient(ellipse at 98% 30%,#e5dfef70,transparent 40%),linear-gradient(145deg,#f7f3e9,#eef2ec 62%,#f6f1e5);background-attachment:fixed}
.site-header{border-bottom-color:#cbd5c5}.intro .eyebrow{color:#4d6552}.intro h1 span{color:#526c56}.intro-aside{color:#52654e}
.workflow-nav{background:#fffdf5d9;padding:7px;border:1px solid #cdd5c7;border-radius:14px;box-shadow:0 4px 18px #23392505}
.workflow-nav a{min-width:0;justify-content:center;min-height:44px;border-radius:9px;color:#354b3a;padding:8px 10px}.workflow-nav a:nth-child(1){background:#f3eddd}.workflow-nav a:nth-child(2){background:#e4eff1}.workflow-nav a:nth-child(3){background:#efe8f1}.workflow-nav a:nth-child(4){background:#e8edcf}.workflow-nav a span{color:inherit}
.settings-panel{padding:0!important;border:0;background:transparent;box-shadow:none;border-radius:0}
.workspace-stage{--stage-ink:#45583b;--stage-line:#cfd4bc;--stage-tint:#f2eedf;--stage-paper:#fffdf5;min-width:0;border:1px solid var(--stage-line);border-radius:20px;padding:24px;background:linear-gradient(145deg,var(--stage-tint),var(--stage-paper) 46%);box-shadow:0 8px 25px #25382408;margin:0 0 24px}
.workspace-stage.stage-photos{--stage-ink:#645537;--stage-line:#d9ceb4;--stage-tint:#f2e7cb;--stage-paper:#fffdf6}
.settings-panel>.workspace-stage.stage-background{--stage-ink:#315e69;--stage-line:#bfd4d7;--stage-tint:#e2eff1;--stage-paper:#f8fcfb;margin:0 0 24px;border:1px solid var(--stage-line);border-radius:20px;padding:24px;background:linear-gradient(145deg,var(--stage-tint),var(--stage-paper) 55%);box-shadow:0 8px 25px #25382408}
.workspace-stage.stage-style{--stage-ink:#63516f;--stage-line:#d5c9dd;--stage-tint:#eee5f1;--stage-paper:#fffafd}
.workspace-stage.stage-export{--stage-ink:#4a5d32;--stage-line:#c9d3ae;--stage-tint:#e6edce;--stage-paper:#fbfdf2}
.workspace-stage>.section-heading,.workspace-stage>.workflow-stage-title{margin:0 0 14px;padding:0;border:0;align-items:center}
.workspace-stage .step-number{width:32px;height:32px;flex:0 0 32px;background:var(--stage-ink);color:#fff;border:0;border-radius:10px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center}
.workspace-stage h2{color:#293d30;line-height:1.3}.stage-intro{font-size:14px;color:#51624e;line-height:1.6;margin:0 0 22px;max-width:48em}.workspace-stage .stage-optional{color:#315e69;background:#dbe9eb;border-radius:5px;padding:5px 7px;font-size:11px}
.stage-next{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:48px;margin-top:24px;border-top:1px solid var(--stage-line);padding-top:12px;color:var(--stage-ink);font-size:13px;font-weight:600;text-decoration:none;line-height:1.5}.stage-next>span:last-child{font-size:20px}.stage-next:hover{text-decoration:underline;text-underline-offset:4px}
.stage-next:focus-visible,.creative-tools button:focus-visible{outline:3px solid #49623b;outline-offset:4px}
.stage-photos .dropzone{background:#fffef9b3;border-color:#a99e80}.stage-photos .upload-icon{background:#ede5cf;color:#62563b}.stage-photos .empty-preview{background:#f6f0e2;border-radius:12px;padding:16px}.stage-photos .empty-preview-title{color:#63583f}
.stage-background .cutout-mode-row>button:not(.text-button){background:#f5fbfc;border-color:#abc6ca;color:#315662}.stage-background .cutout-mode-row>button[aria-pressed=true]{background:#dcecef;border-color:#497381;color:#254a56}.stage-background .cutout-start{background:#315e69;color:#fff;border-color:#315e69}.stage-background .cutout-kicker{color:#315e69}
.creative-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 24px}.creative-tools button{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:12px 10px;min-height:112px;border:1px solid #c9bbd3;border-radius:12px;background:#fffcff;color:#554160;text-align:left;font:inherit;cursor:pointer}.creative-tools button>span{width:27px;height:27px;display:inline-flex;align-items:center;justify-content:center;background:#eee4f2;border-radius:7px;font-family:Georgia,serif;font-size:19px}.creative-tools strong{font-size:13px;line-height:1.4;font-weight:600}.creative-tools small{font-size:11px;line-height:1.45;color:#66546e}.creative-tools button:hover{background:#f5edf8;border-color:#9b88a6}.creative-tools button:disabled{opacity:.5;cursor:default}
.stage-style .auto-layout-section{background:#fbf7fc;border-color:#cbbbd5}.stage-style .auto-layout-section>summary{color:#574263}.stage-style .brand-section{background:#f5f2f7;border-color:#d6cddd}.stage-style .saved-looks-section{border-color:#d6cddd}.stage-style .collection-fieldset{margin-top:26px}.stage-style .setting-details{border-color:#d6cddd}.stage-style .setting-details>summary{min-height:52px}.stage-style .text-composer>summary{background:#f2eaf6;border:1px solid #cbbbd5;border-radius:10px;padding:12px;color:#513d5d}.stage-style .text-composer[open]>summary{margin-bottom:12px}.stage-style .text-studio-entry{background:#f1edf7;border-color:#c7b9d3}.stage-style .text-studio-entry>button:first-child{background:#5c496a}
.stage-export .quality-section{background:#fffdf1;border-color:#d4cc9c}.stage-export .quality-section.has-warnings{border-color:#a7934e}.stage-export .download-area{border-top-color:#cad2b4}.stage-export .export-mode-choices button{background:#fffff8;border-color:#c5cead}.stage-export .export-mode-choices button.selected{background:#e8efcf;border-color:#6c7d46}.stage-export .download-button{box-shadow:0 4px 0 #a2b55d40,0 8px 24px #76903814}.stage-export .download-button:disabled{box-shadow:none}
.live-preview-rail{border-color:#bbcbb8;box-shadow:0 8px 30px #2339250c;background:linear-gradient(145deg,#f8fcf5,#edf3e8)}.live-preview-heading{color:#435b3d}.live-preview-image{border-color:#c8d3c0}.workflow-strip{background:#fffdf2a6;border-radius:18px;padding:24px;border:1px solid #d4dacb}
@media(max-width:760px),(max-height:500px){body{background-attachment:scroll}.workspace-stage,.settings-panel>.workspace-stage.stage-background{padding:18px 15px;border-radius:16px;margin-bottom:22px}.workflow-nav{gap:5px;padding:5px}.workflow-nav a{padding:7px 5px;font-size:12px}.workflow-nav a span{font-size:10px}.stage-intro{font-size:13px;margin-bottom:18px}.workspace-stage .step-number{width:30px;height:30px;flex-basis:30px}.creative-tools{gap:6px;margin-bottom:20px}.creative-tools button{padding:10px 8px;min-height:120px}.creative-tools strong{font-size:12px}.creative-tools small{font-size:11px}.stage-next{font-size:13px}.workflow-strip{padding:18px}.stage-photos .empty-preview{padding:12px}}
@media(max-width:360px){.creative-tools{grid-template-columns:1fr}.creative-tools button{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 10px;min-height:62px;padding:10px 12px}.creative-tools button>span{grid-row:1/3}.creative-tools strong,.creative-tools small{grid-column:2}.workspace-stage>.section-heading{gap:8px}.workspace-stage .step-heading{gap:8px}.workspace-stage h2{font-size:19px}.stage-style .reset-button{max-width:74px;white-space:normal}}
@media(prefers-reduced-motion:reduce){.stage-next,.creative-tools button{transition:none;scroll-behavior:auto}}
.stage-style .brand-library>summary{min-height:52px;color:#513d5d}.stage-style .brand-library .brand-section{margin-top:8px}.stage-style .brand-library .saved-looks-section{margin-bottom:8px}
.stage-background>.stage-next{grid-column:1/-1}
@media(max-width:430px){.workflow-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.workflow-nav a{justify-content:flex-start;padding:8px 12px;font-size:13px}.workflow-nav a span{font-size:11px}}

/* Limited beta disclosure remains readable without obscuring the preview. */
.beta-notice{margin:0 auto 16px;padding:12px 16px;max-width:1100px;border:1px solid #d9ddcb;border-radius:12px;background:#f2f4e9;color:#3f503f;font-size:13px;line-height:1.5}.beta-notice a{color:#24523d;font-weight:600;text-underline-offset:3px}
/* Consent and licensing limits must remain legible on both dialog surfaces. */
#cutout-consent .cutout-consent-copy,#cutout-guide .cutout-consent-copy{color:#526148}
#cutout-consent .cutout-consent-copy a{color:#234f38;text-decoration:underline;text-underline-offset:3px}

/* Optional feedback is a normal external link, never a modal or automatic prompt. */
.feedback-card{margin-top:14px;padding:12px 14px;border:1px solid #ced7c3;border-radius:10px;background:#f1f4e9;text-align:left}.feedback-card[hidden]{display:none}.feedback-card p{margin:0;color:#344530;font-size:13px;font-weight:600;line-height:1.5}.feedback-link{display:inline-flex;align-items:center;flex-wrap:wrap;column-gap:8px;min-height:44px;color:#294e37;font-size:13px;font-weight:600;line-height:1.45;text-decoration:underline;text-underline-offset:3px}.feedback-link span{font-size:12px;font-weight:400}.feedback-card small,.feedback-footer small,.feedback-help small{display:block;color:#526148;font-size:12px;line-height:1.5}.feedback-footer{max-width:270px}.feedback-help{padding:10px 0;border-top:1px solid #dce2d2;margin-top:14px}.feedback-link:focus-visible{outline:2px solid #365f46;outline-offset:3px;border-radius:3px}.tour-actions .feedback-card{margin-top:0;padding:8px 12px}.tour-actions .feedback-card p{font-size:12px}.feedback-card small{margin-top:2px}
