/* CobroFlow · Resumen del socio (gráficas SVG ligeras). Móvil primero: sin zoom, sin desplazamiento lateral. */
.rs-barra { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rs-barra select { flex: 1 1 200px; min-height: 46px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 12px; background: #fff; font-weight: 700; font-size: 16px; }
.rs-dias { display: flex; gap: 6px; }
.rs-dias button { min-height: 44px; min-width: 56px; padding: 0 12px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; font-weight: 800; color: #334155; }
.rs-dias button[aria-pressed="true"] { background: #0a192f; border-color: #0a192f; color: #fff; }
.rs-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-kpi { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.g-kpi span { font: 800 10px/1.2 Inter, sans-serif; text-transform: uppercase; letter-spacing: .03em; color: #64748b; }
.g-kpi b { font: 800 1.2rem/1.15 Inter, sans-serif; color: #0f172a; overflow-wrap: anywhere; }
.g-kpi small { font-size: 11.5px; color: #64748b; }
.g-k-grande { grid-column: 1 / -1; background: linear-gradient(135deg, #0a192f, #14305a); border-color: #0a192f; }
.g-k-grande span, .g-k-grande small { color: #94a3b8; } .g-k-grande b { color: #fff; font-size: 1.7rem; }
.g-k-ok b { color: #047857; } .g-k-aviso b { color: #b45309; } .g-k-mal b { color: #be123c; }
.rs-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.rs-card h3 { font: 800 14px/1.2 Inter, sans-serif; color: #0f172a; }
.rs-card .g-leyenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #475569; }
.g-leyenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.g-detalle { min-height: 36px; font-size: 13px; color: #334155; background: #f8fafc; border-radius: 10px; padding: 8px 10px; }
.g-svg { width: 100%; height: auto; display: block; overflow: visible; }
.g-rej { stroke: #e2e8f0; stroke-width: 1; } .g-eje { font: 10px Inter, sans-serif; fill: #64748b; } .g-hoy-t { fill: #0f172a; font-weight: 800; }
.g-cap { fill: #6366f1; } .g-int { fill: #10b981; } .g-max { font: 800 10px Inter, sans-serif; fill: #334155; }
.g-fondo-barra { fill: transparent; } .g-barra { cursor: pointer; } .g-barra:hover .g-fondo-barra, .g-barra.g-sel .g-fondo-barra { fill: rgba(99, 102, 241, .10); }
.g-hoy .g-cap { fill: #4338ca; } .g-hoy .g-int { fill: #059669; }
#mainApp .g-dona, .g-dona { max-width: 190px; margin: 0 auto; }
.g-ok { stroke: #10b981; } .g-aviso { stroke: #f59e0b; } .g-mal { stroke: #e11d48; } .g-rej-c { stroke: #e2e8f0; }
.g-centro { font: 800 24px Inter, sans-serif; fill: #0f172a; } .g-centro-s { font: 600 10px Inter, sans-serif; fill: #64748b; }
.g-dona-fila { display: grid; gap: 12px; grid-template-columns: 1fr; align-items: center; }
.g-lista-dona { display: grid; gap: 6px; font-size: 13px; } .g-lista-dona div { display: flex; justify-content: space-between; gap: 8px; } .g-lista-dona i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.g-hb { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.g-hb-t { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; } .g-hb small { color: #64748b; font-size: 11.5px; }
.g-hb-pista { height: 10px; background: #f1f5f9; border-radius: 999px; overflow: hidden; margin: 5px 0 3px; }
.g-hb-pista span { display: block; height: 100%; border-radius: 999px; } .g-hb-pos { background: #10b981; } .g-hb-neg { background: #e11d48; }
.g-pos { color: #047857; font-weight: 800; } .g-neg { color: #be123c; font-weight: 800; }
.g-tabla { width: 100%; border-collapse: collapse; font-size: 13px; } .g-tabla th, .g-tabla td { padding: 6px 8px; text-align: right; border-bottom: 1px solid #eef2f7; } .g-tabla th:first-child, .g-tabla td:first-child { text-align: left; }
details.rs-datos > summary { cursor: pointer; font-weight: 700; font-size: 13px; color: #4f46e5; min-height: 40px; display: flex; align-items: center; }
.rs-vacio { text-align: center; color: #64748b; padding: 22px 8px; }
@media (min-width: 768px) { .rs-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g-k-grande { grid-column: span 2; } .g-dona-fila { grid-template-columns: 200px 1fr; } }
@media (max-width: 767px) { .g-dona-fila { grid-template-columns: 1fr; } }
