/* Dashboard AA: maquetación y componentes. Valores visuales solo desde tokens.css (skill ocha-branding). */
body { background: var(--page-bg); }
.page { max-width: 1440px; margin: 16px auto; background: var(--surface); box-shadow: var(--shadow); padding: 24px 32px 16px; }
@media (max-width: 768px) { .page { margin: 0; padding: 16px; box-shadow: none; } }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ocha-blue-aaa); color: var(--text-on-primary); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Encabezado ---------- */
.dash-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 4px solid var(--ocha-primary); }
.brand { display: flex; align-items: center; gap: 0; }
.brand .logo-wrap { padding: 8px 24px 8px 0; } /* área libre provisional (ver logos.md) */
.brand .logo-v { height: 96px; width: auto; display: block; }
.brand .vrule { width: 2px; align-self: stretch; background: var(--ocha-primary); margin-right: 24px; }
.brand h1 { margin: 0; font-size: 2.1rem; line-height: 1.1; font-weight: var(--fw-bold); text-transform: uppercase; color: var(--text-primary); letter-spacing: .01em; }
.brand .subtitle { margin: 4px 0 6px; font-size: 1.6rem; color: var(--text-muted); font-weight: var(--fw-regular); }
.brand .date { margin: 0; font-style: italic; font-size: var(--fs-h3); color: var(--text-primary); }
@media (max-width: 576px) { .brand .logo-v { height: 64px; } .brand h1 { font-size: 1.5rem; } .brand .subtitle { font-size: 1.15rem; } }

/* Fila de KPIs (fuera del encabezado) */
.kpi-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 16px 0 4px; }
.kpi { text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 8px; }
.kpi .v { font-size: var(--fs-kpi); font-weight: var(--fw-bold); line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.kpi .l { font-size: var(--fs-small); color: var(--text-muted); }
.kpi .s { font-size: 11px; color: var(--text-muted); }
@media (max-width: 1000px) { .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 576px) { .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi .v { font-size: 1.9rem; } }

.intro { padding: 12px 0 4px; font-size: var(--fs-small); max-width: 900px; }
.intro p { margin: 0 0 4px; }
.filter-status { color: var(--ocha-primary-strong); font-weight: var(--fw-bold); }

/* ---------- Rejilla ---------- */
.dash-grid { max-width: none; padding: 12px 0 0; display: grid; gap: 20px 24px;
  grid-template-columns: 250px minmax(0, 1fr) 320px; grid-template-areas: "left map right" "full full full"; }
.col-left { grid-area: left; display: grid; gap: 20px; align-content: start; }
.col-map { grid-area: map; display: grid; gap: 6px; align-content: start; }
.col-right { grid-area: right; display: grid; gap: 18px; align-content: start; }
.full { grid-column: 1 / -1; }
@media (max-width: 1200px) {
  .dash-grid { grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "left map" "right right"; }
  .col-right { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}
@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; grid-template-areas: "left" "map" "right"; }
}

.panel-title { margin: 0 0 8px; font-size: var(--fs-body); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .02em; color: var(--text-primary); }
.panel { min-width: 0; }
.src { margin: 6px 0 0; font-size: 11.5px; color: var(--text-muted); }
.src b { font-weight: var(--fw-bold); }
.note { font-size: var(--fs-note); color: var(--text-muted); margin: 0 0 8px; }

/* ---------- Modo y filtros ---------- */
.mode-toggle { display: flex; gap: 8px; }
.mode-toggle button {
  flex: 1; padding: 8px 10px; border-radius: 999px; border: 1px solid var(--text-primary); background: var(--surface); color: var(--text-primary);
  font-family: var(--font-family); font-size: var(--fs-body); cursor: pointer;
}
.mode-toggle button[aria-pressed="true"] { background: var(--ocha-neutral-900); color: var(--text-on-primary); }
.filters { display: grid; gap: 4px; }
.filters label { font-size: var(--fs-label); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .03em; color: var(--text-primary); margin-top: 8px; }
.filters select {
  font-family: var(--font-family); font-size: var(--fs-body); padding: 6px 8px; border: 1px solid var(--border-strong); border-radius: 2px;
  background: var(--surface); color: var(--text-primary); width: 100%;
}
.filters select:disabled { color: var(--text-muted); background: var(--ocha-neutral-100); }
.filters select.is-active { border-color: var(--ocha-blue-aa); box-shadow: inset 3px 0 0 var(--ocha-blue-aa); }
.btn-clear {
  margin-top: 12px; padding: 7px 10px; font-family: var(--font-family); font-size: var(--fs-small); font-weight: var(--fw-bold);
  color: var(--ocha-blue-aa); background: var(--surface); border: 1px solid var(--ocha-blue-aa); border-radius: var(--radius-sm); cursor: pointer;
}
.btn-clear:hover { background: var(--ocha-blue-100); }

/* ---------- Barras horizontales ---------- */
.bars { display: grid; grid-template-columns: minmax(70px, max-content) 1fr; gap: 5px 8px; align-items: center; font-size: var(--fs-small); }
.bars.scroll { max-height: 250px; overflow-y: auto; padding-right: 4px; }
.bars .lab { text-align: right; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.bars .track { display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; color: var(--text-primary); min-width: 0; }
.bars .bar { height: 16px; background: var(--ocha-primary); min-width: 2px; }
.bars .empty { grid-column: 1 / -1; color: var(--text-muted); }

/* ---------- Mapa ---------- */
.map-card { border: 1px solid var(--border); }
.col-map .map-shell { height: 640px; }
@media (max-width: 860px) { .col-map .map-shell { height: 460px; } }
.col-map .map-disclaimer { margin: 0; font-size: 11.5px; }
.matrix-panel { margin-top: 18px; }
.matrix-panel .table-scroll { max-height: 420px; }

/* ---------- Íconos de amenaza ---------- */
.hazard-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px 4px; }
.hz {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 2px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-family); color: var(--text-primary);
}
.hz .n { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--ocha-blue-aa); font-variant-numeric: tabular-nums; line-height: 1; }
.hz .ring { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.hz .ring .in { width: 38px; height: 38px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; }
.hz .ring img { width: 28px; height: 28px; }
.hz .in .txt { font-size: 9px; line-height: 1; text-align: center; color: var(--text-muted); padding: 0 2px; }
.hz[aria-pressed="true"] .ring { box-shadow: 0 0 0 3px var(--ocha-yellow); }
.hz:hover .ring, .hz:focus-visible .ring { box-shadow: 0 0 0 2px var(--ocha-blue-aa); }

/* ---------- Estado ---------- */
.stack { display: flex; height: 52px; font-size: var(--fs-small); }
.stack .seg { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 6px; min-width: 0; overflow: hidden; white-space: nowrap; }
.stack .seg b { font-size: var(--fs-body); font-variant-numeric: tabular-nums; }
.stack .activo { background: var(--ocha-green-600); color: var(--text-on-primary); }
.stack .en_desarrollo { background: var(--ocha-green-200); color: var(--text-primary); }
.stack .otro { background: var(--ocha-neutral-200); color: var(--text-primary); }

/* ---------- Tablas ---------- */
.table-scroll { overflow: auto; max-height: 330px; border-top: 1px solid var(--border); }
.table-scroll.tall { max-height: 520px; }
.tbl { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
.tbl th { position: sticky; top: 0; z-index: 1; background: var(--surface); color: var(--text-muted); font-weight: var(--fw-medium); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border-strong); white-space: nowrap; }
.tbl td { padding: 5px 8px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; vertical-align: top; }
.tbl td.num, .tbl th.num { text-align: right; }
.tbl td.c, .tbl th.c { text-align: center; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: var(--ocha-blue-100); }
.tbl .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ocha-blue-aa); cursor: pointer; text-align: left; text-decoration: underline; }
.tbl .muted { color: var(--text-muted); }
.tbl .hzcell { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.tbl .hzcell img { width: 18px; height: 18px; }
.heat { text-align: center !important; font-weight: var(--fw-bold); min-width: 44px; }
.heat.h0 { color: var(--text-muted); font-weight: var(--fw-regular); }
.heat.h1 { background: var(--seq-1); } .heat.h2 { background: var(--seq-2); } .heat.h3 { background: var(--seq-3); }
.heat.h4 { background: var(--seq-4); color: var(--text-on-primary); } .heat.h5 { background: var(--seq-5); color: var(--text-on-primary); }
.heat.h6 { background: var(--seq-6); color: var(--text-on-primary); } .heat.h7 { background: var(--seq-7); color: var(--text-on-primary); }
.heat.gap { background: var(--ocha-orange-100); }
.gap-mark { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 8px; background: var(--ocha-orange-aa); color: var(--text-on-primary); font-weight: var(--fw-bold); font-size: 11px; text-align: center; }
#matrix .tbl th.hz-h { text-align: center; padding: 6px 2px; vertical-align: bottom; }
#matrix .tbl th.hz-h img { width: 26px; height: 26px; display: block; margin: 0 auto; }
#matrix .tbl th.hz-h .txt { display: block; font-size: 10px; line-height: 1.1; max-width: 56px; margin: 0 auto; white-space: normal; color: var(--text-muted); }
#matrix .tbl td:first-child, #matrix .tbl th:first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; }
#matrix .tbl th:first-child { z-index: 2; }

/* Badges de estado */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: var(--fw-bold); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-activo { color: var(--status-active-fg); background: var(--status-active-bg); }
.b-en_desarrollo { color: var(--status-dev-fg); background: var(--status-dev-bg); }
.b-sin { color: var(--status-nodata-fg); background: var(--status-nodata-bg); }

/* ---------- Pie ---------- */
.dash-footer { margin-top: 24px; padding-top: 10px; border-top: 2px solid var(--ocha-primary); font-size: var(--fs-note); color: var(--text-primary); }
.dash-footer p { margin: 2px 0; }
.dash-footer .map-disclaimer { color: var(--text-primary); }

/* ---------- Ficha de país (dialog) ---------- */
#ficha { width: min(860px, 96vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); box-shadow: 0 8px 32px rgba(38, 38, 38, .3); font-family: var(--font-family); color: var(--text-primary); }
#ficha::backdrop { background: rgba(38, 38, 38, .45); }
.ficha-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; background: var(--ocha-primary); color: var(--text-on-primary); padding: 12px 20px; }
.ficha-head h2 { margin: 0; font-size: var(--fs-h2); }
.ficha-close { background: none; border: 0; color: var(--text-on-primary); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ficha-body { padding: 16px 20px 20px; }
.ficha-body .narr { font-size: var(--fs-body); line-height: 1.55; margin: 0 0 12px; max-width: 75ch; }
.ficha-body h3 { font-size: var(--fs-h3); color: var(--ocha-primary-strong); margin: 18px 0 8px; }
.fk { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 8px; }
.fk div { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 10px; }
.fk b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--ocha-primary-strong); }
.fk span { font-size: var(--fs-note); color: var(--text-muted); }
.mcard { border: 1px solid var(--border); border-left: 3px solid var(--ocha-primary); border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 10px; }
.mcard .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.mcard .hzs { display: flex; gap: 10px; flex-wrap: wrap; font-weight: var(--fw-bold); }
.mcard .hzs span { display: inline-flex; align-items: center; gap: 5px; }
.mcard .hzs img { width: 22px; height: 22px; }
.mcard dl { display: grid; grid-template-columns: 170px 1fr; gap: 3px 12px; margin: 0; font-size: var(--fs-small); }
.mcard dt { color: var(--text-muted); }
.mcard dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 576px) { .mcard dl { grid-template-columns: 1fr; } .mcard dt { margin-top: 4px; } }
.mcard .meta { margin: 6px 0 0; font-size: 11.5px; color: var(--text-muted); }

/* =====================================================================
   Diseño final: encabezado OCHA (logo vertical + línea + títulos), rejilla con
   separadores grises tenues, columnas que rellenan su altura y azul OCHA del logo.
   - Azul OCHA (--ocha-primary, #009EDB): reglas, barras, números grandes (≥ 3:1, texto grande).
   - Texto pequeño azul y botones activos: --ocha-blue-aa (#0077B8) para cumplir contraste AA.
   Solo tokens de tokens.css.
   ===================================================================== */
body { background: var(--page-bg); }
.page { max-width: 1520px; margin: 16px auto; background: var(--surface); box-shadow: var(--shadow); padding: 28px 36px 20px; }
@media (max-width: 768px) { .page { margin: 0; padding: 16px; box-shadow: none; } }

/* Encabezado (versión anterior) */
.dash-header { align-items: center; padding-bottom: 14px; border-bottom: 4px solid var(--ocha-primary); }
.brand .logo-v { height: 96px; }
.brand .vrule { background: var(--ocha-primary); width: 1px; }
.brand h1 { color: var(--text-primary); font-size: 2.2rem; }
.brand .subtitle { color: var(--text-muted); }
.brand .date { font-style: italic; color: var(--text-primary); }

/* KPIs: ícono + etiqueta + número en azul OCHA + descripción, separados por líneas tenues */
.kpi-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0; border-bottom: 1px solid var(--border); }
.kpi { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 0; border-radius: 0; padding: 20px 18px; }
.kpi + .kpi { border-left: 1px solid var(--border); }
.kpi .kpi-icon { width: 40px; height: 40px; flex: none; margin-top: 2px; }
.kpi .kpi-eyebrow { font-size: var(--fs-label); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .05em; color: var(--text-secondary); }
.kpi .v { font-size: 2.6rem; line-height: 1; color: var(--ocha-primary); margin: 4px 0 6px; }
.kpi .v .u { font-size: 1.3rem; margin-left: 2px; }
.kpi .l { font-size: var(--fs-small); color: var(--text-primary); line-height: 1.25; }
.kpi .s { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }
@media (max-width: 1100px) { .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kpi:nth-child(4) { border-left: 0; } .kpi:nth-child(n+4) { border-top: 1px solid var(--border); } }
@media (max-width: 576px) { .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi { padding: 14px 10px; } .kpi .v { font-size: 2rem; } .kpi .kpi-icon { width: 30px; height: 30px; } .kpi:nth-child(odd) { border-left: 0; } .kpi:nth-child(n+3) { border-top: 1px solid var(--border); } }

.intro { padding: 16px 0 14px; max-width: none; border-bottom: 1px solid var(--border); }

/* Rejilla con separadores: sin huecos; las columnas laterales se estiran a la altura del mapa */
.dash-grid { padding: 0; gap: 0;
  grid-template-columns: 270px minmax(0, 1fr) 340px;
  grid-template-areas: "left map right" "matrix matrix side2" "table table table"; }
.dash-grid > * { padding: 24px; min-width: 0; }
.col-left { grid-area: left; padding-left: 0; }
.col-map { grid-area: map; border-left: 1px solid var(--border); border-right: 1px solid var(--border); }
.col-right { grid-area: right; padding-right: 0; }
.area-matrix { grid-area: matrix; padding-left: 0; border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
.col-side2 { grid-area: side2; padding-right: 0; border-top: 1px solid var(--border); }
.area-table { grid-area: table; padding-left: 0; padding-right: 0; border-top: 1px solid var(--border); }
.col-left, .col-right, .col-side2 { display: flex; flex-direction: column; gap: 28px; }
.col-map { display: flex; flex-direction: column; gap: 8px; }

/* Paneles que rellenan el resto de la columna (la lista hace scroll dentro) */
.panel.fill { flex: 1 1 0; min-height: 220px; display: flex; flex-direction: column; }
.panel.fill .scroll-fill { flex: 1 1 0; min-height: 120px; max-height: none; overflow: auto; }
.area-matrix .table-scroll { max-height: 520px; }

@media (max-width: 1200px) {
  .dash-grid { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "left map" "right right" "matrix matrix" "side2 side2" "table table"; }
  .col-map { border-right: 0; padding-right: 0; }
  .col-right, .col-side2 { padding-left: 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
  .area-matrix { border-right: 0; padding-right: 0; }
  .panel.fill { flex: none; min-height: 0; }
  .panel.fill .scroll-fill { flex: none; max-height: 320px; }
}
@media (max-width: 860px) {
  .dash-grid { grid-template-columns: 1fr; grid-template-areas: "left" "map" "right" "matrix" "side2" "table"; }
  .dash-grid > * { padding-left: 0; padding-right: 0; }
  .col-map { border-left: 0; border-top: 1px solid var(--border); }
}

/* Títulos de sección con regla gris tenue */
.panel-title { font-size: 1.05rem; letter-spacing: .03em; padding-bottom: 8px; border-bottom: 1px solid var(--border-strong); margin-bottom: 14px; }

/* Más aire en listas y tablas */
.bars { gap: 8px 10px; }
.tbl th { padding: 8px 10px; }
.tbl td { padding: 7px 10px; }
.src { margin-top: 10px; }

/* Botones rectangulares: borde azul OCHA; texto y activo en azul accesible */
.mode-toggle button, .map-toolbar button, .btn-clear {
  border-radius: 0; border: 1px solid var(--ocha-primary); color: var(--ocha-blue-aa); background: var(--surface);
  text-transform: uppercase; font-weight: var(--fw-bold); letter-spacing: .02em;
}
.mode-toggle button { font-size: var(--fs-small); padding: 9px 10px; }
.mode-toggle button[aria-pressed="true"], .map-toolbar button[aria-pressed="true"] { background: var(--ocha-blue-aa); border-color: var(--ocha-blue-aa); color: var(--text-on-primary); }
.mode-toggle button:hover:not([aria-pressed="true"]), .map-toolbar button:hover:not([aria-pressed="true"]), .btn-clear:hover { background: var(--ocha-blue-100); }
.map-toolbar { padding: 10px 12px; }
.map-toolbar .label { color: var(--text-secondary); }
.filters { gap: 6px; }
.filters select { border-radius: 0; border-color: var(--border-strong); }

/* Mapa */
.map-card { border: 1px solid var(--border); }
.col-map .map-shell { height: 640px; }
@media (max-width: 860px) { .col-map .map-shell { height: 460px; } }

/* Pie */
.dash-footer { border-top: 4px solid var(--ocha-primary); }
.bars .track { white-space: nowrap; }
.bars .bar { flex: 0 0 auto; }

/* KPIs compactos y sin bordes */
.kpi-row { border-bottom: 0; padding: 6px 0 2px; }
.kpi, .kpi + .kpi { border: 0 !important; padding: 10px 14px 10px 0; gap: 10px; }
.kpi .kpi-icon { width: 30px; height: 30px; margin-top: 0; }
.kpi .v { font-size: 2rem; margin: 2px 0 2px; }
.kpi .v .u { font-size: 1.05rem; }
.kpi .l { font-size: var(--fs-note); }
.kpi .s { font-size: 11px; margin-top: 1px; }

/* Línea tenue entre KPIs y la descripción */
.kpi-row { border-bottom: 1px solid var(--border); padding-bottom: 8px; }

/* Selector de idioma EN | ES */
.lang-switch { display: flex; gap: 0; align-self: flex-start; }
.lang-switch a {
  padding: 5px 12px; font-size: var(--fs-small); font-weight: var(--fw-bold); text-decoration: none; letter-spacing: .04em;
  color: var(--ocha-blue-aa); border: 1px solid var(--ocha-primary); background: var(--surface);
}
.lang-switch a + a { border-left: 0; }
.lang-switch a[aria-current] { background: var(--ocha-blue-aa); border-color: var(--ocha-blue-aa); color: var(--text-on-primary); }
.lang-switch a:hover:not([aria-current]) { background: var(--ocha-blue-100); }

/* Tabla país × estado/año: cabe en la columna, sin scroll horizontal */
#country-table { overflow-x: hidden; }
#country-table .tbl { table-layout: fixed; width: 100%; }
#country-table .tbl th { white-space: normal; line-height: 1.15; vertical-align: bottom; padding: 6px 4px; font-size: 12.5px; }
#country-table .tbl td { padding: 6px 4px; }
#country-table .tbl th:first-child, #country-table .tbl td:first-child { width: 38%; padding-left: 0; }
#country-table .heat { min-width: 0; }
#country-table .linkish { overflow-wrap: anywhere; }
#country-table .tbl th:last-child, #country-table .tbl td:last-child { width: 13%; padding-right: 0; }
#country-table .tbl th { overflow-wrap: normal; hyphens: manual; }

/* Tablas de registros: una sola línea por celda, "…" si no cabe; la fila abre el detalle */
.tbl-1line { table-layout: fixed; width: 100%; }
.tbl-1line th { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl-1line td { vertical-align: middle; }
.tbl-1line .c1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl-1line .c1 .hzcell { display: inline; }
.tbl-1line .c1 .hzcell img { vertical-align: -3px; margin-right: 4px; }
.tbl-1line .c1 .hzcell img { width: 16px; height: 16px; }
.tbl-1line .c1 .linkish { white-space: nowrap; }
.tbl-1line tr.rec { cursor: pointer; }
.tbl-1line tr.rec:hover td { background: var(--ocha-blue-100); }
.tbl-1line tr.rec:focus-visible { outline: 2px solid var(--ocha-primary); outline-offset: -2px; }
/* Anchos de columna: marcos */
.tbl-marcos .w-num { width: 4%; } .tbl-marcos .w-est { width: 11%; } .tbl-marcos .w-pais { width: 11%; }
.tbl-marcos .w-hz { width: 15%; } .tbl-marcos .w-mec { width: 13%; } .tbl-marcos .w-org { width: 15%; }
.tbl-marcos .w-meta { width: 11%; } .tbl-marcos .w-fon { width: 9%; } .tbl-marcos .w-src { width: 11%; }
/* Anchos de columna: activaciones */
.tbl-act .w-fecha { width: 8%; } .tbl-act .w-pais { width: 11%; } .tbl-act .w-hz { width: 16%; }
.tbl-act .w-org { width: 17%; } .tbl-act .w-mec { width: 15%; } .tbl-act .w-fon { width: 10%; }
.tbl-act .w-per { width: 11%; } .tbl-act .w-src { width: 12%; }
.tbl-act.sin-pais .w-fecha { width: 10%; } .tbl-act.sin-pais .w-hz { width: 20%; } .tbl-act.sin-pais .w-org { width: 19%; }
#records > .note { margin: 0 0 8px; }
.rec-detail dl { grid-template-columns: 230px 1fr; }
@media (max-width: 860px) { .tbl-1line { min-width: 760px; } }
/* Íconos de amenaza en línea (tablas, modal de detalle): siempre 18 px */
.hzcell { display: inline; white-space: nowrap; }
.hzcell img { width: 18px; height: 18px; vertical-align: -4px; margin-right: 4px; }
