.topbar-right .button.site-contact-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 0;
  border-radius: 8px;
  background: #167343;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgb(22 115 67 / 18%);
  cursor: pointer;
  transition: background 160ms ease-out;
}
.topbar-right .button.site-contact-open:hover { background: #105b34; }
.topbar-right .button.site-contact-open:active { background: #0c492a; }
.site-contact-open svg, .site-contact-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-contact-dialog {
  width: min(380px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  padding: 20px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #202b24;
  box-shadow: 0 18px 60px rgb(0 0 0 / 22%);
  overflow: auto;
}
.site-contact-dialog::backdrop { background: rgb(15 26 20 / 46%); }
.site-contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-contact-heading h2 { margin: 0; font-size: 20px; line-height: 1.4; }
.site-contact-close {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: -8px -8px -8px 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #46574a;
  cursor: pointer;
}
.site-contact-close:hover { background: #eef4ef; }
.site-contact-open:focus-visible, .site-contact-close:focus-visible { outline: 3px solid #167343; outline-offset: 3px; }
#site-contact-help { margin: 8px 0 0; color: #516256; font-size: 14px; line-height: 1.6; }
.site-contact-qr { display: block; width: 100%; height: auto; max-height: calc(100dvh - 156px); object-fit: contain; margin: 4px auto 0; }
.site-contact-qr[hidden], .site-contact-error[hidden] { display: none; }
.site-contact-error { color: #943426; font-size: 14px; }
@media (max-width: 700px) {
  .topbar:has(.site-contact-open) { height: auto; min-height: 65px; flex-wrap: wrap; gap: 10px; padding-block: 12px; }
  .topbar:has(.site-contact-open) .topbar-leading { flex: 1 0 100%; }
  .topbar:has(.site-contact-open) .breadcrumb { white-space: nowrap; }
  .topbar:has(.site-contact-open) .topbar-right { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
  .topbar-right .button.site-contact-open { min-height: 40px; gap: 6px; padding: 8px 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .topbar-right .button.site-contact-open { transition: none; } }
