/*
 * card.css - The Screening report card in the patient's Report tab (Zone V).
 *
 * The card is an ordinary platform card (acp-card, acp-cta from aci-patient.css); this
 * file adds only the buttons' row, the "Ready" word of the booked state, the one-row form
 * inside the evaluation report's card, and the Report tab's green "Ready" / "1 ready"
 * (shell-stage-model.js markScreeningReady). Round 2 (R9) removed the area map: the card is
 * plain and calm, and the report it opens carries the content.
 */

.ps-stage-body .scr-card .scr-card__head, .scr-card__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.scr-card__words { min-width: 0; }
.ps-stage-body .scr-card .scr-card__body, .scr-card__body { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
/* Decision 2: one line saying the full evaluation report follows the live session. */
.scr-card__next { margin: 0; padding: 12px 18px 0; font-size: var(--fs-14, 14px); line-height: 1.5; color: var(--home-ink, #264653); }
/* In the patient shell the card's head and body sit 20 px in (patient-shell.css .ps-stage-body .acp-card-head);
   the line keeps that edge too (layout QA round 2: it started 2 px left of the title). */
.ps-stage-body .scr-card .scr-card__next { padding-inline: 20px; }
.scr-card__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scr-card__acts .acp-cta { padding: 9px 16px; }
.scr-card__acts .acp-cta i { font-size: var(--fs-12, 12px); }
.scr-card__ready { margin-left: auto; color: var(--ps-green, #059669); font-size: var(--fs-13, 13px); font-weight: 600; }
.scr-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--home-border, rgba(38, 70, 83, 0.1)); font-size: var(--fs-14, 14px); color: var(--home-ink, #264653); }
.scr-card__row .acp-cta { padding: 7px 16px; }
/* The row alone in its own card (an earlier document, round 2 A3): no rule above it. */
.scr-card--earlier .scr-card__row { padding-top: 0; border-top: 0; }

/* The Report tab's state word while a screening report is ready. */
.ps-stage-tab--screening-ready .ps-stage-tab-state { color: var(--ps-green, #059669); }

@media (max-width: 420px) {
  .scr-card__acts { width: 100%; }
  .scr-card__acts .acp-cta { flex: 1 1 auto; }
  .scr-card__ready { margin-left: 0; }
}
