.contact-button[aria-expanded="true"] { visibility: hidden; }
#contact-dialog {
  position: fixed; inset: 26px 26px auto auto; margin: 0; z-index: 50;
  width: min(270px, calc(100vw - 52px)); max-width: none;
  max-height: calc(100svh - 52px); overflow: auto;
  padding: 0; border: 1px solid #00000003; border-radius: 12px;
  background: #ededed; color: #222; box-shadow: none;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}
.contact-content { padding: 42px 26px 27px; }
.contact-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 28px; height: 28px; padding: 5px; border-radius: 4px; color: #777; }
.contact-close svg { width: 18px; height: 18px; }
.contact-close:hover { opacity: 1; color: #111; background: #00000008; }
.contact-details { margin: 0; }
.contact-details > div + div { margin-top: 22px; }
.contact-details dt { font-size: 11px; line-height: 1.6; color: #777; margin-bottom: 3px; }
.contact-details dd { margin: 0; font-size: 13px; line-height: 1.6; font-weight: 400; color: #222; }
.contact-details a { display: inline-block; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-details a:hover { opacity: 1; text-decoration: underline; }
.contact-signoff { margin-top: 47px; }
#contact-dialog .contact-signoff > p { margin: 0 0 22px; font-size: 12px; line-height: 1.6; font-weight: 400; color: #333; }
.contact-time { display: flex; flex-direction: column; gap: 7px; }
.contact-time > span { color: #777; font-size: 10px; line-height: 1.5; letter-spacing: .4px; }
.contact-time time { color: #222; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: .8px; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  #contact-dialog { top: 67px; right: 18px; width: min(270px, calc(100vw - 36px)); max-height: calc(100svh - 90px); border-radius: 10px; }
}
