/* estilos del módulo reportes (solo tokens de app.css) */
.rp-note { margin-bottom: 14px; color: var(--text-2); } /* visual: .notice */
.rp-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; margin: 6px 0 10px; }
.rp-card { display: flex; flex-direction: column; gap: 10px; }
.rp-card-top { align-items: flex-start; }
.rp-card-title { margin: 0; font-size: 15px; }
.rp-card-title a { text-decoration: none; }
.rp-card-title a:hover { text-decoration: underline; }
.rp-card-foot { margin-top: auto; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.rp-star { gap: 6px; color: var(--text-2); min-width: 38px; min-height: 38px; }
.rp-star.on { color: var(--sel-ink); background: var(--sel-soft); border-color: var(--sel); }
.rp-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rp-links li { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 34px; border-bottom: 1px solid var(--border); }
.rp-links li:last-child { border-bottom: 0; }
.rp-links a { text-decoration: none; font-weight: 500; }
.rp-links a:hover { text-decoration: underline; }
.rp-actions { flex-wrap: wrap; gap: 8px; }
.rp-filters { align-items: end; }
.rp-apply { align-self: end; }
.rp-meta { flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.rp-scroll { overflow-x: auto; max-width: 100%; }
.rp-table th { padding: 0; white-space: nowrap; }
.rp-table th.num .rp-sort { justify-content: flex-end; }
.rp-sort { display: flex; width: 100%; align-items: center; gap: 4px; border: 0; background: none; padding: 8px 10px; min-height: 38px; font-size: 12px; font-weight: 500; color: var(--text-2); cursor: pointer; text-align: left; }
.rp-sort:hover { color: var(--text); }
.rp-sort:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 8px; }
.rp-arrow { font-size: 12px; color: var(--text); min-width: 9px; }
.rp-table td { font-size: 13.5px; }
.rp-table td.num { white-space: nowrap; }

@media (max-width: 820px) {
  .rp-scroll { overflow-x: visible; }
  .rp-table tr { grid-template-columns: minmax(0, 1fr); }
  .rp-table td { display: flex; justify-content: space-between; gap: 12px; text-align: right; overflow-wrap: anywhere; min-width: 0; }
  .rp-table td.num { white-space: normal; }
  .rp-table td::before { content: attr(data-label); color: var(--text-2); font-size: 12px; text-align: left; flex: none; max-width: 45%; }
  .rp-actions { width: 100%; }
  .rp-actions .btn { flex: 1 1 auto; }
}

/* Capa de vida · Reportes (2026-09-27): ícono con el tono de su familia, favoritos y recientes como pastillas, candado en confidencial. */
.rp-card-top { justify-content: flex-start; gap: 10px; } .rp-card-top .rp-star { margin-left: auto; }
.rp-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.rp-ic.t-sun { background: var(--vivid-sun-soft); color: var(--vivid-sun-ink); } .rp-ic.t-lav { background: var(--vivid-lav-soft); color: var(--vivid-lav-ink); }
.rp-ic.t-seg { background: var(--co-seg-soft); color: var(--co-seg-ink); } .rp-ic.t-ope { background: var(--co-ope-soft); color: var(--co-ope-ink); }
.rp-card-title { align-self: center; flex: 1 1 auto; min-width: 0; }
.rp-cat { display: flex; align-items: center; gap: 8px; }
.rp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500; }
.rp-pill:hover { border-color: var(--border-strong); background: var(--bg); }
.rp-pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rp-pill small { color: var(--text-3); font-weight: 400; }
.rp-pill.fav { background: var(--vivid-sun-soft); border-color: transparent; color: var(--vivid-sun-ink); }
.rp-pill-star { display: inline-flex; color: currentColor; } .rp-pill-star svg { width: 13px; height: 13px; }
.rp-pill-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); }
.rp-pill-dot.t-sun { background: var(--vivid-sun); } .rp-pill-dot.t-lav { background: var(--vivid-lav); } .rp-pill-dot.t-seg { background: var(--co-seg); } .rp-pill-dot.t-ope { background: var(--co-ope); }
.rp-lock { display: inline-flex; align-items: center; gap: 5px; }
