/* Portal de continuidad de PrivAtlas. Tokens alineados con static/css/theme.css (teal + Inter), sin dependencias
   externas: la CSP solo permite recursos propios y nada en línea. Movimiento: solo transform y opacity, curvas con
   carácter, < 300 ms, y prefers-reduced-motion respetado. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f4f7f9; --surface: #ffffff; --surface-2: #f8fafc; --border: #e2e8f0; --border-soft: #eef2f6;
  --text: #0f172a; --text-2: #475569; --muted: #8493a8;
  --accent: #0d9488; --accent-hover: #0f766e; --accent-soft: #ccfbf1; --accent-glow: rgba(13, 148, 136, .14); --on-accent: #ffffff;
  --ok: #10b981; --ok-soft: #d1fae5; --warn: #d97706; --warn-soft: #fef3c7; --danger: #dc2626; --danger-soft: #fee2e2;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 1px rgba(15, 23, 42, .04);
  --shadow-2: 0 10px 30px -12px rgba(15, 23, 42, .25), 0 2px 6px rgba(15, 23, 42, .06);
  --radius: 14px; --radius-sm: 10px;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #020617; --surface: #0b1324; --surface-2: #0f172a; --border: #1e293b; --border-soft: #152033;
    --text: #f1f5f9; --text-2: #cbd5e1; --muted: #7b8aa3;
    --accent: #2dd4bf; --accent-hover: #5eead4; --accent-soft: #08332f; --accent-glow: rgba(45, 212, 191, .16); --on-accent: #042f2e;
    --ok: #34d399; --ok-soft: #0b3a2c; --warn: #fbbf24; --warn-soft: #3b2a07; --danger: #f87171; --danger-soft: #3f1515;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5); --shadow-2: 0 14px 34px -12px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #020617; --surface: #0b1324; --surface-2: #0f172a; --border: #1e293b; --border-soft: #152033;
  --text: #f1f5f9; --text-2: #cbd5e1; --muted: #7b8aa3;
  --accent: #2dd4bf; --accent-hover: #5eead4; --accent-soft: #08332f; --accent-glow: rgba(45, 212, 191, .16); --on-accent: #042f2e;
  --ok: #34d399; --ok-soft: #0b3a2c; --warn: #fbbf24; --warn-soft: #3b2a07; --danger: #f87171; --danger-soft: #3f1515;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5); --shadow-2: 0 14px 34px -12px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100dvh; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2rem); font-weight: 650; }
h2 { font-size: 1.15rem; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 .75rem; }
a { color: var(--accent); text-underline-offset: 3px; }
code, .mono { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); } .text-2 { color: var(--text-2); }
.stack > * + * { margin-top: var(--gap, 1rem); } .stack-sm { --gap: .5rem; } .stack-lg { --gap: 1.5rem; }
.row { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; } .row.between { justify-content: space-between; } .row.nowrap { flex-wrap: nowrap; }
.grow { flex: 1 1 0; min-width: 0; }

/* ---------- Estructura ---------- */
.app-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.app-bar__in { max-width: 1080px; margin: 0 auto; padding: .7rem 16px; display: flex; align-items: center; gap: 1rem; }
.marca { display: flex; align-items: center; gap: .6rem; font-weight: 650; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.marca__logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent), var(--accent-hover)); color: var(--on-accent); box-shadow: 0 4px 12px var(--accent-glow); }
.marca small { display: block; font-weight: 450; color: var(--muted); font-size: .72rem; margin-top: -2px; }
.tabs { max-width: 1080px; margin: 0 auto; padding: 0 12px; display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: .75rem .8rem; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .93rem; border-radius: 8px; transition: color 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.tab::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transition: transform 220ms var(--ease-out); }
.tab[aria-current="page"] { color: var(--text); } .tab[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--text); } }
.main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 96px; }
.page-head { margin-bottom: 1.4rem; } .page-head p { color: var(--text-2); margin: .35rem 0 0; max-width: 62ch; }
.view { animation: entra 260ms var(--ease-out) both; }
@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.stagger > * { animation: entra 300ms var(--ease-out) both; }
.stagger > *:nth-child(1) { animation-delay: 0ms; } .stagger > *:nth-child(2) { animation-delay: 40ms; } .stagger > *:nth-child(3) { animation-delay: 80ms; }
.stagger > *:nth-child(4) { animation-delay: 120ms; } .stagger > *:nth-child(5) { animation-delay: 160ms; } .stagger > *:nth-child(n+6) { animation-delay: 200ms; }

/* ---------- Tarjetas y rejillas ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-1); padding: 1.15rem 1.25rem; }
.card.flat { box-shadow: none; background: var(--surface-2); }
.card > h2 + p, .card > h3 + p { color: var(--text-2); margin-top: .3rem; }
.grid { display: grid; gap: 1rem; } .g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); } .g3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.hero { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .hero { grid-template-columns: 240px 1fr; } }
.stat { display: flex; flex-direction: column; gap: .15rem; } .stat b { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .stat span { color: var(--text-2); font-size: .85rem; }

/* ---------- Anillo de estado ---------- */
.anillo { position: relative; width: 200px; height: 200px; margin: 0 auto; }
.anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anillo circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.anillo .pista { stroke: var(--border); }
.anillo .valor { stroke: var(--ok); stroke-dasharray: 326.73; stroke-dashoffset: var(--off, 326.73); transition: stroke-dashoffset 700ms var(--ease-out), stroke 300ms ease; }
.anillo[data-nivel="aviso"] .valor { stroke: var(--warn); } .anillo[data-nivel="alerta"] .valor { stroke: var(--danger); }
.anillo__centro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anillo__centro b { font-size: 2.6rem; font-weight: 650; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.anillo__centro span { color: var(--text-2); font-size: .82rem; margin-top: .25rem; }

/* ---------- Botones ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--h); padding: 0 1.1rem; border-radius: 12px; border: 1px solid transparent; font: 600 .95rem/1 var(--font); cursor: pointer; text-decoration: none; background: var(--surface-2); color: var(--text); border-color: var(--border); transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease; -webkit-tap-highlight-color: transparent; user-select: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .btn:hover:not(:disabled) { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); } }
.btn.primario { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 6px 16px -6px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .18); }
@media (hover: hover) and (pointer: fine) { .btn.primario:hover:not(:disabled) { background: var(--accent-hover); border-color: transparent; } }
.btn.peligro { color: var(--danger); background: var(--danger-soft); border-color: transparent; }
.btn.fantasma { background: transparent; border-color: transparent; color: var(--text-2); } .btn.chico { --h: 34px; padding: 0 .75rem; font-size: .85rem; border-radius: 10px; } .btn.grande { --h: 54px; font-size: 1.05rem; padding: 0 1.6rem; border-radius: 14px; }
.btn.bloque { width: 100%; }
.btn__txt { display: inline-flex; align-items: center; gap: .5rem; transition: opacity 200ms ease, filter 200ms ease; }
.btn[data-cargando="1"] .btn__txt { opacity: .6; filter: blur(1.5px); }
.btn .giro { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: gira .6s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Formularios ---------- */
.campo { display: flex; flex-direction: column; gap: .35rem; } .campo > label, .etiqueta { font-weight: 550; font-size: .88rem; color: var(--text-2); }
.input, select.input, textarea.input { width: 100%; min-height: 44px; padding: .6rem .8rem; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea.input { min-height: 88px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.ayuda { font-size: .82rem; color: var(--muted); }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.conmutador { display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; }
.conmutador input { appearance: none; width: 42px; height: 26px; border-radius: 99px; background: var(--border); position: relative; cursor: pointer; transition: background-color 180ms ease; flex: none; }
.conmutador input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform 200ms var(--ease-out); }
.conmutador input:checked { background: var(--accent); } .conmutador input:checked::after { transform: translateX(16px); }

/* ---------- Insignias, chips, listas ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .55rem; border-radius: 99px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; } .badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; } .badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; } .badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.chip { padding: .38rem .8rem; border-radius: 99px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: 550 .85rem var(--font); cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.chip:active { transform: scale(.96); } .chip[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.lista { list-style: none; margin: 0; padding: 0; } .lista > li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--border-soft); } .lista > li:first-child { border-top: 0; }
.punto { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--muted); } .punto.ok { background: var(--ok-soft); color: var(--ok); } .punto.warn { background: var(--warn-soft); color: var(--warn); } .punto.danger { background: var(--danger-soft); color: var(--danger); }
.punto .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.progreso { height: 8px; border-radius: 99px; background: var(--border); overflow: hidden; } .progreso > i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 99px; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 600ms var(--ease-out); }

/* ---------- Línea de tiempo ---------- */
.linea { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.6rem; } .linea::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); border-radius: 2px; }
.linea li { position: relative; padding: .35rem 0 .9rem; } .linea li::before { content: ""; position: absolute; left: -1.6rem; top: .55rem; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--border); transition: border-color 200ms ease, background-color 200ms ease; }
.linea li.pasado::before { background: var(--accent); border-color: var(--accent); } .linea li.actual::before { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-glow); }
.linea b { font-variant-numeric: tabular-nums; }

/* ---------- Bóveda ---------- */
.entrada { text-align: left; display: flex; flex-direction: column; gap: .6rem; cursor: pointer; width: 100%; font: inherit; color: inherit; transition: transform 180ms var(--ease-out), box-shadow 180ms ease, border-color 180ms ease; -webkit-tap-highlight-color: transparent; }
.entrada:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .entrada:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); box-shadow: var(--shadow-2); } }
.entrada h3 { font-size: 1rem; } .entrada p { color: var(--text-2); font-size: .88rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cripto { font-family: var(--mono); letter-spacing: .08em; }
.secreto { position: relative; display: flex; align-items: center; gap: .5rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: .5rem .5rem .5rem .8rem; min-height: 46px; }
.secreto__valor { flex: 1; min-width: 0; font-family: var(--mono); font-size: .9rem; overflow-wrap: anywhere; filter: blur(7px); user-select: none; transition: filter 260ms var(--ease-out); } .secreto[data-visible="1"] .secreto__valor { filter: none; user-select: text; }
.mini-anillo { width: 34px; height: 34px; flex: none; } .mini-anillo svg { width: 100%; height: 100%; transform: rotate(-90deg); } .mini-anillo circle { fill: none; stroke-width: 4; stroke-linecap: round; } .mini-anillo .pista { stroke: var(--border); } .mini-anillo .valor { stroke: var(--accent); stroke-dasharray: 100.5; stroke-dashoffset: var(--off, 0); transition: stroke-dashoffset 1s linear; }

/* ---------- Cajón (panel lateral / hoja inferior) ---------- */
.velo { position: fixed; inset: 0; background: rgba(2, 6, 23, .5); z-index: 40; opacity: 0; transition: opacity 220ms ease; } .velo[data-abierto="1"] { opacity: 1; }
.cajon { position: fixed; z-index: 41; background: var(--surface); box-shadow: var(--shadow-2); display: flex; flex-direction: column; transition: transform 280ms var(--ease-drawer); overscroll-behavior: contain;
  right: 0; top: 0; bottom: 0; width: min(520px, 100%); transform: translateX(100%); border-left: 1px solid var(--border); }
.cajon[data-abierto="1"] { transform: none; }
@media (max-width: 640px) { .cajon { left: 0; right: 0; top: auto; width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; transform: translateY(100%); border-left: 0; } .cajon::before { content: ""; width: 38px; height: 4px; border-radius: 4px; background: var(--border); margin: 8px auto 0; } }
.cajon__cab { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-soft); } .cajon__cuerpo { padding: 1.25rem; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; } .cajon__pie { padding: .9rem 1.25rem calc(.9rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border-soft); display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Avisos ---------- */
.avisos { position: fixed; z-index: 60; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; align-items: center; width: min(92vw, 420px); pointer-events: none; }
.aviso { pointer-events: auto; display: flex; gap: .6rem; align-items: center; background: var(--text); color: var(--bg); padding: .7rem 1rem; border-radius: 12px; box-shadow: var(--shadow-2); font-weight: 550; font-size: .92rem; animation: entra 240ms var(--ease-out) both; transition: opacity 180ms ease, transform 180ms ease; } .aviso[data-sale="1"] { opacity: 0; transform: translateY(6px); } .aviso.error { background: var(--danger); color: #fff; }
.banner { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--text); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); } .banner.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 30%, transparent); } .banner.danger { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.banner .icon { margin-top: .1rem; flex: none; }

/* ---------- Guías (HTML propio y escapado por el servidor) ---------- */
.prosa { max-width: 70ch; } .prosa h2 { margin: 1.8rem 0 .6rem; font-size: 1.25rem; } .prosa h3 { margin: 1.3rem 0 .4rem; } .prosa h4 { margin: 1rem 0 .3rem; } .prosa li { margin: .3rem 0; } .prosa ul, .prosa ol { padding-left: 1.3rem; } .prosa blockquote { margin: 1rem 0; padding: .7rem 1rem; border-left: 3px solid var(--accent); background: var(--accent-glow); border-radius: 0 10px 10px 0; }
.prosa table { border-collapse: collapse; width: 100%; font-size: .9rem; display: block; overflow-x: auto; } .prosa th, .prosa td { border: 1px solid var(--border); padding: .45rem .7rem; text-align: left; vertical-align: top; } .prosa th { background: var(--surface-2); } .prosa code { background: var(--surface-2); padding: .1rem .35rem; border-radius: 6px; } .prosa hr { border: 0; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ---------- Pantallas de entrada y pasos del sucesor ---------- */
.centro { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(900px 480px at 50% -10%, var(--accent-glow), transparent 70%), var(--bg); }
.tarjeta-entrada { width: min(100%, 460px); } .tarjeta-entrada .marca__logo { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 1.1rem; } .tarjeta-entrada .marca__logo .icon { width: 26px; height: 26px; }
.pasos { display: flex; gap: .4rem; justify-content: center; margin-bottom: 1.2rem; } .pasos i { width: 28px; height: 4px; border-radius: 4px; background: var(--border); transition: background-color 240ms ease, transform 240ms var(--ease-out); } .pasos i[data-ok="1"] { background: var(--accent); }
.codigo { display: flex; gap: .45rem; justify-content: center; } .codigo input { width: 46px; height: 56px; text-align: center; font: 600 1.5rem var(--mono); border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms var(--ease-out); } .codigo input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.cuenta { font-variant-numeric: tabular-nums; font-size: 2.2rem; font-weight: 650; letter-spacing: -.02em; text-align: center; }
.check { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease; } .check[data-estado="hecho"] { background: var(--ok-soft); border-color: transparent; } .check input { margin-top: .25rem; width: 20px; height: 20px; accent-color: var(--accent); }
table.tabla { width: 100%; border-collapse: collapse; font-size: .9rem; } .tabla th { text-align: left; color: var(--muted); font-weight: 550; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .4rem .6rem; } .tabla td { padding: .6rem; border-top: 1px solid var(--border-soft); vertical-align: top; } .tabla-envoltura { overflow-x: auto; }
.vacio { text-align: center; padding: 2.4rem 1rem; color: var(--text-2); } .vacio .icon { width: 36px; height: 36px; color: var(--muted); margin-bottom: .6rem; }
.esqueleto { border-radius: 10px; background: linear-gradient(90deg, var(--surface-2), var(--border-soft), var(--surface-2)); background-size: 200% 100%; animation: brilla 1.3s linear infinite; min-height: 18px; } @keyframes brilla { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .view, .stagger > * { animation: fade .2s ease both !important; } @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .cajon { transition: opacity .15s ease !important; } .cajon:not([data-abierto="1"]) { opacity: 0; pointer-events: none; transform: none; }
}
@media print { .app-bar, .avisos, .velo { display: none; } body { background: #fff; } }

.esq-inicial { width: 200px; height: 24px; }
