/* ==========================================================================
   RPM enrolment — existing SmartCare tokens only, no new colours.
   ========================================================================== */

.rpm-banner {
  padding: 12px 14px; border-radius: var(--radius-sm);
  margin-bottom: 16px; font-size: 14px;
}
.rpm-banner.on  { background: var(--go-soft);   color: var(--go); }
.rpm-banner.off { background: var(--warn-soft); color: var(--warn); }

/* The enrolment chain. Reads top to bottom so the first unticked row is the
   thing to do next -- staff should not have to work out the order. */
.rpm-steps { list-style: none; margin: 0; padding: 0; }

.rpm-step {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.rpm-step:last-child { border-bottom: none; }

.rpm-tick {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  border: 2px solid var(--line); color: transparent;
}
.rpm-step.done .rpm-tick {
  background: var(--go); border-color: var(--go); color: #fff;
}
.rpm-step.todo .rpm-tick { border-style: dashed; }

.rpm-step-main { flex: 1; min-width: 0; }
.rpm-step-label { font-weight: 600; }
.rpm-step.done .rpm-step-label { color: var(--ink-soft); font-weight: 550; }

.rpm-assigned { list-style: none; margin: 10px 0 0; padding: 0; }
.rpm-assigned li {
  padding: 7px 10px; background: var(--surface);
  border-radius: var(--radius-sm); margin-bottom: 6px; font-size: 14px;
}

/* Consent checkboxes are load-bearing: each represents a CMS-required
   disclosure, so they get room to be read rather than skimmed. */
.consent-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.consent-item {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 14px; line-height: 1.5;
  transition: border-color .1s, background .1s;
}
.consent-item:hover { border-color: var(--accent); }
.consent-item input { margin-top: 3px; flex: none; width: 17px; height: 17px; cursor: pointer; }
.consent-item:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.pill-info   { background: var(--accent-soft); color: var(--accent-dk); }
.pill-muted  { background: var(--surface);     color: var(--muted); }

@media (max-width: 640px) {
  .rpm-step { flex-wrap: wrap; }
  .rpm-step .btn { margin-left: 36px; }
}

/* Documentation on the patient's RPM card (19 Oct 2026) */
.rpm-doc { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
           border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 12px 0 4px; }
.rpm-doc-text { flex: 1 1 320px; }
.rpm-doc-btns { display: flex; gap: 8px; flex-wrap: wrap; }
