[hidden] { display: none !important; }

body.quote-modal-open { overflow: hidden; }

.quote-dialog {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 28px;
  border: 1px solid #d7e1e3;
  border-radius: 18px;
  background: #fff;
  color: #092d35;
  box-shadow: 0 16px 60px #092d3540;
  overflow-y: auto;
  font: 400 1rem/1.5 "Albert Sans", "Segoe UI", system-ui, sans-serif;
}

.quote-dialog::backdrop { background: #092d35b3; }
.quote-dialog * { box-sizing: border-box; }
.quote-dialog-header { display: flex; align-items: start; gap: 20px; }
.quote-dialog h2 { margin: 0; font: 800 1.9rem/1.1 "League Spartan", "Segoe UI", system-ui, sans-serif; }
.quote-dialog-intro { margin: 10px 0 20px; color: #52666b; }
.quote-dialog-product { margin: 0 0 18px; padding: 10px 14px; border-radius: 8px; background: #eff8fa; overflow-wrap: anywhere; }
.quote-close { flex-shrink: 0; margin-left: auto; width: 40px; height: 40px; border: 1px solid #d7e1e3; border-radius: 50%; background: #fff; color: #092d35; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.quote-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.quote-field { display: flex; min-width: 0; flex-direction: column; gap: 5px; font-weight: 600; font-size: .9rem; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field input, .quote-field textarea { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #9fb1b6; border-radius: 7px; background: #fff; color: #092d35; font: 400 1rem/1.4 "Albert Sans", "Segoe UI", system-ui, sans-serif; }
.quote-field textarea { min-height: 92px; resize: vertical; }
.quote-dialog :focus-visible { outline: 3px solid #28798b; outline-offset: 3px; }
.quote-optional { color: #52666b; font-size: .8rem; font-weight: 400; }
.quote-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.quote-privacy { margin: 18px 0; color: #52666b; font-size: .82rem; }
.quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.quote-submit, .quote-new { min-height: 46px; padding: 11px 20px; border: 1px solid #28798b; border-radius: 999px; background: #28798b; color: #fff; font: 700 1rem "Albert Sans", "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.quote-submit:hover, .quote-new:hover { background: #1d5d6c; }
.quote-submit:disabled { opacity: .65; cursor: wait; }
.quote-fallback { color: #1d5d6c; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.quote-status { margin: 0 0 18px; padding: 12px 14px; border-radius: 8px; background: #eef6f8; color: #092d35; overflow-wrap: anywhere; }
.quote-status[data-kind="error"] { background: #fff0ee; color: #9c2a1d; }
.quote-status[data-kind="success"] { background: #eaf7ee; color: #1b5933; }

@media (max-width: 540px) {
  .quote-dialog { padding: 22px 18px; }
  .quote-grid { grid-template-columns: 1fr; gap: 14px; }
  .quote-dialog h2 { font-size: 1.65rem; }
  .quote-submit, .quote-new { width: 100%; }
}
