/* BMD — token dan shell global. Dimuat terakhir di layouts/master.blade.php,
   menimpa tema Gull (lite-purple) dan adminstd.css secara bertahap. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../../fonts/ibm-plex-sans/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../../fonts/ibm-plex-sans/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../../fonts/ibm-plex-sans/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../../fonts/ibm-plex-sans/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --bmd-ink: #1e2b45;        /* teks utama, navy dari dokumen list request */
  --bmd-ink-2: #536079;      /* teks sekunder (kontras 6:1 di putih) */
  --bmd-paper: #f5f6f8;      /* latar halaman */
  --bmd-surface: #ffffff;
  --bmd-line: #dde1e8;
  --bmd-line-soft: #eceef2;
  --bmd-act: #0f6e73;        /* aksi & tautan */
  --bmd-act-hover: #0b5559;
  --bmd-act-tint: #e7f2f2;
  --bmd-late: #c2410c;       /* kedaluwarsa — hanya untuk status */
  --bmd-late-tint: #fbeee7;
  --bmd-soon: #a8660b;       /* segera kedaluwarsa */
  --bmd-soon-tint: #fbf3e4;
  --bmd-ok: #2f7d4f;

  --bmd-radius: 6px;
  --bmd-radius-lg: 10px;
  --bmd-sidebar: 248px;
  --bmd-topbar: 56px;
  --bmd-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* jembatan ke adminstd.css */
  --dm-line: var(--bmd-line);
  --dm-ink: var(--bmd-ink);
  --dm-muted: var(--bmd-ink-2);
}

html, body {
  font-family: var(--bmd-font);
  font-size: 14px;
  color: var(--bmd-ink);
  background: var(--bmd-paper);
  -webkit-font-smoothing: antialiased;
}
body, .btn, .form-control, .form-select, .dropdown-menu, table, input, select, textarea, button {
  font-family: var(--bmd-font);
}
h1, h2, h3, h4, h5, h6 { color: var(--bmd-ink); font-weight: 600; letter-spacing: -0.005em; }
a { color: var(--bmd-act); }
a:hover { color: var(--bmd-act-hover); }
td, .dm-stat__value, .tabular { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--bmd-act); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- shell ---------- */
.bmd-shell { display: flex; min-height: 100vh; }

.bmd-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--bmd-sidebar);
  display: flex;
  flex-direction: column;
  background: var(--bmd-surface);
  border-right: 1px solid var(--bmd-line);
  z-index: 1040;
  overflow-y: auto;
}

.bmd-brand { height: var(--bmd-topbar); display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid var(--bmd-line-soft); }
.bmd-brand img { max-height: 32px; max-width: 100%; }

.bmd-scope { padding: 14px 20px; border-bottom: 1px solid var(--bmd-line-soft); display: grid; gap: 2px; }
.bmd-scope__label { font-size: 12px; color: var(--bmd-ink-2); }
.bmd-scope__value { font-weight: 600; line-height: 1.3; }

.bmd-nav { padding: 10px 10px 24px; }
.bmd-nav ul { list-style: none; margin: 0; padding: 0; }
.bmd-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--bmd-radius);
  color: var(--bmd-ink);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.bmd-nav__link::-webkit-details-marker { display: none; }
.bmd-nav__link i { font-size: 17px; width: 20px; text-align: center; color: var(--bmd-ink-2); }
.bmd-nav__link:hover { background: var(--bmd-paper); color: var(--bmd-ink); }
summary.bmd-nav__link::after {
  content: "";
  margin-left: auto;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--bmd-ink-2);
  border-bottom: 1.5px solid var(--bmd-ink-2);
  transform: rotate(-45deg);
  transition: transform .15s ease;
}
details[open] > summary.bmd-nav__link::after { transform: rotate(45deg); }
.bmd-nav__group ul { margin: 2px 0 6px 20px; padding-left: 10px; border-left: 1px solid var(--bmd-line); }
.bmd-nav__sublink {
  display: block;
  padding: 6px 10px;
  border-radius: var(--bmd-radius);
  color: var(--bmd-ink-2);
  text-decoration: none;
  line-height: 1.35;
}
.bmd-nav__sublink:hover { color: var(--bmd-ink); background: var(--bmd-paper); }
.bmd-nav__link.is-active, .bmd-nav__sublink.is-active {
  background: var(--bmd-act-tint);
  color: var(--bmd-act-hover);
  font-weight: 600;
}
.bmd-nav__link.is-active i { color: var(--bmd-act); }

.bmd-main { flex: 1; min-width: 0; margin-left: var(--bmd-sidebar); display: flex; flex-direction: column; }

.bmd-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--bmd-topbar);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  background: var(--bmd-surface);
  border-bottom: 1px solid var(--bmd-line);
}
.bmd-topbar__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bmd-topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.bmd-icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  border-radius: var(--bmd-radius);
  background: transparent;
  color: var(--bmd-ink-2);
  font-size: 19px;
}
.bmd-icon-btn:hover { background: var(--bmd-paper); color: var(--bmd-ink); }
.bmd-menu-btn { display: none; }
.bmd-dot {
  position: absolute;
  top: 3px; right: 1px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--bmd-late);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
}

.bmd-user { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 8px 4px 4px; border-radius: var(--bmd-radius); color: var(--bmd-ink); }
.bmd-user:hover { background: var(--bmd-paper); }
.bmd-user__avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bmd-ink); color: #fff; font-weight: 600; font-size: 13px; }
.bmd-user__name { font-weight: 500; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bmd-menu { border: 1px solid var(--bmd-line); border-radius: var(--bmd-radius-lg); box-shadow: 0 10px 30px rgba(30, 43, 69, .12); padding: 6px; min-width: 220px; }
.bmd-menu .dropdown-item { border-radius: var(--bmd-radius); padding: 8px 10px; color: var(--bmd-ink); }
.bmd-menu .dropdown-item:hover { background: var(--bmd-paper); }
.bmd-menu__head { padding: 6px 10px 8px; font-weight: 600; }
.bmd-menu__empty { padding: 8px 10px; margin: 0; color: var(--bmd-ink-2); }
.bmd-menu__foot { color: var(--bmd-act) !important; border-top: 1px solid var(--bmd-line-soft); margin-top: 4px; }
.dropdown-menu.bmd-menu[aria-labelledby="dropdownNotification"] { width: 340px; }
.bmd-notif { display: grid !important; gap: 2px; white-space: normal; }
.bmd-notif__title { font-weight: 600; }
.bmd-notif__body, .bmd-notif__time { font-size: 12.5px; color: var(--bmd-ink-2); }

.bmd-content { flex: 1; padding: 24px 28px 32px; width: 100%; max-width: 1600px; }
.bmd-footer { padding: 16px 28px; font-size: 12.5px; color: var(--bmd-ink-2); }

.bmd-scrim { display: none; }

@media (max-width: 991.98px) {
  .bmd-sidebar { transform: translateX(-100%); transition: transform .2s ease; box-shadow: none; }
  .bmd-nav-open .bmd-sidebar { transform: none; box-shadow: 0 0 40px rgba(30, 43, 69, .2); }
  .bmd-nav-open .bmd-scrim { display: block; position: fixed; inset: 0; background: rgba(30, 43, 69, .35); z-index: 1035; }
  .bmd-main { margin-left: 0; }
  .bmd-menu-btn { display: inline-grid; }
  .bmd-topbar { padding: 0 12px; }
  .bmd-content { padding: 16px; }
  .bmd-user__name { display: none; }
}

/* ---------- halaman (komponen dm-* dari adminstd.css) ---------- */
.dash.content { padding: 0 !important; }
.dash .row.pt-md-3 { padding-top: 0 !important; }
.dash .dm-page-title, .dm-page-title { font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.dash .dm-page-sub, .dm-page-sub { font-size: 13.5px; color: var(--bmd-ink-2); margin: 4px 0 16px; }

.dash .dm-card, .dm-card {
  border: 1px solid var(--bmd-line);
  border-radius: var(--bmd-radius-lg);
  box-shadow: none;
  margin-bottom: 16px;
}
.dash .dm-card__head, .dm-card__head { padding: 14px 18px 0; }
.dash .dm-card__title, .dm-card__title { font-size: 14.5px; font-weight: 600; }
.dash .dm-card__body, .dm-card__body { padding: 14px 18px 16px; }
.dash .dm-stat, .dm-stat { border-radius: var(--bmd-radius-lg); box-shadow: none; }
.dash .dm-stat:hover, .dm-stat:hover { transform: none; box-shadow: none; border-color: var(--bmd-ink-2); }
.dash .dm-stat__label, .dm-stat__label { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }

.dash .dm-btn, .dm-btn { border-radius: var(--bmd-radius); font-size: 13.5px; font-weight: 500; padding: 8px 14px; gap: 6px; }
.dash .dm-btn-primary, .dm-btn-primary { background: var(--bmd-act); color: #fff; }
.dash .dm-btn-primary:hover, .dm-btn-primary:hover { background: var(--bmd-act-hover); color: #fff; }
.dash .dm-btn-ghost, .dm-btn-ghost { background: var(--bmd-surface); border-color: var(--bmd-line); color: var(--bmd-ink); }
.dash .dm-btn-ghost:hover, .dm-btn-ghost:hover { background: var(--bmd-paper); }

/* label form: kalimat biasa, bukan kapital */
.dash label, label { font-size: 13px; font-weight: 500; color: var(--bmd-ink); margin-bottom: 4px; }
.dash .dm-filters label, .dash .dm-section-title, .dash .dm-detail__label,
.dash .dataTables_length label, .dash table.dm-table ul.dtr-details .dtr-title {
  text-transform: none; letter-spacing: 0;
}

/* tab: aktif = tinta, bukan ungu */
.dm-tab { border-radius: var(--bmd-radius); font-size: 13px; font-weight: 500; color: var(--bmd-ink-2); }
.dm-tab.is-active { background: var(--bmd-ink); border-color: var(--bmd-ink); color: #fff; }

/* ikon kartu statistik: satu nada netral, bukan pelangi */
.dash .dm-icon[class*="t-"], .dm-icon[class*="t-"] { background: var(--bmd-paper) !important; color: var(--bmd-ink-2) !important; border-radius: var(--bmd-radius); }
.dm-action-btn, .dash .dm-action-btn { color: var(--bmd-ink-2) !important; border-color: var(--bmd-line) !important; }

/* tabel */
.dash table.dm-table thead th, table.dataTable thead th {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bmd-ink-2);
  border-bottom: 1px solid var(--bmd-line);
}
.dash table.dm-table tfoot th { text-transform: none; letter-spacing: 0; font-size: 12px; }
.dash table.dm-table tbody td { font-size: 13.5px; color: var(--bmd-ink); border-bottom: 1px solid var(--bmd-line-soft); }
.dash table.dm-table tbody tr:hover td { background: #f8fafb; }
.dash table.dm-table thead th.dt-ordering-asc, .dash table.dm-table thead th.dt-ordering-desc { color: var(--bmd-act); }
table.dataTable td:first-child, table.dataTable th:first-child { font-variant-numeric: tabular-nums; }
.dash table.dm-table tbody td.dtr-control::before { border-left-color: var(--bmd-ink-2) !important; }
.dash table.dm-table tbody tr.dtr-expanded > td.dtr-control::before { border-top-color: var(--bmd-ink-2) !important; }
.dash table.dm-table tbody tr.child td.child { background: var(--bmd-paper); }
.bmd-col-name { min-width: 220px; }
.bmd-col-text { min-width: 180px; color: var(--bmd-ink-2) !important; }
/* kolom yang tidak bisa diurutkan (mis. No.) tidak boleh menampilkan panah urut */
table.dataTable thead th.dt-orderable-none .dt-column-order { display: none; }
table.dataTable thead th.dt-orderable-none { color: var(--bmd-ink-2) !important; }
.dt-length label, .dataTables_length label, .dt-length { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px !important; color: var(--bmd-ink-2); }
.dt-info, .dataTables_info { font-size: 13px; color: var(--bmd-ink-2); }
.dt-search label, .dataTables_filter label, .dash .dt-search label { text-transform: none !important; letter-spacing: 0 !important; font-size: 13px; color: var(--bmd-ink-2); }
.dt-length { white-space: nowrap; }

/* footer tabel hanya mengulang header: sembunyikan */
table.dataTable tfoot, .dash table.dm-table tfoot { display: none; }

/* tombol aksi per baris: tenang, warna hanya saat hover; hapus tetap bernada merah */
table.dataTable td .btn-sm.btnedit, table.dataTable td .btn-sm.btncheckin, table.dataTable td .btn-sm.btneditmodule, table.dataTable td .btn-sm.btn-detail-log {
  background: var(--bmd-surface) !important; border: 1px solid var(--bmd-line) !important; color: var(--bmd-ink) !important;
}
table.dataTable td .btn-sm.btnedit:hover, table.dataTable td .btn-sm.btncheckin:hover, table.dataTable td .btn-sm.btneditmodule:hover, table.dataTable td .btn-sm.btn-detail-log:hover {
  border-color: var(--bmd-act) !important; color: var(--bmd-act) !important;
}
table.dataTable td .btn-sm.btndelete, table.dataTable td .btn-sm.btndeletemodule {
  background: var(--bmd-surface) !important; border: 1px solid var(--bmd-line) !important; color: var(--bmd-late) !important;
}
table.dataTable td .btn-sm.btndelete:hover, table.dataTable td .btn-sm.btndeletemodule:hover { background: var(--bmd-late-tint) !important; border-color: var(--bmd-late) !important; }
table.dataTable td .btn-sm { font-size: 12.5px; font-weight: 500; padding: 4px 10px; }

/* toggle & checkbox Bootstrap: ungu -> aksi */
.form-check-input:checked { background-color: var(--bmd-act); border-color: var(--bmd-act); }
.form-check-input:focus { border-color: var(--bmd-act); box-shadow: 0 0 0 3px rgba(15, 110, 115, .15); }

/* daftar ringkas di dashboard (dm-item): satu nada, status hanya lewat badge */
.dash .dm-item[class*="tone-"], .dm-item[class*="tone-"] {
  background: var(--bmd-surface);
  border: 1px solid var(--bmd-line-soft);
  border-left: 3px solid var(--bmd-line);
  border-radius: var(--bmd-radius);
}
.dash .dm-item.tone-amber, .dm-item.tone-amber { border-left-color: var(--bmd-soon); }
.dash .dm-item.tone-red, .dm-item.tone-red { border-left-color: var(--bmd-late); }
.dash .dm-item.tone-green, .dm-item.tone-green { border-left-color: var(--bmd-ok); }
.dash .dm-item.tone-indigo, .dash .dm-item.tone-blue, .dm-item.tone-indigo, .dm-item.tone-blue { border-left-color: var(--bmd-ink-2); }
.dm-badge { border-radius: var(--bmd-radius); font-size: 11.5px; font-weight: 600; letter-spacing: 0; }

/* ---------- Gull: warna primer ungu -> aksi BMD ---------- */
.btn-primary, .btn-primary:disabled {
  background-color: var(--bmd-act);
  border-color: var(--bmd-act);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background-color: var(--bmd-act-hover) !important;
  border-color: var(--bmd-act-hover) !important;
  box-shadow: none !important;
}
.btn-outline-primary { color: var(--bmd-act); border-color: var(--bmd-act); }
.btn-outline-primary:hover { background: var(--bmd-act); border-color: var(--bmd-act); color: #fff; }
.btn { border-radius: var(--bmd-radius); }
.text-primary { color: var(--bmd-act) !important; }
.bg-primary, .badge.bg-primary, .text-bg-primary { background-color: var(--bmd-act) !important; color: #fff !important; }
.card { border: 1px solid var(--bmd-line); border-radius: var(--bmd-radius-lg); box-shadow: none; }

.form-control, .form-select {
  border-color: var(--bmd-line);
  border-radius: var(--bmd-radius);
  color: var(--bmd-ink);
  font-size: 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--bmd-act);
  box-shadow: 0 0 0 3px rgba(15, 110, 115, .15);
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--bmd-act) !important;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple { border-color: var(--bmd-line) !important; border-radius: var(--bmd-radius) !important; }

.page-item.active .page-link, .dt-paging .dt-paging-button.current, .dataTables_paginate .paginate_button.current {
  background: var(--bmd-act) !important;
  border-color: var(--bmd-act) !important;
  color: #fff !important;
}
.page-link { color: var(--bmd-act); }

.modal-content { border: 0; border-radius: var(--bmd-radius-lg); }
.modal-header { border-bottom-color: var(--bmd-line-soft); }
.modal-title { font-weight: 600; }

/* ---------- status masa berlaku (dipakai tabel dokumen/aset) ---------- */
.bmd-expiry { display: grid; gap: 4px; min-width: 120px; }
.bmd-expiry__text { font-size: 12.5px; color: var(--bmd-ink-2); }
.bmd-expiry__bar { height: 4px; border-radius: 2px; background: var(--bmd-line-soft); overflow: hidden; }
.bmd-expiry__bar > span { display: block; height: 100%; background: #b9c0cc; } /* aman: netral, tidak berteriak */
.bmd-expiry.is-soon .bmd-expiry__text { color: var(--bmd-soon); font-weight: 600; }
.bmd-expiry.is-soon .bmd-expiry__bar > span { background: var(--bmd-soon); }
.bmd-expiry.is-late .bmd-expiry__text { color: var(--bmd-late); font-weight: 600; }
.bmd-expiry.is-late .bmd-expiry__bar { background: #f3c9b5; } /* sisa waktu habis: jalur merah muda, isi kosong */

/* preloader Gull: jangan tutupi halaman lama-lama */
.loadscreen { background: var(--bmd-paper); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- halaman masuk (auth) ---------- */
.split-auth-page .bmd-auth-left {
  flex: 0 0 44%;
  background: var(--bmd-ink);
  background-image: none;
  padding: 48px 56px;
}
.split-auth-page .bmd-auth-left::before { display: none; }
.bmd-auth-left .split-auth-left-top { display: flex; align-items: baseline; gap: 12px; }
.bmd-auth-mark { font-weight: 700; font-size: 22px; letter-spacing: .02em; color: #fff; }
.bmd-auth-name { font-size: 14px; color: #b9c3d6; }
.split-auth-page .bmd-auth-left .split-auth-left-bottom h2 { font-size: 30px; font-weight: 600; line-height: 1.25; max-width: 20ch; margin-bottom: 28px; letter-spacing: -0.01em; }
.split-auth-page .bmd-auth-left .split-auth-left-bottom p { color: #b9c3d6; font-size: 14.5px; opacity: 1; }
.bmd-auth-legend { list-style: none; margin: 0 0 24px; padding: 0; max-width: 380px; border-top: 1px solid rgba(255,255,255,.12); }
.bmd-auth-legend li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #e6eaf2; }
.bmd-auth-legend .bmd-expiry { min-width: 130px; }
.bmd-auth-legend .bmd-expiry__text { color: #b9c3d6; }
.bmd-auth-legend .bmd-expiry.is-soon .bmd-expiry__text { color: #f2c46d; }
.bmd-auth-legend .bmd-expiry.is-late .bmd-expiry__text { color: #f4a27f; }
.bmd-auth-legend .bmd-expiry__bar { background: rgba(255,255,255,.14); }
.bmd-auth-legend .bmd-expiry.is-soon .bmd-expiry__bar > span { background: #f2c46d; }
.bmd-auth-legend .bmd-expiry.is-late .bmd-expiry__bar { background: rgba(244,162,127,.35); }
.split-auth-form-wrapper { max-width: 380px; }
.split-auth-form-wrapper h3 { font-size: 24px; font-weight: 600 !important; color: var(--bmd-ink); }
.split-auth-form-wrapper .form-control { height: 42px; }
.split-auth-form-wrapper .btn-primary { height: 42px; font-weight: 500; margin: 8px 0 0 !important; }
.bmd-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); border: 0; background: transparent; color: var(--bmd-ink-2); width: 32px; height: 32px; border-radius: var(--bmd-radius); }
.bmd-eye:hover { background: var(--bmd-paper); color: var(--bmd-ink); }

@media (max-width: 575.98px) {
  .dash .dm-stat, .dm-stat { padding: 12px; }
  .dash .dm-stat__value, .dm-stat__value { font-size: 22px; margin: 6px 0 2px; }
  .dash .dm-stat__hint, .dm-stat__hint { font-size: 11.5px; }
  .dm-stat .dm-icon { display: none; }
  .dash .dm-item, .dm-item { flex-wrap: wrap; }
  .dash .dm-item__right, .dm-item__right { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .dash .dm-page-title, .dm-page-title { font-size: 19px; }
}

.bmd-filter-note { display: inline-block; margin: -6px 0 14px; padding: 6px 10px; border-radius: var(--bmd-radius); background: var(--bmd-act-tint); color: var(--bmd-act-hover); font-size: 13px; }
.bmd-filter-note a { margin-left: 6px; font-weight: 600; }

/* ---------- folder (List Request #09) ---------- */
.bmd-folders { padding: 14px 18px 16px; }
.bmd-folders__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.bmd-folders__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bmd-crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; }
.bmd-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--bmd-line); }
.bmd-crumbs [aria-current] { font-weight: 600; }
.bmd-folder-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.bmd-folder {
  display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--bmd-line); border-radius: var(--bmd-radius);
  color: var(--bmd-ink); text-decoration: none; background: var(--bmd-surface);
}
.bmd-folder:hover { border-color: var(--bmd-act); color: var(--bmd-ink); background: var(--bmd-act-tint); }
.bmd-folder i { color: var(--bmd-soon); font-size: 18px; grid-row: span 2; }
.bmd-folder .fa-building { color: var(--bmd-ink-2); }
.bmd-folder span { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmd-folder small { color: var(--bmd-ink-2); font-size: 12px; }
.bmd-folder-empty { color: var(--bmd-ink-2); padding: 6px 0; }
.bmd-folders__hint { margin: 12px 0 0; font-size: 13px; color: var(--bmd-ink-2); }
.bmd-danger-text { color: var(--bmd-late) !important; }
.bmd-form-error { color: var(--bmd-late); font-size: 13px; margin: 0 0 10px; }

/* ---------- unggah banyak (List Request #07) ---------- */
.bmd-drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 22px; border: 1.5px dashed var(--bmd-line); border-radius: var(--bmd-radius-lg); background: var(--bmd-paper); cursor: pointer; margin: 0; }
.bmd-drop strong { color: var(--bmd-act); }
.bmd-drop span { font-size: 12.5px; color: var(--bmd-ink-2); }
.bmd-drop.is-over, .bmd-drop:focus-within { border-color: var(--bmd-act); background: var(--bmd-act-tint); }
.bmd-queue { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; max-height: 320px; overflow-y: auto; }
.bmd-queue__item { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--bmd-line-soft); border-left: 3px solid var(--bmd-line); border-radius: var(--bmd-radius); }
.bmd-queue__main { display: grid; gap: 2px; min-width: 0; }
.bmd-queue__meta { font-size: 12px; color: var(--bmd-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bmd-queue__status { font-size: 12.5px; color: var(--bmd-ink-2); white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.bmd-queue__item.is-sending { border-left-color: var(--bmd-act); }
.bmd-queue__item.is-done { border-left-color: var(--bmd-ok); }
.bmd-queue__item.is-done .bmd-queue__status { color: var(--bmd-ok); font-weight: 600; }
.bmd-queue__item.is-failed { border-left-color: var(--bmd-late); }
.bmd-queue__item.is-failed .bmd-queue__status { color: var(--bmd-late); font-weight: 600; white-space: normal; }
.bmd-queue__remove { border: 0; background: transparent; color: var(--bmd-ink-2); font-size: 18px; line-height: 1; }

.bmd-folder-empty { grid-column: 1 / -1; }
/* tombol reset di baris filter: jangan terlipat */
.dm-card .dm-btn { white-space: nowrap; }
