/* Resumen con «Todas las sucursales»: participación, una ficha por sucursal y comparativo con totales. Objetivos táctiles de 44 px; 1 columna en pantallas chicas (reloj de 240 px incluido). */
.rs-seccion { margin: 4px 0 14px; display: grid; gap: 12px; min-width: 0; }
.rs-cabeza h2 { font-size: 1.1rem; margin: 0; }
.rs-cabeza .sub { margin: 2px 0 0; font-size: .82rem; color: var(--tinta-suave); }
.rs-seccion .tarjeta h3 { font-size: .95rem; margin: 0 0 8px; }

.rs-apilada { display: flex; height: 14px; border-radius: 3px; overflow: hidden; background: var(--papel-2); gap: 2px; }
.rs-apilada i { display: block; height: 100%; min-width: 3px; }
.rs-leyenda { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 4px 18px; }
.rs-leyenda li { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .88rem; }
.rs-leyenda li i, .rs-punto { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.rs-leyenda li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-leyenda li b { font-family: var(--f-cifra); font-variant-numeric: tabular-nums; }

.rs-fichas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; align-items: stretch; }
.rs-ficha { display: flex; flex-direction: column; gap: 10px; }
.rs-ficha header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.rs-ficha header h3 { display: flex; align-items: center; gap: 8px; margin: 0; min-width: 0; font-size: 1rem; }
.rs-ficha header h3 span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-ficha header .chip { flex: none; font-size: .74rem; padding: 2px 8px; }
.rs-hoy { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.rs-hoy > span:first-child { font-size: .8rem; font-weight: 600; color: var(--tinta-suave); }
.rs-hoy strong { font: 650 1.7rem/1.15 var(--f-cifra); font-variant-numeric: tabular-nums; letter-spacing: -.01em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-datos { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.rs-datos > div { min-width: 0; }
.rs-datos dt { font-size: .74rem; color: var(--tinta-suave); line-height: 1.25; }
.rs-datos dd { margin: 1px 0 0; font: 600 .95rem/1.25 var(--f-cifra); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rs-pista { height: 6px; border-radius: 3px; background: var(--papel-2); overflow: hidden; }
.rs-pista i { display: block; height: 100%; background: var(--c); border-radius: 3px; }
.rs-chispa { display: block; width: 100%; height: 44px; }
.rs-pie-chispa { margin: -6px 0 0; font-size: .74rem; color: var(--tinta-suave); }
.rs-alertas { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-ficha footer { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.rs-ficha footer .btn { min-height: 44px; flex: 1 1 auto; }

.rs-tabla { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rs-tabla table { min-width: 720px; }
.rs-nom { display: inline-flex; align-items: center; gap: 8px; }
.rs-tabla tfoot th { border-top: 2px solid var(--regla); background: var(--papel-2); font-weight: 700; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--tinta); }
.rs-tabla .delta { white-space: nowrap; }

@media (max-width: 760px) { .rs-hoy strong { font-size: 1.45rem; } .rs-datos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .rs-datos { grid-template-columns: 1fr; } .rs-ficha footer .btn { flex-basis: 100%; } }
