
.cb-note { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px; font-size: 13px; margin: 6px 0; padding: 6px 10px; }
.pt-note { color: #475569; font-size: 13px; margin: 4px 0; }
.pt-scan { display: flex; gap: 8px; align-items: center; margin: 10px 0; }
.pt-scan .input { flex: 1; font-size: 16px; }
.pt-chk { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; overflow: hidden; margin: 8px 0; }
.pt-chk .r { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line, #e5e7eb); cursor: pointer; }
.pt-chk .r:first-child { border-top: 0; }
.pt-chk .r.ok { background: #f0fdf4; }
.pt-chk .r.flash { background: #bbf7d0; }
.pt-chk .r b { min-width: 150px; }
.pt-chk .r .q { margin-left: auto; font-weight: 700; white-space: nowrap; }
.pt-chk input[type=checkbox] { width: 20px; height: 20px; }
.pt-sum { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.pt-sum span { padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #dcfce7; color: #166534; }
.pt-sum span.bad { background: #fee2e2; color: #b91c1c; }
/* ============ Komponen bersama (PART 5B) ============ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.filters .field { margin: 0; min-width: 150px; flex: 1 1 150px; max-width: 260px; }
.filters .field > label { font-size: 12px; color: var(--muted); font-weight: 600; }
.filters .chk { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.pager { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.pager .btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 13px; }
.chip.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.vb { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.vb i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.vb.EMPTY { background: #dcfce7; color: #166534; } .vb.EMPTY i { background: var(--empty); }
.vb.PARTIAL { background: #fef9c3; color: #854d0e; } .vb.PARTIAL i { background: var(--partial); }
.vb.FULL { background: #fee2e2; color: #991b1b; } .vb.FULL i { background: var(--full); }
.vb.BLOCKED { background: #e5e7eb; color: #111827; } .vb.BLOCKED i { background: var(--blocked); }
.vb.INACTIVE { background: #f3f4f6; color: #6b7280; } .vb.INACTIVE i { background: var(--inactive); }
.sb { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sb.ACTIVE { background: #dcfce7; color: #166534; } .sb.INACTIVE { background: #e5e7eb; color: #4b5563; } .sb.BLOCKED { background: #1f2937; color: #fff; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl td .actions { flex-wrap: nowrap; }   /* v3.6: tombol aksi di tabel tidak bertumpuk (baris tidak setinggi tiang) */
@media (min-width: 901px) { .side { will-change: transform; } }   /* v3.6: menu samping tetap tergambar saat di-scroll */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 12px; font-size: 14px; margin: 0 0 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 500; word-break: break-word; }
.sec-title { font-weight: 700; margin: 16px 0 8px; font-size: 14px; }
.textarea { width: 100%; min-height: 70px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; resize: vertical; }
.legend-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; margin: 8px 0 14px; }
.legend-inline i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
/* rack view */
.rack-levels { display: flex; flex-direction: column; gap: 10px; }
.rack-level { display: flex; align-items: center; gap: 10px; }
.rack-level .lv { width: 46px; font-weight: 700; color: var(--muted); flex: none; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot { width: 82px; min-height: 66px; border-radius: 10px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; cursor: pointer; padding: 6px; font-family: inherit; }
.slot b { font-size: 15px; } .slot small { opacity: .92; font-size: 12px; }
.slot.c-PARTIAL { color: #422006; }
.slot:hover { filter: brightness(.94); transform: translateY(-1px); }
/* peta */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.zone-card { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.zone-card:hover { box-shadow: 0 6px 18px rgba(15,23,42,.12); transform: translateY(-1px); }
.zone-card h4 { margin: 0 0 2px; font-size: 18px; }
.aisle-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.aisle-row:last-child { border-bottom: 0; }
.aisle-row .al { width: 70px; flex: none; font-weight: 700; padding-top: 8px; }
.tiles { display: flex; flex-wrap: wrap; gap: 6px; }
.tile { width: 64px; height: 54px; border-radius: 8px; color: #fff; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: inherit; line-height: 1.15; }
.tile b { font-size: 13px; } .tile small { font-size: 11px; opacity: .92; }
.tile.c-PARTIAL { color: #422006; }
.tile:hover { filter: brightness(.92); outline: 2px solid var(--primary); }
.crumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumb a { color: var(--primary); cursor: pointer; text-decoration: none; font-weight: 600; }
.preview-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 12px; margin-top: 4px; }
.preview-box.bad { background: #fef2f2; border-color: #fecaca; }
.preview-box ul { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .slot { width: 62px; min-height: 60px; }
  .tile { width: 56px; height: 52px; }
  .aisle-row { flex-direction: column; gap: 4px; } .aisle-row .al { padding-top: 0; }
  .filters .field { max-width: none; }
}
.sg { position: fixed; z-index: 100000; background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; box-shadow: 0 8px 24px rgba(15,23,42,.18); max-height: 280px; overflow: auto; min-width: 220px; }
.sg div { padding: 8px 12px; cursor: pointer; display: flex; flex-direction: column; border-bottom: 1px solid #f1f5f9; }
.sg div:last-child { border-bottom: 0; }
.sg div b { font-size: 14px; } .sg div small { color: #64748b; font-size: 12px; }
.sg div.on, .sg div:hover { background: #eff6ff; }
.sg .sg-h { cursor: default; background: #f8fafc; font-size: 12px; color: #64748b; padding: 5px 12px; }
