/* Preview-quality rep pills for the live site. Do not edit locked Text us or header-social rules. */
/* Contrast fix: name/icon white, title #F3EBDD, on forest pills. Beat global a / nav / footer / :visited. */

.rep-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  align-items: stretch;
  min-width: 0;
}
a.rep-pill,
a.rep-pill:link,
a.rep-pill:visited,
a.rep-pill:hover,
a.rep-pill:focus,
a.rep-pill:focus-visible,
a.rep-pill:active,
.site-nav a.rep-pill,
.site-nav a.rep-pill:link,
.site-nav a.rep-pill:visited,
.site-nav a.rep-pill:hover,
.site-nav a.rep-pill:focus,
.site-nav a.rep-pill:focus-visible,
.site-nav a.rep-pill:active,
.site-footer a.rep-pill,
.site-footer a.rep-pill:link,
.site-footer a.rep-pill:visited,
.site-footer a.rep-pill:hover,
.site-footer a.rep-pill:focus,
.site-footer a.rep-pill:focus-visible,
.site-footer a.rep-pill:active,
.callbar a.rep-pill,
.callbar a.rep-pill:link,
.callbar a.rep-pill:visited,
.callbar a.rep-pill:hover,
.callbar a.rep-pill:focus,
.callbar a.rep-pill:focus-visible,
.callbar a.rep-pill:active,
.contact-panel a.rep-pill,
.contact-panel a.rep-pill:link,
.contact-panel a.rep-pill:visited,
.contact-panel a.rep-pill:hover,
.contact-panel a.rep-pill:focus,
.contact-panel a.rep-pill:focus-visible,
.contact-panel a.rep-pill:active {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  height: auto;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--forest, #1e3c32);
  color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1.15;
  overflow: visible;
}
a.rep-pill:hover,
a.rep-pill:focus,
a.rep-pill:focus-visible,
a.rep-pill:active,
.site-nav a.rep-pill:hover,
.site-nav a.rep-pill:focus,
.site-nav a.rep-pill:focus-visible,
.site-nav a.rep-pill:active,
.site-footer a.rep-pill:hover,
.site-footer a.rep-pill:focus,
.site-footer a.rep-pill:focus-visible,
.site-footer a.rep-pill:active,
.callbar a.rep-pill:hover,
.callbar a.rep-pill:focus,
.callbar a.rep-pill:focus-visible,
.callbar a.rep-pill:active,
.contact-panel a.rep-pill:hover,
.contact-panel a.rep-pill:focus,
.contact-panel a.rep-pill:focus-visible,
.contact-panel a.rep-pill:active {
  background: #163028;
  color: #ffffff !important;
}

a.rep-pill .rep-pill-icon,
a.rep-pill:link .rep-pill-icon,
a.rep-pill:visited .rep-pill-icon,
a.rep-pill:hover .rep-pill-icon,
a.rep-pill:focus .rep-pill-icon,
a.rep-pill:focus-visible .rep-pill-icon,
a.rep-pill:active .rep-pill-icon,
.site-nav a.rep-pill .rep-pill-icon,
.site-nav a.rep-pill:visited .rep-pill-icon,
.site-nav a.rep-pill:hover .rep-pill-icon,
.site-footer a.rep-pill .rep-pill-icon,
.site-footer a.rep-pill:visited .rep-pill-icon,
.callbar a.rep-pill .rep-pill-icon,
.callbar a.rep-pill:visited .rep-pill-icon,
.contact-panel a.rep-pill .rep-pill-icon,
.contact-panel a.rep-pill:visited .rep-pill-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: block;
  color: #ffffff !important;
  fill: currentColor !important;
  stroke: currentColor !important;
}

.rep-pill-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  height: auto;
  overflow: visible;
}

a.rep-pill .rep-pill-name,
a.rep-pill:link .rep-pill-name,
a.rep-pill:visited .rep-pill-name,
a.rep-pill:hover .rep-pill-name,
a.rep-pill:focus .rep-pill-name,
a.rep-pill:focus-visible .rep-pill-name,
a.rep-pill:active .rep-pill-name,
.site-nav a.rep-pill .rep-pill-name,
.site-nav a.rep-pill:link .rep-pill-name,
.site-nav a.rep-pill:visited .rep-pill-name,
.site-nav a.rep-pill:hover .rep-pill-name,
.site-nav a.rep-pill:focus .rep-pill-name,
.site-nav a.rep-pill:focus-visible .rep-pill-name,
.site-nav a.rep-pill:active .rep-pill-name,
.site-footer a.rep-pill .rep-pill-name,
.site-footer a.rep-pill:visited .rep-pill-name,
.site-footer a.rep-pill:hover .rep-pill-name,
.callbar a.rep-pill .rep-pill-name,
.callbar a.rep-pill:visited .rep-pill-name,
.callbar a.rep-pill:hover .rep-pill-name,
.contact-panel a.rep-pill .rep-pill-name,
.contact-panel a.rep-pill:visited .rep-pill-name,
.contact-panel a.rep-pill:hover .rep-pill-name {
  font-weight: 800 !important;
  font-size: 0.82rem;
  color: #ffffff !important;
  white-space: normal;
  overflow: visible;
  height: auto;
  max-height: none;
}

a.rep-pill .rep-pill-title,
a.rep-pill:link .rep-pill-title,
a.rep-pill:visited .rep-pill-title,
a.rep-pill:hover .rep-pill-title,
a.rep-pill:focus .rep-pill-title,
a.rep-pill:focus-visible .rep-pill-title,
a.rep-pill:active .rep-pill-title,
.site-nav a.rep-pill .rep-pill-title,
.site-nav a.rep-pill:link .rep-pill-title,
.site-nav a.rep-pill:visited .rep-pill-title,
.site-nav a.rep-pill:hover .rep-pill-title,
.site-nav a.rep-pill:focus .rep-pill-title,
.site-nav a.rep-pill:focus-visible .rep-pill-title,
.site-nav a.rep-pill:active .rep-pill-title,
.site-footer a.rep-pill .rep-pill-title,
.site-footer a.rep-pill:visited .rep-pill-title,
.site-footer a.rep-pill:hover .rep-pill-title,
.callbar a.rep-pill .rep-pill-title,
.callbar a.rep-pill:visited .rep-pill-title,
.callbar a.rep-pill:hover .rep-pill-title,
.contact-panel a.rep-pill .rep-pill-title,
.contact-panel a.rep-pill:visited .rep-pill-title,
.contact-panel a.rep-pill:hover .rep-pill-title {
  font-weight: 500;
  font-size: 0.68rem;
  color: #F3EBDD !important;
  opacity: 1;
  white-space: normal;
  overflow: visible;
  height: auto;
  max-height: none;
  text-overflow: clip;
  line-height: 1.25;
}

.rep-team-menu {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.rep-team-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  width: 100%;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--forest, #1e3c32);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  font-size: 0.82rem;
  list-style: none;
  cursor: pointer;
}
.rep-team-toggle::-webkit-details-marker { display: none; }
.rep-team-toggle::marker { content: ""; }
.rep-team-menu[open] .rep-team-toggle,
.rep-team-toggle:hover,
.rep-team-toggle:focus-visible {
  background: #163028;
  color: #ffffff;
}
.rep-team-menu-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.45rem);
  z-index: 60;
  width: min(22rem, calc(100vw - 1.25rem));
  padding: 0.55rem;
  background: var(--paper, #fffdf8);
  color: var(--ink, #15202b);
  border: 1px solid var(--line, #e0d6c6);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21, 32, 43, 0.16);
}
.rep-team-menu-panel .rep-pills {
  grid-template-columns: 1fr;
  gap: 0.45rem;
}

.rep-team-menu-panel {
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}
.rep-team-menu-panel .rep-pill,
.rep-team-menu-panel .rep-pill-copy,
.rep-team-menu-panel .rep-pill-name,
.rep-team-menu-panel .rep-pill-title {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: visible;
  text-overflow: clip;
}
@media (max-width: 860px) {
  .callbar .rep-team-menu-panel,
  .mobile-callbar .rep-team-menu-panel {
    position: fixed;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: calc(100vw - 40px);
    z-index: 80;
  }
  .callbar .rep-team-menu-panel {
    top: 5.5rem;
    bottom: auto;
  }
  .mobile-callbar .rep-team-menu-panel {
    top: auto;
    bottom: calc(var(--mobile-callbar-space, 4.75rem) + 0.45rem);
  }
}

.callbar-actions .rep-pills {
  display: inline-grid;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.callbar .rep-pill {
  min-height: 44px;
}
.hero .rep-pills,
.actions .rep-pills {
  margin-top: 0.15rem;
}
.footer-rep-pills {
  margin: 0.85rem 0 0;
}
.contact-panel-lead .rep-pills {
  margin-top: 0.5rem;
}

@media (max-width: 860px) {
  /* Keep the 412 top bar to Call office / Text us / email. Reps open from the bottom bar. */
  .callbar .rep-pills,
  .callbar .rep-team-menu { display: none; }
  .mobile-callbar .rep-team-menu {
    display: block;
    flex: 1 1 auto;
  }
  .mobile-callbar-rep { display: none !important; }
}
@media (min-width: 861px) {
  .mobile-callbar .rep-team-menu { display: none; }
}


/* Text us chooser: same pill pattern as "Call our team", but the panel
   is pinned to the viewport with the site 20px (.wrap) gutter on both sides. */
.text-team-menu {
  position: relative;
  display: inline-block;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
.text-team-toggle {
  list-style: none;
  cursor: pointer;
  box-sizing: border-box;
}
.text-team-toggle::-webkit-details-marker { display: none; }
.text-team-toggle::marker { content: ""; }
.text-team-menu-panel {
  z-index: 80;
  box-sizing: border-box;
  padding: 0.55rem;
  background: var(--paper, #fffdf8);
  color: var(--ink, #15202b);
  border: 1px solid var(--line, #e0d6c6);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(21, 32, 43, 0.16);
  overflow-wrap: break-word;
  word-break: break-word;
}
.text-team-menu-panel .rep-pills {
  grid-template-columns: 1fr;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.text-team-menu-panel .rep-pill,
.text-team-menu-panel .rep-pill-copy,
.text-team-menu-panel .rep-pill-name,
.text-team-menu-panel .rep-pill-title {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: visible;
  text-overflow: clip;
}
.mobile-callbar .text-team-menu {
  display: block;
  flex: 1 1 auto;
}
/* Narrow viewports (320–412 and below 861): fixed panel, 20px gutter each side. */
@media (max-width: 860px) {
  .callbar .text-team-menu-panel,
  .mobile-callbar .text-team-menu-panel {
    position: fixed;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: calc(100vw - 40px);
  }
  .callbar .text-team-menu-panel {
    /* JS sets the exact top; fallback keeps it under a typical callbar. */
    top: 5.5rem;
    bottom: auto;
  }
  .mobile-callbar .text-team-menu-panel {
    top: auto;
    bottom: calc(var(--mobile-callbar-space, 4.75rem) + 0.45rem);
  }
}
@media (min-width: 861px) {
  .text-team-menu-panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    bottom: auto;
    left: 0;
    width: min(22rem, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }
  .mobile-callbar .text-team-menu { display: none; }
}
html.text-chooser-open,
html.text-chooser-open body,
html.call-chooser-open,
html.call-chooser-open body {
  overflow-x: hidden;
}
