.quote-main { max-width:740px; display:grid; gap:12px; padding-block:24px 54px }
.quote-main h1 { margin:0; font-size:clamp(1.8rem,5vw,2.65rem); letter-spacing:-.04em; line-height:1.08 }
.quote-main h2 { font-size:1.1rem; margin:0 }
.quote-main p { margin:0 }
.quote-panel { display:grid; gap:12px; padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface) }
.quote-panel fieldset { display:grid; gap:8px; min-width:0; border:0; margin:0; padding:0 }
.quote-panel label { display:grid; gap:5px; font-size:.9rem; font-weight:650 }
.quote-panel label > span { display:inline; font-weight:400 }
.quote-panel label[for="quote-details"],.quote-panel .quote-photo-label { display:block }
.quote-panel input[type="file"] { padding:7px; font-size:.85rem }
.quote-panel input[type="file"]::file-selector-button { font:inherit; font-weight:700 }
.quote-photo-link { justify-self:start; font-size:.85rem; text-underline-offset:3px }
.quote-quantities { display:grid; grid-template-columns:1fr 1fr; gap:10px }
.quote-quantities > * { min-width:0 }
.quote-panel input,.quote-panel select,.quote-panel textarea { width:100%; min-width:0 }
.quote-panel textarea { resize:vertical; border:1px solid var(--line); border-radius:9px; padding:10px; color:var(--ink); background:var(--panel); font:inherit }
.quote-panel button { justify-self:start }
.quote-actions,.quote-heading { display:flex; flex-wrap:wrap; align-items:center; gap:8px }
.quote-heading { justify-content:space-between }
.quote-feedback { font-size:.88rem; color:var(--muted) }
.quote-feedback:empty { display:none }
.quote-feedback.error { color:var(--error) }
.quote-list { display:grid; gap:9px }
.quote-card { min-width:0; display:grid; gap:6px; padding:12px; background:var(--panel); border:1px solid var(--line); border-radius:10px }
.quote-card h3 { margin:0; font-size:1rem; overflow-wrap:anywhere }
.quote-card .quote-description { white-space:pre-wrap; overflow-wrap:anywhere }
.quote-card .quote-meta { font-size:.84rem; color:var(--muted) }
.quote-card .quote-reply { display:grid; gap:4px; border-top:1px solid var(--line); padding-top:7px }
.quote-card .quote-total { color:var(--green-text); font-weight:750 }
@media(max-width:540px) {
  .quote-main { padding-block:17px 40px }
  .quote-panel { padding:12px }
}
