/* Historial de estimaciones (/divulgaciones/historial, lib/sitio/paginas/historial-estimaciones.mjs) · 8-oct-2026. Sobre documentos.css: la portada
   de siempre y una sección larga con el texto, el filtro por ticker y la tabla, que se desplaza dentro de su caja en el móvil (sin desborde de página). */
.he-sec.pantalla { min-height: auto; display: block; padding-top: calc(var(--barra-h) + 24px); padding-bottom: 56px; }
.he-sec .contenedor { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.he-texto { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.he-texto p { font-size: 1.0625rem; line-height: 1.7; color: var(--t-apoyo); text-wrap: pretty; }
.he-texto .he-meta { font-size: .9375rem; color: var(--t2); }
.he-filtro { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.he-filtro label { font-size: .9375rem; color: var(--t2); }
.he-filtro input { min-height: 44px; width: 9rem; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(237, 237, 237, .22); background: transparent; color: var(--t1); font: inherit; text-transform: uppercase; }
.he-filtro input:focus-visible { outline: 2px solid var(--t1); outline-offset: 2px; }
.he-filtro button { min-height: 44px; }
.he-filtro a { color: var(--t2); text-decoration: underline; text-underline-offset: 3px; }
.he-tabla { overflow-x: auto; min-width: 0; border: 1px solid rgba(237, 237, 237, .14); border-radius: 14px; }
.he-tabla:focus-visible { outline: 2px solid var(--t1); outline-offset: 2px; }
.he-tabla table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9375rem; line-height: 1.4; }
.he-tabla th, .he-tabla td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(237, 237, 237, .07); color: var(--t-apoyo); }
.he-tabla thead th { font-size: .8125rem; font-weight: 560; color: var(--t2); border-bottom: 1px solid rgba(237, 237, 237, .18); white-space: nowrap; }
.he-tabla td strong { color: var(--t1); font-weight: 560; }
.he-tabla td small { display: block; font-size: .8125rem; color: var(--t2); }
.he-tabla .tab { white-space: nowrap; font-variant-numeric: tabular-nums; }
.he-tabla .he-base { color: var(--t1); font-weight: 560; }
.he-tabla tr.he-fin > td { border-bottom-color: rgba(237, 237, 237, .18); }
.he-tabla tbody tr:last-child > td { border-bottom: 0; }
.he-vacio { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; }
.he-vacio h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 560; letter-spacing: -.02em; color: var(--t1); }
.he-vacio p { color: var(--t-apoyo); max-width: 56ch; line-height: 1.6; }
.he-paginas { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9375rem; color: var(--t2); }
.he-paginas a { color: var(--t1); min-height: 44px; display: inline-flex; align-items: center; }
.he-pie { display: flex; flex-wrap: wrap; gap: 12px 28px; }
[data-tema="claro"] .he-filtro input, [data-tema="claro"] .he-tabla { border-color: rgba(15, 15, 15, .18); }
[data-tema="claro"] .he-tabla th, [data-tema="claro"] .he-tabla td { border-bottom-color: rgba(15, 15, 15, .08); }
[data-tema="claro"] .he-tabla thead th, [data-tema="claro"] .he-tabla tr.he-fin > td { border-bottom-color: rgba(15, 15, 15, .18); }
@media (max-width: 760px) {
  .he-sec.pantalla { padding-top: calc(var(--barra-h) + 16px); padding-bottom: 40px; }
  .he-texto p { font-size: 1rem; line-height: 1.65; }
}
