/* Keep configurator styling isolated from production header and footer. */
@scope (.daruma-designer) {
:scope{--paper:#f1e7d5;--ink:#302f2b;--muted:#777166;--line:#d3c8b6;--accent:#8f3d31}*{box-sizing:border-box}:scope{margin:0;background:var(--paper);color:var(--ink);font:500 15px/1.7 'Zen Old Mincho',serif,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #8f3d31;outline-offset:3px}:scope{box-sizing:border-box;max-width:1280px;margin:auto;padding:0 36px}.intro{padding:44px 0 30px}.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--accent);margin:0}h1,h2,h3{font-family:'Hina Mincho',serif;font-weight:500}h1{font-size:35px;letter-spacing:.1em;margin:9px 0}h2{font-size:25px;margin:22px 0 8px}.intro>p:last-child{color:var(--muted);font-size:13px}.atelier{display:grid;grid-template-columns:1fr 1fr;gap:58px;align-items:start}.preview{position:sticky;top:20px;background:transparent;padding:24px 26px 18px;border-radius:100px 100px 4px 4px;min-width:0}.preview-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:8px 0}.toggle{display:flex;border:1px solid #bcb4a8;border-radius:25px;padding:3px}.toggle button{border:0;background:none;border-radius:20px;padding:5px 13px;font-size:12px}.toggle button[aria-pressed=true]{background:var(--ink);color:#fff}#previewArt{height:440px;display:flex;justify-content:center}svg{display:block;width:100%;height:100%}.preview-note{text-align:center;color:var(--muted);font-size:11px;margin:5px}.preview-bottom{border-top:1px solid #cac3b9;padding-top:16px;margin-top:18px;display:flex;flex-direction:column;gap:5px;font-size:12px}.preview-bottom span:last-child{font-size:10px;color:var(--muted)}.steps{display:flex;border-bottom:1px solid var(--line);gap:25px}.steps button{flex:1;background:none;border:0;border-bottom:2px solid transparent;padding:14px 0;font-size:13px;color:var(--muted)}.steps b{font-weight:400;margin-right:12px;font-size:11px}.steps [aria-current=step]{border-bottom-color:var(--accent);color:var(--accent)}.hint{color:var(--muted);font-size:12px;margin:0 0 20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.card{border:1px solid var(--line);background:#f8f1e5;border-radius:3px;padding:12px 5px;font-size:11px;position:relative}.card svg{height:112px;margin-bottom:9px}.card[aria-pressed=true],.swatch[aria-pressed=true],.segment button[aria-pressed=true]{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);background:#fff9ee}.card[aria-pressed=true]:after{content:'✓';position:absolute;top:6px;right:9px;color:var(--accent)}.field{display:block;margin-top:22px;font-size:13px}.field small{font-size:11px;color:var(--muted);margin-left:8px}input[type=text],textarea{width:100%;border:1px solid var(--line);background:#fff9ee;padding:12px;margin-top:8px;border-radius:2px}textarea{resize:vertical;min-height:85px}.upload{display:block;border:1px dashed #b4a58d;padding:14px;margin-top:8px;font-size:12px}.upload input{display:block;width:100%;margin-top:8px;font-size:11px}.subtle{font-size:11px;color:var(--muted)}.clear{background:none;border:0;text-decoration:underline;font-size:11px;padding:0}.palettes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swatch{text-align:left;padding:13px;border:1px solid var(--line);background:transparent;font-size:11px}.dots{display:flex;gap:5px;margin-bottom:8px}.dots i{width:22px;height:22px;border-radius:50%;border:1px solid #0001}.segment{display:flex;gap:8px;margin:9px 0 20px}.segment button{flex:1;padding:10px;border:1px solid var(--line);background:transparent;font-size:12px}.segment button img{width:25px}.colors{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.colors label{font-size:12px;display:flex;align-items:center;gap:8px}.colors input{width:40px;height:32px;padding:0;border:0;background:transparent}#next{margin-left:auto}.actions{display:flex;justify-content:space-between;margin:28px 0 50px;padding-top:20px;border-top:1px solid var(--line)}.primary{border:1px solid var(--ink);background:var(--ink);color:var(--paper);padding:13px 22px;min-width:180px;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:13px}.primary:hover{background:var(--accent);border-color:var(--accent)}.quiet{background:transparent;border:1px solid var(--line);padding:12px 18px;font-size:12px}details{border-top:1px solid var(--line);padding-top:16px;margin-top:25px}summary{cursor:pointer;font-size:12px}#review{padding:30px 0 65px;text-align:center}#reviewArts{display:flex;justify-content:center;gap:30px;background:#e4dfd6;padding:30px;margin:25px 0}#reviewArts figure{margin:0;width:35%}#reviewArts svg{height:400px}figcaption{font-size:12px}.review-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.review-actions button{width:220px;min-width:0;min-height:52px;padding:12px 18px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}.error{color:#8f3d31;font-size:12px}
@media(max-width:760px){:scope{padding:0 18px}.intro{padding:25px 0 15px}h1{font-size:27px}.intro>p:last-child{font-size:11px}.atelier{display:flex;flex-direction:column;gap:15px}.preview{position:relative;top:auto;width:100%;padding:12px 20px;border-radius:50px 50px 3px 3px}.preview-top{margin:3px 0}#previewArt{height:240px}.preview-bottom{margin-top:8px;padding-top:8px}.preview-note{margin:0}.preview-bottom span:last-child{display:none}.editor{width:100%}.steps{position:sticky;top:0;background:var(--paper);z-index:2;gap:10px}h2{font-size:22px}.card svg{height:95px}.actions{margin-bottom:20px}.primary{min-width:165px}#reviewArts{gap:10px;padding:15px 4px}#reviewArts figure{width:48%}#reviewArts svg{height:220px}.review-actions button{width:100%}.colors{gap:15px}}
@media(max-width:760px){.preview{position:static;top:auto;z-index:auto;box-shadow:none}#previewArt{height:180px}.preview-note{font-size:10px}.steps{position:static}.preview-bottom{font-size:10px}}
.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
#panel>.cards{margin-top:20px}
.card:disabled{cursor:default;opacity:1}

.preview-top{justify-content:flex-end}

.preview-switch{display:flex;justify-content:center;margin:10px 0 2px}

.atelier{margin-top:32px}@media(max-width:760px){.atelier{margin-top:18px}}

.color-editor{margin-top:12px;max-width:440px}
.body-colors{display:flex;gap:8px}
.color-control{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:12px;min-height:48px}
.body-color{flex:1;min-width:0;flex-direction:column;gap:7px;align-items:stretch;text-align:center}
.color-chip{display:block;flex-shrink:0;width:36px;height:36px;border-radius:50%;border:1px solid #302f2b30}
.body-color .color-chip{width:100%;height:48px;border-radius:4px}
.color-control input[type=color]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.color-control:focus-within{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.color-control:hover .color-chip{box-shadow:0 0 0 2px var(--paper),0 0 0 3px #8f3d3180}
.accent-colors{display:flex;gap:28px;margin-top:20px;padding-top:14px;border-top:1px solid var(--line)}
.body-colors.stacked{flex-direction:column;gap:6px}
.stacked .body-color{flex-direction:row;align-items:center;text-align:left;min-height:36px}
.stacked .color-caption{order:-1;flex:0 0 3em;text-align:left}
.stacked .color-chip{flex:1;min-width:0;width:auto;height:30px}
@media(max-width:760px){.color-editor{max-width:none}.accent-colors{gap:24px}}

/* Match the production order page's detail-kicker and hero heading. */
#review>.eyebrow{font-family:'Zen Old Mincho',serif,sans-serif;font-size:12px;font-weight:500;line-height:1.9;letter-spacing:.14em;color:#000;margin:0 0 18px}
#review>h2{font-family:'Hina Mincho',serif;font-size:34px;font-weight:500;line-height:1.55;letter-spacing:normal;color:#272727;margin:0 0 28px}
@media(max-width:767px){#review>.eyebrow{line-height:2}#review>h2{font-size:25px}}

}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* In the enquiry form the editor shares the paper and follows the form flow. */
@scope (.brief-designer) {
 :scope{padding:0;max-width:none;background:transparent}
 .atelier{gap:28px;margin-top:0}
 .preview{top:24px;padding:12px 8px;height:auto;display:block;font:inherit;letter-spacing:normal;color:inherit}
 #previewArt{height:340px}
 .steps{display:flex;flex-direction:row;align-items:stretch;width:auto}
 .field{padding:0;border:0}
 .actions{margin-bottom:20px}
 #next{min-width:0}
 @media(max-width:760px){#previewArt{height:190px}.atelier{gap:12px}.preview{padding:4px}.actions{gap:12px}.primary{padding:12px}.card svg{height:100px}}
}
