/* Antes iba incrustado en templates/base.html. */
    /* Texto pequeño medio píxel más grande en toda la web (los espaciados no
       cambian, así no aparecen saltos de línea nuevos). «html» delante para
       ganar a las clases de Tailwind (static/css/app.css va al final del <head>). */
    html .text-sm { font-size: .90625rem; }
    html .text-xs { font-size: .78125rem; }
    html .text-\[11px\] { font-size: 11.5px; }
    html .text-\[10px\] { font-size: 10.5px; }
    html .text-\[9px\] { font-size: 9.5px; }
  

    /* Crossfade nativo entre navegaciones (Chrome/Edge/Safari 18+).
       Firefox lo ignora silenciosamente → no rompe nada. Respeta
       prefers-reduced-motion automáticamente. Las dos páginas (saliente
       y entrante) deben tener la regla — por eso vive en la base. */
    @view-transition { navigation: auto; }
    ::view-transition-old(root),
    ::view-transition-new(root) { animation-duration: 220ms; }

    button, a { -webkit-tap-highlight-color: transparent; }
    .btn-primary { transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
    .btn-primary:active { transform: scale(0.97); }
    input:focus { outline: none; }
    /* …pero con teclado el foco tiene que verse (WCAG 2.4.7): las casillas y los
       campos sin .input-base (buscadores de listas, alta de empresa) se quedaban
       sin ninguna marca. Los .input-base ya tienen la suya (borde + halo). */
    input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 2px solid #37a9fb; outline-offset: 2px; }
    input:not(.input-base):not([type=checkbox]):not([type=radio]):focus-visible { box-shadow: 0 0 0 3px rgba(55,169,251,.35); }
    /* Cuando hagas scroll a anchors (#id), deja 64px de buffer debajo del
       nav sticky para que el contenido no quede tapado por la barra. */
    html { scroll-padding-top: 64px; scroll-behavior: smooth; }
    /* Evita rebote/over-scroll en el body — el scroll se detiene en el
       borde del documento (no hay "espacio" más allá del footer). */
    html, body { overscroll-behavior-y: none; }

    /* ── Modo oscuro (paleta "taste": slate neutro, sin negro puro, un
       solo acento brand aclarado, saturación baja, sombras tintadas). Se
       mapean SOLO superficies/textos neutros; los colores de estado
       (verde/ámbar/rojo/violeta/brand) se dejan intactos. ─────────────── */
    html.dark { color-scheme: dark; }
    html.dark body { background:#0f141f !important; color:#c4cbd6; }

  /* ── Barras de desplazamiento ──────────────────────────────────────────
     Finas, redondeadas, sin flechas y con el canal transparente (antes:
     las de Windows, gruesas, con flechas y canal gris). Chrome/Edge/Safari
     usan los pseudo-elementos ::-webkit-scrollbar (control total); Firefox
     las propiedades estándar. El "border transparente + background-clip"
     separa el pulgar del borde sin ocupar más espacio. */
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  ::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.38);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
  }
  ::-webkit-scrollbar-thumb:hover { background-color: rgba(71, 85, 105, 0.6); }
  @supports not selector(::-webkit-scrollbar) {
    * { scrollbar-width: thin; scrollbar-color: rgba(100, 116, 139, 0.45) transparent; }
  }
  html.dark ::-webkit-scrollbar-thumb { background-color: rgba(148, 163, 184, 0.28); }
  html.dark ::-webkit-scrollbar-thumb:hover { background-color: rgba(148, 163, 184, 0.45); }
  @supports not selector(::-webkit-scrollbar) {
    html.dark * { scrollbar-color: rgba(148, 163, 184, 0.35) transparent; }
  }

    /* Superficies neutras (tarjetas, paneles, modales) */
    html.dark .bg-white,
    html.dark [class*="bg-white/"] { background-color:#171d29 !important; }
    html.dark .bg-slate-50, html.dark .bg-slate-100 { background-color:#1e2533 !important; }
    html.dark .bg-slate-50\/30, html.dark .bg-brand-50\/30 { background-color:#141a25 !important; }
    html.dark .bg-slate-50\/95, html.dark .bg-white\/95,
    html.dark .bg-white\/85, html.dark .bg-white\/90 { background-color:#171d29 !important; }
    html.dark nav.sticky { background:#141a25 !important; }
    html.dark .glass { background:rgba(23,29,41,.92) !important; backdrop-filter:blur(12px); }

    /* Bordes y divisores — sutiles, bajo contraste */
    html.dark .border-slate-100, html.dark .border-slate-200,
    html.dark .border-slate-300, html.dark .divide-slate-100 > * + *,
    html.dark .divide-slate-200 > * + * { border-color:#2c3340 !important; }

    /* Texto: jerarquía clara sin llegar a blanco puro */
    html.dark .text-slate-900, html.dark .text-slate-800,
    html.dark .text-slate-700 { color:#c4cbd6 !important; }
    html.dark .text-slate-600, html.dark .text-slate-500 { color:#b2bac8 !important; }
    /* Terciario (#8590a1): ≥ 4,5:1 también sobre la superficie elevada #1e2533
       (antes #7e8898: 4,29:1). Ver STYLEGUIDE.md §3 bis (contraste). */
    html.dark .text-slate-400, html.dark .text-slate-300 { color:#8590a1 !important; }

    /* Acento: links/iconos brand un poco más claros para contraste */
    html.dark .text-brand-600, html.dark .text-brand-700 { color:#37a9fb !important; }
    /* Botones azules (Tailwind): mismo azul que en claro, apenas más hondo, y texto casi blanco
       (texto #eef2f7 sobre #006bc0 = 4,8:1; hover #0060ad) */
    html.dark .bg-brand-600, html.dark .bg-brand-500 { background-color:#006bc0 !important; }
    html.dark .bg-brand-700, html.dark .hover\:bg-brand-700:hover,
    html.dark .hover\:bg-brand-600:hover { background-color:#0060ad !important; }
    html.dark .bg-brand-600.text-white, html.dark .bg-brand-500.text-white,
    html.dark .bg-brand-700.text-white, html.dark .bg-brand-600 .text-white { color:#eef2f7 !important; }
    /* CTA blanco del hero (sobre el degradado azul): en oscuro, botón azul */
    html.dark .btn-primary.bg-white { background-color:#006bc0 !important; color:#eef2f7 !important; }
    html.dark .btn-primary.bg-white:hover { background-color:#0060ad !important; }
    html.dark .steps .step-n { color:#37a9fb; }   /* #0072cb sobre #171d29 daba 3,4:1 */

    /* Hovers neutros */
    html.dark .hover\:bg-slate-50:hover, html.dark .hover\:bg-slate-100:hover,
    html.dark .hover\:bg-slate-200:hover { background-color:#222a39 !important; }
    html.dark .hover\:bg-brand-50:hover { background-color:#1c2941 !important; }
    /* Modales (id="modal-…", fondo a pantalla completa): entrada suave en vez
       de aparecer de golpe. Sin backdrop-filter: el desenfoque a pantalla
       completa hacía parpadear las sombras de detrás en Chrome/Windows. */
    @keyframes ubiVeloIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes ubiModalIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
    .fixed.inset-0[id^="modal-"]:not(.hidden) { animation: ubiVeloIn .18s ease both; }
    .fixed.inset-0[id^="modal-"]:not(.hidden) > div { animation: ubiModalIn .24s cubic-bezier(.16,1,.3,1) both; }
    /* Diálogos uiAlert/uiConfirm/uiPrompt: misma entrada que los modales */
    .ui-dialog-wrap { animation: ubiVeloIn .18s ease both; }
    .ui-dialog-wrap > div { animation: ubiModalIn .24s cubic-bezier(.16,1,.3,1) both; }
    @media (prefers-reduced-motion: reduce) {
      .fixed.inset-0[id^="modal-"]:not(.hidden), .fixed.inset-0[id^="modal-"]:not(.hidden) > div,
      .ui-dialog-wrap, .ui-dialog-wrap > div { animation: none; }
    }
    html.dark .hover\:bg-rose-50:hover { background-color:rgba(244,63,94,.15) !important; }
    html.dark .hover\:border-rose-200:hover { border-color:rgba(244,63,94,.35) !important; }
    html.dark .hover\:text-rose-600:hover { color:#fda4af !important; }

    /* Casillas y radios con el azul de la marca (no el color del sistema) */
    input[type=checkbox], input[type=radio] { accent-color:#0072cb; }
    html.dark input[type=checkbox], html.dark input[type=radio] { accent-color:#37a9fb; }
    /* Campo de texto estándar (buscador, empresa, gestor…) */
    .input-base { width:100%; border-radius:.75rem; border:1px solid #e2e8f0; padding:.55rem .85rem; font-size:.875rem; outline:none; background:white; transition:border-color .15s,box-shadow .15s; }
    .input-base:focus { border-color:#37a9fb; box-shadow:0 0 0 3px rgba(55,169,251,.14), 0 1px 2px rgba(0,0,0,.03); }
    /* Campos de formulario */
    html.dark input, html.dark select, html.dark textarea,
    html.dark .input-base {
      background:#131925 !important; color:#c4cbd6 !important;
      border-color:#313a4a !important;
    }
    /* Placeholders legibles (≥ 4,5:1 sobre el campo): slate-500 en claro
       (Tailwind ponía #9ca3af, 2,5:1) y el terciario en oscuro (antes #5f6b7d, 3,3:1) */
    html :is(input, textarea)::placeholder { color:#64748b; }
    html.dark ::placeholder { color:#8590a1 !important; }

    /* ── Cabecera: navegación principal y menú de cuenta ─────────────── */
    .hdr-link {
      display:inline-flex; align-items:center; gap:.4rem; padding:.45rem .8rem;
      border-radius:9999px; font-size:.8rem; font-weight:600; color:#475569;
      transition:color .15s, background-color .15s;
    }
    .hdr-link:hover { color:#0059a4; background:#f0f7ff; }
    .hdr-link.is-active { color:#0059a4; background:#e0efff; }
    .um-avatar {
      width:2rem; height:2rem; border-radius:9999px; flex-shrink:0;
      display:inline-flex; align-items:center; justify-content:center;
      background:#0072cb; color:#fff; font-size:.8rem; font-weight:800;
      box-shadow:0 1px 3px rgba(15,23,42,.18);
    }
    .um-avatar-lg { width:2.5rem; height:2.5rem; font-size:1rem; }
    .um-sep { height:1px; background:#f1f5f9; }
    .um-item {
      display:flex; align-items:center; gap:.65rem; padding:.6rem 1rem;
      color:#334155; transition:background-color .12s, color .12s;
    }
    .um-item:hover { background:#f8fafc; color:#0059a4; }
    .um-item .um-ico { color:#94a3b8; }
    .um-item:hover .um-ico { color:#0072cb; }
    .um-danger { color:#dc2626; }
    .um-danger:hover { background:#fef2f2; color:#b91c1c; }
    .um-seg {
      display:inline-flex; gap:2px; padding:3px; border-radius:9999px; background:#f1f5f9;
    }
    .um-seg button {
      display:inline-flex; align-items:center; gap:.3rem; border:0; background:none;
      padding:.3rem .65rem; border-radius:9999px; font-size:.72rem; font-weight:700;
      color:#64748b; cursor:pointer; transition:background-color .15s, color .15s;
    }
    .um-seg button:hover { color:#334155; }
    .um-seg button.on { background:#fff; color:#0059a4; box-shadow:0 1px 3px rgba(15,23,42,.12); }
    @keyframes um-in { from { opacity:0; transform:translateY(-4px) scale(.98); } to { opacity:1; transform:none; } }
    #user-dropdown.um-in { animation:um-in .18s cubic-bezier(.16,1,.3,1); transform-origin:top right; }
    @media (pointer:coarse) { .um-item { padding:.75rem 1rem; } .um-seg button { padding:.45rem .8rem; } }
    html.dark .hdr-link { color:#b2bac8 !important; }
    html.dark .hdr-link:hover { color:#7cc5fd !important; background:#1c2941 !important; }
    html.dark .hdr-link.is-active { color:#7cc5fd !important; background:#1c2941 !important; }
    html.dark .um-sep { background:#2c3340 !important; }
    html.dark .um-item { color:#cbd5e1 !important; }
    html.dark .um-item:hover { background:#1e2533 !important; color:#7cc5fd !important; }
    html.dark .um-item .um-ico { color:#8590a1 !important; }
    html.dark .um-danger { color:#f87171 !important; }
    html.dark .um-danger:hover { background:rgba(239,68,68,.12) !important; color:#fca5a5 !important; }
    html.dark .um-seg { background:#131925 !important; }
    html.dark .um-seg button { color:#8590a1 !important; }
    html.dark .um-seg button.on { background:#1c2941 !important; color:#7cc5fd !important; box-shadow:none !important; }
    html.dark .um-avatar { background:#37a9fb !important; color:#0f141f !important; }

    /* Sombras tintadas (más profundas, sin halos claros) */
    html.dark .shadow, html.dark .shadow-sm, html.dark .shadow-md,
    html.dark .shadow-lg, html.dark .shadow-xl, html.dark .shadow-2xl {
      box-shadow:0 10px 30px -14px rgba(0,0,0,.75) !important;
    }

    /* Tarjetas de planes / popups del mapa */
    html.dark .tier-card { background:#171d29 !important; }
    html.dark .leaflet-popup-content-wrapper,
    html.dark .leaflet-popup-tip { background:#171d29 !important; color:#c4cbd6 !important; }

    /* Fondo de página: muchas plantillas usan inline style="background:#f8fafc"
       en el wrapper; lo neutralizamos para que respete el body oscuro. */
    html.dark [style*="background:#f8fafc"],
    html.dark [style*="background: #f8fafc"] { background:#0f141f !important; }

    /* Desplegables de filtros (combos / autocompletar) — definidos en
       index.html con background:white fijo. */
    html.dark .combo-trigger { background:#131925 !important; border-color:#313a4a !important; }
    html.dark .combo-dropdown, html.dark .mun-autocomplete {
      background:#171d29 !important; border-color:#2c3340 !important;
      box-shadow:0 10px 30px -14px rgba(0,0,0,.75) !important;
    }
    html.dark .mun-ac-item { color:#cbd5e1 !important; }
    html.dark .mun-ac-item:hover, html.dark .mun-ac-item.active {
      background:#1c2941 !important; color:#7cc5fd !important;
    }
    html.dark .combo-placeholder { color:#8590a1 !important; }
    html.dark .croquis-wrap { background:#1e2533 !important; border-color:#2c3340 !important; }
    html.dark .ubi-sup-tabs { background:#131925 !important; }
    html.dark .ubi-sup-tabs button { color:#8590a1 !important; }
    html.dark .ubi-sup-tabs button.active { background:#232b3a !important; color:#c4cbd6 !important; box-shadow:none !important; }

    /* Cabecera de la tarjeta de suscripción: en claro es un degradado
       suave por tier; en oscuro lo pasamos a superficie oscura para que el
       texto (que ya es claro) se lea, y aclaramos la etiqueta del tier. */
    html.dark .sub-card-head {
      background-image:none !important; background-color:#1b2333 !important;
    }
    html.dark .sub-card-head .text-blue-700   { color:#60a5fa !important; }
    html.dark .sub-card-head .text-violet-700 { color:#a78bfa !important; }
    html.dark .sub-card-head .text-emerald-700{ color:#34d399 !important; }

    /* ── Pulido dark "taste" v2 ────────────────────────────────────────
       Las superficies pastel claras (-50/-100, blancos fijos) y los pills
       activos se veían como manchas blancas. Solución taste: superficies
       traslúcidas tintadas al mismo tono, bordes de bajo contraste y texto
       de acento aclarado (no blanco). Sin negro puro, un solo acento. */

    /* Selects personalizados (filtros): tenían background:white fijo */
    /* Acento brand en superficies pastel (cajas de código, chips brand) */
    html.dark .bg-brand-50, html.dark .bg-brand-100,
    html.dark .bg-brand-50\/95 { background-color:rgba(55,169,251,.12) !important; }
    html.dark .border-brand-100, html.dark .border-brand-200 {
      border-color:rgba(55,169,251,.24) !important;
    }
    /* Bordes pastel de acento: tinte translúcido del mismo tono (si no,
       quedan como líneas claras sobre la superficie oscura). */
    html.dark .border-blue-100, html.dark .border-blue-200 { border-color:rgba(59,130,246,.3) !important; }
    html.dark .border-amber-100, html.dark .border-amber-200, html.dark .border-amber-300 { border-color:rgba(245,158,11,.3) !important; }
    html.dark .border-emerald-100, html.dark .border-emerald-200,
    html.dark .border-green-200 { border-color:rgba(16,185,129,.3) !important; }
    html.dark .border-red-100, html.dark .border-red-200, html.dark .border-red-300 { border-color:rgba(239,68,68,.3) !important; }
    html.dark .border-rose-100, html.dark .border-rose-200 { border-color:rgba(244,63,94,.3) !important; }
    html.dark .border-violet-100, html.dark .border-violet-200 { border-color:rgba(139,92,246,.3) !important; }

    /* Fondos pastel de color (-50/-100) → tinte traslúcido al mismo tono.
       Mata las manchas blancas de los iconos de etiqueta sin perder color. */
    html.dark .bg-violet-50, html.dark .bg-violet-100 { background-color:rgba(139,92,246,.15) !important; }
    html.dark .bg-emerald-50,html.dark .bg-emerald-100{ background-color:rgba(16,185,129,.15) !important; }
    html.dark .bg-amber-50,  html.dark .bg-amber-100,
    html.dark .bg-amber-50\/95, html.dark .bg-amber-50\/30 { background-color:rgba(245,158,11,.15) !important; }
    html.dark .bg-sky-50,    html.dark .bg-sky-100    { background-color:rgba(14,165,233,.15) !important; }
    html.dark .bg-cyan-50,   html.dark .bg-cyan-100   { background-color:rgba(6,182,212,.15) !important; }
    html.dark .bg-indigo-50, html.dark .bg-indigo-100 { background-color:rgba(99,102,241,.15) !important; }
    html.dark .bg-rose-50,   html.dark .bg-rose-100,
    html.dark .bg-rose-50\/95, html.dark .bg-rose-100\/95 { background-color:rgba(244,63,94,.15) !important; }
    html.dark .bg-orange-50, html.dark .bg-orange-100 { background-color:rgba(249,115,22,.15) !important; }
    html.dark .bg-blue-50,   html.dark .bg-blue-100   { background-color:rgba(59,130,246,.15) !important; }
    html.dark .bg-purple-50, html.dark .bg-purple-100 { background-color:rgba(168,85,247,.15) !important; }
    html.dark .bg-red-50,    html.dark .bg-red-100    { background-color:rgba(239,68,68,.15) !important; }
    html.dark .bg-green-50,  html.dark .bg-green-100  { background-color:rgba(34,197,94,.15) !important; }
    /* Texto verde sobre ese tinte (p. ej. la pastilla de consultas): verde 700 daba 2,7:1 */
    html.dark .text-green-700, html.dark .text-green-600 { color:#4ade80 !important; }
    html.dark .bg-fuchsia-50, html.dark .bg-fuchsia-100 { background-color:rgba(217,70,239,.15) !important; }
    html.dark .bg-teal-50,   html.dark .bg-teal-100   { background-color:rgba(20,184,166,.15) !important; }

    /* Texto de acento sobre esos tintes: aclarado para contraste (no blanco) */
    html.dark .text-violet-700,  html.dark .text-violet-600  { color:#a78bfa !important; }
    html.dark .text-emerald-700, html.dark .text-emerald-600 { color:#34d399 !important; }
    html.dark .text-amber-700,   html.dark .text-amber-600,
    html.dark .text-amber-800,   html.dark .text-amber-900 { color:#fbbf24 !important; }
    html.dark .text-emerald-900 { color:#34d399 !important; }
    html.dark .text-rose-800 { color:#fb7185 !important; }
    html.dark .text-sky-700,     html.dark .text-sky-600     { color:#38bdf8 !important; }
    html.dark .text-cyan-600,    html.dark .text-cyan-500    { color:#22d3ee !important; }
    html.dark .text-indigo-600 { color:#818cf8 !important; }
    html.dark .text-orange-700,  html.dark .text-orange-600  { color:#fb923c !important; }
    html.dark .text-blue-700,    html.dark .text-blue-600    { color:#60a5fa !important; }
    html.dark .text-purple-700,  html.dark .text-purple-600  { color:#c084fc !important; }
    html.dark .text-fuchsia-700, html.dark .text-fuchsia-800, html.dark .text-fuchsia-600 { color:#e879f9 !important; }
    html.dark .text-teal-700,    html.dark .text-teal-800,    html.dark .text-teal-600    { color:#2dd4bf !important; }
    html.dark .text-sky-800 { color:#38bdf8 !important; }
    html.dark .text-orange-800 { color:#fb923c !important; }
    html.dark .text-blue-800 { color:#60a5fa !important; }
    html.dark .text-violet-800 { color:#a78bfa !important; }
    html.dark .border-sky-200, html.dark .border-fuchsia-200, html.dark .border-teal-200,
    html.dark .border-orange-200 { border-color:rgba(148,163,184,.25) !important; }
    html.dark .text-red-700,     html.dark .text-red-600     { color:#f87171 !important; }
    html.dark .text-rose-700,    html.dark .text-rose-600,
    html.dark .text-rose-500 { color:#fb7185 !important; }
    /* Variante «!» de Tailwind (p. ej. «Cancelar» en el panel de empresa):
       #e11d48 sobre #1e2533 daba 3,27:1 */
    html.dark .\!text-rose-600, html.dark .\!text-red-600 { color:#fb7185 !important; }

    /* Badge clase del inmueble: buscador, Favoritos y Gestor */
    .tag { display:inline-block; padding:2px 8px; border-radius:9999px; font-size:.7rem; font-weight:600; letter-spacing:.03em; white-space:nowrap; }
    .tag-urbano   { background:#dbeafe; color:#1e40af; }
    .tag-rustico  { background:#dcfce7; color:#166534; }
    .tag-especial { background:#fef9c3; color:#854d0e; }
    .tag-otro     { background:#f1f5f9; color:#475569; }
    html.dark .tag-urbano   { background:rgba(59,130,246,.16) !important; color:#60a5fa !important; }
    html.dark .tag-rustico  { background:rgba(34,197,94,.16) !important;  color:#34d399 !important; }
    html.dark .tag-especial { background:rgba(234,179,8,.16) !important;  color:#facc15 !important; }
    html.dark .tag-otro     { background:#1e2533 !important;              color:#94a3b8 !important; }

    /* Toggle de vista (Lista/Mosaico/Mapa): el activo era un pill blanco */
    html.dark .vista-btn { color:#8590a1 !important; }
    html.dark .vista-btn.active {
      background:#1c2941 !important; color:#7cc5fd !important;
      box-shadow:none !important;
    }
    html.dark .vista-btn:not(.active):hover { color:#cbd5e1 !important; }

    /* Paginación: botones con background:white fijo */
    html.dark .pag-btn {
      background:#131925 !important; border-color:#2c3340 !important;
      color:#b2bac8 !important;
    }
    html.dark .pag-btn:hover:not(:disabled) {
      border-color:#37a9fb !important; color:#7cc5fd !important;
    }
    html.dark .pag-btn.active {
      background:#1c64b0 !important; border-color:#1c64b0 !important;
      color:#eaf4ff !important;
    }

    /* Chip-candado premium (.lock-chip, hex fijo en index.html) */
    html.dark .lock-chip {
      background:rgba(245,158,11,.16) !important;
      border-color:rgba(245,158,11,.32) !important;
      color:#fbbf24 !important;
      box-shadow:0 2px 6px rgba(0,0,0,.4) !important;
    }

    /* Etiquetas de tier en suscripción (.tier-tag, estilo inline por hue) */
    html.dark .tier-tag[style*="#f1f5f9"] { background:#1e2533 !important; color:#94a3b8 !important; }
    html.dark .tier-tag[style*="#dbeafe"] { background:rgba(59,130,246,.18) !important; color:#60a5fa !important; }
    html.dark .tier-tag[style*="#ede9fe"] { background:rgba(139,92,246,.18) !important; color:#a78bfa !important; }
    html.dark .tier-tag[style*="#dcfce7"] { background:rgba(34,197,94,.18) !important; color:#34d399 !important; }
  

/* «Saltar al contenido»: invisible hasta que se llega con el teclado (WCAG 2.4.1) */
.skip-link { position:fixed; left:12px; top:-60px; z-index:10000; padding:.6rem 1rem; border-radius:.75rem;
  background:#0072cb; color:#fff; font-weight:700; font-size:.875rem; text-decoration:none; transition:top .15s; }
.skip-link:focus { top:12px; outline:3px solid #93c5fd; outline-offset:2px; }
html.dark .skip-link { background:#006bc0; color:#eef2f7; }
#contenido:focus { outline:none; }
