.window-offer-entry{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:20px 0}.window-offer-entry h3{margin:0}.window-config-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}.window-config-grid aside{min-width:0;align-self:start;position:sticky;top:20px}.window-config-grid svg{width:100%;height:auto}.window-item-summary{padding:12px;background:#edf6ff;border-radius:10px}.window-config-grid input[type=file]{max-width:100%}@media(max-width:850px){.window-config-grid{grid-template-columns:minmax(0,1fr)}.window-config-grid aside{position:static}}
/* Bounded image previews are enforced in the stylesheet (also with strict CSP). */
.window-config-grid>div,.window-config-grid aside{min-width:0}
.window-config-grid [data-window-photo-preview],.window-door-image{display:block;width:100%;max-width:320px;height:220px;max-height:220px;object-fit:contain;margin:12px 0}
.window-config-grid [data-window-photo-preview][hidden]{display:none}
.window-profile-info,.window-door-catalog{padding:12px;border:1px solid #dce6ee;border-radius:10px;margin:12px 0;overflow-wrap:anywhere}
.window-config-grid [data-window-sketch] ul{font-size:.85rem;padding-left:20px}
.window-config-grid label[hidden]{display:none}
@media(max-width:600px){.window-config-grid [data-window-photo-preview],.window-door-image{max-width:min(100%,320px);height:180px;max-height:180px}}

.window-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px}.window-source-grid article{min-width:0;overflow-wrap:anywhere}.window-source-grid .actions{display:flex;gap:14px;flex-wrap:wrap}

[data-window-inquiry] [hidden],[data-inquiry-preview][hidden],[data-inquiry-mail][hidden]{display:none!important}[data-inquiry-preview] textarea{min-height:400px;resize:vertical}[data-inquiry-preview]{overflow-wrap:anywhere}

.window-colour-options{padding:14px;border:1px solid #dce6ee;border-radius:10px;margin:16px 0}.window-colour-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:18px}.window-colour-grid>section{min-width:0}.window-ral-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0}.window-ral-quick button{min-width:0;padding:4px;background:#fff;color:#173153;border:1px solid #dce6ee}.window-ral-quick svg{display:block;width:100%;height:28px}.window-ral-quick span{font-size:11px}.window-colour-sample svg{width:100%;max-width:220px;height:90px}.window-colour-options [hidden]{display:none!important}

.window-frame-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}.window-frame-layout>div{min-width:0}.window-frame-layout svg{width:100%;height:auto;max-height:470px}.window-frame-layout svg [hidden]{display:none}.window-frame-buttons{display:flex;flex-wrap:wrap;gap:8px}.window-frame-buttons button{font-size:.85rem}.window-frame-buttons button[aria-pressed=true]{background:#ddecf9;border-color:#1266a5}.window-frame-terms,.window-frame-profile-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}.window-frame-profile-list article{min-width:0;overflow-wrap:anywhere}#frame-part-description{margin-top:16px;padding:14px;border:1px solid #dce6ee;border-radius:10px}@media(max-width:850px){.window-frame-layout{grid-template-columns:minmax(0,1fr)}}
