.contact-channel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  min-width: 0;
}
.contact-channel a { min-width: 0; }
.contact-copy {
  display: none;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 30px;
  padding: .15rem .6rem;
  border: 1px solid currentColor;
  border-radius: 1rem;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
}
html[data-contact-copy-ready] .contact-copy { display: inline-flex; }
.contact-copy:hover, .contact-copy:focus-visible { text-decoration: underline; }
.contact-copy:focus-visible, .contact-widget-toggle:focus-visible, .contact-widget-panel a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.contact-widget {
  --contact-size: clamp(44px,4.2vw,58px);
  --contact-edge: max(.75rem,env(safe-area-inset-right,0px));
  position: fixed;
  z-index: 200;
  top: 50%;
  right: var(--contact-edge);
  width: var(--contact-size);
  height: var(--contact-size);
  margin: 0;
  transform: translateY(-50%);
  color: #30302c;
  font-family: inherit;
}
.contact-widget-toggle {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 5px;
  margin: 0;
  overflow: hidden;
  list-style: none;
  appearance: none;
  border: 1px solid #d7d4cb;
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 3px 14px rgb(24 24 20 / 16%);
  cursor: pointer;
}
.contact-widget-toggle::-webkit-details-marker { display: none; }
.contact-widget-toggle img { display: block; width: 100%; height: 100%; object-fit: contain; }
.contact-widget-panel {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  right: calc(100% + .5rem);
  width: min(20rem,calc(100vw - var(--contact-size) - var(--contact-edge) - 1.25rem));
  transform: translateY(-50%);
  padding: 1.05rem 1.15rem;
  border: 1px solid #dfdcd4;
  border-radius: .8rem;
  background: #fffefa;
  box-shadow: 0 .4rem 1.6rem rgb(22 22 20 / 16%);
  text-align: start;
}
.contact-widget-panel::after {
  content: "";
  position: absolute;
  inset: 0 -.6rem 0 auto;
  width: .6rem;
}
.contact-widget-heading { display: block; margin-bottom: .7rem; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.contact-widget-panel .contact-channel { justify-content: space-between; }
.contact-widget-panel .contact-channel + .contact-channel {
  margin-top: .7rem;
  border-top: 1px solid #e5e2da;
  padding-top: .7rem;
}
.contact-widget-field { display: grid; gap: .1rem; min-width: 0; }
.contact-widget-label { font-size: .76rem; line-height: 1.3; color: #605e56; }
.contact-widget-panel a {
  display: block;
  overflow-wrap: anywhere;
  color: inherit;
  font-size: .94rem;
  line-height: 1.4;
  text-decoration: none;
}
.contact-widget-panel a:hover { text-decoration: underline; }
.contact-copy-status {
  position: fixed;
  z-index: 10100;
  left: 50%;
  bottom: max(1.2rem,env(safe-area-inset-bottom,0px));
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  border-radius: .5rem;
  background: #292925;
  color: white;
  text-align: center;
  font: inherit;
  font-size: .9rem;
  line-height: 1.4;
  pointer-events: none;
}
.contact-copy-status:not(:empty) { padding: .45rem .85rem; }
.contact-widget[hidden], body:has(.modal-search.active,.modal-contact.active,.section-header-menu.active,dialog[open]) .contact-widget { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .contact-widget[open] .contact-widget-panel { animation: contact-panel-in .22s ease-out both; }
  @keyframes contact-panel-in {
    from { opacity: 0; transform: translate(.8rem,-50%); }
    to { opacity: 1; transform: translate(0,-50%); }
  }
}
@media (max-width: 767px) {
  .site-contact-links .contact-channel { justify-content: center; }
  .contact-widget-panel { padding: .85rem; }
}
@media print { .contact-widget, .contact-copy-status, .contact-channel .contact-copy { display: none !important; } }
