html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
.rl-preview-note, .rl-preview-estimate { font-size: 0.9rem; }
.rl-preview-note { color: #53627a; }
.rl-preview-estimate { font-weight: 700; }
#contact-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: clamp(1.35rem, 4vw, 2.4rem);
  box-sizing: border-box;
  color: #081b43;
  background: #fbfdff;
  border: 1px solid #c9ddfb;
  border-radius: 16px;
  font: 16px/1.5 "RL Manrope", sans-serif;
}
#contact-dialog::backdrop { background: #081b43b0; }
#contact-dialog h2 { margin: 0; padding-inline-end: 2rem; }
#contact-dialog label { display: block; margin: 0 0 12px; }
#contact-dialog input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  box-sizing: border-box;
  margin-top: 4px;
  border: 1px solid #a7bedb;
  border-radius: 6px;
  font: inherit;
}
#contact-dialog .dialog-check { display: flex; gap: 0.45rem; align-items: baseline; font-size: 0.85rem; }
.dialog-close, .dialog-submit { cursor: pointer; font: inherit; }
.dialog-close { position: absolute; top: 0.6rem; right: 0.6rem; border: 0; background: transparent; width: 2.75rem; height: 2.75rem; font-size: 1.5rem; }
.dialog-submit { padding: 0.7rem 1.25rem; color: #fbfdff; background: #1f5bff; border: 0; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
