.contact-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.contact-actions > .contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.contact-actions > .contact-action:hover { background: #7d977021; }
.contact-actions > .contact-action:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
#contact-phone-dialog {
  box-sizing: border-box;
  width: min(360px, calc(100% - 32px));
  margin: auto;
  padding: 24px;
  border: 1px solid #d0dac9;
  border-radius: 14px;
  background: #f8faf3;
  color: #223e2d;
  text-align: left;
}
#contact-phone-dialog::backdrop { background: #14261dcc; }
#contact-phone-dialog h2 { margin: 0 32px 12px 0; font-size: 22px; color: inherit; }
#contact-phone-dialog a { display: inline-block; padding-block: 8px; color: inherit; font-size: 23px; text-decoration: underline; }
#contact-phone-dialog button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
}
@media (max-width: 520px) {
  .site-header:has(.contact-actions) { gap: 6px; }
  .contact-actions { gap: 4px; }
  .contact-actions > .contact-action { padding-inline: 5px; font-size: 11px; }
}


@media (max-width: 600px) {
  .site-header:has(> .contact-actions) { height: auto; min-height: 70px; flex-wrap: wrap; padding-block: 8px; }
  .site-header > .contact-actions { order: 5; width: 100%; margin: 0; justify-content: center; }
  .header:has(.header-contact > .contact-actions) { height: auto; }
}
