.estimate .estimate-actions{display:flex;flex-wrap:wrap;gap:10px;flex:1 1 300px;min-width:0;justify-content:flex-end}
.estimate .estimate-actions button,.dressing-actions .button{width:auto;min-width:205px;max-width:100%;height:auto;min-height:50px;padding:14px 20px;white-space:normal;line-height:1.35;overflow:visible;text-overflow:clip;flex:1 1 205px;font-size:14px;letter-spacing:.02em}
.dressing-actions{display:flex;flex-wrap:wrap;gap:10px}
.order-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:0;border:1px solid #81704f;border-radius:3px;background:#201f1b;color:#f4eee3;box-shadow:0 24px 80px #0008}
.order-dialog::backdrop{background:#000b;backdrop-filter:blur(3px)}
.order-dialog form{padding:28px}.order-dialog__head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-dialog .eyebrow{color:#c2a071;font-size:11px;letter-spacing:.13em}.order-dialog h2{font:400 30px Georgia,serif;margin:8px 0 14px;color:#f4eee3}.order-dialog p{color:#c9c2b5;line-height:1.6;font-size:14px}.order-dialog .dialog-close{background:none;color:#eee;border:0;font-size:30px;cursor:pointer;padding:0 4px}.order-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0}.order-fields label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#ded5c7}.order-field-wide{grid-column:1/-1}.order-fields input{box-sizing:border-box;min-width:0;width:100%;padding:12px;background:#141412;border:1px solid #625746;color:#fff;border-radius:2px;font-size:16px}.order-consent{display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-size:12px;color:#c9c2b5;margin:15px 0}.order-consent input{margin-top:3px;accent-color:#bb985f}.order-submit{background:#bb985f;color:#171610;border:1px solid #bb985f;padding:14px 20px;min-height:48px;cursor:pointer;font:600 14px Arial,sans-serif}.order-submit:disabled{opacity:.5;cursor:wait}.order-dialog .order-status{color:#dfc28f}.order-downloads{display:flex;flex-wrap:wrap;gap:10px}.order-downloads .secondary-button{white-space:normal;text-align:center;line-height:1.4;font-size:13px;padding:12px}.order-dialog :focus-visible{outline:2px solid #dfc28f;outline-offset:3px}
@media(max-width:600px){.estimate .estimate-actions{flex-basis:100%;justify-content:stretch}.estimate .estimate-actions button{width:100%;flex-basis:100%;min-width:0}.order-dialog form{padding:20px}.order-fields{grid-template-columns:1fr}.order-field-wide{grid-column:auto}.dressing-actions>*{flex:1 1 100%;text-align:center}}

.order-preview{margin:14px 0}.order-preview img{display:block;width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;background:#141412;border-radius:3px}.order-preview figcaption{font-size:12px;color:#c9c2b5;margin-top:7px}

.hardware-choice{min-width:0;margin-top:12px;padding-top:12px;border-top:1px solid #78736644}.hardware-label{display:grid;gap:7px;margin:10px 0;font-size:12px}.hardware-choice select{width:100%;min-width:0;max-width:100%;padding:10px 8px;background:#24251f;color:#f1ecdf;border:1px solid #85816a;border-radius:6px;font-size:12px}.hardware-info{font-size:11px;line-height:1.6;color:#c8c0ae;margin:8px 0;overflow-wrap:anywhere}.hardware-error{color:#efbd88}.add-items{flex-wrap:wrap}.add-items button{white-space:normal;min-height:40px}.hardware-choice option{color:#f1ecdf;background:#24251f}
/* Hinged facade selection and isolated door preview. */
.facade-settings{display:grid;gap:12px;min-width:0}.facade-field{display:grid;gap:6px;font-size:12px}.facade-settings select,.facade-settings input{width:100%;min-width:0;max-width:100%;padding:10px;background:#24251f;color:#f2eadc;border:1px solid #575448;border-radius:5px}.facade-chosen{display:flex;align-items:center;gap:12px}.facade-chosen img{width:62px;height:80px;object-fit:contain;background:#fff}.facade-chosen strong{font-size:13px}.facade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:330px;overflow:auto;padding:2px}.facade-tile{min-width:0;padding:6px!important;display:grid;gap:5px;text-align:left;background:#24251f;color:#eee6d9;border:1px solid #565044;border-radius:5px}.facade-tile[aria-pressed=true]{border:2px solid #c6a271}.facade-tile img{width:100%;height:88px;object-fit:contain;background:#fff}.facade-tile span{font-size:11px;overflow-wrap:anywhere}.facade-tile small{font-size:9px;color:#b9b19e}.facade-grid>.text-button{grid-column:1/-1}.facade-price{font-size:13px;color:#ddc197}.facade-swatch{width:100%;height:80px;object-fit:cover}.facade-settings a{font-size:11px;color:#d9be94}.facade-focus{position:absolute;inset:0;z-index:5;background:radial-gradient(ellipse at top,#3b3b32,#171913);padding:20px;display:flex;flex-direction:column;gap:15px;overflow:auto}.facade-focus[hidden]{display:none!important}.facade-focus-head{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#eadfcb;font-size:12px}.facade-focus-head button{padding:9px 12px;background:#3c3c31;color:#fff1d9;border:1px solid #8e7d62;border-radius:5px}.facade-focus-doors{display:flex;justify-content:center;align-items:center;gap:14px;flex:1;min-height:0}.facade-focus-door{padding:8px;background:transparent;border:1px solid transparent;border-radius:5px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#eee2ca;max-width:45%;min-width:0}.facade-focus-door[aria-pressed=true]{border-color:#c5a270}.facade-focus-door img{height:min(42vh,410px);max-width:100%;object-fit:fill;box-shadow:5px 10px 18px #0006}.facade-focus-door strong{font-size:12px}.facade-focus-door span,.facade-focus-door small{font-size:10px}.facade-focus .hint{font-size:10px;color:#bcb5a7}.facade-focus~canvas{visibility:visible}@media(max-width:600px){.facade-focus{padding:10px}.facade-focus-doors{gap:5px}.facade-focus-door{padding:4px}.facade-focus-door img{height:270px}.facade-focus-head{font-size:10px}}
.facade-focus{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;cursor:default;touch-action:pan-y}.facade-focus-head{min-height:34px}.facade-focus-doors{height:100%;min-height:0}.facade-focus-door{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto auto auto;justify-items:center;align-items:center}.facade-focus-door img{height:100%;width:auto;max-height:100%;min-height:0;max-width:100%}.facade-focus>.hint{margin:0}.scene-card:has(.facade-focus:not([hidden])) .view-tools{display:none}
.facade-color-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;max-height:240px;overflow:auto}.facade-color-tile{padding:4px;min-width:0;background:transparent;color:#e4dccd;border:1px solid #534e43;border-radius:4px}.facade-color-tile[aria-pressed=true]{border-color:#dfb97d}.facade-color-tile img{width:100%;height:40px;object-fit:cover}.facade-color-tile small{display:block;font-size:9px;overflow-wrap:anywhere}.facade-color-grid>small{grid-column:1/-1;font-size:10px;color:#b9b19f}

/* Simple customer facade selector. */
.facade-step{margin:8px 0 0;font-size:12px;letter-spacing:.04em;color:#decba9}
.facade-types{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.facade-types button{min-height:58px;padding:10px!important;text-align:left;font-size:12px!important;line-height:1.4;background:#25261f;color:#e7e0d3;border:1px solid #545143;border-radius:8px;white-space:normal}
.facade-types button[aria-pressed=true]{background:#d8c5a4;color:#25251e;border-color:#e7d2ad}
.facade-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.facade-profile{padding:9px!important;display:grid;gap:8px;justify-items:center;background:linear-gradient(145deg,#45463b,#292b23);border:1px solid #555547;border-radius:8px;color:#e8dfce;min-width:0}
.facade-profile img{height:116px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(3px 4px 3px #0005)}
.facade-profile span{font-size:10px;line-height:1.4}
.facade-profile[aria-pressed=true]{border-color:#e4c593;box-shadow:0 0 0 1px #e4c593;background:#4f4c3d}
.facade-palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;max-height:260px;overflow:auto;padding:2px;overscroll-behavior:contain}
.facade-palette .facade-color-tile{padding:5px!important;border-radius:7px;text-align:left}
.facade-palette .facade-color-tile[aria-pressed=true]{box-shadow:0 0 0 1px #dfb97d}
.facade-palette img,.facade-color-chip{display:block;width:100%;height:47px;object-fit:cover;border-radius:3px}
.facade-color-unknown{background:repeating-linear-gradient(135deg,#aaa 0 6px,#ddd 6px 12px)}
.facade-palette small{margin-top:5px;line-height:1.25;max-height:34px;overflow:hidden}
.facade-palette>.text-button{grid-column:1/-1}
.facade-selection{padding:13px;background:#ffffff08;border:1px solid #ffffff15;border-radius:8px;font-size:12px;line-height:1.5}
.facade-selection .facade-price{margin:7px 0 0}
.facade-focus{background:radial-gradient(ellipse at 45% 25%,#595b4e 0%,#2e3028 65%,#21241d 100%);padding:22px}
.facade-focus-head .hint{margin:5px 0 0}
.facade-focus-door{grid-template-rows:minmax(0,1fr) auto auto;padding:10px;border-radius:8px;max-width:none;flex:1 1 0}
.facade-focus-door img{object-fit:contain;box-shadow:none;filter:drop-shadow(5px 9px 6px #0006)}
.facade-focus-door[aria-pressed=true]{background:#ffffff05;border-color:#bba77e}
.facade-settings button:focus-visible{outline:2px solid #f5dca7;outline-offset:3px}
@media(max-width:600px){.facade-focus{padding:10px}.facade-focus-head button{font-size:10px}.facade-focus-door{padding:4px}.facade-profile img{height:105px}}
.facade-profile img{width:100%;min-width:0}
.scene-card #stage:has(.facade-focus:not([hidden])){height:clamp(450px,62vh,620px)}
@media(max-width:650px){.scene-card #stage:has(.facade-focus:not([hidden])){height:420px}}
.facade-profiles{max-height:490px;overflow:auto;padding:2px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#88795e #25261f}
.facade-profile span{overflow-wrap:anywhere}
