#quote-dialog {
  width: min(52rem, calc(100% - 1.5rem));
  max-height: min(90dvh, 64rem);
  box-sizing: border-box;
  margin: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  overscroll-behavior: contain;
}
#quote-dialog::backdrop { background: rgb(5 20 40 / .72); }
#quote-dialog header {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--navy);
  padding: .8rem 1.2rem;
  color: #fff;
}
#quote-dialog header h2 { color: inherit; font-size: 1.2rem; margin: 0; }
#close-quote-dialog { color: inherit; border: 1px solid #7891ab; background: transparent; padding: .6rem .9rem; border-radius: 5px; }
#quote-dialog .enquiry-section { border: 0; padding: clamp(1rem, 3vw, 2rem); margin: 0; }
#quote-dialog-help:not(:empty), #quote-dialog-fallback { display: block; margin: 1rem 1.2rem; }
#quote-dialog-fallback[hidden] { display: none; }
