/* 3 Nov 2026: fixes from the site review and persona tests. Loaded last on every full page. */

/* Contact block looks the same on any page that shows it (it was nearly invisible on the Schneider page) */
#contact .ctext, #contact .hours span, #contact .hours-st, #contact .hours-st b { color: #1D1D1F !important; }
#contact .cnote, #contact figcaption { color: #515154 !important; }
#contact a.ctext { color: #14213D !important; }
#contact .clabel { color: #5B6475 !important; }

/* Contact on phones: one column so the email address does not break in the middle */
@media (max-width: 480px) {
  .cgrid { grid-template-columns: 1fr !important; }
  #contact .ctext { overflow-wrap: break-word !important; word-break: normal !important; }
}

/* Help: the folded quote form's summary row was white on white and closed the form when tapped */
html[data-page="help"] details.qfold > summary { display: none !important; }

/* Floating chat button and WhatsApp pill: keep the last lines of each page clear of them */
main { padding-bottom: 96px; }
html { scroll-padding-bottom: 96px; }
#cb-launch { transition: transform .25s ease, opacity .25s ease; }
#cb-launch.gx-away { transform: translateY(130%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { #cb-launch { transition: none; } }

/* Small tap targets found at 390px */
.gpart { display: inline-block; padding: 10px 6px; margin: -10px -6px; }
.ptabs a, .jump a { min-height: 40px; display: inline-flex; align-items: center; }

/* Brands page: link to the Schneider switches page */
.sx-link { margin: 6px 0 0; }
.sx-link a { color: #14213D; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Slow connection hint (Lite page) */
.gx-lite { position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 116px); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 16px; background: #14213D; color: #fff; border-radius: 12px; font-size: 15px; }
.gx-lite a { color: #FFC20E; font-weight: 600; }
.gx-lite button { background: none; border: 0; color: #fff; font-size: 22px; width: 40px; height: 40px; cursor: pointer; }
