/* Warna mengikuti logo Bulbul Cell: biru royal + oranye */
:root {
  --brand: #0a14c8;
  --brand-dark: #070e96;
  --orange: #ff8c42;
  --orange-dark: #e9731f;
  --bg: #f2f4fb;
  --card: #ffffff;
  --text: #141a33;
  --muted: #5f6680;
  --line: #e1e5f2;
  --primary: #0a14c8;
  --primary-soft: #e3e6ff;
  --danger: #c0392b;
  --danger-soft: #fbe3e0;
  --warn: #b7621f;
  --warn-soft: #ffeedd;
  --ok: #1e8449;
  --ok-soft: #dcf3e4;
  --radius: 12px;
  --nav-h: 62px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1024;
    --card: #171b36;
    --text: #e9ebf7;
    --muted: #9aa0c0;
    --line: #2a2f52;
    --primary: #6f78ff;
    --primary-soft: #232a66;
    --danger: #ef6b5d;
    --danger-soft: #3d1f1c;
    --warn: #ffa868;
    --warn-soft: #3d2a17;
    --ok: #4cc77d;
    --ok-soft: #173826;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 8px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: var(--brand); color: #fff;
}
.topbar h1 { font-size: 18px; margin: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icon-btn { background: none; border: 0; color: inherit; font-size: 22px; padding: 4px 8px; cursor: pointer; }
#topAction button { background: rgba(255,255,255,.18); color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-size: 14px; }
main { padding: 12px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); max-width: 820px; margin: 0 auto; }
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--card); border-top: 1px solid var(--line);
}
.bottomnav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); text-decoration: none; gap: 2px;
}
.bottomnav a span { font-size: 20px; }
.bottomnav a.active { color: var(--primary); font-weight: 600; }

.card { background: var(--card); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); }
.card h2 { font-size: 15px; margin: 0 0 10px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.stat .lbl { font-size: 12px; color: var(--muted); }
.stat .val { font-size: 18px; font-weight: 700; margin-top: 2px; word-break: break-word; }
.stat.hl { background: var(--brand); color: #fff; border-color: var(--brand); }
.stat.hl.acc { background: var(--orange); border-color: var(--orange); }
.stat.sel { border: 2px solid var(--orange); }
.stat[data-stok] { cursor: pointer; }
.stat.hl .lbl { color: rgba(255,255,255,.85); }

.seg { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; }
.seg button { flex: none; border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 20px; padding: 6px 14px; font-size: 13px; }
.seg button.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.row:last-child { border-bottom: 0; }
.row .main { flex: 1; min-width: 0; }
.row .t { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.row .s { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.row .r { text-align: right; flex: none; font-weight: 600; }
.row .r .s { font-weight: 400; }
.row.tap { cursor: pointer; }
.row.tap:active { background: var(--primary-soft); }
.empty { padding: 28px 16px; text-align: center; color: var(--muted); }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.menu-grid a { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 6px; text-align: center; text-decoration: none; color: var(--text); font-size: 12.5px; }
.menu-grid a span { display: block; font-size: 24px; margin-bottom: 4px; }
.section-title { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 16px 2px 8px; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.b-ok { background: var(--ok-soft); color: var(--ok); }
.b-warn { background: var(--warn-soft); color: var(--warn); }
.b-danger { background: var(--danger-soft); color: var(--danger); }
.b-info { background: var(--primary-soft); color: var(--primary); }
.b-gudang { background: #e7e9ff; color: #0a14c8; }
.b-toko { background: #ffe9da; color: #c65a12; }

label.f { display: block; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
label.f > span { display: block; margin-bottom: 4px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
textarea { min-height: 80px; resize: vertical; }
.search { margin-bottom: 12px; }
.scanwrap { display: flex; gap: 8px; align-items: stretch; }
.scanwrap > input, .scanwrap > textarea { flex: 1; min-width: 0; }
.scanbtn { flex: none; width: 48px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font-size: 20px; cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: 10px; padding: 12px 16px; font: inherit; font-weight: 600;
  background: var(--primary); color: #fff; cursor: pointer; text-decoration: none;
}
.btn.block { width: 100%; }
.btn.ghost { background: var(--primary-soft); color: var(--primary); }
.btn.danger { background: var(--danger-soft); color: var(--danger); }
.btn.danger-solid { background: var(--danger); color: #fff; }
.btn.accent { background: var(--orange); color: #fff; }
.btns.col { flex-direction: column; flex: none; }
.btn.sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns .btn { flex: 1; }
.hint { font-size: 12.5px; color: var(--muted); margin: 4px 0 10px; }
.warn-box { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.err { color: var(--danger); font-size: 13px; margin-bottom: 8px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.kv b { text-align: right; }
.total-line { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; padding: 10px 0 4px; border-top: 1px dashed var(--line); margin-top: 6px; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 16px; }
.cart-price { width: 130px; padding: 6px 8px; text-align: right; }
.fab-bar { position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px); }
.muted { color: var(--muted); }
.right { text-align: right; }
.mt { margin-top: 12px; }

.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.sheet-body {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow-y: auto;
  background: var(--card); border-radius: 16px 16px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  max-width: 820px; margin: 0 auto;
}
.sheet-body h3 { margin: 0 0 12px; font-size: 17px; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 20px + env(safe-area-inset-bottom)); z-index: 60;
  background: #222; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: 90vw;
}

/* Nota */
.nota { background: #fff; color: #111; border-radius: var(--radius); padding: 18px 16px; font-family: "Courier New", ui-monospace, monospace; font-size: 13px; border: 1px solid var(--line); }
.nota .c { text-align: center; }
.nota h3 { margin: 0; font-size: 18px; }
.nota hr { border: 0; border-top: 1px dashed #999; margin: 10px 0; }
.nota table { width: 100%; border-collapse: collapse; }
.nota td { vertical-align: top; padding: 3px 0; }
.nota .tot { font-weight: 700; font-size: 15px; }

table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
table.tbl th, table.tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
table.tbl td.n, table.tbl th.n { text-align: right; }
.scroll-x { overflow-x: auto; }

@media print {
  body { background: #fff; }
  .topbar, .bottomnav, .no-print { display: none !important; }
  main { padding: 0; }
  .nota { border: 0; }
}

/* Judul bergaya logo */
.brand-title { font-weight: 900; letter-spacing: .02em; }
.brand-title .o, .brand-name .o { color: var(--orange); }
.hello { font-size: 14px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* Halaman login */
body.auth { background: var(--brand); }
body.auth .topbar, body.auth .bottomnav { display: none; }
body.auth main { padding: 0; max-width: none; }
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(env(safe-area-inset-top) + 32px) 20px 32px; background: var(--brand); color: #fff; }
.brand { text-align: center; margin-bottom: 28px; }
.brand-name { font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif; font-weight: 900; font-size: clamp(34px, 11vw, 56px); line-height: 1; letter-spacing: .01em; }
.brand-tag { margin-top: 10px; font-weight: 700; letter-spacing: .14em; font-size: clamp(11px, 3.4vw, 15px); }
.login-card { width: 100%; max-width: 380px; background: var(--card); color: var(--text); border-radius: 18px; padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.login-card h2 { margin: 0 0 4px; font-size: 20px; }
.login-foot { margin-top: 18px; font-size: 12.5px; opacity: .85; text-align: center; max-width: 380px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip { display: flex; flex-direction: column; align-items: flex-start; border: 2px solid var(--line); background: var(--bg); color: var(--text); border-radius: 12px; padding: 8px 12px; cursor: pointer; text-align: left; }
.chip small { color: var(--muted); font-size: 11.5px; }
.chip.on { border-color: var(--orange); background: #fff4ec; }
.pin-in { font-size: 22px; letter-spacing: .4em; text-align: center; }

/* Kartu pengguna di menu */
.user-card { display: flex; align-items: center; gap: 12px; }
.user-card .main { flex: 1; min-width: 0; }
.user-card .t { font-weight: 700; font-size: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: none; }

/* Dialog */
.dlg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; padding: 20px; }
.dlg-box { background: var(--card); color: var(--text); border-radius: 16px; padding: 18px; width: 100%; max-width: 380px; box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.dlg-box h3 { margin: 0 0 8px; font-size: 17px; }
.dlg-box p { margin: 0 0 14px; white-space: pre-line; color: var(--muted); }
.dlg-in { margin-bottom: 14px; }

/* ---- Aplikasi Gudang & Member ---- */
.banner { background: #ff8c42; color: #141a33; padding: 8px 16px; font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.banner button { border: 0; background: #141a33; color: #fff; border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grid3 .stat .val { font-size: 15px; }
.stat.warn { background: var(--warn-soft); border-color: var(--orange); }
.stat.warn .lbl, .stat.warn .val { color: var(--warn); }
.stat.okc { background: var(--ok-soft); }
.stat.okc .val { color: var(--ok); }
.stat[data-go] { cursor: pointer; }
.btn.big { padding: 16px; font-size: 16px; }
.btn.dark { background: #141a33; color: #fff; }
.btn.outline-warn { background: transparent; border: 1.5px solid var(--warn); color: var(--warn); }
.seg.wrap { flex-wrap: wrap; overflow: visible; }
.b-muted { background: #eef0f6; color: #3d4466; }
.okt, .ok { color: var(--ok); }
.warnt { color: var(--warn); font-weight: 600; }
.pri { color: var(--primary); }
.accentcard { background: var(--orange); color: #141a33; border-color: var(--orange); }
.accentcard .lbl { font-size: 13px; font-weight: 600; }
.accentcard .big { font-size: 26px; font-weight: 800; margin: 2px 0; }
.warncard { border: 2px solid var(--orange); }
.rek { font-size: 13px; background: var(--bg); border-radius: 8px; padding: 8px 10px; margin-top: 8px; overflow-wrap: anywhere; }
.issue { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 8px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
code { font-family: ui-monospace, "Courier New", monospace; font-size: 13px; background: var(--bg); padding: 1px 4px; border-radius: 4px; }
mark { background: #ffd2b0; color: #141a33; border-radius: 2px; }
.calc { font-size: 14px; margin: 4px 0 10px; }
.list.stable { overflow-x: auto; }
.srow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(90px, 1fr) minmax(80px, .9fr); gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); align-items: center; font-size: 13px; }
.srow:last-child { border-bottom: 0; }
.srow.head { background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.srow .sk { min-width: 0; overflow-wrap: anywhere; }
.srow .sh, .srow .sf { text-align: right; }
.srow .s { font-size: 11.5px; color: var(--muted); }
.srow .s.ok { color: var(--ok); font-weight: 700; }
.srow input { width: 100%; padding: 6px 8px; text-align: right; font-weight: 600; }
.srow .prod { font-weight: 700; color: var(--primary); font-size: 12.5px; }
.srow select.mini { width: 100%; margin-top: 4px; padding: 5px 6px; font-size: 12px; }
.selisih { font-size: 13px; margin: -4px 0 10px; color: var(--muted); }
.srow.warn { background: var(--warn-soft); }
.srow.bad { background: var(--danger-soft); }
.srow.tap { cursor: pointer; }
.kv.ok { color: var(--ok); }
.kv.warnt { color: var(--warn); }
.bar { height: 8px; background: var(--primary-soft); border-radius: 4px; overflow: hidden; }
.bar > div { height: 8px; background: var(--primary); }
.slots { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.slot { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
.slot:last-child { border-bottom: 0; }
.slot .main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.slot .no { width: 24px; height: 24px; flex: none; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.slot.empty-slot { background: var(--warn-soft); }
.slot.empty-slot .no { background: #ffd2b0; color: var(--warn); }
.slot .scanwrap, .slot > input { flex: 1; min-width: 0; }
.s { font-size: 12.5px; }
.mt { margin-top: 10px; }
.banner[hidden] { display: none; }
.kv > .badge { align-self: flex-start; }

/* pilih member, scan kamera manual, centang */
.pickbtn { width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.picker .dlg-box { max-height: 80vh; display: flex; flex-direction: column; }
.pick-list { overflow-y: auto; flex: 1; min-height: 120px; border: 1px solid var(--line); border-radius: 10px; }
.pick-list button { display: block; width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--card); border: 0; border-bottom: 1px solid var(--line); padding: 11px 12px; cursor: pointer; }
.pick-list button.new { color: var(--primary); font-weight: 700; }
.checks { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 10px; max-height: 260px; overflow-y: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.okbox { background: var(--ok-soft); color: var(--ok); border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; max-height: 200px; overflow-y: auto; }
.chips2 button { border: 1px solid var(--line); background: var(--bg); color: var(--text); border-radius: 8px; padding: 6px 8px; font: 12.5px ui-monospace, monospace; cursor: pointer; overflow-wrap: anywhere; text-align: left; }
.slot.tap { cursor: pointer; }
.btns .btn.big { flex: 1; }
html.scanner-active, body.scanner-active { background: transparent !important; }
body.scanner-active { visibility: hidden; }
.live-scan { visibility: visible; position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.ls-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(env(safe-area-inset-top) + 10px) 12px 10px; background: rgba(0,0,0,.55); font-weight: 600; font-size: 14px; text-align: center; }
.ls-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 20px; }
.ls-frame { align-self: center; width: 88%; height: 120px; border: 3px solid rgba(255,255,255,.9); border-radius: 12px; position: relative; box-shadow: 0 0 0 4000px rgba(0,0,0,.35); }
.ls-line { position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: #ff3b30; }
.ls-bottom { background: rgba(0,0,0,.65); padding: 12px 14px calc(env(safe-area-inset-bottom) + 14px); display: flex; flex-direction: column; gap: 10px; }
.ls-det { font-size: 14px; min-height: 20px; overflow-wrap: anywhere; }
.ls-choices { display: flex; flex-direction: column; gap: 6px; }
.ls-choices button { border: 0; border-radius: 10px; padding: 10px; font: 600 15px ui-monospace, monospace; background: #fff; color: #141a33; text-align: left; overflow-wrap: anywhere; }
.ls-zoom { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.ls-zoom input { flex: 1; padding: 0; }
.ls-acts { display: flex; align-items: center; gap: 10px; }
.ls-take { flex: 1; border: 0; border-radius: 14px; background: #ff8c42; color: #141a33; font: 800 20px Inter, system-ui, sans-serif; padding: 16px; }
.ls-done { border: 0; border-radius: 14px; background: #fff; color: #141a33; font: 700 15px Inter, system-ui, sans-serif; padding: 16px; }
.ls-count { font-weight: 800; font-size: 18px; }
.foto-scan { background: #000; }
.fs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ls-take:disabled { opacity: .5; }
.ls-hist { display: flex; flex-direction: column; gap: 4px; }
.ls-hist div { font-size: 13px; padding: 6px 8px; border-radius: 8px; overflow-wrap: anywhere; color: #fff; background: rgba(76,199,125,.35); }
.ls-hist div:first-child { font-weight: 700; font-size: 14px; }
.ls-hist .h-warn { background: rgba(255,168,104,.3); }
.ls-hist .h-bad { background: rgba(239,107,93,.45); }
.sync-dot { width: 10px; height: 10px; border-radius: 5px; background: #4cc77d; display: inline-block; flex: none; }
.sync-dot.sync { background: #ffd166; }
.sync-dot.error { background: #ef6b5d; }
.linkbtn { background: none; border: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; padding: 4px; }
.login .check { color: var(--text); }
.sync-dot[hidden] { display: none; }

/* daftar scan paket: kartu per paket */
.slist { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.scard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.scard.warn { border-color: var(--warn); }
.scard.bad { border-color: var(--danger); background: var(--danger-soft); }
.sc-top { display: flex; gap: 8px; align-items: flex-start; }
.sc-top .sk { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.sc-top .s { font-size: 11.5px; color: var(--muted); }
.sc-top .prod { font-weight: 700; color: var(--primary); font-size: 12.5px; }
.sc-top select.mini { width: 100%; margin-top: 4px; padding: 5px 6px; font-size: 12px; }
.sc-grid { display: grid; grid-template-columns: 0.45fr 1.25fr 1.6fr 0.9fr; gap: 6px; margin-top: 8px; align-items: end; }
.sc-grid.two { grid-template-columns: 0.6fr 1.4fr; }
.sc-grid label { display: flex; flex-direction: column; gap: 2px; font-size: 10.5px; color: var(--muted); min-width: 0; }
.sc-grid input { width: 100%; min-width: 0; padding: 6px 4px; text-align: right; font-weight: 600; font-size: 12.5px; }
.sc-grid input.manual { border-color: var(--primary); }
.sc-grid b { text-align: right; font-size: 13px; padding: 6px 0; }
.sc-grid .tp { display: flex; gap: 2px; }
.sc-grid .cp { flex: none; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary); border-radius: 8px; padding: 0 4px; font-size: 13px; }
.okcard { border-color: var(--ok); }
.steps { padding-left: 20px; margin: 6px 0 12px; font-size: 13.5px; line-height: 1.5; }
.steps li { margin-bottom: 6px; }
.rules { border-color: var(--primary); font-size: 13.5px; }
.rekrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rekrow .btn { flex: none; }
button.stat { text-align: left; font: inherit; color: var(--text); width: 100%; cursor: pointer; }
button.stat .s { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.seg.two-big button { flex: 1; padding: 8px 6px; line-height: 1.25; }
.seg.two-big small { font-weight: 700; font-size: 12.5px; }
.seg.two-big button { border-radius: 12px; }

/* kolom isi paket yang wajib dihitung gudang */
.scard input.perlu, .sheet input.perlu { border-color: var(--danger); background: var(--danger-soft); }
