/* css/main/user-manual-and-validation.css — part 29/30 of the app styles (was css/main.css; loaded in this order by index.html). */
/* ══ USER MANUAL (js/views/manual.js) ═════════════════════════════════════
   Menu › SYSTEM › "User manual". Three modes on the same screen: index,
   search results and an open point.
   ⭐ The manual's three notices use tokens that already exist and are already measured
   in both themes: Tip = `--accent-2`, Warning = `--warn`, Security =
   `--alerta`. Each also carries an icon and a label: colour is not the only
   signal (UX rule §2). */
.man-buscador {
  position: sticky;
  top: calc(-1 * var(--content-pt));
  z-index: 2;
  background: var(--bg);
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
}
.man-buscador .input { width: 100%; margin: 0; }
.man-cab { margin: 4px 0 14px; }
.man-titulo {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.man-fecha { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* The legend, folded: it is read once and after that it gets in the way. */
.man-leyenda {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  margin-bottom: 16px;
}
.man-leyenda summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.man-leyenda summary { justify-content: space-between; list-style: none; }
.man-leyenda summary::-webkit-details-marker { display: none; }
.man-leyenda summary svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s; }
.man-leyenda[open] summary svg { transform: rotate(90deg); }
.man-leyenda[open] summary { border-bottom: 1px solid var(--border-soft); }
.man-leyenda > p { margin: 12px 14px; font-size: 14px; line-height: 1.6; color: var(--text); }
.man-leyenda .man-blq { margin: 0 14px 12px; }

/* ── The printer icon, to the right of the search box (Santi, 2026-09-23):
   a big button next to the title broke the reading. ── */
.man-buscador { display: flex; align-items: center; gap: 8px; }
.man-buscador .input { flex: 1; min-width: 0; }
.man-imprimir {
  flex: none; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px;
  background: transparent; color: var(--text); cursor: pointer;
}
.man-imprimir svg { width: 22px; height: 22px; }
.man-imprimir:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .man-imprimir:hover { background: var(--hover-soft); border-color: var(--accent); }
}

/* ── Which manual an organisation sees: its own or the shooter's ── */
.man-sel { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 0 0 14px; }
.man-sel button {
  flex: 1; min-height: 44px; border: 0; border-right: 1px solid var(--border-soft);
  background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer;
}
.man-sel button:last-child { border-right: 0; }
.man-sel button[aria-pressed="true"] { background: var(--accent-dim); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.man-sel button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ── The index ── */
.man-indice { display: flex; flex-direction: column; gap: 8px; }
.man-cap {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
}
.man-cap-fila { display: flex; align-items: stretch; }
.man-cap-fila .man-fila { flex: 1; min-width: 0; }
.man-fila {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}
.man-fila.man-n1 {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  min-height: 52px;
}
.man-fila.man-n3 { padding-left: 42px; font-size: 13px; color: var(--text-dim); }
.man-fila-t { flex: 1; min-width: 0; }
.man-num {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.man-n1 .man-num { color: var(--accent); }
.man-vacio .man-fila-t { color: var(--muted); }
.man-chip {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}
.man-tog {
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--border-soft);
  color: var(--muted);
  cursor: pointer;
}
.man-tog svg { width: 20px; height: 20px; transition: transform 0.2s; }
.man-cap.abierto .man-tog svg { transform: rotate(90deg); }
.man-cap-hijos { border-top: 1px solid var(--border-soft); padding: 4px 0; }
@media (hover: hover) and (pointer: fine) {
  .man-fila:hover, .man-tog:hover, .man-res:hover { background: var(--hover-soft); }
}
.man-fila:focus-visible, .man-tog:focus-visible, .man-res:focus-visible,
.man-ref:focus-visible, .man-leyenda summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* ── Search results ── */
.man-res-n { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.man-res {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.man-res-t { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.man-res-x { display: block; font-size: 13px; line-height: 1.55; color: var(--text-dim); margin-top: 4px; }
.man-res mark { background: var(--accent-dim); color: var(--text); border-radius: 6px; padding: 0 2px; }

/* ── An open point ── */
.man-barra { display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; }
.man-volver.btn-secondary {
  width: auto;
  flex: none;
  min-height: 44px;
  padding: 0 14px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.man-volver svg { width: 18px; height: 18px; }
.man-miga {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.man-punto-t {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 14px;
}
.man-punto-t .man-num { color: var(--accent); }
/* ⭐ 16 px and 1.65 line height: this is READ, not skimmed. Below 16
   on a phone it tires, and whoever reads it usually has the device in hand at the
   range, not on a desk. */
.man-texto { font-size: 16px; line-height: 1.65; color: var(--text); overflow-wrap: anywhere; }
.man-texto p { margin: 0 0 14px; }
.man-texto ol, .man-texto ul { margin: 0 0 14px; padding-left: 24px; }
.man-texto li { margin: 0 0 6px; }
.man-texto strong { font-weight: 600; }
/* A button's name, as a pill and not between quotes: quotes
   change from one language to another, and the pill is recognised as "this is pressed". */
.man-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-soft);
  color: var(--text);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.man-ref {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  text-align: left;
}
.man-blq {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-left: 3px solid;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.man-blq p:last-child, .man-blq ol:last-child, .man-blq ul:last-child { margin-bottom: 0; }
.man-blq-t {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.man-blq-t svg { width: 16px; height: 16px; flex-shrink: 0; }
/* ⛔ THE LABEL GOES IN THE TEXT COLOUR; the notice's colour, in the icon and in
   the border. Measured on 2026-09-23 over its own tinted background: "Tip" in
   light theme gave 4.36:1 and "Security" in dark 4.52:1, with a 12 px
   label that needs 4.5. The icon and the border are graphics and ask for 3:1. */
.man-blq-t { color: var(--text); }
.man-blq-consejo { border-color: var(--accent-2); background: var(--accent-2-dim); }
.man-blq-consejo .man-blq-t svg { color: var(--accent-2); }
.man-blq-atencion { border-color: var(--warn); background: var(--warn-dim); }
.man-blq-atencion .man-blq-t svg { color: var(--warn); }
.man-blq-seguridad { border-color: var(--alerta); background: var(--alerta-dim); }
.man-blq-seguridad .man-blq-t svg { color: var(--alerta); }
.man-blq-mini { font-size: 14px; padding: 8px 12px; }
.man-blq-mini p { margin: 0; }

.man-sub { margin: 20px 0 0; border-top: 1px solid var(--border-soft); padding-top: 12px; }
.man-sub .man-fila { padding-left: 0; }
.man-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 0;
}
.man-nav-b.btn-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 8px 12px;
  text-align: left;
  min-width: 0;
}
.man-nav-sig.btn-secondary { align-items: flex-end; text-align: right; }
.man-nav-l { font-size: 13px; }
.man-nav-t {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── The footer: if it is not in the manual, to the assistant ── */
.man-pie {
  margin: 28px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}
.man-pie-t { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.man-pie-btn.btn-secondary { width: auto; display: inline-flex; align-items: center; padding: 0 18px; }
.empty-state .man-pie-btn, .empty-state .man-reintentar { margin-top: 14px; }
.man-reintentar.btn-secondary { width: auto; padding: 0 18px; }
@media (prefers-reduced-motion: reduce) {
  .man-tog svg, .man-leyenda summary svg { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   ENTITY VALIDATION — the "My profile" label (2026-09-26)
   Red if not validated, green if it is; icon and word besides the
   colour. Pressable: it leads to the "validacion" view.
   ══════════════════════════════════════════════════════════════ */
.tl-valid-chip {
  --vc: var(--danger);
  display: flex; align-items: center; gap: 10px;
  width: 100%; min-height: 44px; box-sizing: border-box;
  margin: 10px 0 0; padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--vc) 45%, var(--border));
  background: color-mix(in srgb, var(--vc) 12%, var(--card));
  color: var(--vc);
  font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: .8px;
  text-align: left; cursor: pointer;
  transition: background-color .15s ease;
}
.tl-valid-chip.si { --vc: var(--success); }
.tl-valid-chip svg { width: 20px; height: 20px; flex: 0 0 20px; }
.tl-valid-chip .tl-valid-txt { flex: 1 1 auto; min-width: 0; }
.tl-valid-chip .tl-valid-chev { width: 18px; height: 18px; flex: 0 0 18px; opacity: .8; }
.tl-valid-chip:hover { background: color-mix(in srgb, var(--vc) 20%, var(--card)); }
.tl-valid-chip:focus-visible { outline: 2px solid var(--vc); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tl-valid-chip { transition: none; } }
/* The "Validation" screen (js/views/validacion.js). */
.val-estado { border-left: 4px solid var(--danger); margin-bottom: 14px; }
.val-estado.si { border-left-color: var(--success); }
.val-estado-t { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: .8px; color: var(--text); margin-bottom: 6px; }
.val-lista { margin: 4px 0 14px; padding-left: 20px; color: var(--text); font-size: 14px; line-height: 1.55; }
.val-via { margin-top: 10px; line-height: 1.5; }
/* The validation steps. */
.val-paso { margin: 14px 0; }
.val-paso.hecho { border-left: 4px solid var(--success); }
.val-paso-t { font-family: 'Oswald', sans-serif; font-size: 14px; letter-spacing: .8px; color: var(--accent); margin-bottom: 8px; }
.val-correo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 0 6px; }
.val-correo-dir { font-weight: 600; color: var(--text); word-break: break-all; }
.val-correo-est { font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid currentColor; }
.val-correo-est.si { color: var(--success); }
.val-correo-est.no { color: var(--danger); }
.val-codigo { max-width: 180px; font-size: 20px; letter-spacing: 6px; text-align: center; }
.val-err { color: var(--danger); font-size: 13px; margin: 6px 0; }
.val-botones { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.val-botones > button { flex: 1 1 140px; width: auto; }
.val-dev { margin: 8px 0; }
/* The commercial checkbox, right below the verified email and meant to be
   seen: accent-tinted, with an accent edge (2026-10-09). */
.val-comercial { margin: 4px 0 2px; }
.val-comercial .chk-row {
  margin-top: 6px; line-height: 1.45; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 10%, var(--card));
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  border-left: 4px solid var(--accent);
}
.val-comercial .chk-row input[type="checkbox"] { width: 20px; height: 20px; }
.val-comercial-nota { margin: 6px 2px 0; font-size: 12px; }
/* The email on its own card (request in progress, entity validated). */
.val-correo-card .val-correo { margin-top: 2px; }
.val-sub-t { font-family: 'Oswald', sans-serif; font-size: 13px; letter-spacing: .6px; color: var(--text); margin: 6px 0 4px; }
.val-sep { height: 1px; background: var(--border); margin: 16px 0 10px; }
.val-certif { margin-top: 12px; }
.val-rechazo { border-left: 3px solid var(--danger); }
/* The QR goes on white in both themes: a reader cannot see a light QR on dark. */
.val-qr { background: #fff; border-radius: 10px; padding: 10px; width: min(280px, 80vw); aspect-ratio: 1; margin: 6px auto 12px; }
/* The loose buttons of the steps, separated from the field above. */
.val-paso > button { margin-top: 12px; }
/* Step 1's address, filled in on the screen itself (js/views/validation-address.js).
   Postal code and town share a row, as on «Ficha pública». */
.val-dir { margin: 4px 0 2px; }
.val-dir .form-explain { margin-bottom: 10px; }
.val-dir-fila { display: flex; gap: 10px; }
.val-dir-fila > .form-group { min-width: 0; }
.val-dir-fila > .form-group:first-child { flex: 1 1 0; }
.val-dir-fila > .form-group:last-child { flex: 2 1 0; }
.val-dir .input[aria-invalid="true"] { border-color: var(--danger); }
.val-dir > button[type="submit"] { margin-top: 6px; min-height: 48px; }
/* The label with its help "?" (validation code). */
.val-cod-lbl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.val-ayuda { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--accent); font-weight: 700; cursor: pointer; }
.val-ayuda:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (pointer: coarse) { .val-ayuda { width: 44px; height: 44px; min-width: 44px; } }
/* TiroLog has written to the entity about its validation (2026-10-01): the
   label in the accent colour, with a message icon and its own words. */
.tl-valid-chip.msg { --vc: var(--accent); }
/* The conversation with TiroLog on the "Validation" screen
   (js/views/validation-dialog.js): TiroLog on the left, the entity on the
   right; who and when written out, never the colour alone. */
.val-hilo { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 14px; }
.val-msg { max-width: 88%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--card); }
.val-msg.tl { align-self: flex-start; border-left: 3px solid var(--accent); }
.val-msg.ent { align-self: flex-end; background: var(--surface); }
.val-msg-cab { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.val-msg-quien { font-weight: 700; color: var(--text); }
.val-msg-fecha { white-space: nowrap; }
.val-msg-txt { font-size: 14px; color: var(--text); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.val-msg-doc { margin-top: 6px; font-size: 12px; color: var(--accent); font-weight: 600; }
.val-pide-doc { border-left: 3px solid var(--accent); margin-bottom: 12px; }
#valDlgEnviar { margin-top: 10px; }

/* A request in progress: the steps, the conversation, the folded details (2026-10-01). */
.val-seg { list-style: none; margin: 0 0 10px; padding: 0; display: flex; gap: 6px; }
.val-seg li { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--muted); position: relative; }
.val-seg li + li::before { content: ""; position: absolute; top: 14px; right: calc(50% + 18px); width: calc(100% - 30px); height: 2px; background: var(--border); }
.val-seg li.hecho + li::before { background: var(--success); }
.val-seg-ico { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; border: 2px solid var(--border); background: var(--card); color: var(--muted); }
.val-seg-ico svg { width: 16px; height: 16px; }
.val-seg li.hecho { color: var(--text); }
.val-seg li.hecho .val-seg-ico { border-color: var(--success); background: var(--success); color: var(--accent-fg); }
.val-seg li.actual { color: var(--text); font-weight: 700; }
.val-seg li.actual .val-seg-ico { border-color: var(--accent); color: var(--accent); }
.val-seg li.actual.aviso .val-seg-ico { background: var(--accent); color: var(--accent-fg); }
.val-seg-linea { margin: 0 0 10px; }
.val-curso .val-hilo { margin-top: 8px; }
.val-anteriores { width: auto; margin: 4px 0 8px; }
.val-doc-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.val-datos { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 6px; }
.val-datos summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--accent); font-weight: 600; font-size: 14px; }
.val-datos summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.val-datos-fila { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 10px; color: var(--text); font-size: 14px; overflow-wrap: anywhere; }
.val-datos-fila .form-label { margin: 0; }
/* A validated federation's shortcut to validate a club, under the label. */
.tl-valid-club { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 8px; }
.tl-valid-club svg { width: 18px; height: 18px; flex: 0 0 18px; }
/* The field a shortcut sent you to, marked for a moment (org-ficha.js, `_enfocarPedido`). */
.tl-foco-pedido { border-radius: 10px; box-shadow: 0 0 0 2px var(--accent); transition: box-shadow .3s ease; }
@media (prefers-reduced-motion: reduce) { .tl-foco-pedido { transition: none; } }

/* ══════════════════════════════════════════════════════════════
   THE ORGANISATION EMAIL (js/views/correo-org.js, 2026-10-09)
   The private address TiroLog uses to talk to the entity: its status
   badge carries an icon and a word, never colour alone.
   ══════════════════════════════════════════════════════════════ */
.tl-valid-chip.fijo { cursor: default; }
.tl-valid-chip.fijo:hover { background: color-mix(in srgb, var(--vc) 12%, var(--card)); }
.corg-card { margin-top: 10px; }
.corg-privado { margin: 0 0 4px; }
.corg-est { display: inline-flex; align-items: center; gap: 4px; }
.corg-est svg { width: 13px; height: 13px; flex: 0 0 13px; }
.tl-correo-org .corg-cambiar { width: auto; min-height: 44px; margin: 4px 0 8px; }
.tl-correo-org .val-comercial { margin-top: 10px; }

/* ══════════════════════════════════════════════════════════════
   DIFFERENCES BETWEEN VALIDATED AND NOT VALIDATED
   (js/views/validation-differences.js, 2026-10-09)
   A closed disclosure that opens a three-column table. It must fit a
   390 px phone with no sideways scroll: fixed layout, the first column
   wider, and every cell allowed to wrap. Marks are a tick or a cross
   (different SHAPES) plus a hidden word, never colour alone.
   ══════════════════════════════════════════════════════════════ */
.card.val-dif { padding: 0; margin: 14px 0; overflow: hidden; }
.val-dif-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: transparent; border: none; color: var(--text);
  font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.35;
  text-align: left; cursor: pointer;
}
.val-dif-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) { .val-dif-btn:hover { background: var(--hover-soft); } }
.val-dif-btn-t { min-width: 0; overflow-wrap: anywhere; }
.val-dif-chev { width: 20px; height: 20px; flex: 0 0 20px; color: var(--accent); transition: transform .2s ease; }
.val-dif-btn[aria-expanded="true"] .val-dif-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .val-dif-chev { transition: none; } }
.val-dif-panel { padding: 0 14px 14px; border-top: 1px solid var(--border); }
.val-dif-tabla { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 6px 0 10px; font-size: 13px; line-height: 1.4; }
.val-dif-tabla th, .val-dif-tabla td {
  padding: 9px 4px; border-bottom: 1px solid var(--border);
  vertical-align: middle; overflow-wrap: anywhere; hyphens: auto;
}
.val-dif-tabla thead th { font-size: 12px; font-weight: 700; color: var(--text-dim); text-align: center; vertical-align: bottom; }
.val-dif-tabla thead th:first-child { width: 46%; text-align: left; }
.val-dif-tabla tbody th { font-weight: 400; color: var(--text); text-align: left; padding-left: 0; }
.val-dif-tabla td { text-align: center; color: var(--text); }
.val-dif-tabla tbody tr:last-child th, .val-dif-tabla tbody tr:last-child td { border-bottom: none; }
.val-dif-marca { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; }
.val-dif-marca svg { width: 16px; height: 16px; }
.val-dif-marca.si { color: var(--success); background: color-mix(in srgb, var(--success) 14%, transparent); }
.val-dif-marca.no { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
/* The word behind the mark, for screen readers only. */
.val-dif-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.val-dif-comun { margin: 4px 0 0; line-height: 1.5; }
@media (min-width: 600px) { .val-dif-tabla th, .val-dif-tabla td { padding: 10px 8px; } }

/* «Couldn't check your organization» (TLPerms.pintarFallo, 2026-10-09): the
   info box with its retry button, shared by «Mi perfil» and Validation. */
.tl-perms-fallo p { margin: 0 0 10px; line-height: 1.5; }
.tl-perms-reintentar { min-height: 44px; }

/* ══════════════════════════════════════════════════════════════
   A CLUB CHOOSES HOW TO VALIDATE (js/views/validation-routes.js, 2026-10-09)
   Three cards (whole card is the button, >=64 px tall), then only the chosen
   route: its heading with «Choose another way», and the steps. A step that
   can't be done yet shows its title dimmed; a done one carries a tick AND
   the word, never colour alone.
   ══════════════════════════════════════════════════════════════ */
.val-rutas { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 6px; }
.val-rutas > .form-label { margin: 0 0 2px; }
.val-ruta {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--text); font-family: inherit; text-align: left;
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.val-ruta:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .val-ruta:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
}
@media (prefers-reduced-motion: reduce) { .val-ruta { transition: none; } }
.val-ruta-ico { width: 24px; height: 24px; flex: 0 0 24px; color: var(--accent); }
.val-ruta-txt { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.val-ruta-t { font-size: 16px; font-weight: 700; line-height: 1.3; }
.val-ruta-d { font-size: 13px; line-height: 1.4; color: var(--text-dim); overflow-wrap: anywhere; }
.val-ruta-chev { width: 18px; height: 18px; flex: 0 0 18px; color: var(--text-dim); }
.val-ruta-cab { display: flex; align-items: center; gap: 10px; margin: 18px 0 4px; }
.val-ruta-cab-t { flex: 1 1 auto; min-width: 0; font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: .6px; color: var(--text); }
.val-ruta-otra {
  flex: 0 0 auto; min-height: 44px; padding: 0 4px; border: none; background: transparent;
  color: var(--accent); font-family: inherit; font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.val-ruta-otra:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
/* The signature route's steps. */
.val-fpaso { margin: 12px 0; }
.val-fpaso-cab { display: flex; align-items: center; gap: 10px; }
.val-fpaso.actual .val-fpaso-cab, .val-fpaso.hecho .val-fpaso-cab:not(:last-child) { margin-bottom: 10px; }
.val-fpaso-num {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 999px; display: inline-flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
  border: 2px solid var(--accent); color: var(--accent);
}
.val-fpaso-num svg { width: 16px; height: 16px; }
.val-fpaso-t { flex: 1 1 auto; min-width: 0; margin: 0; font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 400; letter-spacing: .6px; color: var(--text); }
.val-fpaso-ok { font-size: 12px; font-weight: 700; color: var(--success); }
.val-fpaso.hecho .val-fpaso-num { border-color: var(--success); background: var(--success); color: var(--accent-fg); }
.val-fpaso.bloq .val-fpaso-num { border-color: var(--border); color: var(--text-dim); }
.val-fpaso.bloq .val-fpaso-t { color: var(--text-dim); }
.val-fpaso.bloq .form-explain { margin: 6px 0 0 38px; }
.val-fpaso > button { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   «VALIDADO / SIN VALIDAR» AND WHAT IT MEANS (ticket #281, 2026-10-10).
   One label for «Vinculaciones», its confirmation card and Collaborators,
   and the shooter's explanation (TLValDiferencias). Validated carries the
   success colour AND a shield; not validated is NEUTRAL (muted, an «i»):
   it's a state the club can change, not an error. Never colour alone.
   ══════════════════════════════════════════════════════════════ */
.val-etq-fila { margin-top: 6px; }
.val-etq {
  display: inline-flex; align-items: center; gap: 5px; max-width: 100%;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--muted);
  font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.4;
}
.val-etq > span { min-width: 0; overflow-wrap: anywhere; }
.val-etq.si { color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 10%, transparent); }
.val-etq-ico { width: 14px; height: 14px; flex: 0 0 14px; }
.val-etq-btn { cursor: pointer; position: relative; }
.val-etq-btn:focus-visible, .val-exp-enlace:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .val-etq-btn:hover { border-color: var(--accent); } }
/* The finger gets 44 px without the pill growing (norms §8-ter e). */
@media (pointer: coarse) {
  .val-etq-btn::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
}
.val-etq-nota { margin: 8px 0 0; line-height: 1.5; }
.val-exp-enlace {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 2px;
  border: none; background: transparent; color: var(--accent); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; vertical-align: middle;
}
.val-exp-p { margin: 0 0 10px; color: var(--text); font-size: 14px; line-height: 1.55; }
.val-exp-lista { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.val-exp-lista li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 14px; line-height: 1.45; }
.val-exp-lista .val-dif-marca { flex: 0 0 26px; }
.val-exp-lista li > span:last-child { padding-top: 3px; min-width: 0; overflow-wrap: anywhere; }
.val-exp-pide { margin: 0; }
/* Under the card's sentence, on its own line: inline, its 44 px stretched
   the paragraph's line. */
.val-etq-nota .val-exp-enlace { display: flex; margin-top: 2px; }
