/* ==========================================================================
   Contact page
   The message card, its form and the thank-you panel.
   Role tokens only, so the light and dark themes both work.
   ========================================================================== */

/* Message card ------------------------------------------------------------- */
.contact-card { box-shadow: var(--shadow-sm); }
.contact-card__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-card__head .avatar { --size: 52px; }
.contact-card__name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; font-weight: 500; }
.contact-card__meta { display: flex; align-items: center; gap: .35rem; font-size: .88rem; color: var(--text-2); }
.contact-card__meta .icon { width: 15px; height: 15px; }

.rover-slot .notice { margin-top: .35rem; }
[data-form-error] a[href^="sms:"] { white-space: nowrap; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: .35rem; }
.form-actions .btn { flex: 1 1 100%; }
@media (min-width: 640px) { .form-actions .btn { flex: 0 0 auto; } }

/* Thank-you panel ---------------------------------------------------------- */
.contact-sent { display: grid; gap: 1rem; justify-items: start; padding-block: .25rem; }
.contact-sent:focus { outline: none; }
.contact-sent__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
}
.contact-sent__icon .icon { width: 22px; height: 22px; }
.contact-sent__title { font-size: var(--step-3); line-height: 1.08; }
