.thf-member-fields {border:1px solid var(--thf-border);border-radius:12px;padding:16px;margin:16px 0;color:var(--thf-text);background:var(--thf-surface);min-width:0;font-size:14px;text-align:left;line-height:1.5}
.thf-member-fields legend {font-size:17px;font-weight:600;width:auto;padding:0 5px;color:var(--thf-heading)}
.thf-member-fields legend small {display:block;font-size:12px;font-weight:400}
.thf-member-fields p {margin:0 0 12px;font-size:14px;line-height:1.5}
.thf-member-fields input[type=tel] {display:block;box-sizing:border-box;width:100%;min-height:44px;margin:6px 0;padding:10px;border:1px solid var(--thf-input-border);border-radius:6px;background:var(--thf-input-bg);color:var(--thf-input-text);font-size:16px}
.thf-member-fields small {display:block;color:var(--thf-text-2);line-height:1.5}
.thf-member-fields .thf-member-choice {display:flex;align-items:flex-start;gap:10px;padding:10px 0;margin:0;cursor:pointer;font-size:14px;font-weight:400;line-height:1.5}
.thf-member-choice input[type=checkbox] {appearance:auto;flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:var(--thf-link)}
.thf-member-fields a {color:var(--thf-link);text-decoration:underline}
.thf-member-note {color:var(--thf-text-2)}

.thf-member-signup {margin:16px 0;text-align:left;color:var(--thf-text)}
.thf-member-signup summary {cursor:pointer;padding:10px 0;line-height:1.5;font-size:14px}

/* Phone prompt: same card, bronze button and quiet button as the Bible tour box. */
.thf-member-dialog {box-sizing:border-box;width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px 24px 20px;border:1px solid var(--thf-border);border-radius:16px;background:var(--thf-surface);color:var(--thf-text);box-shadow:0 24px 64px var(--thf-shadow);text-align:left;line-height:1.5}
.thf-member-dialog::backdrop {background:var(--thf-overlay)}
.thf-member-dialog h2 {margin:0 40px 6px 0;color:var(--thf-heading);font-family:Georgia,"Iowan Old Style","Times New Roman",serif;font-size:22px;line-height:1.3;font-weight:700}
.thf-member-x {position:absolute;top:10px;right:10px;width:44px;height:44px;border:0;border-radius:10px;background:transparent;color:var(--thf-text-2);font-size:26px;line-height:1;cursor:pointer}
.thf-member-lead {margin:0 0 16px;color:var(--thf-text-2);font-size:15px}
.thf-member-label {display:block;margin:0 0 6px;color:var(--thf-heading);font-size:14px;font-weight:600}
.thf-member-dialog input[type=tel] {display:block;box-sizing:border-box;width:100%;min-height:48px;margin:0;padding:10px 12px;border:1px solid var(--thf-input-border);border-radius:10px;background:var(--thf-input-bg);color:var(--thf-input-text);font-size:17px}
.thf-member-more {margin-top:6px}
.thf-member-dialog .thf-member-choice {display:flex;align-items:flex-start;gap:10px;padding:10px 0;margin:0;cursor:pointer;font-size:13px;font-weight:400;line-height:1.45;color:var(--thf-text)}
.thf-member-fine {margin:4px 0 0;color:var(--thf-text-2);font-size:12px}
.thf-member-fine a {color:var(--thf-link);text-decoration:underline}
.thf-member-error {margin:14px 0 0;padding:10px 12px;border-left:4px solid var(--thf-link);border-radius:6px;background:var(--thf-surface-2);color:var(--thf-heading);font-size:14px;font-weight:600}
.thf-member-actions {display:flex;gap:10px;margin-top:20px}
.thf-member-primary,.thf-member-quiet {flex:1 1 0;min-height:48px;padding:12px 18px;border-radius:12px;font-size:16px;font-weight:600;font-family:inherit;cursor:pointer}
.thf-member-primary {border:0;background:var(--thf-link);color:var(--thf-bg)}
.thf-member-quiet {border:1px solid var(--thf-border-strong);background:transparent;color:var(--thf-text)}
.thf-member-primary:disabled {opacity:.6;cursor:wait}
.thf-member-never {display:block;margin:12px auto 0;min-height:44px;padding:8px 12px;border:0;background:transparent;color:var(--thf-text-2);font-size:14px;text-decoration:underline;cursor:pointer}
.thf-member-thanks {padding:12px 0 4px;text-align:center}
.thf-member-thanks h2 {margin:0 0 6px}
.thf-member-thanks p {margin:0 0 20px;color:var(--thf-text-2);font-size:15px}
.thf-member-thanks .thf-member-primary {width:100%}
.thf-member-check {width:56px;height:56px;margin:0 auto 12px;border-radius:50%;background:var(--thf-link);color:var(--thf-bg);font-size:30px;line-height:56px;font-weight:700}
.thf-member-dialog :focus-visible {outline:3px solid var(--thf-link);outline-offset:3px}
.thf-member-dialog h2:focus {outline:none}
body.is-pwa-standalone .thf-member-dialog {max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 32px)}
@media(max-width:480px) {.thf-member-dialog {padding:24px 18px 16px}}
