/* Load after refinement.css. Scoped contact additions for the existing site. */
.contact-bottom.contact-bottom-expanded {
  align-items: start;
  gap: 32px 48px;
}
.contact-bottom-expanded > p {
  max-width: 31ch;
  padding-top: 3px;
}
.contact-methods {
  display: grid;
  gap: 19px;
  min-width: 0;
}
.contact-email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.contact-channel-label {
  display: block;
  flex-shrink: 0;
  min-width: 48px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  color: #57634f;
  letter-spacing: .03em;
}
.contact-bottom-expanded .contact-email {
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 3px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.wechat-contact { min-width: 0; }
.wechat-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
input.wechat-id {
  flex: 0 1 139px;
  width: 139px;
  min-width: 0;
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}
.wechat-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #aebaa2;
  border-radius: 0;
  background: transparent;
  color: #30442d;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color .16s, border-color .16s;
}
.wechat-copy[hidden] { display: none; }
.wechat-copy:hover { background: #dce4d0; border-color: #7c8f6e; }
.wechat-copy:disabled { cursor: wait; opacity: .65; }
.contact-bottom-expanded p.wechat-status,
.brief-wechat p.wechat-status {
  min-height: 1.8em;
  max-width: 42ch;
  margin: 4px 0 0;
  color: #4e6546;
  font-size: 10px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
[data-copy-state="unavailable"] p.wechat-status { color: #70512d; }
.brief-wechat {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.brief-wechat > p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}
.brief-wechat .wechat-line { gap: 8px 12px; }
.brief-wechat .contact-channel-label { min-width: 42px; }
.brief-wechat .wechat-copy:hover { background: #e9ede0; }
@media (max-width: 800px) {
  .contact-bottom.contact-bottom-expanded { display: grid; gap: 22px; }
  .contact-bottom-expanded > p { max-width: 44ch; }
  .contact-methods { justify-self: start; gap: 16px; }
}
@media (max-width: 560px) {
  .contact-bottom-expanded .contact-email { font-size: 11px; }
  .wechat-line { gap: 8px 12px; }
  .contact-channel-label { min-width: 42px; }
  input.wechat-id { flex-basis: 132px; width: 132px; font-size: 12px; }
  .wechat-copy { padding-left: 10px; padding-right: 10px; }
  .brief-wechat .wechat-line { column-gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wechat-copy { transition: none; }
}
