/* Compact contact actions shared by all three designs. */
.contact-picker { width: min(520px, calc(100% - 32px)); }
.contact-picker h2 { padding-right: 20px; }
.contact-picker-intro { margin: 15px 0 24px; line-height: 1.7; color: var(--text-secondary); font-size: 14px; }
.contact-picker-options { display: grid; gap: 12px; }
.contact-picker .contact-choice {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  padding: 19px; border: 1px solid #899d9370; border-radius: 12px;
  color: inherit; text-decoration: none; min-height: 78px;
}
.contact-choice>span:first-child { min-width: 0; }
.contact-choice strong { display: block; font-size: 14px; font-weight: 600; }
.contact-choice small { display: block; font-size: 13px; opacity: .8; margin-top: 8px; overflow-wrap: anywhere; line-height: 1.6; }
.contact-picker .contact-choice:hover { background: #8dbd8812; border-color: #8eaa79; }
.contact-picker .contact-choice:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.contact-channels.section-channels,
.contact-channels.dialog-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  overflow: visible;
}
.contact-channels.section-channels { margin-top: 32px; }
.contact-channels.section-channels .contact-channel,
.contact-channels.dialog-channels .contact-channel {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  width: 58px;
  min-width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 16px;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
}
.contact-channels .contact-channel .channel-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}
.contact-channels .channel-icon svg { width: 23px; height: 23px; }
.contact-channels .contact-channel::after {
  content: attr(data-channel-label);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 7px 10px;
  border-radius: 7px;
  background: #172c2b;
  color: #fff;
  box-shadow: 0 4px 14px #0002;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 3;
}
.contact-channels .contact-channel:hover::after,
.contact-channels .contact-channel:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.contact-channels .contact-channel:not([aria-disabled=true]):hover { transform: translateY(-3px); }
.contact-channels .contact-channel:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media(max-width:640px) {
  .contact-channels.section-channels,
  .contact-channels.dialog-channels { gap: 9px; }
  .contact-channels.section-channels .contact-channel,
  .contact-channels.dialog-channels .contact-channel {
    flex-basis: 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 13px;
  }
  .contact-channels .channel-icon svg { width: 21px; height: 21px; }
  .contact-channels .contact-channel::after { font-size: 10px; }
}
@media(prefers-reduced-motion:reduce) {
  .contact-channels .contact-channel,
  .contact-channels .contact-channel::after { transition: none; }
}
