:root {
  /* Paleta tomada de las publicaciones oficiales: rosa vivo arriba, frambuesa al centro, vino rojizo abajo */
  --vino: #6c1927;
  --vino-2: #8b2440;
  --vino-3: #b64362;
  --rosa: #f4a9c6;
  --rosa-2: #e15786;
  --rosa-logo: #eb809c;
  --acento: #b03a62;
  --blush: #fde7ee;
  --crema: #fff5f8;
  --papel: #ffffff;
  --tinta: #3a0f1b;
  --tinta-2: #7a5560;
  --linea: #f1d3dc;
  --ok: #2f7d5b;
  --aviso: #b8741a;
  --mal: #b3263e;
  --c5B: #f9b7cb;
  --c5A: #f6dccb;
  --c4B: #d9cfd2;
  --c4A: #f0a0ba;
  --t-Rosa: #f29bb5;
  --t-Gris: #a9a2a6;
  --t-Beige: #d9c3a5;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Quicksand", system-ui, -apple-system, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--tinta); font-family: var(--sans); font-size: 16px; line-height: 1.45; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

.demo-bar { background: var(--aviso); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 500; }

/* Encabezado */
.hero { position: relative; overflow: hidden; background: linear-gradient(175deg, #e15786 0%, #c4486a 42%, #8b2440 78%, #7a1f38 100%); color: #fff; padding: 14px 16px 24px; text-align: center; }
/* Sombra de raqueta con sus agujeros, como en las publicaciones */
.hero::before { content: ""; position: absolute; top: -70px; right: -110px; width: 340px; height: 400px; border-radius: 50% 50% 46% 54%; transform: rotate(-12deg); pointer-events: none;
  background: radial-gradient(circle at center, rgba(225,87,134,.9) 0 6px, transparent 7px) 8px 8px / 30px 30px, rgba(108,25,39,.34); opacity: .6; }
.hero > * { position: relative; z-index: 1; }
.hero-top { display: flex; justify-content: space-between; align-items: center; max-width: 960px; margin: 0 auto; }
.hero-club { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #fff; font-weight: 700; opacity: .95; }
.session { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.session .who { color: #fff; font-weight: 600; }
.btn-ghost { background: rgba(108,25,39,.18); border: 1px solid rgba(255,255,255,.7); color: #fff; font-weight: 600; padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.logo { margin: 10px 0 0; font-family: var(--serif); font-weight: 400; line-height: .95; position: relative; display: inline-block; margin-left: 3px; }
.logo-a { display: block; font-size: clamp(52px, 13vw, 84px); letter-spacing: .01em; }
.logo-b { display: block; font-size: clamp(54px, 14vw, 90px); font-style: italic; font-weight: 600; margin-top: -8px; }
.logo-c { display: block; font-family: var(--script); font-size: clamp(30px, 8vw, 44px); color: var(--rosa); margin-top: -14px; text-align: right; padding-right: 4px; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 19px; margin: 8px 0 14px; color: #fff; text-shadow: 0 1px 8px rgba(108,25,39,.35); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 13px; }
.pill-h { border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; color: #fff; background: rgba(108,25,39,.22); font-weight: 600; }
.hero-meta { max-width: 960px; margin: 0 auto; }
.btn-update { display: inline-block; margin: 0; background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 5px 14px; font: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; cursor: pointer; }
.btn-update:hover { background: #fff; color: #7a1f38; }
.btn-update:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-update:disabled { opacity: .75; cursor: wait; }
.btn-instalar[hidden] { display: none; }
:root { --instalar-color: #7a1f38; }
.hero-update { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; max-width: 960px; margin: 12px auto 0; }
.hero-hora { font-size: 12px; color: #fff; opacity: .9; font-weight: 600; }
.prog-wrap { flex-basis: 100%; display: flex; justify-content: center; }
.prog { width: 100%; max-width: 360px; margin: 14px auto 0; }
.prog-bar { height: 7px; background: rgba(255,255,255,.28); border-radius: 999px; overflow: hidden; }
.prog-bar i { display: block; height: 100%; background: #fff; border-radius: 999px; }
.prog small { display: block; margin-top: 6px; color: #fff; font-size: 12px; font-weight: 600; }

/* Pestanas */
.tabs { position: sticky; top: 0; z-index: 20; background: #7a1f38; display: flex; gap: 2px; overflow-x: auto; padding: 0 8px; box-shadow: 0 4px 14px rgba(74,15,31,.25); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; background: none; border: 0; color: #f6cfdc; padding: 13px 14px; font-size: 14px; font-weight: 700; letter-spacing: .04em; position: relative; white-space: nowrap; }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--rosa); }
.tab.staff { color: #ffd0e0; }

.view { max-width: 960px; margin: 0 auto; padding: 18px 16px 40px; }
.foot { text-align: center; color: var(--tinta-2); font-size: 12px; padding: 0 16px 28px; }
.foot .by { margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; opacity: .8; }
.foot .by img { height: 26px; width: auto; }

h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 4px 0 4px; color: var(--vino); }
h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 0 0 8px; color: var(--vino); }
.sub { color: var(--tinta-2); margin: 0 0 14px; font-size: 14px; }
.card { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r); padding: 16px; margin-bottom: 14px; box-shadow: 0 1px 0 rgba(74,15,31,.04); }
.card.tint { background: var(--blush); border-color: #f3c9d5; }

/* Chips y selectores */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { border: 1px solid var(--linea); background: var(--papel); color: var(--tinta); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: #fff; }
.chip small { opacity: .7; font-weight: 400; }
.jchips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 10px; scrollbar-width: none; }
.jchips::-webkit-scrollbar { display: none; }
.jchip { flex: 0 0 auto; min-width: 64px; text-align: center; border: 1px solid var(--linea); background: var(--papel); border-radius: 14px; padding: 6px 10px; }
.jchip b { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.jchip span { font-size: 11px; color: var(--tinta-2); }
.jchip[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); color: #fff; }
.jchip[aria-pressed="true"] span { color: #ffe3ec; }
.jchip.hoy { box-shadow: 0 0 0 2px var(--rosa-2); }
select, input[type="text"], input[type="password"], input[type="number"], textarea { border: 1px solid var(--linea); border-radius: 10px; padding: 9px 11px; background: #fff; width: 100%; }
select { width: auto; max-width: 100%; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--rosa-2); outline-offset: 1px; }

/* Puntos de color de equipo */
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.12); }
.dot-Rosa { background: var(--t-Rosa); } .dot-Gris { background: var(--t-Gris); } .dot-Beige { background: var(--t-Beige); }
.cat { display: inline-block; border-radius: 8px; padding: 2px 9px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--vino); }
.cat-5B { background: var(--c5B); } .cat-5A { background: var(--c5A); } .cat-4B { background: var(--c4B); } .cat-4A { background: var(--c4A); }

/* Tabla */
.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
table.pos { width: 100%; border-collapse: collapse; font-size: 15px; }
table.pos th { text-align: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); font-weight: 500; padding: 8px 6px; border-bottom: 2px solid var(--vino); }
table.pos th:nth-child(2), table.pos td:nth-child(2) { text-align: left; }
table.pos td { padding: 12px 6px; text-align: center; border-bottom: 1px solid var(--linea); font-variant-numeric: tabular-nums; }
table.pos td.eq { font-weight: 600; white-space: nowrap; }
table.pos td.pts { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--vino); }
table.pos td.pos { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--vino-3); width: 34px; }
table.pos tr.corte td { border-bottom: 2px dashed var(--rosa-2); }
.neg { color: var(--mal); } .posi { color: var(--ok); }
.flag { display: inline-block; font-size: 11px; background: #fff1d6; color: var(--aviso); border-radius: 6px; padding: 1px 6px; margin-left: 6px; font-weight: 600; }
.legend { font-size: 13px; color: var(--tinta-2); margin: 10px 0 0; }
.siglas { list-style: disc; margin: 10px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.5; color: var(--tinta-2); columns: 2; column-gap: 18px; }
.siglas li { break-inside: avoid; }
.siglas b { color: var(--tinta); font-weight: 600; }
ul.clean { margin: 0; padding-left: 20px; } ul.clean li { margin: 4px 0; }
ol.clean { margin: 0; padding-left: 22px; } ol.clean li { margin: 4px 0; }

/* Cuadro final */
.bracket { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bracket { grid-template-columns: 1fr 1fr; } }
.semi { border: 1px solid var(--linea); border-radius: 14px; padding: 12px 14px; background: var(--papel); }
.semi .vs { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.semi .vs em { font-family: var(--serif); color: var(--rosa-2); font-size: 20px; }
.seed { font-size: 12px; color: var(--tinta-2); font-weight: 400; margin-left: 4px; }

/* Calendario */
.jhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 4px; }
.status { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; }
.st-jugada { background: #e3f3ea; color: var(--ok); } .st-hoy { background: var(--rosa-2); color: #fff; } .st-prox { background: var(--blush); color: var(--vino-2); }
.cruces { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 14px; }
@media (min-width: 640px) { .cruces { grid-template-columns: repeat(3, 1fr); } }
.cruce-card { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 12px 14px; }
.cruce-card .n { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-2); }
.cruce-card .teams { font-weight: 600; margin: 4px 0; }
.cruce-card .score { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--vino); line-height: 1; }
.cruce-card .score small { font-family: var(--sans); font-size: 12px; color: var(--tinta-2); font-weight: 400; }
.hora { margin: 18px 0 8px; display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--vino); }
.hora::after { content: ""; flex: 1; height: 1px; background: var(--linea); }
.games { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .games { grid-template-columns: 1fr 1fr; } }
.game { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 10px 12px; }
.game-top { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tinta-2); }
.game-top .cancha { margin-left: auto; font-weight: 500; }
.game-teams { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; margin-top: 6px; align-items: center; }
.game-teams .t { font-weight: 600; } .game-teams .pair { grid-column: 1; font-size: 13px; color: var(--tinta-2); margin: -1px 0 4px 18px; }
.game-teams .p { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--vino); text-align: right; min-width: 22px; }
.game-teams .win .t { color: var(--vino); }
.sets { font-size: 13px; color: var(--tinta-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.lock { font-size: 13px; color: var(--tinta-2); background: var(--blush); border-radius: 8px; padding: 5px 9px; margin-top: 6px; display: inline-block; margin-left: 3px; }
.pendiente { font-size: 12px; color: var(--tinta-2); margin-top: 6px; }
.empty { text-align: center; color: var(--tinta-2); padding: 26px 12px; border: 1px dashed var(--linea); border-radius: 14px; background: #fffdfc; }

/* Formularios de captura */
.btn { background: var(--acento); color: #fff; border: 0; border-radius: 12px; padding: 10px 18px; font-weight: 600; }
.btn:hover { background: var(--vino-2); }
.btn.sec { background: var(--blush); color: var(--acento); }
.btn.sec:hover { background: #f6d3de; }
.btn.small { padding: 7px 13px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.actual[disabled] { opacity: 1; }
.link { background: none; border: 0; color: var(--vino-3); text-decoration: underline; padding: 4px; }
.row-cap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 0; border-top: 1px solid var(--linea); }
.row-cap:first-of-type { border-top: 0; }
.row-cap .who { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14px; }
.setrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.setbox { min-width: 0; border: 1px solid var(--linea); border-radius: 10px; padding: 6px; background: #fffdfc; }
.setbox label { display: block; font-size: 11px; color: var(--tinta-2); text-align: center; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.setbox .pairin { display: flex; gap: 4px; align-items: center; justify-content: center; }
.setbox input { width: 46px; min-width: 0; flex: 0 1 46px; text-align: center; padding: 8px 2px; }
.setbox .dash { color: var(--tinta-2); }
.rowbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rowbar .prev { flex: 1; font-size: 14px; min-width: 160px; }
.warn { color: var(--aviso); font-size: 13px; margin: 2px 0 0; }
.okmsg { color: var(--ok); font-size: 13px; }
.lin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lin-grid .pair-t { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); margin-top: 4px; }
.lin-grid .pair-t .pair-hora { letter-spacing: normal; text-transform: none; color: var(--acento); font-weight: 700; }
.lin-grid .pair-t .pair-hora.pend { color: var(--aviso); font-style: italic; }
.lin-grid .horapick { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--tinta-2); margin: -2px 0 2px; }
.matrix { display: grid; grid-template-columns: 1fr repeat(4, 42px); gap: 6px 4px; align-items: center; font-size: 14px; }
.matrix .h { font-size: 11px; text-align: center; color: var(--tinta-2); letter-spacing: .06em; }
.matrix .c { text-align: center; }
.tick { color: var(--ok); font-weight: 700; } .nada { color: #c9b5bb; }

/* Equipos */
.teams-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .teams-grid { grid-template-columns: 1fr 1fr; } }
.team-card { background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r); padding: 16px; border-top: 5px solid var(--t-Gris); }
.team-card.c-Rosa { border-top-color: var(--t-Rosa); } .team-card.c-Beige { border-top-color: var(--t-Beige); }
.team-card .num { font-family: var(--serif); font-size: 40px; font-weight: 700; color: var(--vino-3); line-height: 1; float: right; }
.team-card h3 { margin-bottom: 2px; }
.roster { margin-top: 10px; font-size: 14px; }
.roster b { display: inline-block; min-width: 30px; }

/* Modal y aviso */
.modal { position: fixed; inset: 0; background: rgba(42,11,20,.55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal-card { background: #fff; border-radius: 18px; padding: 22px; width: 100%; max-width: 380px; }
.modal-card h3 { margin-top: 0; }
.field { margin: 0 0 12px; } .field label { display: block; font-size: 13px; color: var(--tinta-2); margin-bottom: 4px; }
.err { color: var(--mal); font-size: 14px; margin: 0 0 10px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--vino); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 60; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.toast.bad { background: var(--mal); }
@media (max-width: 420px) { table.pos { font-size: 14px; } table.pos td, table.pos th { padding-left: 3px; padding-right: 3px; } }

.sancnote { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--mal); line-height: 1; margin-top: 2px; }
.serie { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--vino); margin-top: 6px; }
.serie small { font-family: var(--sans); font-size: 12px; color: var(--tinta-2); font-weight: 400; }
.chk { display: flex; gap: 6px; align-items: center; font-size: 14px; } .chk input { width: auto; }

.logo-img { display: block; width: min(44vw, 230px); height: auto; margin: 2px auto 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h2, h3, .jchip b, .hora, .cruce-card .score, table.pos td.pts, table.pos td.pos, .game-teams .p, .team-card .num, .serie { font-variant-numeric: lining-nums; }
h2 { letter-spacing: -.01em; }
.chip, .btn, .btn-ghost { letter-spacing: .01em; }
body { font-weight: 500; }

/* Encabezado compacto en celular para que la tabla se vea sin bajar tanto */
@media (max-width: 600px) {
  .hero { padding: 10px 16px 14px; }
  .tagline { font-size: 16px; margin: 6px 0 10px; }
  .hero-meta { gap: 6px; }
  .pill-h { font-size: 12px; padding: 4px 11px; }
  .prog { margin-top: 10px; }
  .prog small { font-size: 11px; }
  .hero::before { width: 260px; height: 320px; top: -60px; right: -100px; }
}

/* Nombres completos de equipo ("The Volley House"): pueden partirse en dos lineas en pantallas chicas */
table.pos td.eq { white-space: normal; line-height: 1.2; }
@media (max-width: 480px) { table.pos td.eq { font-size: 14px; min-width: 112px; } }

/* Subpestanas por cruce (Capturar) */
.ctabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 12px; }
.ctab { text-align: left; background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 9px 10px; display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.ctab b { font-family: var(--serif); font-size: 16px; color: var(--vino); }
.ctab span { font-size: 12px; overflow-wrap: anywhere; }
.ctab em { font-style: normal; font-size: 11px; color: var(--tinta-2); margin-top: 3px; }
.ctab[aria-pressed="true"] { background: var(--acento); border-color: var(--acento); }
.ctab[aria-pressed="true"] b, .ctab[aria-pressed="true"] span, .ctab[aria-pressed="true"] em { color: #fff; }
@media (max-width: 520px) { .ctabs { grid-template-columns: 1fr; } .ctab { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px; } .ctab em { margin: 0 0 0 auto; } }

/* Alineaciones (2 jugadoras cada una) en la captura de resultados */
.parejas { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; background: var(--blush); border-radius: 12px; padding: 8px 10px; font-size: 14px; }
.parejas .vs { font-family: var(--serif); color: var(--rosa-2); font-size: 16px; }
.pareja small { display: block; color: var(--tinta-2); font-size: 11px; line-height: 1.2; }
.pareja b { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 420px) { .parejas { grid-template-columns: minmax(0, 1fr); } .parejas .vs { display: none; } }

/* Filas y tarjetas que se pueden tocar */
.clic { cursor: pointer; }
table.pos tr.clic:hover td { background: var(--blush); }
.team-card.clic:hover { box-shadow: 0 6px 20px rgba(176,58,98,.18); transform: translateY(-1px); transition: .15s; }
.clic:focus-visible { outline: 2px solid var(--rosa-2); outline-offset: 2px; }

/* Ficha de equipo */
.modal-card.wide { max-width: 680px; max-height: 88vh; overflow-y: auto; }
.jug-cat { margin: 0 0 14px; }
.jug-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.jug { border: 1px solid var(--linea); border-radius: 10px; padding: 8px 10px; font-size: 14px; font-weight: 600; background: #fff; }
.jug .pend { color: #b9a2aa; font-weight: 500; }
@media (max-width: 420px) { .jug-grid { grid-template-columns: 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0; }
.kpis div { background: var(--blush); border-radius: 12px; padding: 8px 4px; text-align: center; }
.kpis b { display: block; font-family: var(--serif); font-size: 24px; color: var(--vino); line-height: 1.1; }
.kpis small { font-size: 11px; color: var(--tinta-2); }
details.dj { border: 1px solid var(--linea); border-radius: 12px; margin: 6px 0; background: #fff; }
details.dj summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; cursor: pointer; font-size: 14px; list-style: none; }
details.dj summary::-webkit-details-marker { display: none; }
details.dj[open] summary { border-bottom: 1px solid var(--linea); }
.drow { display: flex; gap: 8px; align-items: center; padding: 6px 12px; font-size: 13px; border-top: 1px solid #f7e6eb; }
.drow:first-of-type { border-top: 0; }
.drow .dpar { display: flex; flex-direction: column; line-height: 1.3; }
.drow .dpar small { color: var(--tinta-2); font-size: 12px; }
.drow .dres { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }

/* Suplentes: hasta que el Comite las apruebe no aparecen como aceptadas */
.bdg { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .02em; border-radius: 6px; padding: 1px 6px; margin-left: 2px; vertical-align: 1px; }
.bdg.pend { background: #fff1d6; color: var(--aviso); }
.bdg.ok { background: #e3f3ea; color: var(--ok); }
.bdg.no { background: #fde3e8; color: var(--mal); }

/* Lista de asistencia */
.asis { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 10px 12px; margin: 6px 0; }
.asis.lleg { background: #f3fbf6; border-color: #cfe9d9; }
.asis-info { min-width: 0; }
.asis-btn { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: 0 0 auto; }
.asis-btn .btn { padding: 12px 22px; font-size: 16px; }
.asis-est { font-size: 13px; font-weight: 700; margin-top: 2px; }
.asis-est.ok { color: var(--ok); } .asis-est.aviso { color: var(--aviso); } .asis-est.mal { color: var(--mal); }

/* Secciones solo para administradoras y organizadores: color dorado y separador en la barra */
:root { --oro: #ffd47a; --oro-suave: #fff4d6; --oro-borde: #f0c766; --oro-texto: #8a5a00; }
.tab.staff { color: var(--oro); }
.tab.staff-first { margin-left: 8px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.28); }
.tab.staff[aria-selected="true"] { color: #fff; }
.tab.staff[aria-selected="true"]::after { background: var(--oro); }
.rolbadge { display: inline-block; vertical-align: middle; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--oro-suave); color: var(--oro-texto); border: 1px solid var(--oro-borde); border-radius: 999px; padding: 3px 10px; margin-left: 8px; }
.staffcard { border-left: 4px solid var(--oro-borde); }

.lin-grid .horapick .nota-fija { flex-basis: 100%; font-size: 11.5px; color: var(--tinta-2); }
.lin-grid .aviso-mov { color: #8a4b00; background: #fff4e0; border-radius: 8px; padding: 6px 8px; }
.bloques { background: var(--papel, #fff); border: 1px solid var(--linea); border-radius: 10px; padding: 10px 12px; margin: 8px 0 12px; font-size: 13px; }
.bloques-grid { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0; }
.bloques .nota-fija { margin: 4px 0 0; font-size: 12px; color: var(--tinta-2); }
.lin-grid .res-tag { font-weight: 700; color: var(--vino, #6C1927); }
.lin-grid .pair-t .pair-hora { font-size: 13.5px; background: var(--papel); border: 1px solid var(--rosa); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.lin-grid .pair-t { align-items: center; }
.btn.res-btn { background: var(--papel); color: var(--acento); border: 1.5px solid var(--acento); }
.btn.res-btn:hover { background: var(--acento); color: #fff; }
.bloques-scroll { overflow-x: auto; margin: 8px 0 6px; -webkit-overflow-scrolling: touch; }
.bloques-tabla { border-collapse: separate; border-spacing: 3px; width: 100%; min-width: 460px; font-size: 12px; text-align: center; }
.bloques-tabla th { background: var(--vino); color: #fff; font-weight: 600; padding: 6px 4px; border-radius: 6px; white-space: nowrap; }
.bloques-tabla td { border-radius: 6px; padding: 5px 3px; line-height: 1.25; color: var(--vino); }
.bloques-tabla td b { display: block; font-size: 12.5px; }
.bloques-tabla td span { font-size: 11px; color: var(--tinta); }
.bloques-tabla td.bc-5B { background: var(--c5B); } .bloques-tabla td.bc-5A { background: var(--c5A); }
.bloques-tabla td.bc-4B { background: var(--c4B); } .bloques-tabla td.bc-4A { background: var(--c4A); }
.bloques-tabla td.vacia { background: var(--crema); color: var(--tinta-2); }
.bloques-tabla td.mio { outline: 2.5px solid var(--vino); outline-offset: -2.5px; }
.lin-grid .aviso-rival { color: var(--vino); background: var(--papel); border: 1px solid var(--rosa); border-radius: 8px; padding: 6px 8px; }
.hero { cursor: pointer; }
.hero .session { cursor: auto; }

/* Buzon de quejas */
.badge-n { display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: #E15786; color: #fff; font-size: 11px; line-height: 18px; text-align: center; font-weight: 700; }
.queja-foto { display: block; max-width: 100%; max-height: 260px; margin-top: 10px; border-radius: 12px; border: 1px solid var(--linea); }
.queja-resp { margin-top: 12px; padding: 10px 12px; border-left: 3px solid #E15786; background: var(--blush); border-radius: 0 10px 10px 0; font-size: 14px; }
.queja-resp small { display: block; color: var(--tinta-2); margin-bottom: 3px; }
.queja-form { margin-top: 12px; border-top: 1px solid var(--linea); padding-top: 10px; }
.queja-form textarea, #fQueja textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; border: 1px solid var(--linea); border-radius: 12px; }
.aviso-txt { color: #b7791f; }
.tema-chip { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--blush); color: var(--acento); border: 1px solid #f3c9d5; }
.tema-chip.fuerte { background: #E15786; color: #fff; border-color: #E15786; }
.card.queja.protesta { border-left: 4px solid #E15786; }
.queja.aviso-org { border-left: 4px solid #B64362; }
.mail-grupo { margin: 10px 0; }
.mail-grupo > summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 15px; padding: 8px 2px; color: var(--acento); }
.mail-grupo > summary::-webkit-details-marker { display: none; }
.mail-grupo > summary::before { content: "▸ "; }
.mail-grupo[open] > summary::before { content: "▾ "; }
.mail-n { display: inline-block; min-width: 20px; text-align: center; font-size: 12px; padding: 1px 7px; border-radius: 999px; background: var(--blush); border: 1px solid var(--linea); }
details.mail { border: 1px solid var(--linea); border-radius: 12px; margin: 6px 0; background: #fff; }
details.mail.protesta { border-left: 4px solid #E15786; }
details.mail.aviso-org { border-left: 4px solid #B64362; }
details.mail > summary { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 10px 12px; cursor: pointer; list-style: none; font-size: 14px; }
details.mail > summary::-webkit-details-marker { display: none; }
details.mail[open] > summary { border-bottom: 1px solid var(--linea); background: var(--blush); border-radius: 12px 12px 0 0; }
.mail-de { font-size: 13px; color: var(--tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-asunto { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-tema { font-size: 12px; color: var(--tinta-2); }
.mail-fecha { font-size: 12px; color: var(--tinta-2); white-space: nowrap; }
.mail-body { padding: 10px 12px 12px; }
@media (max-width: 560px) {
  details.mail > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .mail-asunto { grid-column: 1 / -1; grid-row: 2; white-space: normal; }
}
#avisoBox summary, #quejaBox summary { cursor: pointer; }
.wo-box { margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--blush); }

/* Jugadoras por jornada (administracion) */
.jj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.jj-grid .card { margin: 0; min-width: 0; }
.jj-h { margin: 12px 0 2px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-2); }
.rowbar.reemp select { flex: 1 1 180px; min-width: 0; }
.jj-det { border-top: 1px solid var(--linea); }
.jj-det > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 0; cursor: pointer; list-style: none; font-size: 15px; }
.jj-det > summary::-webkit-details-marker { display: none; }
.jj-det > summary::before { content: "▸"; color: var(--rosa-2); font-size: 13px; }
.jj-det[open] > summary::before { content: "▾"; }
.jj-det > summary > span:first-of-type { font-weight: 700; }
.jj-det > summary > b { font-family: var(--serif); font-size: 18px; color: var(--rosa-2); }

/* Capturar: partidos contraídos, pendientes arriba y capturados abajo */
.capsec { margin: 14px 0 4px; font-size: 14px; color: var(--tinta-2); }
details.capbox .row-cap { padding: 10px 12px; border-top: 0; }
details.capbox.hecho { background: #f6fbf7; }

/* Tabla: aviso de jornada preliminar / cerrada */
.estado-j { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; margin: 0 0 12px; font-size: 14px; }
.estado-j span { font-size: 13px; opacity: .85; }
.estado-j.prelim { background: #fff4e0; border: 1px solid #f0c987; color: #7a4b00; }
.estado-j.final { background: #eaf6ee; border: 1px solid #a9d8b8; color: #1d6b3a; }

/* Asistencia: detalle contraído del partido de cada jugadora */
.asis-det { margin-top: 4px; font-size: 13px; }
.asis-det summary { cursor: pointer; color: var(--vino-3); font-weight: 600; font-size: 12px; }
.asis-par { margin: 6px 0 2px; padding: 6px 10px; border-left: 3px solid #F4A9C6; background: #fff7fa; border-radius: 6px; line-height: 1.45; }

/* Capturar: un botón por equipo; 6 en fila en computadora, 3 y 3 en el celular */
.ctabs.eqtabs { grid-template-columns: repeat(6, 1fr); }
.ctabs.eqtabs .ctab { min-width: 0; }
.eqtab b { font-family: var(--sans); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eqtab[aria-pressed="true"] .dot { border-color: #fff; }
@media (max-width: 760px) { .ctabs.eqtabs { grid-template-columns: repeat(3, 1fr); } .ctabs.eqtabs .ctab { flex-direction: column; align-items: flex-start; gap: 1px; } .ctabs.eqtabs .ctab em { margin: 2px 0 0; } }

/* Tabla: partidos que le faltan por registrar a cada equipo en la jornada en curso */
.faltanote { font-size: 10px; line-height: 1.1; color: #9a5b00; background: #fff4e0; border-radius: 6px; padding: 1px 4px; margin-top: 2px; white-space: nowrap; display: inline-block; margin-left: 3px; }

/* Alineaciones para la organizacion: cada partido con sus 4 jugadoras y su palomita de llegada */
.pm-cat { margin: 12px 0 4px; }
.pm { background: var(--papel); border: 1px solid var(--linea); border-radius: 14px; padding: 10px 12px; margin: 8px 0; }
.pm-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: 14px; }
.pm-head span { color: var(--tinta-2); font-size: 13px; }
.pm-eq ul { list-style: none; margin: 4px 0 0; padding: 0; }
.pm-vs { text-align: center; color: var(--rosa-2); font-weight: 700; font-size: 13px; margin: 6px 0; }
.pj { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--linea); font-size: 15px; }
.pj:first-child { border-top: 0; }
.pj-n { min-width: 0; }
.pj-vacia { color: var(--tinta-2); font-size: 13px; }
.pj-chk { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; min-height: 48px; padding: 4px 8px; border-radius: 12px; border: 1px solid var(--linea); background: #fff; color: var(--tinta-2); font: inherit; cursor: pointer; line-height: 1.1; }
.pj-chk b { font-size: 22px; font-weight: 700; }
.pj-chk small { font-size: 11px; font-weight: 700; }
.pj-chk.ok { background: #f3fbf6; border-color: #cfe9d9; color: var(--ok); }
.pj-chk small.ok { color: var(--ok); } .pj-chk small.aviso { color: var(--aviso); } .pj-chk small.mal { color: var(--mal); }
@media (min-width: 720px) { .pm { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 14px; align-items: start; } .pm-head { grid-column: 1 / -1; } .pm-vs { margin-top: 28px; } }

/* Asistencia: cada horario se contrae con un toque */
.hora-det { margin-top: 10px; }
.hora-det > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 8px 0; cursor: pointer; list-style: none; border-bottom: 1px solid var(--linea); }
.hora-det > summary::-webkit-details-marker { display: none; }
.hora-det > summary::before { content: "▾"; color: var(--rosa-2); font-size: 15px; }
.hora-det:not([open]) > summary::before { content: "▸"; }
.hora-cont { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--tinta-2); }

/* Alineaciones: cada cruce contraído por defecto */
.cruce-det > summary { display: block; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; line-height: 1.5; }
.cruce-det > summary::-webkit-details-marker { display: none; }
.cruce-det > summary::before { content: "▸"; display: inline-block; width: 18px; color: var(--rosa-2); font-size: 14px; }
.cruce-det[open] > summary::before { content: "▾"; }
.cruce-det[open] > summary { margin-bottom: 6px; }
.cruce-det > summary .hora-cont { display: block; margin: 2px 0 0 18px; font-family: var(--sans); font-size: 13px; }

/* ---------- Menu tipo app (celular): barra inferior + hojas "Mas" y "Administracion" ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  .tabs { display: none; }
  .tabbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; pointer-events: none; background: var(--crema); padding-top: 8px;
    padding: 8px max(8px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
  .view { padding-bottom: 124px; }
  .foot { padding-bottom: 118px; }
  .toast { bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
.pillbar { pointer-events: auto; margin: 0 auto; width: min(100%, 560px); display: flex; gap: 2px; padding: 8px; border-radius: 999px;
  background: #7a1f38; border: 0; box-shadow: 0 10px 30px rgba(74,15,31,.34); }
.pillbar button { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: transparent;
  border-radius: 999px; padding: 9px 0 8px; font-size: 10px; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.78); white-space: nowrap; }
.pillbar button svg { width: 22px; height: 22px; }
.pillbar button[aria-current="page"] { background: #fff; color: #7a1f38; }
.pillbar .ndot { position: absolute; top: 5px; left: calc(50% + 6px); width: 9px; height: 9px; border-radius: 50%; background: #FF8FB3; border: 2px solid #7a1f38; }

.sheet { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(42,11,20,.5); }
.sheet-card { position: relative; width: 100%; max-width: 560px; max-height: 82vh; overflow-y: auto; background: var(--crema); border-radius: 22px 22px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 40px rgba(42,11,20,.3); animation: sheetUp .22s ease-out; }
@keyframes sheetUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-grip { width: 42px; height: 4px; border-radius: 4px; background: var(--linea); margin: 4px auto 10px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sheet-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.sheet-head h3 svg { width: 20px; height: 20px; color: #7a1f38; }
.sheet-x { border: 0; background: var(--blush); color: var(--vino); width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; }
.sheet-sub { margin: 2px 0 0; font-size: 13px; color: var(--tinta-2); }
.sheet-list { margin-top: 12px; background: var(--papel); border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; }
.sheet-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid var(--linea);
  background: transparent; padding: 15px 16px; font-size: 16px; font-weight: 700; color: var(--tinta); }
.sheet-item:last-child { border-bottom: 0; }
.sheet-item em { font-style: normal; color: var(--tinta-2); font-size: 22px; line-height: 1; }
.sheet-item.on { background: var(--blush); color: var(--vino); }
body.sheet-open { overflow: hidden; }
@media (min-width: 700px) { .sheet { align-items: center; } .sheet-card { border-radius: 22px; } }

/* Compu: la misma barra, pero arriba y fija, con iconos al lado del texto (como Duma); las hojas salen centradas */
@media (min-width: 900px) {
  .tabs { display: none; }
  .tabbar { display: block; position: sticky; top: 0; z-index: 25; background: var(--crema); border-bottom: 1px solid var(--linea); padding: 10px 16px; }
  .pillbar { width: auto; max-width: 960px; box-shadow: none; background: var(--papel); }
  .pillbar button { flex: none; flex-direction: row; gap: 8px; padding: 9px 20px; font-size: 14px; }
  .pillbar button svg { width: 18px; height: 18px; }
  .pillbar .ndot { top: 6px; left: auto; right: 10px; }
  .pillbar button { color: #7a1f38; }
  .pillbar button[aria-current="page"] { background: #7a1f38; color: #fff; }
  .pillbar .ndot { border-color: var(--papel); }
  .sheet-card { max-width: 440px; }
}

/* 5 accesos + Mas (+ Admin): en celular el texto va mas chico y "Alineaciones" se acorta */
.l-s { display: none; }
@media (max-width: 899px) {
  .pillbar { gap: 0; padding: 5px 4px; }
  .pillbar button { font-size: 9.5px; letter-spacing: -.02em; padding: 7px 0 6px; }
  .pillbar button svg { width: 21px; height: 21px; }
  .l-f { display: none; } .l-s { display: inline; }
}

/* Compu: barra del mismo ancho que el contenido, botones repartidos parejo; con pantalla ancha caben todas las secciones sin "Mas" */
.pillbar .bl { white-space: nowrap; }
.pillbar .xtra { display: none; }
@media (min-width: 900px) {
  .tabbar { padding: 10px 16px; }
  .pillbar { width: min(100%, 960px); }
  .pillbar button { flex: 1 1 0; justify-content: center; padding: 9px 8px; }
}
@media (min-width: 1100px) {
  .view, .tabbar .pillbar, .hero-top, .hero-meta, .hero-update { max-width: 1180px; }
  .pillbar { width: min(100%, 1180px); }
  .pillbar .xtra { display: flex; }
  .pillbar .xmas { display: none; }
  .pillbar button { font-size: 13.5px; padding: 9px 6px; gap: 6px; }
}

.pills-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; flex-basis: 100%; }
/* Compu: logo y lema al centro con la barra de avance debajo. Izquierda: fechas; derecha: botones, a la misma altura. Arriba: Season 1 y sesion.
   Mismos tamanos que en celular. */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "season logo session" "pills logo upd" "pills tag upd" ". prog ."; column-gap: 32px; align-items: center;
    padding: 14px max(16px, calc((100% - 1180px) / 2)) 18px; text-align: center; }
  .hero-top { display: contents; }
  .hero-club { grid-area: season; justify-self: start; align-self: start; }
  .hero .session { grid-area: session; justify-self: end; align-self: start; }
  .hero .logo { grid-area: logo; margin: 0; justify-self: center; align-self: end; }
  .hero .tagline { grid-area: tag; margin: 4px 0 0; justify-self: center; align-self: start; }
  .hero .hero-meta { display: contents; }
  .hero .pills-row { grid-area: pills; justify-content: center; align-self: center; }
  .hero .hero-meta .prog-wrap { grid-area: prog; justify-content: center; }
  .hero .hero-meta .prog { max-width: 340px; margin: 6px 0 0; }
  .hero .hero-update { position: static; grid-area: upd; width: auto; max-width: none; margin: 0; align-self: center; justify-self: center; flex-direction: column; align-items: center; gap: 8px; }
  .hero .hero-update .btn-update { margin: 0; }
  .hero-hora { position: static; transform: none; text-align: center; font-size: 12.5px; }
  .hero .hero-update .upd-btns { display: flex; gap: 8px; }
}
.upd-btns { display: contents; }
@media (min-width: 900px) { .hero .hero-update .upd-btns { display: flex; } }

/* Ranking: detalle de una jugadora */
.rk-jor { border-top: 1px solid var(--linea); padding: 10px 0; }
.rk-jh, .rk-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rk-pts { font-weight: 700; color: var(--vino); }
.rk-par { background: var(--papel); border: 1px solid var(--linea); border-radius: 12px; padding: 8px 10px; margin: 6px 0; }

/* Jugadoras (lista general): renglones compactos y scroll propio con encabezado fijo */
.dir-orden { align-items: center; gap: 6px; margin-bottom: 8px; }
.dir-orden span { font-size: 13px; color: var(--tinta-2); }
.dir-orden .chip { padding: 5px 11px; font-size: 13px; }
.dir-filtros { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dir-filtros select, .dir-filtros input { width: 100%; min-width: 0; font-size: 16px; padding: 6px 8px; border: 1px solid var(--linea); border-radius: 10px; background: var(--papel); color: var(--tinta); }
.dir-filtros input { grid-column: 1 / -1; }
@media (min-width: 700px) { .dir-filtros { grid-template-columns: 1fr 1fr 2fr; } .dir-filtros input { grid-column: auto; } }
.dir-listas { gap: 6px; margin-bottom: 10px; }
.dir-pago { margin: 0 0 10px; }
table.dir td.folio small { font-size: 10px; }
table.dir td.folio b { color: var(--tinta); font-size: 13px; }
.dir-total { margin: 8px 0 6px; font-size: 13px; }
.dir-card { padding: 6px 8px 10px; }
.dir-wrap { max-height: 62vh; overflow: auto; -webkit-overflow-scrolling: touch; }
table.dir { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.25; }
table.dir th { position: sticky; top: 0; z-index: 1; background: var(--papel); text-align: left; padding: 0; border-bottom: 2px solid var(--vino); }
table.dir th button { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-2); white-space: nowrap; }
table.dir td { padding: 5px 4px; border-bottom: 1px solid var(--linea); vertical-align: middle; }
table.dir tbody tr:nth-child(even) td { background: var(--blush); }
table.dir td.folio { white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; color: var(--tinta-2); }
table.dir td.nom { font-weight: 600; }
table.dir td.eqc { white-space: nowrap; }
table.dir .dot { width: 9px; height: 9px; margin-right: 4px; }
table.dir .cat { padding: 1px 6px; font-size: 11px; }
