/* Focused shared reflow corrections; consent/chat JavaScript remains unchanged. */
.main-nav .logo { min-width: 0; max-width: 100%; }
.main-nav .logo-text { white-space: normal; overflow-wrap: anywhere; }
.main-nav ul { min-width: 0; flex-wrap: wrap; }
.main-nav .logo-img { flex-shrink: 0; }
.main-nav .nav-toggle { flex-shrink: 0; }
@media (max-width: 768px) {
  .main-nav .logo-text { white-space: normal; line-height: 1.2; overflow-wrap: normal; }
  .main-nav .logo { flex: 1 1 auto; }
}
.service-cards { min-width: 0; }
.service-cards > .card { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
/* On quote pages the choice precedes the form, rather than covering answers. */
body:has(.quote-page) > .cookie-banner { position: relative; inset: auto; margin: 12px 16px; }
body:has(.quote-page) .dc-chat-launcher { bottom: 18px !important; }
/* The nonmodal quote help opens in page flow and focuses its existing input. */
body:has(.quote-page) .dc-chat-window {
  position: relative; inset: auto !important; margin: 16px auto 90px;
  width: min(560px, calc(100% - 32px)); max-width: none;
  height: 520px; max-height: min(520px, 85vh) !important;
}
body:has(.quote-page) .dc-chat-input input { min-width: 0; }
body:has(.quote-page) .dc-chat-input button { flex-shrink: 0; }
body:has(.quote-page) footer { padding-bottom: 100px; }
