
.dbo-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dbo-t th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.dbo-t td { padding: 7px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.dbo-t tr.click { cursor: pointer; } .dbo-t tr.click:hover { background: #f8fafc; }
.dbo-t td.r, .dbo-t th.r { text-align: right; white-space: nowrap; }
.dbo-pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dbo-pill.ok { background: #dcfce7; color: #166534; } .dbo-pill.warn { background: #fef3c7; color: #92400e; }
.dbo-pill.bad { background: #fee2e2; color: #b91c1c; } .dbo-pill.gray { background: #e5e7eb; color: #374151; } .dbo-pill.blue { background: #dbeafe; color: #1d4ed8; }
.dbo-more { margin-top: 8px; font-size: 13px; } .dbo-more a { color: var(--primary, #2563eb); cursor: pointer; }
.dbo-sub { font-size: 12px; color: var(--muted); }
.dbo-flash { box-shadow: 0 0 0 3px var(--primary, #2563eb); transition: box-shadow .3s; }   /* v3.13.130: sorot Stok Menipis saat KPI diklik */
.kpi.dbo-click, .stat.dbo-click { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.kpi.dbo-click:hover, .stat.dbo-click:hover { box-shadow: 0 4px 14px rgba(15, 23, 42, .12); transform: translateY(-1px); }
.kpi.dbo-click:focus-visible, .stat.dbo-click:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.wh-list .row-bar { grid-template-columns: minmax(90px, 170px) 1fr auto; }
.wh-list .row-bar > div:first-child { overflow-wrap: anywhere; line-height: 1.25; }
/* v3.13.242: Dashboard per tab */
.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.dash-tab-n { margin-left: 6px; min-width: 20px; padding: 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fef3c7; color: #92400e; line-height: 18px; text-align: center; }
.dash-tab-n.bad { background: #fee2e2; color: #b91c1c; } .dash-tab-n.blue { background: #dbeafe; color: #1d4ed8; }
.dash-step-0 { color: var(--muted); }
.dash-step { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 3px 0; cursor: pointer; font-size: 13.5px; }   /* v3.13.243 */
.dash-step:hover > span:first-child { text-decoration: underline; }
.dash-step > b { white-space: nowrap; } .dash-step > b small { font-weight: 500; color: var(--muted); margin-left: 3px; }
/* v3.13.244: tampilan HP */
.dash-stage-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.dash-stage-h .dash-chev { display: none; color: var(--muted); font-weight: 400; margin-left: 4px; transition: transform .15s; }
.dash-recent-m { display: none; }
.dash-mv { padding: 9px 0; border-bottom: 1px solid var(--border); cursor: default; } .dash-mv:last-child { border-bottom: 0; }
.dash-mv-1 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.dash-mv-2 { font-size: 13px; margin-top: 3px; overflow-wrap: anywhere; } .dash-mv-3 { font-size: 12px; color: var(--muted); margin-top: 1px; }
@media (max-width: 700px) {
  /* v3.13.248: semua tab terlihat (2 kolom), tidak tersembunyi di geseran samping */
  .dash-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
  .dash-tabs .btn { min-width: 0; justify-content: flex-start; white-space: normal; text-align: left; line-height: 1.2; padding: 7px 10px; font-size: 13px; }
  .dash-tabs .btn .dash-tab-n { margin-left: auto; }
  .dash-tabs .btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dash .kpi { gap: 8px; } .dash .kpi .ico-box { width: 30px; height: 30px; border-radius: 8px; } .dash .kpi .ico-box svg { width: 16px; height: 16px; }
  .dash .kpi .lbl { font-size: 12.5px; line-height: 1.25; }
  .dash-stage { cursor: default; } .dash-stage .dash-stage-h { cursor: pointer; } .dash-stage .dash-chev { display: inline; }
  .dash-stage.dash-shut .dash-stage-h { margin-bottom: 0; } .dash-stage.dash-shut .dash-steps { display: none; } .dash-stage.dash-shut .dash-chev { transform: rotate(-90deg); }
  .dash-recent-t { display: none; } .dash-recent-m { display: block; }
  /* v3.13.245: tabel Pesanan & Isi Ulang di HP: kolom pertama jadi judul selebar kartu, kolom lain berlabel dalam 2 kolom */
  .dash .dbo-t, .dash .dbo-t tbody { display: block; width: 100%; } .dash .dbo-t thead { display: none; }
  .dash .dbo-t tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 12px; padding: 10px 2px; border-bottom: 1px solid var(--border); }
  .dash .dbo-t tr:last-child { border-bottom: 0; }
  .dash .dbo-t td { display: block; border: 0; padding: 0; text-align: left !important; white-space: normal; min-width: 0; }
  .dash .dbo-t td:first-child { grid-column: 1 / -1; }
  .dash .dbo-t td:not(:first-child)::before { content: attr(data-l); display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 1px; }
  .dash .table-wrap:has(> .dbo-t) { overflow: visible; }
}
