/* The Pay $500 card (patient/balance-card.js), the evaluation after a $90
   intake. A plain platform card (acp-card, acp-cta from aci-patient.css) with
   the price beside the heading; this file only adds what the card needs. */

.bc-card { max-width: 640px; }

.bc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.bc-title { margin: 0; font-size: var(--fs-18, 18px); outline: none; }

.bc-price {
  font-size: var(--fs-24, 24px);
  font-weight: 700;
  color: var(--home-ink, var(--color-text));
  font-variant-numeric: tabular-nums;
}

.bc-text,
.bc-later,
.bc-wait {
  margin: 0;
  font-size: var(--fs-14, 14px);
  line-height: 1.5;
  color: var(--color-muted);
}

.bc-later { color: var(--home-ink, var(--color-text)); font-weight: 600; }

.bc-error {
  margin: 0;
  font-size: var(--fs-14, 14px);
  color: var(--home-red, #a8342e);
}

.bc-error:empty { display: none; }

.bc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bc-row .acp-cta { min-height: 44px; }
.bc-row .acp-cta:disabled { opacity: 0.6; cursor: default; }

.bc-element { min-height: 120px; }

@media (max-width: 480px) {
  .bc-row .acp-cta { flex: 1 1 100%; }
}

/* "What we captured" on the Evidence step (patient/captured-card.js). */
.cc-title { margin: 0; }

.cc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.cc-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-14, 14px);
  color: var(--home-ink, var(--color-text));
}

.cc-icon { color: var(--home-ink-dim, var(--color-muted)); }
.cc-icon--done { color: var(--home-green, #2f7d5b); }

.cc-meta {
  font-size: var(--fs-13, 13px);
  color: var(--color-muted);
  white-space: nowrap;
}

.cc-sub {
  margin: 6px 0 0;
  font-size: var(--fs-13, 13px);
  font-weight: 700;
  color: var(--home-ink, var(--color-text));
}

/* P-07: the date stays on the section's line on a phone too; a long name wraps instead. */
@media (max-width: 480px) {
  .cc-row { gap: 8px; }
}

/* P-06: one folded line per person ("You · 17 sections"), opening on a tap. */
.cc-person { border-top: 1px solid var(--color-line); }
.cc-person:first-child { border-top: 0; }
.cc-person-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-15, 15px);
  font-weight: 600;
  color: var(--home-ink, var(--color-text));
}
.cc-person-line::-webkit-details-marker { display: none; }
.cc-person-line .cc-meta { margin-left: auto; }
.cc-person-line::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 4px 3px 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  color: var(--color-muted);
}
.cc-person[open] > .cc-person-line::after { transform: rotate(-135deg); margin-bottom: -3px; }
.cc-person > .cc-list { padding: 0 0 12px; }

/* Experience review (P1, P2): the folded line's counts by kind may wrap on a phone, and the
   opened rows sit under one heading per kind, with one quiet line under some headings. */
.cc-person-line .cc-meta { white-space: normal; text-align: right; }
.cc-person-body { padding: 0 0 12px; display: grid; gap: 6px; }
.cc-person-body > .cc-sub:first-child { margin-top: 0; }
.cc-kind-line {
  margin: -2px 0 2px;
  font-size: var(--fs-13, 13px);
  color: var(--color-muted);
}
