body.quote-is-open { overflow: hidden; }
.quote-dialog { box-sizing: border-box; width: min(660px,calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #d9d2c7; border-top: 5px solid #242626; border-radius: 8px; background: #fcfaf5; color: #242626; box-shadow: 0 24px 80px #180d0966; overflow-y: auto; }
.quote-dialog::backdrop { background: #241a14b8; backdrop-filter: blur(3px); }
.quote-dialog-header { display: flex; align-items: start; gap: 16px; justify-content: space-between; padding: 28px 30px 20px; border-bottom: 1px solid #d9d2c7; }
.quote-dialog-header .eyebrow { font-size: 10px; color: #242626; }
.quote-dialog h2 { font: 700 clamp(29px,4vw,38px)/1.1 Georgia,serif; margin: 12px 0; letter-spacing: -.025em; }
.quote-dialog-header p { font-size: 14px; line-height: 1.6; margin: 0; color: #62584d; }
.quote-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #d9d2c7; border-radius: 50%; background: transparent; color: #242626; display: grid; place-items: center; cursor: pointer; }
.quote-close:hover { background: #f3f0e8; }
.quote-dialog-body { padding: 20px 30px 26px; }
.quote-preview-note { background: #f3f0e8; border-left: 3px solid #242626; padding: 10px 12px; margin: 0 0 20px; font-size: 12px; line-height: 1.5; }
.quote-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-dialog label { display: block; font-size: 13px; font-weight: 700; line-height: 1.6; }
.quote-dialog label span { font-size: 11px; font-weight: 400; color: #62584d; }
.quote-dialog input,.quote-dialog select,.quote-dialog textarea { box-sizing: border-box; display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #aaa093; border-radius: 4px; background: #fff; color: #242626; font: 16px/1.5 Arial,sans-serif; }
.quote-dialog input,.quote-dialog select { min-height: 48px; }
.quote-dialog textarea { resize: vertical; min-height: 100px; }
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus { outline: 2px solid #242626; outline-offset: 2px; }
.quote-details-label { margin-top: 18px; }
.quote-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.quote-form-footer small { max-width: 290px; font-size: 11px; color: #62584d; line-height: 1.6; }
.quote-dialog .btn { white-space: nowrap; min-height: 46px; background: #242626; color: #fff; }
.quote-dialog .btn:hover { background: #313634; }
.quote-privacy { margin: 18px 0 0; font-size: 12px; }
.quote-privacy a { color: #242626; text-decoration: underline; padding: 10px 0; }
.quote-request-review[hidden],#quote-request-form[hidden] { display: none; }
.quote-request-review h3 { font: 700 27px/1.2 Georgia,serif; margin: 4px 0 12px; }
.quote-request-review p { font-size: 14px; line-height: 1.6; }
.quote-request-review dl { margin: 20px 0; }
.quote-request-review dl div { border-top: 1px solid #d9d2c7; padding: 12px 0; }
.quote-request-review dt { color: #242626; font-weight: 700; font-size: 12px; }
.quote-request-review dd { margin: 6px 0 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.quote-review-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.quote-edit { min-height: 44px; padding: 10px 16px; border: 1px solid #242626; border-radius: 4px; color: #242626; background: transparent; font-weight: 700; cursor: pointer; }
@media(max-width:500px) {
 .quote-dialog-header { padding: 22px 20px 18px; }
 .quote-dialog-body { padding: 18px 20px 24px; }
 .quote-form-grid { grid-template-columns: 1fr; gap: 14px; }
 .quote-form-footer { align-items: stretch; flex-direction: column-reverse; gap: 12px; }
 .quote-form-footer small { max-width: none; }
 .quote-dialog-header .eyebrow { font-size: 9px; letter-spacing: .08em; }
}
/* Match Old Town's deep-red contact section while keeping fields easy to read. */
.quote-dialog { background: #242626; color: #f8f5ef; border-color: #737a73; border-top-color: #f3e7d0; }
.quote-dialog-header { border-bottom-color: #f3e7d055; }
.quote-dialog-header .eyebrow,.quote-dialog-header p { color: #e0e3dc; }
.quote-close { color: #f8f5ef; border-color: #f3e7d077; }
.quote-close:hover { background: #ffffff14; }
.quote-preview-note { background: #313634; color: #f8f5ef; border-left-color: #f3e7d0; }
.quote-dialog label span,.quote-form-footer small { color: #e0e3dc; }
.quote-dialog input,.quote-dialog select,.quote-dialog textarea { background: #fcfaf5; color: #242626; border-color: #e5d3b9; }
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus { outline-color: #f8f5ef; }
.quote-dialog .btn { background: #f3e7d0; color: #313634; }
.quote-dialog .btn:hover { background: #fff7e7; }
.quote-privacy a { color: #f8f5ef; }
.quote-request-review dl div { border-top-color: #f3e7d055; }
.quote-request-review dt { color: #e0e3dc; }
.quote-edit { color: #f8f5ef; border-color: #f3e7d099; }
.quote-dialog button:focus-visible,.quote-dialog a:focus-visible { outline-color: #f8f5ef; }

.quote-field-hint { color: #e0e3dc; font-size: 13px; line-height: 1.5; }
.quote-demo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; }
.quote-send-status { padding: 14px 16px; border: 1px solid #f3e7d099; border-radius: 4px; background: #313634; color: #f8f5ef; }
.quote-send-status[data-state=error] { border-left: 4px solid #ffcb05; }
.quote-dialog button:disabled { opacity: .7; cursor: wait; }
.quote-dialog input::placeholder,.quote-dialog textarea::placeholder { color: #756a60; opacity: 1; }

.quote-preview-note{overflow-wrap:anywhere;}

/* Industrial quote palette: charcoal, yellow actions and light entry fields. */
.quote-dialog{background:#232626;border-color:#70786f;border-top-color:#ffcb05;color:#f8f5ef;}
.quote-dialog .quote-preview-note,.quote-dialog .quote-send-status{background:#303633;border-color:#727b70;border-left:3px solid #ffcb05;color:#f8f5ef;}
.quote-preview-note a{color:#ffdf65;text-decoration:underline;text-underline-offset:3px;}
.quote-dialog .btn{background:#ffcb05;color:#232626;border-color:#ffcb05;}
.quote-dialog .btn:hover{background:#ffda4d;border-color:#ffda4d;}
.quote-dialog .quote-edit{color:#f8f5ef;border-color:#858d83;}
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus{outline:2px solid #ffcb05;outline-offset:2px;}
.quote-dialog button:focus-visible,.quote-dialog a:focus-visible{outline:3px solid #ffcb05;outline-offset:3px;}
.quote-dialog label{font-size:14px;}.quote-dialog label span,.quote-form-footer small{font-size:13px;}.quote-location-label{grid-column:1/-1;}

.quote-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
