:root { --sidebar-w: 250px; --brand: #1f4e79; --brand-2: #2e75b6; }
body { background: #f3f6f9; font-size: .925rem; }
.sidebar { width: var(--sidebar-w); min-height: 100vh; bottom: 0; background: linear-gradient(180deg, #163a5c, var(--brand)); position: fixed; top: 0; left: 0; z-index: 1030; overflow-y: auto; transition: transform .2s; }
.sidebar .brand { color: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.sidebar .brand .judul { font-weight: 700; letter-spacing: .5px; font-size: 1.05rem; }
.sidebar .brand small { color: rgba(255,255,255,.7); font-size: .72rem; display: block; line-height: 1.2; }
.sidebar .nav-link { color: rgba(255,255,255,.82); padding: .55rem 1.25rem; border-left: 3px solid transparent; display: flex; align-items: center; gap: .6rem; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.14); border-left-color: #ffc107; font-weight: 600; }
.sidebar .seksi { color: rgba(255,255,255,.5); font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; padding: 1rem 1.25rem .3rem; }
.main { margin-left: var(--sidebar-w); min-height: 100vh; }
.topbar { background: #fff; border-bottom: 1px solid #e3e8ee; position: sticky; top: 0; z-index: 1020; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,24,40,.08); border-radius: .6rem; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid #eef1f4; }
.stat-card .ikon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.stat-card .angka { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.table > :not(caption) > * > * { vertical-align: middle; }
.table thead th { background: #f6f8fa; font-size: .8rem; text-transform: uppercase; color: #5a6772; white-space: nowrap; }
.grafik { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 10px; }
.grafik .kol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.grafik .batang { display: flex; align-items: flex-end; gap: 2px; height: 100%; width: 100%; justify-content: center; }
.grafik .b { width: 40%; border-radius: 3px 3px 0 0; min-height: 2px; }
.grafik .lbl { font-size: .7rem; color: #6c757d; margin-top: 4px; }
.timeline { border-left: 2px solid #dee2e6; padding-left: 1rem; margin-left: .5rem; }
.timeline .item { position: relative; padding-bottom: .9rem; }
.timeline .item::before { content: ""; position: absolute; left: -1.43rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); }
.kalender td { height: 110px; width: 14.28%; vertical-align: top; font-size: .8rem; }
.kalender td.hari-ini { background: #fff8e1; }
.kalender .acara { display: block; font-size: .72rem; padding: 1px 4px; border-radius: 3px; margin-top: 2px; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-bg { min-height: 100vh; bottom: 0; background: linear-gradient(135deg, #163a5c, #2e75b6); }
.dl-row dt { color: #6c757d; font-weight: 500; }
.checkbox-list { max-height: 260px; overflow-y: auto; border: 1px solid #dee2e6; border-radius: .375rem; padding: .5rem .75rem; background: #fff; }
.checkbox-list label { display: block; padding: 2px 0; cursor: pointer; }
.checkbox-list ul { list-style: none; padding-left: 0; margin: 0; }
@media (max-width: 991.98px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.show { transform: translateX(0); }
  .main { margin-left: 0; }
}
@media print {
  .sidebar, .topbar, .no-print { display: none !important; }
  .main { margin-left: 0; }
  body { background: #fff; }
}
.checkbox-list input[type=checkbox] { margin-right: .4rem; }
@media print {
  .dokumen-cetak { border: none !important; box-shadow: none !important; }
  .dokumen-cetak .table-responsive { overflow: visible; }
  .page-title, .breadcrumb, .alert { display: none !important; }
}
