/*
 * common.css — Fase 1 (COPIA generada por tools/split_portal_css.py)
 *
 * Contiene: reset, tokens :root, elementos desnudos, componentes comunes
 * (button, table, flash, badges, formularios…) compartidos por federación y portal.
 *
 * IMPORTANTE: Este fichero es generado automáticamente. La fuente de verdad
 * sigue siendo static/app.css + static/css/app-ui.css hasta la Fase 4.
 * No editar a mano; ejecuta tools/split_portal_css.py para regenerar.
 *
 * Usado a partir de la Fase 2 (aún sin enlazar en esta fase 1).
 */
:root {
  --bg: #e9eef3;
  --panel: #ffffff;
  --panel-soft: #f7f9fb;
  --text: #1e2832;
  --muted: #687684;
  --line: #c8d2dc;
  --line-soft: #e2e8ee;
  --blue: #1e65a7;
  --blue-dark: #174b7b;
  --blue-soft: #dbeaf7;
  --green: #218449;
  --red: #cc3b3b;
  --amber: #b17912;
  --ribbon: #d81f2a;
  --ribbon-dark: #b71722;
  --card-border: #e8edf3;
  --radius-card: 13px;
  --shadow-soft: 0 1px 2px rgba(15, 34, 52, .05), 0 10px 24px rgba(15, 34, 52, .05);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
.main {
  min-height: 100vh;
  padding: 14px 20px 30px;
}
.ribbon-group {
  display: grid;
  gap: 6px;
  min-width: max-content;
  padding: 6px 8px 8px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(122, 11, 20, .18);
}
.ribbon-group > span {
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.ribbon-group > div {
  display: flex;
  gap: 7px;
  align-items: stretch;
}
.ribbon-group-system {
  background: rgba(29, 44, 60, .32);
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0 -20px 18px;
  padding: 9px 20px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.topbar strong { display: block; font-size: 14px; }
.topbar span { color: var(--muted); font-size: 12px; }
.topbar-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px 10px;
  flex-wrap: wrap;
  max-width: 68%;
}
.topbar-actions a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.app-frame {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.context-sidebar {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 10px;
  align-self: start;
  max-height: calc(100vh - 20px);
  overflow: hidden auto;
  scrollbar-gutter: stable;
}
.app-content {
  min-width: 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.process-steps article {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 7px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
}
.process-steps strong {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}
.process-steps span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.process-steps article {
  border-left-color: var(--green);
}
.dan-process article:last-child {
  border-left-color: var(--red);
}
.ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 14px;
  margin-bottom: 16px;
}
.ops-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
/* Portal clubes: landing spacing and counter cards polish. */
.circulares-public-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}
.profile-calendar-panel {
  margin-bottom: 16px;
}
.profile-calendar-grid {
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.profile-calendar-summary {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff8f8;
}
.profile-calendar-summary > span,
.profile-calendar-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.profile-calendar-summary strong {
  color: #172432;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}
.profile-calendar-summary p {
  margin: 0;
  color: var(--muted);
}
.profile-calendar-list {
  display: grid;
  gap: 8px;
  max-height: 456px;
  padding-right: 4px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.profile-calendar-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-left: 6px solid var(--calendar-color, var(--red));
  border-radius: 7px;
  background: var(--panel-soft);
}
.profile-calendar-row strong {
  display: block;
  color: #172432;
  font-size: 15px;
  line-height: 1.2;
}
.profile-calendar-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}
.task-list,
.alert-list {
  display: grid;
  gap: 8px;
}
.task-list > a,
.alert-row {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
}
.task-list > a:hover,
.alert-row:hover {
  border-color: var(--blue);
  background: #ffffff;
}
.task-list strong {
  color: var(--blue-dark);
}
.task-list span {
  color: var(--muted);
  font-weight: 700;
}
.task-list em {
  justify-self: start;
  display: inline-grid;
  min-height: 26px;
  align-items: center;
  margin-top: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.compact-actions {
  min-width: 142px;
  white-space: nowrap;
}
.table-link-strong {
  color: #172432;
  font-weight: 900;
  text-decoration: none;
}
.table-link-strong:hover {
  color: var(--red);
  text-decoration: underline;
}
.season-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 22px;
  align-items: center;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef6fb;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
}
.module-config-button {
  min-width: 0;
  padding-inline: 10px;
}
.compact-actions .mini-action {
  margin: 1px 2px 1px 0;
}
.secondary-details > summary {
  cursor: pointer;
  color: var(--blue-dark);
}
.circulares-public-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(208, 0, 0, .08), rgba(23, 54, 80, .08)),
    #eef2f4;
}
.circulares-public-shell {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
  min-height: 100vh;
  padding: clamp(14px, 3vw, 34px);
}
.circulares-public-hero,
.circulares-public-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 34, 52, .12);
}
.circulares-public-hero {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-left: 6px solid var(--ribbon);
  position: sticky;
  top: 20px;
}
.circulares-public-hero span {
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.circulares-public-hero h1 {
  margin: 0;
  color: #172432;
  font-size: 36px;
  line-height: 1.05;
}
.circulares-public-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.circulares-public-hero .button {
  justify-self: start;
  margin-top: 6px;
}
.circulares-public-search {
  display: grid;
  gap: 7px;
  margin-top: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.circulares-public-search label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.circulares-public-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}
.circulares-public-search input {
  width: 100%;
  min-height: 39px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  font: inherit;
  font-weight: 750;
}
.circulares-public-search button,
.circulares-public-search a {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid var(--ribbon);
  border-radius: 7px;
  background: var(--ribbon);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.circulares-public-search a {
  justify-self: start;
  min-height: 30px;
  background: #fff;
  color: var(--ribbon-dark);
}
.circulares-public-tabs {
  display: grid;
  gap: 9px;
  margin-top: 6px;
}
.circulares-public-tabs a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: inherit;
  text-decoration: none;
}
.circulares-public-tabs a.active {
  border-color: #f0b9bd;
  background: #fff4f5;
}
.circulares-public-tabs strong {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ribbon-dark);
  font-size: 18px;
  font-weight: 950;
}
.circulares-public-tabs span {
  color: #172432;
  font-size: 13px;
  font-weight: 900;
}
.circulares-public-frame {
  min-height: 78vh;
  overflow: hidden;
}
.circulares-public-board {
  display: grid;
  gap: 14px;
  align-content: start;
}
.circulares-feature-card {
  display: grid;
  grid-template-columns: minmax(82px, .18fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 174px;
  padding: 18px;
  border: 1px solid #f0b9bd;
  border-left: 8px solid var(--ribbon);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff, #fff6f7 62%, #eef6fb);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(23, 36, 50, .13);
}
.circulares-feature-card > span {
  display: grid;
  place-items: center;
  min-height: 132px;
  border-radius: 8px;
  background: #d00000;
  color: #ffffff;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 950;
  line-height: 1;
}
.circulares-feature-card div {
  display: grid;
  align-content: center;
  gap: 8px;
}
.circulares-feature-card small,
.circulares-feature-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}
.circulares-feature-card strong {
  color: #0d2238;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.circulares-public-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-content: start;
  gap: 12px;
}
.circulares-public-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  min-height: 94px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(23, 36, 50, 0.07);
}
.circulares-public-card:hover {
  border-color: #f0b9bd;
  border-left-color: var(--red);
  transform: translateY(-1px);
}
.circulares-public-card > span {
  display: inline-grid;
  place-items: center;
  min-height: 48px;
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
  border-radius: 8px;
  background: #fff1f2;
}
.circulares-public-card strong {
  display: block;
  color: #172432;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.circulares-public-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.circulares-public-empty {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 420px;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.8);
  text-align: center;
}
.circulares-public-empty strong {
  color: #172432;
  font-size: 24px;
}
.circulares-public-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}
.circulares-control-panel,
.circulares-bulk-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--ribbon);
  border-radius: 8px;
  background: #ffffff;
}
.circulares-control-panel div,
.circulares-bulk-panel div {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.circulares-control-panel span,
.circulares-bulk-panel span,
.circulares-status-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.circulares-control-panel strong,
.circulares-bulk-panel strong {
  color: #172432;
  font-size: 18px;
}
.circulares-control-panel p,
.circulares-bulk-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}
.circulares-upload-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(220px, 1.4fr) minmax(86px, .5fr) minmax(86px, .5fr) minmax(110px, .7fr) auto;
  gap: 10px;
  align-items: end;
  min-width: min(100%, 940px);
}
.circulares-upload-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.circulares-upload-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.circulares-upload-form input,
.circulares-upload-form select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172432;
  font-weight: 800;
}
.circulares-upload-form input[type="file"] {
  padding: 8px;
}
.circulares-upload-form input:not([type="file"]),
.circulares-upload-form select {
  padding: 0 11px;
}
.circulares-upload-form button {
  white-space: nowrap;
}
.circulares-settings-menu {
  position: relative;
}
.circulares-settings-menu > summary {
  cursor: pointer;
  list-style: none;
}
.circulares-settings-menu > summary::-webkit-details-marker {
  display: none;
}
.circulares-settings-menu form {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 9px;
  width: min(360px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.circulares-settings-menu label {
  display: grid;
  gap: 5px;
}
.circulares-settings-menu label span,
.circulares-settings-menu small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.circulares-settings-menu label span {
  text-transform: uppercase;
}
.circulares-settings-menu input {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172432;
  font-weight: 800;
}
.circulares-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.circulares-status-grid article {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: #ffffff;
}
.circulares-status-grid strong {
  color: #172432;
  font-size: 21px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.circulares-status-grid small {
  color: var(--muted);
  font-weight: 800;
}
.circulares-status-grid .is-ok {
  border-top-color: var(--green);
}
.circulares-status-grid .is-warning {
  border-top-color: var(--amber);
}
.circulares-list {
  display: grid;
  gap: 10px;
}
.circulares-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--ribbon);
  border-radius: 8px;
  background: #ffffff;
}
.circulares-card.is-notified {
  border-left-color: var(--green);
}
.circulares-card.is-partial {
  border-left-color: var(--amber);
}
.circulares-number {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-radius: 7px;
  background: #fdecee;
  color: var(--ribbon-dark);
  font-size: 18px;
  font-weight: 950;
}
.circulares-card.is-notified .circulares-number {
  background: #e8f5ea;
  color: var(--green);
}
.circulares-card.is-partial .circulares-number {
  background: #fff5d8;
  color: var(--amber);
}
.circulares-card-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.circulares-card-main header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}
.circulares-card-main strong {
  display: block;
  color: #172432;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.circulares-card-main small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}
.circulares-actions {
  align-items: center;
  flex-wrap: wrap;
}
.circulares-actions form,
.circulares-bulk-actions form {
  margin: 0;
}
.circulares-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.circulares-scope-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.circulares-inline-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.circulares-inline-scope select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #172432;
  font-weight: 850;
}
.circulares-scope-actions form {
  margin: 0;
}
.circulares-adjuntos-panel {
  display: grid;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.circulares-adjuntos-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}
.circulares-adjuntos-head span {
  display: block;
  color: #172432;
  font-size: 13px;
  font-weight: 950;
}
.circulares-adjuntos-head strong {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 28px;
  border-radius: 6px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
}
.circulares-adjuntos-list {
  display: grid;
  gap: 6px;
}
.circulares-adjunto-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(140px, .8fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
}
.circulares-adjunto-row a {
  color: var(--ribbon-dark);
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.circulares-adjunto-row small {
  margin: 0;
  overflow-wrap: anywhere;
}
.circulares-adjunto-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
}
.circulares-adjunto-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.circulares-adjunto-form label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.circulares-adjunto-form input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #172432;
  font-weight: 800;
}
.circulares-adjunto-form input[type="file"] {
  padding: 7px;
}
.circulares-adjunto-form input:not([type="file"]) {
  padding: 0 10px;
}
.circulares-scope-actions .mini-action[disabled] {
  opacity: .42;
  cursor: not-allowed;
}
.alert-row {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  border-left: 5px solid var(--amber);
}
.alert-row strong {
  color: var(--amber);
  font-size: 24px;
  text-align: center;
}
.empty-state {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
}
.empty-state strong {
  color: var(--text);
}
.breadcrumbs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}
.breadcrumbs a::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted);
}
.ux-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef1f4;
  color: #66717c;
  font-size: 11px;
  font-weight: 900;
}
.ux-badge-activo,
.ux-badge-publicado,
.ux-badge-pagado,
.ux-badge-aprobado,
.ux-badge-finalizado { background: #e7f7ec; color: var(--green); }
.ux-badge-pendiente,
.ux-badge-en-revision,
.ux-badge-borrador { background: #fff5d8; color: var(--amber); }
.ux-badge-cerrado,
.ux-badge-anulado,
.ux-badge-con-incidencias { background: #fff0f0; color: var(--red); }
.ux-badge-sistema,
.ux-badge-avanzado { background: #e6f1ff; color: var(--blue-dark); }
.kyu-submit-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border: 2px solid #b00020;
  border-radius: 8px;
  background: #fff7f7;
}
.kyu-submit-callout.is-empty {
  border-color: var(--line);
  background: var(--panel-soft);
}
.kyu-submit-callout span {
  display: block;
  color: var(--ribbon-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.kyu-submit-callout strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}
.kyu-submit-callout p {
  margin: 6px 0 0;
  color: var(--muted);
}
.kyu-submit-button {
  min-height: 56px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 900;
  background: #b00020;
  border-color: #8f001a;
}
.enfoque-volver-bar {
  margin: 0 0 14px;
}
.enfoque-volver-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.enfoque-volver-link:hover {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.modulo-context-head {
  border-left-color: var(--blue);
  background: var(--blue-soft);
}
.modulo-context-head h3 {
  color: var(--blue-dark);
}
.modulo-area-jump {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.evento-context-head {
  border-left-color: var(--ribbon);
  background: #fdeceb;
}
.evento-context-head h3 {
  color: var(--ribbon-dark);
}
.evento-context-name {
  display: block;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 800;
  text-transform: none !important;
  line-height: 1.2;
  word-break: break-word;
}
.evento-back-link {
  font-weight: 700;
}
.evento-reglas-collapse > summary,
.evento-secundario-collapse > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  padding: 2px 0;
}
.evento-reglas-collapse > summary strong,
.evento-secundario-collapse > summary strong {
  color: var(--text);
}
.evento-reglas-collapse[open] > summary,
.evento-secundario-collapse[open] > summary {
  margin-bottom: 8px;
}
.table-actions {
  margin-bottom: 8px;
}
.state-pill,
.verify-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 11px;
  white-space: nowrap;
}
.state-ok { background: #e7f7ec; color: var(--green); }
.state-bad { background: #fff0f0; color: var(--red); }
.state-info { background: #e6f1ff; color: var(--blue-dark); }
.state-pending { background: #fff5d8; color: var(--amber); }
.state-muted { background: #eef1f4; color: #66717c; }
.coverage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.club-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.club-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(15, 31, 56, .08);
  border-radius: 7px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 900;
}
.legend-line {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 6px;
  border-radius: 999px;
}
.legend-line::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -5px;
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: inherit;
}
.legend-line.license-ok { background: #15803d; }
.legend-line.license-pending { background: #d28b00; }
.legend-line.license-bad { background: #c62828; }
.legend-swatch {
  display: inline-block;
  width: 30px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid rgba(15, 31, 56, .12);
}
.legend-swatch.coverage-school { background: #fff9e8; border-left: 5px solid #d4a019; }
.legend-swatch.coverage-full { background: #f0fbf4; border-left: 5px solid #2f8a4b; }
.coverage-dot {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 31, 56, .08);
  font-size: 11px;
  font-weight: 900;
}
.coverage-row.coverage-full td,
.athlete-card.coverage-full {
  background: #f0fbf4;
}
.coverage-row.coverage-school td,
.athlete-card.coverage-school {
  background: #fff9e8;
}
.renewal-card.coverage-school {
  background: #fff9e8;
  border-left: 4px solid #d4a019;
}
.coverage-row.coverage-pending td,
.athlete-card.coverage-pending {
  background: #eef6ff;
}
.coverage-row.coverage-none td,
.athlete-card.coverage-none {
  background: #fff3f1;
}
.coverage-row.coverage-expired td,
.coverage-row.coverage-muted td,
.athlete-card.coverage-expired,
.athlete-card.coverage-muted {
  background: #f4f6f8;
}
.coverage-row.coverage-full td:first-child { box-shadow: inset 4px 0 0 #2f8a4b; }
.coverage-row.coverage-school td:first-child { box-shadow: inset 4px 0 0 #d4a019; }
.coverage-row.coverage-pending td:first-child { box-shadow: inset 4px 0 0 #1a64b7; }
.coverage-row.coverage-none td:first-child { box-shadow: inset 4px 0 0 #b00020; }
.coverage-row.coverage-expired td:first-child,
.coverage-row.coverage-muted td:first-child { box-shadow: inset 4px 0 0 #8b97a3; }
.club-license-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}
.inline-mini-form {
  display: inline-flex;
  margin: 0;
}
.inline-column-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 6px;
  align-self: end;
}
.inline-column-toggles > span {
  align-self: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.inline-column-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}
.inline-column-toggles label.is-selected {
  background: #eef6fb;
  border-color: #9cc4e7;
}
.inline-column-toggles input {
  width: 16px;
  height: 16px;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.status-segment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.status-segment label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}
.status-segment label.active {
  background: #eef6fb;
  border-color: #9cc4e7;
  box-shadow: inset 0 0 0 1px rgba(30, 101, 167, .16);
}
.status-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.club-athlete-toolbar {
  margin-bottom: 10px;
}
.status-control-stack {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.status-segment a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.status-segment a.active {
  background: #eef6fb;
  border-color: #9cc4e7;
  box-shadow: inset 0 0 0 1px rgba(30, 101, 167, .16);
}
.status-current {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #1e65a7;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.empty-hint {
  padding: 16px;
  border: 1px dashed #b7c7d7;
  border-radius: 8px;
  background: #f7fbff;
  color: #4f6175;
  font-weight: 800;
}
.athlete-card-main strong a {
  color: var(--blue-dark);
  text-decoration: none;
}
.athlete-card-main strong a:hover {
  color: var(--blue);
}
.athlete-card-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.athlete-card-extra span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  width: auto;
  margin: 0;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: var(--muted);
  font-size: 12px;
}
.athlete-card-extra strong {
  display: inline;
  color: var(--ink);
  font-size: inherit;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.athlete-photo-cell {
  text-align: center;
}
.athlete-photo-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.photo-status-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #b9c5d1;
  background: #ffffff;
  cursor: pointer;
}
.photo-status-button.has-photo {
  border-color: rgba(22, 136, 71, .32);
  background: #e2f6ea;
}
.photo-status-button.missing-photo {
  border-color: rgba(198, 40, 40, .32);
  background: #fff0ee;
}
.photo-status-icon {
  position: relative;
  width: 15px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 3px;
  color: #536273;
}
.photo-status-button.has-photo .photo-status-icon {
  color: #168847;
}
.photo-status-button.missing-photo .photo-status-icon {
  color: #c62828;
}
.photo-status-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 4px;
  height: 4px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: transparent;
}
.photo-status-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: -5px;
  width: 7px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: currentColor;
}
.athlete-card.coverage-full,
.coverage-dot.coverage-full { border-left: 4px solid #2f8a4b; }
.athlete-card.coverage-school,
.coverage-dot.coverage-school { border-left: 4px solid #d4a019; }
.athlete-card.coverage-pending,
.coverage-dot.coverage-pending { border-left: 4px solid #1a64b7; }
.athlete-card.coverage-none,
.coverage-dot.coverage-none { border-left: 4px solid #b00020; }
.athlete-card.coverage-expired,
.coverage-dot.coverage-expired,
.athlete-card.coverage-muted { border-left: 4px solid #8b97a3; }
.avatar-mini {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 900;
}
.belt {
  display: inline-flex;
  min-width: 48px;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #9aa7b2;
  font-weight: 900;
}
/* Cinturones partidos: el color que va primero, abajo; el segundo, arriba
   (linear-gradient 0deg = de abajo hacia arriba), como el cinturon real. */
.belt-white { background: #fff; color: #1e2832; box-shadow: inset 0 0 0 1px #cdd6df; }
.belt-white-yellow { background: linear-gradient(180deg, #fff 0 50%, #ffd84a 50% 100%); color: #1e2832; box-shadow: inset 0 0 0 1px #cdd6df; }
.belt-yellow { background: #ffd84a; color: #1e2832; }
.belt-yellow-orange { background: linear-gradient(180deg, #ffd84a 0 50%, #f59a2e 50% 100%); color: #1e2832; }
.belt-orange { background: #f59a2e; color: #1e2832; }
.belt-orange-green { background: linear-gradient(180deg, #f59a2e 0 50%, #2f9d58 50% 100%); color: #fff; text-shadow: 0 1px 1.5px rgba(0, 0, 0, .5); }
.belt-green { background: #2f9d58; color: #fff; }
.belt-green-blue { background: linear-gradient(180deg, #2f9d58 0 50%, #2b6fba 50% 100%); color: #fff; text-shadow: 0 1px 1.5px rgba(0, 0, 0, .4); }
.belt-blue { background: #2b6fba; color: #fff; }
.belt-blue-brown { background: linear-gradient(180deg, #2b6fba 0 50%, #7b4a2a 50% 100%); color: #fff; text-shadow: 0 1px 1.5px rgba(0, 0, 0, .4); }
.belt-brown { background: #7b4a2a; color: #fff; }
.belt-black { background: #111; color: #fff; }
.belt-red-white {
  background: linear-gradient(90deg, #b51f2a 0 33.33%, #fff 33.33% 66.66%, #b51f2a 66.66% 100%) !important;
  color: #111 !important;
  border-color: #8f1720;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff;
}
.dan-grade-card {
  min-width: 78px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 7px;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(15, 23, 42, .1);
  letter-spacing: .01em;
}
.afp-course-cell {
  min-width: 220px;
  white-space: normal;
}
.afp-course-cell span {
  display: block;
  margin: 0 0 3px;
}
.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
}
.icon-action.disabled {
  color: #9aa7b2;
  background: #f2f4f6;
}
.field-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 8px;
}
.field-picker.clean {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.finiquito-tabs {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.finiquito-tabs summary {
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 10px;
}
.fin-deportista-linker {
  margin-bottom: 12px;
}
.fin-extra-picker {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}
.fin-extra-picker summary {
  cursor: pointer;
  font-weight: 900;
}
.fin-extra-picker label {
  margin-top: 8px;
}
.fin-picker-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 8px 12px;
  align-items: end;
}
.fin-picker-status {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding-bottom: 10px;
  white-space: nowrap;
}
.fin-picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 10px;
  max-height: 220px;
  overflow: auto;
  padding: 8px 2px 2px;
}
.fin-picker-list .check-line {
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfd;
  padding: 7px 8px;
}
.fin-picker-list .check-line.is-filtered-out,
.fin-picker-list .check-line[hidden] {
  display: none !important;
}
.fin-external-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(150px, .8fr) auto;
  gap: 8px 12px;
  align-items: end;
}
.fin-external-grid button {
  min-height: 42px;
}
@media (max-width: 720px) {
.fin-picker-tools,
  .fin-external-grid {
    grid-template-columns: 1fr;
  }
.fin-picker-status {
    padding-bottom: 0;
  }
}
.sticky-total-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0 18px;
  padding: 12px 14px;
  background: #fff7d6;
  border: 1px solid #e3bd40;
  border-radius: 8px;
  box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
}
.fin-person-check {
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: #fff;
}
.fin-event-form {
  grid-template-columns: minmax(260px, 1fr) 150px 180px auto;
}
.verify-body {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: #eef3f7;
}
.verify-card {
  width: min(560px, calc(100% - 28px));
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(18, 39, 61, .16);
}
.verify-card dl {
  margin-top: 18px;
}
.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}
h1 { margin: 0 0 4px; font-size: 23px; letter-spacing: 0; line-height: 1.12; }
h2 { margin: 0 0 10px; font-size: 16px; letter-spacing: 0; }
p { margin: 0; color: var(--muted); line-height: 1.45; }
a { color: var(--blue); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
.command-bar, .search {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.toolbar-stack {
  display: grid;
  gap: 8px;
  justify-items: end;
}
input, select, textarea, button, .button {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}
input, select, textarea {
  background: #fff;
  min-width: 170px;
}
textarea {
  min-height: 84px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(30, 101, 167, .22);
  border-color: var(--blue);
}
.fcj-date-field {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  min-width: 170px;
}
.fcj-date-field .fcj-date-display {
  width: 100%;
  min-width: 0;
}
.fcj-date-trigger {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue-dark);
  pointer-events: none;
}
.fcj-date-trigger svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fcj-date-field .fcj-date-native {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 40px !important;
  min-width: 40px !important;
  height: 100%;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.fcj-date-field.is-disabled .fcj-date-trigger {
  background: #f3f6f9;
  color: var(--muted);
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}
.button.secondary {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--line);
}
.button.ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
button:hover, .button:hover {
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
}
.link-button {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 700;
}
.link-button:hover {
  background: transparent;
  color: var(--blue-dark);
  text-decoration: underline;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stats.compact {
  grid-template-columns: repeat(4, minmax(120px, 1fr));
}
.stat {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--card-border);
  padding: 15px 16px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}
.stat span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}
.stat strong {
  display: block;
  font-size: 25px;
  line-height: 1.05;
  margin-top: 7px;
  color: var(--blue-dark);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.module-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 7px;
  padding: 14px;
}
.module-card p { min-height: 38px; margin-bottom: 12px; }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 320px);
  gap: 18px;
  align-items: stretch;
  min-height: 218px;
  margin-bottom: 16px;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,255,255,.88)),
    url("/assets/logo_fcj.png") right 28px center / 190px auto no-repeat,
    #ffffff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--ribbon);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 38, 55, .10);
}
.landing-brand {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 780px;
}
.landing-brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.landing-brand span {
  display: block;
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.landing-brand h1 {
  margin-top: 5px;
  font-size: 34px;
  line-height: 1.05;
}
.landing-brand p {
  max-width: 620px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.landing-actions {
  display: grid;
  gap: 10px;
  align-content: center;
}
.landing-actions a,
.landing-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.landing-actions a::after {
  content: ">";
  color: var(--muted);
}
.landing-actions .landing-primary {
  background: var(--ribbon);
  border-color: var(--ribbon-dark);
  color: #fff;
}
.landing-actions .landing-primary::after { color: #fff; }
.landing-status {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.landing-status-item,
.landing-modules a,
.flow-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
}
.landing-status-item {
  display: block;
  min-height: 92px;
  padding: 13px 14px;
  border-top: 5px solid var(--blue);
}
.landing-status-item span,
.landing-modules small,
.flow-step small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.landing-status-item span {
  min-height: 30px;
  text-transform: uppercase;
  font-size: 11px;
}
.landing-status-item strong {
  display: block;
  margin-top: 7px;
  font-size: 30px;
}
.landing-status-item.urgent {
  border-top-color: var(--red);
  background: #fff4f3;
}
.landing-status-item.money {
  border-top-color: var(--green);
  background: #f1fbf5;
}
.landing-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.flow-step {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
}
.flow-step span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #fff4df;
  border: 1px solid #e2c27a;
  border-radius: 50%;
  color: #8a5b00;
  font-weight: 900;
}
.flow-step strong {
  font-size: 18px;
}
.landing-modules {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
.landing-modules a {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 13px;
  border-bottom: 4px solid var(--blue);
}
.landing-modules span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border-radius: 8px;
  font-weight: 900;
}
.landing-modules svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-modules strong {
  font-size: 15px;
}
.landing-bottom {
  margin-top: 4px;
}
.ops-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--ribbon);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 38, 55, .10);
}
.ops-hero-main {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.ops-hero-main img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.ops-hero-main span {
  display: block;
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.ops-hero-main h1 {
  margin-top: 4px;
  font-size: 32px;
}
.ops-hero-main p {
  max-width: 720px;
  margin-top: 8px;
}
.ops-hero-actions {
  display: grid;
  gap: 9px;
}
.ops-hero-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.ops-hero-actions a::after {
  content: ">";
  color: var(--muted);
}
.ops-status {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.ops-status-top {
  margin-bottom: 14px;
}
.ops-home-priority {
  display: grid;
  gap: 14px;
}
.ops-today-panel,
.ops-compact-panel,
.profile-circular-panel,
.profile-calendar-panel {
  margin-bottom: 0;
}
.ops-today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.ops-today-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--line-soft);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: #fff8f8;
  color: inherit;
  text-decoration: none;
}
.ops-today-card.priority-media {
  border-left-color: var(--amber);
  background: #fffaf0;
}
.ops-today-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.ops-today-card strong {
  grid-column: 1;
  color: #172432;
  font-size: 17px;
  line-height: 1.15;
}
.ops-today-card b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: start;
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}
.ops-today-card small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}
.ops-home-split,
.profile-circular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.task-list-compact {
  max-height: 360px;
  overflow: auto;
  padding-right: 3px;
  scrollbar-width: thin;
}
.profile-circular-list {
  display: grid;
  gap: 8px;
}
.profile-circular-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-left: 6px solid var(--ribbon);
  border-radius: 7px;
  background: var(--panel-soft);
  color: inherit;
  text-decoration: none;
}
.profile-circular-row:hover {
  border-color: #f0b9bd;
  background: #ffffff;
}
.profile-circular-row > span {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  border-radius: 7px;
  background: #fdecee;
  color: var(--ribbon-dark);
  font-size: 14px;
  font-weight: 950;
}
.profile-circular-row strong {
  display: block;
  color: #172432;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.profile-circular-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
}
.ops-shortcuts {
  margin-bottom: 14px;
}
.two-columns, .detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.athlete-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}
.athlete-layout > *,
.athlete-layout .info-panel,
.athlete-layout .panel-form {
  min-width: 0;
}
.athlete-layout > .detail-grid {
  align-items: start;
}
.athlete-photo-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 226px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  align-self: start;
}
.athlete-photo-card span {
  color: var(--muted);
  font-weight: 700;
}
.athlete-photo-card small {
  color: var(--muted);
  font-weight: 700;
}
.athlete-photo {
  width: 112px;
  height: 138px;
  object-fit: contain;
  border-radius: 7px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.photo-placeholder {
  display: grid;
  place-items: center;
  width: 104px;
  height: 128px;
  border-radius: 6px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 34px;
  font-weight: 900;
}
.photo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #b7c0c9;
  background: #e5e7eb;
}
.photo-dot.ok {
  border-color: #37a169;
  background: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, .16);
}
.photo-update-section {
  display: grid;
  max-width: 360px;
  margin-bottom: 16px;
}
.photo-capture-widget {
  display: grid;
  gap: 7px;
  width: 100%;
  margin-top: 4px;
}
.photo-guidance {
  display: block;
  color: #5b3b00;
  background: #fff7df;
  border: 1px solid #f0c36a;
  border-radius: 6px;
  padding: 7px 8px;
  font-weight: 800;
  line-height: 1.25;
}
.photo-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--blue-dark);
  font-weight: 800;
  cursor: pointer;
}
.photo-file-button input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}
.camera-box {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  position: relative;
}
.camera-box[hidden],
.camera-preview[hidden],
.photo-capture-widget canvas[hidden] {
  display: none !important;
}
.camera-box video,
.camera-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #0f172a;
}
.camera-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: min(46%, 132px);
  aspect-ratio: 4 / 5;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50% / 56%;
  box-shadow: 0 0 0 999px rgba(15, 23, 42, .18);
  pointer-events: none;
  z-index: 1;
}
.camera-box .form-row {
  position: relative;
  z-index: 2;
}
.camera-mode-picker {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.camera-mode-picker .mini-action {
  min-height: 34px;
}
.camera-mode-picker .is-active {
  border-color: var(--blue);
  background: #e8f1fb;
  color: var(--blue-dark);
}
.camera-preview {
  max-height: 160px;
}
.photo-crop-open {
  overflow: hidden;
}
.photo-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, .62);
}
.photo-crop-modal[hidden] {
  display: none !important;
}
.photo-crop-dialog {
  width: min(920px, 100%);
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
  overflow: hidden;
}
.photo-crop-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.photo-crop-head strong,
.photo-crop-head span {
  display: block;
}
.photo-crop-head span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}
.photo-crop-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 600px) minmax(220px, 1fr);
  gap: 16px;
  padding: 16px;
  overflow: auto;
}
.photo-crop-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 480px);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  touch-action: none;
}
.photo-crop-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
}
.photo-crop-stage canvas:active {
  cursor: grabbing;
}
.photo-crop-shade {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 999px rgba(15, 23, 42, .16);
  pointer-events: none;
}
.photo-face-guide {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 58%;
  height: 66%;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, .96);
  border-radius: 42% 42% 34% 34% / 38% 38% 44% 44%;
  box-shadow: 0 0 0 2px rgba(20, 77, 130, .72), 0 0 0 999px rgba(15, 23, 42, .10);
  pointer-events: none;
}
.photo-crop-controls {
  display: grid;
  align-content: start;
  gap: 12px;
}
.photo-crop-controls label {
  display: grid;
  gap: 6px;
  color: var(--blue-dark);
  font-weight: 800;
}
.photo-crop-controls input[type="range"] {
  width: 100%;
  min-width: 0;
}
.photo-crop-controls p {
  padding: 10px;
  border: 1px solid #f0c36a;
  border-radius: 6px;
  background: #fff7df;
  color: #5b3b00;
  font-weight: 800;
}
.athlete-detail-head {
  align-items: center;
  margin-bottom: 16px;
}
.athlete-detail-head h1 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
}
.athlete-detail-head p {
  margin-top: 6px;
}
.athlete-profile-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: stretch;
}
.athlete-profile-photo,
.athlete-profile-summary,
.athlete-info-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.athlete-profile-photo {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  padding: 16px;
  text-align: center;
}
.athlete-profile-photo strong {
  color: var(--blue-dark);
  font-size: 17px;
}
.athlete-profile-photo > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.athlete-profile-photo > small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.athlete-profile-image,
.athlete-profile-placeholder {
  width: 146px;
  height: 184px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}
.athlete-profile-image {
  object-fit: contain;
  background: #f8fafc;
}
.athlete-profile-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d9ecfa, #eef6fd);
  color: var(--blue-dark);
  font-size: 48px;
  font-weight: 900;
}
.profile-photo-actions {
  width: 100%;
  margin-top: 4px;
}
.profile-photo-actions summary {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-soft);
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.profile-photo-actions summary::-webkit-details-marker {
  display: none;
}
.athlete-profile-summary {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
}
.athlete-summary-top {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}
.athlete-summary-top > span:not(.state-pill):not(.belt) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--blue-dark);
  font-weight: 900;
}
.summary-grid,
.athlete-info-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px 16px;
  margin: 0;
}
.summary-grid div,
.athlete-info-card dl div {
  min-width: 0;
}
.summary-grid dt,
.athlete-info-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.summary-grid dd,
.athlete-info-card dd {
  margin: 4px 0 0;
  min-width: 0;
  color: var(--text);
  font-weight: 750;
  white-space: normal;
  overflow-wrap: anywhere;
}
.athlete-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.athlete-info-card {
  padding: 16px 18px;
}
.athlete-info-card h2 {
  margin-bottom: 12px;
  font-size: 19px;
}
.athlete-info-card dl {
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 12px;
}
.athlete-info-card dt {
  align-self: start;
  text-transform: none;
  font-size: 13px;
}
.athlete-info-card dd {
  margin: 0;
}
.athlete-club-change {
  margin-top: 14px;
}
.athlete-club-change summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.athlete-club-change summary::-webkit-details-marker {
  display: none;
}
.athlete-club-change-form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.athlete-club-change-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.athlete-document-card {
  display: grid;
  align-content: start;
  gap: 12px;
}
.athlete-document-card p strong {
  color: var(--blue-dark);
}
.athlete-document-actions {
  flex-wrap: wrap;
}
.athlete-history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.split {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 16px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 8px;
}
.section-title span {
  color: var(--muted);
}
.license-section-title > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.license-section-title .command-bar {
  flex-wrap: wrap;
  justify-content: flex-end;
}
.license-live-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0;
}
.license-live-summary > div {
  min-width: 0;
}
.license-live-summary strong {
  overflow-wrap: anywhere;
}
.license-search-panel {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(260px, 2fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.license-search-panel label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.license-search-panel input {
  margin: 0;
}
.license-search-panel span {
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}
.muted-inline {
  color: var(--muted);
  font-weight: 700;
}
.table-wrap {
  width: 100%;
  max-height: 560px;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.table-wrap.tall { max-height: calc(100vh - 176px); }
.table-wrap.small { max-height: 296px; }
.table-wrap.event-master { max-height: 44vh; border-radius: 0; }
.table-wrap.event-detail { max-height: 39vh; border-radius: 0; }
.event-view-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}
.event-view-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}
.event-view-strip a.active {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px rgba(30, 101, 167, .18);
}
.event-view-strip span {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.event-view-strip strong {
  font-size: 22px;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--panel);
}
th, td {
  border-bottom: 1px solid var(--line-soft);
  padding: 9px 10px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
}
tbody tr:hover { background: #f6f9fc; }
th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f1f5f9;
  color: #44566a;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
thead tr:first-child th {
  z-index: 4;
}
thead tr.column-filter-row th {
  top: 31px;
  z-index: 3;
  padding: 4px 6px;
  background: #eef5fa;
}
.column-filter-row input {
  width: 118px;
  min-width: 86px;
  padding: 5px 6px;
  font-size: 12px;
  border-radius: 5px;
}
.column-filter-row select {
  width: 118px;
  min-width: 86px;
  padding: 5px 6px;
  font-size: 12px;
  border-radius: 5px;
}
.column-filter-row .filter-submit-cell {
  min-width: 166px;
}
.column-filter-row .filter-submit-cell input {
  width: 94px;
}
.column-filter-row .filter-submit-cell select {
  width: 94px;
}
.column-filter-row .filter-submit-cell button {
  margin-left: 4px;
  min-height: 27px;
}
tbody tr:nth-child(even) { background: #f3f6f8; }
tbody tr:hover { background: #fff5d8; }
tbody tr.row-ok { background: #e7f7ec; }
tbody tr.row-warn { background: #fff4df; }
tbody tr.row-escolar { background: #fff5d8; }
tbody tr.row-seguro { background: #edf8ef; }
tbody tr.selected-row { background: #ffdede; }
tbody tr.row-off { color: #7c8792; text-decoration: line-through; }
tbody tr.click-row { cursor: default; }
.mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 800;
}
.mini-action.danger {
  border-color: #e4b5b5;
  background: #fff0f0;
  color: var(--red);
}
.danger-gate {
  min-width: 128px;
}
.danger-gate summary {
  cursor: pointer;
  color: #8a3b3b;
  font-size: 12px;
  font-weight: 800;
}
.danger-gate form {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}
.danger-gate input {
  max-width: 110px;
}
.mini-action:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}
.row-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}
.row-actions form {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.compact-actions {
  min-width: 220px;
}
.sticky-actions-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  background: inherit;
  box-shadow: 8px 0 10px rgba(12, 27, 47, .05);
}
.mini-select {
  min-width: 118px;
  width: 118px;
  padding: 4px 6px;
  font-size: 11px;
}
.affiliation-action-form {
  display: grid;
  gap: 6px;
  min-width: 190px;
}
.affiliation-action-form .mini-select {
  width: 100%;
  min-width: 0;
}
.affiliation-action-form .mini-action {
  width: 100%;
  justify-content: center;
}
.dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.55);
}
.dot.ok { background: var(--green); }
.dot.off { background: var(--red); }
.badge, .status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 12px;
}
.badge.ok {
  background: #e8f5ea;
  color: var(--green);
}
.badge.danger {
  background: #fff0f0;
  color: var(--red);
}
.status {
  background: #fff0d7;
  color: var(--amber);
}
.status.status-ok {
  background: #e8f5ea;
  color: var(--green);
}
.status.status-off {
  background: #fff0f0;
  color: var(--red);
}
button.secondary {
  background: #fff;
  color: var(--blue-dark);
  border-color: var(--line);
}
button.warn,
.mini-action.warn {
  background: #fff4df;
  color: #8a5b00;
  border-color: #e2c27a;
}
.mini-action.ok {
  background: #e8f6ef;
  color: var(--green);
  border-color: #bdddc9;
}
.club-batch-main td {
  vertical-align: middle;
  background: #fff;
}
.club-batch-detail td {
  padding: 0 12px 14px;
  background: #f8fafc;
  border-top: 0;
}
.club-batch-detail span {
  display: block;
  margin: 2px 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.club-batch-detail p {
  margin: 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  line-height: 1.45;
}
.batch-accept-button {
  min-height: 46px;
  min-width: 150px;
  padding: 0 18px;
  font-weight: 900;
  background: var(--green);
  border-color: var(--green);
}
button.mini-action {
  min-width: 0;
  min-height: 24px;
  padding: 3px 7px;
  background: #fff;
  color: var(--blue);
  font-size: 11px;
}
.finance-head {
  border-left: 6px solid var(--ribbon);
}
.finance-stats .stat,
.finance-stats.stat {
  border-top: 4px solid var(--blue);
}
.finance-stats .stat-link {
  color: inherit;
  text-decoration: none;
}
.finance-stats .is-paid,
.stat.is-paid {
  border-top-color: var(--green);
  background: linear-gradient(180deg, #ffffff, #eefaf2);
}
.finance-stats .is-pending,
.stat.is-pending {
  border-top-color: var(--red);
  background: linear-gradient(180deg, #ffffff, #fff0ef);
}
.finance-toolbar {
  margin-bottom: 12px;
}
.finance-search {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}
.finance-search input[name="q"] {
  min-width: min(420px, 100%);
}
.finance-workbench {
  margin-bottom: 16px;
}
.finance-legend p {
  margin: 6px 0;
  color: var(--muted);
  font-weight: 700;
}
.finance-code-legend code {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fb;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.finance-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -1px;
}
.finance-dot.green { background: var(--green); }
.finance-dot.red { background: var(--red); }
.finance-dot.amber { background: var(--amber); }
.finance-panel {
  margin-bottom: 18px;
}
.finance-table-wrap {
  border-radius: 6px;
}
.finance-table {
  width: max-content;
  min-width: 100%;
  table-layout: auto;
}
.finance-table thead,
.finance-table thead tr {
  background: #24394e;
}
.finance-table th {
  background: #24394e;
  color: #fff;
  border-bottom-color: #18293b;
}
.finance-table tbody tr.finance-paid {
  background: #e8f6ef;
  color: #145b34;
}
.finance-table tbody tr.finance-pending {
  background: #fdecea;
  color: #932520;
}
.finance-table tbody tr.finance-draft {
  background: #fff6df;
  color: #7b5408;
}
.finance-table tbody tr.finance-paid:nth-child(even) {
  background: #dff1e7;
}
.finance-table tbody tr.finance-pending:nth-child(even) {
  background: #fff5f3;
}
.finance-table tbody tr:hover {
  outline: 2px solid #f2c94c;
  outline-offset: -2px;
}
.finance-table form {
  margin: 0;
}
.liquidacion-event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 220px;
}
.liquidacion-event-actions form {
  margin: 0;
}
.finance-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.finance-status.paid {
  background: #cfead8;
  color: #145b34;
}
.finance-status.pending {
  background: #ffd7d3;
  color: #8e211c;
}
.finance-status.draft {
  background: #ffe9b1;
  color: #745007;
}
.finance-actions {
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.finance-actions form {
  margin: 0;
}
.payment-admin-table th,
.payment-admin-table td {
  padding: 8px 9px;
}
.payment-admin-table .col-state {
  width: 64px;
  min-width: 64px;
}
.payment-admin-table .col-actions {
  width: 270px;
  min-width: 270px;
}
.payment-admin-table .col-number {
  width: 88px;
  min-width: 88px;
}
.payment-admin-table .col-pdf,
.payment-admin-table .col-lines {
  width: 54px;
  min-width: 54px;
  text-align: center;
}
.payment-admin-table .col-date {
  width: 94px;
  min-width: 94px;
}
.payment-admin-table .col-total {
  width: 92px;
  min-width: 92px;
}
.payment-admin-table .col-type {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  text-align: center;
}
.payment-admin-table .col-club {
  min-width: 190px;
  max-width: 280px;
}
.payment-admin-table .col-invoice {
  min-width: 90px;
}
.payment-admin-table .finance-status {
  min-height: 22px;
  min-width: 48px;
  padding: 3px 6px;
  font-size: 10px;
}
.payment-admin-table .finance-actions {
  min-width: 0;
  gap: 4px;
  flex-wrap: wrap;
}
.payment-admin-table .finance-actions .mini-action {
  min-height: 26px;
  padding: 4px 7px;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}
.payment-admin-table .finance-number-short {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.payment-admin-table .finance-type-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef2f6;
  color: #243447;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
}
.money {
  text-align: right;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.finance-detail-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.finance-detail-hero > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px 16px;
}
.finance-detail-hero span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.finance-detail-hero strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}
.finance-detail-hero.paid > div:first-child {
  background: #e8f6ef;
  color: var(--green);
  border-color: #bdddc9;
}
.finance-detail-hero.pending > div:first-child {
  background: #fdecea;
  color: var(--red);
  border-color: #efc3be;
}
.finance-detail-hero.draft > div:first-child {
  background: #fff4df;
  color: var(--amber);
  border-color: #e2c27a;
}
.finance-flow {
  margin-bottom: 14px;
}
.finance-mobile-payments {
  display: none;
}
.mobile-payment-list {
  display: grid;
  gap: 10px;
}
.mobile-payment-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #efc3be;
  border-left: 5px solid var(--red);
  border-radius: 8px;
  background: #fff7f6;
  box-shadow: 0 2px 10px rgba(15, 34, 52, .08);
}
.mobile-payment-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}
.mobile-payment-card header span,
.mobile-payment-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.mobile-payment-card header strong {
  display: block;
  margin-top: 2px;
  color: var(--blue-dark);
  font-size: 18px;
}
.mobile-payment-card header b {
  color: var(--red);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mobile-payment-card p {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}
.mobile-payment-meta,
.mobile-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-payment-meta span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
}
.mobile-payment-actions form {
  margin: 0;
}
.mobile-payment-actions .button,
.mobile-payment-actions button {
  min-height: 44px;
}
.mobile-primary-action {
  min-width: 156px;
}
.module-shell {
  display: grid;
  grid-template-columns: 206px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.module-sidebar {
  display: grid;
  gap: 10px;
}
.module-block {
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.module-block h3 {
  margin: 0;
  padding: 8px 10px;
  background: #e8edf2;
  color: var(--blue-dark);
  font-size: 13px;
}
.module-block a,
.module-block span,
.module-block form {
  display: block;
  padding: 8px 10px;
  border-top: 1px solid var(--line-soft);
}
.module-block a:hover {
  background: #eef6fb;
  text-decoration: none;
}
.area-switcher a {
  margin: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--panel-soft);
  font-weight: 900;
}
.area-switcher a.active {
  background: var(--blue);
  border-color: var(--blue-dark);
  color: #fff;
  box-shadow: 0 6px 14px rgba(30, 101, 167, .18);
}
.area-switcher a.active:hover {
  background: var(--blue-dark);
  color: #fff;
}
.module-block .link-button {
  width: 100%;
  text-align: left;
}
.module-workspace {
  min-width: 0;
}
.event-panel-shell {
  display: grid;
  gap: 14px;
}
.event-panel-head {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}
.event-page-actions {
  justify-content: flex-end;
}
.event-filter-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.event-filter-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(140px, 1fr));
  gap: 10px;
  align-items: end;
}
.event-filter-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.event-list-panel {
  display: grid;
  gap: 8px;
}
.compact-head {
  align-items: center;
  margin-bottom: 10px;
}
.stacked-table {
  display: grid;
  gap: 8px;
}
.wide-form {
  max-width: 1180px;
}
.club-profile-form.is-readonly input:not([type="password"]),
.club-profile-form.is-readonly textarea {
  background: #f4f7fa;
  color: #293847;
  cursor: default;
}
.credentials-panel {
  scroll-margin-top: 18px;
}
.check-line {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}
.check-line input,
.tiny-check input {
  width: auto;
  min-width: 0;
}
.event-builder {
  gap: 14px;
}
.event-step {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.event-step[hidden],
[data-section][hidden] {
  display: none !important;
}
.event-type-grid,
.event-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.event-type-card,
.event-toggle-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  cursor: pointer;
}
.event-type-card input,
.event-toggle-card input {
  width: 20px;
  height: 20px;
  min-width: 20px;
}
.event-type-card:has(input:checked),
.event-toggle-card:has(input:checked) {
  border-color: var(--blue);
  background: #eaf3fb;
}
.event-type-card span,
.event-toggle-card span {
  font-weight: 900;
  color: var(--blue-dark);
}
.event-rule-panel {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid #c8d8e8;
  border-radius: 7px;
  background: #f3f8fc;
}
.event-rule-panel strong {
  color: var(--blue-dark);
}
.event-save-button {
  min-height: 50px;
  justify-self: start;
  padding: 0 22px;
  font-weight: 900;
}
.event-action-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #e2b84c;
  border-radius: 7px;
  background: #fff8e6;
}
.event-action-callout.is-open {
  border-color: #9bd3a5;
  background: #edf8ef;
}
.event-action-callout span,
.event-action-callout p {
  color: var(--muted);
}
.event-action-callout strong {
  display: block;
  margin: 3px 0;
  color: var(--blue-dark);
  font-size: 20px;
}
.event-master-modern {
  max-height: calc(100vh - 320px);
  min-height: 280px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(12, 27, 47, .08);
}
.event-admin-table th {
  background: #f1f5f9;
}
.event-admin-table td {
  padding: 11px 10px;
  vertical-align: middle;
}
.event-name-cell {
  min-width: 340px;
  max-width: 560px;
}
.event-name-cell a {
  display: block;
  color: #172432;
  font-weight: 900;
}
.event-name-cell small,
.event-date-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.event-status-stack {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.event-count {
  display: inline-flex;
  justify-content: center;
  min-width: 36px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--blue-dark);
}
.event-row-actions {
  min-width: 360px;
  align-items: center;
  flex-wrap: wrap;
}
.event-more-actions {
  position: relative;
}
.event-more-actions summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef1f4;
  color: #495565;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.event-more-actions summary::-webkit-details-marker {
  display: none;
}
.event-more-actions > div {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  min-width: 144px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(12, 27, 47, .16);
}
.event-more-actions form {
  display: block;
}
.event-detail-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.event-detail-headline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.event-detail-headline .section-title {
  margin-top: 0;
}
.event-cancelled-panel {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #f8fafc;
}
.event-cancelled-panel summary {
  font-weight: 900;
  cursor: pointer;
}
.calendar-admin-shell {
  gap: 16px;
}
.calendar-publication-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.calendar-publication-panel.is-live {
  border-color: #9bd3a5;
  background: #f2fbf4;
}
.calendar-publication-panel.is-draft {
  border-color: #f0d28d;
  background: #fff8e7;
}
.calendar-publication-panel span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.calendar-publication-panel strong {
  display: block;
  margin-top: 4px;
  color: #172432;
  font-size: 18px;
  font-weight: 900;
}
.calendar-publication-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}
.calendar-filter-grid {
  grid-template-columns: minmax(180px, .45fr) minmax(240px, 1fr) minmax(180px, .42fr);
}
.calendar-filter-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}
.calendar-filter-panel .command-bar {
  align-self: end;
}
.calendar-admin-layout {
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.calendar-editor {
  position: sticky;
  top: 14px;
  gap: 10px;
  padding: 0;
  overflow: hidden;
  border-color: #d5dee9;
  box-shadow: 0 14px 32px rgba(12, 27, 47, .08);
}
.calendar-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #edf1f6;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.calendar-editor-head span,
.calendar-editor-section > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.calendar-editor-head h2 {
  margin: 3px 0 0;
  color: #172432;
  font-size: 22px;
  line-height: 1.1;
}
.calendar-editor-section {
  display: grid;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #edf1f6;
}
.calendar-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calendar-field-grid .is-wide {
  grid-column: 1 / -1;
}
.calendar-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #3d4754;
  font-size: 12px;
  font-weight: 900;
}
.calendar-field input,
.calendar-field select,
.calendar-field textarea,
.calendar-editor input,
.calendar-editor select,
.calendar-editor textarea {
  width: 100%;
  min-width: 0;
}
.calendar-field textarea {
  resize: vertical;
}
.calendar-color-select {
  border-left: 12px solid #facc15;
  background: #ffffff;
}
.calendar-color-select option[value="#facc15"] {
  background: #fff7cc;
}
.calendar-color-select option[value="#22c55e"] {
  background: #dcfce7;
}
.calendar-toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.calendar-save-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 16px 16px;
  background: #f8fafc;
}
.calendar-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.calendar-mode-switch {
  display: inline-flex;
  gap: 6px;
  justify-self: start;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.calendar-mode-switch a {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.calendar-mode-switch a.active {
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(12, 27, 47, .12);
}
.calendar-month-list,
.calendar-card-list {
  display: grid;
  gap: 12px;
}
.calendar-grid-months {
  display: grid;
  gap: 18px;
}
.calendar-grid-month {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.calendar-grid-month h3 {
  margin: 0;
  color: #172432;
  font-size: 18px;
  text-transform: capitalize;
}
.calendar-grid-head,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
}
.calendar-grid-head span {
  padding: 7px 8px;
  background: #e8edf3;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.calendar-grid-day {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 118px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #e2e8ee;
  background: #ffffff;
}
.calendar-grid-day.is-outside {
  background: #f8fafc;
  color: #94a3b8;
}
.calendar-grid-day.has-events {
  background: #fbfdff;
}
.calendar-grid-date {
  color: #172432;
  font-size: 12px;
  font-weight: 900;
}
.calendar-grid-events {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.calendar-grid-event {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 6px 7px;
  border-left: 5px solid var(--calendar-color, #facc15);
  border-radius: 6px;
  background: #ffffff;
  color: #172432;
  text-decoration: none;
  box-shadow: 0 2px 7px rgba(12, 27, 47, .08);
}
.calendar-grid-event.is-draft {
  background: #f6f7f9;
  opacity: .82;
}
.calendar-grid-event strong {
  overflow: hidden;
  color: #172432;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-grid-event small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-month-block {
  display: grid;
  gap: 10px;
}
.calendar-month-block h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 2px 2px 7px;
  border-bottom: 1px solid #e8edf3;
  color: #172432;
  font-size: 17px;
  text-transform: capitalize;
}
.calendar-month-block h3 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}
.calendar-admin-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8e2ee;
  border-left: 6px solid var(--calendar-color, #d00000);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(12, 27, 47, .045);
}
.calendar-admin-card.is-private {
  opacity: .72;
  background: #f6f7f9;
}
.calendar-admin-card.is-featured {
  box-shadow: 0 14px 30px rgba(208, 0, 0, .12);
}
.calendar-admin-date {
  display: grid;
  align-content: start;
  gap: 3px;
  padding: 16px 14px;
  border-right: 1px solid #edf1f6;
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.calendar-admin-date strong {
  color: #172432;
  font-size: 16px;
}
.calendar-admin-body {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 15px 16px;
}
.calendar-admin-body header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.calendar-admin-body header strong {
  display: block;
  color: #172432;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}
.calendar-admin-body header small,
.calendar-admin-body p {
  color: var(--muted);
  margin: 0;
}
.calendar-card-actions {
  padding-top: 4px;
  flex-wrap: wrap;
}
.calendar-card-actions .mini-action {
  min-height: 28px;
  padding-inline: 10px;
  background: #f4f7fb;
}
.calendar-sync-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(4, minmax(180px, 1fr));
  gap: 12px;
}
.calendar-advanced-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.calendar-advanced-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}
.calendar-advanced-panel summary::-webkit-details-marker {
  display: none;
}
.calendar-advanced-panel summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.calendar-advanced-panel summary strong {
  color: #172432;
  font-size: 15px;
  font-weight: 900;
}
.calendar-advanced-panel summary::after {
  content: "+";
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e2ee;
  border-radius: 7px;
  background: #f8fafc;
  color: var(--blue-dark);
  font-weight: 900;
}
.calendar-advanced-panel[open] summary {
  border-bottom: 1px solid #edf1f6;
}
.calendar-advanced-panel[open] summary::after {
  content: "-";
}
.calendar-advanced-panel .calendar-sync-grid {
  padding: 14px 16px 16px;
}
.calendar-sync-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.calendar-sync-grid textarea,
.calendar-sync-grid input[readonly] {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.event-admin-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 14px 0;
  padding: 15px;
  border: 1px solid #f0c9c9;
  border-radius: 10px;
  background: #fff8f8;
}
.event-admin-zone span,
.juegos-flow-grid article span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-admin-zone strong,
.juegos-flow-grid article strong {
  display: block;
  margin-top: 4px;
  color: #172432;
  font-size: 18px;
  font-weight: 900;
}
.event-admin-zone p,
.juegos-flow-grid article p {
  margin: 6px 0 0;
  color: var(--muted);
}
.juegos-flow-panel {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 27, 47, .07);
}
.juegos-ops-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.juegos-step-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 210px;
  padding: 16px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(12, 27, 47, .07);
}
.juegos-step-card.is-live {
  border-color: #e2b84c;
  background: #fffaf0;
}
.juegos-step-card.is-ready {
  border-color: #9bd3a5;
  background: #f2fbf4;
}
.juegos-step-card > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.juegos-step-card > strong {
  color: #172432;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.12;
}
.juegos-metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.juegos-metric-row b {
  display: block;
  color: #172432;
  font-size: 22px;
  line-height: 1;
}
.juegos-metric-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.juegos-turn-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.juegos-turn-strip a,
.juegos-turn-strip small {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #cdd9e5;
  border-radius: 999px;
  background: #f7fafc;
  color: #172432;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.juegos-turnos-panel {
  border-color: #9bc3df;
  background: #f5fbff;
}
.juegos-turnos-table td {
  vertical-align: top;
}
.juegos-turnos-table small {
  display: block;
  margin: 4px 0;
  color: var(--muted);
}
.juegos-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e2b84c;
  border-radius: 10px;
  background: #fff8e6;
}
.juegos-next-step.is-open {
  border-color: #9bd3a5;
  background: #edf8ef;
}
.juegos-next-step span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.juegos-next-step strong {
  display: block;
  margin-top: 3px;
  color: #172432;
  font-size: 18px;
  font-weight: 900;
}
.juegos-next-step p {
  margin: 5px 0 0;
  color: var(--muted);
}
.juegos-ligas-ready {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid #9bd3a5;
  border-radius: 10px;
  background: #edf8ef;
  box-shadow: 0 10px 24px rgba(12, 27, 47, .08);
}
.juegos-ligas-ready span {
  color: #315f3a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.juegos-ligas-ready strong {
  display: block;
  margin-top: 3px;
  color: #172432;
  font-size: 22px;
  font-weight: 900;
}
.juegos-ligas-ready p {
  margin: 5px 0 0;
  color: var(--muted);
}
.league-mode-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
}
.league-mode-picker legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.league-mode-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: start;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.league-mode-card input {
  grid-row: 1 / span 3;
  margin-top: 3px;
}
.league-mode-card:has(input:checked) {
  border-color: #d60000;
  background: #fff6f6;
  box-shadow: 0 0 0 2px rgba(214, 0, 0, .08);
}
.league-mode-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.league-mode-card strong {
  color: #172432;
  font-size: 15px;
  font-weight: 900;
}
.league-mode-card small {
  color: var(--muted);
  line-height: 1.25;
}
.juegos-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.juegos-flow-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.juegos-flow-grid article:nth-child(2) {
  background: linear-gradient(180deg, #ffffff 0%, #f7fff9 100%);
}
.juegos-flow-grid article:nth-child(3) {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
}
.juegos-flow-grid article:nth-child(4) {
  background: linear-gradient(180deg, #ffffff 0%, #fff7f7 100%);
}
.juegos-flow-wide {
  grid-column: 1 / -1;
}
.event-primary-action {
  min-height: 58px;
  padding: 0 22px;
  font-weight: 900;
}
.afp-operation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.afp-operation-flow article {
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 14px;
  border: 1px solid #c8d8e8;
  border-radius: 7px;
  background: #f7fbff;
}
.afp-operation-flow span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 900;
}
.afp-operation-flow strong {
  color: var(--blue-dark);
}
.afp-operation-flow small,
.attendance-secondary-actions summary,
.afp-manual-add-panel p {
  color: var(--muted);
}
.attendance-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.attendance-main-actions .button {
  min-height: 52px;
}
.attendance-secondary-actions {
  margin: 0 0 12px;
}
.attendance-secondary-actions summary {
  cursor: pointer;
  font-weight: 900;
}
.attendance-secondary-actions .command-bar {
  margin-top: 10px;
}
.afp-manual-add-panel {
  margin-bottom: 14px;
}
.afp-club-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.afp-club-summary-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #c8d8e8;
  border-left: 6px solid #3b82f6;
  border-radius: 7px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.afp-club-summary-card.is-complete {
  border-left-color: #1f9d55;
}
.afp-club-summary-card.is-pending {
  border-left-color: #e2b84c;
}
.afp-club-summary-card strong {
  color: var(--blue-dark);
}
.afp-club-summary-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.afp-club-summary-card dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.afp-club-summary-card div {
  display: grid;
  gap: 2px;
  padding: 8px;
  border-radius: 6px;
  background: #f7fafc;
}
.afp-club-summary-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.afp-club-summary-card dd {
  margin: 0;
  color: #172432;
  font-size: 20px;
  font-weight: 900;
}
.afp-pending-liquidations {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid #e2b84c;
  border-left: 7px solid #e2b84c;
  border-radius: 7px;
  background: #fff8e6;
}
.afp-pending-liquidations span,
.afp-pending-liquidations p {
  color: var(--muted);
}
.afp-pending-liquidations strong {
  display: block;
  margin: 3px 0;
  color: var(--blue-dark);
  font-size: 20px;
}
@media (max-width: 900px) {
.afp-operation-flow,
  .afp-pending-liquidations {
    grid-template-columns: 1fr;
  }
.attendance-main-actions .button,
  .attendance-main-actions a.button,
  .afp-pending-liquidations button {
    width: 100%;
  }
.afp-club-summary-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.inline-mini {
  display: flex;
  gap: 6px;
  align-items: center;
}
.inline-mini input {
  min-width: 84px;
  width: 94px;
}
.tiny-check {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 700;
}
.info-panel, .panel-form, .panel {
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}
.panel h2, .info-panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.panel h2::before, .info-panel h2::before {
  content: "";
  width: 5px;
  height: 17px;
  border-radius: 3px;
  background: var(--blue);
  flex: none;
}
.panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.panel-form {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}
.panel-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
}
.panel-form input, .panel-form select, .panel-form textarea {
  width: 100%;
  min-width: 0;
}
.form-grid,
.inline-edit-grid {
  display: grid;
  gap: 10px;
  align-items: end;
}
.form-grid {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}
.inline-edit-grid {
  grid-template-columns: repeat(6, minmax(118px, 1fr));
}
.form-grid label,
.inline-edit-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-weight: 800;
}
.form-grid input,
.form-grid select,
.inline-edit-grid input,
.inline-edit-grid select {
  width: 100%;
  min-width: 0;
}
.full-span {
  grid-column: 1 / -1;
}
.help-box,
.employee-link-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}
.help-box span {
  color: var(--muted);
}
.employee-link-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin: 8px 0 12px;
}
.employee-link-box label {
  display: grid;
  gap: 5px;
}
.employee-link-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(145px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.check-grid.compact {
  grid-template-columns: repeat(6, minmax(120px, 1fr));
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 9px;
  background: var(--panel-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--ink);
}
.check-grid input {
  width: auto;
  min-width: 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.muted {
  color: var(--muted);
}
.inline-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 150px minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
}
.compact-input {
  min-width: 0;
  max-width: 12rem;
}
tr.row-warning {
  background: #fff7e6;
}
.print-section {
  break-inside: avoid;
}
.stack-form {
  display: grid;
  gap: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
}
.stack-form button {
  justify-self: start;
}
dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 12px;
  margin: 0;
}
dt {
  color: var(--muted);
  font-weight: 800;
}
dd { margin: 0; }
.action-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.action-list span {
  background: var(--panel-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
}
.action-list a {
  background: var(--panel-soft);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 10px;
  font-weight: 700;
}
.card {
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.stats > article {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 15px 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.stats > article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}
.stats > article span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.stats > article strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
  line-height: 1.05;
  color: var(--blue-dark);
}
.stats > article small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}
.compact-title {
  margin-top: 0;
}
.compact-table th,
.compact-table td {
  padding: 6px 7px;
}
.deportistas-head {
  align-items: start;
  margin-bottom: 10px;
}
.deportistas-head p {
  max-width: 620px;
}
.deportistas-search {
  justify-content: flex-end;
  align-items: center;
}
.deportistas-search input[name="q"] {
  min-width: 220px;
}
.admin-limit-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.admin-limit-control select {
  width: 86px;
  min-width: 74px;
  min-height: 24px;
  height: 26px;
  padding: 2px 6px;
  font-size: 12px;
}
.deportistas-search select[name="estado"] {
  min-width: 160px;
}
.deportistas-search select[name="f_deporte"] {
  min-width: 150px;
}
.deportistas-search select[name="f_sexo"],
.deportistas-search select[name="f_grado"],
.deportistas-search select[name="f_temporada"] {
  min-width: 128px;
}
.deportistas-search .admin-column-toggles {
  max-width: 460px;
}
.deportistas-search .admin-column-toggles label {
  min-height: 34px;
  padding: 6px 8px;
  font-size: 12px;
}
.admin-status-segment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.admin-status-segment a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.admin-status-segment a.active {
  background: #eef6fb;
  border-color: #9cc4e7;
  box-shadow: inset 0 0 0 1px rgba(30, 101, 167, .16);
}
.admin-status-segment .license-dot {
  width: 11px;
  height: 11px;
}
.admin-athlete-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 10px;
}
.admin-athlete-stats article {
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}
.admin-athlete-stats article.is-filtered {
  border-color: rgba(30, 101, 167, .45);
  box-shadow: inset 0 -3px 0 rgba(30, 101, 167, .32);
}
.admin-athlete-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.admin-athlete-stats strong {
  display: block;
  margin-top: 3px;
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1;
}
.admin-athlete-stats small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}
.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}
.admin-pagination strong {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
}
.admin-pagination span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.admin-pagination-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-pagination .button.disabled {
  opacity: .5;
  pointer-events: none;
}
.excel-filter {
  position: relative;
  min-width: 250px;
}
.column-picker {
  min-width: 180px;
}
.excel-filter summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
  list-style: none;
}
.excel-filter summary::-webkit-details-marker {
  display: none;
}
.excel-filter summary::after {
  content: "v";
  color: var(--blue);
  font-weight: 900;
}
.excel-filter[open] summary::after {
  content: "^";
}
.excel-filter summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.excel-filter summary strong {
  color: var(--blue-dark);
  font-size: 12px;
}
.excel-filter-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  display: grid;
  gap: 8px;
  width: min(360px, 88vw);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 34, 52, .2);
}
.excel-filter-search {
  width: 100%;
  min-width: 0;
}
.excel-filter-actions {
  display: flex;
  gap: 6px;
}
.excel-filter-actions .mini-action {
  flex: 1;
  min-height: 30px;
}
.excel-filter-options {
  display: grid;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}
.excel-filter-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 30px;
  padding: 5px 6px;
  border-radius: 6px;
  cursor: pointer;
}
.excel-filter-options label:hover {
  background: var(--panel-soft);
}
.excel-filter-options input {
  width: 16px;
  height: 16px;
  min-width: 0;
  min-height: 0;
  margin: 0;
}
.excel-filter-options span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.column-picker-panel {
  width: min(240px, 86vw);
}
.deportistas-wrap {
  max-height: calc(100vh - 242px);
  --table-cell-x: 5px;
}
.column-filter-hint {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.deportistas-wrap .deportistas-table {
  width: max(100%, var(--dep-table-width, 980px));
  min-width: 760px;
  table-layout: fixed;
  font-size: 12px;
}
.deportistas-wrap .deportistas-table th,
.deportistas-wrap .deportistas-table td {
  padding: 5px var(--table-cell-x);
  overflow: hidden;
  text-overflow: ellipsis;
}
.deportistas-wrap .deportistas-table th {
  font-size: 11px;
  position: sticky;
}
.deportistas-wrap .deportistas-table thead tr:first-child th[data-col-key] {
  padding-right: 11px;
}
.deportistas-wrap .deportistas-table .sort-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: 100%;
  min-height: 24px;
  padding: 2px 4px;
  border: 1px solid rgba(23, 36, 50, .18);
  border-radius: 5px;
  background: rgba(255,255,255,.5);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.deportistas-wrap .deportistas-table .sort-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deportistas-wrap .deportistas-table .sort-link:hover {
  border-color: var(--blue);
  background: #ffffff;
  color: var(--blue-dark);
}
.deportistas-wrap .deportistas-table .sort-link small {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  min-height: 17px;
  padding: 1px 4px;
  border-radius: 999px;
  background: rgba(30, 101, 167, .12);
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 900;
  flex: 0 0 auto;
}
.deportistas-wrap .deportistas-table th.sorted {
  background: #eef6ff;
  color: var(--blue-dark);
  box-shadow: inset 0 -3px 0 var(--blue);
}
.deportistas-wrap .deportistas-table th.sorted .sort-link {
  border-color: var(--blue);
  background: #ffffff;
}
.deportistas-wrap .deportistas-table th.sorted .sort-link small {
  background: var(--blue);
  color: #ffffff;
}
.deportistas-filter-row input,
.deportistas-filter-row select {
  width: 100%;
  min-width: 0;
  height: 25px;
  padding: 3px 5px;
}
.deportistas-wrap .deportistas-table .col-resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 100%;
  cursor: col-resize;
  touch-action: none;
  z-index: 7;
}
.deportistas-wrap .deportistas-table .col-resizer::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 3px;
  width: 2px;
  height: calc(100% - 14px);
  border-radius: 999px;
  background: rgba(30, 101, 167, .18);
}
.deportistas-wrap .deportistas-table .col-resizer:hover::after,
body.is-column-resizing .deportistas-wrap .deportistas-table .col-resizer::after {
  background: rgba(30, 101, 167, .68);
}
body.is-column-resizing {
  cursor: col-resize;
  user-select: none;
}
.license-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(15, 34, 52, .12);
  vertical-align: middle;
}
.license-dot.license-ok {
  background: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .14);
}
.license-dot.license-pending {
  background: #d28b00;
  box-shadow: 0 0 0 3px rgba(210, 139, 0, .16);
}
.license-dot.license-bad {
  background: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .14);
}
.club-status-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(15, 34, 52, .12);
  vertical-align: middle;
}
.club-status-dot.is-active {
  background: #15803d;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, .14);
}
.club-status-dot.is-inactive {
  background: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .14);
}
.club-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
tbody tr.row-insurance-school,
tbody tr.row-insurance-missing { background: #fff8e8; }
tbody tr.row-insurance-ordinary,
tbody tr.row-insurance-covered { background: #edf8ef; }
.deportistas-wrap .deportistas-table tbody td.col-state.row-insurance-school,
.deportistas-wrap .deportistas-table tbody td.col-state.row-insurance-missing {
  background: #fff3d6;
  box-shadow: inset 4px 0 0 #d4a019;
}
.deportistas-wrap .deportistas-table tbody td.col-state.row-insurance-ordinary,
.deportistas-wrap .deportistas-table tbody td.col-state.row-insurance-covered {
  background: #e4f5e8;
  box-shadow: inset 4px 0 0 #2f8a4b;
}
.deportistas-wrap .deportistas-table tbody tr:nth-child(odd) td:not(.col-state) {
  background: #ffffff;
}
.deportistas-wrap .deportistas-table tbody tr:nth-child(even) td:not(.col-state) {
  background: #edf8ef;
}
.deportistas-wrap .deportistas-table tbody tr:hover td:not(.col-state) {
  background: #fff5d8;
}
.col-state { text-align: center; }
.deportistas-wrap .deportistas-table .col-state { text-align: center; }
.deportistas-wrap .deportistas-table .col-photo { text-align: center; }
.deportistas-wrap .deportistas-table .col-age { text-align: center; }
.deportistas-wrap .deportistas-table .col-sex { text-align: center; }
.seguro-search input[name="q"] {
  min-width: 240px;
}
.seguro-search input[name="temporada"] {
  min-width: 118px;
  width: 118px;
}
.seguro-search select[name="vista"] {
  min-width: 170px;
}
.seguro-search select[name="club_id"] {
  min-width: 220px;
}
.seguro-search select[name="categoria"],
.seguro-search select[name="orden"] {
  min-width: 150px;
}
.seguro-list-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 14px;
}
.seguro-list-filter input,
.seguro-list-filter select {
  min-height: 38px;
}
#listados-enviados .seguro-list-filter {
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}
#listados-enviados .seguro-list-filter input[name="envio_q"] {
  min-width: min(280px, 100%);
}
.seguro-import-panel {
  margin: 10px 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.seguro-import-panel summary {
  min-height: 42px;
  padding: 11px 12px;
  color: var(--blue-dark);
  font-weight: 900;
  cursor: pointer;
}
.seguro-import-panel .seguro-list-filter {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0 0 7px 7px;
}
.seguro-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.seguro-check input {
  min-width: 16px;
  width: 16px;
  height: 16px;
}
.seguro-top-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 9px;
  margin: -4px 0 16px;
}
.seguro-top-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  min-height: 70px;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 34, 52, .05);
}
.seguro-top-action:hover,
.seguro-top-action.active {
  border-color: var(--blue);
  border-left-color: var(--ribbon);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 34, 52, .14);
}
.seguro-top-action span {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}
.seguro-top-action strong {
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1;
  text-align: right;
}
.seguro-top-action-doc {
  border-left-color: var(--green);
}
.seguro-report-panel {
  margin-top: 12px;
}
.seguro-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.seguro-report-card {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 34, 52, .05);
}
.seguro-report-card:hover {
  border-color: var(--green);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 34, 52, .12);
}
.seguro-report-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}
.seguro-report-card strong {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
}
.seguro-report-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.seguro-wrap {
  max-height: calc(100vh - 285px);
}
.seguro-current-list {
  margin: 16px 0 8px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 7px;
}
.seguro-current-list .section-title {
  margin-bottom: 4px;
}
.seguro-table {
  font-size: 12px;
}
.seguro-table th,
.seguro-table td {
  padding: 6px 7px;
}
.seguro-table th {
  font-size: 11px;
}
.seguro-section-title {
  gap: 12px;
  align-items: center;
}
.seguro-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.seguro-title-actions form {
  display: inline-flex;
}
.seguro-primary-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  border-left: 5px solid var(--red);
}
.seguro-primary-action strong {
  display: inline-block;
  margin-right: 7px;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1;
}
.seguro-primary-action small {
  color: var(--muted);
  font-weight: 800;
}
.seguro-person-table th,
.seguro-person-table td,
.seguro-international-table th,
.seguro-international-table td {
  white-space: nowrap;
  vertical-align: top;
}
.seguro-person-cell {
  min-width: 250px;
}
.seguro-person-cell a {
  display: block;
  font-weight: 900;
}
.seguro-person-cell small,
.seguro-cell-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}
.seguro-state-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
}
.seguro-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.seguro-status-card {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  border-radius: 7px;
  background: #fff;
}
.seguro-status-card-warn {
  border-left-color: var(--amber);
}
.seguro-status-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.seguro-status-card strong {
  color: var(--blue-dark);
  font-size: 28px;
  line-height: 1;
}
.seguro-status-card small {
  color: var(--muted);
  font-weight: 800;
}
.seguro-international-panel {
  margin-top: 12px;
}
.seguro-international-wrap {
  max-height: calc(100vh - 315px);
}
.seguro-international-table td:nth-child(3) {
  min-width: 240px;
  white-space: normal;
}
.seguro-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seguro-row-actions form {
  display: inline-flex;
}
.seguro-access-zone {
  margin: 16px 0;
}
.seguro-action-grid,
.seguro-envios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.seguro-action-card,
.seguro-envio-card,
.seguro-athlete-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
  text-decoration: none;
}
.seguro-action-card {
  display: grid;
  gap: 7px;
  min-height: 126px;
  padding: 13px 14px;
  border-left: 5px solid var(--blue);
}
.seguro-action-card:hover {
  border-color: var(--blue);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(15, 34, 52, .12);
}
.seguro-action-card span,
.seguro-envio-card span,
.seguro-athlete-main span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.seguro-action-card strong {
  font-size: 28px;
  line-height: 1;
}
.seguro-action-card small,
.seguro-athlete-main small {
  color: var(--muted);
  line-height: 1.35;
}
.seguro-import-note {
  display: block;
  margin-top: 4px;
  color: #8f5a00;
}
.seguro-action-card-ok { border-left-color: var(--green); }
.seguro-action-card-warn { border-left-color: var(--amber); }
.seguro-action-card-info { border-left-color: var(--blue); }
.seguro-action-card-report { border-left-color: var(--ribbon); }
.seguro-task-board {
  margin-bottom: 14px;
}
.seguro-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.seguro-task-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-content: space-between;
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: var(--panel);
}
.seguro-task-card-primary {
  border-left-color: var(--red);
}
.seguro-task-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.seguro-task-card strong {
  display: inline-block;
  margin-right: 6px;
  font-size: 30px;
  line-height: 1;
}
.seguro-task-card small {
  color: var(--muted);
  line-height: 1.35;
}
.seguro-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.seguro-task-actions form {
  display: inline-flex;
}
.seguro-envios-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: 12px;
}
.seguro-envio-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-top: 4px solid var(--blue);
}
.seguro-envio-card strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}
.seguro-envio-card dl,
.seguro-athlete-card dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin: 0;
}
.seguro-envio-card dt,
.seguro-athlete-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.seguro-envio-card dd,
.seguro-athlete-card dd {
  margin: 0;
  min-width: 0;
}
.seguro-envio-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.seguro-visual-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}
.seguro-athlete-card {
  display: grid;
  grid-template-columns: minmax(210px, 1.3fr) minmax(260px, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
}
.seguro-athlete-main strong {
  display: block;
  margin: 4px 0;
  font-size: 15px;
}
@media (max-width: 760px) {
.seguro-primary-action,
  .seguro-task-grid {
    grid-template-columns: 1fr;
  }
.seguro-title-actions {
    justify-content: stretch;
  }
.seguro-title-actions > *,
  .seguro-title-actions form,
  .seguro-title-actions button,
  .seguro-title-actions .button {
    width: 100%;
  }
.seguro-status-grid {
    grid-template-columns: 1fr;
  }
.seguro-athlete-card {
    grid-template-columns: 1fr;
  }
}
.tec-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, auto);
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #bfd4e5;
  border-radius: 8px;
  background: linear-gradient(90deg, #ffffff, #edf6fb);
}
.tec-hero h1 {
  font-size: 26px;
}
.tec-logo-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}
.tec-logo-panel img {
  max-width: 112px;
  max-height: 58px;
  object-fit: contain;
}
.tec-season {
  display: flex;
  align-items: end;
  gap: 8px;
}
.tec-season label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-weight: 800;
}
.tec-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.tec-flow span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}
.tec-flow .done {
  background: #e8f5ea;
  border-color: #a7d7b0;
  color: var(--green);
}
.tec-actions-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr) minmax(260px, .9fr);
  gap: 14px;
}
.tec-action-card {
  min-height: 190px;
}
.tec-upload {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
}
.tec-upload label {
  display: grid;
  gap: 5px;
  flex: 1;
  color: var(--muted);
  font-weight: 800;
}
.mini-log {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.tec-main-grid {
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(420px, 1.05fr);
  gap: 14px;
}
.tec-place-row {
  display: grid;
  grid-template-columns: 130px minmax(150px, 1fr) 88px;
  gap: 8px;
  align-items: center;
}
.tec-place-row strong {
  color: var(--blue-dark);
}
.tec-baremo-list {
  display: grid;
  gap: 5px;
  max-height: 190px;
  overflow: auto;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.tec-baremo-list span {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 110px;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.tec-session-form {
  display: grid;
  grid-template-columns: 142px minmax(170px, 1fr) 120px 130px auto;
  gap: 8px;
  margin-bottom: 12px;
}
.tec-table {
  max-height: 58vh;
}
.tec-inline-review {
  display: grid;
  grid-template-columns: 58px 130px auto 72px;
  gap: 6px;
  align-items: center;
  min-width: 340px;
}
.tec-inline-review input,
.tec-state-form select {
  min-width: 0;
}
.tec-inline-review label {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}
.tec-state-form {
  display: flex;
  gap: 6px;
  align-items: center;
}
.event-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.event-summary div {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.event-summary div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}
.event-summary span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-summary strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.05;
  color: var(--blue-dark);
}
.flash {
  background: #e8f5ea;
  border: 1px solid #a7d7b0;
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.flash p { color: #155b2b; font-weight: 700; }
@media (max-width: 1100px) {
.stats,
.work-grid,
.event-summary,
.kyu-submit-callout,
.tec-flow,
.tec-actions-grid,
.finance-detail-hero,
.landing-status,
.landing-flow,
.landing-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.two-columns,
.detail-grid,
.split,
.athlete-layout,
.athlete-detail-grid,
.athlete-history-grid,
.inline-form,
.tec-hero,
.tec-main-grid,
.tec-session-form,
.landing-hero,
.ops-hero,
.ops-grid,
.ops-home-split,
.profile-circular-grid,
.circulares-public-shell { grid-template-columns: 1fr; }
.module-workspace { order: 1; }
.module-sidebar { order: 2; position: static; }
.toolbar-stack { justify-items: stretch; }
.topbar-actions { max-width: 100%; justify-content: flex-start; }
.tec-doc-card-head,
  .tec-doc-row {
    grid-template-columns: 1fr;
  }
.tec-doc-card-state {
    justify-items: start;
    text-align: left;
  }
.tec-doc-row-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
.main { padding: 14px 16px; }
.topbar { margin: 0 -16px 14px; padding: 9px 16px; align-items: flex-start; }
.page-head, .topbar { display: block; }
.command-bar, .search { margin-top: 12px; }
.license-section-title {
    align-items: flex-start;
    flex-direction: column;
  }
.license-section-title .command-bar {
    width: 100%;
  }
.license-section-title .command-bar button,
  .license-section-title .command-bar .button {
    width: 100%;
  }
.license-search-panel {
    grid-template-columns: 1fr;
  }
.license-search-panel span {
    white-space: normal;
  }
.event-filter-grid {
    grid-template-columns: 1fr;
  }
.event-panel-head,
  .event-detail-headline {
    display: grid;
  }
.event-page-actions {
    justify-content: flex-start;
  }
input, select { width: 100%; }
.search button { width: 100%; }
.stats,
.work-grid,
.event-summary,
.kyu-submit-callout,
.field-picker,
.athlete-profile-hero,
.summary-grid,
.tec-flow,
.tec-actions-grid,
.finance-detail-hero,
.landing-status,
.landing-flow,
.landing-modules { grid-template-columns: 1fr; }
.profile-circular-row,
.circulares-feature-card,
.circulares-public-card,
.circulares-card,
.circulares-card-main header,
.circulares-control-panel,
.circulares-bulk-panel {
    grid-template-columns: 1fr;
  }
.circulares-control-panel,
  .circulares-bulk-panel {
    display: grid;
    align-items: stretch;
  }
.circulares-settings-menu form {
    left: 0;
    right: auto;
  }
.circulares-upload-form {
    grid-template-columns: 1fr;
    min-width: 0;
  }
.circulares-adjuntos-head,
  .circulares-adjunto-row,
  .circulares-adjunto-form {
    grid-template-columns: 1fr;
  }
.circulares-status-grid {
    grid-template-columns: 1fr;
  }
.circulares-public-shell {
    min-height: 100vh;
    padding: 12px;
  }
.circulares-public-hero {
    position: static;
  }
.circulares-public-search div {
    grid-template-columns: 1fr;
  }
.circulares-public-frame {
    min-height: 70vh;
  }
.event-token-toolbar,
  .event-token-card { grid-template-columns: 1fr; }
.finance-mobile-payments { display: block; margin-bottom: 14px; }
.mobile-payment-actions { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-payment-actions form { grid-column: 1 / -1; }
.mobile-payment-actions form button,
  .mobile-payment-actions .button { width: 100%; }
.event-view-strip { grid-template-columns: 1fr; }
.landing-hero { padding: 16px; background-position: right 12px top 12px; background-size: 104px auto; }
.landing-brand { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.landing-brand img { width: 72px; height: 72px; }
.landing-brand h1 { font-size: 28px; }
.landing-actions a, .landing-primary { min-height: 42px; }
.login-panel-wide {
    width: min(620px, calc(100vw - 24px));
  }
.login-hero {
    min-height: 0;
    padding: 20px;
  }
.login-hero-main {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 13px;
  }
.login-hero-main img {
    width: 74px;
    height: 74px;
    border-radius: 12px;
  }
.login-hero-main h1 {
    font-size: 29px;
  }
.login-hero-main p {
    font-size: 14px;
  }
.login-panel .panel-form {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
.login-actions {
    grid-column: auto;
  }
.login-access-note {
    padding: 0 20px 16px;
  }
.tec-season, .tec-upload, .tec-state-form { display: grid; grid-template-columns: 1fr; }
.tec-place-row, .tec-inline-review { grid-template-columns: 1fr; }
}
.print-body {
  background: #fff;
  font-size: 12px;
}
.print-sheet {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 24px;
}
.print-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid #172432;
}
.print-code {
  display: grid;
  align-content: center;
  justify-items: end;
}
.print-code strong {
  font-size: 20px;
}
.print-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 18px;
}
.print-group td {
  background: #eef3f8;
  font-weight: 700;
  text-transform: uppercase;
}
@media print {
.print-sheet { padding: 0; }
.print-body table { break-inside: auto; }
.print-body tr { break-inside: avoid; }
}
/* Autenticacion */
.auth-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
}
.login-panel {
  width: min(460px, calc(100vw - 32px));
}
.login-panel-wide {
  width: min(920px, calc(100vw - 32px));
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(23, 54, 80, .18);
  border-radius: 10px;
  box-shadow: 0 22px 52px rgba(15, 34, 52, .18);
}
.login-hero {
  position: relative;
  min-height: 236px;
  padding: 30px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(23,54,80,.98), rgba(30,101,167,.92)),
    #173650;
}
.login-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--ribbon-dark), var(--ribbon), #f0c24d);
}
.login-hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 760px;
}
.login-hero-main img {
  width: 112px;
  height: 112px;
  max-width: 112px;
  min-width: 0;
  object-fit: contain;
  padding: 9px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(5, 16, 28, .25);
}
.login-hero-main span {
  display: block;
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.login-hero-main h1 {
  margin: 7px 0 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.05;
}
.login-hero-main p {
  max-width: 600px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.5;
}
.login-panel .panel-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 20px;
  align-items: end;
  padding: 24px 30px 22px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}
.login-form-head {
  align-self: center;
}
.login-form-head h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 22px;
}
.login-form-head p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.login-fields {
  display: grid;
  gap: 12px;
}
.login-panel input {
  width: 100%;
}
.login-actions {
  grid-column: 2;
}
.login-actions button {
  width: 100%;
  min-height: 46px;
}
.login-access-note {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 30px 18px;
  background: #ffffff;
}
.login-access-note span {
  padding: 6px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13px;
}
.checkline input {
  width: auto;
  margin: 0;
}
.mobile-card-list {
  display: none;
}
.club-credentials-admin-panel {
  min-width: 0;
  overflow: hidden;
}
.club-credentials-admin-panel .help-box,
.club-credentials-admin-panel .credential-flash,
.club-credential-card {
  overflow-wrap: anywhere;
}
.club-credentials-actions button {
  min-width: min(220px, 100%);
}
.club-credential-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.club-credential-card-meta span {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.club-credential-card-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 14px;
}
.club-credential-card p,
.club-credential-card small {
  margin: 0;
}
.vendor-signature {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0;
  color: #7c8792;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.vendor-signature img {
  width: 58px;
  height: auto;
  opacity: .72;
}
.vendor-signature img.ocrsoft-logo {
  width: 150px;
  max-width: min(150px, 55vw);
  max-height: 50px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}
.login-vendor {
  justify-content: center;
  margin-top: 16px;
}
.auth-main .login-vendor {
  margin-bottom: 18px;
}
.choice-field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.choice-field legend {
  color: var(--muted);
  font-weight: 800;
}
.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
[data-competitor-fields] {
  display: grid;
  gap: 12px;
}
[data-competitor-fields][hidden] {
  display: none;
}
.weight-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}
.weight-choice-grid label {
  display: block;
  min-width: 0;
}
.weight-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.weight-choice-grid span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 900;
  text-align: center;
}
.weight-choice-grid small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.weight-choice-grid input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 2px rgba(30,101,167,.16);
}
.form-step h2 {
  display: none;
}
.license-pending-list {
  margin-top: 8px;
}
.license-renewal-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.renewal-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.renewal-card[hidden] {
  display: none !important;
}
.renewal-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.renewal-card strong,
.renewal-card small {
  display: block;
}
.renewal-card small {
  margin: 3px 0 6px;
  color: var(--muted);
}
.renewal-card em {
  font-style: normal;
}
.license-type-picker {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.license-type-picker span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.license-type-picker select {
  width: 100%;
  margin: 0;
}
.report-builder {
  display: grid;
  gap: 14px;
}
.report-options {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}
.report-field-groups {
  display: grid;
  gap: 12px;
}
.report-field-group {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.report-field-group legend {
  padding: 0 6px;
  color: var(--blue-dark);
  font-weight: 900;
}
.attendance-list {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.attendance-turn-panel {
  border-color: #9bc3df;
  background: #f5fbff;
}
.attendance-turn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.attendance-turn-card {
  display: grid;
  gap: 4px;
  min-height: 108px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
}
.attendance-turn-card span,
.attendance-turn-card small {
  color: var(--muted);
}
.attendance-turn-card span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.attendance-turn-card strong {
  font-size: 24px;
  line-height: 1.1;
}
.attendance-turn-card.is-active {
  background: #e5f2ff;
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.attendance-turn-note,
.attendance-scope {
  margin: 10px 0 0;
  padding: 9px 10px;
  background: #fff7df;
  border: 1px solid #e6cb81;
  border-radius: 6px;
  color: #614700;
  font-weight: 700;
}
.attendance-scope {
  display: inline-block;
  margin-top: 8px;
}
.attendance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.attendance-card strong,
.attendance-card small {
  display: block;
}
.attendance-card small {
  margin: 3px 0 8px;
  color: var(--muted);
}
.attendance-card input[type="text"],
.attendance-card input:not([type]) {
  width: 100%;
}
.attendance-toggle {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 48px;
  padding: 8px;
  border: 1px solid #a7d7b0;
  border-radius: 7px;
  background: #e8f5ea;
  color: var(--green);
  font-weight: 900;
}
.attendance-toggle input {
  width: 22px;
  height: 22px;
}
.attendance-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 220px;
}
.attendance-actions form {
  margin: 0;
}
.attendance-actions button {
  width: 100%;
  min-height: 58px;
  font-size: 16px;
  font-weight: 900;
}
.attendance-yes {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.attendance-no {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}
@media (max-width: 760px) {
.admin-athlete-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.admin-athlete-stats strong {
    font-size: 24px;
  }
.deportistas-wrap {
    display: block;
    max-height: calc(100vh - 286px);
    overflow-x: auto;
  }
.deportistas-wrap .deportistas-table {
    min-width: var(--dep-table-width, 760px);
  }
body {
    font-size: 15px;
  }
.main {
    padding: 10px 12px 82px;
  }
.auth-main {
    padding: 12px;
  }
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -10px -12px 12px;
    padding: 10px 12px;
  }
.topbar strong {
    font-size: 15px;
  }
.topbar-actions {
    display: none;
  }
.app-frame {
    display: block;
  }
.context-sidebar {
    display: none;
    max-height: none;
    overflow: visible;
  }
.panel-form,
  .panel-form.form-row,
  .form-row,
  .form-grid,
  .inline-edit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
.panel-form label,
  .choice-field legend {
    font-size: 13px;
  }
input,
  select,
  textarea,
  button,
  .button {
    min-height: 46px;
    font-size: 16px;
  }
textarea {
    min-height: 96px;
  }
button,
  .button {
    display: inline-grid;
    place-items: center;
    width: 100%;
    padding: 10px 14px;
  }
.table-wrap {
    display: none;
  }
.table-wrap.users-table {
    display: block;
    overflow-x: auto;
  }
.table-wrap.deportistas-wrap {
    display: block;
    overflow-x: auto;
  }
.check-grid,
  .check-grid.compact {
    grid-template-columns: 1fr;
  }
.form-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    width: 100%;
  }
.form-actions button,
  .form-actions .button {
    width: 100%;
  }
.mobile-card-list {
    display: grid;
    gap: 10px;
  }
.mobile-record-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 7px;
  }
.mobile-record-card strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
  }
.mobile-record-card span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.25;
  }
.mobile-actions-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
.mobile-actions-row form {
    display: grid;
  }
.mobile-actions-row .button,
  .mobile-actions-row button {
    min-height: 42px;
    padding: 8px;
    font-size: 13px;
  }
.license-renewal-list {
    grid-template-columns: 1fr;
  }
.renewal-card {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 78px;
  }
.renewal-card input {
    width: 24px;
    height: 24px;
  }
.attendance-card {
    grid-template-columns: 1fr;
  }
.event-action-callout {
    grid-template-columns: 1fr;
  }
.photo-crop-modal {
    padding: 10px;
  }
.photo-crop-body {
    grid-template-columns: 1fr;
  }
.photo-crop-stage {
    width: min(100%, 360px);
  }
.juegos-ops-board {
    grid-template-columns: 1fr;
  }
.juegos-next-step {
    grid-template-columns: 1fr;
  }
.juegos-ligas-ready {
    grid-template-columns: 1fr;
  }
.league-mode-picker {
    grid-template-columns: 1fr;
  }
.event-primary-action {
    width: 100%;
  }
.attendance-actions {
    min-width: 0;
  }
.attendance-toggle {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 54px;
    font-size: 16px;
  }
.attendance-toggle input {
    width: 26px;
    height: 26px;
  }
.athlete-card-main {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }
.athlete-card .state-pill {
    justify-self: start;
  }
.event-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
.weight-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.weight-choice-grid span {
    min-height: 54px;
    font-size: 16px;
  }
.mobile-step-form {
    gap: 14px;
  }
.form-step {
    display: grid;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--panel);
  }
.form-step h2 {
    display: block;
    margin: 0;
    color: var(--blue-dark);
    font-size: 16px;
  }
.vendor-signature {
    justify-content: center;
    margin: 18px 0 74px;
  }
.vendor-signature img {
    width: 52px;
  }
.vendor-signature img.ocrsoft-logo {
    width: 136px;
    max-height: 45px;
  }
.auth-main {
    min-height: 100svh;
    align-content: start;
    padding: 10px;
  }
.login-panel,
  .login-panel-wide {
    width: 100%;
    border-radius: 8px;
  }
.login-hero {
    padding: 16px;
  }
.login-hero-main {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 11px;
  }
.login-hero-main img {
    width: 64px;
    height: 64px;
    max-width: 64px;
    padding: 5px;
    border-radius: 10px;
  }
.login-hero-main span {
    font-size: 10px;
    line-height: 1.25;
  }
.login-hero-main h1 {
    margin-top: 4px;
    font-size: 25px;
    line-height: 1.08;
  }
.login-hero-main p {
    grid-column: 1 / -1;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.35;
  }
.login-panel .panel-form {
    padding: 16px;
    gap: 14px;
  }
.login-form-head h2 {
    font-size: 19px;
  }
.login-form-head p {
    font-size: 13px;
  }
.login-access-note {
    justify-content: flex-start;
    padding: 0 16px 14px;
  }
.login-access-note span {
    font-size: 10px;
    padding: 5px 8px;
  }
.auth-main .login-vendor {
    margin: 10px 0 14px;
  }
.auth-main .login-vendor img {
    width: 46px;
  }
.auth-main .login-vendor img.ocrsoft-logo {
    width: 150px;
    max-height: 50px;
  }
}
@media (max-width: 560px) {
:root {
    --mobile-login-pad: 14px;
  }
body {
    overflow-x: hidden;
    background: #ffffff;
  }
.auth-main {
    display: block;
    min-height: 100svh;
    padding: 0;
    background: #ffffff;
  }
.login-panel-wide {
    width: 100%;
    max-width: 100%;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
.login-hero {
    padding: 18px var(--mobile-login-pad) 16px;
    border-radius: 0;
  }
.login-hero-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    justify-items: center;
    text-align: center;
    max-width: none;
  }
.login-hero-main img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(5, 16, 28, .2);
  }
.login-hero-main span {
    max-width: 240px;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: .02em;
  }
.login-hero-main h1 {
    margin: 2px 0 0;
    font-size: 22px;
    line-height: 1.08;
  }
.login-hero-main p {
    max-width: 280px;
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.3;
  }
.login-panel .panel-form {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px var(--mobile-login-pad) 14px;
    gap: 14px;
    background: #ffffff;
  }
.login-form-head {
    text-align: center;
  }
.login-form-head h2 {
    font-size: 18px;
    line-height: 1.15;
  }
.login-form-head p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.35;
  }
.login-fields {
    gap: 10px;
  }
.login-panel label {
    gap: 5px;
    font-size: 12px;
  }
.login-panel input {
    min-height: 44px;
    font-size: 16px;
    border-radius: 7px;
  }
.login-actions button {
    min-height: 46px;
    font-size: 15px;
    border-radius: 7px;
  }
.login-access-note {
    display: none;
  }
.auth-main .login-vendor {
    display: grid;
    justify-items: center;
    gap: 3px;
    margin: 4px 0 0;
    padding: 0 var(--mobile-login-pad) 14px;
    font-size: 9px;
  }
.auth-main .login-vendor img.ocrsoft-logo {
    width: min(118px, 46vw);
    max-height: 40px;
    opacity: .64;
  }
}
@media (max-width: 380px) {
.login-hero {
    padding-top: 14px;
  }
.login-hero-main img {
    width: 64px;
    height: 64px;
    max-width: 64px;
  }
.login-hero-main h1 {
    font-size: 20px;
  }
.login-hero-main p {
    display: none;
  }
.login-panel .panel-form {
    padding-top: 16px;
  }
}
.config-layout {
  display: block;
}
.config-side-nav {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #d8e0e8;
  border-radius: 8px;
  background: #fff;
}
.config-side-nav strong {
  color: var(--fcj-blue, #173650);
  font-size: 13px;
  text-transform: uppercase;
}
.config-side-nav strong:not(:first-child) {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d8e0e8;
}
.config-side-nav a {
  padding: 8px 9px;
  border-radius: 6px;
  color: #22313f;
  text-decoration: none;
  font-weight: 700;
}
.config-side-nav a:hover {
  background: #eef4f9;
}
.config-main {
  min-width: 0;
}
.config-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge.muted {
  background: #edf2f7;
  color: #5f7182;
}
.mail-config-note {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #dce6ef;
  border-left: 5px solid #123d6b;
  border-radius: 8px;
  background: #f7fafc;
  color: #30465b;
}
.mail-config-note span {
  color: var(--muted);
}
.mail-routing-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
}
.mail-routing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.mail-routing-grid label,
.mail-account-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}
.mail-routing-grid span {
  color: var(--ink);
}
.mail-routing-grid small {
  color: var(--muted);
  font-weight: 700;
}
.mail-subtitle {
  margin-top: 8px;
}
.mail-account-list {
  display: grid;
  gap: 12px;
}
.mail-account-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dce6ef;
  border-radius: 8px;
  background: #fff;
}
.mail-account-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}
.mail-account-head div:first-child {
  display: grid;
  gap: 3px;
}
.mail-account-head span {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.mail-account-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  align-items: end;
}
.mail-account-actions {
  display: flex;
  align-items: end;
}
.mail-account-actions button,
.mail-default-form button {
  width: auto;
}
.mail-default-form {
  display: flex;
  justify-content: flex-end;
}
.mail-new-account {
  margin-top: 4px;
  padding: 12px 14px;
  border: 1px dashed #c8d6e3;
  border-radius: 8px;
  background: #f9fbfd;
}
.mail-new-account summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}
.mail-new-account .mail-account-form {
  margin-top: 12px;
}
@media (max-width: 1100px) {
.mail-routing-grid,
  .mail-account-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
.mail-routing-grid,
  .mail-account-form {
    grid-template-columns: 1fr;
  }
.mail-account-head,
  .mail-default-form {
    display: grid;
    justify-content: stretch;
  }
}
@media (max-width: 900px) {
.config-layout,
  .config-two-cols {
    grid-template-columns: 1fr;
  }
.config-side-nav {
    position: static;
  }
}
.tec-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  padding: 26px 30px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(18,61,107,.97) 0%, rgba(31,106,165,.94) 60%, rgba(209,38,44,.95) 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 61, 107, .20);
}
.tec-header h1 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  letter-spacing: 0;
}
.tec-header p {
  margin: 5px 0 0;
  color: rgba(255,255,255,.84);
}
.tec-header .eyebrow {
  color: rgba(255,255,255,.74);
}
.tec-header.public {
  align-items: center;
  min-height: 150px;
}
.tec-season {
  display: flex;
  gap: 8px;
  align-items: end;
}
.tec-header .tec-season {
  align-self: stretch;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.tec-header .tec-season label {
  color: rgba(255,255,255,.82);
}
.tec-header .tec-season input {
  min-width: 130px;
  border-color: rgba(255,255,255,.56);
  background: rgba(255,255,255,.96);
  color: #123d6b;
  font-weight: 850;
}
.tec-header .tec-season button {
  border-color: rgba(255,255,255,.82);
  background: #fff;
  color: #123d6b;
  box-shadow: none;
}
.tec-header .tec-season button:hover {
  border-color: #fff;
  background: #f4f8fc;
  color: #0d3158;
}
.tec-tabs {
  position: sticky;
  top: 8px;
  z-index: 6;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 9px;
  margin-bottom: 16px;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(16, 43, 70, .08);
  backdrop-filter: blur(14px);
}
.tec-tabs a {
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #31516f;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}
.tec-tabs a:hover {
  border-color: #d4e3f1;
  background: #eef5fb;
  color: #123d6b;
}
.tec-tabs a.is-active {
  border-color: #123d6b;
  background: #123d6b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 61, 107, .20);
}
.tec-tab-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d71920;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.tec-section-panel.is-hidden {
  display: none;
}
/* Utilidad global: ocultar secciones segun la seccion activa del sidebar (AFP, Judo Essential...). */
.is-hidden {
  display: none !important;
}
.tec-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #d7e0ea;
  border-left: 6px solid #0d6b3c;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3fbf7 56%, #edf5fb 100%);
  box-shadow: 0 14px 28px rgba(16, 43, 70, .08);
}
.tec-dashboard-hero h2 {
  margin: 10px 0 5px;
  color: #102b46;
  font-size: 24px;
}
.tec-dashboard-hero p {
  margin: 0;
  color: #52616d;
}
.tec-phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.tec-phase-grid a {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 13px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fbfdff;
  color: #102b46;
  text-decoration: none;
}
.tec-phase-grid a:hover {
  border-color: #123d6b;
  background: #eef6ff;
}
.tec-phase-grid strong,
.tec-phase-grid span {
  display: block;
}
.tec-phase-grid span {
  color: #607186;
  font-size: 13px;
}
.tec-simple-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.tec-simple-flow a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 92px;
  padding: 14px;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  color: #122a42;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(16, 43, 70, .05);
}
.tec-simple-flow a:hover {
  border-color: #123d6b;
  background: #eef6ff;
}
.tec-simple-flow span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #123d6b;
  color: #fff;
  font-weight: 900;
}
.tec-simple-flow strong {
  font-size: 15px;
}
.tec-simple-flow small {
  color: #607186;
  line-height: 1.35;
}
.tec-alert-list {
  display: grid;
  gap: 8px;
}
.tec-alert {
  padding: 10px 12px;
  border: 1px solid #d5e1ec;
  border-left: 5px solid #607186;
  border-radius: 8px;
  background: #fbfdff;
  color: #31465a;
  font-weight: 750;
}
.tec-alert.warning {
  border-left-color: #d98200;
  background: #fff9ed;
}
.tec-alert.danger {
  border-left-color: #d71920;
  background: #fff5f5;
  color: #8f1118;
}
.tec-alert.info {
  border-left-color: #0f6fb4;
  background: #f0f7ff;
}
.tec-alert.success {
  border-left-color: #0d6b3c;
  background: #f2fff8;
  color: #0b5932;
}
.muted-badge {
  background: #eef2f6;
  color: #607186;
}
.tec-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tec-cards article,
.tec-card-link,
.tec-panel {
  border: 1px solid #d7e0ea;
  border-radius: 8px;
  background: #fff;
}
.tec-cards article,
.tec-card-link {
  display: block;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(16, 43, 70, .06);
}
.tec-card-link {
  color: inherit;
  text-decoration: none;
}
.tec-card-link:hover {
  border-color: #123d6b;
  background: #f5f9fd;
  box-shadow: 0 14px 28px rgba(18, 61, 107, .10);
}
.tec-card-urgent {
  border-left: 6px solid #d71920;
  background: #fff8f8;
}
.tec-card-urgent strong {
  color: #a60000;
}
.tec-primary-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #f0c7ca;
  border-left: 7px solid #d71920;
  background: linear-gradient(135deg, #fff 0%, #fff6f6 100%);
  box-shadow: 0 14px 28px rgba(143, 17, 24, .08);
}
.tec-primary-callout strong,
.tec-primary-callout span {
  display: block;
}
.tec-primary-callout strong {
  color: #8f1118;
  font-size: 20px;
}
.tec-primary-callout span {
  margin-top: 4px;
  color: #52616d;
}
.tec-cards span,
.tec-profile-grid span {
  display: block;
  color: #607186;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.tec-cards strong {
  display: block;
  margin: 4px 0;
  color: #0a2239;
  font-size: 24px;
}
.tec-badge-action {
  background: #ffe8e8;
  color: #8f1118;
}
.tec-badge-warning {
  background: #fff3cf;
  color: #8a5b00;
}
.tec-primary-inline-form button {
  background: #d71920;
  box-shadow: none;
}
.tec-accept-inline {
  margin-top: 8px;
}
.mini-button {
  padding: 7px 10px;
  min-height: 0;
  font-size: 12px;
}
.tec-submission-note {
  margin: 8px 0 0;
  padding: 9px 10px;
  border: 1px solid #f1cf87;
  border-radius: 8px;
  background: #fff8e7;
  color: #704a00;
  font-size: 13px;
  font-weight: 800;
}
.tec-submission-reason {
  min-width: 270px;
  min-height: 70px;
  resize: vertical;
}
.tec-return-details {
  flex-basis: 100%;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #f1cf87;
  border-radius: 8px;
  background: #fff8e7;
}
.tec-return-details summary {
  cursor: pointer;
  color: #8a5b00;
  font-size: 13px;
  font-weight: 900;
}
.tec-return-form {
  margin-top: 8px;
}
.tec-doc-checklist {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.tec-documents-accordion {
  margin-top: 10px;
}
.tec-documents-accordion summary {
  cursor: pointer;
  color: #123d6b;
  font-size: 13px;
  font-weight: 900;
}
.tec-doc-checkitem {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #d7e3f0;
  border-left: 5px solid #d71920;
  border-radius: 8px;
  background: #fff;
}
.tec-doc-checkitem.is-ok {
  border-left-color: #1f9d55;
  background: #f6fff9;
}
.tec-doc-checkitem.is-review {
  border-left-color: #e1a500;
  background: #fffaf0;
}
.tec-doc-checkitem.is-pending {
  border-left-color: #d71920;
  background: #fff8f8;
}
.tec-doc-board {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}
.tec-doc-card {
  display: grid;
  gap: 0;
  border: 1px solid #ccd8e4;
  border-left: 6px solid #d71920;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.tec-doc-card.is-ok {
  border-left-color: #1f9d55;
}
.tec-doc-card.is-review {
  border-left-color: #e1a500;
}
.tec-doc-card.is-subsanacion {
  border-left-color: #d98200;
  background: #fffdf8;
}
.tec-doc-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, auto);
  gap: 14px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid #e1e9f2;
  background: #fbfdff;
}
.tec-doc-card-head h3 {
  margin: 0 0 4px;
  color: #0a2239;
  font-size: 18px;
}
.tec-doc-card-head p {
  margin: 0;
  color: #607186;
  overflow-wrap: anywhere;
}
.tec-doc-card-state {
  display: grid;
  gap: 5px;
  justify-items: end;
  text-align: right;
}
.tec-doc-card-state small,
.tec-doc-card-toolbar small {
  color: #607186;
  font-weight: 800;
}
.tec-doc-card-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #e1e9f2;
}
.tec-doc-list {
  display: grid;
}
.tec-doc-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 14px;
  align-items: start;
  padding: 12px 16px;
  border-top: 1px solid #eef3f7;
}
.tec-doc-row:first-child {
  border-top: 0;
}
.tec-doc-row.is-ok {
  background: #f7fff9;
}
.tec-doc-row.is-review {
  background: #fffaf0;
}
.tec-doc-row.is-rejected,
.tec-doc-row.is-missing {
  background: #fff8f8;
}
.tec-doc-row-main {
  min-width: 0;
}
.tec-doc-row-main strong {
  display: block;
  color: #122a42;
}
.tec-doc-row-main small {
  display: block;
  color: #607186;
  overflow-wrap: anywhere;
}
.tec-doc-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}
.tec-doc-row-actions .tec-doc-reject-details {
  flex-basis: 100%;
  justify-self: stretch;
  margin-left: auto;
}
.tec-doc-row-actions .tec-submission-reason {
  min-width: 0;
  width: 100%;
}
.tec-doc-card-foot {
  display: grid;
  gap: 10px;
  padding: 12px 16px 14px;
  border-top: 1px solid #e1e9f2;
  background: #fbfdff;
}
.tec-doc-general-return {
  display: grid;
  gap: 8px;
  max-width: 620px;
}
.tec-doc-manual-details summary {
  cursor: pointer;
  color: #607186;
  font-size: 12px;
  font-weight: 900;
}
.tec-doc-review-actions {
  display: grid;
  gap: 8px;
  justify-items: start;
}
.tec-doc-reject-details {
  width: min(100%, 420px);
}
.tec-doc-reject-details summary {
  cursor: pointer;
  color: #9b1118;
  font-size: 12px;
  font-weight: 900;
}
.tec-doc-reject-form {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid #e8b7b7;
  border-radius: 8px;
  background: #fff4f4;
}
.tec-doc-reject-form textarea {
  width: 100%;
}
.tec-doc-reject-button {
  background: #b91c1c;
  border-color: #991b1b;
}
.tec-doc-reject-button:hover {
  background: #991b1b;
}
.tec-review-steps {
  margin: 0 0 10px 18px;
  padding: 0;
  color: #0a2239;
  font-size: 13px;
  font-weight: 800;
}
.tec-review-steps li {
  margin: 3px 0;
}
.tec-merit-review-form {
  display: grid;
  grid-template-columns: 130px 140px minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 8px;
}
.tec-merit-review-form select,
.tec-merit-review-form input {
  width: 100%;
  min-height: 38px;
}
.tec-cards small,
.tec-table small {
  display: block;
  color: #607186;
}
.tec-panel {
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(16, 43, 70, .06);
}
.tec-grid-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}
.tec-grid-form:where(fieldset) {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.tec-grid-form.small {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.tec-grid-form .wide {
  grid-column: 1 / -1;
}
.tec-grid-form label,
.tec-season label {
  display: grid;
  gap: 5px;
  color: #52616d;
  font-weight: 800;
}
.tec-grid-form input,
.tec-grid-form select,
.tec-grid-form textarea,
.tec-season input,
.tec-table input,
.tec-table select {
  width: 100%;
  min-width: 0;
  border: 1px solid #ccd9e6;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fff;
  font: inherit;
}
.tec-grid-form input:focus,
.tec-grid-form select:focus,
.tec-grid-form textarea:focus,
.tec-season input:focus,
.tec-table input:focus,
.tec-table select:focus {
  outline: 3px solid rgba(31, 106, 165, .16);
  border-color: #1f6aa5;
}
.checkline {
  display: flex !important;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}
.checkline input {
  width: auto;
}
.tec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tec-actions.inline {
  align-items: stretch;
}
.tec-actions form,
.inline-form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.tec-result-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  align-items: stretch;
  margin: 8px 0 12px;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-result-actions,
.tec-result-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
.tec-result-tools {
  justify-content: flex-end;
  padding-left: 12px;
  border-left: 1px solid #d5e1ec;
}
.tec-result-tools form,
.tec-result-tools button,
.tec-result-actions .button {
  min-height: 38px;
}
.tec-result-actions .button,
.tec-result-tools button {
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.tec-publication-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}
.tec-publication-group {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 11px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-publication-group span,
.tec-report-group header span {
  color: #607186;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.tec-publication-group form,
.tec-publication-group button {
  width: 100%;
}
.tec-publication-group button {
  min-height: 38px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
.tec-report-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}
.tec-report-group {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-report-group header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #dce5ee;
}
.tec-report-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}
.tec-report-actions .button {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}
@media (max-width: 1100px) {
.tec-result-toolbar,
  .tec-report-board {
    grid-template-columns: 1fr;
  }
.tec-result-tools {
    justify-content: flex-start;
    padding-left: 0;
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid #d5e1ec;
  }
.tec-publication-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
.tec-publication-board {
    grid-template-columns: 1fr;
  }
.tec-result-actions .button,
  .tec-result-tools form,
  .tec-result-tools button {
    width: 100%;
  }
}
.tec-mini-label {
  display: inline-grid;
  gap: 2px;
  color: #607186;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.tec-filter-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  align-items: end;
  margin: 10px 0 14px;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-filter-bar input,
.tec-filter-bar select {
  width: 100%;
  min-width: 0;
  border: 1px solid #c5d3e2;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
}
.tec-flow-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.tec-flow-list article {
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-flow-list strong,
.tec-flow-list span {
  display: block;
}
.tec-flow-list strong {
  color: #102b46;
  margin-bottom: 4px;
}
.tec-flow-list span {
  color: #607186;
  font-size: 13px;
  line-height: 1.35;
}
.tec-flow-list-short {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.tec-review-title {
  margin-top: 18px;
}
.tec-review-title h3 {
  margin: 0;
  color: #102b46;
}
.tec-review-queue {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.tec-review-card {
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.tec-review-card.is-reviewed {
  border-color: #6fc48d;
  border-left: 7px solid #1f9d55;
  background: #f5fff8;
}
.tec-review-card.is-reviewed > header {
  background: #effaf3;
}
.tec-badge-ok {
  background: #e8f8ef;
  color: #126c35;
}
.tec-reviewed-banner {
  padding: 10px 14px;
  border-bottom: 1px solid #cfead9;
  background: #ecfff2;
  color: #126c35;
  font-weight: 800;
}
.tec-review-card > header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e1e9f2;
  background: #f8fafc;
}
.tec-review-card > header strong,
.tec-review-card > header small,
.tec-result-list strong,
.tec-result-list span,
.tec-result-list small {
  display: block;
}
.tec-review-card > header small {
  margin-top: 2px;
  color: #607186;
}
.tec-review-status {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 110px;
}
.tec-review-status strong {
  color: #102b46;
}
.tec-review-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: 16px;
  padding: 14px;
}
.tec-review-body h4 {
  margin: 0 0 8px;
  color: #102b46;
  font-size: 14px;
}
.tec-result-list {
  display: grid;
  gap: 8px;
}
.tec-result-list > div {
  padding: 9px 10px;
  border: 1px solid #e1e9f2;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-result-list > div.is-counted {
  border-left: 4px solid #123d6b;
}
.tec-result-list span,
.tec-result-list small {
  margin-top: 2px;
  color: #607186;
  line-height: 1.35;
}
.tec-review-links {
  margin-bottom: 10px;
}
.tec-review-form {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}
.tec-review-form.compact {
  grid-template-columns: minmax(0, 1fr) auto;
}
.tec-review-form label {
  display: grid;
  gap: 4px;
  color: #52616d;
  font-size: 12px;
  font-weight: 800;
}
.tec-review-form input {
  width: 100%;
  min-width: 0;
}
.tec-rank-detail-row td {
  padding: 0 8px 10px;
  background: #f8fbfe;
}
.tec-rank-detail {
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.tec-rank-detail summary {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}
.tec-rank-detail summary::-webkit-details-marker {
  display: none;
}
.tec-rank-detail summary::after {
  content: "+";
  color: #d71920;
  font-size: 18px;
  font-weight: 950;
}
.tec-rank-detail[open] summary::after {
  content: "-";
}
.tec-rank-detail summary span {
  color: #607186;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.tec-rank-detail summary strong {
  color: #102b46;
  overflow-wrap: anywhere;
}
.tec-rank-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  padding: 14px;
  border-top: 1px solid #e1e9f2;
}
.tec-rank-detail-grid h4 {
  margin: 0 0 8px;
  color: #102b46;
  font-size: 14px;
}
.tec-rank-detail-list {
  display: grid;
  gap: 8px;
  margin: 0;
}
.tec-rank-detail-list div {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border: 1px solid #e1e9f2;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-rank-detail-list dt {
  color: #607186;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.tec-rank-detail-list dd {
  margin: 0;
  color: #102b46;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.tec-rank-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tec-table.compact {
  font-size: 13px;
}
.tec-table th,
.tec-table td {
  padding: 8px;
  border-bottom: 1px solid #dce5ee;
  text-align: left;
  vertical-align: top;
}
.tec-table th {
  background: #dbeaf4;
  color: #102b46;
}
.tec-sortable-table .tec-sort-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 25px;
  padding: 2px 5px;
  border: 1px solid rgba(16, 43, 70, .16);
  border-radius: 5px;
  color: inherit;
  text-decoration: none;
}
.tec-sortable-table .tec-sort-link:hover {
  border-color: #1e65a7;
  background: #ffffff;
}
.tec-sortable-table .tec-sort-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tec-sortable-table .tec-sort-link small {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  min-height: 17px;
  border-radius: 999px;
  background: rgba(30, 101, 167, .12);
  color: #174b7b;
  font-size: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}
.tec-sortable-table th.sorted {
  background: #eef6ff;
  box-shadow: inset 0 -3px 0 #1e65a7;
}
.tec-sortable-table th.sorted .tec-sort-link {
  border-color: #1e65a7;
  background: #ffffff;
}
.tec-sortable-table th.sorted .tec-sort-link small {
  background: #1e65a7;
  color: #ffffff;
}
.tec-table tr.tec-row-presentada td {
  background: #f0fbf5;
}
.tec-table tr.tec-row-presentada td:first-child {
  border-left: 5px solid #2f9e63;
}
.tec-table tr.tec-row-pendiente td {
  background: #fbfcfe;
}
.tec-table tr.tec-row-pendiente td:first-child {
  border-left: 5px solid #d6e0ea;
}
.tec-table tr.tec-row-subsanacion td {
  background: #fff8e7;
}
.tec-table tr.tec-row-subsanacion td:first-child {
  border-left: 5px solid #e19a00;
}
.tec-table tr.tec-row-presentada:hover td,
.tec-table tr.tec-row-pendiente:hover td,
.tec-table tr.tec-row-subsanacion:hover td {
  background: #eaf4ff;
}
.tec-category-rank-list {
  display: grid;
  gap: 16px;
}
.tec-category-rank {
  border: 1px solid #dce5ee;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.tec-category-rank-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #dce5ee;
  background: #f7fafc;
}
.tec-category-rank-head h3 {
  margin: 0;
  color: #123d6b;
}
.tec-category-rank-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.tec-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #e7f1fb;
  color: #0d4f87;
}
.tec-pill.is-in {
  background: #daf7e6;
  color: #17623a;
}
.tec-pill.is-out {
  background: #fff0cf;
  color: #80540b;
}
.tec-pill.is-pending {
  background: #eef2f7;
  color: #475569;
}
.tec-rank-table tr.is-admitted td {
  background: #f0faf4;
}
.tec-rank-table tr.is-reserve td {
  background: #fff8e8;
}
.tec-rank-table tr.is-pending td {
  background: #f8fafc;
}
.tec-rank-pos {
  display: inline-grid;
  min-width: 28px;
  min-height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #123d6b;
  color: #fff;
  font-size: 13px;
}
.tec-compact-code {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 7px;
  background: #eef4fb;
  color: #102b46;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}
.tec-rank-score,
.tec-rank-total {
  color: #102b46;
  font-weight: 950;
  text-align: right;
  white-space: nowrap;
}
.tec-rank-total strong {
  display: inline-flex;
  justify-content: flex-end;
  min-width: 66px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #123d6b;
  color: #fff;
  font-size: 15px;
}
@media (max-width: 760px) {
.tec-category-rank-head {
    align-items: flex-start;
    flex-direction: column;
  }
.tec-category-rank-summary {
    justify-content: flex-start;
  }
}
.points-input,
.mini-input {
  max-width: 84px;
}
.tec-badge,
.tec-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f1fb;
  color: #0d4f87;
  font-weight: 800;
}
.tec-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.tec-profile-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.tec-token-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}
.tec-submit-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.tec-submit-intro article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d7e2ed;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-submit-intro span {
  display: inline-grid;
  grid-row: span 2;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #123d6b;
  color: #fff;
  font-weight: 900;
}
.tec-submit-intro strong,
.tec-merit-card header strong {
  color: #122a42;
}
.tec-submit-intro small {
  color: #607186;
}
.tec-merit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tec-merit-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-merit-card header,
.tec-merit-card .wide {
  grid-column: 1 / -1;
}
.tec-merit-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2ebf3;
}
.tec-merit-card header span {
  color: #0d6b3c;
  font-weight: 900;
}
.tec-merit-card label {
  display: grid;
  gap: 4px;
  color: #52616d;
  font-weight: 800;
}
.tec-merit-card input,
.tec-merit-card select {
  width: 100%;
  min-width: 0;
  border: 1px solid #c5d3e2;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
}
.tec-submit-note {
  margin: 14px 0;
  border-left: 4px solid #123d6b;
}
.public-token-page {
  background: #e8eef4;
}
.event-token-admin {
  align-items: stretch;
}
.event-token-page {
  min-height: 100vh;
}
.event-token-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.event-token-toolbar label,
.event-token-card label {
  display: grid;
  gap: 4px;
  color: #52616d;
  font-weight: 800;
}
.event-token-toolbar input,
.event-token-card input,
.event-token-card select {
  width: 100%;
  min-width: 0;
  border: 1px solid #c5d3e2;
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
}
.event-token-toolbar p {
  margin: 0;
  color: #607186;
}
.event-token-list {
  display: grid;
  gap: 8px;
}
.event-token-grade-list {
  display: grid;
  gap: 14px;
}
.event-token-grade-group {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fbff;
}
.event-token-grade-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e8f1;
}
.event-token-grade-header span,
.event-token-grade-header small {
  display: block;
  color: #607186;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.event-token-grade-header strong {
  display: block;
  color: #08243d;
  font-size: 22px;
}
.event-token-card {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(150px, 0.55fr) minmax(190px, 0.75fr);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fbfdff;
}
.event-token-card strong {
  color: #122a42;
}
.event-token-card small {
  display: block;
  margin-top: 3px;
  color: #607186;
}
.is-afp-token-card {
  grid-template-columns: minmax(240px, 1fr) minmax(220px, auto);
}
.event-token-reviewed-table td small {
  display: block;
  margin-top: 2px;
  color: #607186;
  font-weight: 700;
}
.event-token-reviewed-actions {
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  gap: 6px;
}
.event-token-reviewed-actions button {
  min-height: 36px;
  padding: 7px 10px;
}
.event-token-actions {
  position: sticky;
  bottom: 0;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dde6ee;
  background: #fff;
}
.event-token-actions button {
  min-height: 44px;
}
.event-token-page .attendance-reviewed-wrap {
  margin-top: 12px;
}
@media (max-width: 760px) {
.event-token-page {
    background: #eef3f8;
  }
.event-token-shell {
    padding: 10px;
  }
.event-token-header {
    padding: 18px;
    margin-bottom: 10px;
    border-left-width: 5px;
  }
.event-token-header h1 {
    font-size: 26px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
.event-token-header p {
    line-height: 1.35;
  }
.event-token-page .tec-panel {
    padding: 12px;
    margin-bottom: 10px;
  }
.event-token-page .section-title {
    display: grid;
    gap: 4px;
    justify-content: stretch;
  }
.event-token-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 0;
  }
.event-token-cards article {
    min-width: 0;
    padding: 10px;
    border-radius: 7px;
  }
.event-token-cards span {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
.event-token-cards strong {
    font-size: 24px;
  }
.event-token-toolbar {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 10px;
  }
.event-token-toolbar label {
    order: 2;
  }
.event-token-toolbar p {
    order: 1;
    padding: 10px;
    border: 1px solid #d8e5f1;
    border-radius: 7px;
    background: #f6fbff;
    font-size: 14px;
    line-height: 1.35;
  }
.event-token-toolbar input {
    min-height: 46px;
    font-size: 16px;
  }
.event-token-card {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: stretch;
    padding: 12px;
  }
.event-token-card strong {
    font-size: 15px;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
.event-token-card small {
    margin-bottom: 0;
  }
.event-token-card .attendance-actions {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }
.event-token-card .attendance-actions button {
    min-height: 56px;
    padding: 10px;
    font-size: 15px;
  }
.event-token-grade-group {
    padding: 10px;
  }
.event-token-grade-header {
    align-items: flex-start;
  }
.event-token-reviewed-actions {
    grid-template-columns: 1fr 1fr;
  }
.event-token-confirm-form {
    margin-top: 12px;
  }
.event-token-confirm-form input {
    min-height: 46px;
    font-size: 16px;
  }
.event-token-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-inline: -12px;
    padding: 10px 12px 12px;
    box-shadow: 0 -8px 18px rgba(11, 31, 52, 0.08);
  }
.event-token-actions button {
    width: 100%;
    min-height: 50px;
  }
.event-token-page .attendance-reviewed-wrap {
    max-height: none;
    overflow-x: visible;
  }
.event-token-page .attendance-reviewed-table {
    display: block;
    width: 100%;
    min-width: 0;
  }
.event-token-page .attendance-reviewed-table thead {
    display: none;
  }
.event-token-page .attendance-reviewed-table tbody {
    display: grid;
    gap: 8px;
  }
.event-token-page .attendance-reviewed-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px solid #d5e1ec;
    border-radius: 7px;
    background: #fff;
  }
.event-token-page .attendance-reviewed-table td {
    display: block;
    padding: 0;
    border: 0;
  }
.event-token-page .attendance-reviewed-table td:first-child {
    font-weight: 800;
    overflow-wrap: anywhere;
  }
.event-token-page .event-token-reviewed-table tr {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 330px) {
.event-token-cards {
    grid-template-columns: 1fr;
  }
.event-token-card .attendance-actions {
    grid-template-columns: 1fr;
  }
}
.public-rankings-page .app-content {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
}
.tec-notice,
.tec-panel.notice {
  border-color: #d7e0ea;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fc 100%);
  color: #31465a;
  white-space: pre-wrap;
}
.tec-danger {
  border-color: #d71920;
  background: linear-gradient(135deg, #fffafa 0%, #fff1f2 100%);
  color: #9b1118;
}
.tec-success {
  color: #007a3d;
  font-weight: 800;
}
.tec-success-panel {
  border-color: #a8d8bc;
  background: linear-gradient(135deg, #f9fffb 0%, #edfdf4 100%);
  color: #0f6b39;
  font-weight: 800;
}
.tec-success-panel p {
  margin: 0;
}
.tec-documents {
  margin-top: 14px;
}
.tec-document-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.tec-document-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c9d7e4;
  border-radius: 8px;
  background: #f7fbff;
  color: #123d6b;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(16, 43, 70, .05);
}
.tec-document-list a:hover {
  border-color: #123d6b;
  background: #eef6ff;
}
.tec-upload-docs,
.tec-doc-review {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.tec-upload-doc {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-upload-doc strong,
.tec-doc-review strong {
  display: block;
  color: #122a42;
}
.tec-upload-doc small,
.tec-doc-review small {
  display: block;
  color: #607186;
}
.tec-upload-doc label {
  display: grid;
  gap: 5px;
  color: #52616d;
  font-weight: 800;
}
.tec-upload-doc input[type="file"] {
  width: 100%;
  min-width: 0;
}
.tec-signature-field {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
}
.tec-signature-warning {
  padding-left: 10px;
}
.danger-text {
  color: #b42318 !important;
  font-weight: 800;
}
.tec-doc-review {
  margin-top: 8px;
}
.tec-doc-review > div {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-top: 1px solid #e1e9f2;
}
.license-tariff-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.license-tariff-summary article {
  padding: 14px;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}
.license-tariff-summary span,
.license-tariff-summary small {
  display: block;
  color: #5b6b7c;
  font-weight: 700;
}
.license-tariff-summary strong {
  display: block;
  margin: 5px 0;
  color: #101828;
  font-size: 1.35rem;
  font-weight: 900;
}
.notice.warning {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #f5c2c7;
  border-left: 5px solid #d00000;
  border-radius: 10px;
  background: #fff5f5;
  color: #7a1015;
}
.juegos-command-center {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin: 14px 0;
  padding: 18px;
  border: 1px solid #cbd7e4;
  border-left: 6px solid #d00000;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}
.juegos-command-center.is-open {
  border-left-color: #0d8a45;
  background: #f8fffb;
}
.juegos-command-main span,
.juegos-turn-open-grid span,
.juegos-mini-turn-open button {
  color: #667085;
  font-weight: 900;
}
.juegos-command-main strong {
  display: block;
  margin: 4px 0;
  color: #101828;
  font-size: 1.35rem;
  font-weight: 950;
}
.juegos-command-main p {
  margin: 0;
  color: #52616d;
}
.juegos-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.juegos-turn-open-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.juegos-turn-open-grid form,
.juegos-mini-turn-open form {
  margin: 0;
}
.juegos-turn-open-grid button {
  width: 100%;
  min-height: 92px;
  display: grid;
  gap: 3px;
  text-align: left;
  padding: 12px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #122a42;
  cursor: pointer;
}
.juegos-turn-open-grid button:hover,
.juegos-mini-turn-open button:hover {
  border-color: #d00000;
  background: #fff7f7;
}
.juegos-turn-open-grid button.is-active,
.juegos-mini-turn-open button.is-active {
  border-color: #0d8a45;
  background: #eaf8ef;
  color: #0d5f33;
}
.league-mode-card.is-recommended {
  border-color: #0d8a45;
  background: #eaf8ef;
  box-shadow: inset 0 0 0 1px rgba(13, 138, 69, 0.18);
}
.juegos-turn-open-grid strong {
  color: #101828;
  font-size: 1.05rem;
  font-weight: 950;
}
.juegos-turn-open-grid small {
  color: #607186;
  font-weight: 700;
}
.juegos-mini-turn-open {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.juegos-mini-turn-open button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #d5e1ec;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}
@media (max-width: 900px) {
.juegos-command-center {
    grid-template-columns: 1fr;
  }
.juegos-command-actions {
    justify-content: stretch;
  }
.juegos-command-actions .button,
  .juegos-command-actions form,
  .juegos-command-actions button {
    width: 100%;
  }
.tec-header,
.tec-season,
.tec-submit-intro {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.tec-grid-form,
  .tec-grid-form.small {
    grid-template-columns: 1fr;
  }
.tec-dashboard-hero,
  .tec-primary-callout {
    grid-template-columns: 1fr;
  }
.tec-doc-checkitem {
    grid-template-columns: 1fr;
  }
.tec-merit-review-form {
    grid-template-columns: 1fr;
  }
.tec-primary-callout .button {
    width: 100%;
  }
.tec-review-body,
  .tec-review-form.compact {
    grid-template-columns: 1fr;
  }
.tec-review-card > header {
    display: grid;
  }
.tec-review-status {
    justify-items: start;
  }
.tec-merit-grid,
  .tec-merit-card {
    grid-template-columns: 1fr;
  }
.tec-panel .section-title {
    display: grid;
    justify-content: stretch;
  }
.tec-panel {
    padding: 12px;
  }
}
#listados-enviados .seguro-list-filter-primary {
  align-items: stretch;
}
#listados-enviados .seguro-list-filter-primary input[name="envio_q"] {
  flex: 1 1 320px;
}
.seguro-current-filter {
  margin-top: 12px;
  align-items: stretch;
}
.seguro-current-filter input[name="q"] {
  flex: 1 1 360px;
}
.seguro-current-filter select {
  min-width: 180px;
}
.seguro-listados-wrap {
  max-height: calc(100vh - 260px);
}
.seguro-listados-table th,
.seguro-listados-table td,
.seguro-listado-detalle-table th,
.seguro-listado-detalle-table td {
  white-space: nowrap;
}
.seguro-listados-table .cell-number {
  text-align: right;
  width: 64px;
}
.seguro-listados-table .cell-file {
  min-width: 260px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seguro-listados-table td:last-child {
  min-width: 170px;
}
.seguro-back-link {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
}
.seguro-listado-detalle-table td:nth-child(3),
.seguro-listado-detalle-table td:nth-child(4),
.seguro-listado-detalle-table td:nth-child(7) {
  min-width: 150px;
}
@media (max-width: 980px) {
.calendar-admin-layout,
  .calendar-filter-panel,
  .calendar-publication-panel,
  .profile-calendar-grid,
  .calendar-sync-grid,
  .calendar-filter-grid,
  .calendar-grid-head,
  .calendar-grid {
    grid-template-columns: 1fr;
  }
.calendar-editor {
    position: static;
  }
}
@media (max-width: 640px) {
.calendar-admin-card,
  .profile-calendar-row,
  .calendar-field-grid,
  .calendar-toggle-grid,
  .calendar-admin-body header {
    grid-template-columns: 1fr;
    display: grid;
  }
.calendar-admin-date {
    border-right: 0;
    border-bottom: 1px solid #edf1f6;
  }
.calendar-admin-card .row-actions,
  .calendar-admin-card .row-actions form,
  .calendar-admin-card .mini-action {
    width: 100%;
  }
.calendar-mode-switch {
    width: 100%;
  }
.calendar-mode-switch a {
    flex: 1 1 0;
  }
.calendar-grid-day {
    min-height: 86px;
  }
}
/* Portal clubes: stronger home re-order. */
/* Federacion: landing principal mas operativo. */
/* Federacion: contadores con texto fluido, sin recortes intermedios. */
.operational-center-head {
  align-items: flex-start;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 18px;
}
.operational-center-head .eyebrow {
  color: #64748b;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.operational-alerts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 16px;
}
.operational-alert {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-left: 5px solid #64748b;
  border-radius: 8px;
  padding: 12px 14px;
}
.operational-alert span {
  color: #475569;
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.operational-alert p {
  color: #172033;
  margin: 0;
}
.operational-alert.is-attention {
  background: #fff8e6;
  border-color: #f5d27c;
  border-left-color: #c97a00;
}
.operational-alert.is-blocked {
  background: #fff1f2;
  border-color: #fecdd3;
  border-left-color: #be123c;
}
.operational-alert.is-ok {
  background: #effaf4;
  border-color: #b9e8cc;
  border-left-color: #15803d;
}
.operational-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 18px;
}
.operational-summary article {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  padding: 12px 14px;
}
.operational-summary span {
  color: #64748b;
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}
.operational-summary strong {
  color: #0f172a;
  display: block;
  font-size: 1.7rem;
  line-height: 1.15;
  margin-top: 4px;
}
.operational-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 18px;
}
.operational-card {
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-top: 5px solid #64748b;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 16px;
}
.operational-card.is-attention {
  border-top-color: #c97a00;
}
.operational-card.is-blocked {
  border-top-color: #be123c;
}
.operational-card.is-ok {
  border-top-color: #15803d;
}
.operational-card.is-muted {
  border-top-color: #94a3b8;
  opacity: 0.88;
}
.operational-card header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.operational-card header span {
  color: #172033;
  font-size: 1rem;
  font-weight: 800;
}
.operational-card header strong {
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
}
.operational-card p {
  color: #475569;
  margin: 0;
}
.operational-note {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #475569;
  display: block;
  padding: 8px 10px;
}
.operational-meta {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 0;
}
.operational-meta div {
  align-items: start;
  border-bottom: 1px solid #edf2f7;
  column-gap: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(2ch, auto);
  padding-bottom: 6px;
}
.operational-meta dt {
  color: #475569;
  font-size: 0.86rem;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}
.operational-meta dd {
  color: #111827;
  font-weight: 800;
  margin: 0;
  min-width: 2ch;
  text-align: right;
}
.operational-link {
  align-self: flex-start;
  margin-top: auto;
}
.operational-rules {
  margin-top: 10px;
}
.operational-rules ul {
  color: #334155;
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}
@media (max-width: 720px) {
.operational-center-head {
    gap: 12px;
  }
.operational-card {
    min-height: 0;
  }
.operational-link {
    width: 100%;
  }
}
.kyu-ops-board .kyu-review-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.kyu-ops-board .kyu-review-summary article {
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}
.kyu-ops-board .kyu-review-summary span,
.kyu-ops-board .kyu-review-summary small {
  color: #667085;
  font-size: .84rem;
  line-height: 1.3;
}
.kyu-ops-board .kyu-review-summary strong {
  font-size: 1.7rem;
  line-height: 1;
}
/* ── Flash por tipo (avisos diferenciados) ───────────────────────────── */
/* El contenedor pasa a neutro; cada aviso lleva su propio color segun tipo.
   Se usa .flash .flash-* para ganar al historico ".flash p". */
.flash { background: transparent; border: 0; padding: 0; margin-bottom: 16px; display: grid; gap: 8px; }
.flash .flash-item { margin: 0; border-radius: 7px; padding: 10px 12px; font-weight: 700; border: 1px solid transparent; }
.flash .flash-ok { background: #e8f5ea; border-color: #a7d7b0; color: #155b2b; }
.flash .flash-info { background: #eef2f7; border-color: #cdd7e3; color: #2a3b4d; }
.flash .flash-warning { background: #fff5d8; border-color: #ecd28a; color: #7a5b00; }
.flash .flash-error { background: #fdecec; border-color: #e3a7a7; color: #8a1f1f; }
/* ── Boton en envio (anti doble-submit + spinner) ────────────────────── */
button.is-loading, .button.is-loading { position: relative; pointer-events: none; opacity: 0.7; padding-right: 28px; }
button.is-loading::after, .button.is-loading::after {
  content: ""; position: absolute; right: 9px; top: 50%; width: 12px; height: 12px;
  margin-top: -6px; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: fg-spin 0.6s linear infinite;
}
@keyframes fg-spin { to { transform: rotate(360deg); } }
/* ── Pestañas de la ficha de evento ──────────────────────────────────── */
.evento-tabs { display:inline-flex; gap:4px; flex-wrap:wrap; background:#eef1f6; padding:4px; border-radius:10px; margin:0 0 16px; }
.evento-tabs a {
  font-size:14px; padding:8px 15px; text-decoration:none; color:#5f5e5a;
  font-weight:500; border-radius:7px; border:0;
}
.evento-tabs a:hover { color:#2c2c2a; background:rgba(255,255,255,0.55); text-decoration:none; }
.evento-tabs a.active { color:#185fa5; background:#fff; box-shadow:0 1px 2px rgba(15,23,42,0.1); }
.evento-tabs a.active:hover { background:#fff; }
/* ── Ficha de deportista — rediseño pestaña Datos ─────────────────────── */
/* Hero en UNA sola tarjeta: foto + resumen sin doble borde, plano y compacto */
.athlete-profile-hero { gap: 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: var(--shadow-soft); }
.athlete-profile-photo, .athlete-profile-summary { border: 0; background: transparent; box-shadow: none; border-radius: 0; padding: 0; }
.athlete-profile-photo { gap: 6px; }
.athlete-profile-summary { gap: 10px; }
.athlete-profile-image, .athlete-profile-placeholder { width: 100px; height: 126px; box-shadow: none; }
.athlete-profile-placeholder { font-size: 32px; }
.athlete-profile-photo strong { font-size: 14px; }
.athlete-profile-summary .summary-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 18px; }
.athlete-summary-top > span:not(.state-pill):not(.belt) { min-height: 24px; padding: 2px 9px; font-weight: 600; }
@media (min-width: 1101px) {
.athlete-profile-hero { grid-template-columns: auto minmax(0, 1fr); }
.athlete-profile-summary { border-left: 1px solid var(--line-soft); padding-left: 18px; }
.athlete-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Barra de acciones con iconos */
.ath-actionbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ath-actionbar .button { display: inline-flex; align-items: center; gap: 7px; }
.ath-actionbar .button svg, .ath-field dt svg, .ath-module-head svg, .ath-help summary svg, .ath-module-card .button svg { width: 15px; height: 15px; flex: 0 0 auto; }
/* Listas etiqueta/valor (gana a .athlete-info-card dl): label suave, valor sólido */
.athlete-info-card .ath-dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.athlete-info-card .ath-field { display: grid; grid-template-columns: 128px 1fr; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.athlete-info-card .ath-field:last-child { border-bottom: 0; }
.athlete-info-card .ath-field dt { margin: 0; color: var(--muted); font-weight: 500; font-size: 13px; text-transform: none; display: inline-flex; align-items: center; gap: 6px; }
.athlete-info-card .ath-field dt svg { color: var(--blue); }
.athlete-info-card .ath-field dd { margin: 0; color: var(--text); font-weight: 600; }
.athlete-info-card .ath-field dd small { color: var(--muted); font-weight: 400; }
/* Métricas de actividad */
.ath-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 8px; margin-bottom: 12px; }
.ath-metric { background: var(--panel-soft); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px 10px; }
.ath-metric span { display: block; font-size: 12px; color: var(--muted); }
.ath-metric strong { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--text); }
/* Tarjetas de módulo (AFP / Judo Essential) */
.ath-modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ath-module-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: var(--panel-soft); }
.ath-module-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-dark); }
.ath-module-head svg { width: 18px; height: 18px; color: var(--blue); }
.ath-module-card .muted { font-size: 13px; margin: 0; color: var(--muted); }
.ath-module-card .button { margin-top: 4px; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; }
/* Texto de ayuda colapsable (via del acta, reseteo) */
.ath-help { margin: 6px 0; }
.ath-help summary { cursor: pointer; color: var(--blue); font-size: 13px; font-weight: 600; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.ath-help summary::-webkit-details-marker { display: none; }
.ath-help[open] summary { margin-bottom: 6px; }
.ath-help .muted { font-size: 13px; color: var(--muted); }
/* Promoción manual: inputs alineados a la misma base */
.promotion-panel .form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.promotion-panel .form-row label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 140px; margin: 0; }
.promotion-panel .form-row label select, .promotion-panel .form-row label input { width: 100%; }
:root {
  --ui-brand: #0f4f86;
  --ui-brand-strong: #073b66;
  --ui-accent: #d21f32;
  --ui-line: #dbe6f2;
  --ui-soft: #f5f9fd;
  --ui-shadow: 0 10px 28px rgba(15, 79, 134, 0.10);
}
.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.app-logo {
  width: auto;
  max-height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-area > div {
  min-width: 0;
}
.brand-area strong,
.topbar .brand-title {
  color: var(--ui-brand-strong);
  font-size: 15px;
  line-height: 1.2;
}
.brand-area span,
.topbar .brand-subtitle {
  display: block;
  line-height: 1.3;
}
.icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25em;
  min-width: 1.25em;
  line-height: 1;
}
.btn-icon {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}
.module-card {
  border: 1px solid var(--ui-line) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--ui-soft) 100%) !important;
  box-shadow: var(--ui-shadow);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.module-card:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 79, 134, .35) !important;
  box-shadow: 0 14px 34px rgba(15, 79, 134, .15);
}
.module-icon,
.landing-modules .module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(15, 79, 134, .10);
  color: var(--ui-brand);
  font-size: 18px;
  margin-bottom: 8px;
}
.module-title {
  color: var(--ui-brand-strong);
}
.module-description,
.module-meta {
  color: #64748b;
}
.module-action {
  margin-top: auto;
}
.ops-hero,
.ops-panel {
  box-shadow: var(--ui-shadow);
}
.landing-status-item {
  border-top-width: 5px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid var(--ui-line);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}
.status-ok { color: #147a45; background: #ecfdf3; border-color: #b8e7cd; }
.status-pending { color: #9a6700; background: #fff8db; border-color: #f4dc8d; }
.status-danger { color: #b42318; background: #fff0ee; border-color: #f5c1bb; }
.status-info { color: var(--ui-brand); background: #eef6ff; border-color: #bfdcf7; }
.status-muted { color: #64748b; background: #f8fafc; border-color: #e2e8f0; }
.kyu-print-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #f1d79a;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e6 0%, #ffffff 70%);
  box-shadow: var(--ui-shadow);
}
.kyu-workflow-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kyu-workflow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  background: #fff;
}
.kyu-workflow-step span {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--ui-brand);
  font-weight: 900;
}
.kyu-workflow-step strong {
  color: var(--ui-brand-strong);
}
.kyu-workflow-step small {
  color: #64748b;
}
.kyu-workflow-step.is-current {
  border-color: #f0c65a;
  background: #fff8e6;
}
.kyu-filter-panel {
  margin-bottom: 14px;
}
.kyu-confirm-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px;
  margin-bottom: 16px;
  border: 1px solid #bfdcf7;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef6ff 0%, #fff 70%);
  box-shadow: var(--ui-shadow);
}
.kyu-confirm-panel h2 {
  margin: 10px 0 6px;
  color: var(--ui-brand-strong);
}
.kyu-confirm-button {
  min-height: 50px;
  font-weight: 900;
}
.kyu-print-hero h2 {
  margin: 10px 0 6px;
  color: var(--ui-brand-strong);
}
.kyu-print-hero p {
  margin: 0;
  color: #64748b;
}
.kyu-print-button {
  min-height: 54px;
  padding-inline: 22px;
  font-size: 16px;
  font-weight: 800;
}
.flow-list {
  margin: 0;
  padding-left: 22px;
  color: #334155;
}
.flow-list li {
  margin: 8px 0;
}
.workflow-list {
  margin: 0;
  padding-left: 22px;
  color: #334155;
  line-height: 1.65;
}
.workflow-list li {
  margin: 6px 0;
}
.import-review-form {
  display: grid;
  gap: 16px;
}
.import-review-card {
  border-top: 5px solid var(--ui-brand);
}
.import-review-card.has-error {
  border-top-color: #d43c3c;
}
.import-review-card.has-warning {
  border-top-color: #c48300;
}
.import-review-card.is-ok {
  border-top-color: #198754;
}
.import-review-check {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #d4e0ea;
  border-radius: 8px;
  background: #f7fbff;
}
.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px;
  border: 1px solid #cfdbe7;
  border-radius: 10px;
  background: rgba(248, 251, 255, 0.96);
  box-shadow: 0 -8px 20px rgba(12, 38, 68, 0.08);
}
@media (max-width: 760px) {
.brand-area {
    align-items: flex-start;
  }
.app-logo {
    max-height: 32px;
  }
.btn-icon {
    justify-content: center;
  }
.kyu-print-hero {
    grid-template-columns: 1fr;
  }
.kyu-workflow-panel {
    grid-template-columns: 1fr;
  }
.kyu-confirm-panel {
    grid-template-columns: 1fr;
  }
.kyu-print-button {
    width: 100%;
  }
}
/* Modern SaaS dashboard visual layer. CSS-only: no layout, route, form or data changes. */
:root {
  --saas-red: #d00000;
  --saas-red-dark: #a90000;
  --saas-red-soft: #fff1f1;
  --saas-ink: #1a1a1a;
  --saas-text: #2f3742;
  --saas-muted: #6b7280;
  --saas-bg: #f5f6f8;
  --saas-panel: #ffffff;
  --saas-line: #e2e5e9;
  --saas-line-strong: #cbd2da;
  --saas-green: #16834a;
  --saas-green-soft: #eaf8f0;
  --saas-yellow: #a16207;
  --saas-yellow-soft: #fff7df;
  --saas-blue: #2563eb;
  --saas-blue-soft: #eef5ff;
  --saas-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 24px rgba(16, 24, 40, .05);
  --saas-shadow-hover: 0 2px 5px rgba(16, 24, 40, .06), 0 14px 30px rgba(16, 24, 40, .08);
  --saas-radius: 8px;
}
html {
  background: var(--saas-bg);
}
body {
  background: var(--saas-bg);
  color: var(--saas-text);
  font-family: Inter, Montserrat, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  letter-spacing: 0;
}
h1,
h2,
h3,
.page-head h1 {
  color: var(--saas-ink);
  letter-spacing: 0;
}
p,
.module-description,
.module-meta,
.task-list span,
.empty-state,
.field-hint {
  color: var(--saas-muted);
}
a {
  color: var(--saas-red);
}
a:hover {
  color: var(--saas-red-dark);
}
.main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82) 0, rgba(245, 246, 248, 0) 280px),
    var(--saas-bg);
}
.topbar {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--saas-line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02), 0 8px 20px rgba(16, 24, 40, .04);
}
.brand-area strong,
.topbar .brand-title {
  color: var(--saas-ink);
  font-weight: 850;
}
.brand-area span,
.topbar .brand-subtitle {
  color: var(--saas-muted);
}
.topbar-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--saas-text);
  font-weight: 750;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.topbar-actions a:hover {
  background: var(--saas-red-soft);
  border-color: #ffd5d5;
  color: var(--saas-red-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.context-sidebar {
  gap: 12px;
}
.module-block {
  border: 1px solid var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: var(--saas-shadow);
  overflow: hidden;
}
.module-block h3 {
  padding: 11px 12px;
  border-bottom: 1px solid var(--saas-line);
  background: linear-gradient(180deg, #ffffff, #fafbfc);
  color: var(--saas-ink);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
}
.module-block a,
.module-block span,
.module-block form {
  border-top-color: #edf0f3;
}
.module-block a {
  color: var(--saas-text);
  font-weight: 760;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.module-shell {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 18px;
}
/* Filtros de la seccion activa (Economico): sub-nivel indentado bajo la tarjeta de seccion. */
/* Fondo clarito distinto por filtro, ciclando por posicion. */
.module-page-head {
  align-items: stretch;
  margin-bottom: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #ffffff, #f7fafc);
  border: 1px solid rgba(148, 163, 184, .28);
  border-left: 6px solid var(--saas-red);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 34px rgba(16, 24, 40, .08);
}
.module-head-main {
  min-width: 0;
}
.module-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.module-breadcrumbs span + span::before {
  content: "/";
  margin-right: 6px;
  color: #98a2b3;
}
.module-page-head h1 {
  margin: 0;
}
.module-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.module-head-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 999px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
}
.module-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.module-head-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
}
.module-head-button:hover {
  border-color: rgba(208, 0, 0, .24);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(16, 24, 40, .09);
}
.module-head-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.module-view-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 0 8px;
  scrollbar-width: thin;
}
.module-view-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
}
.module-view-tab strong {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  text-align: center;
  font-size: 12px;
}
.module-view-tab:hover,
.module-view-tab:focus-visible {
  border-color: rgba(208, 0, 0, .28);
  color: #111827;
  text-decoration: none;
}
.module-view-tab.active {
  border-color: rgba(208, 0, 0, .35);
  background: #e00000;
  color: #fff;
}
.module-view-tab.active strong {
  background: rgba(255, 255, 255, .22);
  color: #fff;
}
.module-compact-toolbar {
  margin-bottom: 12px;
  padding: 12px 14px;
}
.module-compact-toolbar h2 {
  margin: 0;
  font-size: 18px;
}
.module-side-menu {
  min-height: calc(100vh - 210px);
  align-content: start;
}
.module-side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 6px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, .16);
}
.module-side-head strong {
  display: block;
  color: #172033;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.08;
}
.module-side-head small {
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}
.module-side-menu .module-area-link {
  min-height: 54px;
}
.module-side-main {
  min-height: 0;
}
.module-side-bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, .18);
}
.module-filter-panel,
.module-action-panel,
.module-report-landing {
  margin-bottom: 12px;
}
.module-legacy-head {
  display: none;
}
.module-secondary-stats {
  display: none;
}
.module-report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.quick-task-head {
  align-items: center;
}
.quick-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.quick-task-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 160px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-left: 5px solid #2563eb;
  border-radius: 14px;
  background: #fff;
  color: #172033;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
.quick-task-card.is-warning {
  border-left-color: #e00000;
}
.quick-task-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.quick-task-card header span,
.quick-task-card small {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}
.quick-task-card header strong {
  font-size: 18px;
  font-weight: 950;
}
.quick-task-card p {
  margin: 0;
  font-weight: 900;
}
.quick-task-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.quick-task-actions form {
  margin: 0;
}
.quick-task-actions button,
.quick-task-actions .button {
  min-height: 44px;
}
.quick-task-link:hover,
.quick-task-link:focus-visible {
  border-color: rgba(208, 0, 0, .3);
  text-decoration: none;
  transform: translateY(-1px);
}
.module-report-card {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-left: 5px solid var(--saas-red);
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
}
.module-report-card:hover {
  color: #111827;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(16, 24, 40, .09);
}
.module-report-card span {
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.module-report-card strong {
  color: #172033;
  font-size: 24px;
  line-height: 1;
}
.module-report-card small {
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 760px) {
.module-page-head {
    display: grid;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
  }
.module-head-actions {
    justify-content: stretch;
  }
.module-head-button {
    flex: 1 1 130px;
    justify-content: center;
    min-height: 38px;
    padding: 7px 9px;
  }
.module-head-button img {
    width: 24px;
    height: 24px;
  }
}
.config-layout {
  grid-template-columns: 286px minmax(0, 1fr);
}
.config-layout-scoped {
  grid-template-columns: minmax(0, 1fr);
}
.config-layout-scoped [data-config-panel] {
  display: none;
}
.config-layout-scoped.config-scope-seguro [data-config-panel="seguro"],
.config-layout-scoped.config-scope-kyus [data-config-panel="grados"],
.config-layout-scoped.config-scope-kyus [data-config-panel="tasas"],
.config-layout-scoped.config-scope-tramitaciones [data-config-panel="tarifas"],
.config-layout-scoped.config-scope-liquidaciones [data-config-panel="tasas"],
.config-layout-scoped.config-scope-liquidaciones [data-config-panel="cuentas-correo"] {
  display: block;
}
.config-side-nav {
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 34px rgba(16, 24, 40, .08);
}
.config-side-nav strong {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 0;
  color: #7b8491;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.config-side-nav strong::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--saas-red);
}
.config-side-nav strong:not(:first-child) {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 0;
}
.config-side-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 7px 10px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 16px;
  background: #f8fafc;
  color: #172033;
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), 0 1px 1px rgba(16, 24, 40, .03);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.config-side-nav a::before {
  content: "";
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background:
    linear-gradient(var(--saas-red), var(--saas-red)) 11px 12px / 16px 3px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 11px 18px / 16px 3px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 11px 24px / 12px 3px no-repeat,
    rgba(255, 255, 255, .48);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .58);
}
.config-side-nav a:hover {
  border-color: rgba(208, 0, 0, .18);
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 18px rgba(16, 24, 40, .09);
  transform: translateY(-1px);
}
.config-side-nav a::before {
  display: none;
  content: none;
}
.config-side-nav a.is-active {
  border-color: rgba(208, 0, 0, .26);
  color: #111827;
  box-shadow: inset 5px 0 0 var(--saas-red), 0 12px 24px rgba(16, 24, 40, .12);
  transform: translateY(-1px);
}
.config-side-nav a > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
}
.config-side-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
}
.config-side-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}
.config-nav-deportes { background: #eaffff !important; }
.config-nav-grados { background: #fff0f6 !important; }
.config-nav-categorias { background: #ecfbf3 !important; }
.config-nav-pesos { background: #fff7df !important; }
.config-nav-tarifas { background: #fff4e8 !important; }
.config-nav-tasas { background: #eafaf2 !important; }
.config-nav-colegiaciones { background: #f4edff !important; }
.config-nav-seguro { background: #edf4ff !important; }
.config-nav-eventos { background: #eaffff !important; }
.config-nav-correos,
.config-nav-auditoria,
.config-nav-usuarios { background: #f8fafc !important; }
.config-nav-deportes.is-active { background: #d8fbfb !important; }
.config-nav-grados.is-active { background: #ffddea !important; }
.config-nav-categorias.is-active { background: #d9f7e7 !important; }
.config-nav-pesos.is-active { background: #ffefb8 !important; }
.config-nav-tarifas.is-active { background: #ffe4c7 !important; }
.config-nav-tasas.is-active { background: #d6f5e6 !important; }
.config-nav-colegiaciones.is-active { background: #eadcff !important; }
.config-nav-seguro.is-active { background: #dceaff !important; }
.config-nav-eventos.is-active { background: #d8fbfb !important; }
.config-main[data-config-ready="1"] [data-config-panel][hidden] {
  display: none !important;
}
.config-main[data-config-ready="1"] [data-config-panel] {
  animation: configPanelIn .18s ease both;
}
@keyframes configPanelIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ops-hero,
.ops-panel,
.module-card,
.stat,
.table-wrap,
.empty-state,
.renewal-card,
.landing-status-item,
.import-review-card,
.kyu-confirm-panel,
.kyu-print-hero,
.kyu-workflow-step,
.kyu-submit-callout {
  border-color: var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: var(--saas-panel) !important;
  box-shadow: var(--saas-shadow);
}
.page-head .command-bar,
.toolbar-stack {
  gap: 10px;
}
#portal-access {
  scroll-margin-top: 104px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
#portal-access:target {
  border-color: rgba(208, 0, 0, .42) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%) !important;
  box-shadow: 0 0 0 4px rgba(208, 0, 0, .10), var(--saas-shadow-hover);
}
.landing-status-item,
.stat {
  position: relative;
  overflow: hidden;
  border-radius: var(--saas-radius) !important;
  border-top-width: 0 !important;
  padding: 15px 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.landing-status-item::before,
.stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 0;
  background: var(--saas-blue);
}
.stat:nth-child(1)::before {
  background: var(--saas-green);
}
.stat:nth-child(2)::before {
  background: #eab308;
}
.module-card:hover,
.renewal-card:hover,
.task-list > a:hover,
.alert-row:hover {
  border-color: var(--saas-line-strong) !important;
  box-shadow: var(--saas-shadow-hover);
}
.stat span,
.landing-status-item span {
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
}
.stat strong,
.landing-status-item strong {
  color: var(--saas-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  font-weight: 850;
}
.club-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 18px 0 20px;
}
.club-icon-card,
.club-card-visual {
  --club-card-bg: #f8fafc;
  --club-card-border: rgba(148, 163, 184, .22);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 15px 16px;
  border: 1px solid var(--club-card-border);
  border-radius: 20px;
  background: linear-gradient(135deg, var(--club-card-bg) 0%, #ffffff 74%);
  color: #172033;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 28px rgba(16, 24, 40, .07);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.club-icon-card:hover,
.club-card-visual:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 0, 0, .22);
  box-shadow: 0 18px 34px rgba(16, 24, 40, .11);
}
.club-module-icon {
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 8px 18px rgba(16, 24, 40, .06);
}
.club-module-icon img {
  display: block;
  width: 82px;
  height: 82px;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
}
.club-module-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.club-module-copy strong {
  color: #111827;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}
.club-module-copy small {
  color: #5b677a;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
}
.club-card-club { --club-card-bg: #eef7ff; --club-card-border: rgba(47, 128, 216, .18); }
.club-card-deportistas { --club-card-bg: #ecfbf3; --club-card-border: rgba(35, 165, 102, .18); }
.club-card-licencias { --club-card-bg: #fff7df; --club-card-border: rgba(216, 155, 0, .20); }
.club-card-colegiaciones { --club-card-bg: #f4edff; --club-card-border: rgba(139, 92, 246, .20); }
.club-card-eventos { --club-card-bg: #eaffff; --club-card-border: rgba(20, 184, 184, .18); }
.club-card-kyus { --club-card-bg: #fff0f6; --club-card-border: rgba(219, 39, 119, .18); }
.club-card-dan { --club-card-bg: #f1f4f7; --club-card-border: rgba(71, 85, 105, .20); }
.club-card-afp { --club-card-bg: #fff1e6; --club-card-border: rgba(249, 115, 22, .18); }
.club-card-pagos { --club-card-bg: #eafaf2; --club-card-border: rgba(16, 166, 106, .18); }
.club-card-informes { --club-card-bg: #edf4ff; --club-card-border: rgba(59, 130, 246, .18); }
.club-card-certificados { --club-card-bg: #f4f6f8; --club-card-border: rgba(100, 116, 139, .20); }
.kyu-state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 106px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}
.kyu-state-ok {
  border-color: rgba(22, 131, 74, .22);
  background: #eaf8f0;
  color: #11613a;
}
.kyu-available-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  min-width: 86px;
  padding: 5px 10px;
  border: 1px solid rgba(220, 38, 38, .24);
  border-radius: 999px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}
.attendance-sticky-status {
  position: sticky;
  top: 8px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(216, 31, 42, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 24px rgba(15, 34, 52, .1);
}
.attendance-sticky-status span {
  display: block;
  color: #687684;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.attendance-sticky-status strong {
  display: block;
  color: var(--fcj-red, #d81f2a);
  font-size: 30px;
  line-height: 1;
}
.attendance-sticky-status p {
  margin: 0;
  color: #34495b;
  font-weight: 800;
}
.attendance-sticky-status.is-done {
  border-color: rgba(33, 145, 88, .25);
  background: #f3fff8;
}
.attendance-sticky-status.is-done strong {
  color: #219158;
}
.attendance-finished-card {
  border-color: rgba(33, 145, 88, .24);
  background: #f3fff8;
}
.kyu-state-pending {
  border-color: rgba(212, 160, 25, .22);
  background: #fff7df;
  color: #7a5800;
}
.kyu-state-muted {
  border-color: rgba(148, 163, 184, .22);
  background: #f2f4f7;
  color: #526273;
}
.kyu-request-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 32px;
  border-radius: 999px !important;
  background: var(--saas-red) !important;
  color: #ffffff !important;
  font-weight: 950;
}
.kyu-request-action.is-disabled,
.kyu-request-action:disabled {
  opacity: .42;
  cursor: not-allowed;
  box-shadow: none !important;
  filter: grayscale(.08);
}
@media (min-width: 861px) {
.ops-shortcuts-legend {
    padding: 14px !important;
  }
.ops-shortcuts-legend .landing-modules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
.ops-shortcuts-legend .module-card {
    min-height: 82px;
    padding: 10px 12px;
    cursor: default;
    pointer-events: none;
  }
.ops-shortcuts-legend .module-card:hover {
    transform: none;
    border-color: var(--saas-line) !important;
    box-shadow: 0 1px 1px rgba(16, 24, 40, .03);
  }
.ops-shortcuts-legend .module-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
.ops-shortcuts-legend .module-icon img {
    width: 46px;
    height: 46px;
  }
.ops-shortcuts-legend .module-title {
    font-size: 14px;
  }
.ops-shortcuts-legend .module-meta {
    font-size: 10.5px;
  }
}
.ops-panel h2,
.module-card strong,
.task-list strong,
.empty-state strong {
  color: var(--saas-ink);
}
.task-list > a,
.alert-row,
.module-card {
  border: 1px solid var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .03);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.task-list > a:hover,
.module-card:hover {
  transform: translateY(-1px);
  background: #fffdfd !important;
}
.task-list em,
.module-action {
  border-radius: 999px;
  background: var(--saas-red);
  color: #ffffff;
}
input,
select,
textarea {
  border-color: var(--saas-line);
  border-radius: var(--saas-radius);
  background: #ffffff;
  color: var(--saas-ink);
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .04);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--saas-line-strong);
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(208, 0, 0, .55);
  outline: 3px solid rgba(208, 0, 0, .10);
  box-shadow: 0 0 0 1px rgba(208, 0, 0, .10), inset 0 1px 2px rgba(16, 24, 40, .03);
}
input[type="checkbox"],
input[type="radio"] {
  width: 17px;
  min-width: 17px;
  height: 17px;
  min-height: 17px;
  padding: 0;
  accent-color: var(--saas-red);
  box-shadow: none;
}
label,
.panel-form label,
.license-search-panel label,
.tec-grid-form label {
  color: var(--saas-text);
  font-weight: 800;
}
button,
.button,
input[type="submit"],
.landing-primary,
.kyu-submit-button,
.kyu-confirm-button,
.kyu-print-button,
.batch-accept-button {
  min-height: 38px;
  border-color: var(--saas-red);
  border-radius: var(--saas-radius);
  background: var(--saas-red);
  color: #ffffff;
  font-weight: 820;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
button:hover,
.button:hover,
input[type="submit"]:hover,
.landing-primary:hover,
.kyu-submit-button:hover,
.kyu-confirm-button:hover,
.kyu-print-button:hover,
.batch-accept-button:hover {
  border-color: var(--saas-red-dark);
  background: var(--saas-red-dark);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(208, 0, 0, .18);
  text-decoration: none;
  transform: translateY(-1px);
}
button.secondary,
.button.secondary,
.secondary,
.mini-action,
.compact-actions .mini-action,
.status-segment label,
.status-segment a,
.inline-column-toggles label {
  border-color: var(--saas-line);
  background: #ffffff;
  color: var(--saas-text);
  box-shadow: none;
}
button.secondary:hover,
.button.secondary:hover,
.secondary:hover,
.mini-action:hover,
.status-segment label:hover,
.status-segment a:hover,
.inline-column-toggles label:hover {
  border-color: #ffd1d1;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
  box-shadow: none;
}
.button.ghost,
.link-button {
  border-color: transparent;
  background: transparent;
  color: var(--saas-muted);
  box-shadow: none;
}
.button.ghost:hover,
.link-button:hover {
  background: #f3f4f6;
  color: var(--saas-ink);
  box-shadow: none;
  transform: none;
}
button.warn,
.mini-action.warn {
  border-color: #f4d789;
  background: var(--saas-yellow-soft);
  color: var(--saas-yellow);
}
button.warn:hover,
.mini-action.warn:hover {
  border-color: #eab308;
  background: #fff3c4;
  color: #7c4a03;
}
.mini-action.danger,
button.danger,
.button.danger {
  border-color: #ffc7c7;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
}
.mini-action.ok {
  border-color: #bde8cc;
  background: var(--saas-green-soft);
  color: var(--saas-green);
}
.license-search-panel,
.event-view-strip,
.coverage-legend,
.club-legend,
.status-segment,
.inline-column-toggles {
  border-color: var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: var(--saas-shadow);
}
.status-segment label,
.status-segment a,
.inline-column-toggles label {
  border-radius: 999px;
  font-weight: 800;
}
.status-segment label.active,
.status-segment a.active,
.inline-column-toggles label.is-selected {
  border-color: #ffc7c7;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
  box-shadow: inset 0 0 0 1px rgba(208, 0, 0, .08);
}
.table-wrap {
  overflow: auto;
  background: #ffffff;
}
table {
  background: #ffffff;
  color: var(--saas-text);
}
th,
td {
  border-bottom-color: #edf0f3;
  padding: 9px 10px;
}
th {
  background: #f3f5f7;
  color: #374151;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
thead tr.column-filter-row th {
  background: #fafbfc;
}
tbody tr:nth-child(even) {
  background: #fbfcfd;
}
tbody tr:hover {
  background: #f2f4f7;
}
tbody tr.row-ok,
.coverage-row.coverage-full td,
.athlete-card.coverage-full {
  background: var(--saas-green-soft);
}
tbody tr.row-warn,
tbody tr.row-escolar,
.coverage-row.coverage-school td,
.athlete-card.coverage-school,
.renewal-card.coverage-school {
  background: var(--saas-yellow-soft);
}
tbody tr.selected-row,
.coverage-row.coverage-none td,
.athlete-card.coverage-none {
  background: var(--saas-red-soft);
}
.badge,
.status,
.ux-badge,
.state-pill,
.verify-state,
.status-badge,
.tec-badge,
.tec-status,
.coverage-dot,
.club-license-state {
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .01em;
  box-shadow: none;
}
.badge.ok,
.status.status-ok,
.ux-badge-activo,
.ux-badge-publicado,
.ux-badge-pagado,
.ux-badge-aprobado,
.ux-badge-finalizado,
.state-ok,
.status-ok {
  border-color: #bde8cc;
  background: var(--saas-green-soft);
  color: var(--saas-green);
}
.status,
.status-pending,
.state-pending,
.ux-badge-pendiente,
.ux-badge-en-revision,
.ux-badge-borrador {
  border-color: #f7df94;
  background: var(--saas-yellow-soft);
  color: var(--saas-yellow);
}
.badge.danger,
.status.status-off,
.state-bad,
.status-danger,
.ux-badge-cerrado,
.ux-badge-anulado,
.ux-badge-con-incidencias {
  border-color: #ffc7c7;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
}
.status-info,
.state-info,
.ux-badge-sistema,
.ux-badge-avanzado {
  border-color: #bfd6ff;
  background: var(--saas-blue-soft);
  color: var(--saas-blue);
}
.status-muted,
.state-muted {
  border-color: var(--saas-line);
  background: #f3f4f6;
  color: var(--saas-muted);
}
.process-steps article,
.kyu-workflow-step,
.form-step,
.flow-step {
  border-color: var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: #ffffff !important;
  box-shadow: var(--saas-shadow);
}
.process-steps article::before {
  background: var(--saas-red);
}
.process-steps article.is-active,
.process-steps article.active,
.kyu-workflow-step.is-current,
.flow-step.active {
  border-color: #ffc7c7 !important;
  background: var(--saas-red-soft) !important;
  box-shadow: inset 0 0 0 1px rgba(208, 0, 0, .06), var(--saas-shadow);
}
.kyu-workflow-step span,
.process-steps article > span:first-child {
  background: #ffffff;
  color: var(--saas-red);
  border: 1px solid #ffc7c7;
}
.sticky-actions {
  border-color: var(--saas-line);
  border-radius: var(--saas-radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 30px rgba(16, 24, 40, .08);
  backdrop-filter: blur(12px);
}
.report-builder {
  max-width: 1120px;
  gap: 16px;
}
.report-builder .section-title {
  align-items: flex-start;
  gap: 16px;
}
.report-builder .section-title h2 {
  margin-bottom: 4px;
}
.report-builder .section-title p {
  max-width: 680px;
  margin: 0;
  color: var(--saas-muted);
  font-size: 13px;
  font-weight: 600;
}
.report-builder .section-title [data-report-count] {
  align-self: center;
  min-width: 112px;
  padding: 8px 11px;
  border: 1px solid #bfd6ff;
  border-radius: 999px;
  background: var(--saas-blue-soft);
  color: var(--saas-blue);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}
.report-builder.report-pdf-heavy .section-title [data-report-count] {
  border-color: #f7df94;
  background: var(--saas-yellow-soft);
  color: var(--saas-yellow);
}
.report-options,
.report-presets,
.report-field-group {
  border-color: var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: #ffffff !important;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .03);
}
.report-options {
  display: grid;
  grid-template-columns: minmax(240px, .9fr) minmax(320px, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 14px;
}
.report-scope,
.report-format-actions,
.report-presets > div:first-child {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}
.report-option-label {
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.report-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--saas-line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--saas-text);
}
.report-switch input {
  width: 18px;
  min-width: 18px;
  height: 18px;
}
.report-format-actions .command-bar {
  justify-content: flex-end;
}
.report-presets {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}
.report-presets p {
  margin: 0;
  color: var(--saas-muted);
  font-weight: 600;
}
.report-preset-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.report-preset-grid button {
  min-height: 34px;
  padding-inline: 12px;
  border-radius: 999px;
}
.report-field-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.report-field-group {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 16px;
}
.report-field-group legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 10px);
  padding: 0;
  color: var(--saas-ink);
  font-size: 14px;
  font-weight: 850;
}
.report-field-group legend small {
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 800;
}
.report-group-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.report-group-actions .link-button {
  min-height: 28px;
  padding: 0;
  color: var(--saas-red-dark);
  font-size: 12px;
}
.report-field-group .field-picker.clean {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.report-choice {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
  background: #fbfcfd;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.report-choice:hover {
  border-color: var(--saas-line-strong);
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .06);
  transform: translateY(-1px);
}
.report-choice input {
  width: 18px;
  min-width: 18px;
  height: 18px;
}
.report-choice:has(input:checked) {
  border-color: #ffc7c7;
  background: var(--saas-red-soft);
  box-shadow: inset 3px 0 0 var(--saas-red);
}
.report-choice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.report-choice strong {
  color: var(--saas-ink);
  font-size: 13px;
  line-height: 1.2;
}
.report-choice small {
  overflow: hidden;
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
}
.report-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
  background: #f8fafc;
}
.report-preview {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
  background: #ffffff;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .03);
}
.report-preview .section-title {
  padding-bottom: 0;
}
.report-preview-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, .6fr) minmax(150px, .6fr) minmax(180px, .8fr);
  gap: 12px;
}
.report-preview-tools label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--saas-ink);
  font-size: 12px;
  font-weight: 850;
}
.report-preview-tools label span {
  color: var(--saas-muted);
  font-size: 11px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.report-preview-tools input,
.report-preview-tools select {
  min-height: 42px;
  border-radius: var(--saas-radius);
  background: #fbfcfd;
}
.report-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
  background: #f8fafc;
}
.report-selection-bar > span {
  color: var(--saas-muted);
  font-size: 12px;
  font-weight: 850;
}
.report-selection-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.report-selection-actions button {
  min-height: 32px;
  padding-inline: 11px;
  border-radius: 999px;
  font-size: 12px;
}
.report-preview-table {
  max-height: 520px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
}
.report-preview-table table {
  min-width: 980px;
}
.report-preview-table th {
  position: sticky;
  top: 0;
  z-index: 2;
}
.report-preview-table th,
.report-preview-table td {
  white-space: nowrap;
}
.report-preview-table .state-pill {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-preview-table tbody tr[hidden],
.report-preview-table [hidden] {
  display: none !important;
}
.report-check-cell {
  width: 42px;
  min-width: 42px;
  text-align: center;
}
.report-check-cell input {
  width: 17px;
  height: 17px;
}
.report-preview-empty {
  margin: 0;
}
.athlete-profile-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: #111827 !important;
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}
.athlete-profile-link:hover {
  color: #111827 !important;
  text-decoration: none;
}
.athlete-file-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(208, 0, 0, .22);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(16, 24, 40, .08);
}
.athlete-file-icon::before {
  content: "";
  width: 13px;
  height: 16px;
  border: 2px solid var(--saas-red);
  border-radius: 3px;
  background:
    linear-gradient(var(--saas-red), var(--saas-red)) 3px 5px / 7px 2px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 3px 10px / 7px 2px no-repeat,
    #ffffff;
}
.athlete-card .athlete-profile-link {
  font-size: 17px;
}
.athlete-card.coverage-full,
.athlete-card.coverage-school,
.athlete-card.coverage-pending,
.athlete-card.coverage-none,
.athlete-card.coverage-expired,
.athlete-card.coverage-muted {
  border-radius: 14px;
}
.license-renewal-list {
  gap: 12px;
}
.renewal-card {
  position: relative;
  min-height: 92px;
  padding: 15px 16px 15px 18px;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%) !important;
  box-shadow: 0 6px 14px rgba(16, 24, 40, .055), inset 0 1px 0 rgba(255, 255, 255, .9) !important;
}
.renewal-card[hidden] {
  display: none !important;
}
.renewal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 14px 0 0 14px;
  background: #c9a227;
  opacity: .9;
}
.renewal-card:hover {
  border-color: rgba(208, 0, 0, .18) !important;
  background: linear-gradient(135deg, #ffffff 0%, #fffafa 100%) !important;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .095) !important;
  transform: translateY(-1px);
}
.renewal-card:has(input:checked) {
  border-color: rgba(208, 0, 0, .28) !important;
  background: linear-gradient(135deg, #fff7f7 0%, #ffffff 100%) !important;
  box-shadow: 0 12px 24px rgba(208, 0, 0, .08), inset 0 0 0 1px rgba(208, 0, 0, .08) !important;
}
.renewal-card input {
  margin-top: 3px;
}
.renewal-card strong {
  color: #1f2937;
  font-size: 15.5px;
  line-height: 1.15;
}
.renewal-card small {
  color: #5f6f82;
  font-size: 12.5px;
  font-weight: 850;
  line-height: 1.35;
}
.renewal-card .state-pill,
.renewal-card em {
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .04);
}
.renewal-card.coverage-school {
  background: linear-gradient(135deg, #fff8e2 0%, #ffffff 100%) !important;
}
.renewal-card.coverage-school::before {
  background: #d4a019;
}
.renewal-card.coverage-school:hover {
  background: linear-gradient(135deg, #fff4cc 0%, #ffffff 100%) !important;
}
.affiliation-person-meta {
  display: block;
  margin-top: 5px;
  color: #667085;
  font-size: 12.5px;
  font-weight: 850;
  text-transform: uppercase;
}
.affiliation-request-name {
  color: #111827;
  font-size: 15.5px;
  font-weight: 900;
}
.attendance-dashboard {
  gap: 12px;
}
.attendance-dashboard > div {
  position: relative;
  overflow: hidden;
  min-height: 94px;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .06) !important;
}
.attendance-dashboard > div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--saas-red);
}
.attendance-dashboard span {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.attendance-dashboard strong {
  color: #111827;
  font-size: 28px;
  letter-spacing: 0;
}
.seguro-stats .stat-email strong {
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.attendance-turn-panel {
  border: 1px solid rgba(37, 99, 235, .18) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 70%) !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .055);
}
.attendance-turn-grid {
  gap: 12px !important;
}
.attendance-turn-card {
  position: relative;
  overflow: hidden;
  min-height: 122px !important;
  padding: 15px 16px !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%) !important;
  box-shadow: 0 7px 16px rgba(16, 24, 40, .055);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.attendance-turn-card:hover {
  transform: translateY(-1px);
  border-color: rgba(208, 0, 0, .22) !important;
  box-shadow: 0 14px 28px rgba(16, 24, 40, .09);
}
.attendance-turn-card span {
  color: #667085 !important;
  font-size: 11.5px !important;
}
.attendance-turn-card strong {
  color: #111827;
  font-size: 30px !important;
}
.attendance-turn-card small {
  color: #526273 !important;
  font-size: 12.5px;
  line-height: 1.35;
}
.attendance-turn-card.is-active {
  border-color: rgba(208, 0, 0, .32) !important;
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
  box-shadow: inset 6px 0 0 var(--saas-red), 0 14px 28px rgba(208, 0, 0, .075) !important;
}
.attendance-turn-note,
.attendance-scope {
  border: 1px solid rgba(212, 160, 25, .28) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #fff9e8 0%, #ffffff 100%) !important;
  color: #6b4f00 !important;
}
.attendance-mobile-form .kyu-submit-callout {
  border-radius: 18px;
  background: linear-gradient(135deg, #111827 0%, #1f2937 58%, #3b0b0b 100%);
  box-shadow: 0 16px 34px rgba(17, 24, 39, .16);
}
.attendance-mobile-form .kyu-submit-callout span,
.attendance-mobile-form .kyu-submit-callout strong,
.attendance-mobile-form .kyu-submit-callout p {
  color: #ffffff;
}
.attendance-mobile-form .kyu-submit-callout .attendance-scope {
  color: #6b4f00 !important;
}
.attendance-list {
  gap: 14px !important;
  margin-bottom: 18px !important;
}
.attendance-card {
  position: relative;
  min-height: 94px;
  padding: 16px !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .065);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.attendance-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  border-radius: 16px 0 0 16px;
  background: #d4a019;
}
.attendance-card:hover {
  transform: translateY(-1px);
  border-color: rgba(208, 0, 0, .18) !important;
  box-shadow: 0 14px 30px rgba(16, 24, 40, .09);
}
.attendance-person-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.attendance-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(208, 0, 0, .18);
  border-radius: 15px;
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 6px 14px rgba(16, 24, 40, .065);
}
.attendance-avatar::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid var(--saas-red);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translate(-1px, -3px);
}
.attendance-person-copy strong {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}
.attendance-person-copy small {
  margin-top: 6px !important;
  color: #5f6f82 !important;
  font-size: 13px;
  font-weight: 800;
}
.attendance-actions {
  gap: 10px !important;
}
.attendance-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 62px !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 16px rgba(16, 24, 40, .12);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.attendance-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 24, 40, .16);
  filter: saturate(1.04);
}
.attendance-yes {
  background: linear-gradient(135deg, #16834a 0%, #0f6f3d 100%) !important;
  border-color: #0f6f3d !important;
}
.attendance-no {
  background: linear-gradient(135deg, #d00000 0%, #a90000 100%) !important;
  border-color: #a90000 !important;
}
.attendance-reviewed-wrap {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.attendance-reviewed-table,
.admin-attendance-table,
.admin-attendance-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  background: transparent;
}
.attendance-reviewed-table th,
.admin-attendance-table th,
.admin-attendance-matrix th {
  padding: 11px 12px;
  background: #eef2f6;
  color: #344054;
  font-size: 12.5px;
  font-weight: 900;
}
.attendance-reviewed-table td,
.admin-attendance-table td,
.admin-attendance-matrix td {
  padding: 13px 12px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  background: #ffffff;
  color: #182233;
  font-weight: 760;
  vertical-align: middle;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .045);
}
.attendance-reviewed-table tbody tr td:first-child,
.admin-attendance-table tbody tr td:first-child,
.admin-attendance-matrix tbody tr td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px 0 0 14px;
}
.attendance-reviewed-table tbody tr td:last-child,
.admin-attendance-table tbody tr td:last-child,
.admin-attendance-matrix tbody tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-radius: 0 14px 14px 0;
}
.attendance-add-panel {
  border-radius: 16px !important;
}
.attendance-filter-panel {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .055);
}
.admin-attendance-turns {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%) !important;
}
.admin-attendance-form .attendance-toolbar {
  position: sticky;
  top: 74px;
  z-index: 5;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .075);
  backdrop-filter: blur(10px);
}
.event-attendance-wrap {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.admin-attendance-table {
  min-width: 1060px;
}
.admin-attendance-table tbody tr.attendance-present td {
  background: #eaf8f0 !important;
}
.admin-attendance-table tbody tr.attendance-absent td {
  background: #fff1f1 !important;
}
.admin-attendance-table tbody tr.attendance-present td:first-child {
  box-shadow: inset 6px 0 0 #16834a, 0 5px 14px rgba(16, 24, 40, .045);
}
.admin-attendance-table tbody tr.attendance-absent td:first-child {
  box-shadow: inset 6px 0 0 #d00000, 0 5px 14px rgba(16, 24, 40, .045);
}
.admin-attendance-table tbody tr:hover td,
.admin-attendance-matrix tbody tr:hover td,
.attendance-reviewed-table tbody tr:hover td {
  filter: saturate(1.03);
  box-shadow: 0 12px 24px rgba(16, 24, 40, .085);
}
.admin-attendance-table .attendance-check-cell {
  width: 64px;
  text-align: center;
}
.admin-attendance-table input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--saas-red);
}
.admin-attendance-table input:not([type]),
.admin-attendance-table input[type="text"] {
  min-height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .86);
}
.admin-attendance-table .attendance-club-cell {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-attendance-table .attendance-name-cell strong,
.admin-attendance-table .attendance-name-cell span {
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}
.afp-stats > .stat {
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .055) !important;
}
.afp-stats > .stat:nth-child(4n+1) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.afp-stats > .stat:nth-child(4n+2) {
  background: linear-gradient(135deg, #fff7e8 0%, #ffffff 100%) !important;
}
.afp-stats > .stat:nth-child(4n+3) {
  background: linear-gradient(135deg, #edf8f2 0%, #ffffff 100%) !important;
}
.afp-stats > .stat:nth-child(4n) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
.afp-panel,
.afp-selected-panel {
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(248, 251, 255, .96) 100%),
    #ffffff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .055);
}
.afp-table-wrap {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.afp-tone-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
}
.afp-tone-table th {
  padding: 12px 13px;
  background: #eef2f6;
  color: #344054;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .01em;
}
.afp-tone-table td {
  padding: 14px 13px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  color: #182233;
  font-size: 14.5px;
  font-weight: 760;
  vertical-align: middle;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .045);
}
.afp-tone-table tbody tr td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px 0 0 14px;
}
.afp-tone-table tbody tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-radius: 0 14px 14px 0;
}
.afp-tone-table tbody tr:nth-child(4n+1) td {
  background: #eef8ff !important;
}
.afp-tone-table tbody tr:nth-child(4n+2) td {
  background: #fff8e8 !important;
}
.afp-tone-table tbody tr:nth-child(4n+3) td {
  background: #edf8f2 !important;
}
.afp-tone-table tbody tr:nth-child(4n) td {
  background: #fff1f1 !important;
}
.afp-tone-table tbody tr:nth-child(4n+1) td:first-child {
  box-shadow: inset 6px 0 0 #2563eb, 0 5px 14px rgba(16, 24, 40, .045);
}
.afp-tone-table tbody tr:nth-child(4n+2) td:first-child {
  box-shadow: inset 6px 0 0 #d4a019, 0 5px 14px rgba(16, 24, 40, .045);
}
.afp-tone-table tbody tr:nth-child(4n+3) td:first-child {
  box-shadow: inset 6px 0 0 #16834a, 0 5px 14px rgba(16, 24, 40, .045);
}
.afp-tone-table tbody tr:nth-child(4n) td:first-child {
  box-shadow: inset 6px 0 0 #d00000, 0 5px 14px rgba(16, 24, 40, .045);
}
.afp-tone-table tbody tr:hover td {
  filter: saturate(1.04) brightness(.995);
  border-color: rgba(208, 0, 0, .18);
  box-shadow: 0 12px 24px rgba(16, 24, 40, .085);
}
.afp-tone-table a {
  color: var(--saas-red);
  font-weight: 900;
  text-decoration: none;
}
.afp-tone-table a:hover {
  color: var(--saas-red-dark);
  text-decoration: underline;
}
.afp-students-table,
.afp-course-detail-table {
  min-width: 900px;
}
.afp-history-details {
  display: block;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  box-shadow: 0 8px 20px rgba(16, 24, 40, .055);
  overflow: hidden;
}
.afp-history-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  color: #111827;
  cursor: pointer;
  list-style: none;
}
.afp-history-details summary::-webkit-details-marker {
  display: none;
}
.afp-history-details summary::before {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--saas-red);
  border-bottom: 3px solid var(--saas-red);
  transform: rotate(-45deg);
  transition: transform .16s ease;
}
.afp-history-details[open] summary::before {
  transform: rotate(45deg);
}
.afp-history-details summary span {
  display: grid;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}
.afp-history-details summary strong {
  font-size: 16px;
  font-weight: 950;
}
.afp-history-details summary small {
  color: #526273;
  font-size: 12.5px;
  font-weight: 760;
}
.afp-history-details summary em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #1d4f91;
  font-style: normal;
  font-weight: 950;
}
.afp-history-details[open] summary {
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255, 255, 255, .72);
}
.afp-history-details .afp-table-wrap {
  padding: 0 12px 12px;
}
.afp-course-cell span {
  display: block;
  margin: 3px 0;
  color: #526273;
  font-size: 12.5px;
  font-weight: 800;
}
.payments-dashboard > .stat {
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .055) !important;
}
.payments-dashboard > .stat:nth-child(1) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
.payments-dashboard > .stat:nth-child(2) {
  background: linear-gradient(135deg, #eaf8f0 0%, #ffffff 100%) !important;
}
.payments-dashboard > .stat:nth-child(3) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.payments-dashboard > .stat strong {
  color: #111827;
  font-size: 28px;
  font-weight: 950;
}
.payment-transfer-panel,
.finance-flow.payment-transfer-panel {
  border: 1px solid rgba(148, 163, 184, .22) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .98) 100%),
    #ffffff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .055);
}
.payment-detail-head.is-paid {
  border-left: 6px solid #16834a !important;
}
.payment-detail-head.is-pending {
  border-left: 6px solid var(--saas-red) !important;
}
.payment-table-wrap {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
}
.payment-table th {
  padding: 12px 13px;
  background: #eef2f6;
  color: #344054;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.payment-table td {
  padding: 14px 13px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  color: #182233;
  font-size: 15px;
  font-weight: 780;
  vertical-align: middle;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .045);
}
.payment-table tbody tr td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px 0 0 14px;
}
.payment-table tbody tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-radius: 0 14px 14px 0;
}
.payment-table tbody tr.payment-paid-row td,
.finance-table.payment-table tbody tr.finance-paid td {
  background: #eaf8f0 !important;
}
.payment-table tbody tr.payment-pending-row td,
.finance-table.payment-table tbody tr.finance-pending td {
  background: #fff1f1 !important;
}
.finance-table.payment-table tbody tr.finance-draft td {
  background: #fff7df !important;
}
.payment-table tbody tr.payment-paid-row td:first-child,
.finance-table.payment-table tbody tr.finance-paid td:first-child {
  box-shadow: inset 6px 0 0 #16834a, 0 5px 14px rgba(16, 24, 40, .045);
}
.payment-table tbody tr.payment-pending-row td:first-child,
.finance-table.payment-table tbody tr.finance-pending td:first-child {
  box-shadow: inset 6px 0 0 var(--saas-red), 0 5px 14px rgba(16, 24, 40, .045);
}
.finance-table.payment-table tbody tr.finance-draft td:first-child {
  box-shadow: inset 6px 0 0 #d4a019, 0 5px 14px rgba(16, 24, 40, .045);
}
.payment-table tbody tr:hover td,
.finance-table.payment-table tbody tr:hover td {
  filter: saturate(1.04) brightness(.997);
  border-color: rgba(208, 0, 0, .18);
  box-shadow: 0 12px 24px rgba(16, 24, 40, .085);
}
.payment-table a {
  color: var(--saas-red);
  font-weight: 900;
  text-decoration: none;
}
.payment-table a:hover {
  color: var(--saas-red-dark);
  text-decoration: underline;
}
.payment-state-pill,
.finance-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 950;
  letter-spacing: .01em;
}
.payment-state-pill.is-paid,
.finance-status.paid {
  border: 1px solid rgba(22, 131, 74, .18);
  background: #dff5e8;
  color: #11613a;
}
.payment-state-pill.is-pending,
.finance-status.pending {
  border: 1px solid rgba(208, 0, 0, .16);
  background: #ffe1de;
  color: #9f1d18;
}
.finance-status.draft {
  border: 1px solid rgba(212, 160, 25, .2);
  background: #fff0c2;
  color: #84620c;
}
.payment-money {
  color: #111827 !important;
  font-size: 15.5px;
  font-weight: 950;
  white-space: nowrap;
}
.payment-admin-table {
  min-width: 920px;
}
.payment-admin-table th,
.payment-admin-table td {
  padding: 8px 9px;
}
.payment-admin-table .col-state {
  width: 64px;
  min-width: 64px;
}
.payment-admin-table .col-actions {
  width: 270px;
  min-width: 270px;
}
.payment-admin-table .col-number {
  width: 88px;
  min-width: 88px;
}
.payment-admin-table .col-pdf,
.payment-admin-table .col-lines {
  width: 54px;
  min-width: 54px;
  text-align: center;
}
.payment-admin-table .col-date {
  width: 94px;
  min-width: 94px;
}
.payment-admin-table .col-total {
  width: 92px;
  min-width: 92px;
}
.payment-admin-table .col-type {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  text-align: center;
}
.payment-admin-table .col-club {
  min-width: 190px;
  max-width: 280px;
}
.payment-admin-table .col-invoice {
  min-width: 90px;
}
.payment-admin-table .finance-status {
  min-height: 22px;
  min-width: 48px;
  padding: 3px 6px;
  font-size: 10px;
}
.payment-admin-table .finance-actions {
  min-width: 0;
  gap: 4px;
  flex-wrap: wrap;
}
.payment-admin-table .finance-actions .mini-action {
  min-height: 26px;
  padding: 4px 7px;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}
.payment-admin-table .finance-number-short {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.payment-admin-table .finance-type-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eef2f6;
  color: #243447;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
}
.payment-line-table {
  min-width: 760px;
}
.colegiacion-workflow-actions {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.colegiacion-workflow-actions a {
  min-height: 82px;
  border-color: rgba(148, 163, 184, .2) !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .05) !important;
}
.colegiacion-workflow-actions a:nth-child(5n+1) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.colegiacion-workflow-actions a:nth-child(5n+2) {
  background: linear-gradient(135deg, #edf8f2 0%, #ffffff 100%) !important;
}
.colegiacion-workflow-actions a:nth-child(5n+3) {
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 100%) !important;
}
.colegiacion-workflow-actions a:nth-child(5n+4) {
  background: linear-gradient(135deg, #f3efff 0%, #ffffff 100%) !important;
}
.colegiacion-workflow-actions a:nth-child(5n) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
.colegiacion-workflow-actions a strong {
  font-size: 15.5px;
  font-weight: 950;
}
.colegiacion-workflow-actions a span {
  color: #526273;
  font-weight: 760;
}
.colegiacion-workflow-actions a:hover {
  border-color: rgba(208, 0, 0, .2) !important;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .085) !important;
  transform: translateY(-1px);
}
.colegiacion-workflow-actions a.active {
  border-color: rgba(208, 0, 0, .28) !important;
  background: #fff1f1 !important;
  box-shadow: inset 5px 0 0 var(--saas-red), 0 12px 24px rgba(16, 24, 40, .11) !important;
}
.colegiacion-mode-hints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}
.colegiacion-mode-hints span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px;
  background: #fff8e8;
}
.colegiacion-mode-hints span + span {
  background: #eef8ff;
}
.colegiacion-mode-hints strong {
  color: #111827;
  font-size: 13.5px;
  font-weight: 950;
}
.colegiacion-mode-hints small {
  color: #526273;
  font-weight: 760;
  line-height: 1.3;
}
.club-profile-head {
  background:
    linear-gradient(135deg, rgba(255, 241, 241, .92) 0%, rgba(255, 255, 255, .98) 42%),
    #ffffff !important;
}
.club-profile-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, .2) !important;
  background:
    linear-gradient(135deg, rgba(238, 248, 255, .86) 0%, rgba(255, 255, 255, .98) 48%),
    #ffffff !important;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .065) !important;
}
.club-profile-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--saas-red), #2563eb, #16834a, #d4a019);
}
.club-profile-form .help-box,
.club-credentials-panel .help-box {
  border: 1px solid rgba(37, 99, 235, .16);
  border-radius: 14px;
  background: #eef8ff;
}
.club-profile-form .form-row {
  align-items: stretch;
  gap: 12px;
}
.club-profile-form .form-row label,
.club-profile-form > label {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 15px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 16px rgba(16, 24, 40, .04);
}
.club-profile-form .form-row:nth-of-type(2) label,
.club-profile-form > label {
  background: #f7fbff;
}
.club-profile-form .form-row:nth-of-type(3) label {
  background: #fff8e8;
}
.club-profile-form .form-row:nth-of-type(4) label {
  background: #edf8f2;
}
.club-profile-form label {
  color: #344054;
  font-weight: 900;
}
.club-profile-form input,
.club-profile-form textarea,
.club-credentials-panel input {
  border-color: rgba(148, 163, 184, .24);
  background: rgba(255, 255, 255, .92);
  color: #111827;
  font-weight: 760;
}
.club-profile-form.is-readonly input:not([type="password"]),
.club-profile-form.is-readonly textarea {
  border-color: rgba(148, 163, 184, .14);
  background: rgba(255, 255, 255, .72);
}
.club-credentials-panel {
  border: 1px solid rgba(148, 163, 184, .2) !important;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, .9) 0%, rgba(255, 255, 255, .98) 48%),
    #ffffff !important;
  box-shadow: 0 12px 28px rgba(16, 24, 40, .06) !important;
}
.report-builder {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(248, 251, 255, .98) 100%),
    #ffffff !important;
}
.report-builder .section-title [data-report-count],
.report-preview .section-title [data-report-selection-count] {
  box-shadow: 0 6px 16px rgba(37, 99, 235, .08);
}
.report-options {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%) !important;
}
.report-scope,
.report-format-actions {
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
}
.report-scope {
  background: #eef8ff;
}
.report-format-actions {
  background: #fff7e8;
}
.report-presets {
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 100%) !important;
}
.report-preset-grid button:nth-child(5n+1) {
  border-color: rgba(37, 99, 235, .18) !important;
  background: #eef8ff !important;
  color: #184c91 !important;
}
.report-preset-grid button:nth-child(5n+2) {
  border-color: rgba(22, 131, 74, .18) !important;
  background: #edf8f2 !important;
  color: #11613a !important;
}
.report-preset-grid button:nth-child(5n+3) {
  border-color: rgba(208, 0, 0, .14) !important;
  background: #fff1f1 !important;
  color: #9f1d18 !important;
}
.report-preset-grid button:nth-child(5n+4) {
  border-color: rgba(119, 92, 190, .18) !important;
  background: #f3efff !important;
  color: #5b42a0 !important;
}
.report-preset-grid button:nth-child(5n) {
  border-color: rgba(212, 160, 25, .2) !important;
  background: #fff7df !important;
  color: #84620c !important;
}
.report-field-group {
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .045) !important;
}
.report-field-group::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #2563eb;
}
.report-field-group legend {
  padding-top: 5px;
}
.report-field-group:nth-child(6n+1) {
  background: linear-gradient(180deg, #eef8ff 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n+1)::before {
  background: #2563eb;
}
.report-field-group:nth-child(6n+2) {
  background: linear-gradient(180deg, #edf8f2 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n+2)::before {
  background: #16834a;
}
.report-field-group:nth-child(6n+3) {
  background: linear-gradient(180deg, #fff8e8 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n+3)::before {
  background: #d4a019;
}
.report-field-group:nth-child(6n+4) {
  background: linear-gradient(180deg, #fff1f1 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n+4)::before {
  background: var(--saas-red);
}
.report-field-group:nth-child(6n+5) {
  background: linear-gradient(180deg, #f3efff 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n+5)::before {
  background: #7c3aed;
}
.report-field-group:nth-child(6n) {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 56%) !important;
}
.report-field-group:nth-child(6n)::before {
  background: #0f766e;
}
.report-choice {
  background: rgba(255, 255, 255, .82);
}
.report-choice:has(input:checked) {
  border-color: rgba(208, 0, 0, .22);
  background: #fff1f1;
}
.report-choice strong {
  font-weight: 900;
}
.report-preview {
  background:
    linear-gradient(135deg, rgba(238, 248, 255, .72) 0%, rgba(255, 255, 255, .98) 42%),
    #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .055);
}
.report-preview-tools label:nth-child(4n+1) {
  padding: 10px;
  border-radius: 14px;
  background: #eef8ff;
}
.report-preview-tools label:nth-child(4n+2) {
  padding: 10px;
  border-radius: 14px;
  background: #edf8f2;
}
.report-preview-tools label:nth-child(4n+3) {
  padding: 10px;
  border-radius: 14px;
  background: #fff8e8;
}
.report-preview-tools label:nth-child(4n) {
  padding: 10px;
  border-radius: 14px;
  background: #f3efff;
}
.report-selection-bar {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  box-shadow: 0 6px 16px rgba(16, 24, 40, .04);
}
.report-preview-table {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.report-preview-table table,
.report-result-table {
  border-collapse: separate;
  border-spacing: 0 7px;
  background: transparent;
}
.report-preview-table th,
.report-result-table th {
  background: #eef2f6 !important;
  color: #344054 !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.report-preview-table td,
.report-result-table td {
  border-top: 1px solid rgba(148, 163, 184, .16);
  border-bottom: 1px solid rgba(148, 163, 184, .16);
  color: #182233;
  font-size: 13px;
  font-weight: 760;
  vertical-align: middle;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .04);
}
.report-preview-table tbody tr td:first-child,
.report-result-table tbody tr td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .16);
  border-radius: 13px 0 0 13px;
}
.report-preview-table tbody tr td:last-child,
.report-result-table tbody tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .16);
  border-radius: 0 13px 13px 0;
}
.report-preview-table tbody tr[data-state="activa"] td {
  background: #edf8f2 !important;
}
.report-preview-table tbody tr[data-state="tramite"] td {
  background: #fff8e8 !important;
}
.report-preview-table tbody tr[data-state="sin_licencia"] td {
  background: #fff1f1 !important;
}
.report-preview-table tbody tr:nth-child(4n+1):not([data-state]) td,
.report-result-table tbody tr:nth-child(4n+1) td {
  background: #f7fbff !important;
}
.report-preview-table tbody tr:nth-child(4n+2):not([data-state]) td,
.report-result-table tbody tr:nth-child(4n+2) td {
  background: #fffdf5 !important;
}
.report-preview-table tbody tr:nth-child(4n+3):not([data-state]) td,
.report-result-table tbody tr:nth-child(4n+3) td {
  background: #f7fff9 !important;
}
.report-preview-table tbody tr:nth-child(4n):not([data-state]) td,
.report-result-table tbody tr:nth-child(4n) td {
  background: #fff8fb !important;
}
.report-preview-table tbody tr[data-state="activa"] td:first-child {
  box-shadow: inset 5px 0 0 #16834a, 0 5px 14px rgba(16, 24, 40, .04);
}
.report-preview-table tbody tr[data-state="tramite"] td:first-child {
  box-shadow: inset 5px 0 0 #d4a019, 0 5px 14px rgba(16, 24, 40, .04);
}
.report-preview-table tbody tr[data-state="sin_licencia"] td:first-child {
  box-shadow: inset 5px 0 0 var(--saas-red), 0 5px 14px rgba(16, 24, 40, .04);
}
.report-preview-table tbody tr:has(input[type="checkbox"]:not(:checked)) td {
  opacity: .72;
  background: #f2f4f7 !important;
}
.report-preview-table tbody tr:hover td,
.report-result-table tbody tr:hover td {
  filter: saturate(1.04) brightness(.997);
  border-color: rgba(208, 0, 0, .16);
  box-shadow: 0 11px 22px rgba(16, 24, 40, .08);
}
.report-admin-head {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(226, 229, 233, .96) !important;
  border-left: 6px solid #2563eb !important;
  border-radius: 16px !important;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 58%, rgba(238, 246, 255, .9) 100%),
    radial-gradient(circle at right 18% top 22%, rgba(37, 99, 235, .14), transparent 30%),
    #ffffff !important;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
}
.report-admin-filters,
.report-admin-panel {
  background:
    linear-gradient(135deg, rgba(247, 251, 255, .92) 0%, rgba(255, 255, 255, .98) 46%),
    #ffffff !important;
}
.report-admin-stats .stat:nth-child(4n+1) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.report-admin-stats .stat:nth-child(4n+2) {
  background: linear-gradient(135deg, #edf8f2 0%, #ffffff 100%) !important;
}
.report-admin-stats .stat:nth-child(4n+3) {
  background: linear-gradient(135deg, #fff8e8 0%, #ffffff 100%) !important;
}
.report-admin-stats .stat:nth-child(4n) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
@media (max-width: 1040px) {
.report-field-groups {
    grid-template-columns: 1fr 1fr;
  }
.report-preview-tools {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
.report-options,
  .report-presets,
  .report-field-groups,
  .report-preview-tools {
    grid-template-columns: 1fr;
  }
.report-format-actions .command-bar,
  .report-preset-grid {
    justify-content: stretch;
  }
.report-format-actions .command-bar button,
  .report-preset-grid button {
    flex: 1 1 140px;
  }
.report-switch {
    width: 100%;
  }
.report-selection-bar {
    align-items: stretch;
    flex-direction: column;
  }
.report-selection-actions {
    justify-content: stretch;
  }
.report-selection-actions button {
    flex: 1 1 130px;
  }
}
/* Federacion: landing operativa con iconos propios. */
.ops-home {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.ops-federation-hero {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(540px, 1.28fr);
  gap: 16px;
  margin-top: 2px;
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
  align-items: stretch;
}
.ops-federation-hero .ops-hero-main,
.ops-federation-hero .ops-quick-panel,
.ops-panel,
.ops-shortcuts,
.landing-bottom > div {
  border: 1px solid rgba(226, 229, 233, .96);
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--saas-shadow);
}
.ops-federation-hero .ops-hero-main {
  position: relative;
  min-height: 176px;
  overflow: hidden;
  padding: 28px 32px;
  grid-template-columns: 1fr;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(208, 0, 0, .06) 0 4px, transparent 4px),
    linear-gradient(135deg, #ffffff 0%, #fbfcfd 54%, #fff4f4 100%);
}
.ops-federation-hero .ops-hero-main::after {
  content: "FCJYDA";
  position: absolute;
  right: 24px;
  bottom: -18px;
  color: rgba(208, 0, 0, .045);
  font-size: clamp(58px, 7vw, 112px);
  font-weight: 950;
  letter-spacing: .02em;
  line-height: .8;
  pointer-events: none;
}
.ops-federation-hero .ops-hero-main > img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .10);
}
.ops-federation-hero .ops-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.ops-federation-hero .ops-hero-main span {
  color: var(--saas-red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ops-federation-hero .ops-hero-main h1 {
  margin: 4px 0 0;
  color: #111827;
  font-size: clamp(38px, 3.9vw, 54px);
  font-weight: 950;
  line-height: 1.04;
}
.ops-federation-hero .ops-hero-main p {
  max-width: 620px;
  margin-top: 9px;
  color: #667085;
  font-size: 15.5px;
  line-height: 1.5;
}
.ops-quick-panel {
  padding: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%) !important;
}
.ops-quick-panel .section-title {
  margin-bottom: 12px;
}
.ops-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.ops-quick-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  min-height: 68px;
  padding: 10px 12px 10px 10px;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%);
  color: #1f2937;
  font-weight: 850;
  line-height: 1.12;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.ops-quick-grid a::after {
  content: "";
  position: absolute;
  inset: auto 11px 10px auto;
  width: 6px;
  height: 6px;
  border-top: 2px solid #98a2b3;
  border-right: 2px solid #98a2b3;
  transform: rotate(45deg);
}
.ops-quick-grid a:hover {
  border-color: rgba(208, 0, 0, .24);
  box-shadow: 0 10px 20px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}
.ops-quick-grid img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.ops-status {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.ops-status .landing-status-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 13px;
  min-height: 100px;
  padding: 16px 18px;
  border-top: 0 !important;
  text-decoration: none;
}
.ops-status .landing-status-item::before {
  display: none;
}
.ops-status .landing-status-item img {
  grid-row: 1 / 4;
  width: 58px;
  height: 58px;
  align-self: center;
  object-fit: contain;
}
.ops-status .landing-status-item span {
  min-height: 0;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0;
}
.ops-status .landing-status-item strong {
  margin: 3px 0 0;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}
.ops-status .landing-status-item small {
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}
.ops-status .status-eventos {
  background: linear-gradient(135deg, #eef7ff 0%, #ffffff 68%) !important;
}
.ops-status .status-tramites {
  background: linear-gradient(135deg, #fff6df 0%, #ffffff 68%) !important;
}
.ops-status .status-kyus {
  background: linear-gradient(135deg, #f3ecff 0%, #ffffff 68%) !important;
}
.ops-status .status-liquidaciones {
  background: linear-gradient(135deg, #eaf8ef 0%, #ffffff 68%) !important;
}
.ops-status .status-seguro {
  background: linear-gradient(135deg, #fff0f0 0%, #ffffff 68%) !important;
}
.ops-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 14px;
}
.ops-panel {
  padding: 18px 20px;
}
.ops-panel .section-title,
.ops-shortcuts .section-title,
.landing-bottom .section-title {
  margin-bottom: 13px;
}
.task-list,
.alert-list {
  gap: 8px;
}
.task-list > a {
  grid-template-columns: minmax(220px, 1fr) minmax(180px, .85fr) auto;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-color: #ebeff4;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
}
.task-list > a strong {
  color: #111827;
  font-size: 12.5px;
  text-transform: uppercase;
}
.task-list > a span {
  color: #475467;
  font-weight: 700;
}
.task-list > a em {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff1cc;
  color: #b45309;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.ops-today-lines > a {
  grid-template-columns: minmax(180px, .62fr) minmax(0, 1fr) auto;
  border-left: 4px solid #cbd5e1;
}
.ops-today-lines > a.priority-alta,
.ops-today-lines > a.priority-urgente {
  border-left-color: var(--saas-red);
}
.ops-today-lines > a.priority-media {
  border-left-color: #eab308;
}
.ops-today-lines > a.priority-baja {
  border-left-color: var(--saas-blue);
}
.ops-today-lines > a strong,
.ops-today-lines > a span {
  min-width: 0;
}
.profile-calendar-grid,
.profile-circular-grid {
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.profile-calendar-summary {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.profile-calendar-summary span {
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.profile-calendar-summary strong {
  color: var(--saas-ink);
  font-size: 19px;
  line-height: 1.15;
}
.profile-calendar-summary p {
  margin: 0;
  color: var(--saas-muted);
  font-size: 13px;
  line-height: 1.45;
}
.profile-calendar-list,
.profile-circular-list {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.profile-calendar-row,
.profile-circular-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid #ebeff4;
  border-left: 5px solid var(--calendar-color, #d00000);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  color: inherit;
  text-decoration: none;
}
.profile-circular-row {
  border-left-color: var(--saas-blue);
}
.profile-calendar-row > span,
.profile-circular-row > span {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
}
.profile-calendar-row div,
.profile-circular-row div {
  min-width: 0;
}
.profile-calendar-row strong,
.profile-circular-row strong {
  display: block;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-calendar-row small,
.profile-circular-row small {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-list .empty-state {
  min-height: 112px;
  border: 1px dashed #cfd6df;
  border-radius: 10px;
  background: #ffffff;
}
.alert-row {
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 44px;
  background: #fff8f8;
}
.alert-row strong {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffe1e1;
  color: var(--saas-red-dark);
}
.ops-shortcuts {
  padding: 18px 20px;
}
.ops-shortcuts .landing-modules {
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 12px;
}
.ops-shortcuts .module-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-height: 72px;
  padding: 10px 12px;
  align-items: center;
}
.ops-shortcuts .module-icon {
  grid-row: 1 / 3;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: transparent;
}
.ops-shortcuts .module-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.ops-shortcuts .module-title {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}
.ops-shortcuts .module-meta {
  color: #667085;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}
.landing-bottom {
  gap: 14px;
}
.landing-bottom > div {
  padding: 16px 18px;
}
.landing-bottom .table-wrap {
  box-shadow: none;
}
.landing-bottom table th {
  background: #f0f2f5;
  color: #182230;
}
@media (max-width: 1240px) {
.ops-federation-hero {
    grid-template-columns: minmax(330px, .9fr) minmax(440px, 1.1fr);
  }
.ops-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ops-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.ops-shortcuts .landing-modules {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}
@media (max-width: 980px) {
.ops-federation-hero,
  .ops-grid,
  .landing-bottom,
  .profile-calendar-grid,
  .profile-circular-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
.main {
    overflow-x: hidden;
  }
.ops-federation-hero .ops-hero-main {
    grid-template-columns: 1fr;
    padding: 18px;
    min-width: 0;
    width: 100%;
  }
.ops-federation-hero .ops-hero-main > img {
    width: 70px;
    height: 70px;
  }
.ops-federation-hero .ops-hero-main h1 {
    font-size: 30px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
.ops-federation-hero .ops-hero-main span,
  .ops-federation-hero .ops-hero-main p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
.ops-federation-hero .ops-hero-main::after {
    right: -26px;
    top: auto;
    bottom: -8px;
    opacity: .035;
  }
.ops-quick-grid,
  .ops-status,
  .ops-shortcuts .landing-modules {
    grid-template-columns: 1fr;
  }
.club-module-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
.club-icon-card,
  .club-card-visual {
    min-height: 96px;
    padding: 12px;
  }
.club-module-icon {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }
.club-module-icon img {
    width: 66px;
    height: 66px;
  }
.task-list > a {
    grid-template-columns: 1fr;
  }
.profile-calendar-row,
  .profile-circular-row {
    grid-template-columns: 1fr;
  }
.profile-calendar-row strong,
  .profile-circular-row strong,
  .profile-calendar-row small,
  .profile-circular-row small {
    white-space: normal;
  }
}
/* Federation IA refresh: navigation, reports hub and denser work screens. */
/* Portal clubes landing: responsive operational home. */
/* Portal clubes: make the landing counters read as one deliberate block. */
.reports-hub-head {
  min-height: 156px;
  align-items: end;
  border: 1px solid rgba(226, 229, 233, .96) !important;
  border-radius: 16px !important;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 54%, rgba(255, 240, 240, .86) 100%),
    radial-gradient(circle at right 18% top 22%, rgba(208, 0, 0, .16), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%) !important;
}
.reports-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}
.reports-hub-card {
  --report-bg: #f8fafc;
  --report-border: rgba(148, 163, 184, .24);
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid var(--report-border);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--report-bg) 0%, #ffffff 74%);
  color: #172033;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.reports-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(208, 0, 0, .22);
  box-shadow: 0 18px 34px rgba(16, 24, 40, .11);
}
.reports-hub-card > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}
.reports-hub-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.reports-hub-card strong {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
}
.reports-hub-card small {
  color: #667085;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.35;
}
.form-alert {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(208, 0, 0, .22);
  border-radius: 12px;
  background: #fff5f5;
  color: #8a1f1f;
  font-weight: 750;
}
.form-alert strong {
  color: #7a1515;
  font-weight: 950;
}
.form-alert.success {
  border-color: rgba(20, 122, 69, .22);
  background: #ecfdf3;
  color: #11613a;
}
.form-alert.success strong {
  color: #0f5c37;
}
.field-feedback {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 750;
}
.field-feedback.is-ok {
  color: #147a45;
}
.field-feedback.is-error {
  color: #b42318;
}
.report-card-athletes { --report-bg: #ecfbf3; --report-border: rgba(35, 165, 102, .2); }
.report-card-clubs { --report-bg: #eef7ff; --report-border: rgba(47, 128, 216, .2); }
.report-card-grades { --report-bg: #fff0f6; --report-border: rgba(219, 39, 119, .18); }
.report-card-events { --report-bg: #eaffff; --report-border: rgba(20, 184, 184, .18); }
.report-card-finance { --report-bg: #eafaf2; --report-border: rgba(16, 166, 106, .18); }
.reports-clean-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  min-height: auto;
  padding: 18px 20px;
  border: 1px solid rgba(203, 213, 225, .96) !important;
  border-left: 5px solid #d21f32 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, .07);
}
.reports-clean-head h1 {
  margin-bottom: 5px;
}
.reports-clean-head p {
  max-width: 760px;
}
.reports-clean-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 8px;
  min-width: 360px;
}
.reports-clean-summary div {
  display: grid;
  gap: 2px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  background: #f8fafc;
}
.reports-clean-summary strong {
  color: #0f4f86;
  font-size: 24px;
  line-height: 1;
}
.reports-clean-summary span {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.reports-clean-filters {
  margin-bottom: 12px;
}
.reports-clean-filters .search {
  align-items: end;
}
.reports-clean-filters input[type="search"] {
  min-width: min(100%, 320px);
}
.reports-clean-catalog {
  display: grid;
  gap: 12px;
}
.reports-clean-group {
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
}
.reports-clean-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e8eef5;
  background: #f8fafc;
}
.reports-clean-group h2 {
  margin: 0;
  color: #123d6b;
  font-size: 16px;
}
.reports-clean-group header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.reports-clean-list {
  display: grid;
}
.report-clean-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-top: 1px solid #eef2f7;
}
.report-clean-row:first-child {
  border-top: 0;
}
.report-clean-row:hover {
  background: #fbfdff;
}
.report-clean-main {
  min-width: 0;
}
.report-clean-titleline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}
.report-clean-titleline strong {
  color: #172033;
  font-size: 15px;
  line-height: 1.2;
}
.report-clean-titleline span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #dbe6f2;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
}
.report-clean-row p {
  margin: 0;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.35;
}
.report-clean-filters-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.report-clean-filters-list span,
.report-clean-formats span {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 850;
}
.report-clean-filters-list span {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
}
.report-clean-side {
  display: grid;
  gap: 9px;
  justify-items: end;
}
.report-clean-formats {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}
.report-clean-formats span {
  border: 1px solid #bfdcf7;
  background: #eef6ff;
  color: #0f4f86;
}
.report-clean-actions {
  justify-content: flex-end;
}
.report-clean-actions .button {
  min-height: 34px;
  padding: 7px 10px;
}
.reports-clean-empty {
  margin-top: 0;
}
.deportistas-head {
  align-items: flex-start;
}
.deportistas-head .toolbar-stack {
  width: min(100%, 980px);
  justify-items: stretch;
}
.deportistas-search {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(226, 229, 233, .96);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}
.deportistas-search input[name="q"] {
  flex: 1 1 260px;
}
.admin-status-segment {
  flex: 1 1 430px;
  padding: 4px;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.admin-status-segment a {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}
.admin-column-panel {
  position: relative;
  flex: 0 0 auto;
  max-width: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.admin-column-panel summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 4px 14px 4px 10px;
  border: 1px solid var(--saas-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--saas-ink);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.admin-column-panel summary .column-pointer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: var(--saas-red-soft);
  color: var(--saas-red);
  box-shadow: inset 0 0 0 1px rgba(230, 0, 0, .16);
}
.admin-column-panel summary .column-pointer-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.admin-column-panel summary .column-picker-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}
.admin-column-panel summary .column-picker-copy strong {
  font-size: 12px;
  font-weight: 950;
}
.admin-column-panel summary .column-picker-copy small {
  color: var(--saas-muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.admin-column-panel summary::-webkit-details-marker {
  display: none;
}
.admin-column-panel summary::after {
  content: "+";
  margin-left: 9px;
  color: var(--saas-red);
  font-weight: 950;
}
.admin-column-panel[open] summary {
  border-color: #ffc7c7;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
}
.admin-column-panel[open] summary .column-picker-copy small {
  color: var(--saas-red-dark);
}
.admin-column-panel[open] summary::after {
  content: "-";
}
.admin-column-options {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  min-width: 300px;
  padding: 10px;
  border: 1px solid var(--saas-line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, .16);
}
.admin-athlete-stats article {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 9px 22px rgba(16, 24, 40, .06) !important;
}
.deportistas-wrap .deportistas-table td {
  font-size: 13px;
}
.deportistas-wrap .deportistas-table .col-surname1 a,
.deportistas-wrap .deportistas-table .col-surname2 a,
.deportistas-wrap .deportistas-table .col-name a {
  color: #111827;
  font-weight: 850;
  text-decoration: none;
}
.deportistas-wrap .deportistas-table .col-surname1 a:hover,
.deportistas-wrap .deportistas-table .col-surname2 a:hover,
.deportistas-wrap .deportistas-table .col-name a:hover {
  color: var(--saas-red-dark);
}
.event-master,
.event-detail {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.event-master table,
.event-detail table {
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
}
.event-master tbody td,
.event-detail tbody td {
  background: #ffffff;
  border-top: 1px solid rgba(226, 229, 233, .96);
  border-bottom: 1px solid rgba(226, 229, 233, .96);
}
.event-master tbody td:first-child,
.event-detail tbody td:first-child {
  border-left: 1px solid rgba(226, 229, 233, .96);
  border-radius: 12px 0 0 12px;
  box-shadow: inset 5px 0 0 rgba(20, 184, 184, .45);
}
.event-master tbody td:last-child,
.event-detail tbody td:last-child {
  border-right: 1px solid rgba(226, 229, 233, .96);
  border-radius: 0 12px 12px 0;
}
.event-master tbody tr:hover td,
.event-detail tbody tr:hover td {
  border-color: rgba(208, 0, 0, .18);
  background: #fffdfd;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}
.event-master td a[href*="evento_detalle"] {
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}
.event-view-strip a {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .055);
}
.event-view-strip a.active {
  border-color: #ffc7c7 !important;
  background: var(--saas-red-soft) !important;
  color: var(--saas-red-dark);
}
.event-control-note {
  margin: -2px 0 14px;
}
.kyu-status-grid .landing-status-item,
.finance-stats .stat-link {
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .055) !important;
}
/* Contadores de economico mas compactos: menos protagonismo y la tabla sube. */
.finance-stats {
  gap: 8px;
  margin-bottom: 12px;
}
.finance-stats .stat {
  padding: 8px 12px;
}
.finance-stats .stat span {
  font-size: 10px;
}
.finance-stats .stat strong {
  font-size: 18px;
  margin-top: 2px;
}
.finance-stats .stat small {
  font-size: 10.5px;
}
/* Etiqueta compacta de tipo de documento (Facturas) para no ensanchar la tabla. */
.doc-type {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.doc-type.is-oficial {
  background: #e7f6ec;
  color: #1b7f4b;
  border: 1px solid #bfe6cd;
}
.doc-type.is-proforma {
  background: #fff4e2;
  color: #9a6b15;
  border: 1px solid #f1d9ad;
}
/* Detalle de evento: que la pagina baje del tiron, sin scroll vertical propio en
   cada tabla (se conserva el scroll horizontal para tablas anchas). */
.evento-detalle-page .table-wrap {
  max-height: none;
}
/* Estado operativo como tira fina (antes ocupaba un panel entero). */
.event-status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin: 0 0 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  background: var(--panel);
  font-size: 13px;
}
.event-status-strip.is-warn {
  border-left-color: var(--red);
}
.event-status-strip strong {
  font-weight: 850;
}
.event-status-strip .event-status-next {
  color: var(--muted);
}
/* Avisos compactos. */
.event-avisos {
  margin: 0 0 10px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  background: #fffaf2;
  font-size: 13px;
}
.event-avisos-head {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-avisos ul {
  margin: 3px 0 0;
  padding-left: 18px;
}
.event-avisos li {
  margin: 2px 0;
}
.kyu-status-grid .landing-status-item {
  display: flex;
  min-width: 0;
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
}
.kyu-status-grid .landing-status-item span {
  min-height: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.kyu-status-grid .landing-status-item strong {
  margin: 0;
  flex: none;
}
.kyu-filter-panel .search,
.finance-toolbar .finance-search {
  padding: 12px;
  border: 1px solid rgba(226, 229, 233, .96);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
}
.kyu-print-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1px solid rgba(226, 229, 233, .96);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
}
.kyu-print-callout > div {
  min-width: 240px;
  flex: 1 1 360px;
}
.kyu-print-callout strong {
  display: block;
  color: var(--saas-ink);
  font-size: 16px;
  font-weight: 900;
}
.kyu-print-callout p {
  margin: 5px 0 0;
  color: var(--saas-muted);
  font-weight: 650;
}
.kyu-print-callout form {
  display: flex;
  justify-content: flex-end;
  min-width: 220px;
}
.kyu-actions {
  align-items: stretch;
  gap: 10px;
}
.kyu-actions button,
.kyu-actions .button {
  gap: 8px;
  min-height: 42px;
  padding-inline: 12px;
}
.kyu-actions .kyu-print-button {
  flex: 1 1 260px;
  max-width: 340px;
  text-align: center;
  white-space: normal;
}
.kyu-file-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}
.kyu-print-button .kyu-file-tag {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .16);
  color: #ffffff;
}
.kyu-actions .button.secondary .kyu-file-tag {
  border-color: #ffd1d1;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
}
.kyu-table-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: -2px 0 12px;
  color: var(--saas-muted);
  font-size: 12px;
  font-weight: 700;
}
.kyu-table-legend span,
.kyu-dot-cell {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.kyu-dot-cell {
  justify-content: center;
  min-width: 32px;
}
.kyu-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .18);
}
.kyu-dot-ok {
  background: #16a34a;
}
.kyu-dot-pending {
  background: #f59e0b;
}
.kyu-dot-muted {
  background: #94a3b8;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
.kyu-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
.kyu-actions .kyu-print-button {
    max-width: none;
  }
.kyu-print-callout,
  .kyu-print-callout form,
  .kyu-print-callout .kyu-print-button {
    width: 100%;
  }
}
.finance-stats .stat-link.is-paid,
.finance-table.payment-table tbody tr.finance-paid td {
  background: #eaf8f0 !important;
}
.finance-stats .stat-link.is-pending,
.finance-table.payment-table tbody tr.finance-pending td {
  background: #fff1f1 !important;
}
.panel-form,
.finance-panel,
.info-panel {
  border-radius: 16px !important;
}
.accounting-head .module-head-main p {
  max-width: 840px;
}
.accounting-entry-form {
  display: grid;
  gap: 16px;
}
.accounting-workbench {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 14px;
}
.accounting-workbench-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.accounting-session-panel {
  align-self: start;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  padding: 12px;
}
.accounting-session-panel h2 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 15px;
}
.accounting-session-panel label {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.accounting-entry-summary,
.accounting-seat-hero,
.accounting-diary-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.accounting-entry-summary > div,
.accounting-seat-hero > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  min-width: 0;
}
.accounting-entry-summary span,
.accounting-seat-hero span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.accounting-entry-summary strong,
.accounting-seat-hero strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
}
.accounting-entry-summary small,
.accounting-seat-hero small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}
.accounting-entry-summary [data-balance-card],
.accounting-seat-hero .is-unbalanced {
  border-color: rgba(180, 48, 40, .35);
  background: #fff5f3;
}
.accounting-entry-summary [data-balance-card].is-balanced,
.accounting-seat-hero .is-balanced {
  border-color: rgba(20, 120, 70, .28);
  background: #ecf8f1;
}
.accounting-block {
  display: grid;
  gap: 10px;
}
.accounting-header-grid {
  display: grid;
  grid-template-columns: minmax(120px, .6fr) minmax(150px, .8fr) minmax(220px, 1fr) minmax(260px, 1.4fr);
  gap: 10px;
}
.accounting-header-grid label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.accounting-header-grid input,
.accounting-lines-table input {
  width: 100%;
  min-width: 0;
}
.accounting-lines-title {
  align-items: end;
}
.accounting-lines-title h2 {
  margin-bottom: 2px;
}
.accounting-lines-wrap {
  border-radius: 8px;
}
.accounting-lines-table {
  min-width: 920px;
}
.accounting-lines-table th,
.accounting-lines-table td {
  vertical-align: middle;
}
.accounting-lines-table .accounting-order {
  width: 42px;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
}
.accounting-lines-table .money-input {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.accounting-account-field {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) auto;
  gap: 5px;
  align-items: start;
  min-width: 180px;
}
.accounting-account-field small {
  grid-column: 1 / -1;
  min-height: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}
.accounting-f1-button {
  min-width: 42px;
  padding-inline: 9px;
}
.accounting-account-picker[hidden] {
  display: none;
}
.accounting-account-picker {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 18px;
}
.accounting-account-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 42, .42);
}
.accounting-account-picker-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(760px, 96vw);
  max-height: min(720px, 88vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(18, 28, 42, .24);
  padding: 14px;
}
.accounting-account-picker-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.accounting-account-picker-panel header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.accounting-account-picker-panel h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 20px;
}
.accounting-account-search {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.accounting-account-results {
  display: grid;
  gap: 5px;
  overflow: auto;
  max-height: 430px;
  padding-right: 4px;
}
.accounting-account-option {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 9px 10px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.accounting-account-option:hover,
.accounting-account-option:focus {
  border-color: rgba(17, 102, 204, .42);
  background: #f3f8ff;
  outline: none;
}
.accounting-account-option strong {
  font-variant-numeric: tabular-nums;
}
.accounting-account-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.accounting-account-option small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.accounting-account-empty,
.accounting-account-help {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.accounting-lines-table tfoot th {
  background: #f7f9fb;
  color: var(--ink);
  border-top: 2px solid var(--line);
}
.accounting-command-bar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  margin: 0 -2px -2px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
}
.accounting-diary-table {
  min-width: 1040px;
}
.accounting-seat-cell,
.accounting-summary-cell,
.accounting-balance-cell,
.accounting-lines-count {
  display: grid;
  gap: 3px;
}
.accounting-seat-number {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.accounting-seat-cell span,
.accounting-summary-cell span,
.accounting-lines-count span,
.accounting-balance-cell span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.accounting-balance-cell {
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  min-width: 280px;
}
.accounting-balance-cell strong {
  display: block;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.accounting-balance-cell .is-ok strong {
  color: var(--green);
}
.accounting-balance-cell .is-error strong {
  color: var(--red);
}
.accounting-row-actions {
  white-space: nowrap;
}
.accounting-row-actions .mini-action {
  margin-right: 4px;
}
.accounting-diary-table tr.accounting-unbalanced td {
  background: #fff7f5;
}
@media (max-width: 980px) {
.accounting-workbench {
    grid-template-columns: 1fr;
  }
.accounting-entry-summary,
  .accounting-seat-hero,
  .accounting-diary-summary,
  .accounting-header-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
.accounting-entry-summary,
  .accounting-seat-hero,
  .accounting-diary-summary,
  .accounting-header-grid {
    grid-template-columns: 1fr;
  }
.accounting-command-bar {
    position: static;
  }
}
@media (max-width: 1040px) {
.reports-hub-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
.reports-clean-head {
    grid-template-columns: 1fr;
  }
.reports-clean-summary {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 760px) {
.reports-hub-grid {
    grid-template-columns: 1fr;
  }
.reports-hub-card {
    min-height: 104px;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 13px;
  }
.reports-hub-card > span {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
.reports-hub-card img {
    width: 48px;
    height: 48px;
  }
.reports-clean-head,
  .reports-clean-group > header,
  .report-clean-row {
    padding: 12px;
  }
.reports-clean-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.report-clean-row {
    grid-template-columns: 1fr;
  }
.report-clean-side {
    justify-items: stretch;
  }
.report-clean-formats,
  .report-clean-actions {
    justify-content: flex-start;
  }
.admin-status-segment {
    flex-basis: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    border-radius: 16px !important;
  }
.admin-status-segment a {
    flex: 0 0 auto;
  }
.admin-column-panel {
    width: 100%;
  }
.admin-column-panel summary {
    justify-content: center;
    width: 100%;
  }
.admin-column-options {
    position: static;
    grid-template-columns: 1fr;
    min-width: 0;
    margin-top: 8px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
  }
}
::selection {
  background: rgba(208, 0, 0, .16);
}
.fichajes-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.fichajes-kpi-grid .stat {
  padding: 10px 12px;
  min-height: auto;
}
.fichajes-kpi-grid .stat small {
  display: block;
  color: var(--muted, #64748b);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: none;
}
.fichajes-kpi-grid .stat strong {
  margin-top: 4px;
  font-size: 1.45rem;
  line-height: 1;
}
.fichajes-kpi-grid .stat .subtle {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.2;
}
.sticky-filter {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid var(--line, #dbe4f0);
  border-radius: 10px;
  padding: 10px;
  backdrop-filter: blur(6px);
}
.fichajes-worker-split {
  align-items: start;
}
.fichaje-profile-block {
  border-top: 1px solid var(--line, #dbe4f0);
  padding-top: 14px;
  margin-top: 14px;
}
.fichaje-profile-block:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.fichaje-profile-block h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--ink, #0f172a);
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.inline-form input,
.inline-form select {
  min-height: 34px;
  max-width: 180px;
}
.state-sin_fichar,
.state-inactivo,
.state-off {
  background: #f1f5f9;
  color: #475569;
}
.state-dentro,
.state-ok {
  background: #dcfce7;
  color: #047857;
}
.state-cerrada {
  background: #dbeafe;
  color: #1d4ed8;
}
.state-incidencia,
.state-warning,
.state-pending,
.state-entrada_sin_salida {
  background: #fef3c7;
  color: #92400e;
}
.fichaje-public-head h1 {
  max-width: 900px;
}
.fichaje-public-dashboard {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fichaje-public-actions .button,
.fichaje-public-actions button {
  min-height: 48px;
}
@media (max-width: 900px) {
.fichajes-kpi-grid,
  .fichaje-public-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.sticky-filter {
    position: static;
  }
}
@media (max-width: 640px) {
.fichajes-kpi-grid,
  .fichaje-public-dashboard {
    grid-template-columns: 1fr;
  }
.inline-form input,
  .inline-form select {
    max-width: none;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
*,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
/* Portal clubes: stronger home re-order. */
/* Federacion: landing principal mas operativo. */
/* Federacion: contadores con texto fluido, sin recortes intermedios. */
/* Federacion: prueba de landing con aire superior y contadores dentro del bloque de temporada. */
/* Federacion: command center redesign. */
/* Contabilidad: accesos "Trabajo contable" como tarjetas (portal-action-grid no se
   cargaba en admin) y tabla de portada con Concepto recortado. */
.portal-action-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.portal-action-grid > a {
  display: grid;
  gap: 3px;
  align-content: start;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #f8fafc;
  color: #24394e;
  text-decoration: none;
}
.portal-action-grid > a:hover {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .08);
}
.portal-action-grid strong { color: #15324f; font-size: .98rem; }
.portal-action-grid span { color: #64748b; font-weight: 600; font-size: .82rem; }
.contabilidad-inicio-asientos { width: 100%; min-width: 0; }
.contabilidad-inicio-asientos .concepto-cell {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}