:root { font-family: Manrope, system-ui, sans-serif; color: #252a27; background: #f6f4ed; }
@font-face { font-family: Manrope; src: url('../assets/manrope.ttf'); font-display: swap; }
* { box-sizing: border-box; }
main { max-width: 1120px; margin: auto; padding: clamp(1rem,4vw,3rem); }
header, .actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
header { justify-content: space-between; border-bottom: 1px solid #d4cdbc; padding-bottom: 1rem; margin-bottom: 2rem; }
header img { width: 185px; }
a { color: inherit; text-underline-offset: .25em; }
h1 { font-size: clamp(2rem,5vw,3.4rem); line-height: 1.1; margin: .45em 0; }
h2 { font-size: 1.25rem; }
.tag { font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.guide, form, .workspace > section, details { padding: clamp(1rem,3vw,1.5rem); border: 1px solid #d4cdbc; background: #fff; }
.workspace { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin: 1rem 0; }
label { display: block; margin: .65rem 0; font-weight: 650; }
fieldset { border: 1px solid #d4cdbc; margin: 1rem 0; }
input:not([type=checkbox]), select { display: block; width: 100%; padding: .55rem; margin-top: .2rem; }
input, select, button { font: inherit; color: inherit; }
button { background: #252a27; color: #fff; padding: .55rem .8rem; border: 1px solid #252a27; min-height: 44px; cursor: pointer; }
article { border-top: 1px solid #d4cdbc; padding: .8rem 0; }
article p { margin: .35rem 0; }
article small { display: block; }
.status { font-weight: 800; }
summary { cursor: pointer; font-weight: 750; }
dd { margin: 0 0 .65rem; }
dt { font-weight: 750; }
@media (max-width: 700px) { .workspace { grid-template-columns: 1fr; } }

.quote-bar { display:flex; flex-wrap:wrap; gap:.55rem 1rem; margin-top:1.25rem; padding:1rem; background:#252a27; color:#f6f4ed; }
.qqc-tabs { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:.6rem; }
.qqc-tabs button { background:#fff; color:#252a27; border-color:#d4cdbc; }
.qqc-tabs button[aria-pressed="true"] { background:#252a27; color:#fff; box-shadow:inset 0 -3px #c7b793; }
.qqc-output { background:#fff; padding:clamp(1rem,3vw,1.5rem); border:1px solid #d4cdbc; }
.door-preview { margin:0; align-self:start; background:#fff; border:1px solid #d4cdbc; }
.door-preview img { display:block; width:100%; max-height:420px; object-fit:cover; object-position:center; }
.door-preview figcaption { padding:1rem; }
.door-preview span,.door-preview small { display:block; margin-top:.35rem; }
@media(max-width:700px) { .qqc-tabs button { flex:1 1 42%; } .door-preview img { max-height:285px; } }
.door-preview svg { display:block; width:100%; height:auto; max-height:420px; background:#ece8dd; }
.door-preview img { object-fit:contain; background:#ece8dd; }
.addition-renders:not(:empty) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr)); gap:.7rem; padding:0 1rem 1rem; }
.addition-renders figure { margin:0; border:1px solid #d4cdbc; }
.addition-renders img { height:180px; }
.addition-renders figcaption { padding:.55rem; font-weight:700; }
