/* [Pulso-Supabase] 🧯 Fugas de plata (public/radar-fugas.js): pestaña de 📡 Radar. Celular primero (390 px sin scroll de lado);
   claro y oscuro con las variables de estilos.css y las clases de radar.css (rd-card, rd-kpis, rd-k, rd-pill…). Lo propio lleva rf-. */
.rf-hero { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl, 18px); padding: 14px; margin-bottom: 12px; }
.rf-hero h3 { margin: 0 0 4px; font-size: 17px; }
.rf-hero p { margin: 0 0 4px; line-height: 1.45; }
.rf-revisar { align-self: flex-start; min-height: 40px; }
.rf-revisar small { color: var(--t2); font-weight: 400; }
.rf-aviso { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--t2); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r, 14px); padding: 9px 11px; margin-bottom: 12px; line-height: 1.4; }
.rf-aviso-mal { color: var(--red); border-color: var(--red-bd, var(--border)); background: var(--red-bg, var(--surface)); }
/* números de arriba */
.rf-kpis { grid-template-columns: minmax(0, 1fr); }
.rf-kpis .rd-k b { font-size: 24px; }
.rf-kpis .rd-k small { color: var(--t2); font-size: 11.5px; line-height: 1.35; overflow-wrap: anywhere; }
.rf-k-rec { border-left: 4px solid var(--green); }
.rf-kpis-p { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 6px; }
.rf-kpis.rf-kpis-p .rd-k b { font-size: 17px; }
.rf-cruce { margin: 0 0 14px; line-height: 1.4; }
.rf-k-yen { border-left: 4px solid var(--red); }
/* secciones y tarjetas */
.rf-sec { margin-bottom: 14px; }
.rf-h3 { margin: 4px 0 8px; font-size: 15.5px; }
.rf-card { gap: 10px; border-left-width: 4px; min-width: 0; }
.rf-card.rf-rec { border-left-color: var(--green); }
.rf-card.rf-yen { border-left-color: var(--red); }
.rf-c-h { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.rf-ico { font-size: 20px; line-height: 1.2; flex: 0 0 auto; }
.rf-c-n { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rf-c-n small { color: var(--t2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; }
.rf-c-n b { font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.rf-c-m { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rf-c-m b { font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rf-c-m small { color: var(--t2); font-size: 11.5px; white-space: nowrap; }
.rf-dl { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.45; }
.rf-dl dt { color: var(--t2); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.rf-dl dd { margin: 0; overflow-wrap: anywhere; }
.rf-nota { margin: 0; line-height: 1.4; }
.rf-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rf-it { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12.5px; line-height: 1.4; }
.rf-it-t { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; min-width: 0; }
.rf-it-t b { font-size: 13px; overflow-wrap: anywhere; min-width: 0; }
.rf-it-m { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.rf-it-d { color: var(--t1); overflow-wrap: anywhere; }
.rf-mas { margin: 0; }
/* qué revisé y ya revisadas */
.rf-que > summary, .rf-revs > summary { cursor: pointer; list-style: none; display: flex; align-items: center; min-height: 40px; }
.rf-que > summary::-webkit-details-marker, .rf-revs > summary::-webkit-details-marker { display: none; }
.rf-que > summary::after, .rf-revs > summary::after { content: '▾'; margin-left: auto; color: var(--t2); transition: transform .2s; }
.rf-que[open] > summary::after, .rf-revs[open] > summary::after { transform: rotate(180deg); }
.rf-que > summary h3, .rf-revs > summary h3 { margin: 0; font-size: 15px; }
.rf-est { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.45; }
.rf-est li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; min-width: 0; }
.rf-est li.rf-falta { color: var(--t2); }
.rf-est li.rf-falta b { color: var(--t1); }
@media (min-width: 720px) {
  .rf-hero { flex-direction: row; align-items: center; justify-content: space-between; }
  .rf-hero .rf-revisar { align-self: center; flex: 0 0 auto; }
  .rf-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
