/* Update 91: the team member forms (option B), the "Check your WhatsApp number" screen and the Team page card. team-form.js */
.tf-sec { font-size: .74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.tf h2 + .tf-sec { border-top: 0; padding-top: 0; margin-top: 8px; }
.tf-row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.tf-row2 > .detail-item { min-width: 0; }
.tf-hint { margin: 2px 0 6px; }
.tf-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin: 2px 0 10px; cursor: pointer; }
.tf-facts { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 8px 12px; margin: 6px 0 10px; font-size: .88rem; }
.tf-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; }
.tf-facts > div > span:first-child { color: var(--muted); }
.tf-facts > div > span:last-child { text-align: right; font-weight: 500; }
.tf-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.tf-switch > span { display: flex; flex-direction: column; font-size: .9rem; }
.tf-switch small { color: var(--muted); font-size: .78rem; }
.tf-switch input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; border-radius: 11px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .15s; margin: 0; }
.tf-switch input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tf-switch input[type="checkbox"]:checked { background: var(--metric-green, #2f8a4c); }
.tf-switch input[type="checkbox"]:checked::after { left: 21px; }
.tf-switch input[type="checkbox"]:disabled { opacity: .45; cursor: not-allowed; }
.tf-switch input[type="checkbox"]:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 2px; }
.tf-chip { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .02em; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); margin-left: 4px; vertical-align: 1px; white-space: nowrap; }
.tf-ok { background: color-mix(in srgb, var(--metric-green, #2f8a4c) 14%, transparent); border-color: color-mix(in srgb, var(--metric-green, #2f8a4c) 40%, transparent); color: var(--metric-green, #2f8a4c); }
.tf-no { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
.tf-gate { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: var(--space-6, 24px) 16px; }
.tf-card { max-width: 440px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6, 24px); }
.tf-pc-card .tf-row2 { grid-template-columns: minmax(0, 1fr) 7em; }
.team-name .tf-main { display: inline-block; margin-left: 6px; }
@media (max-width: 420px) { .tf-row2 { grid-template-columns: minmax(0, 1fr); gap: 0; } .tf-pc-card .tf-row2 { grid-template-columns: minmax(0, 1fr); } }
