/* Sign-in with an emailed code, shared by the parent forms (family-signin.js, 2026-10-11). Uses the forms' tokens. */
.find { margin-top: 12px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-weight: 700; border-radius: 11px; padding: 11px 16px; cursor: pointer; }
.find:hover { background: var(--water); }
.find:disabled { opacity: .6; cursor: default; }
.code-row { display: flex; gap: 10px; align-items: center; }
.code-row input { max-width: 180px; letter-spacing: .3em; font-size: 22px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.code-row .find { margin-top: 0; }
.dev { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdf3d6; color: #8a5a00; font-size: 13.5px; font-weight: 600; }
.link { border: 0; background: none; padding: 0; margin-top: 10px; font: inherit; font-size: 14px; color: var(--blue); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; display: block; }
.who { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--water); border-radius: 12px; padding: 12px 14px; margin: 0 0 22px; color: var(--navy); font-size: 14.5px; }
.who b { font-weight: 700; }
.who .link { margin: 0; display: inline; flex: none; }
.fams { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 14px; padding: 12px; border-radius: 12px; background: #fffaf0; border: 1px dashed #d9b25a; }
.fams > span { grid-column: 1 / -1; font-size: 12.5px; color: #8a5a00; font-weight: 700; }
.fams button { text-align: left; border: 1px solid #ecd59a; background: #fff; color: #6b4a00; border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 12.5px; cursor: pointer; min-height: 44px; }
.fams button b { display: block; font-size: 14px; color: var(--navy); }
.fams button:hover { border-color: #d9b25a; background: #fffdf6; }
.swim-pick { display: grid; gap: 8px; }
.swim-pick label { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; cursor: pointer; }
.swim-pick label:has(input:checked) { border-color: var(--blue); background: var(--water); }
.swim-pick input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.swim-pick b { display: block; color: var(--navy); }
.swim-pick small { display: block; color: var(--muted); font-size: 13.5px; }
.who[hidden], .fams[hidden], .swim-pick[hidden] { display: none; }   /* their display rules would otherwise beat [hidden] */
.test-fill { display: block; margin-top: 8px; border: 0; border-radius: 10px; background: #8a5a00; color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 10px 14px; cursor: pointer; min-height: 44px; }
.test-fill:hover { background: #6b4600; } .test-fill:disabled { opacity: .6; cursor: default; }

/* Test families, quiet (2026-10-11, Emilio: "remove ... all the warning banners"): a plain list under the email. */
.fams { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 0; }
.fams > span { color: var(--muted); font-weight: 600; }
.fams button { border: 1px solid var(--line); background: #fff; color: var(--muted); }
.fams button:hover { border-color: var(--blue); background: var(--water); }

/* Find my email (2026-10-14): the swimmer's name, then the family's emails on file, masked. */
.fs-find { margin-top: 4px; }
.fs-find .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 10px; }
.fs-find .two input { width: 100%; font: inherit; font-size: 16px; border: 1.5px solid #dbe5ee; border-radius: 12px; padding: 13px 14px; min-height: 50px; background: #fff; box-sizing: border-box; }
.fs-found { margin-top: 12px; }
/* The phone number first, then "or your swimmer's name" (2026-10-17). 16px so a phone never zooms into the field. */
.fs-find input[type=tel] { width: 100%; font: inherit; font-size: 16px; border: 1.5px solid #dbe5ee; border-radius: 12px; padding: 13px 14px; min-height: 50px; background: #fff; box-sizing: border-box; }
.fs-or { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.fs-or::before, .fs-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#fsForgot { display: block; margin-top: 10px; }
@media (max-width: 420px) { .fs-find .two { grid-template-columns: 1fr; } }

/* Find your account (2026-10-14, the account-recovery spec): no account after the code, the two ways on, and the
   matches (or the programs, for a common name) as buttons to tap. */
.fs-none .lbl { display: block; color: var(--navy); font-weight: 700; margin: 0 0 6px; }
.fs-none .lbl b { display: inline-block; overflow-wrap: anywhere; }
.fs-two-ways { display: grid; gap: 10px; margin-top: 14px; }
.fs-two-ways .find { margin-top: 0; width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; text-align: center; box-sizing: border-box; }
.fs-two-ways a.find { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: none; }
.fs-two-ways a.find:hover { border-color: var(--blue); background: var(--water); }
a.find { display: inline-block; text-decoration: none; line-height: 1.3; }
.find.primary { background: var(--navy); color: #fff; }
.find.primary:hover { background: var(--blue); border-color: var(--blue); }
.fs-pick { display: grid; gap: 8px; margin-top: 10px; }
.fs-pick button { text-align: left; font: inherit; font-weight: 700; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; min-height: 50px; cursor: pointer; }
.fs-pick button:hover { border-color: var(--blue); background: var(--water); }
.fs-pick button:disabled { opacity: .6; cursor: default; }
.fs-pick.masked button { letter-spacing: .02em; word-break: break-all; }
.link.inline { display: inline; margin: 0; }

.fs-none[hidden], .fs-find[hidden] { display: none; }
