.patient-enrollment-surface{--enrollment-ink:var(--patient-ink,#111a2d);--enrollment-muted:var(--patient-muted,#5d6678);--enrollment-border:var(--patient-border,#dfe4ec);--enrollment-soft:var(--patient-soft,#f6f8fb);--enrollment-action:var(--patient-action,#173d9a);--enrollment-action-hover:var(--patient-action-hover,#2457c7);--enrollment-focus:var(--patient-focus,#5b86e5);--enrollment-positive:#176447;--enrollment-positive-soft:#edf8f3;--enrollment-danger:#9e2f41;--enrollment-danger-soft:#fff1f3;width:100%;color:var(--enrollment-ink);gap:1rem;display:grid}.patient-enrollment-card{border:1px solid var(--enrollment-border);background:var(--patient-surface,#fff);border-radius:1.25rem;gap:1.25rem;padding:clamp(1.1rem,3vw,1.5rem);display:grid;box-shadow:0 1rem 3rem #0b23560f}.patient-enrollment-card[data-emphasis=quiet]{background:var(--enrollment-soft);box-shadow:none;border-color:#0000}.patient-enrollment-section{gap:1rem;min-width:0;display:grid}.patient-enrollment-section__header{gap:.35rem;display:grid}.patient-enrollment-section__eyebrow,.patient-enrollment-section__title,.patient-enrollment-section__lead,.patient-enrollment-notice p,.patient-enrollment-status,.patient-enrollment-meta{margin:0}.patient-enrollment-section__eyebrow{color:var(--enrollment-action);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:720}.patient-enrollment-section__title{letter-spacing:-.022em;font-size:clamp(1.25rem,1.1rem + .5vw,1.55rem);font-weight:660;line-height:1.2}.patient-enrollment-section__lead{max-width:38rem;color:var(--enrollment-muted);font-size:.975rem;line-height:1.55}.patient-enrollment-stack,.patient-enrollment-fields{gap:1rem;display:grid}.patient-enrollment-fields[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-enrollment-field{gap:.42rem;min-width:0;display:grid}.patient-enrollment-field__label,.patient-enrollment-field legend{color:var(--enrollment-ink);font-size:.9rem;font-weight:650;line-height:1.35}.patient-enrollment-field__hint,.patient-enrollment-field__error{margin:0;font-size:.82rem;line-height:1.45}.patient-enrollment-field__hint{color:var(--enrollment-muted)}.patient-enrollment-field__error{color:var(--enrollment-danger)}.patient-enrollment-control{border:1px solid var(--enrollment-border);background:var(--patient-surface,#fff);width:100%;min-height:3rem;color:var(--enrollment-ink);font:inherit;border-radius:.85rem;padding:.72rem .85rem;font-size:1rem;line-height:1.4;transition:border-color .15s,box-shadow .15s,background-color .15s}.patient-enrollment-control:hover:not(:disabled){border-color:color-mix(in srgb, var(--enrollment-action) 45%, var(--enrollment-border))}.patient-enrollment-control:focus-visible{border-color:var(--enrollment-focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--enrollment-focus) 22%, transparent);outline:0}.patient-enrollment-control:disabled{background:var(--enrollment-soft);color:var(--enrollment-muted);cursor:not-allowed}textarea.patient-enrollment-control{resize:vertical;min-height:6.5rem}.patient-enrollment-notice{border:1px solid var(--enrollment-border);background:var(--enrollment-soft);color:var(--enrollment-ink);border-radius:1rem;gap:.3rem;padding:.9rem 1rem;font-size:.9rem;line-height:1.5;display:grid}.patient-enrollment-notice strong{font-weight:720}.patient-enrollment-notice[data-tone=information]{border-color:color-mix(in srgb, var(--enrollment-action) 20%, white);background:color-mix(in srgb, var(--enrollment-action) 7%, white);color:color-mix(in srgb, var(--enrollment-action) 82%, #101828)}.patient-enrollment-notice[data-tone=success]{background:var(--enrollment-positive-soft);color:var(--enrollment-positive);border-color:#bfdfd1}.patient-enrollment-notice[data-tone=error]{background:var(--enrollment-danger-soft);color:var(--enrollment-danger);border-color:#f1c4cc}.patient-enrollment-actions{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.patient-enrollment-actions[data-align=between]{justify-content:space-between}.patient-enrollment-button,.patient-enrollment-link-button{min-height:3rem;font:inherit;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;gap:.5rem;padding:.72rem 1.15rem;font-size:.95rem;font-weight:680;line-height:1.2;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s,transform .15s;display:inline-flex}.patient-enrollment-button[data-block=true],.patient-enrollment-link-button[data-block=true]{width:100%}.patient-enrollment-button[data-variant=primary],.patient-enrollment-link-button[data-variant=primary]{background:var(--enrollment-action);color:#fff}.patient-enrollment-button[data-variant=primary]:hover:not(:disabled),.patient-enrollment-link-button[data-variant=primary]:hover{background:var(--enrollment-action-hover)}.patient-enrollment-button[data-variant=secondary],.patient-enrollment-link-button[data-variant=secondary]{border-color:var(--enrollment-border);background:var(--patient-surface,#fff);color:var(--enrollment-ink)}.patient-enrollment-button[data-variant=secondary]:hover:not(:disabled),.patient-enrollment-link-button[data-variant=secondary]:hover{border-color:color-mix(in srgb, var(--enrollment-action) 35%, var(--enrollment-border));background:var(--enrollment-soft)}.patient-enrollment-button[data-variant=ghost],.patient-enrollment-link-button[data-variant=ghost]{color:var(--enrollment-action);background:0 0}.patient-enrollment-button[data-variant=ghost]:hover:not(:disabled),.patient-enrollment-link-button[data-variant=ghost]:hover{background:color-mix(in srgb, var(--enrollment-action) 7%, transparent)}.patient-enrollment-button:active:not(:disabled),.patient-enrollment-link-button:active{transform:translateY(1px)}.patient-enrollment-button:disabled{opacity:.55;cursor:not-allowed}.patient-enrollment-button:focus-visible,.patient-enrollment-link-button:focus-visible,.patient-enrollment-choice:focus-visible{outline:3px solid var(--enrollment-focus);outline-offset:3px}.patient-enrollment-choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(14rem,100%),1fr));gap:.75rem;display:grid}.patient-enrollment-choice{border:1px solid var(--enrollment-border);background:var(--patient-surface,#fff);width:100%;min-height:4.75rem;color:var(--enrollment-ink);font:inherit;text-align:start;border-radius:1rem;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1rem;padding:.9rem 1rem;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.patient-enrollment-choice:hover:not(:disabled){border-color:color-mix(in srgb, var(--enrollment-action) 40%, var(--enrollment-border));background:color-mix(in srgb, var(--enrollment-action) 4%, white)}.patient-enrollment-choice[aria-pressed=true],.patient-enrollment-choice[data-selected=true]{border-color:var(--enrollment-action);background:color-mix(in srgb, var(--enrollment-action) 7%, white);box-shadow:0 0 0 1px var(--enrollment-action)}.patient-enrollment-choice:active:not(:disabled){transform:translateY(1px)}.patient-enrollment-choice:disabled{opacity:.58;cursor:not-allowed}.patient-enrollment-choice__copy{gap:.2rem;min-width:0;display:grid}.patient-enrollment-choice__title{font-size:.95rem;font-weight:680;line-height:1.35}.patient-enrollment-choice__description{color:var(--enrollment-muted);font-size:.82rem;line-height:1.4}.patient-enrollment-choice__indicator{border:1.5px solid var(--enrollment-border);color:#0000;border-radius:999px;place-items:center;width:1.35rem;height:1.35rem;font-size:.75rem;font-weight:800;display:grid}.patient-enrollment-choice[aria-pressed=true] .patient-enrollment-choice__indicator,.patient-enrollment-choice[data-selected=true] .patient-enrollment-choice__indicator{border-color:var(--enrollment-action);background:var(--enrollment-action);color:#fff}.patient-enrollment-check{min-height:3rem;color:var(--enrollment-ink);grid-template-columns:1.25rem minmax(0,1fr);align-items:start;gap:.75rem;font-size:.9rem;line-height:1.5;display:grid}.patient-enrollment-check input{width:1.15rem;height:1.15rem;accent-color:var(--enrollment-action);margin:.15rem 0 0}.patient-enrollment-progress{gap:.55rem;display:grid}.patient-enrollment-progress__copy{color:var(--enrollment-muted);justify-content:space-between;gap:1rem;font-size:.82rem;font-weight:650;display:flex}.patient-enrollment-progress__track{background:var(--enrollment-border);border-radius:999px;height:.4rem;overflow:hidden}.patient-enrollment-progress__value{border-radius:inherit;background:var(--enrollment-action);height:100%;transition:width .18s}.patient-enrollment-status{color:var(--enrollment-muted);align-items:center;gap:.55rem;font-size:.82rem;line-height:1.45;display:flex}.patient-enrollment-status:before{background:var(--enrollment-border);content:"";border-radius:999px;flex:none;width:.5rem;height:.5rem}.patient-enrollment-status[data-status=saved]:before{background:var(--enrollment-positive)}.patient-enrollment-status[data-status=saving]:before{background:var(--enrollment-action)}.patient-enrollment-invite{border:1px solid color-mix(in srgb, var(--enrollment-action) 20%, white);background:color-mix(in srgb, var(--enrollment-action) 6%, white);border-radius:1rem;gap:.35rem;padding:.9rem 1rem;display:grid}.patient-enrollment-invite__label,.patient-enrollment-invite__name{margin:0}.patient-enrollment-invite__label{color:var(--enrollment-action);letter-spacing:.035em;text-transform:uppercase;font-size:.78rem;font-weight:720}.patient-enrollment-invite__name{font-size:.95rem;font-weight:680}.patient-enrollment-meta{color:var(--enrollment-muted);font-size:.78rem;line-height:1.45}.patient-enrollment-surface .template-hidden{display:none}@media (width<=38rem){.patient-enrollment-fields[data-columns="2"]{grid-template-columns:1fr}.patient-enrollment-actions,.patient-enrollment-actions[data-align=between]{flex-direction:column-reverse;align-items:stretch}.patient-enrollment-actions>*{width:100%}.patient-enrollment-progress__copy span:first-child{max-width:72%}}@media (prefers-reduced-motion:reduce){.patient-enrollment-surface *,.patient-enrollment-surface :before,.patient-enrollment-surface :after{scroll-behavior:auto;transition-duration:.01ms}}
