/* Antesala · panel
   Manual de marca: docs/marca/README.md. Los colores solo se escriben aquí, en
   :root; tests/test_marca.py mide sus parejas de contraste en los dos modos. */

@font-face { font-family: "Plex Sans"; src: url("fuentes/ibm-plex-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fuentes/ibm-plex-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("fuentes/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("fuentes/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fuentes/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens (día) ---------- */
:root {
  --papel: #f4f2ec;           /* fondo de página */
  --superficie: #ffffff;      /* tablas, tarjetas, fichas */
  --superficie-alt: #ebe8e0;  /* cabeceras de tabla, chips, código */
  --tinta: #1a1d24;           /* texto principal */
  --tinta-suave: #3d4350;     /* texto secundario largo */
  --apagado: #575d6b;         /* metadatos */
  --filete: #dcd8ce;          /* separadores decorativos (no llevan información) */
  --filete-fuerte: #858a95;   /* borde de control: 3:1 */
  --acento: #2f3f8f;          /* índigo de tinta: enlaces, acción principal, foco */
  --acento-relleno: #2f3f8f;  /* relleno del botón, con blanco encima */
  --acento-suave: #e4e7f5;    /* fondo de la navegación activa */
  --senal: #8f4f00;           /* ámbar de anticipación, escrito */
  --senal-relleno: #b36500;   /* ámbar como marca gráfica (fase actual, punto del logo) */
  --ok: #1d6b45;
  --aviso: #8a5300;
  --mal: #a3302a;
  --ok-suave: #e3f0e8;
  --aviso-suave: #f6ecd9;
  --mal-suave: #f7e3e1;
  --sobre-relleno: #ffffff;

  --serif: "Source Serif", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Plex Sans", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radio: 6px;
  --radio-chip: 4px;
  --sombra: 0 1px 2px rgba(26, 29, 36, .06), 0 2px 8px rgba(26, 29, 36, .05);
  --ancho: 1240px;
  --lectura: 72ch;

  color-scheme: light dark;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Tokens (noche) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --papel: #111318;
    --superficie: #191c23;
    --superficie-alt: #242833;
    --tinta: #eceae4;
    --tinta-suave: #cfccc4;
    --apagado: #a4a8b2;
    --filete: #2d313b;
    --filete-fuerte: #6f7581;
    --acento: #aab6f4;
    --acento-relleno: #5565c8;
    --acento-suave: #262c49;
    --senal: #eaa64a;
    --senal-relleno: #d98a1f;
    --ok: #6cc593;
    --aviso: #e6b35a;
    --mal: #f1958b;
    --ok-suave: #17291f;
    --aviso-suave: #2e2512;
    --mal-suave: #33191a;
    --sobre-relleno: #ffffff;
    --sombra: 0 1px 2px rgba(0, 0, 0, .4), 0 2px 10px rgba(0, 0, 0, .3);
  }
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-feature-settings: "kern"; min-height: 100vh; display: flex; flex-direction: column; }
::selection { background: var(--acento-suave); color: var(--tinta); }
a { color: var(--acento); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--acento) 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 2px; }
p, ul, ol, dl, blockquote { margin: 0 0 12px; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 4px; }
code, kbd, samp, .mono { font-family: var(--mono); font-size: .88em; }
code { background: var(--superficie-alt); padding: 1px 5px; border-radius: var(--radio-chip); }
pre { font-family: var(--mono); font-size: 13px; white-space: pre-wrap; word-break: break-word; background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 12px 14px; margin: 0 0 12px; }
b, strong { font-weight: 600; }
.icono { width: 1em; height: 1em; vertical-align: -.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Armazón ---------- */
.saltar { position: absolute; left: 12px; top: -48px; background: var(--acento-relleno); color: var(--sobre-relleno); padding: 8px 12px; border-radius: var(--radio); z-index: 10; text-decoration: none; }
.saltar:focus { top: 8px; }
.cabecera { background: var(--superficie); border-bottom: 1px solid var(--filete); }
.cabecera-dentro { max-width: var(--ancho); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--tinta); text-decoration: none; }
.marca img { width: 28px; height: 28px; display: block; }
.marca-nombre { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: -.005em; line-height: 1.1; }
.marca-ambito { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--apagado); letter-spacing: 0; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav li + li { margin-top: 0; }
.nav a { display: block; padding: 7px 11px; border-radius: var(--radio); color: var(--tinta-suave); text-decoration: none; min-height: 36px; }
.nav a:hover { background: var(--superficie-alt); color: var(--tinta); }
.nav a[aria-current="page"] { background: var(--acento-suave); color: var(--acento); font-weight: 600; }
main { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 24px 24px 48px; flex: 1; }
.pie { border-top: 1px solid var(--filete); color: var(--apagado); font-size: 13px; }
.pie p { max-width: var(--ancho); margin: 0 auto; padding: 14px 24px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { color: var(--tinta); text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 8px; max-width: 46ch; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; margin: 36px 0 12px; }
h2 .detalle { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--apagado); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.miga { margin: 0 0 10px; font-size: 14px; }
.miga a { text-decoration: none; }
.miga a:hover { text-decoration: underline; }
.entradilla { color: var(--tinta-suave); max-width: var(--lectura); margin-bottom: 16px; }
.muted, .apagado { color: var(--apagado); }
.nota { color: var(--apagado); font-size: 13.5px; max-width: var(--lectura); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.cifra { font-variant-numeric: tabular-nums; }

/* ---------- Cabecera de página ---------- */
.cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 20px; }
.cabeza > div:first-child { flex: 1 1 520px; min-width: 0; }
.cabeza .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--apagado); font-size: 14px; }

/* ---------- Superficies ---------- */
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.tarjeta { background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 16px 18px; box-shadow: var(--sombra); margin-bottom: 12px; }
.tarjetas .tarjeta { margin-bottom: 0; }
.tarjeta h3 { font-size: 15px; }
.tarjeta > :last-child { margin-bottom: 0; }
.dato { color: var(--apagado); margin: 3px 0; }
.dato b { color: var(--tinta); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Lista de datos */
dl { display: grid; grid-template-columns: minmax(140px, 200px) 1fr; gap: 0; background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); margin: 0 0 12px; box-shadow: var(--sombra); }
dt, dd { padding: 9px 16px; border-top: 1px solid var(--filete); }
dt:first-of-type, dt:first-of-type + dd { border-top: 0; }
dt { color: var(--apagado); font-size: 14px; }
dd { margin: 0; word-break: break-word; }

/* ---------- Tablas ---------- */
.scroll { overflow-x: auto; border: 1px solid var(--filete); border-radius: var(--radio); background: var(--superficie); box-shadow: var(--sombra); margin-bottom: 12px; }
.scroll:focus-visible { outline-offset: 2px; }
.tabla { width: 100%; border-collapse: collapse; background: var(--superficie); font-size: 14px; }
.tabla th, .tabla td { padding: 9px 12px; border-bottom: 1px solid var(--filete); text-align: left; vertical-align: top; }
.tabla th { font-size: 13px; color: var(--apagado); font-weight: 600; background: var(--superficie-alt); white-space: nowrap; }
.tabla th.num, .tabla td.num { text-align: right; }
.tabla tbody tr:last-child td { border-bottom: 0; }
.tabla tbody tr:hover td { background: color-mix(in srgb, var(--superficie-alt) 45%, var(--superficie)); }
.tabla .titulo-celda { min-width: 280px; max-width: 60ch; }
.tabla .id { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.tabla td.fecha { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Chips ---------- */
.chip { display: inline-block; padding: 1px 7px; border-radius: var(--radio-chip); background: var(--superficie-alt); color: var(--tinta-suave); font-size: 12.5px; line-height: 1.6; white-space: nowrap; margin: 1px 3px 1px 0; }
.chip.mono { font-family: var(--mono); font-size: 12px; }
.chip.rev-confirmado { background: var(--ok-suave); color: var(--ok); text-decoration: none; }
.chip.rev-falso_positivo { background: var(--mal-suave); color: var(--mal); }
.chip-estado-revisada, .chip-estado-presentada { background: var(--ok-suave); color: var(--ok); }
.chip-estado-borrador { background: var(--aviso-suave); color: var(--aviso); }
.chip-estado-descartada { background: var(--superficie-alt); color: var(--apagado); text-decoration: line-through; }

/* Estados de ejecución y revisión: siempre con texto, el color solo refuerza */
.estado-ok, .estado-con_errores, .estado-fallida, .estado-en_curso { font-weight: 600; white-space: nowrap; }
.estado-ok::before, .estado-con_errores::before, .estado-fallida::before, .estado-en_curso::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: .05em; background: currentColor; }
.estado-ok { color: var(--ok); }
.estado-con_errores { color: var(--aviso); }
.estado-fallida { color: var(--mal); }
.estado-en_curso { color: var(--acento); }
.estado-en_curso::before { background: transparent; border: 2px solid currentColor; }
.rev-confirmado { color: var(--ok); }
.rev-falso_positivo { color: var(--mal); text-decoration: line-through; }

/* ---------- Escala de madurez (fase) ---------- */
.fase { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 13px; color: var(--tinta-suave); vertical-align: middle; }
.fase-pasos { display: inline-flex; gap: 2px; }
.fase-pasos i { display: block; width: 7px; height: 10px; border-radius: 1px; background: var(--filete); border: 1px solid var(--filete-fuerte); }
.fase-pasos i.hecho { background: var(--filete-fuerte); }
.fase-pasos i.actual { background: var(--senal-relleno); border-color: var(--senal-relleno); height: 14px; }
.fase-nombre { font-weight: 500; }
.fase-grande { font-size: 14px; }
.fase-grande .fase-pasos i { width: 14px; height: 12px; }
.fase-grande .fase-pasos i.actual { height: 16px; }

/* ---------- Medidor de valor (0-100) y "sin datos" ---------- */
.medidor { display: inline-flex; align-items: center; gap: 8px; min-width: 9em; }
.medidor-barra { position: relative; flex: none; width: 88px; height: 8px; border-radius: 2px; background: var(--superficie-alt); border: 1px solid var(--filete-fuerte); overflow: hidden; }
.medidor-barra > span { position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 0) * 1%); background: var(--tinta-suave); }
.medidor-valor { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 2.2em; text-align: right; }
.medidor.sin-datos .medidor-barra { border-style: dashed; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--filete) 4px 6px); }
.medidor.sin-datos .medidor-valor { font-weight: 400; font-style: italic; color: var(--apagado); min-width: 0; white-space: nowrap; }
.sin-datos-texto { font-style: italic; color: var(--apagado); }

/* ---------- Ficha de oportunidad ---------- */
.resumen { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 0; background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); box-shadow: var(--sombra); margin-bottom: 8px; }
.resumen > * { padding: 16px 20px; }
.resumen > * + * { border-left: 1px solid var(--filete); }
.indice { display: flex; flex-direction: column; gap: 6px; }
.indice-etiqueta { font-size: 14px; color: var(--apagado); }
.indice-cifra { font-family: var(--serif); font-weight: 600; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.indice-cifra small { font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--apagado); }
.cobertura { font-size: 13.5px; color: var(--tinta-suave); }
.cobertura-barra { display: block; height: 6px; margin-top: 4px; border-radius: 2px; background: repeating-linear-gradient(135deg, transparent 0 4px, var(--filete) 4px 6px); border: 1px dashed var(--filete-fuerte); overflow: hidden; }
.cobertura-barra > span { display: block; height: 100%; width: calc(var(--v, 0) * 1%); background: var(--tinta-suave); }
.resumen dl { border: 0; box-shadow: none; margin: 0; background: transparent; grid-template-columns: minmax(120px, 170px) 1fr; padding: 10px 20px; }
.resumen dt, .resumen dd { padding: 6px 0; border: 0; }

.aviso-legal { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--tinta-suave); background: var(--superficie-alt); border-radius: var(--radio); padding: 10px 14px; margin: 0 0 12px; max-width: none; }
.aviso-legal .icono { margin-top: 3px; color: var(--apagado); }
.avisos p { color: var(--aviso); background: var(--aviso-suave); border-radius: var(--radio); padding: 8px 12px; margin: 0 0 8px; display: flex; gap: 8px; }
.avisos .icono { margin-top: 3px; }

.evidencia { background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--sombra); }
.evidencia-afirmacion { font-weight: 600; margin: 0 0 8px; max-width: var(--lectura); }
blockquote { margin: 0 0 10px; padding: 2px 0 2px 16px; border-left: 1px solid var(--filete-fuerte); font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--tinta-suave); max-width: var(--lectura); }
blockquote q { quotes: "«" "»" "“" "”"; }
.evidencia-pie { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: 13.5px; }
.verificada { display: inline-flex; gap: 5px; align-items: center; color: var(--ok); font-weight: 600; }
.no-verificada { display: inline-flex; gap: 5px; align-items: center; color: var(--mal); font-weight: 600; }
.externo { display: inline-flex; gap: 4px; align-items: center; }

.columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 8px; }
.columnas section { background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 14px 18px; box-shadow: var(--sombra); }
.columnas h2 { font-size: 17px; margin: 0 0 8px; }
.columnas ul { margin: 0; }

/* ---------- Formularios ---------- */
form.linea { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0 0; }
input, select, button { font: inherit; font-size: 14px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--filete-fuerte); border-radius: var(--radio); background: var(--superficie); color: var(--tinta); }
input[type="search"] { min-width: 18em; flex: 1 1 18em; }
input[type="checkbox"] { min-height: 0; width: 16px; height: 16px; accent-color: var(--acento-relleno); vertical-align: -3px; }
label { color: var(--tinta-suave); font-size: 14px; }
button { cursor: pointer; background: var(--acento-relleno); color: var(--sobre-relleno); border-color: var(--acento-relleno); font-weight: 500; }
button:hover { filter: brightness(1.08); }
button:active { transform: translateY(1px); }
button.sec { background: var(--superficie); color: var(--tinta); border-color: var(--filete-fuerte); font-weight: 400; }
button.sec:hover { background: var(--superficie-alt); filter: none; }
button:disabled { background: var(--superficie-alt); color: var(--apagado); border-color: var(--filete-fuerte); cursor: not-allowed; filter: none; }
.filtros { display: flex; gap: 10px 12px; flex-wrap: wrap; align-items: flex-end; background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 12px 14px; margin-bottom: 12px; box-shadow: var(--sombra); }
.campo { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--apagado); }
.campo-ancho { flex: 1 1 18em; }
.campo-ancho input { width: 100%; }
.linea-acciones { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.linea-acciones form.linea { margin-top: 0; }
.recuento { color: var(--apagado); font-size: 14px; margin: 0 0 8px; }

/* ---------- Estado vacío ---------- */
.vacio { background: transparent; border: 1px dashed var(--filete-fuerte); border-radius: var(--radio); padding: 22px 24px; color: var(--tinta-suave); margin-bottom: 12px; }
.vacio strong { display: block; color: var(--tinta); margin-bottom: 4px; }
.vacio p { margin: 0; max-width: var(--lectura); }

/* ---------- Diferencias ---------- */
.cambio-antes { color: var(--tinta-suave); }
.eliminado { color: var(--mal); text-decoration: line-through; }

/* ---------- Pantallas estrechas ---------- */
@media (max-width: 720px) {
  :root { font-size: 15px; }
  .cabecera-dentro { padding: 10px 16px; gap: 8px; }
  .nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
  main { padding: 18px 16px 40px; }
  .pie p { padding: 14px 16px; }
  h1 { font-size: 23px; }
  h2 { font-size: 18px; margin-top: 28px; }
  dl, .resumen dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 0; }
  dd { border-top: 0; padding-top: 2px; }
  .resumen dt { padding-top: 8px; }
  .resumen { grid-template-columns: 1fr; }
  .resumen > * + * { border-left: 0; border-top: 1px solid var(--filete); }
  input[type="search"] { min-width: 0; }
  .filtros .campo { flex: 1 1 140px; }
  .filtros select { width: 100%; }
  /* Tablas marcadas como .apilable: cada fila pasa a ser una ficha */
  .apilable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .apilable, .apilable tbody, .apilable tr, .apilable td { display: block; width: 100%; }
  .apilable tr { border-bottom: 1px solid var(--filete); padding: 8px 0; }
  .apilable tbody tr:last-child { border-bottom: 0; }
  .apilable td { border: 0; padding: 3px 14px; text-align: left !important; }
  .apilable td[data-etiqueta]::before { content: attr(data-etiqueta) ": "; color: var(--apagado); font-size: 13px; }
  .apilable .titulo-celda { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .cabecera, .pie, form, .saltar { display: none; }
  .tarjeta, .scroll, dl, .resumen, .evidencia, .columnas section { box-shadow: none; }
}
main:focus { outline: none; }
h1.h1-largo { font-size: 22px; max-width: 70ch; }
q.cita { font-family: var(--serif); font-size: 15px; color: var(--tinta-suave); quotes: "«" "»" "“" "”"; }
details.tecnico { margin-top: 36px; }
details.tecnico summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 18px; padding: 6px 0; margin-bottom: 8px; }
details.tecnico summary::marker { color: var(--apagado); }
.tarjeta.cambio { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.tarjeta.cambio > div > :last-child { margin-bottom: 0; }
.lista-compacta { margin: 0; padding-left: 1.1em; font-size: 13px; }
.lista-compacta li + li { margin-top: 2px; }
form.fechas .campo { flex-direction: row; align-items: center; gap: 6px; }
@media (max-width: 720px) { .tarjeta.cambio { grid-template-columns: 1fr; } }
.campo input[type="search"] { flex: none; }
.tabla td.nw { white-space: nowrap; }
.tarjeta .scroll { box-shadow: none; margin: 12px 0 0; }
.tarjeta-titulo { margin: 0 0 12px; font-size: 20px; }
.cifras { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 24px; margin: 0 0 14px; padding: 12px 0; border-top: 1px solid var(--filete); border-bottom: 1px solid var(--filete); }
.cifras p { margin: 0; color: var(--apagado); font-size: 13.5px; line-height: 1.35; }
.cifras-n { display: block; font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--tinta); font-variant-numeric: tabular-nums; }
.cifras-n.sin-datos-texto { font-family: var(--sans); font-size: 18px; font-weight: 400; color: var(--apagado); line-height: 1.75; }
.cifras-n a { color: inherit; }

/* ---------- Acceso, feed y valoración ---------- */
.salir form { margin: 0; }
.salir button { min-height: 34px; padding: 4px 10px; }
.cabecera-dentro nav { min-width: 0; max-width: 100%; }
.acceso { max-width: 26em; margin: 8vh auto 0; }
.acceso form, form.valorar { display: flex; flex-direction: column; gap: 12px; max-width: 34em; }
.acceso input { width: 100%; }
textarea { font: inherit; font-size: 14px; padding: 6px 10px; border: 1px solid var(--filete-fuerte); border-radius: var(--radio-chip); background: var(--superficie); color: var(--tinta); width: 100%; }
.tarjeta-feed { display: grid; grid-template-columns: 7.5em 1fr; gap: 6px 20px; background: var(--superficie); border: 1px solid var(--filete); border-radius: var(--radio); padding: 14px 18px; margin: 12px 0; }
.tarjeta-feed h2 { font-size: 19px; margin: 0 0 6px; }
.tarjeta-feed p { margin: 6px 0 0; max-width: var(--lectura); }
.tarjeta-feed-indice { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.tarjeta-feed-indice b { font-family: var(--serif); font-size: 30px; }
@media (max-width: 720px) { .tarjeta-feed { grid-template-columns: 1fr; } }
