/*
 * portal.css — Fase 1 (COPIA generada por tools/split_portal_css.py)
 *
 * Contiene: reglas del portal de clubes (.portal-*, .mobile-club*, .mobile-more*,
 * .tec-portal, .tec-special).
 *
 * 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).
 */
.portal-ribbon {
  display: none;
}
.portal-home-frame {
  align-items: stretch;
}
.portal-home-content {
  display: flex;
  flex-direction: column;
}
.portal-club-home-bg {
  flex: 1 1 auto;
  position: relative;
  isolation: isolate;
  z-index: 0;
  width: 100%;
  max-width: 100%;
  margin: -12px -14px 0;
  padding: 12px 14px 22px;
  min-height: calc(100svh - 120px);
  overflow: hidden;
  border-radius: 14px;
  background: #e9eef3;
}
.portal-club-home-bg::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: 0;
  background: url("brand/clubes_landing_bg.png") center 28% / cover no-repeat;
  filter: blur(8px) saturate(.95);
  opacity: .6;
  transform: scale(1.035);
  pointer-events: none;
}
.portal-club-home-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(244, 247, 250, .28), rgba(244, 247, 250, .52)),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,.46), rgba(255,255,255,0) 34%);
  pointer-events: none;
}
.portal-club-home-bg > * {
  position: relative;
  z-index: 1;
}
.portal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 16px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff, #f2f7fb);
  border: 1px solid var(--line);
  border-left: 6px solid var(--ribbon);
  border-radius: 7px;
}
.portal-head-main {
  min-width: 0;
}
.portal-head h1,
.portal-head p {
  overflow-wrap: anywhere;
}
.portal-head-manual {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}
.portal-head-manual img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.portal-kicker {
  display: block;
  color: var(--ribbon-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.portal-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 9px;
  margin-bottom: 14px;
}
.portal-dashboard > div,
.portal-dashboard > article,
.portal-dashboard > a {
  display: grid;
  grid-template-rows: 34px auto;
  align-content: start;
  gap: 4px;
  min-height: 102px;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 7px;
  color: var(--text);
  padding: 11px 12px;
  text-decoration: none;
}
.portal-dashboard > a:hover {
  border-color: var(--blue);
  background: #ffffff;
  transform: translateY(-1px);
}
.portal-dashboard > :nth-child(1) { border-top-color: var(--green); }
.portal-dashboard > :nth-child(2) { border-top-color: var(--amber); }
.portal-dashboard > :nth-child(3),
.portal-dashboard > :nth-child(4),
.portal-dashboard > :nth-child(6) { border-top-color: var(--red); }
.portal-dashboard > :nth-child(5) { border-top-color: var(--blue); }
.portal-dashboard span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}
.portal-dashboard strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}
.portal-today-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  margin-bottom: 14px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 30px rgba(15, 34, 52, .13);
}
.portal-today-focus > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.portal-today-focus span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.portal-today-focus strong {
  color: #0c2d4f;
  font-size: 25px;
  line-height: 1.1;
}
.portal-today-focus p {
  margin: 0;
  color: #26435f;
  line-height: 1.35;
}
.portal-today-focus .button {
  justify-self: end;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.portal-section-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 8px;
  margin: 0 0 14px;
}
.portal-section-tabs a {
  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;
}
.portal-section-tabs a.active,
.portal-section-tabs a:hover {
  border-color: var(--blue);
  border-left-color: var(--red);
  background: #ffffff;
}
.portal-section-tabs strong {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
}
.portal-section-tabs span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.portal-alerts {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.portal-alerts article {
  padding: 12px;
  border: 1px solid #f0d28d;
  border-radius: 7px;
  background: #fff8e7;
}
.portal-task-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 14px;
  margin-bottom: 16px;
}
.portal-home-tasks {
  grid-template-columns: minmax(0, 1fr);
}
.portal-landing-digest {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.portal-digest-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 286px;
  max-height: 344px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(15, 34, 52, .12);
}
.portal-digest-panel > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px 12px 10px;
  border-bottom: 1px solid var(--line-soft);
}
.portal-digest-panel header div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.portal-digest-panel header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.portal-digest-panel header strong {
  color: #172432;
  font-size: 17px;
  line-height: 1.15;
}
.portal-digest-panel .mini-action {
  justify-self: end;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.portal-digest-scroll {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  overflow: auto;
  scrollbar-width: thin;
}
.portal-digest-event {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--blue);
  border-radius: 7px;
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
}
.portal-digest-event:hover {
  border-color: var(--blue);
  background: #ffffff;
}
.portal-digest-event time {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}
.portal-digest-event strong {
  display: block;
  color: #172432;
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.portal-digest-event small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}
.portal-drive-frame {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
}
.portal-empty-state {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 180px;
  padding: 18px;
  color: var(--muted);
}
.portal-empty-state strong {
  color: #172432;
  font-size: 15px;
}
.portal-empty-state p {
  margin: 0;
  font-weight: 750;
  line-height: 1.35;
}
.portal-circular-list {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 10px;
  overflow: auto;
  scrollbar-width: thin;
}
.portal-circular-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--ribbon);
  border-radius: 7px;
  background: #fffafa;
  color: var(--text);
  text-decoration: none;
}
.portal-circular-card:hover {
  border-color: #f0b9bd;
  background: #ffffff;
}
.portal-circular-card > span {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border-radius: 6px;
  background: #fdecee;
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 950;
}
.portal-circular-card strong {
  display: block;
  color: #172432;
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.portal-circular-title {
  color: inherit;
  text-decoration: none;
}
.portal-circular-title:hover strong {
  color: var(--ribbon-dark);
}
.portal-circular-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}
.portal-circular-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.portal-circular-attachments small {
  flex-basis: 100%;
  margin: 0;
}
.portal-circular-attachments a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #f0b9bd;
  border-radius: 6px;
  background: #fff;
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.portal-circulares-toolbar {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(15, 34, 52, .1);
}
.portal-circulares-toolbar form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
}
.portal-circulares-toolbar label {
  display: grid;
  gap: 4px;
  min-width: min(100%, 280px);
}
.portal-circulares-toolbar label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.portal-circulares-toolbar input {
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #172432;
  font-weight: 800;
}
.portal-circulares-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portal-circulares-toolbar nav a {
  display: inline-grid;
  gap: 2px;
  min-width: 112px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
}
.portal-circulares-toolbar nav a.active {
  border-color: #f0b9bd;
  background: #fffafa;
}
.portal-circulares-toolbar nav strong {
  color: #172432;
  line-height: 1;
}
.portal-circulares-toolbar nav span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.portal-circulares-board {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.portal-circular-full-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--ribbon);
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 90px;
}
.portal-circular-full-card:target {
  border-color: var(--ribbon);
  box-shadow: 0 0 0 3px rgba(208, 0, 0, .18);
}
.portal-circular-number {
  display: grid;
  place-items: center;
  min-height: 52px;
  border-radius: 7px;
  background: #fdecee;
  color: var(--ribbon-dark);
  font-size: 17px;
  font-weight: 950;
}
.portal-circular-full-card header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}
.portal-circular-full-card strong {
  color: #172432;
  font-size: 16px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.portal-circular-full-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 750;
}
.portal-circular-full-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.portal-circular-full-attachments span {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.portal-circular-full-attachments a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #f0b9bd;
  border-radius: 6px;
  background: #fffafa;
  color: var(--ribbon-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.portal-calendar-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(15, 34, 52, .1);
}
.portal-calendar-panel > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.portal-calendar-panel header div:first-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.portal-calendar-panel header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}
.portal-calendar-panel header strong {
  color: #172432;
  font-size: 17px;
  line-height: 1.15;
}
.portal-calendar-panel .row-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}
.portal-calendar-panel .mini-action {
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.portal-calendar-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}
.portal-calendar-strip .empty-state {
  grid-column: 1 / -1;
}
.portal-calendar-card {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 104px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-left: 5px solid var(--calendar-color, var(--blue));
  border-radius: 7px;
  background: #f8fafc;
  color: var(--text);
  text-decoration: none;
}
.portal-calendar-card:hover {
  border-color: var(--blue);
  background: #ffffff;
}
.portal-calendar-card span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}
.portal-calendar-card strong {
  color: #172432;
  font-size: 14px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.portal-calendar-card small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.25;
}
/* Portal clubes: landing spacing and counter cards polish. */
.portal-club-home-bg .portal-head {
  align-items: center;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(15, 34, 52, .12);
}
.portal-club-home-bg .portal-head-manual {
  align-self: center;
  min-height: 54px;
  padding: 8px 13px;
  box-shadow: 0 8px 18px rgba(15, 34, 52, .08);
}
.portal-club-home-bg .portal-head-manual img {
  width: 32px;
  height: 32px;
}
.portal-club-home-bg .portal-dashboard {
  gap: 12px;
  margin-bottom: 18px;
}
.portal-club-home-bg .portal-dashboard > div,
.portal-club-home-bg .portal-dashboard > article,
.portal-club-home-bg .portal-dashboard > a {
  position: relative;
  overflow: hidden;
  grid-template-rows: minmax(34px, auto) auto;
  min-height: 98px;
  padding: 15px 16px 14px 18px;
  border: 1px solid rgba(203, 213, 225, .9);
  border-top-width: 1px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(15, 34, 52, .1);
}
.portal-club-home-bg .portal-dashboard > div::before,
.portal-club-home-bg .portal-dashboard > article::before,
.portal-club-home-bg .portal-dashboard > a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--blue);
}
.portal-club-home-bg .portal-dashboard > :nth-child(1)::before { background: var(--green); }
.portal-club-home-bg .portal-dashboard > :nth-child(2)::before { background: var(--amber); }
.portal-club-home-bg .portal-dashboard > :nth-child(3)::before,
.portal-club-home-bg .portal-dashboard > :nth-child(4)::before,
.portal-club-home-bg .portal-dashboard > :nth-child(6)::before { background: var(--red); }
.portal-club-home-bg .portal-dashboard > :nth-child(5)::before { background: var(--blue); }
.portal-club-home-bg .portal-dashboard span {
  min-height: 30px;
  color: #607087;
  font-size: 10px;
  line-height: 1.18;
  letter-spacing: 0;
}
.portal-club-home-bg .portal-dashboard strong {
  align-self: end;
  color: #071d36;
  font-size: 28px;
  line-height: .95;
}
.portal-club-home-bg .portal-today-focus {
  margin-bottom: 16px;
}
.portal-drive-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}
.portal-drive-frame iframe {
  min-height: 286px;
}
.portal-action-grid {
  display: grid;
  gap: 8px;
}
.portal-action-grid > a {
  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;
}
.portal-action-grid > a:hover {
  border-color: var(--blue);
  background: #ffffff;
}
.portal-action-grid strong {
  color: var(--blue-dark);
}
.portal-action-grid span {
  color: var(--muted);
  font-weight: 700;
}
.portal-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.portal-subnav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.portal-subnav a.is-active {
  background: var(--blue);
  color: #fff;
}
.portal-menu h3 {
  color: #7f1720;
}
.portal-inline-controls {
  display: flex;
  flex: 2 1 520px;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
}
.portal-column-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.portal-column-toggles label,
.portal-column-toggles a {
  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;
}
.portal-column-toggles label.active,
.portal-column-toggles a.active {
  background: #eef6fb;
  border-color: #9cc4e7;
  box-shadow: inset 0 0 0 1px rgba(30, 101, 167, .16);
}
.portal-column-toggles input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.portal-column-toggles > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.portal-column-toggles label::before,
.portal-column-toggles a::before {
  content: "";
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid #9eb3c5;
  border-radius: 3px;
  background: #fff;
  color: #fff;
  font-size: 10px;
  line-height: 1;
}
.portal-column-toggles label.active::before,
.portal-column-toggles a.active::before {
  content: "\2713";
  border-color: var(--blue);
  background: var(--blue);
}
.portal-athlete-controls {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}
.portal-athlete-controls label,
.portal-athlete-controls .control-row {
  min-width: 0;
}
.portal-athlete-controls .control-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.portal-athlete-controls .control-row-search {
  grid-template-columns: 140px minmax(220px, 1fr) 150px 180px;
}
.portal-athlete-controls .control-row-search .control-search {
  display: contents;
}
.portal-athlete-controls .control-search {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.portal-athlete-controls .control-search input {
  width: 100%;
  min-width: 0;
}
.portal-athlete-controls .control-title,
.portal-athlete-controls .control-search {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.portal-athlete-controls .control-title-stacked {
  display: grid;
  gap: 2px;
  align-self: center;
}
.portal-athlete-controls .control-title small {
  color: #6d7c8f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}
.portal-athlete-controls .control-hint {
  color: #5b6b7f;
  font-size: 12px;
  line-height: 1.25;
}
.portal-athlete-controls .control-hint strong {
  color: var(--ink);
}
.portal-athlete-controls .status-segment,
.portal-athlete-controls .portal-column-toggles {
  gap: 6px;
}
.portal-athlete-controls .status-segment a,
.portal-athlete-controls .portal-column-toggles label,
.portal-athlete-controls .portal-column-toggles 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;
}
.portal-athlete-controls .status-segment a.active,
.portal-athlete-controls .portal-column-toggles a.active {
  background: #eef6fb;
  border-color: #9cc4e7;
  box-shadow: inset 0 0 0 1px rgba(30, 101, 167, .16);
}
.portal-athlete-controls .control-row-columns {
  grid-template-columns: 140px minmax(0, 1fr);
}
.portal-athlete-controls .control-row-search button,
.portal-athlete-controls .control-row-search .button {
  width: 100%;
  min-height: 38px;
}
.portal-workflow-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.portal-workflow-actions a {
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.portal-workflow-actions a strong {
  color: var(--ink);
  font-size: 15px;
}
.portal-workflow-actions a span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}
.portal-workflow-actions a.active {
  border-color: var(--blue);
  background: #eef6fb;
  box-shadow: inset 4px 0 0 var(--blue), var(--shadow-soft);
}
.portal-workflow-panel {
  margin-bottom: 16px;
}
.portal-tramite-search {
  margin-bottom: 14px;
}
.portal-athlete-legend {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.portal-athlete-legend .club-legend-item {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 12px;
}
.portal-athlete-table {
  width: max-content;
  min-width: 0;
  table-layout: auto;
  font-size: 11px;
}
.portal-athlete-table th,
.portal-athlete-table td {
  padding: 4px 5px;
  white-space: nowrap;
}
.portal-athlete-table col.col-state { width: 38px; }
.portal-athlete-table col.col-athlete { width: 235px; }
.portal-athlete-table col.col-born { width: 84px; }
.portal-athlete-table col.col-age { width: 45px; }
.portal-athlete-table col.col-sex { width: 42px; }
.portal-athlete-table col.col-grade { width: 58px; }
.portal-athlete-table col.col-sport { width: 82px; }
.portal-athlete-table col.col-dni { width: 90px; }
.portal-athlete-table col.col-email { width: 178px; }
.portal-athlete-table col.col-phone { width: 82px; }
.portal-athlete-table col.col-license { width: 94px; }
.portal-athlete-table col.col-photo { width: 58px; }
.portal-athlete-table .table-sort {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-align: left;
  line-height: 1.1;
  cursor: pointer;
}
.portal-athlete-table .table-sort:hover {
  color: var(--blue-dark);
}
.portal-athlete-table .table-sort::after {
  content: "\2195";
  color: #6c7d8c;
  font-size: 10px;
  line-height: 1;
  padding-left: 3px;
}
.portal-athlete-table .table-sort.is-sorted::after {
  content: "\2191";
  color: var(--blue);
}
.portal-athlete-table .table-sort.is-sorted[data-sort-dir="desc"]::after {
  content: "\2193";
}
.portal-athlete-table .table-filter-row th {
  padding: 3px 4px 5px;
  background: #eef4f8;
}
.portal-athlete-table .table-filter-row input,
.portal-athlete-table .table-filter-row select {
  width: 100%;
  min-width: 0;
  min-height: 23px;
  padding: 2px 4px;
  border-radius: 5px;
  font-size: 11px;
}
.portal-athlete-table .col-state {
  min-width: 38px;
  width: 38px;
  text-align: center;
}
.portal-athlete-table .athlete-name-cell {
  min-width: 0;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-athlete-table .athlete-name-cell a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-athlete-table td:nth-child(4),
.portal-athlete-table td:nth-child(5) {
  text-align: center;
}
.portal-athlete-table .belt {
  min-width: 42px;
  padding: 1px 6px;
}
.portal-athlete-table .row-actions {
  gap: 4px;
}
.portal-athlete-table .mini-action,
.portal-athlete-table .icon-action {
  min-height: 23px;
  padding: 2px 6px;
}
/* Cinturones partidos: el color que va primero, abajo; el segundo, arriba
   (linear-gradient 0deg = de abajo hacia arriba), como el cinturon real. */
.portal-afp-table .dan-grade-card {
  min-width: 70px;
}
.portal-success-callout {
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid #bfe5cf;
  border-left: 6px solid #14804a;
  border-radius: 8px;
  background: #eefaf3;
  box-shadow: var(--shadow);
}
.portal-success-callout span {
  display: block;
  color: #0f6b3d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.portal-success-callout strong {
  display: block;
  margin-top: 4px;
  color: #064d2b;
  font-size: 22px;
}
.portal-success-callout p {
  margin: 6px 0 0;
  color: #355244;
}
.portal-context-sidebar .portal-menu a.active {
  background: #eef6fb;
  color: var(--blue-dark);
  font-weight: 900;
  border-left: 4px solid var(--blue);
  padding-left: 6px;
}
.portal-context-sidebar .portal-main-menu a.portal-tramite-link {
  padding-left: 14px;
  font-size: 13px;
  border-left: 4px solid #2f80c2;
}
.portal-context-sidebar .portal-main-menu a.portal-tramite-link::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--blue);
  vertical-align: 2px;
}
.portal-context-sidebar .portal-main-menu a.portal-tramite-link.active {
  padding-left: 10px;
}
.portal-context-sidebar .portal-main-menu a.portal-grade-link,
.portal-context-sidebar .portal-main-menu a.portal-program-link,
.portal-context-sidebar .portal-main-menu a.portal-doc-link {
  padding-left: 14px;
  font-size: 13px;
}
.portal-context-sidebar .portal-main-menu a.portal-grade-link {
  border-left: 4px solid #8b5fbf;
}
.portal-context-sidebar .portal-main-menu a.portal-program-link {
  border-left: 4px solid #bf7a2f;
}
.portal-context-sidebar .portal-main-menu a.portal-doc-link {
  border-left: 4px solid #2f8a4b;
}
.portal-context-sidebar .portal-main-menu a.portal-grade-link::before,
.portal-context-sidebar .portal-main-menu a.portal-program-link::before,
.portal-context-sidebar .portal-main-menu a.portal-doc-link::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  vertical-align: 2px;
}
.portal-context-sidebar .portal-main-menu a.portal-grade-link::before {
  background: #8b5fbf;
}
.portal-context-sidebar .portal-main-menu a.portal-program-link::before {
  background: #bf7a2f;
}
.portal-context-sidebar .portal-main-menu a.portal-doc-link::before {
  background: #2f8a4b;
}
.portal-context-sidebar .portal-main-menu a.portal-grade-link.active,
.portal-context-sidebar .portal-main-menu a.portal-program-link.active,
.portal-context-sidebar .portal-main-menu a.portal-doc-link.active {
  padding-left: 10px;
}
.portal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.portal-card {
  border: 1px solid var(--border, #c8d5e3);
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}
.portal-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.portal-hero 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;
}
.portal-hero div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--blue);
}
.portal-hero span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.portal-hero strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.05;
  color: var(--blue-dark);
}
@media (max-width: 1100px) {
.portal-hero,
.portal-dashboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-task-layout,
.portal-landing-digest { grid-template-columns: 1fr; }
.portal-dashboard {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
.portal-today-focus,
  .portal-calendar-panel > header,
  .portal-digest-panel > header {
    display: grid;
    align-items: stretch;
  }
.portal-today-focus .button {
    justify-self: start;
  }
.portal-athlete-controls .control-row-search {
    grid-template-columns: 120px minmax(0, 1fr) 130px 160px;
  }
}
@media (max-width: 760px) {
.portal-head { display: block; }
.portal-hero,
.portal-dashboard { grid-template-columns: 1fr; }
.portal-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.portal-today-focus {
    padding: 14px;
  }
.portal-today-focus .button,
  .portal-calendar-panel .mini-action,
  .portal-digest-panel .mini-action {
    justify-content: center;
    width: 100%;
  }
.portal-calendar-strip {
    grid-template-columns: 1fr;
  }
.portal-digest-panel {
    min-height: 260px;
    max-height: 320px;
  }
.portal-digest-event {
    grid-template-columns: 1fr;
  }
.portal-circular-card,
.portal-circular-full-card,
.portal-circular-full-card header {
    grid-template-columns: 1fr;
  }
}
/* Autenticacion */
.mobile-club-nav {
  display: none;
}
.portal-help-box {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #c8dcf2;
  border-radius: 8px;
  background: #f4f9ff;
}
.portal-help-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-dark);
}
.portal-help-box p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 760px) {
.portal-ribbon {
    display: none;
  }
.portal-athlete-controls {
    gap: 10px;
  }
.portal-athlete-controls .control-row,
  .portal-athlete-controls .control-row-search,
  .portal-athlete-controls .control-row-columns {
    grid-template-columns: 1fr;
  }
.portal-athlete-controls .status-segment a,
  .portal-athlete-controls .portal-column-toggles label,
  .portal-athlete-controls .portal-column-toggles a {
    flex: 1 1 120px;
    justify-content: center;
  }
.portal-head {
    margin-bottom: 12px;
    padding: 14px;
    border-left-width: 5px;
  }
.portal-head h1 {
    margin: 2px 0 6px;
    font-size: 24px;
    line-height: 1.1;
  }
.portal-head p {
    font-size: 14px;
  }
.portal-head .command-bar,
  .portal-head form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }
.portal-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.portal-dashboard > div,
  .portal-dashboard > article,
  .portal-dashboard > a {
    padding: 10px;
  }
.portal-dashboard strong {
    font-size: 24px;
  }
.portal-today-focus,
  .portal-calendar-panel > header,
  .portal-digest-panel > header {
    display: grid;
    align-items: stretch;
  }
.portal-today-focus {
    padding: 14px;
  }
.portal-today-focus .button,
  .portal-calendar-panel .mini-action,
  .portal-digest-panel .mini-action {
    justify-content: center;
    width: 100%;
  }
.portal-calendar-strip {
    grid-template-columns: 1fr;
  }
.mobile-club-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 6px 5px max(6px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(15,34,52,.16);
  }
.mobile-club-nav a,
  .mobile-more-menu summary {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 50px;
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
  }
.mobile-club-badge {
    position: absolute;
    top: 5px;
    right: calc(50% - 24px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--ribbon, #d00000);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
  }
.mobile-more-menu summary::-webkit-details-marker {
    display: none;
  }
.mobile-club-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
.mobile-club-nav a.active,
  .mobile-more-menu summary.active {
    color: var(--ribbon-dark);
  }
.mobile-more-menu {
    position: relative;
    min-width: 0;
  }
.mobile-more-panel {
    position: fixed;
    right: 10px;
    bottom: calc(68px + env(safe-area-inset-bottom));
    z-index: 55;
    display: grid;
    width: min(280px, calc(100vw - 20px));
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(15,34,52,.24);
  }
.mobile-more-menu:not([open]) .mobile-more-panel {
    display: none;
  }
.mobile-club-nav .mobile-more-panel a {
    display: block;
    min-height: 0;
    padding: 11px 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
  }
.mobile-club-nav .mobile-more-panel a.active {
    background: #eef6fb;
  }
}
/* Utilidad global: ocultar secciones segun la seccion activa del sidebar (AFP, Judo Essential...). */
.tec-portal-detail {
  margin-top: 8px;
}
.tec-portal-detail summary {
  cursor: pointer;
  color: #123d6b;
  font-size: 13px;
  font-weight: 900;
}
.tec-portal-detail-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.tec-portal-detail-list > div {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #fff;
}
.tec-portal-list {
  display: grid;
  gap: 16px;
}
.tec-portal-card {
  overflow: hidden;
  border: 1px solid #d7e3f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 43, 70, .06);
}
.tec-portal-card-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #dce5ee;
  background: linear-gradient(135deg, #f8fbfe 0%, #eef5fb 100%);
}
.tec-portal-athlete-main {
  min-width: 0;
}
.tec-portal-athlete-main > strong,
.tec-portal-state strong,
.tec-portal-evidence strong {
  display: block;
  color: #102b46;
}
.tec-portal-athlete-main > strong {
  font-size: 16px;
}
.tec-portal-meta,
.tec-portal-state,
.tec-portal-evidence {
  display: grid;
  gap: 8px;
}
.tec-portal-meta {
  margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.tec-portal-meta span,
.tec-portal-state > div,
.tec-portal-evidence > div {
  min-width: 0;
  padding: 10px;
  border: 1px solid #dbe6f0;
  border-radius: 8px;
  background: #fbfdff;
}
.tec-portal-meta span {
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.tec-portal-card-actions {
  justify-content: flex-end;
  align-items: center;
}
.tec-portal-card-actions .button,
.tec-portal-card-actions button {
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}
.tec-portal-resend {
  display: grid;
  grid-template-columns: minmax(260px, 430px) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border-bottom: 1px solid #e4edf6;
  background: #fff;
}
.tec-portal-resend input {
  min-width: 0;
}
.tec-portal-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
  padding: 14px 16px 16px;
}
.tec-portal-state span,
.tec-portal-evidence span {
  display: block;
  color: #607186;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.tec-portal-evidence {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tec-portal-evidence .tec-portal-detail {
  margin-top: 6px;
}
.tec-portal-empty {
  padding: 18px;
  border: 1px dashed #cbd8e6;
  border-radius: 8px;
  background: #f8fbfe;
  color: #52616d;
  font-weight: 800;
}
.tec-special-list {
  display: grid;
  gap: 8px;
}
.tec-special-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.tec-special-card {
  padding: 12px;
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  background: #f8fbfe;
}
.tec-special-card span {
  display: block;
  color: #53677b;
}
.tec-portal .portal-hero.compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.tec-portal .portal-hero.compact > .tec-status {
  display: inline-flex;
  align-self: start;
  justify-self: end;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  text-transform: uppercase;
}
@media (max-width: 900px) {
.tec-special-card {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.tec-portal-card-head,
  .tec-portal-card-grid,
  .tec-portal-evidence,
  .tec-portal-resend {
    grid-template-columns: 1fr;
  }
.tec-portal-card-actions {
    justify-content: stretch;
  }
.tec-portal-card-actions .button,
  .tec-portal-card-actions form,
  .tec-portal-card-actions button,
  .tec-portal-resend button {
    width: 100%;
  }
}
@media (max-width: 520px) {
.portal-dashboard {
    grid-template-columns: 1fr;
  }
.portal-dashboard > div,
  .portal-dashboard > article,
  .portal-dashboard > a {
    min-height: 92px;
  }
.portal-today-focus strong {
    font-size: 22px;
  }
}
@media (max-width: 760px) {
.portal-today-focus,
  .portal-calendar-panel > header,
  .portal-digest-panel > header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.portal-today-focus .button,
  .portal-calendar-panel .mini-action,
  .portal-digest-panel .mini-action {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
.portal-calendar-strip {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
.portal-dashboard {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
.portal-landing-digest {
    grid-template-columns: 1fr;
  }
.portal-today-focus {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.portal-today-focus .button {
    justify-self: start;
  }
}
@media (max-width: 760px) {
.portal-club-home-bg {
    margin: -10px -12px 0;
    padding: 10px 12px 88px;
    border-radius: 0;
  }
.portal-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
.portal-head-manual {
    justify-self: start;
    max-width: 100%;
  }
.portal-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
.portal-dashboard > div,
  .portal-dashboard > article,
  .portal-dashboard > a {
    grid-template-rows: 38px auto;
    min-height: 98px;
    padding: 10px;
  }
.portal-dashboard strong {
    align-self: start;
    font-size: 24px;
  }
.portal-today-focus,
  .portal-digest-panel > header,
  .portal-calendar-panel > header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.portal-today-focus .button,
  .portal-digest-panel .mini-action,
  .portal-calendar-panel .mini-action {
    justify-self: stretch;
    width: 100%;
  }
.portal-calendar-panel .row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
.portal-calendar-panel .row-actions .state-pill {
    grid-column: 1 / -1;
  }
.portal-digest-panel {
    min-height: 260px;
    max-height: 320px;
  }
.portal-digest-event,
  .portal-circular-card,
  .portal-calendar-card {
    min-width: 0;
  }
}
@media (max-width: 360px) {
.portal-dashboard {
    grid-template-columns: 1fr;
  }
}
/* Portal clubes: stronger home re-order. */
.portal-club-home-bg {
  margin-top: 8px;
  padding-top: 22px;
}
.portal-club-home-bg .portal-head {
  margin-bottom: 28px;
}
.portal-club-home-bg .portal-head-main {
  display: grid;
  gap: 5px;
}
.portal-head-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}
.portal-head-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(248, 250, 252, .9);
  color: #54657a;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
}
.portal-head-metrics strong {
  color: #071d36;
  font-size: 15px;
  line-height: 1;
}
.portal-club-home-bg .portal-dashboard-home {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.portal-club-home-bg .portal-dashboard-home > div,
.portal-club-home-bg .portal-dashboard-home > article,
.portal-club-home-bg .portal-dashboard-home > a {
  grid-template-rows: minmax(30px, auto) auto auto;
  gap: 5px;
  min-height: 104px;
  padding: 14px 14px 13px 18px;
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(1)::before {
  background: var(--red);
}
.portal-club-home-bg .portal-dashboard-home > .portal-dashboard-pending.is-clear::before {
  background: var(--green);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(4)::before {
  background: var(--red);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(5)::before {
  background: var(--red);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(2)::before {
  background: var(--blue);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(3)::before {
  background: var(--amber);
}
.portal-club-home-bg .portal-dashboard-home .portal-dashboard-pending strong {
  color: var(--red);
}
.portal-club-home-bg .portal-dashboard-home .portal-dashboard-pending.is-clear strong {
  color: var(--green);
}
.portal-club-home-bg .portal-dashboard-home small {
  display: block;
  color: #607087;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
.portal-club-home-bg {
    margin-top: 0;
    padding-top: 14px;
  }
.portal-club-home-bg .portal-head {
    margin-bottom: 22px;
  }
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
.portal-club-home-bg .portal-dashboard-home > div,
  .portal-club-home-bg .portal-dashboard-home > article,
  .portal-club-home-bg .portal-dashboard-home > a {
    min-height: 102px;
    padding: 12px 11px 12px 15px;
  }
.portal-club-home-bg .portal-dashboard-home span {
    min-height: 0;
    font-size: 10px;
  }
.portal-club-home-bg .portal-dashboard-home small {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: 1fr;
  }
}
/* Federacion: landing principal mas operativo. */
/* Federacion: contadores con texto fluido, sin recortes intermedios. */
/* ── 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". */
/* ── Boton en envio (anti doble-submit + spinner) ────────────────────── */
/* ── Pestañas de la ficha de evento ──────────────────────────────────── */
/* ── Ficha de deportista — rediseño pestaña Datos ─────────────────────── */
/* Hero en UNA sola tarjeta: foto + resumen sin doble borde, plano y compacto */
/* Barra de acciones con iconos */
/* Listas etiqueta/valor (gana a .athlete-info-card dl): label suave, valor sólido */
/* Métricas de actividad */
/* Tarjetas de módulo (AFP / Judo Essential) */
/* Texto de ayuda colapsable (via del acta, reseteo) */
/* Promoción manual: inputs alineados a la misma base */
.portal-logo {
  width: auto;
  max-height: 38px;
  object-fit: contain;
  flex: 0 0 auto;
}
.portal-logo {
  max-height: 36px;
}
.mobile-club-nav a svg {
  stroke-width: 2;
}
.portal-action-grid .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;
}
.portal-action-grid > a.module-card {
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 12px;
}
.portal-action-grid > a.module-card .module-icon {
  grid-row: span 2;
  margin: 0;
}
.portal-action-grid > a.module-card strong,
.portal-action-grid > a.module-card span:not(.module-icon) {
  min-width: 0;
}
.portal-head {
  box-shadow: var(--ui-shadow);
}
.portal-dashboard > div {
  border-top-width: 5px;
}
@media (max-width: 760px) {
.portal-logo {
    max-height: 32px;
  }
.portal-action-grid > a.module-card {
    grid-template-columns: 1fr;
  }
.portal-action-grid > a.module-card .module-icon {
    grid-row: auto;
  }
}
/* Modern SaaS dashboard visual layer. CSS-only: no layout, route, form or data changes. */
.portal-head h1 {
  color: var(--saas-ink);
  letter-spacing: 0;
}
.portal-head p,
.portal-action-grid span {
  color: var(--saas-muted);
}
.portal-context-sidebar .portal-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
}
.portal-context-sidebar .portal-menu a::before {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-right: 0;
  border: 1px solid #d7dce2;
  border-radius: 5px;
  background:
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 5px / 9px 2px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 9px / 9px 2px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 13px / 7px 2px no-repeat,
    #ffffff;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
  vertical-align: 0;
}
.portal-context-sidebar .portal-main-menu a.portal-tramite-link::before,
.portal-context-sidebar .portal-main-menu a.portal-grade-link::before,
.portal-context-sidebar .portal-main-menu a.portal-program-link::before,
.portal-context-sidebar .portal-main-menu a.portal-doc-link::before {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-right: 0;
  border: 1px solid #d7dce2;
  border-radius: 5px;
  background:
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 5px / 9px 2px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 9px / 9px 2px no-repeat,
    linear-gradient(var(--saas-red), var(--saas-red)) 4px 13px / 7px 2px no-repeat,
    #ffffff;
  box-shadow: 0 1px 1px rgba(16, 24, 40, .04);
  vertical-align: 0;
}
.portal-context-sidebar .portal-menu a:hover {
  background: #f8fafc;
  color: var(--saas-red-dark);
  text-decoration: none;
}
.portal-context-sidebar .portal-menu a.active {
  background: var(--saas-red-soft) !important;
  color: var(--saas-red-dark) !important;
  border-left-color: var(--saas-red) !important;
  box-shadow: inset 3px 0 0 var(--saas-red);
}
.portal-context-sidebar .portal-menu a.active::before {
  border-color: var(--saas-red);
  background:
    linear-gradient(#ffffff, #ffffff) 4px 5px / 9px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 4px 9px / 9px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 4px 13px / 7px 2px no-repeat,
    var(--saas-red);
  box-shadow: 0 4px 10px rgba(208, 0, 0, .18);
}
.portal-app-frame {
  grid-template-columns: 316px minmax(0, 1fr);
  gap: 18px;
}
.portal-context-sidebar .portal-main-menu {
  gap: 0;
  padding: 0;
  border: 1px solid #d9dee5 !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 14px 34px rgba(16, 24, 40, .08);
}
.portal-nav-section {
  display: grid;
  border-bottom: 1px solid #eef1f4;
}
.portal-nav-section:last-child {
  border-bottom: 0;
}
.portal-nav-section-home {
  border-top: 0;
}
.portal-nav-heading {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--saas-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
}
.portal-nav-heading::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg) translateY(-2px);
}
.portal-nav-heading span {
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 14px 12px 18px !important;
  border-radius: 0;
  border-top: 1px solid #eef1f4 !important;
  background: #ffffff !important;
  color: #26303d !important;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.18;
  text-decoration: none;
  box-shadow: none !important;
  transform: none !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item::before {
  display: none !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item + a.portal-nav-item {
  border-top: 1px solid #eef1f4 !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item span {
  display: block;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  line-height: 1.2;
}
.portal-context-sidebar .portal-menu a.portal-nav-item:hover {
  background: #fafbfc !important;
  color: #111827 !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item svg {
  width: 29px;
  min-width: 29px;
  height: 29px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid #dfe4ea;
  border-radius: 7px;
  background: #f8fafc;
  color: #737b86;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.portal-context-sidebar .portal-menu a.portal-nav-item:hover svg {
  border-color: #ffc7c7;
  background: #fffafa;
  color: var(--saas-red);
}
.portal-context-sidebar .portal-menu a.portal-nav-item.active {
  background: #fff0f0 !important;
  color: #111827 !important;
  font-weight: 850;
  box-shadow: inset 6px 0 0 var(--saas-red) !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item.active svg {
  border-color: var(--saas-red);
  background: var(--saas-red);
  color: #ffffff;
}
.portal-context-sidebar .portal-menu a.portal-nav-inicio {
  min-height: 58px;
  font-weight: 830;
}
.portal-context-sidebar .portal-menu a.portal-nav-colegiaciones {
  min-height: 68px;
  font-size: 15.5px;
}
.portal-context-sidebar .portal-menu a.portal-nav-salir {
  margin-top: 0;
  color: #374151 !important;
}
.portal-context-sidebar .portal-main-menu {
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 16px !important;
  overflow: visible;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 34px rgba(16, 24, 40, .08);
}
.portal-nav-section {
  gap: 7px;
  border-bottom: 0;
}
.portal-nav-heading {
  min-height: 20px;
  padding: 2px 8px 0;
  background: transparent;
  color: #7b8491;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.portal-nav-heading::before {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--saas-red);
  transform: none;
}
.portal-context-sidebar .portal-menu a.portal-nav-item {
  --nav-bg: #f8fafc;
  --nav-active: #edf2f7;
  --nav-accent: #94a3b8;
  justify-content: flex-start;
  gap: 12px;
  min-height: 68px;
  padding: 8px 12px 8px 10px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  border-radius: 18px;
  background: var(--nav-bg) !important;
  color: #172033 !important;
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.08;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), 0 1px 1px rgba(16, 24, 40, .03) !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.portal-context-sidebar .portal-menu a.portal-nav-item + a.portal-nav-item {
  border-top: 1px solid rgba(148, 163, 184, .16) !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item:hover {
  border-color: rgba(208, 0, 0, .18) !important;
  background: color-mix(in srgb, var(--nav-bg) 72%, #ffffff) !important;
  color: #111827 !important;
  box-shadow: 0 10px 18px rgba(16, 24, 40, .09) !important;
  transform: translateY(-1px) !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item.active {
  border-color: rgba(208, 0, 0, .26) !important;
  background: var(--nav-active) !important;
  color: #111827 !important;
  box-shadow: inset 5px 0 0 var(--saas-red), 0 12px 24px rgba(16, 24, 40, .12) !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-item .portal-nav-icon {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  width: 50px;
  min-width: 50px;
  height: 50px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 17px;
  background: rgba(255, 255, 255, .42);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.portal-context-sidebar .portal-menu a.portal-nav-item .portal-nav-icon img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
}
.portal-context-sidebar .portal-menu a.portal-nav-item .portal-nav-label {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  line-height: 1.12;
}
.portal-context-sidebar .portal-menu a.portal-nav-item span.portal-nav-badge {
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  padding: 0 7px !important;
  border-radius: 11px;
  background: var(--saas-red, #d00000) !important;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.portal-context-sidebar .portal-menu a.portal-nav-item span.portal-nav-badge-info {
  background: #1f6feb !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-colegiaciones {
  min-height: 76px;
  font-size: 15.5px;
}
.portal-context-sidebar .portal-menu a.portal-nav-inicio {
  --nav-bg: #ffedf1;
  --nav-active: #ffdce3;
  --nav-accent: #f43f5e;
}
.portal-context-sidebar .portal-menu a.portal-nav-club {
  --nav-bg: #eef7ff;
  --nav-active: #dceeff;
  --nav-accent: #2f80d8;
}
.portal-context-sidebar .portal-menu a.portal-nav-deportistas {
  --nav-bg: #ecfbf3;
  --nav-active: #d9f7e7;
  --nav-accent: #23a566;
}
.portal-context-sidebar .portal-menu a.portal-nav-licencias {
  --nav-bg: #fff7df;
  --nav-active: #ffefb8;
  --nav-accent: #d89b00;
}
.portal-context-sidebar .portal-menu a.portal-nav-colegiaciones {
  --nav-bg: #f4edff;
  --nav-active: #eadcff;
  --nav-accent: #8b5cf6;
}
.portal-context-sidebar .portal-menu a.portal-nav-eventos {
  --nav-bg: #eaffff;
  --nav-active: #d8fbfb;
  --nav-accent: #14b8b8;
}
.portal-context-sidebar .portal-menu a.portal-nav-afp {
  --nav-bg: #fff1e6;
  --nav-active: #ffe3cc;
  --nav-accent: #f97316;
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus {
  --nav-bg: #fff0f6;
  --nav-active: #ffddea;
  --nav-accent: #db2777;
}
.portal-context-sidebar .portal-menu a.portal-nav-dan {
  --nav-bg: #f1f4f7;
  --nav-active: #e2e8ee;
  --nav-accent: #475569;
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus .portal-nav-icon,
.portal-context-sidebar .portal-menu a.portal-nav-dan .portal-nav-icon {
  flex-basis: 54px;
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 18px;
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus .portal-nav-icon {
  background: #ffe5ef;
  box-shadow: inset 0 0 0 1px rgba(219, 39, 119, .12), 0 7px 16px rgba(219, 39, 119, .08);
}
.portal-context-sidebar .portal-menu a.portal-nav-dan .portal-nav-icon {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(71, 85, 105, .16), 0 7px 16px rgba(15, 23, 42, .08);
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus .portal-nav-icon img,
.portal-context-sidebar .portal-menu a.portal-nav-dan .portal-nav-icon img {
  width: 48px;
  height: 48px;
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus.active,
.portal-context-sidebar .portal-menu a.portal-nav-dan.active {
  box-shadow: inset 5px 0 0 var(--saas-red), 0 12px 24px rgba(16, 24, 40, .13) !important;
}
.portal-context-sidebar .portal-menu a.portal-nav-kyus.active .portal-nav-icon {
  background: #ffd6e7;
}
.portal-context-sidebar .portal-menu a.portal-nav-dan.active .portal-nav-icon {
  background: #d7dde5;
}
.portal-context-sidebar .portal-menu a.portal-nav-pagos {
  --nav-bg: #eafaf2;
  --nav-active: #d6f5e6;
  --nav-accent: #10a66a;
}
.portal-context-sidebar .portal-menu a.portal-nav-informes {
  --nav-bg: #edf4ff;
  --nav-active: #dceaff;
  --nav-accent: #3b82f6;
}
.portal-context-sidebar .portal-menu a.portal-nav-impresion {
  --nav-bg: #f4f6f8;
  --nav-active: #e8edf2;
  --nav-accent: #64748b;
}
.portal-context-sidebar .portal-menu a.portal-nav-salir {
  --nav-bg: #fff0f0;
  --nav-active: #ffdede;
  --nav-accent: #ef4444;
}
.portal-context-sidebar .portal-menu a.portal-nav-manual {
  --nav-bg: #fff8e5;
  --nav-active: #fff1c2;
  --nav-accent: #d59a00;
}
.app-frame:not(.portal-app-frame) {
  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. */
.portal-head,
.portal-alerts article,
.portal-help-box {
  border-color: var(--saas-line) !important;
  border-radius: var(--saas-radius) !important;
  background: var(--saas-panel) !important;
  box-shadow: var(--saas-shadow);
}
.portal-head {
  border-left: 0;
  box-shadow: inset 0 3px 0 var(--saas-red), var(--saas-shadow);
}
.portal-head-with-manual {
  align-items: flex-start;
}
.portal-head-main {
  min-width: 0;
}
.portal-head-manual {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  min-height: 44px;
  padding: 6px 13px 6px 9px;
  border: 1px solid var(--saas-line);
  border-radius: var(--saas-radius);
  background: #ffffff;
  color: var(--saas-text);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}
.portal-head-manual img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.portal-head-manual:hover {
  border-color: rgba(208, 0, 0, .24);
  background: #fff7f7;
  color: var(--saas-red-dark);
  text-decoration: none;
}
@media (max-width: 760px) {
.portal-head-manual {
    margin-top: 12px;
    margin-left: 0;
    width: fit-content;
  }
}
.portal-kicker {
  color: var(--saas-red);
  letter-spacing: .08em;
}
.portal-head .command-bar {
  gap: 10px;
}
.portal-dashboard > div,
.portal-dashboard > article {
  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;
}
.portal-dashboard > div::before,
.portal-dashboard > article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 0;
  background: var(--saas-blue);
}
.portal-dashboard > :nth-child(1)::before {
  background: var(--saas-green);
}
.portal-dashboard > :nth-child(2)::before {
  background: #eab308;
}
.portal-dashboard > :nth-child(3)::before,
.portal-dashboard > :nth-child(4)::before,
.portal-dashboard > :nth-child(6)::before {
  background: var(--saas-red);
}
.portal-dashboard > div:hover,
.portal-dashboard > article:hover,
.portal-action-grid > a:hover {
  border-color: var(--saas-line-strong) !important;
  box-shadow: var(--saas-shadow-hover);
}
.portal-dashboard span {
  color: var(--saas-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .06em;
}
.portal-dashboard strong {
  color: var(--saas-ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  font-weight: 850;
}
@media (min-width: 861px) {
.portal-home-legend {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 18px;
    padding: 12px;
    border: 1px solid rgba(226, 229, 233, .92);
    border-radius: 20px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(248, 251, 255, .94) 58%),
      #ffffff;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .045);
  }
.portal-home-legend .club-icon-card,
  .portal-home-legend .club-card-visual {
    min-height: 76px;
    padding: 9px 10px;
    gap: 10px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
    cursor: default;
    pointer-events: none;
  }
.portal-home-legend .club-icon-card:hover,
  .portal-home-legend .club-card-visual:hover {
    transform: none;
    border-color: var(--club-card-border);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .68);
  }
.portal-home-legend .club-module-icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
.portal-home-legend .club-module-icon img {
    width: 48px;
    height: 48px;
  }
.portal-home-legend .club-module-copy {
    gap: 2px;
  }
.portal-home-legend .club-module-copy strong {
    font-size: 14px;
    line-height: 1.05;
  }
.portal-home-legend .club-module-copy small {
    font-size: 10.5px;
    line-height: 1.18;
  }
}
.portal-today-focus,
.portal-action-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(23, 54, 80, .12);
  border-left: 5px solid var(--fcj-red, #d81f2a);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 244, 244, .96), #fff);
  box-shadow: 0 12px 30px rgba(15, 34, 52, .08);
}
.portal-today-focus span,
.portal-action-strip span {
  display: block;
  color: #687684;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.portal-today-focus strong,
.portal-action-strip strong {
  display: block;
  margin-top: 3px;
  color: #173650;
  font-size: 24px;
  line-height: 1.05;
}
.portal-today-focus p,
.portal-action-strip p {
  margin: 7px 0 0;
  color: #4a5966;
  line-height: 1.4;
}
.portal-action-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left-color: rgba(23, 54, 80, .16);
  background: #fff;
}
.portal-action-strip article {
  min-width: 0;
  padding: 2px 10px;
  border-left: 1px solid #e6edf3;
}
.portal-action-strip article:first-child {
  border-left: 0;
}
.portal-action-strip article.is-urgent strong {
  color: var(--fcj-red, #d81f2a);
}
.portal-club-switcher {
  position: relative;
}
.portal-club-switcher summary {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 31, 42, .28);
  border-radius: 6px;
  background: #fff7f7;
  color: var(--fcj-red, #d81f2a);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}
.portal-club-switcher summary strong {
  max-width: 220px;
  overflow: hidden;
  color: #173650;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portal-club-switcher summary::-webkit-details-marker {
  display: none;
}
.portal-club-switcher-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 240px;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(23, 54, 80, .14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(15, 34, 52, .18);
}
.portal-club-switcher-panel form,
.portal-club-switcher-panel button {
  width: 100%;
}
.portal-club-switcher-panel button,
.portal-club-switcher-current {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: #f4f7fa;
  color: #173650;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  text-align: left;
}
.portal-club-switcher-panel button {
  cursor: pointer;
}
.portal-club-switcher-panel button:hover {
  background: #e9f1f8;
}
.portal-club-switcher-current {
  background: #fff4f4;
  color: var(--fcj-red, #d81f2a);
}
.portal-action-grid strong,
.portal-help-box strong {
  color: var(--saas-ink);
}
.portal-action-grid > a {
  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;
}
.portal-action-grid > a:hover {
  transform: translateY(-1px);
  background: #fffdfd !important;
}
.portal-action-grid > a .module-action {
  border-radius: 999px;
  background: var(--saas-red);
  color: #ffffff;
}
.portal-subnav a,
.portal-column-toggles label,
.portal-column-toggles a {
  border-color: var(--saas-line);
  background: #ffffff;
  color: var(--saas-text);
  box-shadow: none;
}
.portal-subnav a:hover,
.portal-column-toggles label:hover,
.portal-column-toggles a:hover {
  border-color: #ffd1d1;
  background: var(--saas-red-soft);
  color: var(--saas-red-dark);
  box-shadow: none;
}
.portal-subnav,
.portal-athlete-controls,
.portal-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);
}
.portal-subnav a,
.portal-column-toggles label,
.portal-column-toggles a {
  border-radius: 999px;
  font-weight: 800;
}
.portal-subnav a.is-active,
.portal-athlete-controls .status-segment a.active,
.portal-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);
}
.mobile-club-nav {
  border-top: 1px solid var(--saas-line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -10px 28px rgba(16, 24, 40, .08);
  backdrop-filter: blur(12px);
}
.mobile-club-nav a {
  color: var(--saas-muted);
}
.mobile-club-nav a.active,
.mobile-club-nav a:hover {
  color: var(--saas-red-dark);
  background: var(--saas-red-soft);
}
.portal-athlete-table {
  width: 100% !important;
  min-width: 780px !important;
  border-collapse: separate;
  border-spacing: 0 7px;
  background: transparent;
}
.portal-athlete-table th {
  padding: 11px 12px;
  background: #eef2f6;
  color: #344054;
  font-size: 12.5px;
}
.portal-athlete-table .table-sort {
  width: auto;
  justify-content: flex-start;
  gap: 6px;
}
.portal-athlete-table .table-filter-row th {
  padding: 7px 8px 10px;
  background: #f7f9fb;
}
.portal-athlete-table .table-filter-row input,
.portal-athlete-table .table-filter-row select {
  min-height: 38px;
  border-radius: 10px;
  font-size: 13px;
}
.portal-athlete-table td {
  padding: 16px 12px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  color: #162033;
  font-size: 15.5px;
  font-weight: 720;
  vertical-align: middle;
}
.portal-athlete-table tbody tr.coverage-row td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px 0 0 14px;
}
.portal-athlete-table tbody tr.coverage-row td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-radius: 0 14px 14px 0;
}
.portal-athlete-table tbody tr.coverage-full td {
  background: #e7f8ee !important;
}
.portal-athlete-table tbody tr.coverage-school td {
  background: #fff6dc !important;
}
.portal-athlete-table tbody tr.coverage-pending td {
  background: #e9f3ff !important;
}
.portal-athlete-table tbody tr.coverage-none td {
  background: #fff0ee !important;
}
.portal-athlete-table tbody tr.coverage-expired td,
.portal-athlete-table tbody tr.coverage-muted td {
  background: #f1f4f7 !important;
}
.portal-athlete-table tbody tr.coverage-full td:first-child {
  box-shadow: inset 6px 0 0 #168847;
}
.portal-athlete-table tbody tr.coverage-school td:first-child {
  box-shadow: inset 6px 0 0 #d4a019;
}
.portal-athlete-table tbody tr.coverage-pending td:first-child {
  box-shadow: inset 6px 0 0 #1a64b7;
}
.portal-athlete-table tbody tr.coverage-none td:first-child {
  box-shadow: inset 6px 0 0 #c62828;
}
.portal-athlete-table tbody tr.coverage-expired td:first-child,
.portal-athlete-table tbody tr.coverage-muted td:first-child {
  box-shadow: inset 6px 0 0 #7d8895;
}
.portal-athlete-table tbody tr.coverage-row:hover td {
  filter: saturate(1.04) brightness(.995);
  box-shadow: 0 9px 18px rgba(16, 24, 40, .08);
}
.portal-athlete-table .col-state {
  width: 58px;
  min-width: 58px;
}
.portal-athlete-table col.col-athlete {
  width: auto;
}
.portal-athlete-table col.col-sex {
  width: 72px;
}
.portal-athlete-table col.col-grade {
  width: 86px;
}
.portal-athlete-table col.col-photo {
  width: 72px;
}
.portal-athlete-table col.col-born {
  width: 118px;
}
.portal-athlete-table .license-dot {
  width: 18px;
  height: 18px;
}
.portal-athlete-table .belt {
  min-width: 54px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 14px;
}
.portal-athlete-table .athlete-name-cell {
  min-width: 300px;
}
.portal-affiliation-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.portal-affiliation-table {
  width: 100% !important;
  min-width: 760px !important;
  border-collapse: separate;
  border-spacing: 0 8px;
  background: transparent;
}
.portal-affiliation-table th {
  padding: 12px 14px;
  background: #eef2f6;
  color: #344054;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .01em;
}
.portal-affiliation-table td {
  padding: 16px 14px;
  border-top: 1px solid rgba(148, 163, 184, .18);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  background: linear-gradient(135deg, #ffffff 0%, #fbfcff 100%);
  color: #182233;
  font-size: 15px;
  font-weight: 760;
  vertical-align: middle;
  box-shadow: 0 5px 14px rgba(16, 24, 40, .045);
}
.portal-affiliation-table tbody tr td:first-child {
  border-left: 1px solid rgba(148, 163, 184, .18);
  border-radius: 14px 0 0 14px;
  box-shadow: inset 6px 0 0 rgba(124, 58, 237, .32), 0 5px 14px rgba(16, 24, 40, .045);
}
.portal-affiliation-table tbody tr td:last-child {
  border-right: 1px solid rgba(148, 163, 184, .18);
  border-radius: 0 14px 14px 0;
}
.portal-affiliation-table tbody tr:hover td {
  background: linear-gradient(135deg, #fffafa 0%, #ffffff 100%);
  border-color: rgba(208, 0, 0, .18);
  box-shadow: 0 12px 24px rgba(16, 24, 40, .085);
}
.portal-affiliation-table tbody tr.row-selected td {
  background: linear-gradient(135deg, #fff0f0 0%, #ffffff 100%) !important;
  border-color: rgba(208, 0, 0, .28);
  box-shadow: 0 12px 24px rgba(208, 0, 0, .08);
}
.portal-affiliation-table tbody tr.row-selected td:first-child {
  box-shadow: inset 6px 0 0 var(--saas-red), 0 12px 24px rgba(208, 0, 0, .08);
}
.portal-affiliation-table .affiliation-person-cell {
  min-width: 270px;
}
.portal-affiliation-table .affiliation-profile-link {
  font-size: 16px;
}
.portal-affiliation-table .status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #175cd3;
  font-size: 12px;
  font-weight: 900;
}
.portal-affiliation-table .mini-form {
  gap: 7px;
}
.portal-affiliation-table .mini-select {
  min-height: 39px;
  border-radius: 10px;
}
.portal-affiliation-table .mini-action {
  min-height: 36px;
  border-radius: 10px;
  font-weight: 900;
}
.portal-affiliation-table-compact {
  min-width: 860px !important;
}
.portal-affiliation-table-compact td {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 14px;
}
.portal-dashboard.afp-stats > div {
  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;
}
.portal-dashboard.afp-stats > div:nth-child(4n+1) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.portal-dashboard.afp-stats > div:nth-child(4n+2) {
  background: linear-gradient(135deg, #fff7e8 0%, #ffffff 100%) !important;
}
.portal-dashboard.afp-stats > div:nth-child(4n+3) {
  background: linear-gradient(135deg, #edf8f2 0%, #ffffff 100%) !important;
}
.portal-dashboard.afp-stats > div:nth-child(4n) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
.portal-afp-table.afp-tone-table {
  min-width: 900px;
}
.portal-kyu-table .portal-kyu-name-cell {
  min-width: 0;
}
.portal-kyu-person-name {
  display: inline;
  color: #111827;
  font-size: 15.5px;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.portal-kyu-candidates-table .portal-kyu-person-name,
.portal-kyu-pending-table .portal-kyu-person-name {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .65);
}
.portal-kyu-table tbody tr:hover .portal-kyu-person-name {
  color: #111827;
}
.portal-dashboard.payments-dashboard > div {
  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;
}
.portal-dashboard.payments-dashboard > div:nth-child(1) {
  background: linear-gradient(135deg, #fff1f1 0%, #ffffff 100%) !important;
}
.portal-dashboard.payments-dashboard > div:nth-child(2) {
  background: linear-gradient(135deg, #eaf8f0 0%, #ffffff 100%) !important;
}
.portal-dashboard.payments-dashboard > div:nth-child(3) {
  background: linear-gradient(135deg, #eef8ff 0%, #ffffff 100%) !important;
}
.portal-dashboard.payments-dashboard > div strong {
  color: #111827;
  font-size: 28px;
  font-weight: 950;
}
/* Federacion: landing operativa con iconos propios. */
@media (max-width: 760px) {
.portal-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
.portal-dashboard > div,
  .portal-dashboard > article {
    min-width: 0;
    padding-right: 9px;
  }
.portal-dashboard span {
    font-size: 8.5px;
    line-height: 1.15;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    letter-spacing: 0;
  }
}
/* Federation IA refresh: navigation, reports hub and denser work screens. */
/* Portal clubes landing: responsive operational home. */
.portal-dashboard > a {
  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;
}
.portal-dashboard > a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 0;
  background: var(--saas-blue);
}
.portal-dashboard > div,
.portal-dashboard > article,
.portal-dashboard > a {
  display: grid;
  grid-template-rows: 34px auto;
  align-content: start;
  gap: 4px;
  min-width: 0;
  min-height: 102px;
}
.portal-dashboard > a:hover {
  border-color: var(--saas-line-strong) !important;
  box-shadow: var(--saas-shadow-hover);
}
.portal-dashboard > :nth-child(5)::before {
  background: var(--saas-blue);
}
.portal-today-focus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}
.portal-today-focus .button {
  justify-self: end;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.portal-digest-panel > header,
.portal-calendar-panel > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-width: 0;
}
.portal-digest-panel .mini-action,
.portal-calendar-panel .mini-action {
  justify-self: end;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.portal-calendar-panel .row-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}
@media (max-width: 900px) {
.portal-landing-digest {
    grid-template-columns: 1fr;
  }
.portal-today-focus {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.portal-today-focus .button {
    justify-self: start;
  }
}
@media (max-width: 760px) {
.portal-club-home-bg {
    margin: -10px -12px 0;
    padding: 10px 12px 88px;
    border-radius: 0;
  }
.portal-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
.portal-head-manual {
    justify-self: start;
    max-width: 100%;
  }
.portal-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
.portal-dashboard > div,
  .portal-dashboard > article,
  .portal-dashboard > a {
    grid-template-rows: 38px auto;
    min-height: 98px;
    padding: 10px;
  }
.portal-dashboard strong {
    align-self: start;
    font-size: 24px;
  }
.portal-today-focus,
  .portal-digest-panel > header,
  .portal-calendar-panel > header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
.portal-today-focus .button,
  .portal-digest-panel .mini-action,
  .portal-calendar-panel .mini-action {
    justify-self: stretch;
    width: 100%;
  }
.portal-calendar-panel .row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
.portal-calendar-panel .row-actions .state-pill {
    grid-column: 1 / -1;
  }
.portal-digest-panel {
    min-height: 260px;
    max-height: 320px;
  }
.portal-digest-event,
  .portal-circular-card,
  .portal-calendar-card {
    min-width: 0;
  }
}
@media (max-width: 360px) {
.portal-dashboard {
    grid-template-columns: 1fr !important;
  }
}
/* Portal clubes: make the landing counters read as one deliberate block. */
.portal-club-home-bg .portal-head {
  align-items: center;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(15, 34, 52, .12);
}
.portal-club-home-bg .portal-head-manual {
  align-self: center;
  min-height: 54px;
  padding: 8px 13px;
  box-shadow: 0 8px 18px rgba(15, 34, 52, .08);
}
.portal-club-home-bg .portal-head-manual img {
  width: 32px;
  height: 32px;
}
.portal-club-home-bg .portal-dashboard {
  gap: 12px;
  margin-bottom: 18px;
}
.portal-club-home-bg .portal-dashboard > div,
.portal-club-home-bg .portal-dashboard > article,
.portal-club-home-bg .portal-dashboard > a {
  position: relative;
  overflow: hidden;
  grid-template-rows: minmax(34px, auto) auto;
  min-height: 98px;
  padding: 15px 16px 14px 18px;
  border: 1px solid rgba(203, 213, 225, .9) !important;
  border-top-width: 1px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(15, 34, 52, .1);
}
.portal-club-home-bg .portal-dashboard > div::before,
.portal-club-home-bg .portal-dashboard > article::before,
.portal-club-home-bg .portal-dashboard > a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  border-radius: 0;
  background: var(--saas-blue);
}
.portal-club-home-bg .portal-dashboard > :nth-child(1)::before { background: #16a163; }
.portal-club-home-bg .portal-dashboard > :nth-child(2)::before { background: #f0b429; }
.portal-club-home-bg .portal-dashboard > :nth-child(3)::before,
.portal-club-home-bg .portal-dashboard > :nth-child(4)::before,
.portal-club-home-bg .portal-dashboard > :nth-child(6)::before { background: var(--saas-red); }
.portal-club-home-bg .portal-dashboard > :nth-child(5)::before { background: var(--saas-blue); }
.portal-club-home-bg .portal-dashboard span {
  min-height: 30px;
  color: #607087;
  font-size: 10px;
  line-height: 1.18;
  letter-spacing: 0;
}
.portal-club-home-bg .portal-dashboard strong {
  align-self: end;
  color: #071d36;
  font-size: 28px;
  line-height: .95;
}
.portal-club-home-bg .portal-today-focus {
  margin-bottom: 16px;
}
@media (max-width: 760px) {
.portal-club-home-bg .portal-head {
    margin-bottom: 16px;
    padding: 15px;
  }
.portal-club-home-bg .portal-dashboard {
    gap: 9px;
  }
.portal-club-home-bg .portal-dashboard > div,
  .portal-club-home-bg .portal-dashboard > article,
  .portal-club-home-bg .portal-dashboard > a {
    min-height: 92px;
    padding: 12px 12px 12px 15px;
  }
}
.reports-hub-head .portal-kicker {
  color: var(--saas-red);
  font-weight: 950;
  text-transform: uppercase;
}
/* Contadores de economico mas compactos: menos protagonismo y la tabla sube. */
/* Etiqueta compacta de tipo de documento (Facturas) para no ensanchar la tabla. */
/* Detalle de evento: que la pagina baje del tiron, sin scroll vertical propio en
   cada tabla (se conserva el scroll horizontal para tablas anchas). */
/* Estado operativo como tira fina (antes ocupaba un panel entero). */
/* Avisos compactos. */
@media (max-width: 760px) {
.portal-kyu-candidates-table,
  .portal-kyu-pending-table,
  .portal-kyu-candidates-table tbody,
  .portal-kyu-pending-table tbody,
  .portal-kyu-candidates-table tr,
  .portal-kyu-pending-table tr,
  .portal-kyu-candidates-table td,
  .portal-kyu-pending-table td {
    display: block;
    width: 100%;
  }
.portal-kyu-candidates-table thead,
  .portal-kyu-pending-table thead {
    display: none;
  }
.portal-kyu-candidates-table,
  .portal-kyu-pending-table {
    min-width: 0 !important;
    background: transparent;
  }
.portal-kyu-candidates-table tbody tr,
  .portal-kyu-pending-table tbody tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(226, 229, 233, .96);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
  }
.portal-kyu-candidates-table td,
  .portal-kyu-pending-table td {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 7px 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
.portal-kyu-candidates-table td::before,
  .portal-kyu-pending-table td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
.portal-kyu-candidates-table .portal-kyu-name-cell,
  .portal-kyu-pending-table .portal-kyu-name-cell {
    grid-template-columns: 1fr;
  }
.portal-kyu-candidates-table .portal-kyu-name-cell::before,
  .portal-kyu-pending-table .portal-kyu-name-cell::before {
    display: none;
  }
.portal-kyu-person-name {
    font-size: 17px;
  }
.portal-kyu-candidates-table .kyu-state-pill,
  .portal-kyu-pending-table .kyu-state-pill,
  .portal-kyu-candidates-table .kyu-request-action,
  .portal-kyu-pending-table .kyu-request-action {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
/* Portal clubes: stronger home re-order. */
.portal-club-home-bg {
  margin-top: 8px;
  padding-top: 22px;
}
.portal-club-home-bg .portal-head {
  margin-bottom: 28px;
}
.portal-club-home-bg .portal-head-main {
  display: grid;
  gap: 5px;
}
.portal-head-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}
.portal-head-metrics span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(248, 250, 252, .9);
  color: #54657a;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
}
.portal-head-metrics strong {
  color: #071d36;
  font-size: 15px;
  line-height: 1;
}
.portal-club-home-bg .portal-dashboard-home {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px;
  margin-bottom: 20px;
}
.portal-club-home-bg .portal-dashboard-home > div,
.portal-club-home-bg .portal-dashboard-home > article,
.portal-club-home-bg .portal-dashboard-home > a {
  grid-template-rows: minmax(30px, auto) auto auto;
  gap: 5px;
  min-height: 104px;
  padding: 14px 14px 13px 18px;
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(1)::before {
  background: var(--saas-red, #d00000);
}
.portal-club-home-bg .portal-dashboard-home > .portal-dashboard-pending.is-clear::before {
  background: #16a163;
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(4)::before,
.portal-club-home-bg .portal-dashboard-home > :nth-child(5)::before {
  background: var(--saas-red, #d00000);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(2)::before {
  background: var(--saas-blue, #005aa9);
}
.portal-club-home-bg .portal-dashboard-home > :nth-child(3)::before {
  background: #f0b429;
}
.portal-club-home-bg .portal-dashboard-home .portal-dashboard-pending strong {
  color: var(--saas-red, #d00000);
}
.portal-club-home-bg .portal-dashboard-home .portal-dashboard-pending.is-clear strong {
  color: #16a163;
}
.portal-club-home-bg .portal-dashboard-home small {
  display: block;
  color: #607087;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}
@media (max-width: 1180px) {
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
.portal-club-home-bg {
    margin-top: 0;
    padding-top: 14px;
  }
.portal-club-home-bg .portal-head {
    margin-bottom: 22px;
  }
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
.portal-club-home-bg .portal-dashboard-home > div,
  .portal-club-home-bg .portal-dashboard-home > article,
  .portal-club-home-bg .portal-dashboard-home > a {
    min-height: 102px;
    padding: 12px 11px 12px 15px;
  }
.portal-club-home-bg .portal-dashboard-home span {
    min-height: 0;
    font-size: 10px;
  }
.portal-club-home-bg .portal-dashboard-home small {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
.portal-club-home-bg .portal-dashboard-home {
    grid-template-columns: 1fr !important;
  }
}
/* 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. */