/* OptiStaff · hoja de estilos. Tokens en :root, modo oscuro seleccionado (no invertido). */
:root {
  color-scheme: light;
  --bg: #f4f4f1;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --surface-3: #e8e7e2;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #6b6a65;
  --axis: #898781;
  --line: #e1e0d9;
  --line-strong: #c3c2b7;
  --ring: rgba(11, 11, 11, 0.10);
  --accent: #1c5cab;
  --accent-hover: #184f95;
  --accent-ink: #ffffff;
  --accent-soft: #e5eefa;
  --focus: #2a78d6;
  /* Brecha: diverging azul (exceso / oportunidad) ↔ rojo (infradotación) */
  --opp: #2a78d6;
  --risk: #e34948;
  --neutral: #b4b3ab;
  /* Escalera de valor: ordinal divergente, validado (--ordinal) en ambos modos */
  --vnv1: #1c5cab; --vnv2: #3987e5; --vnv3: #86b6ef;
  --vnv4: #ec948e; --vnv5: #e34948; --vnv6: #b0302f;
  /* Estado (reservado; siempre con icono + texto) */
  --good: #0ca30c; --good-ink: #006300; --good-soft: #e6f4e6;
  --warn: #fab219; --warn-ink: #7a5000; --warn-soft: #fdf3dc;
  --crit: #d03b3b; --crit-ink: #a82a2a; --crit-soft: #fbe9e9;
  --info-soft: #e5eefa;
  --shadow: 0 1px 2px rgba(11, 11, 11, .04), 0 4px 12px rgba(11, 11, 11, .05);
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2c2c2a;
    --ink: #f0efec; --ink-2: #c3c2b7; --muted: #a3a29b; --axis: #898781;
    --line: #2c2c2a; --line-strong: #383835; --ring: rgba(255, 255, 255, 0.10);
    --accent: #3987e5; --accent-hover: #5598e7; --accent-ink: #0b0b0b; --accent-soft: #16263b; --focus: #5598e7;
    --opp: #3987e5; --risk: #e66767; --neutral: #5d5c57;
    --vnv1: #1c5cab; --vnv2: #3987e5; --vnv3: #86b6ef; --vnv4: #f0a19b; --vnv5: #e66767; --vnv6: #c43c3b;
    --good-ink: #4cc24c; --good-soft: #14261a; --warn-ink: #fab219; --warn-soft: #2b2310; --crit-ink: #f08080; --crit-soft: #2e1717;
    --info-soft: #16263b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; --surface-3: #2c2c2a;
  --ink: #f0efec; --ink-2: #c3c2b7; --muted: #a3a29b; --axis: #898781;
  --line: #2c2c2a; --line-strong: #383835; --ring: rgba(255, 255, 255, 0.10);
  --accent: #3987e5; --accent-hover: #5598e7; --accent-ink: #0b0b0b; --accent-soft: #16263b; --focus: #5598e7;
  --opp: #3987e5; --risk: #e66767; --neutral: #5d5c57;
  --vnv1: #1c5cab; --vnv2: #3987e5; --vnv3: #86b6ef; --vnv4: #f0a19b; --vnv5: #e66767; --vnv6: #c43c3b;
  --good-ink: #4cc24c; --good-soft: #14261a; --warn-ink: #fab219; --warn-soft: #2b2310; --crit-ink: #f08080; --crit-soft: #2e1717;
  --info-soft: #16263b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--font); }
a { color: var(--accent); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 600; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
h4 { font-size: 13px; color: var(--ink-2); }
p { margin: 0 0 8px; }
small, .pequeno { font-size: 12px; }
.atenuado { color: var(--muted); }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12px; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ estructura */
.cabecera {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 10px 24px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.marca svg { flex: none; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1; }
.nav a { padding: 6px 12px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.usuario { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.rol { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); }
.principal { max-width: 1280px; margin: 0 auto; padding: 24px; }
.titulo-pagina { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.titulo-pagina p { color: var(--ink-2); margin: 4px 0 0; }
.acciones { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.tarjeta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.tarjeta + .tarjeta, .bloque + .bloque { margin-top: 16px; }
.rejilla > .tarjeta { margin-top: 0; }
.tarjeta > .cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tarjeta > .cuerpo { padding: 16px 18px; }
.tarjeta > .cuerpo.sin-relleno { padding: 0; }
.rejilla { display: grid; gap: 16px; }
.rejilla.dos { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.rejilla.tres { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rejilla.lateral { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .rejilla.lateral { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- pestañas */
.pestanas { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.pestanas a { padding: 10px 14px; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid transparent; font-weight: 500; white-space: nowrap; margin-bottom: -1px; }
.pestanas a:hover { color: var(--ink); }
.pestanas a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* --------------------------------------------------------------- botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: 500 13px var(--font); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.boton:hover { background: var(--surface-2); }
.boton.primario { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.boton.primario:hover { background: var(--accent-hover); }
.boton.peligro { color: var(--crit-ink); border-color: var(--crit); }
.boton.peligro:hover { background: var(--crit-soft); }
.boton.fantasma { border-color: transparent; background: transparent; }
.boton.fantasma:hover { background: var(--surface-2); }
.boton.mini { height: 26px; padding: 0 8px; font-size: 12px; }
.boton:disabled { opacity: .5; cursor: not-allowed; }

/* ----------------------------------------------------------- formularios */
label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
input, select, textarea {
  width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 7px;
  background: var(--surface); color: var(--ink); font: 14px var(--font);
}
textarea { height: auto; min-height: 72px; padding: 8px 10px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: auto; height: auto; margin: 0; accent-color: var(--accent); }
input::placeholder { color: var(--muted); opacity: .8; }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--ink-2); }
input.num { text-align: right; }
.campo { margin-bottom: 12px; }
.campo .ayuda { font-size: 12px; color: var(--muted); margin-top: 3px; }
.campos { display: grid; gap: 12px 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.opciones { display: flex; flex-direction: column; gap: 8px; }
.opcion { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 13px; margin: 0; }
.opcion:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opcion input { margin-top: 3px; }
.opcion strong { display: block; }
fieldset { border: 0; margin: 0; padding: 0; }
.barra-guardar {
  position: sticky; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
}

/* ---------------------------------------------------------------- tablas */
.tabla-envoltorio { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); white-space: nowrap; position: sticky; top: 0; }
tbody tr:hover { background: var(--surface-2); }
tr.fila-funcion td { background: var(--surface-2); font-weight: 600; }
tr.fila-total td { font-weight: 700; border-top: 2px solid var(--line-strong); }
tr.desplegable { cursor: pointer; }
tr.desplegado td { border-bottom-color: transparent; }
tr.detalle > td { background: var(--bg); padding: 16px 18px; }
td.entrada { padding: 4px 8px; }
td.entrada input, td.entrada select { height: 30px; font-size: 13px; }
.tabla-compacta th, .tabla-compacta td { padding: 6px 10px; font-size: 13px; }

/* ------------------------------------------------------- chips de estado */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; }
.chip svg { width: 12px; height: 12px; flex: none; }
.chip.incompleto { background: var(--warn-soft); color: var(--warn-ink); }
.chip.validado { background: var(--info-soft); color: var(--accent); }
.chip.calculado { background: var(--good-soft); color: var(--good-ink); }
.chip.entregado { background: var(--surface-3); color: var(--ink-2); }
.chip.neutro { background: var(--surface-2); color: var(--ink-2); }
.chip.ok { background: var(--good-soft); color: var(--good-ink); }
.chip.mal { background: var(--crit-soft); color: var(--crit-ink); }
.clasif { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink-2); }
.clasif::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--neutral); flex: none; }
.clasif.oportunidad::before { background: var(--opp); }
.clasif.infradotacion::before { background: var(--risk); }
.clasif.no_evaluado::before { background: transparent; border: 1.5px dashed var(--axis); width: 8px; height: 8px; }
.clasif.no_evaluado { color: var(--muted); font-weight: 500; }
.nivel-cascada { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 4px; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.nivel-cascada.cliente { background: var(--accent-soft); color: var(--accent); }
.etiqueta { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }

/* ------------------------------------------------------------- avisos */
.aviso { display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 16px; }
.aviso svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.aviso.info { background: var(--info-soft); border-color: transparent; }
.aviso.atencion { background: var(--warn-soft); border-color: transparent; }
.aviso.error { background: var(--crit-soft); border-color: transparent; }
.aviso.bien { background: var(--good-soft); border-color: transparent; }
.aviso ul { margin: 6px 0 0; padding-left: 18px; }
.aviso p:last-child { margin-bottom: 0; }
#avisos { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100vw - 32px)); }
.toast { padding: 12px 16px; border-radius: 8px; background: var(--ink); color: var(--surface); box-shadow: var(--shadow); font-size: 13px; }
.toast.error { background: var(--crit); color: #fff; }

/* ---------------------------------------------------------- indicadores */
.indicadores { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 16px; }
.indicador { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.indicador .etq { font-size: 12px; color: var(--ink-2); }
.indicador .val { font-size: 24px; font-weight: 600; margin-top: 2px; }
.indicador .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.indicador.heroe .val { font-size: 40px; line-height: 1.1; }
.medidor { height: 8px; border-radius: 99px; background: var(--accent-soft); margin-top: 10px; position: relative; overflow: visible; }
.medidor > span { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.medidor > i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink-2); border-radius: 1px; }
.medidor.bajo > span { background: var(--warn); }

/* --------------------------------------------------------------- gráficos */
.grafico { width: 100%; }
.grafico svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafico text { fill: var(--ink-2); font: 12px var(--font); }
.grafico .eje { stroke: var(--line-strong); stroke-width: 1; }
.grafico .rejilla-h { stroke: var(--line); stroke-width: 1; }
.grafico .valor { fill: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.grafico .marca-dato { cursor: default; }
.grafico .zona-hover { fill: transparent; }
.grafico .zona-hover:hover + .marca-dato, .grafico .marca-dato:hover { opacity: .85; }
.leyenda { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); margin-top: 10px; }
.leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.leyenda i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
#tooltip {
  position: fixed; z-index: 200; pointer-events: none; max-width: 300px;
  padding: 8px 10px; border-radius: 8px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--ring); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); font-size: 12px; line-height: 1.45;
}
#tooltip strong { display: block; margin-bottom: 2px; }

/* Barras divergentes (brecha) y apiladas (escalera de valor), en HTML para que el texto no escale */
.barras-div { display: grid; gap: 4px; }
.barras-eje, .barras-fila { display: grid; grid-template-columns: minmax(96px, 32%) 1fr 1fr; align-items: center; }
.barras-eje { font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.barras-eje span:nth-child(2) { text-align: right; padding-right: 8px; }
.barras-eje span:nth-child(3) { padding-left: 8px; }
.barras-etq { font-size: 13px; color: var(--ink); padding-right: 10px; line-height: 1.25; }
.barras-mitad { display: flex; align-items: center; gap: 6px; min-height: 30px; }
.barras-mitad.neg { flex-direction: row-reverse; border-right: 1px solid var(--line-strong); }
.barras-mitad .barra { display: block; flex: none; height: 18px; }
.barras-mitad .barra.pos { border-radius: 0 4px 4px 0; }
.barras-mitad .barra.neg { border-radius: 4px 0 0 4px; }
.barras-mitad em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.barras-mitad em.atenuado { font-weight: 500; color: var(--muted); }
.barras-fila:hover .barras-etq { color: var(--accent); }
.apiladas { display: grid; gap: 8px; }
.apiladas-fila { display: grid; grid-template-columns: minmax(96px, 32%) 1fr 44px; align-items: center; gap: 0 10px; }
.apiladas-barra { display: flex; gap: 2px; height: 18px; }
.apiladas-barra span { display: block; flex-basis: 0; min-width: 2px; }
.apiladas-barra span:first-child { border-radius: 4px 0 0 4px; }
.apiladas-barra span:last-child { border-radius: 0 4px 4px 0; }
.apiladas-barra span:only-child { border-radius: 4px; }
.apiladas-valor { font-size: 12px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- desglose */
.desglose { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.desglose h4 { margin-bottom: 8px; }
.formula { font-family: ui-monospace, Consolas, monospace; font-size: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; line-height: 1.7; overflow-x: auto; }
.lista-motivos { margin: 0; padding-left: 18px; color: var(--ink-2); }
dl.pares { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; font-size: 13px; }
dl.pares dt { color: var(--ink-2); }
dl.pares dd { margin: 0; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- escalera */
.escalera { display: grid; gap: 10px; }
.peldano { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.peldano .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-2); color: var(--ink-2); }
.peldano.alcanzado .n { background: var(--good-soft); color: var(--good-ink); }
.peldano.fuera { opacity: .6; }

/* ------------------------------------------------------------------ modal */
dialog { border: 0; border-radius: 12px; padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
dialog::backdrop { background: rgba(0, 0, 0, .35); }
dialog .cab { padding: 16px 20px; border-bottom: 1px solid var(--line); }
dialog .cuerpo { padding: 16px 20px; max-height: 70vh; overflow-y: auto; }
dialog .pie { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 8px; }

/* ------------------------------------------------------------------ login */
.acceso { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.acceso-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 56px; background: #123f78; color: #fff; }
.acceso-panel .marca { color: #fff; font-size: 20px; }
.acceso-panel h1 { position: relative; max-width: 15em; margin-bottom: 22vh; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.acceso-motivo { position: absolute; right: -6%; bottom: 0; width: 78%; opacity: .1; }
.acceso-pie { margin: 0; font-size: 13px; color: #c9dcf4; }
.acceso-forma { display: grid; place-items: center; padding: 40px 24px; background: var(--surface); }
.acceso-caja { width: min(380px, 100%); }
.acceso-caja h2 { font-size: 24px; margin-bottom: 4px; }
.acceso-caja > p:first-of-type { margin-bottom: 20px; }
.acceso-caja form { margin-top: 16px; }
.acceso-caja label { font-size: 13px; }
.acceso-caja .campo { margin-bottom: 16px; }
.acceso-caja .campo input { height: 44px; font-size: 16px; margin-top: 4px; }
.acceso-caja .aviso { margin-bottom: 16px; }
.boton.grande { width: 100%; height: 44px; font-size: 15px; }
.con-boton { position: relative; }
.con-boton input { padding-right: 84px; }
.ver-clave { position: absolute; right: 4px; bottom: 4px; height: 36px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--accent); font: 500 13px var(--font); cursor: pointer; }
.ver-clave:hover { background: var(--surface-2); }
.enlace { padding: 4px 0; border: 0; background: none; color: var(--accent); font: 500 14px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.acceso-enlaces { margin: 14px 0 20px; }
@media (max-width: 860px) {
  .acceso { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .acceso-panel { padding: 18px 24px; }
  .acceso-panel h1, .acceso-pie, .acceso-motivo { display: none; }
  .acceso-forma { place-items: start center; padding-top: 40px; }
}

.vacio { padding: 32px 16px; text-align: center; color: var(--muted); }
.separador { height: 1px; background: var(--line); margin: 16px 0; }
.fila-flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.derecha { margin-left: auto; }

@media (max-width: 860px) {
  .cabecera { gap: 8px 12px; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .usuario { margin-left: auto; }
}
@media (max-width: 640px) {
  .cabecera { padding: 10px 16px; }
  .usuario > span:first-child { display: none; }
  .principal { padding: 16px; }
  .indicador.heroe .val { font-size: 32px; }
  .peldano { grid-template-columns: 36px minmax(0, 1fr); }
  .peldano > :last-child { grid-column: 2; }
}
@media print {
  .cabecera, .pestanas, .acciones, .barra-guardar, #avisos { display: none !important; }
  body { background: #fff; }
  .tarjeta { box-shadow: none; break-inside: avoid; }
}
