/* ========== SoporteUnity Design System ========== */
:root {
  /* Brand — from logo */
  --brand-navy: #0B1B4D;
  --brand-navy-2: #142560;
  --brand-navy-hover: #091640;
  --brand-cyan: #1FC4E5;
  --brand-cyan-2: #13A8C6;
  --brand-cyan-soft: #E6F8FC;

  /* Semantic accent (tweakable) */
  --accent: var(--brand-cyan);
  --accent-strong: var(--brand-cyan-2);
  --accent-soft: var(--brand-cyan-soft);

  /* Neutrals - cool-tinted */
  --ink-900: #0A1330;
  --ink-800: #162041;
  --ink-700: #2A3558;
  --ink-600: #4A5578;
  --ink-500: #6B7699;
  --ink-400: #9AA2BE;
  --ink-300: #C8CEE0;
  --ink-200: #E4E7F0;
  --ink-100: #F1F3F8;
  --ink-50:  #F8F9FC;
  --white:   #FFFFFF;

  /* Status */
  --ok: #10A37F;
  --warn: #F59E0B;
  --danger: #E04848;
  --critical: #B31E1E;
  --info: #2F7AD9;

  /* Ratings */
  --star: #FFB020;

  /* Structure */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(10,19,48,0.04);
  --shadow-sm: 0 2px 6px rgba(10,19,48,0.05), 0 1px 2px rgba(10,19,48,0.04);
  --shadow: 0 8px 24px rgba(10,19,48,0.06), 0 2px 6px rgba(10,19,48,0.04);
  --shadow-lg: 0 18px 40px rgba(10,19,48,0.10), 0 4px 10px rgba(10,19,48,0.05);

  /* Type */
  --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --pad-page: 32px;

  /* Layout */
  --max-w: min(92vw, 1800px);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html { overflow-x: clip; } }
html, body { margin: 0; padding: 0; width: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  /* overflow-x: hidden omitido — en Safari rompe position:fixed (body se convierte en scroll container) */
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

img { display: block; max-width: 100%; }

/* ========= Typography ========= */
.h-display {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink-900);
}
.h-hero {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.h-1 { font-size: 40px; line-height:1.1; letter-spacing:-0.02em; font-weight:600; margin:0; }
.h-2 { font-size: 28px; line-height:1.2; letter-spacing:-0.015em; font-weight:600; margin:0; }
.h-3 { font-size: 20px; line-height:1.3; letter-spacing:-0.01em; font-weight:600; margin:0; }
.h-4 { font-size: 16px; line-height:1.4; font-weight:600; margin:0; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.lead { font-size: 18px; line-height:1.55; color: var(--ink-600); }
.muted { color: var(--ink-500); }
.mono { font-family: var(--font-mono); }

/* ========= Buttons ========= */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand-navy); color: white; }
.btn-primary:hover { background: var(--brand-navy-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: var(--brand-navy); }
.btn-accent:hover { background: var(--accent-strong); color: white; }
.btn-outline { background: white; color: var(--brand-navy); border-color: var(--ink-200); }
.btn-outline:hover { border-color: var(--brand-navy); }
.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-100); }
.btn-lg { padding: 16px 26px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.btn-icon { padding: 10px; width: 40px; height: 40px; }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #C63F3F; }

/* ========= Inputs ========= */
.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  background: white;
  font-size: 14px;
  color: var(--ink-900);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: 0 0 0 4px rgba(11,27,77,0.08);
}
.input::placeholder { color: var(--ink-400); }
.textarea { resize: vertical; min-height: 100px; line-height:1.5; }
.label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 6px;
}

/* ========= Card ========= */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  overflow: hidden;
}
.card-pad { padding: 24px; }

/* ========= Badges ========= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  line-height: 1.4;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.badge-navy { background: rgba(11,27,77,0.08); color: var(--brand-navy); }
.badge-cyan { background: var(--accent-soft); color: var(--accent-strong); }
.badge-ok { background: #E6F6F0; color: #0B7756; }
.badge-warn { background: #FEF3E2; color: #9A5E02; }
.badge-danger { background: #FCE8E8; color: var(--critical); }
.badge-neutral { background: var(--ink-100); color: var(--ink-700); }

/* ========= Layout ========= */
.page { min-height: 100vh; min-height: 100svh; background: var(--white); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-page); }
.container-wide { max-width: min(92vw, 1800px); margin: 0 auto; padding: 0 var(--pad-page); }

/* ========= Nav ========= */
:root { --nav-h: 68px; }
@media (max-width: 768px) { :root { --nav-h: 56px; } }

.topnav {
  position: fixed; top:0; left:0; right:0; z-index: 50;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-200);
  overflow: visible;
}
.topnav-inner {
  max-width: min(92vw, 1800px); margin: 0 auto;
  padding: 0 var(--pad-page);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-left: 12px; min-width: 0; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  transition: background .15s, color .15s;
  -webkit-font-smoothing: antialiased;
}
.nav-link:hover { background: var(--ink-100); color: var(--ink-700); }
.nav-link.active { color: var(--brand-navy); background: var(--ink-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ── Botón Tienda destacado ── */
.nav-link-tienda {
  background: linear-gradient(135deg, #1FC4E5 0%, #3dd4f0 100%);
  color: var(--brand-navy) !important;
  font-weight: 700 !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(31,196,229,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-link-tienda::after {
  content: "";
  position: absolute;
  top: -60%; left: -80%;
  width: 45%; height: 220%;
  background: rgba(255,255,255,0.35);
  transform: skewX(-18deg);
  animation: tienda-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@keyframes tienda-shine {
  0%, 60%, 100% { left: -80%; }
  80%            { left: 130%; }
}
.nav-link-tienda:hover {
  box-shadow: 0 4px 14px rgba(31,196,229,0.5) !important;
  color: var(--brand-navy) !important;
  filter: brightness(1.06);
}
.nav-link-tienda:hover::after { animation: none; }
.nav-link-tienda.active {
  background: linear-gradient(135deg, #13A8C6 0%, #1FC4E5 100%) !important;
  color: var(--brand-navy) !important;
  box-shadow: 0 2px 8px rgba(31,196,229,0.4);
}
body.theme-dark .nav-link-tienda { color: var(--brand-navy) !important; }

/* ========= Search bar (tienda) ========= */
.searchbar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: 999px;
  background: var(--ink-100);
  border: 1px solid transparent;
  min-width: 280px;
  transition: all .15s;
}
.searchbar:focus-within { background: white; border-color: var(--brand-navy); box-shadow: 0 0 0 4px rgba(11,27,77,0.08); }
.searchbar input {
  flex: 1; border: 0; background: none; outline: none;
  font-size: 14px; color: var(--ink-900);
}
.searchbar input::placeholder { color: var(--ink-500); }

/* ========= Footer ========= */
.site-footer {
  background: var(--brand-navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
  margin-top: 80px;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: white; }

/* ========= Misc ========= */
.divider { height: 1px; background: var(--ink-200); margin: 24px 0; }
.kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--ink-100);
  color: var(--ink-600);
  border: 1px solid var(--ink-200);
}

.searchbar .kbd,
.searchbar .shortcut,
.searchbar .hint {
  display: none !important;
}

/* Scrollbar subtle */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* Dense mode */
body.density-compact {
  --pad-page: 24px;
}
body.density-compact .btn { padding: 10px 16px; font-size: 14px; }
body.density-compact .card-pad { padding: 18px; }

/* Dark mode */
body.theme-dark {
  --white: #0A1330;
  --ink-50: #0F1838;
  --ink-100: #162041;
  --ink-200: #1F2B54;
  --ink-300: #2A3760;
  --ink-400: #4A5578;
  --ink-500: #8A94B5;
  --ink-600: #B5BDD6;
  --ink-700: #D0D6E8;
  --ink-800: #E4E7F0;
  --ink-900: #F8F9FC;
  background: #0A1330;
  color: var(--ink-900);
}
body.theme-dark .card { background: var(--ink-50); border-color: var(--ink-200); }
body.theme-dark .topnav { background: rgba(10,19,48,0.92); border-bottom-color: var(--ink-200); }
body.theme-dark .btn-outline { background: var(--ink-50); color: var(--ink-900); border-color: var(--ink-200); }
body.theme-dark .searchbar { background: var(--ink-100); }
body.theme-dark .input, body.theme-dark .select, body.theme-dark .textarea { background: var(--ink-50); border-color: var(--ink-200); color: var(--ink-900); }

/* Tweaks panel position — keep clear of bottom-right corner */
  .tweaks-panel { z-index: 9999; }

/* ========= Responsive — tablet / landscape mobile (641–1024px) ========= */
@media (max-width: 1024px) {
  :root { --pad-page: 20px; }

  /* Hero: apila columnas, oculta visual decorativo */
  .hero-grid  { grid-template-columns: 1fr !important; gap: 40px !important; }
  .hero-visual { display: none !important; }

  /* Secciones 2 cols → 1 col */
  .section-2col { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Nav: oculta searchbar en tablet para que los links no desborden */
  .nav-searchbar { display: none !important; }
  .nav-link-sectores { display: none; }
  .topnav-inner { gap: 20px !important; }
}

/* ========= Pantallas medianas (1025–1280px) ========= */
@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-searchbar { display: none !important; }
  .nav-link-sectores { display: none; }
  .topnav-inner { gap: 20px !important; }
}

/* ========= Ventana estrecha (768–1100px, e.g. snap 50% en 1920px) — links comprimidos ========= */
@media (min-width: 768px) and (max-width: 1100px) {
  .nav-searchbar { display: none !important; }
  .nav-link { padding: 6px 10px !important; font-size: 13px !important; }
  .topnav-inner { gap: 12px !important; }
  .nav-links { margin-left: 0 !important; }
}

/* ========= Responsive móvil (≤ 768px) ========= */
@media (max-width: 768px) {
  :root { --pad-page: 14px; }

  /* Tipografía — recorte agresivo para pantallas pequeñas */
  .h-display { font-size: 26px !important; line-height: 1.1 !important; letter-spacing: -0.02em !important; }
  .h-1    { font-size: 22px !important; }
  .h-2    { font-size: 18px !important; }
  .h-3    { font-size: 16px !important; }
  .h-hero { font-size: 24px !important; }
  .lead   { font-size: 15px !important; }
  .eyebrow { font-size: 11px !important; }

  /* Secciones: reducir el padding vertical inline */
  section { padding-top: 40px !important; padding-bottom: 40px !important; }

  /* Container */
  .container, .container-wide { padding: 0 14px; }

  /* Botones en bloque */
  .btn-lg { width: 100%; justify-content: center; font-size: 15px; padding: 14px 20px; }

  /* Botones pequeños: no al 100% */
  .btn-sm { width: auto; }

  /* Searchbar sin min-width */
  .searchbar { min-width: unset !important; width: 100%; }

  /* Footer */
  .site-footer { margin-top: 40px; padding: 36px 0 20px; }

  /* Secciones 3 cols → 1 col */
  .section-3col  { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Home — formulario contacto: 2 cols → 1 col */
  .form-2col { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Tickets — panel dividido → 1 col */
  .tickets-login-grid { grid-template-columns: 1fr !important; }
  .tickets-login-right { display: none !important; }

  /* Paginación shop */
  .pag-btn-text { display: none; }

  /* Cards: padding más compacto */
  .card-pad { padding: 16px !important; }

  /* Planes: sin scale */
  .card[style*="scale"] { transform: none !important; }
}

/* ========= Landscape móvil: pantalla baja, ancho suficiente ========= */
@media (max-height: 500px) and (orientation: landscape) {
  /* Nav más compacta */
  .topnav-inner { height: 52px; }

  /* Hero menos padding */
  .hero-section { padding-top: 56px !important; padding-bottom: 40px !important; }
}

/* ========= Cookie Consent Banner ========= */
.cookie-banner-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cookie-banner-wrap--visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner {
  background: #0A1330;
  color: rgba(255,255,255,0.88);
  box-shadow: 0 -4px 24px rgba(10,19,48,0.22);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.80);
}

.cookie-banner-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.cookie-banner-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner-link:hover { color: var(--accent-strong); }

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Cookie banner buttons */
.cookie-btn-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.75);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,0.60);
  color: #fff;
}

.cookie-btn-config {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.75);
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.cookie-btn-config:hover {
  border-color: rgba(255,255,255,0.60);
  color: #fff;
}

.cookie-btn-accept {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #0A1330;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.cookie-btn-accept:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.cookie-btn-save {
  background: var(--accent);
  border: none;
  color: #0A1330;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-btn-save:hover { background: var(--accent-strong); }

/* Config panel — slides above the banner */
.cookie-config-panel {
  background: #111c40;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cookie-config-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.cookie-pref-row:last-of-type { border-bottom: none; }

.cookie-pref-info { flex: 1; }

.cookie-pref-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
  cursor: pointer;
}

.cookie-pref-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 560px;
}

.cookie-always-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--ok);
  background: rgba(16,163,127,0.15);
  border: 1px solid rgba(16,163,127,0.30);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  transition: background 0.2s;
  padding: 0;
  outline: none;
}

.cookie-toggle--on {
  background: var(--accent);
}

.cookie-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(31,196,229,0.40);
}

.cookie-toggle-thumb {
  position: absolute;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.cookie-toggle--on .cookie-toggle-thumb {
  left: calc(44px - 18px - 3px);
}

/* ── Mobile adjustments for cookie banner ─────────────────────────── */
@media (max-width: 767px) {
  .cookie-banner-inner {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn-reject,
  .cookie-btn-config,
  .cookie-btn-accept {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
  }

  .cookie-config-inner {
    padding: 16px;
  }

  .cookie-pref-row {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════════════════
   Admin Panel — mobile-first layout
   ═══════════════════════════════════════════════════════════ */

/* Contenedor raíz */
.admin-wrap  { background: var(--ink-50); min-height: calc(100vh - 68px); }

/* Inner: reemplaza .container para el admin — controla todo el padding */
.admin-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 14px 80px;   /* mobile first: padding compacto */
}

/* Cabecera: título + botones */
.admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

/* Grupo de botones: siempre hace wrap */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Stats: 2 columnas en móvil */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

/* Pestañas: scroll horizontal oculto, sin desbordamiento */
.admin-tabs {
  display: flex;
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }

.admin-tab-btn {
  flex-shrink: 0;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--ink-500);
  cursor: pointer;
  font-family: inherit;
}
.admin-tab-btn.is-active { color: var(--brand-navy); border-bottom-color: var(--brand-navy); }

/* Buscador: ancho completo en móvil */
.admin-search { max-width: min(360px, 100%); margin-bottom: 16px; }

/* ── Filas de tabla (desktop) ─────────────────────────── */
.admin-thead {
  display: grid;
  padding: 12px 24px;
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-200);
}
.admin-drow {
  display: grid;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--ink-100);
}
/* Grid columns por sección */
.admin-gc { grid-template-columns: 1fr 140px 100px 120px 90px 160px; }
.admin-go { grid-template-columns: 150px 1fr 130px 120px 130px 80px; }
.admin-gt { grid-template-columns: 110px 1fr 130px 130px 130px 150px; }

/* ── Tarjetas móvil ────────────────────────────────────── */
.admin-mcard         { padding: 14px 16px; border-bottom: 1px solid var(--ink-100); }
.admin-mcard-title   { font-weight: 600; font-size: 14px; }
.admin-mcard-sub     { font-size: 12px; color: var(--ink-500); margin-top: 2px; }
.admin-mcard-meta    { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 10px 0 6px; }
.admin-mcard-field   { display: flex; flex-direction: column; gap: 2px; }
.admin-mcard-label   { font-size: 10px; font-weight: 700; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; }
.admin-mcard-val     { font-size: 13px; }
.admin-mcard-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* ── Breakpoint desktop ≥768 px ────────────────────────── */
@media (min-width: 768px) {
  .admin-inner   { padding: 32px var(--pad-page) 80px; }
  .admin-header  { margin-bottom: 32px; }
  .admin-stats   { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
  .admin-tab-btn { padding: 12px 20px; font-size: 14px; }
  .admin-search  { margin-bottom: 20px; }
}
