/* Pemantauan login & aktivitas */
.pm-kartu { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.pm-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 14px 16px; }
.pm-stat span { display: block; font-size: .76rem; color: #64748b; }
.pm-stat strong { display: block; font-size: 1.5rem; line-height: 1.3; color: #0f172a; }
.pm-stat small { color: #94a3b8; font-size: .72rem; }
.pm-grafik { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 12px; margin-bottom: 18px; }
.pm-grafik .ui-card + .ui-card { margin-top: 0; }
.pm-kotak { padding: 14px 16px; min-width: 0; }
.pm-judul { font-size: 1rem; font-weight: 600; margin: 0; }
.ui-segmen a { display: inline-flex; align-items: center; gap: 5px; border-radius: 6px; padding: 6px 12px; font-size: .84rem; color: #4b5563; text-decoration: none; }
.ui-segmen a.is-active { background: #fff; color: #111827; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }

.gr { margin: 0; --gr-warna: #2a78d6; }
.gr-judul { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .88rem; margin-bottom: 12px; }
.gr-judul span { font-weight: 400; font-size: .76rem; color: #64748b; text-align: right; }
.gr-plot { display: flex; align-items: flex-end; gap: 2px; height: 130px; border-bottom: 1px solid #d1d5db; }
.gr-kolom { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; min-width: 0; }
.gr-kolom:hover, .gr-kolom.is-pilih { background: #f1f5f9; }
.gr-batang { display: block; width: 100%; max-width: 26px; background: var(--gr-warna); border-radius: 4px 4px 0 0; }
.gr-sumbu { display: flex; gap: 2px; margin-top: 4px; }
.gr-sumbu span { flex: 1; min-width: 0; text-align: center; font-size: .66rem; color: #94a3b8; white-space: nowrap; overflow: visible; }
.gr-baris { display: grid; grid-template-columns: minmax(90px, 38%) 1fr auto; align-items: center; gap: 8px; padding: 3px 0; font-size: .8rem; }
.gr-nama { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #334155; }
.gr-jalur { height: 10px; }
.gr-jalur span { display: block; height: 100%; min-width: 3px; background: var(--gr-warna); border-radius: 0 4px 4px 0; }
.gr-nilai { color: #64748b; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gr-kosong { color: #94a3b8; font-size: .82rem; padding: 18px 0; text-align: center; }
@media (max-width: 575px) { .pm-grafik { grid-template-columns: 1fr; } }
