/* ticket-history.css — Reports: tickets creados desde el dia 1 (2026-10-28) */
.az-th-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.az-th-title { margin: 0 !important; text-align: left !important; }
.az-th-sub { font-size: 12px; color: #888; margin-top: 3px; }
.az-th-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.az-th-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.az-th-k { background: rgba(0,0,0,0.03); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.az-th-k b { display: block; font-size: 21px; font-weight: 800; color: #1b2430; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.az-th-k span { display: block; font-size: 12px; color: #6b7280; }
.az-th-k small { display: block; font-size: 11px; color: #9ca3af; margin-top: 2px; }
.az-th-empty { grid-column: 1 / -1; color: #9ca3af; text-align: center; padding: 24px 0; font-size: 13px; }
.az-th-box { height: 300px; position: relative; }
@media (max-width: 700px) {
    .az-th-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .az-th-groups { flex-wrap: wrap; max-width: 100%; border-radius: 14px !important; }
    .az-th-box { height: 240px; }
}
body.dark-mode .az-th-sub, body.dark-mode .az-th-k span { color: #a0a4ab; }
body.dark-mode .az-th-k { background: #1e222a; }
body.dark-mode .az-th-k b { color: #f0f2f5; }
body.dark-mode .az-th-k small, body.dark-mode .az-th-empty { color: #6b7280; }

/* Reports > Bus Bar: entre las tarjetas y la lista */
.bbr-history { margin: 4px 0 18px; padding: 14px 0 4px; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
body.dark-mode .bbr-history { border-color: #2a2f38; }
