/* Referral dialogs share the overlay title. Width stays on inner copy because
   DialogContent is width:max-content in index.css. */
#akashic-health-records-patient-portal-root .referral-rfdlg .ak-overlay__description {
  max-width: 28rem;
}
#akashic-health-records-patient-portal-root .referral-rfdlg .ak-overlay__header {
  padding: 15px 16px 12px;
}
#akashic-health-records-patient-portal-root .referral-rfdlg .ak-overlay__body {
  padding: 14px 16px 16px;
}

/* The withdrawal's one warning, as the board draws it: amber, a rule on its left, and never a promise of recall. */
#akashic-health-records-patient-portal-root .referral-withdraw__warning {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--warning);
  background: var(--amber-soft);
  font-size: 12.5px;
  line-height: 1.5;
}

/* A fax read into suggestions: each value sits over the fax lines that carry it. */
#akashic-health-records-patient-portal-root .referral-faxread {
  display: grid;
  gap: 10px;
  max-width: 28rem;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
#akashic-health-records-patient-portal-root .referral-faxread__title {
  margin: 0;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 600;
}
#akashic-health-records-patient-portal-root .referral-faxread__item {
  display: grid;
  gap: 4px;
  justify-items: start;
}
#akashic-health-records-patient-portal-root .referral-faxread__item > .ak-input,
#akashic-health-records-patient-portal-root .referral-faxread__item > input {
  justify-self: stretch;
}
#akashic-health-records-patient-portal-root .referral-faxread__label {
  color: var(--ink-muted);
  font-size: 12px;
}
#akashic-health-records-patient-portal-root .referral-faxread__value {
  margin: 0;
  color: var(--ink-strong);
  font-size: 13.5px;
  overflow-wrap: anywhere;
}
#akashic-health-records-patient-portal-root .referral-faxread__line {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  font-style: italic;
  overflow-wrap: anywhere;
}
#akashic-health-records-patient-portal-root .referral-faxread__warn {
  display: block;
  color: var(--warning);
  font-size: 12px;
}
#akashic-health-records-patient-portal-root .referral-faxread__check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 2.75rem;
  font-size: 13px;
}
#akashic-health-records-patient-portal-root .referral-faxread__shown {
  display: grid;
  gap: 8px;
  margin: 0;
}
