/* ============================================================
   PANEL DE ADMINISTRACIÓN — Club Voleibol Villalba
   Hoja independiente de la web pública: prioriza densidad y
   legibilidad de formularios sobre el impacto visual.
   ============================================================ */

:root {
  --a-bg: #0b0e14;
  --a-panel: #131824;
  --a-panel-2: #1a2131;
  --a-line: #26304a;
  --a-text: #e8ecf4;
  --a-mute: #94a0bb;
  --a-accent: #84cc16;
  --a-accent-rgb: 132 204 22;
  --a-danger: #f87171;
  --a-warn: #fbbf24;
  --a-radius: 12px;
  --a-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.theme-sf2    { --a-accent: #84cc16; --a-accent-rgb: 132 204 22; }
.theme-pn     { --a-accent: #f59e0b; --a-accent-rgb: 245 158 11; }
.theme-senior { --a-accent: #ec4899; --a-accent-rgb: 236 72 153; }
.theme-junior { --a-accent: #38bdf8; --a-accent-rgb: 56 189 248; }

*, *::before, *::after { box-sizing: border-box; }

body.adm {
  margin: 0;
  background: var(--a-bg);
  color: var(--a-text);
  font-family: var(--a-font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.85em; }

/* ---------------- Cabecera y navegación -------------------- */

.adm-top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--a-panel);
  border-bottom: 1px solid var(--a-line);
}
.adm-brand {
  display: flex; align-items: center; gap: 0.625rem;
  font-weight: 700; letter-spacing: 0.02em;
  color: var(--a-accent);
}
.adm-brand span { color: var(--a-text); }
.adm-brand small {
  font-weight: 500; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--a-mute);
}
.adm-top__right { display: flex; align-items: center; gap: 1rem; }
.adm-user { font-size: 13px; color: var(--a-mute); }
.adm-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 13px; color: var(--a-accent);
}
.adm-link:hover { text-decoration: underline; }

.adm-shell { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .adm-shell { grid-template-columns: 232px 1fr; } }

.adm-side {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--a-line);
}
@media (min-width: 900px) {
  .adm-side {
    position: sticky; top: 57px; align-self: start;
    flex-direction: column; flex-wrap: nowrap;
    height: calc(100vh - 57px); overflow-y: auto;
    border-bottom: 0; border-right: 1px solid var(--a-line);
  }
}
.adm-side__link {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 0.75rem; border-radius: 8px;
  font-size: 14px; color: var(--a-mute);
  transition: background 0.15s ease, color 0.15s ease;
}
.adm-side__link:hover { background: var(--a-panel); color: var(--a-text); }
.adm-side__link.is-active {
  background: rgb(var(--a-accent-rgb) / 0.14);
  color: var(--a-accent);
  font-weight: 600;
}

.adm-main { padding: 1.5rem 1.25rem 5rem; max-width: 1180px; }
@media (min-width: 900px) { .adm-main { padding: 2rem 2rem 5rem; } }

/* ---------------- Tipografía -------------------------------- */

.adm-h1 { margin: 0 0 0.375rem; font-size: 1.625rem; letter-spacing: -0.01em; }
.adm-h2 { margin: 2.5rem 0 1rem; font-size: 1.125rem; }
.adm-lead { margin: 0 0 1.5rem; max-width: 62ch; font-size: 14px; color: var(--a-mute); }
.adm-lead strong { color: var(--a-text); }
.adm-empty { margin: 0; padding: 1rem 0; font-size: 14px; color: var(--a-mute); }
.adm-slug { margin: -0.5rem 0 1rem; font-size: 12px; color: var(--a-mute); }

/* ---------------- Avisos ------------------------------------ */

.adm-flash {
  display: flex; align-items: center; gap: 0.625rem;
  margin: 0 0 1.25rem; padding: 0.75rem 1rem;
  border-radius: var(--a-radius); font-size: 14px;
  border: 1px solid var(--a-line); background: var(--a-panel);
}
.adm-flash--ok    { border-color: rgb(var(--a-accent-rgb) / 0.5); color: var(--a-accent); }
.adm-flash--error { border-color: rgba(248, 113, 113, 0.5); color: var(--a-danger); }
.adm-flash--warn  { border-color: rgba(251, 191, 36, 0.45); color: var(--a-warn); }

/* ---------------- Tarjetas ---------------------------------- */

.adm-card {
  margin-bottom: 1.5rem; padding: 1.25rem;
  border: 1px solid var(--a-line); border-radius: var(--a-radius);
  background: var(--a-panel);
}
.adm-card--narrow { max-width: 32rem; }
.adm-card__title {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  margin: 0 0 1.125rem; font-size: 1rem; letter-spacing: 0.01em;
}
.adm-count {
  margin-left: auto; font-size: 12px; font-weight: 500; color: var(--a-mute);
}
.adm-cols { display: grid; gap: 1.5rem; }
@media (min-width: 780px) { .adm-cols { grid-template-columns: repeat(2, 1fr); } }

.adm-cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .adm-cards { grid-template-columns: repeat(3, 1fr); } }
.adm-card--team { border-top: 3px solid var(--a-accent); }
.adm-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

.adm-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem; margin: 0; }
.adm-kpis dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--a-mute); }
.adm-kpis dd { margin: 0.125rem 0 0; font-size: 1.5rem; font-weight: 700; }

.adm-quick { display: flex; flex-wrap: wrap; gap: 0.625rem; }

/* ---------------- Formularios ------------------------------- */

.adm-form { display: flex; flex-direction: column; gap: 1rem; }
.adm-form--grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  align-items: start;
}
.adm-field--wide { grid-column: 1 / -1; }

.adm-field { display: flex; flex-direction: column; gap: 0.375rem; }
.adm-field > span {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--a-mute);
}
.adm-field small { font-size: 12px; color: var(--a-mute); }
.adm-field--inline { flex-direction: row; align-items: center; gap: 0.625rem; }
.adm-field--grow { flex: 1 1 14rem; min-width: 12rem; }

input[type="text"], input[type="url"], input[type="date"], input[type="number"],
input[type="password"], input[type="search"], input[type="email"], select, textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--a-line); border-radius: 8px;
  background: var(--a-panel-2); color: var(--a-text);
  font: inherit; font-size: 14px;
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: rgb(var(--a-accent-rgb) / 0.7);
}
textarea { resize: vertical; min-height: 4.5rem; }
input[type="file"] { font-size: 13px; color: var(--a-mute); }

.adm-checks { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.adm-check { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; cursor: pointer; }
.adm-check input { accent-color: var(--a-accent); width: 1rem; height: 1rem; }

.adm-field--media { gap: 0.5rem; }
.adm-media-prev {
  width: 100%; max-width: 16rem; aspect-ratio: 16 / 9;
  border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden;
  background: var(--a-panel-2);
}
.adm-media-prev img, .adm-media-prev video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Partidos · ficha del vídeo leída de YouTube ---------- */

.adm-ytbox {
  display: grid; grid-template-columns: 10rem 1fr; gap: 0.875rem;
  padding: 0.75rem; border: 1px solid var(--a-line); border-radius: 10px;
  background: var(--a-panel-2);
}
.adm-ytbox[hidden] { display: none; }
.adm-ytbox__thumb {
  aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden;
  background: var(--a-bg);
}
.adm-ytbox__thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-ytbox__info { display: flex; flex-direction: column; gap: 0.375rem; min-width: 0; }
.adm-ytbox__info strong { font-size: 14px; line-height: 1.35; }
.adm-ytbox__meta { font-size: 12px; color: var(--a-mute); }
.adm-ytbox__flags { display: flex; flex-wrap: wrap; gap: 0.25rem; }
@media (max-width: 520px) { .adm-ytbox { grid-template-columns: 1fr; } }

.adm-ytstate { font-size: 12px; color: var(--a-mute); }
.adm-ytstate--ok { color: var(--a-accent); }
.adm-ytstate--error { color: var(--a-danger); }

.adm-filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  margin-bottom: 1.5rem; padding: 0.875rem 1rem;
  border: 1px solid var(--a-line); border-radius: var(--a-radius);
  background: var(--a-panel);
}

.adm-sticky-actions {
  position: sticky; bottom: 0;
  display: flex; justify-content: flex-end;
  padding: 0.875rem 0;
  background: linear-gradient(to top, var(--a-bg) 65%, transparent);
}

/* ---------------- Botones ----------------------------------- */

.adm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.5rem 0.9375rem;
  border: 1px solid var(--a-line); border-radius: 8px;
  background: var(--a-panel-2); color: var(--a-text);
  font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.adm-btn:hover { border-color: rgb(var(--a-accent-rgb) / 0.6); }
.adm-btn--primary {
  background: var(--a-accent); border-color: var(--a-accent); color: #0b0e14;
}
.adm-btn--primary:hover { filter: brightness(1.08); }
.adm-btn--ghost { background: transparent; }
.adm-btn--danger { color: var(--a-danger); }
.adm-btn--danger:hover { border-color: rgba(248, 113, 113, 0.6); background: rgba(248, 113, 113, 0.1); }
.adm-btn--sm { padding: 0.3125rem 0.5rem; font-size: 13px; }
.adm-btn--full { width: 100%; }

/* ---------------- Tablas ------------------------------------ */

.adm-table-wrap { overflow-x: auto; margin: 0 -0.25rem; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th, .adm-table td {
  padding: 0.5rem 0.625rem;
  border-bottom: 1px solid var(--a-line);
  text-align: left; vertical-align: middle;
}
.adm-table th {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--a-mute); white-space: nowrap;
}
.adm-table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.adm-num { font-variant-numeric: tabular-nums; }
.adm-actions { display: flex; align-items: center; gap: 0.375rem; white-space: nowrap; }
.adm-inline { display: inline; }
.adm-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; }

.adm-thumb img {
  width: 44px; height: 58px; object-fit: cover; border-radius: 6px;
  border: 1px solid var(--a-line);
}
.adm-thumb--wide img { width: 96px; height: 54px; }
.adm-thumb__ph {
  display: grid; place-items: center; width: 44px; height: 58px;
  border: 1px dashed var(--a-line); border-radius: 6px; color: var(--a-mute);
}

.adm-pill {
  display: inline-block; padding: 0.125rem 0.5rem;
  border: 1px solid var(--a-line); border-radius: 999px;
  font-size: 11px; font-weight: 600; color: var(--a-mute);
}
.adm-pill--on {
  border-color: rgb(var(--a-accent-rgb) / 0.55);
  background: rgb(var(--a-accent-rgb) / 0.12);
  color: var(--a-accent);
}
/* Temporada preparada pero invisible en la web. */
.adm-pill--off {
  border-color: color-mix(in srgb, var(--a-warn) 55%, transparent);
  background: color-mix(in srgb, var(--a-warn) 12%, transparent);
  color: var(--a-warn);
}

/* ---------------- Plantilla · conmutador y galería --------- */

.adm-viewtoggle {
  display: inline-flex; margin: 0 0 1.25rem;
  border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden;
}
.adm-viewtoggle a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; font-size: 13px; font-weight: 600; color: var(--a-mute);
  transition: background 0.15s ease, color 0.15s ease;
}
.adm-viewtoggle a + a { border-left: 1px solid var(--a-line); }
.adm-viewtoggle a:hover { color: var(--a-text); }
.adm-viewtoggle a.is-active { background: rgb(var(--a-accent-rgb) / 0.14); color: var(--a-accent); }

.adm-roster {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.adm-rcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden;
  background: var(--a-panel-2);
}
.adm-rcard--off { opacity: 0.5; }
.adm-rcard__ph {
  position: relative; aspect-ratio: 3 / 4;
  background: var(--a-bg); color: var(--a-mute);
}
.adm-rcard__ph img, .adm-rcard__ph > div { width: 100%; height: 100%; object-fit: cover; }
.adm-rcard__dorsal {
  position: absolute; left: 0; top: 0;
  padding: 0.15rem 0.5rem;
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--a-accent); color: #0b0e14;
  border-bottom-right-radius: 8px;
}
.adm-rcard__cap {
  position: absolute; right: 0.4rem; top: 0.4rem;
  width: 1.3rem; height: 1.3rem; display: grid; place-items: center;
  border-radius: 999px; background: rgb(var(--a-accent-rgb) / 0.92);
  color: #0b0e14; font-size: 10px; font-weight: 800;
}
.adm-rcard__body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; padding: 0.5rem 0.625rem 0.625rem; }
.adm-rcard__name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.adm-rcard__meta { font-size: 11px; color: var(--a-mute); }
.adm-rcard__foot { display: flex; gap: 0.375rem; margin-top: auto; padding-top: 0.55rem; }
.adm-rcard__foot .adm-btn { flex: 1; }

/* ---------------- Partidos · galería ---------------------- */

.adm-mgrid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}
.adm-mcard {
  display: flex; flex-direction: column;
  border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden;
  background: var(--a-panel-2);
}
.adm-mcard__ph {
  position: relative; aspect-ratio: 16 / 9;
  background: var(--a-bg); color: var(--a-mute);
}
.adm-mcard__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm-mcard__flag {
  position: absolute; left: 0; top: 0;
  padding: 0.15rem 0.5rem;
  font-size: 11px; font-weight: 700;
  background: var(--a-accent); color: #0b0e14;
  border-bottom-right-radius: 8px;
}
.adm-mcard__flag--alt {
  left: auto; right: 0;
  border-bottom-right-radius: 0; border-bottom-left-radius: 8px;
  background: var(--a-panel); color: var(--a-text);
}
.adm-mcard__body { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; padding: 0.6rem 0.7rem 0.7rem; }
.adm-mcard__name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.adm-mcard__meta { font-size: 11px; color: var(--a-mute); }

/* ---------------- Pantalla partida -------------------------
   Partidos, Plantillas y Jugadoras comparten esquema: franja de
   filtros arriba, listado a la izquierda con scroll propio y
   formulario a la derecha siempre visible.
   ----------------------------------------------------------- */

.adm-split { display: flex; flex-direction: column; gap: 1.25rem; }
.adm-split__top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem;
}
.adm-split__top .adm-h1 { margin: 0; }
.adm-split__top .adm-filterbar { flex: 1 1 24rem; margin: 0; }
.adm-split__top .adm-note { flex: 1 1 22rem; }

.adm-card--pane {
  display: flex; flex-direction: column; min-height: 0; margin-bottom: 0;
}
.adm-card--pane .adm-card__title { margin-bottom: 0.875rem; }
.adm-card--pane .adm-viewtoggle { margin: 0; }
.adm-card__scroll { min-height: 0; }

@media (min-width: 1100px) {
  /* La página ocupa la pantalla: solo hacen scroll los dos paneles. */
  .adm--split { height: 100vh; overflow: hidden; }
  .adm--split .adm-shell { height: calc(100vh - 57px); }
  .adm--split .adm-main {
    display: flex; flex-direction: column;
    height: 100%; min-height: 0; overflow: hidden;
    max-width: none; padding-bottom: 1.5rem;
  }

  .adm-split {
    flex: 1; min-height: 0;
    display: grid; gap: 1.25rem 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 30rem);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .adm-split__top  { grid-column: 1 / -1; grid-row: 1; }
  .adm-split__main { grid-column: 1; grid-row: 2; }
  .adm-split__side { grid-column: 2; grid-row: 2; }

  .adm-card--pane .adm-card__scroll {
    flex: 1; overflow-y: auto;
    margin: 0 -0.25rem; padding: 0 0.25rem;
    overscroll-behavior: contain;
  }
}

/* Nota contextual replegada: no roba altura al listado. */
.adm-note {
  border: 1px solid var(--a-line); border-radius: 8px;
  background: var(--a-panel); font-size: 13px; color: var(--a-mute);
}
.adm-note > summary {
  padding: 0.4rem 0.75rem; font-size: 13px; font-weight: 600;
  color: var(--a-text); cursor: pointer;
}
.adm-note > p { margin: 0; padding: 0 0.75rem 0.625rem; max-width: 62ch; }
.adm-note strong { color: var(--a-text); }

.adm-fold {
  margin-top: 1rem; border-top: 1px solid var(--a-line); padding-top: 0.875rem;
}
.adm-fold > summary {
  font-size: 13px; font-weight: 600; color: var(--a-mute); cursor: pointer;
}
.adm-fold > summary:hover { color: var(--a-text); }
.adm-fold[open] > summary { margin-bottom: 0.875rem; color: var(--a-text); }
.adm-fold .adm-lead { margin-bottom: 0.875rem; font-size: 13px; }

/* ---------------- Formulario compacto ----------------------
   Etiqueta y campo en la misma línea: el formulario del partido
   cabe entero sin scroll.
   ----------------------------------------------------------- */

.adm-form--compact { gap: 0.5rem; }
.adm-form--compact .adm-field {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.125rem 0.75rem;
}
.adm-form--compact .adm-field > span {
  font-size: 11px; line-height: 1.2; letter-spacing: 0.08em;
}
.adm-form--compact .adm-field > input,
.adm-form--compact .adm-field > select,
.adm-form--compact .adm-field > textarea,
.adm-form--compact .adm-field > div,
.adm-form--compact .adm-field > small { grid-column: 2; }
.adm-form--compact .adm-field > small { line-height: 1.3; }
.adm-form--compact input,
.adm-form--compact select { padding: 0.375rem 0.625rem; }
.adm-form--compact .adm-checks { gap: 0.25rem 1rem; }
.adm-form--compact .adm-check { font-size: 13px; }
.adm-form__actions { justify-content: flex-end; padding-top: 0.25rem; }

.adm-inrow { display: flex; align-items: center; gap: 0.375rem; }
.adm-inrow > input { flex: 1; min-width: 0; }
.adm-inrow > .adm-btn { flex: none; }

/* Las etiquetas se ven todas de un vistazo: sin scroll propio. */
.adm-checks--tags { gap: 0.25rem 0.75rem; }
.adm-form--compact .adm-field--tags { align-items: start; }
.adm-form--compact .adm-field--tags > span { padding-top: 0.3rem; }

.adm-form--compact .adm-field--media { align-items: start; }
.adm-form--compact .adm-field--media > span { padding-top: 0.3rem; }
.adm-form--compact .adm-field--media > input[type="file"],
.adm-form--compact .adm-field--media > .adm-media-prev { grid-column: 2; }
.adm-form--compact .adm-media-prev { max-width: 8rem; aspect-ratio: 3 / 4; }

.adm-form--compact .adm-ytbox {
  grid-template-columns: 6.5rem 1fr;
  gap: 0.625rem; padding: 0.5rem;
}
.adm-form--compact .adm-ytbox__info strong { font-size: 13px; }

/* ---------------- Imágenes · galería de medios ------------- */

.adm-media-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}
.adm-mtile {
  display: flex; flex-direction: column; margin: 0;
  border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden;
  background: var(--a-panel-2);
}
.adm-mtile--orphan { border-color: rgba(251, 191, 36, 0.5); }
.adm-mtile__ph {
  position: relative; aspect-ratio: 16 / 10;
  background: var(--a-bg);
}
.adm-mtile__ph img, .adm-mtile__ph video { width: 100%; height: 100%; object-fit: cover; }
.adm-mtile__badge {
  position: absolute; left: 0.4rem; top: 0.4rem;
  padding: 0.1rem 0.45rem; border-radius: 999px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.adm-mtile__badge.is-used   { background: rgb(var(--a-accent-rgb) / 0.92); color: #0b0e14; }
.adm-mtile__badge.is-orphan { background: var(--a-warn); color: #0b0e14; }
.adm-mtile__body { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; padding: 0.5rem 0.625rem 0.625rem; }
.adm-mtile__name {
  font-size: 12px; font-weight: 600; word-break: break-all; line-height: 1.3;
}
.adm-mtile__meta { font-size: 11px; color: var(--a-mute); font-variant-numeric: tabular-nums; }
.adm-mtile__uses {
  margin: 0.15rem 0 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.adm-mtile__uses li {
  font-size: 11px; color: var(--a-mute); line-height: 1.35;
  padding-left: 0.75rem; position: relative;
}
.adm-mtile__uses li::before { content: "·"; position: absolute; left: 0.25rem; }
.adm-mtile__foot { display: flex; gap: 0.375rem; margin-top: auto; padding-top: 0.55rem; }
.adm-mtile__foot .adm-btn { flex: 1; }

/* ---------------- Acceso ------------------------------------ */

.adm--login { display: grid; place-items: center; min-height: 100vh; padding: 1.5rem; }
.adm-login { width: 100%; max-width: 24rem; }
.adm-login__brand { text-align: center; margin-bottom: 1.75rem; color: var(--a-accent); }
.adm-login__brand svg { margin: 0 auto 0.75rem; }
.adm-login__brand h1 { margin: 0; font-size: 1.375rem; color: var(--a-text); }
.adm-login__brand p {
  margin: 0.25rem 0 0; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--a-mute);
}
.adm-login__form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.adm-login__foot { text-align: center; font-size: 13px; color: var(--a-mute); }
.adm-login__foot a:hover { color: var(--a-accent); }
