/* mod-consent.css — MODULE F: granular consent styles.
 * Staff matrix + senior-friendly public preference center. */

/* ---------------- staff: purpose × channel matrix ---------------- */
.consent-matrix { width: 100%; border-collapse: collapse; }
.consent-matrix th, .consent-matrix td { vertical-align: top; }
.consent-matrix tbody th[scope="row"] { text-align: left; max-width: 11rem; }
.cm-cell .row { flex-wrap: wrap; }
.table-wrap { overflow-x: auto; }

/* ---------------- public preference center (senior-friendly) ---------------- */
.prefs { max-width: 42rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
.prefs .card { border-radius: 14px; }
.prefs h1 { font-size: 1.9rem; line-height: 1.25; margin: 0.4rem 0 0.6rem; }
.prefs h2 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.prefs p, .prefs li { font-size: 1.12rem; line-height: 1.6; }
.pf-kicker { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted, #666); margin: 0; }
.pf-for { font-size: 1.2rem; }
.pf-sec { border-top: 1px solid var(--line, #e3ddd0); padding: 1.1rem 0; }
.pf-sec:first-of-type { border-top: 0; }
.pf-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.pf-list li { padding: 0.35rem 0; display: flex; justify-content: space-between; align-items: center; gap: 0.6rem; }

/* Six channels listed separately; big Yes/No radios. Nothing is prechecked
   as a consent capture — radios reflect the contact's current choice. */
.pf-row { border: 1px solid var(--line, #e3ddd0); border-radius: 12px; padding: 0.9rem 1rem; margin: 0.6rem 0; }
.pf-row legend { font-size: 1.15rem; font-weight: 700; padding: 0 0.4rem; }
.pf-row label { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; margin-right: 1.6rem; cursor: pointer; min-height: 3rem; }
.pf-row input[type="radio"] { width: 1.6rem; height: 1.6rem; accent-color: var(--green, #1f5c3f); }

.pf-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.4rem; }
.btn-big { font-size: 1.25rem; padding: 1rem 1.4rem; border-radius: 12px; width: 100%; }
.pf-stop { background: transparent; border: 2px solid var(--amber, #b97f1f); color: inherit; }
.pf-stop:hover { background: var(--soft-amber, #fdf3e0); }

/* Staff grant modal: the confirmation box must render unchecked. */
#cg-agree { width: 1.4rem; height: 1.4rem; }

@media (max-width: 560px) {
  .prefs h1 { font-size: 1.65rem; }
  .consent-matrix { font-size: 0.85rem; }
}
