.seven-contact {
  --contact-green: #126445;
  --contact-height: 3.25rem;
  --contact-offset: max(1.25rem, env(safe-area-inset-bottom, 0px));
  position: fixed;
  inset-inline-start: max(1.125rem, env(safe-area-inset-right, 0px));
  inset-block-end: var(--contact-offset);
  z-index: 31;
  color: #17241d;
}

.seven-contact-toggle {
  display: flex;
  align-items: center;
  gap: .5625rem;
  min-height: var(--contact-height);
  padding: .375rem .4375rem .375rem .6875rem;
  box-sizing: border-box;
  border: 1px solid #ffffff20;
  border-radius: 2rem;
  background-color: var(--contact-green);
  color: #fff;
  box-shadow: 0 5px 16px #0e392a38;
  font: inherit;
  font-size: .85rem;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.seven-contact-toggle::-webkit-details-marker { display: none; }
.seven-contact-toggle:hover,
.seven-contact[open] .seven-contact-toggle { background-color: #0b5037; }

.seven-contact-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.seven-contact-toggle .seven-contact-icon { background-color: #ffffff20; }
.seven-contact-chevron { display: flex; opacity: .8; }
.seven-contact-chevron svg { width: .875rem; height: .875rem; }
.seven-contact[open] .seven-contact-chevron { rotate: 180deg; }

.seven-contact-options {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: calc(100% + .625rem);
  display: grid;
  gap: .25rem;
  width: min(14.5rem, calc(100vw - 2.25rem));
  max-height: calc(100dvh - var(--contact-offset) - var(--contact-height) - 1.75rem);
  overflow: auto;
  box-sizing: border-box;
  padding: .375rem;
  border: 1px solid #d6e3db;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 8px 26px #14271e25;
}

.seven-contact:not([open]) .seven-contact-options { display: none; }

.seven-contact-options a {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-height: 3.25rem;
  padding: .3125rem .4375rem;
  box-sizing: border-box;
  border-radius: .6875rem;
  color: #1b3628;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.seven-contact-options .seven-contact-icon { background-color: #eaf5ee; color: var(--contact-green); }
.seven-contact-options a:hover { background-color: #f0f7f3; }
.seven-contact-label { display: grid; gap: .125rem; }
.seven-contact-label bdi { color: #486157; font-size: .8rem; font-weight: 550; font-variant-numeric: tabular-nums; justify-self: start; }
.seven-contact-toggle:focus-visible { outline: 2px solid #167252; outline-offset: 3px; }
.seven-contact-options a:focus-visible { outline: 2px solid #167252; outline-offset: -2px; }

@media (max-width: 820px) {
  .seven-contact {
    --contact-offset: calc(max(.75rem, env(safe-area-inset-bottom, 0px)) + var(--mobile-dock-height, 64px));
  }
  html .mobile-cta.seven-contact-dock { grid-template-columns: minmax(0, 1fr); }
}
