/* DipuData — hoja de estilos única. Sin framework, sin fuentes externas. */
:root {
  --tinta: #0f172a; --tinta-2: #334155; --tenue: #64748b;
  --linea: #e2e8f0; --linea-fuerte: #cbd5e1;
  --papel: #ffffff; --fondo: #f8fafc; --acento: #1e3a8a; --acento-claro: #eff6ff;
  --aviso-fondo: #fffbeb; --aviso-borde: #f59e0b;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, Cambria, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ancho: 68rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--sans); color: var(--tinta); background: var(--papel); }
img { max-width: 100%; }
a { color: var(--acento); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 2px; }
.num { font-variant-numeric: tabular-nums; }
.tenue { color: var(--tenue); }
.pequeno { font-size: 0.875rem; }
.der { text-align: right; }
.contenedor { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: 1.25rem; }
.saltar { position: absolute; left: -999px; top: 0; background: var(--tinta); color: #fff; padding: .6rem 1rem; z-index: 10; }
.saltar:focus { left: 0; }

/* Cabecera */
.cabecera { border-bottom: 1px solid var(--linea); background: var(--papel); position: sticky; top: 0; z-index: 5; }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; flex-wrap: wrap; padding-block: .4rem; }
.marca { font: 800 1.35rem/1 var(--serif); letter-spacing: -.02em; color: var(--tinta); text-decoration: none; }
.marca span { color: var(--acento); }
.menu { display: flex; gap: .15rem; flex-wrap: wrap; }
.menu a { padding: .55rem .75rem; font-size: .9rem; font-weight: 500; color: var(--tinta-2); text-decoration: none; border-bottom: 2px solid transparent; min-height: 44px; display: inline-flex; align-items: center; }
.menu a:hover { color: var(--tinta); border-bottom-color: var(--linea-fuerte); }
.menu a[aria-current="page"] { color: var(--tinta); border-bottom-color: var(--acento); font-weight: 600; }

/* Tipografía de página */
.principal { padding-block: 2.5rem 4rem; }
.antetitulo { margin: 0 0 .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tenue); }
.antetitulo a { color: inherit; }
.titulo { margin: 0; font: 700 clamp(2rem, 5vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.025em; max-width: 22ch; text-wrap: balance; }
.titulo-perfil { max-width: 30ch; font-size: clamp(1.85rem, 4.5vw, 2.75rem); }
.bajada { margin: 1rem 0 0; max-width: 62ch; font-size: 1.125rem; color: var(--tinta-2); text-wrap: pretty; }
.migas { font-size: .875rem; color: var(--tenue); margin-bottom: 1.25rem; }
.migas a { color: var(--tenue); }
.seccion { margin-top: 3rem; }
.seccion-titulo { margin: 0 0 1rem; font: 700 1.375rem/1.2 var(--serif); letter-spacing: -.01em; }
.fila-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--tinta); padding-bottom: .5rem; margin-bottom: .9rem; }
.fila-titulo h2 { margin: 0; font: 700 1.25rem/1.2 var(--serif); }
.fila-titulo p { margin: 0; font-size: .875rem; color: var(--tenue); }
.punto { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .5rem; vertical-align: .05em; }
.punto-grande { width: .9rem; height: .9rem; margin-right: .75rem; vertical-align: .1em; }

/* Composición */
.dos-col { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
@media (min-width: 52rem) { .dos-col { grid-template-columns: 1fr 1fr; } }
.barra { display: flex; height: 1.1rem; background: var(--linea); overflow: hidden; gap: 1px; }
.barra span { display: block; min-width: 2px; }
.leyenda { list-style: none; margin: .8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .875rem; }
.leyenda i { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .4rem; }

/* Filtros */
.filtros { display: grid; gap: .9rem 1rem; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); align-items: end; padding: 1.1rem; background: var(--fondo); border: 1px solid var(--linea); }
.filtros label { display: grid; gap: .3rem; font-size: .8125rem; font-weight: 600; color: var(--tinta-2); }
input, select, button { font: inherit; }
input[type=search], select { width: 100%; min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--linea-fuerte); background: #fff; color: var(--tinta); border-radius: 0; }
input[type=search]:focus, select:focus { border-color: var(--acento); }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.25rem; background: var(--tinta); color: #fff; font-weight: 600; font-size: .9375rem; border: 1px solid var(--tinta); text-decoration: none; cursor: pointer; border-radius: 0; }
.boton:hover { background: var(--acento); border-color: var(--acento); }
.boton-sec { background: transparent; color: var(--tinta); }
.boton-sec:hover { color: #fff; }
.enlace-limpiar { font-size: .875rem; align-self: center; }
.conteo { margin: 1.1rem 0 .5rem; font-size: .875rem; color: var(--tenue); }
.vacio-txt { padding: 2rem 0; color: var(--tinta-2); }

/* Tablas */
.tabla-caja { overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tabla th { text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tenue); padding: .6rem .75rem; border-bottom: 1px solid var(--tinta); white-space: nowrap; }
.tabla th.der { text-align: right; }
.tabla td { padding: .55rem .75rem; border-bottom: 1px solid var(--linea); vertical-align: middle; }
.tabla tbody tr:hover { background: var(--fondo); }
.tabla-chica { max-width: 32rem; margin-top: 1rem; }
.celda-nombre { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.celda-nombre a { color: var(--tinta); text-decoration: none; border-bottom: 1px solid var(--linea-fuerte); }
.celda-nombre a:hover { color: var(--acento); border-bottom-color: var(--acento); }
.bloque { display: inline-flex; align-items: center; gap: .45rem; }
.bloque i { width: .6rem; height: .6rem; border-radius: 50%; flex: none; }
.avatar { border-radius: 50%; object-fit: cover; background: var(--linea); flex: none; display: block; }
.avatar-vacio { display: inline-flex; align-items: center; justify-content: center; font: 700 .8rem/1 var(--sans); color: var(--tinta-2); background: var(--linea); }
.perfil-cabeza .avatar-vacio { font-size: 1.75rem; }
@media (max-width: 40rem) {
  .tabla td.celda-nombre { justify-content: flex-start; }
  .tabla thead { position: absolute; left: -999px; }
  .tabla tr { display: block; padding: .7rem 0; border-bottom: 1px solid var(--linea); }
  .tabla td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .2rem .25rem; }
  .tabla td[data-etiqueta]::before { content: attr(data-etiqueta); color: var(--tenue); font-size: .8125rem; }
  .tabla td.celda-nombre { font-size: 1.0625rem; }
  .tabla td.der { text-align: right; }
}

/* Perfil */
.perfil-cabeza { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.perfil-cabeza .avatar { width: 112px; height: 112px; }
.perfil-bloque { margin: .8rem 0 0; font-size: 1.0625rem; }
.perfil-grilla { margin-top: 2rem; }
.ficha { margin: 0; }
.ficha div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--linea); }
.ficha dt { color: var(--tenue); font-size: .9375rem; }
.ficha dd { margin: 0; font-weight: 500; text-align: right; }
.fuentes { list-style: none; margin: 0; padding: 0; }
.fuentes li { padding: .65rem 0; border-bottom: 1px solid var(--linea); display: grid; gap: .1rem; }
.fuente-campo { font-weight: 600; font-size: .9375rem; }
.fuente-origen { color: var(--tinta-2); font-size: .875rem; }
.aviso { margin: 1.5rem 0 0; padding: .9rem 1.1rem; background: var(--aviso-fondo); border-left: 4px solid var(--aviso-borde); font-size: .9375rem; max-width: 62ch; }
.lista-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; }
.lista-chips li { display: flex; flex-direction: column; padding: .55rem 0; border-bottom: 1px solid var(--linea); }
.lista-chips .tenue { font-size: .8125rem; }
.lista-chips-foto li { flex-direction: row; align-items: center; gap: .75rem; }
.lista-chips-foto .avatar { width: 40px; height: 40px; }
.chip-texto { display: flex; flex-direction: column; min-width: 0; }

/* Artículo */
.articulo-grilla { display: grid; gap: 3rem; }
@media (min-width: 58rem) { .articulo-grilla { grid-template-columns: minmax(0, 1fr) 16rem; } }
.articulo { max-width: 42rem; }
.articulo h2 { margin: 2.25rem 0 .6rem; font: 700 1.4rem/1.25 var(--serif); letter-spacing: -.01em; }
.articulo p, .articulo li { font-size: 1.0625rem; line-height: 1.7; color: #1e293b; }
.articulo .bajada { color: var(--tinta-2); }
.fuente-pie { margin-top: 2rem; padding-top: .9rem; border-top: 1px solid var(--linea); font-size: .875rem; color: var(--tenue); }
.lateral { align-self: start; position: sticky; top: 5rem; border-top: 2px solid var(--tinta); padding-top: .8rem; }
.lateral-t { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tenue); }
.lateral ul { list-style: none; margin: 0; padding: 0; }
.lateral a { display: block; padding: .45rem 0; font-size: .9375rem; color: var(--tinta-2); text-decoration: none; border-bottom: 1px solid var(--linea); }
.lateral a:hover, .lateral a[aria-current="page"] { color: var(--acento); font-weight: 600; }
.indice { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--tinta); }
.indice a { display: grid; gap: .15rem; padding: 1rem .25rem; border-bottom: 1px solid var(--linea); text-decoration: none; color: inherit; }
.indice a:hover { background: var(--fondo); }
.indice-t { font: 700 1.25rem/1.25 var(--serif); color: var(--tinta); }
.indice-d { color: var(--tinta-2); font-size: .9375rem; }
.vacio { max-width: 40rem; padding-block: 3rem; }

/* Pie */
.pie { background: var(--tinta); color: #cbd5e1; padding-block: 2.5rem; font-size: .9rem; }
.pie a { color: #e2e8f0; }
.pie-grilla { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .pie-grilla { grid-template-columns: 2fr 1fr 1fr; } }
.pie p { margin: 0 0 .6rem; max-width: 46ch; }
.pie-marca { font: 800 1.25rem/1 var(--serif); color: #fff; }
.pie-titulo { font-weight: 700; color: #fff; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.pie-titulo { display: block; margin: 0 0 .6rem; }
/* En el celular las listas del pie se pliegan: el título abre y cierra (casilla + etiqueta, sin JavaScript). */
@media (max-width: 40rem) {
  .pie { padding-block: 1.75rem; }
  .pie-grilla { gap: 0; }
  .pie-grilla > div:first-child { margin-bottom: 1rem; }
  .pie-titulo { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 0; border-top: 1px solid #334155; cursor: pointer; }
  .pie-titulo::after { content: "+"; font-size: 1.25rem; font-weight: 400; }
  .pie-toggle:checked + .pie-titulo::after { content: "−"; }
  .pie-toggle:focus-visible + .pie-titulo { outline: 2px solid #93c5fd; outline-offset: 2px; }
  .pie-toggle + .pie-titulo + ul { display: none; padding-bottom: .9rem; }
  .pie-toggle:checked + .pie-titulo + ul { display: grid; }
  .pie ul a { display: inline-block; padding-block: .3rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .cabecera, .pie, .filtros, .lateral { display: none; } }

.barra + .tabla-caja { margin-top: 1.1rem; }
.perfil-cabeza .avatar { box-shadow: none; }
.tabla td.celda-nombre { justify-content: flex-start; }

/* Registros del Senado */
.nowrap { white-space: nowrap; }
.block { display: block; margin-top: .15rem; }
.tabla-docs td { vertical-align: top; }
.docs-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .35rem; }
.paginas-num { flex-wrap: wrap; }
.paginas-lista { display: flex; flex-wrap: wrap; gap: .25rem; }
.paginas-lista a, .paginas-lista .pag-actual { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .5rem; border: 1px solid var(--linea); text-decoration: none; font-variant-numeric: tabular-nums; }
.paginas-lista a:hover { border-color: var(--acento); }
.paginas-lista .pag-actual { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 700; }
.volver-arriba { margin: 1.5rem 0 0; text-align: right; }
.volver-arriba a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--linea-fuerte); text-decoration: none; font-weight: 600; color: var(--tinta); }
.volver-arriba a:hover { border-color: var(--acento); color: var(--acento); }
@media (max-width: 40rem) { .paginas-num { justify-content: center; } .paginas-num > :first-child, .paginas-num > :last-child { flex: 1 1 40%; } .paginas-num > :last-child { text-align: right; } .paginas-lista { order: -1; flex-basis: 100%; justify-content: center; } .volver-arriba { text-align: center; } }
.paginas { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--linea); }
.contacto { margin: 0; padding: 0; list-style: none; }
.contacto li { padding: .55rem 0; border-bottom: 1px solid var(--linea); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 40rem) { .tabla-docs td { display: block; } .tabla-docs td::before { display: inline; margin-right: .5rem; } }
.articulo .sub { margin: 1.5rem 0 .4rem; font: 700 1.05rem/1.3 var(--sans); }
.lista-simple { margin: 0 0 1rem; padding-left: 1.2rem; }
.lista-simple li { font-size: .95rem; line-height: 1.5; padding: .1rem 0; }

/* Votaciones */
.res-si { color: #166534; } .res-no { color: #991b1b; }
.voto { display: inline-block; padding: .05rem .5rem; font-size: .8125rem; font-weight: 600; border: 1px solid var(--linea-fuerte); }
.voto-A { color: #166534; border-color: #86efac; background: #f0fdf4; }
.voto-N { color: #991b1b; border-color: #fca5a5; background: #fef2f2; }
.voto-B { color: #854d0e; border-color: #fde047; background: #fefce8; }
.voto-U, .voto-P { color: var(--tenue); background: var(--fondo); }
.conteo a[aria-current="true"] { font-weight: 700; color: var(--tinta); text-decoration: none; }
.participacion { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0; border-top: 1px solid var(--tinta); }
.participacion div { padding: .8rem .25rem; border-bottom: 1px solid var(--linea); }
.participacion dt { font-size: .8125rem; color: var(--tenue); }
.participacion dd { margin: .1rem 0 0; font: 700 1.6rem/1.1 var(--serif); font-variant-numeric: tabular-nums; }

/* Menú "Más" sin JavaScript */
.mas { position: relative; }
.mas summary { list-style: none; cursor: pointer; padding: .55rem .75rem; font-size: .9rem; font-weight: 500; color: var(--tinta-2); min-height: 44px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.mas summary::-webkit-details-marker { display: none; }
.mas summary::after { content: "▾"; margin-left: .3rem; font-size: .7rem; }
.mas[open] summary, .mas[data-activo] summary { color: var(--tinta); border-bottom-color: var(--acento); }
.mas-panel { position: absolute; right: 0; top: 100%; z-index: 6; min-width: 15rem; background: var(--papel); border: 1px solid var(--tinta); display: grid; }
.mas-panel a { padding: .7rem 1rem; font-size: .9rem; color: var(--tinta-2); text-decoration: none; border-bottom: 1px solid var(--linea); }
.mas-panel a:last-child { border-bottom: 0; }
.mas-panel a:hover, .mas-panel a[aria-current="page"] { background: var(--fondo); color: var(--acento); }
@media (max-width: 40rem) { .mas-panel { position: static; border: 0; border-top: 1px solid var(--linea); } .mas { flex-basis: 100%; } }
/* Menú compacto en el celular: botón "Menú" que abre la lista, sin JavaScript (casilla + etiqueta; la CSP no admite scripts). */
.menu-boton { display: none; }
@media (max-width: 60rem) {
  .mas { width: 100%; }
  .mas summary { display: flex; }
  .mas-panel { position: static; border: 0; border-top: 1px solid var(--linea); min-width: 0; }
  .mas-panel a { padding-left: 1.5rem; }
  .cabecera-fila { flex-wrap: wrap; gap: 0 1rem; }
  .menu-boton { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem; border: 1px solid var(--linea-fuerte); font-size: .9rem; font-weight: 600; color: var(--tinta); cursor: pointer; user-select: none; }
  .menu-icono, .menu-icono::before, .menu-icono::after { display: block; width: 1.1rem; height: 2px; background: currentColor; transition: transform .15s; }
  .menu-icono { position: relative; }
  .menu-icono::before, .menu-icono::after { content: ""; position: absolute; left: 0; }
  .menu-icono::before { top: -6px; } .menu-icono::after { top: 6px; }
  .menu-toggle:checked + .menu-boton .menu-icono { background: transparent; }
  .menu-toggle:checked + .menu-boton .menu-icono::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle:checked + .menu-boton .menu-icono::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-toggle:focus-visible + .menu-boton { outline: 2px solid var(--acento); outline-offset: 2px; }
  .menu { display: none; flex-basis: 100%; flex-direction: column; flex-wrap: nowrap; gap: 0; padding: .25rem 0 .5rem; max-height: calc(100vh - 4rem); overflow-y: auto; }
  .menu-toggle:checked ~ .menu { display: flex; }
  .menu a, .mas summary { border-bottom: 1px solid var(--linea); border-left: 3px solid transparent; padding-left: .75rem; }
  .menu a[aria-current="page"], .mas[data-activo] summary { border-bottom-color: var(--linea); border-left-color: var(--acento); }
}

/* Leyes y subsidios */
.ley-num { font: 700 1.05rem/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sumario { max-width: 70ch; font-size: 1.0625rem; line-height: 1.7; color: #1e293b; }
.refs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .6rem 0 0; padding: 0; }
.refs li { font-size: .8125rem; padding: .1rem .5rem; border: 1px solid var(--linea-fuerte); color: var(--tinta-2); }
.pestanas { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--tinta); margin-top: 1.5rem; }
.pestanas a { padding: .65rem 1rem; font-size: .9375rem; color: var(--tinta-2); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; min-height: 44px; display: inline-flex; align-items: center; }
.pestanas a[aria-current="page"] { color: var(--tinta); font-weight: 700; border-bottom-color: var(--acento); }

/* Portada y resumen de perfil */
.buscador { margin-top: 2rem; max-width: 36rem; }
.buscador-t { display: block; margin-bottom: .4rem; font-size: .875rem; font-weight: 600; color: var(--tinta-2); }
.buscador-fila { display: flex; gap: .5rem; }
.buscador-fila input { flex: 1; min-width: 0; min-height: 44px; padding: .5rem .8rem; font: inherit; border: 1px solid var(--linea-fuerte); background: #fff; }
.atajos { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.atajos a { display: grid; align-content: start; gap: .2rem; height: 100%; padding: .9rem 1rem; border: 1px solid var(--linea); text-decoration: none; color: var(--tinta); }
.atajos a:hover { border-color: var(--acento); background: var(--fondo); }
.atajos b { font: 700 1.05rem/1.25 var(--serif); }
.atajos span { font-size: .9rem; color: var(--tinta-2); }
@media (max-width: 40rem) { .atajos { grid-template-columns: 1fr 1fr; gap: .5rem; } .atajos a { padding: .65rem .75rem; } .atajos b { font-size: .95rem; } .atajos span { font-size: .8rem; } }
.resumen { margin-top: 1.75rem; padding: 1rem 1.25rem; border-left: 4px solid var(--acento); background: var(--fondo); max-width: 48rem; }
.resumen-t { margin: 0 0 .5rem; font: 700 1.1rem/1.2 var(--serif); }
.resumen ul { margin: 0; padding-left: 1.1rem; }
.resumen li { padding: .15rem 0; line-height: 1.5; }
.resumen-atajos { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: .75rem 0 0; font-size: .9rem; }

/* Perfil en pestañas, temas y gráficos (revisión de UX: componentes .pestanas, .barra y tokens) */
.pestanas-perfil { margin-top: 1.75rem; }
.pestanas-perfil a { font-weight: 500; }
.ejes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
.ejes li { display: grid; grid-template-columns: 10rem 1fr 6.5rem; align-items: center; gap: .35rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linea); }
.ejes-nombre { font-weight: 500; }
.ejes-barra { height: .75rem; }
.ejes-barra span { background: var(--acento); }
.ejes-num { text-align: right; }
.ejes-votos { grid-column: 1 / -1; }
@media (max-width: 40rem) { .ejes li { grid-template-columns: 1fr auto; } .ejes-barra { grid-column: 1 / -1; grid-row: 2; } }
.grafico-caja { margin: 0 0 1.5rem; max-width: 44rem; }
.grafico { display: block; width: 100%; height: auto; }
.g-guia { stroke: var(--linea); stroke-width: 1; }
.g-eje { fill: var(--tenue); font: 400 12px var(--sans); font-variant-numeric: tabular-nums; }
.g-linea { fill: none; stroke: var(--acento); stroke-width: 2; }
.g-punto { fill: var(--papel); stroke: var(--acento); stroke-width: 2; }
.g-linea-2 { fill: none; stroke: var(--tinta-2); stroke-width: 2; stroke-dasharray: 6 4; }
.g-punto-2 { fill: var(--papel); stroke: var(--tinta-2); stroke-width: 2; }
.leyenda .ley-linea { width: 1.4rem; height: 0; border-radius: 0; border-top: 2px solid var(--acento); vertical-align: middle; }
.leyenda .ley-linea-2 { border-top: 2px dashed var(--tinta-2); }
.grafico-caja figcaption { margin-top: .4rem; }
.sub-titulo { margin: 0 0 .5rem; font: 700 1rem/1.3 var(--sans); }
.lista-chips-angosta { grid-template-columns: 1fr; }

/* Datos de un gráfico, desplegables sin JavaScript */
.ver-datos { margin: -.75rem 0 1.5rem; }
.ver-datos summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; color: var(--acento); text-decoration: underline; }
.ver-datos .tabla-caja { margin-top: .25rem; }
.tabla-cifras td.num { white-space: nowrap; }
.tabla-cifras td.num::before { white-space: normal; }
.tabla td.celda-cargo { min-width: 9.5rem; }
@media (max-width: 40rem) { .tabla td.celda-cargo { min-width: 0; } .tabla td.celda-cargo > span { text-align: right; max-width: 70%; } }

/* Mapa de rutas de pasajes (SVG en línea, sin scripts) */
.mapa-sub { margin-top: 1.75rem; }
.mapa-grilla { display: grid; gap: 1.25rem 2rem; align-items: start; margin-bottom: 1rem; }
@media (min-width: 46rem) { .mapa-grilla { grid-template-columns: minmax(14rem, 19rem) minmax(0, 1fr); } }
.mapa-caja { margin: 0; max-width: 19rem; width: 100%; justify-self: center; }
.mapa { display: block; width: 100%; height: auto; }
.m-prov { fill: var(--fondo); stroke: var(--linea-fuerte); stroke-width: .6; stroke-linejoin: round; }
.m-ruta { fill: none; stroke: var(--acento); stroke-linecap: round; opacity: .85; }
.m-ruta-t { stroke: var(--tinta-2); stroke-dasharray: 5 3; stroke-linecap: butt; }
.m-punto { fill: var(--papel); stroke: var(--tinta); stroke-width: 1.5; }
.m-etq { fill: var(--tinta); font: 600 11px var(--sans); paint-order: stroke; stroke: var(--papel); stroke-width: 3px; stroke-linejoin: round; }
.mapa-caja .leyenda { margin-top: .5rem; }
@media (max-width: 40rem) {
  .tabla-rutas thead { position: static; }
  .tabla-rutas tr { display: table-row; padding: 0; }
  .tabla-rutas td { display: table-cell; border-bottom: 1px solid var(--linea); padding: .5rem .25rem; }
  .tabla-rutas td[data-etiqueta]::before { content: none; }
}
/* Hemiciclo de bloques */
.camara-hemiciclo { margin: 0 0 1.25rem; }
.hemiciclo { display: block; width: 100%; height: auto; max-width: 56rem; margin-inline: auto; }
.hemiciclo a { transition: opacity .15s; }
.hemiciclo a:hover .anillo, .hemiciclo a:focus .anillo { stroke-width: 9; }
.hemiciclo a:focus { outline: none; }
.hemiciclo a:focus-visible .anillo { stroke: var(--tinta) !important; }
.hemiciclo-total { font: 700 84px/1 var(--serif); fill: var(--tinta); }
.hemiciclo-sub { font: 500 22px/1 var(--sans); fill: var(--tenue); }
.camara-hemiciclo figcaption { margin: .6rem auto 0; max-width: 62ch; font-size: .875rem; text-align: center; text-wrap: pretty; }
.leyenda-bloques { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; }
.leyenda-bloques a { display: grid; grid-template-columns: auto 1fr auto auto; align-items: start; gap: .6rem; line-height: 1.35; padding: .5rem 0; border-bottom: 1px solid var(--linea); color: var(--tinta); text-decoration: none; min-height: 44px; box-sizing: border-box; }
.leyenda-bloques a:hover .leyenda-nombre { color: var(--acento); text-decoration: underline; }
.leyenda-bloques .punto { margin: .4em 0 0; }
.leyenda-bloques b { font: 700 1.125rem/1.2 var(--serif); }
.leyenda-pct { font-size: .8125rem; line-height: 1.66; color: var(--tenue); min-width: 3.2em; text-align: right; }
.detalle-tabla summary { cursor: pointer; font-size: .9375rem; font-weight: 600; color: var(--acento); min-height: 44px; display: flex; align-items: center; }
.detalle-tabla[open] summary { margin-bottom: .5rem; }
@media (max-width: 40rem) { .hemiciclo-sub { font-size: 30px; } }

/* Gráficos de barras y reparto de una votación */
.g-barra { fill: var(--acento); }
.g-barra:hover { fill: var(--tinta); }
.barra-resultado { display: flex; height: 1.25rem; background: var(--linea); overflow: hidden; gap: 1px; max-width: 44rem; margin-top: 1.25rem; }
.barra-resultado span { display: block; min-width: 2px; }
.br-a { background: #166534; } .br-n { background: #991b1b; } .br-b { background: #a16207; } .br-u { background: #94a3b8; }
.leyenda-resultado i { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .4rem; }
.graficos-resumen { margin-top: 2rem; }
.graficos-resumen .sub-titulo { margin-top: 1.25rem; }

/* Patrimonio y comparador */
.sr-solo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tabla-patrimonio th a { color: inherit; text-decoration: none; }
.tabla-patrimonio th a:hover { color: var(--acento); }
.tabla-patrimonio td.celda-nombre { min-width: 15rem; }
.comparador { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.comp-cabezas { display: grid; gap: 1rem; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); margin-top: 2rem; }
@media (max-width: 40rem) { .comp-cabezas { grid-template-columns: 1fr 1fr; } }
.comp-cabeza { display: flex; gap: .75rem; align-items: center; padding: .75rem; border: 1px solid var(--linea); }
.comp-nombre { font: 700 1rem/1.25 var(--serif); color: var(--tinta); text-decoration: none; }
.comp-nombre:hover { color: var(--acento); }
.tabla-comparar th[scope="row"] { text-align: left; font-weight: 500; color: var(--tinta-2); white-space: normal; min-width: 11rem; }
.grafico-ancho { max-width: 48rem; }
.leyenda-series i { display: inline-block; width: 1.4rem; height: 0; border-top: 3px solid; margin-right: .4rem; vertical-align: middle; border-radius: 0; }
.leyenda-series .ley-serie-0 { border-top-color: var(--acento); } .leyenda-series .ley-serie-1 { border-top-color: #b45309; border-top-style: dashed; }
.leyenda-series .ley-serie-2 { border-top-color: #0f766e; border-top-style: dotted; } .leyenda-series .ley-serie-3 { border-top-color: #7e22ce; border-top-style: dashed; }
.g-l { fill: none; stroke-width: 2.25; }
.g-l0 { stroke: var(--acento); } .g-l1 { stroke: #b45309; stroke-dasharray: 7 4; }
.g-l2 { stroke: #0f766e; stroke-dasharray: 2 4; } .g-l3 { stroke: #7e22ce; stroke-dasharray: 10 3 2 3; }
.g-m { stroke-width: 2; fill: var(--papel); }
.g-m0 { stroke: var(--acento); } .g-m1 { stroke: #b45309; } .g-m2 { stroke: #0f766e; } .g-m3 { stroke: #7e22ce; }
.tabla-patrimonio { font-size: .875rem; }
.tabla-patrimonio td, .tabla-patrimonio th { padding: .5rem .55rem; }
.tabla-patrimonio td.num { white-space: nowrap; }
.tabla-patrimonio td.celda-nombre { min-width: 13rem; max-width: 18rem; }
.tabla-patrimonio td.celda-nombre > span { min-width: 0; }
.tabla-patrimonio td.celda-nombre a { overflow-wrap: anywhere; }
.comp-cabeza > div { min-width: 0; }
.comp-nombre { overflow-wrap: anywhere; }
.comparador select { min-width: 0; width: 100%; }
.comp-cabeza { box-sizing: border-box; min-width: 0; }
@media (max-width: 40rem) { .comp-cabeza { padding: .5rem; gap: .5rem; } .comp-cabeza .avatar { width: 44px; height: 44px; } }

/* Proyectos por año: categorías y promedio de la cámara */
.g-s { stroke: var(--papel); stroke-width: .75; }
.g-s-propio { fill: var(--acento); } .g-s-firmante { fill: #0f766e; } .g-s-recon { fill: #b45309; } .g-s-sin { fill: #64748b; }
.g-s:hover { opacity: .85; }
.g-prom { fill: none; stroke: var(--tinta); stroke-width: 2; stroke-dasharray: 6 4; }
.g-prom-m { fill: var(--papel); stroke: var(--tinta); stroke-width: 2; }
.leyenda-proyectos i { display: inline-block; width: .8rem; height: .8rem; margin-right: .4rem; vertical-align: middle; border-radius: 0; }
.ley-s-propio { background: var(--acento); } .ley-s-firmante { background: #0f766e; } .ley-s-recon { background: #b45309; } .ley-s-sin { background: #64748b; }
.leyenda-proyectos .ley-prom { width: 1.4rem; height: 0; border-top: 2px dashed var(--tinta); background: none; }
.etq-rol { display: inline-block; padding: 0 .4rem; margin-left: .35rem; font-size: .75rem; border: 1px solid var(--linea-fuerte); color: var(--tinta-2); }

/* Glosario */
.glosario-indice { margin-top: 2rem; }
.glosario-indice ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.glosario-indice a { display: inline-block; padding: .3rem .65rem; border: 1px solid var(--linea); font-size: .9rem; text-decoration: none; color: var(--tinta-2); }
.glosario-indice a:hover { border-color: var(--acento); color: var(--acento); }
.glosario { margin: 2rem 0 0; max-width: 46rem; }
.glosario-item { padding: 1rem 0; border-bottom: 1px solid var(--linea); scroll-margin-top: 5rem; }
.glosario dt { font: 700 1.2rem/1.3 var(--serif); }
.glosario dd { margin: .35rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: var(--tinta-2); }
.articulo p, .articulo li, .glosario dd, .aviso, .bajada { overflow-wrap: anywhere; }

/* Dictámenes en el listado de proyectos */
.dictamenes { list-style: none; margin: .4rem 0 0; padding: 0; font-size: .875rem; color: var(--tinta-2); }
.dictamenes li { padding: .15rem 0 .15rem .75rem; border-left: 3px solid var(--linea-fuerte); margin-top: .25rem; overflow-wrap: anywhere; }
/* Cookies (solo cuando hay Google Analytics configurado) y enlaces legales del pie */
.cookies-aviso { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--fondo); border-top: 2px solid var(--acento); padding: .9rem 1rem; box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
.cookies-aviso p { margin: 0 auto .5rem; max-width: 56rem; font-size: .95rem; }
.cookies-botones, .botones-cookies { display: flex; flex-wrap: wrap; gap: .5rem; }
.pie-legal { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #334155; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.botones-cookies label { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .25rem .8rem; border: 1px solid var(--linea); cursor: pointer; }
.botones-cookies label:has(input:checked) { border-color: var(--acento); background: var(--fondo); font-weight: 600; }

/* Votación: hemiciclo por voto y análisis por bloque */
.hemiciclo-voto > a, .hemiciclo-voto > g, .hemiciclo-voto > path { transition: opacity .15s; }
.hemiciclo-voto a:hover circle:first-of-type, .hemiciclo-voto a:focus-visible circle:first-of-type { stroke: var(--tinta); stroke-width: 6; }
.leyenda-voto { justify-content: center; margin: 0 0 1.25rem; }
.leyenda-voto i { display: inline-block; width: .75rem; height: .75rem; border-radius: 50%; margin-right: .4rem; vertical-align: -.05em; box-sizing: border-box; }
.lv-A { background: #166534; } .lv-N { background: #991b1b; } .lv-B { background: #a16207; }
.lv-U { background: #fff; border: 2px solid #94a3b8; } .lv-P { background: #fff; border: 2px solid var(--tinta); }
.lv-D { background: #cbd5e1; outline: 2px solid var(--tinta); outline-offset: 1px; }
.barra-mini { display: flex; height: .35rem; margin-top: .35rem; max-width: 12rem; background: var(--linea); gap: 1px; }
.barra-mini span { display: block; min-width: 2px; }
.distinto-bloque { margin: 1.25rem 0 0; padding-top: .9rem; border-top: 1px solid var(--linea); }
.distinto-bloque h3 { margin: 0 0 .2rem; font: 700 1.0625rem/1.3 var(--serif); }
.lista-distintos { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .1rem 1.5rem; }
.lista-distintos li { padding: .45rem 0; border-bottom: 1px solid var(--linea); display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.lista-distintos .voto { margin-left: auto; }
.nota-metodo { margin-top: 1.25rem; max-width: 62ch; }
@media (max-width: 40rem) {
  .tabla-bloques-voto tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: .15rem .5rem; }
  .tabla-bloques-voto td.celda-bloque { display: block; grid-column: 1 / -1; font-weight: 600; }
  .tabla-bloques-voto td.der { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 0; text-align: left; }
  .tabla-bloques-voto td.der::before { font-size: .75rem; }
  .tabla-bloques-voto td:nth-child(6), .tabla-bloques-voto td:nth-child(7) { grid-column: span 2; justify-content: flex-start; align-items: center; gap: .5rem; flex-direction: row; }
  .tabla-bloques-voto td:nth-child(7)::before { order: 0; }
  .barra-mini { max-width: none; }
}
.tabla-bloques-voto .voto { white-space: nowrap; }
@media (max-width: 40rem) { .tabla-bloques-voto td.der { font-weight: 600; } .tabla-bloques-voto td.der::before { font-weight: 400; } }
.resumen-ley { max-width: 46rem; padding: 1.25rem 1.4rem; background: var(--fondo); border: 1px solid var(--linea); border-top: 3px solid var(--acento); }
.resumen-ley h3 { margin: 1.1rem 0 .3rem; font: 700 1rem/1.3 var(--sans); }
.resumen-ley p { margin: .3rem 0; max-width: 62ch; }
.resumen-etiqueta { margin: 0 0 .4rem !important; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--acento); }
.resumen-alcanza { margin: .3rem 0 1rem; padding-left: 1.1rem; }
.resumen-alcanza li { margin: .35rem 0; }
@media (max-width: 40rem) { .resumen-ley { padding: 1rem; } .resumen-ley .nowrap { white-space: normal; } }

/* Votación: filtro de "Ver" sin recargar (solo CSS, la CSP no admite scripts) */
.fv-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.filtro-voto { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; }
.filtro-voto label { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding: 0 .7rem; border: 1px solid var(--linea-fuerte); color: var(--acento); cursor: pointer; font-size: .875rem; background: var(--papel); }
.filtro-voto label:hover { border-color: var(--acento); }
.filtro-voto .num { color: var(--tenue); }
#fv-T:checked ~ .filtro-voto label[for="fv-T"], #fv-A:checked ~ .filtro-voto label[for="fv-A"], #fv-N:checked ~ .filtro-voto label[for="fv-N"], #fv-B:checked ~ .filtro-voto label[for="fv-B"], #fv-U:checked ~ .filtro-voto label[for="fv-U"] { background: var(--tinta); border-color: var(--tinta); color: #fff; font-weight: 600; }
#fv-T:checked ~ .filtro-voto label[for="fv-T"] .num, #fv-A:checked ~ .filtro-voto label[for="fv-A"] .num, #fv-N:checked ~ .filtro-voto label[for="fv-N"] .num, #fv-B:checked ~ .filtro-voto label[for="fv-B"] .num, #fv-U:checked ~ .filtro-voto label[for="fv-U"] .num { color: #cbd5e1; }
#fv-T:focus-visible ~ .filtro-voto label[for="fv-T"], #fv-A:focus-visible ~ .filtro-voto label[for="fv-A"], #fv-N:focus-visible ~ .filtro-voto label[for="fv-N"], #fv-B:focus-visible ~ .filtro-voto label[for="fv-B"], #fv-U:focus-visible ~ .filtro-voto label[for="fv-U"] { outline: 2px solid var(--acento); outline-offset: 2px; }
#fv-A:checked ~ .tabla-caja tbody tr:not(.fv-A), #fv-N:checked ~ .tabla-caja tbody tr:not(.fv-N), #fv-B:checked ~ .tabla-caja tbody tr:not(.fv-B), #fv-U:checked ~ .tabla-caja tbody tr:not(.fv-U) { display: none; }
.enlace-suave { color: inherit; text-decoration-color: var(--linea-fuerte); }
.enlace-suave:hover { color: var(--acento); text-decoration-color: var(--acento); }

/* Ley: texto oficial, contexto y votaciones */
.acciones-ley { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.5rem 0 0; }
.contexto-ley { max-width: 62ch; margin: 0 0 .8rem; }
.ley-vinculos { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1rem 2rem; margin-top: 1rem; }
.ley-vinculos h3 { margin: 0 0 .4rem; font: 700 1rem/1.3 var(--sans); }
.ley-vinculos ul, .lista-votos-ley, .lista-leyes-rel { list-style: none; margin: 0; padding: 0; }
.ley-vinculos li, .lista-leyes-rel li { padding: .45rem 0; border-bottom: 1px solid var(--linea); }
.lista-votos-ley li { display: grid; gap: .15rem; padding: .7rem 0; border-bottom: 1px solid var(--linea); }
.buscar-ley { display: flex; gap: .5rem; max-width: 30rem; margin: 0 0 1.25rem; }
.buscar-ley input { flex: 1; min-width: 0; min-height: 44px; padding: .5rem .75rem; border: 1px solid var(--linea-fuerte); font: inherit; font-size: .9375rem; background: var(--papel); color: var(--tinta); }
.buscar-ley .boton { min-height: 44px; }
/* Ley: gráficos propios (línea de tiempo, medio círculo de votos, esquema de normas vinculadas) */
.linea-ley { list-style: none; margin: .5rem 0 1.5rem; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 44rem; counter-reset: paso; }
.linea-ley li { position: relative; display: grid; gap: .1rem; padding: 1.4rem .75rem 0 0; font-size: .9375rem; }
.linea-ley li::before { content: ""; position: absolute; top: .45rem; left: 0; right: 0; height: 2px; background: var(--linea-fuerte); }
.linea-ley li:last-child::before { right: auto; width: 0; }
.linea-ley .punto { position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--papel); border: 3px solid var(--acento); box-sizing: border-box; z-index: 1; }
.linea-ley li:last-child .punto { background: var(--acento); }
.linea-ley strong { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--tenue); }
.lista-votos-ley li.con-semi { grid-template-columns: auto 1fr; align-items: center; gap: .9rem; }
.voto-ley-txt { display: grid; gap: .15rem; }
.semi-voto { display: block; }
.esquema-ley { display: flex; align-items: stretch; gap: .5rem; margin: 1.25rem 0 .5rem; max-width: 44rem; }
.esquema-ley .caja { flex: 1; display: grid; align-content: center; gap: .2rem; padding: .8rem .9rem; border: 1px solid var(--linea-fuerte); background: var(--fondo); font-size: .8125rem; color: var(--tinta-2); line-height: 1.35; }
.esquema-ley .cifra { font: 700 1.5rem/1.1 var(--serif); color: var(--tinta); }
.esquema-ley .caja-ley { flex: .8; background: var(--acento); border-color: var(--acento); color: #dbeafe; text-align: center; }
.esquema-ley .caja-ley .cifra { color: #fff; font-size: 1.25rem; }
.esquema-ley .flecha { align-self: center; width: 1.25rem; height: 2px; background: var(--linea-fuerte); position: relative; flex: none; }
.esquema-ley .flecha::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--linea-fuerte); border-right: 0; }
@media (max-width: 40rem) {
  .linea-ley { grid-auto-flow: row; gap: .9rem; }
  .linea-ley li { padding: 0 0 0 1.6rem; }
  .linea-ley li::before { top: 1rem; bottom: -1rem; left: .44rem; right: auto; width: 2px; height: auto; }
  .esquema-ley { flex-direction: column; }
  .esquema-ley .caja-ley { text-align: left; }
  .esquema-ley .flecha { width: 2px; height: 1rem; margin-left: 1.5rem; }
  .esquema-ley .flecha::after { right: -4px; top: auto; bottom: -1px; border: 5px solid transparent; border-top: 7px solid var(--linea-fuerte); border-bottom: 0; }
}
.aviso-ley { margin: 1.25rem 0 0; padding: .75rem 1rem; max-width: 44rem; background: var(--acento-claro); border-left: 4px solid var(--acento); font-size: .9375rem; }
#directorio { scroll-margin-top: 5rem; }

/* Cruces de datos */
.cruce-detalle { margin-top: .25rem; text-align: left; }
.cruce-detalle summary { cursor: pointer; color: var(--acento); font-size: .875rem; text-decoration: underline; min-height: 32px; display: inline-flex; align-items: center; }
.cruce-detalle ul { margin: .35rem 0 0; max-width: 40rem; }
.cruce-detalle li { padding: .2rem 0; }
.par-legisladores { display: grid; gap: .15rem; }
.g-disp { fill: var(--acento); fill-opacity: .55; stroke: var(--papel); stroke-width: 1; }
.g-disp:hover, a:focus-visible .g-disp { fill-opacity: 1; stroke: var(--tinta); }
.tabla-cruce-votos td .voto { white-space: nowrap; }
.tabla-provincia-votos .voto { margin: 0 .15rem .2rem 0; white-space: nowrap; }
@media (max-width: 40rem) {
  .tabla td .cruce-detalle { flex-basis: 100%; }
  .tabla td:has(> .cruce-detalle), .tabla td:has(.cruce-detalle) { flex-wrap: wrap; }
}
.celda-nombre-td .celda-nombre { font-weight: 500; }
@media (max-width: 40rem) { .tabla td.celda-nombre-td { font-size: 1.0625rem; } }
.pct-barra { display: inline-block; min-width: 6.5rem; }
@media (max-width: 40rem) {
  .tabla td.td-bloque { display: block; text-align: left; }
  .tabla td.td-bloque::before { display: block; margin-bottom: .15rem; }
}
.celda-valor { display: inline-block; }
.tabla-cruce-votos th:first-child { min-width: 14rem; }
.tabla-cruce-votos .voto { padding: .05rem .4rem; }
.tabla-cruce-votos th:first-child { min-width: 12rem; }
.tabla-cruce-votos td, .tabla-cruce-votos th { padding-left: .45rem; padding-right: .45rem; }
@media (max-width: 40rem) { .tabla td .celda-valor { text-align: right; } }

/* Sección Proyectos: temas por bloque, mediana de la cámara y casilla de filtro */
.tema-bloque { border-bottom: 1px solid var(--linea); padding: .25rem 0 .75rem; max-width: 52rem; }
.tema-bloque:first-of-type { border-top: 1px solid var(--tinta); }
.tema-bloque summary { cursor: pointer; padding: .75rem 0; min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .5rem; }
.tema-bloque summary .punto { margin-right: 0; }
.tema-bloque-n { font: 700 1.125rem/1.25 var(--serif); }
.tema-bloque .ejes { border-top: 0; }
.tema-bloque .ejes li { grid-template-columns: minmax(10rem, 16rem) 1fr 6.5rem; }
@media (max-width: 40rem) { .tema-bloque .ejes li { grid-template-columns: 1fr auto; } }
.fila-mediana td { background: var(--fondo); }
.filtros .filtro-check { display: flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 500; }
.filtro-check input { width: 1.1rem; height: 1.1rem; margin: 0; }
.pestanas-camara { margin-top: .75rem; }
.td-bloque-ancho { min-width: 14rem; }
@media (max-width: 40rem) { .td-bloque-ancho { min-width: 0; } }
.punto { flex-shrink: 0; }
