/* ============================================================
   CIMOT POS - "Nota Kontan"
   Bahasa visual diambil dari yang sudah ada di tempat cuci motor:
   buku nota karbon, papan harga cat tangan, dan plat nomor.
   Garis mistar menggantikan kartu. Tinta hitam untuk uang masuk,
   merah untuk uang keluar - seperti pembukuan tulis tangan.
   ============================================================ */

:root {
  color-scheme: light;

  --kertas: #faf9f6;
  --kertas-2: #f1efe9;
  --ink: #000000;
  --ink-2: #5a5a55;
  --ink-3: #8c8c85;
  --garis: #dedbd2;
  --kuning: #ffc400;
  --kuning-pucat: #fff3c4;
  --merah: #d4142a;
  --merah-pucat: #fbe4e7;

  --nav-h: 60px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --kondens: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overscroll-behavior-y: none;
}

body {
  background: var(--kertas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

input, textarea, select, button { font: inherit; color: inherit; }
input, textarea { user-select: text; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--ink); text-decoration: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.num { font-family: var(--kondens); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ rangka */

#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 540px;
  margin: 0 auto;
  background: var(--kertas);
  border-left: 1px solid var(--garis);
  border-right: 1px solid var(--garis);
}

.view {
  flex: 1;
  padding: 0 18px calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px);
}

.view.has-cart { padding-bottom: calc(var(--nav-h) + 86px + env(safe-area-inset-bottom)); }

/* kepala halaman: wordmark tebal + garis tebal di bawahnya */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: calc(env(safe-area-inset-top) + 16px) 18px 10px;
  margin: 0 -18px 16px;
  background: var(--kertas);
  border-bottom: 2px solid var(--ink);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.topbar h1 {
  margin: 0;
  font-family: var(--kondens);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.topbar .sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

.topbar .spacer { flex: 1; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--garis);
  color: var(--ink-2);
  flex: none;
}
.icon-btn:active { background: var(--kertas-2); }
.icon-btn[disabled] { opacity: 0.3; }
.icon-btn svg { width: 19px; height: 19px; }

/* dipakai hanya di layar PIN */
.brand-dot { display: none; }

/* ------------------------------------------------------------ nav bawah */

.nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  background: var(--kertas);
  border-top: 1px solid var(--garis);
}

.nav-inner {
  display: flex;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  border-left: 1px solid var(--garis);
  border-right: 1px solid var(--garis);
}

.nav a {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--ink-3);
  font-size: 10.5px;
  font-weight: 500;
}
.nav a svg { width: 21px; height: 21px; }
.nav a.on { color: var(--ink); font-weight: 700; }
.nav a.on::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 3px;
  background: var(--kuning);
}

/* ------------------------------------------------------------ blok dasar */

.card {
  background: #fff;
  border: 1px solid var(--garis);
  border-radius: 2px;
  padding: 16px;
  margin-bottom: 14px;
}
.card.flat { background: var(--kertas-2); border-color: transparent; }

/* judul bagian: teks kecil dengan garis mistar */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.section-title .line { flex: 1; height: 1px; background: var(--garis); }
.section-title svg { width: 13px; height: 13px; }

/* ------------------------------------------------------- pita pembukuan */
/* Angka pemasukan hitam, pengeluaran merah - seperti buku kas tulis tangan */

.stats {
  display: flex;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-bottom: 4px;
}
.stat {
  flex: 1;
  padding: 9px 0 10px;
  min-width: 0;
}
.stat + .stat { border-left: 1px solid var(--garis); padding-left: 12px; }
.stat .k {
  font-size: 11.5px;
  color: var(--ink-2);
  line-height: 1.2;
}
.stat .v {
  margin-top: 2px;
  font-family: var(--kondens);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.stat .v.sm { font-size: 19px; }
.stat.out .v { color: var(--merah); }
.stat.net .v.neg { color: var(--merah); }

/* ------------------------------------------------------------ tab saring */

.chips {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0 18px;
  margin: 0 -18px 6px;
  border-bottom: 1px solid var(--garis);
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  padding: 9px 0 8px;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.chip.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--kuning); }
.chip svg { width: 13px; height: 13px; vertical-align: -2px; }

/* pilihan di dalam formulir: blok, bukan tab */
.segs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 4px; }
.seg {
  padding: 8px 13px;
  border: 1px solid var(--garis);
  border-radius: 2px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
}
.seg.on {
  background: var(--kuning);
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.seg:active { background: var(--kertas-2); }
.seg svg { width: 13px; height: 13px; vertical-align: -2px; }

/* ------------------------------------------------------- papan harga */

.board { margin: 2px -18px 0; }

.sv {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--garis);
  position: relative;
}
.sv:active { background: var(--kertas-2); }
.sv .nm {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}
.sv .cat {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 1px;
}
.sv .pr {
  font-family: var(--kondens);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
}
.sv .qty {
  flex: none;
  min-width: 26px; height: 26px;
  padding: 0 6px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--kuning);
  font-family: var(--kondens);
  font-size: 15px;
  font-weight: 700;
}
.sv.picked { background: var(--kuning-pucat); }
.sv.picked::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--kuning);
}

/* ------------------------------------------------------ pita keranjang */
/* satu-satunya blok hitam penuh: yang paling sering dilihat kasir */

.cartbar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
  z-index: 35;
  display: flex;
  justify-content: center;
}
.cartbar-inner {
  width: 100%;
  max-width: 540px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  background: var(--ink);
  color: var(--kertas);
}
.cartbar .icon-btn {
  border-color: #3a3a38;
  color: #b9b9b2;
  width: 36px; height: 36px;
}
.cartbar .icon-btn:active { background: #272725; }
.cartbar .meta { flex: 1; min-width: 0; }
.cartbar .meta .c { font-size: 11.5px; color: #b9b9b2; }
.cartbar .meta .t {
  font-family: var(--kondens);
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

/* ------------------------------------------------------------ tombol */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 14.5px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn:active { background: var(--kertas-2); }
.btn svg { width: 16px; height: 16px; }

.btn.primary, .btn.ok {
  background: var(--kuning);
  border-color: var(--ink);
  color: var(--ink);
  font-family: var(--kondens);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.btn.primary:active, .btn.ok:active { background: #e8b300; }

.btn.danger { border-color: var(--merah); color: var(--merah); background: #fff; }
.btn.danger:active { background: var(--merah-pucat); }
.btn.ghost { border-color: transparent; background: none; color: var(--ink-2); }
.btn.block { width: 100%; }
.btn.lg { padding: 15px 20px; }
.btn[disabled] { opacity: 0.35; }

.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* ------------------------------------------------------------ formulir */

.field { margin-bottom: 15px; }
.field > label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}

.input, textarea.input, select.input {
  width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 2px;
  outline: none;
  font-size: 16px;
  color: var(--ink);
  appearance: none;
}
.input:focus { box-shadow: inset 0 -3px 0 var(--kuning); }
.input::placeholder { color: var(--ink-3); }
textarea.input { min-height: 72px; resize: vertical; line-height: 1.5; }

/* kolom pencarian dibedakan: lebih tenang dari kolom isian */
.input[type="search"] {
  border: 0;
  border-bottom: 1px solid var(--garis);
  border-radius: 0;
  padding-left: 0;
  background: none;
  font-size: 15px;
}
.input[type="search"]:focus { box-shadow: none; border-bottom-color: var(--ink); }

.input-money { position: relative; }
.input-money .rp {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  font-size: 14px;
  pointer-events: none;
}
.input-money .input {
  padding-left: 38px;
  font-family: var(--kondens);
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
}

.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.switch .track {
  width: 46px; height: 26px; flex: none;
  border: 1px solid var(--ink);
  background: #fff;
  position: relative;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 20px;
  background: var(--ink-3);
  transition: transform 0.12s ease, background 0.12s;
}
.switch.on .track { background: var(--kuning); }
.switch.on .track::after { transform: translateX(22px); background: var(--ink); }

/* ------------------------------------------------------------ daftar */

.row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 18px;
  margin: 0 -18px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--garis);
  text-align: left;
  width: calc(100% + 36px);
}
.row:active { background: var(--kertas-2); }
.row .lead {
  width: 30px; flex: none;
  display: grid; place-items: center;
  color: var(--ink-3);
  font-weight: 700;
  font-size: 13px;
}
.row .lead.in { color: var(--ink); }
.row .lead.out { color: var(--merah); }
.row .lead svg { width: 17px; height: 17px; }
.row .body { flex: 1; min-width: 0; }
.row .body .t, .row .body .s { display: block; }
.row .body .t {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row .body .s { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.row .amt {
  font-family: var(--kondens);
  font-variant-numeric: tabular-nums;
  font-size: 17px; font-weight: 700;
  text-align: right; flex: none;
  color: var(--ink);
}
.row .amt.out { color: var(--merah); }
.row .amt .s {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px; color: var(--ink-3); font-weight: 400;
}

.empty {
  text-align: center;
  padding: 52px 24px;
  color: var(--ink-2);
}
.empty svg { width: 26px; height: 26px; color: var(--garis); margin-bottom: 10px; }
.empty p { margin: 0; font-size: 14px; line-height: 1.5; }
.empty .big {
  font-family: var(--kondens);
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
}

/* ------------------------------------------------------------ lembar */

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(20, 20, 18, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sheet {
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--kertas);
  border-top: 3px solid var(--ink);
  padding: 12px 18px calc(20px + env(safe-area-inset-bottom));
  animation: up 0.2s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes up { from { transform: translateY(100%); } }

.sheet .handle {
  width: 38px; height: 3px;
  background: var(--garis);
  margin: 2px auto 14px;
}
.sheet h2 {
  margin: 0 0 16px;
  font-family: var(--kondens);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.sheet h2 .spacer { flex: 1; }
.sheet h2 svg { width: 17px; height: 17px; flex: none; }

/* ------------------------------------------------------- baris keranjang */

.cline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--garis);
}
.cline .info { flex: 1; min-width: 0; }
.cline .info .n { font-size: 15px; font-weight: 500; color: var(--ink); }
.cline .info .p { font-size: 11.5px; color: var(--ink-3); }
.cline .sub {
  font-family: var(--kondens);
  font-variant-numeric: tabular-nums;
  font-size: 16px; font-weight: 700;
  min-width: 72px; text-align: right;
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  flex: none;
}
.stepper button {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}
.stepper button:active { background: var(--kuning); }
.stepper .q {
  min-width: 30px; text-align: center;
  font-family: var(--kondens);
  font-weight: 700; font-size: 16px;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  line-height: 32px;
}

.totals { margin-top: 14px; }
.totals .t-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--ink-2);
  padding: 4px 0;
}
.totals .t-row span:last-child { font-family: var(--kondens); font-weight: 500; color: var(--ink); }
.totals .t-row.grand {
  margin-top: 8px; padding-top: 10px;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  align-items: baseline;
}
.totals .t-row.grand span:first-child { font-size: 15px; font-weight: 600; }
.totals .t-row.grand span:last-child {
  font-family: var(--kondens);
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}

/* ------------------------------------------------------------ plat nomor */

.plate {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--kondens);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  padding: 3px 9px 3px 11px;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}
.plate.sm { font-size: 10.5px; padding: 1px 6px 1px 7px; letter-spacing: 0.11em; }

/* ------------------------------------------------------------ nota */

.nota-wrap {
  background: var(--kertas-2);
  padding: 24px 20px;
  margin: 4px -18px 0;
}

.nota {
  background: #fff;
  color: var(--ink);
  padding: 20px 18px 16px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  position: relative;
}
.nota::before, .nota::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 9px;
  background-image: radial-gradient(circle at 5px 0, transparent 4.6px, #fff 4.8px);
  background-size: 11px 9px;
  background-repeat: repeat-x;
}
.nota::before { top: -8px; transform: rotate(180deg); }
.nota::after { bottom: -8px; }

.nota .n-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
}
.nota .n-head .shop {
  font-family: var(--kondens);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.nota .n-head .sub { font-size: 10.5px; color: var(--ink-2); line-height: 1.45; }
.nota .n-tag {
  margin-left: auto;
  flex: none;
  border: 1.5px solid var(--merah);
  color: var(--merah);
  font-family: var(--kondens);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 2px 8px 2px 10px;
}

.nota .sep { border-top: 1px solid var(--garis); margin: 9px 0; }
.nota .dsep { border-top: 1.5px solid var(--merah); margin: 9px 0; }

.nota .kv { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.nota .kv .k { color: var(--ink-2); }
.nota .n-item { margin: 8px 0; }
.nota .n-item .nm { font-weight: 700; }
.nota .n-item .calc { display: flex; justify-content: space-between; color: var(--ink-2); }
.nota .n-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--kondens);
  font-weight: 700;
}
.nota .n-total span:first-child { font-size: 14px; letter-spacing: 0.06em; }
.nota .n-total span:last-child { font-size: 27px; letter-spacing: -0.015em; }
.nota .n-foot {
  clear: both;
  text-align: center;
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--ink-2);
}
.nota .stamp {
  float: right;
  margin: 10px 4px 4px 0;
  transform: rotate(-8deg);
  border: 2px solid var(--merah);
  color: var(--merah);
  font-family: var(--kondens);
  padding: 3px 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.78;
}
.nota.void { color: var(--ink-2); }
.nota.void .n-total span:last-child { text-decoration: line-through; }

/* ------------------------------------------------------------ grafik */

.bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 112px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0;
}
.bars .b {
  flex: 1 1 0;
  max-width: 38px;
  display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%;
}
.bars .b .stack { display: flex; align-items: flex-end; gap: 2px; height: 100%; }
.bars .b .fill { flex: 1; background: var(--ink); min-height: 2px; }
.bars .b .fill.exp { background: var(--merah); }
.bars .b .lb {
  font-size: 10px; color: var(--ink-3);
  text-align: center; padding-top: 5px;
}
.legend {
  display: flex; gap: 18px; justify-content: center;
  margin-top: 20px; font-size: 12px; color: var(--ink-2);
}
.legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; }

/* ------------------------------------------------------------ layar PIN */

.login {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px 26px calc(40px + env(safe-area-inset-bottom));
  text-align: center;
}
.login .logo {
  display: none;
}
.login h1 {
  margin: 0;
  font-family: var(--kondens);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
  border-bottom: 6px solid var(--kuning);
  padding-bottom: 3px;
}
.login p { margin: 18px 0 30px; color: var(--ink-2); font-size: 14px; }

.pin-dots { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.pin-dots i {
  width: 16px; height: 4px;
  background: var(--garis);
}
.pin-dots i.f { background: var(--ink); }

.pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: 100%; max-width: 288px; background: var(--garis); border: 1px solid var(--garis); }
.pad button {
  height: 58px;
  background: var(--kertas);
  font-family: var(--kondens);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}
.pad button:active { background: var(--kuning); }
.pad button.act {
  font-family: var(--sans);
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-2);
}
.pad button.act[disabled] { color: var(--ink-3); opacity: 0.5; }

/* ------------------------------------------------------------ lain-lain */

.banner {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 16px;
  border-left: 4px solid var(--ink);
  background: var(--kertas-2);
  color: var(--ink);
}
.banner.local { border-left-color: var(--kuning); }
.banner.sync { border-left-color: var(--ink-3); }
.banner svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.toast-host {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 18px);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  padding: 0 20px;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  font-size: 13.5px;
  font-weight: 500;
  max-width: 100%;
}
.toast.bad { background: var(--merah); }
.toast.good { background: var(--ink); box-shadow: inset 0 -3px 0 var(--kuning); }

.dot {
  width: 7px; height: 7px;
  display: inline-block;
  background: var(--garis);
}
.dot.on { background: var(--ink); }
.dot.off { background: var(--kuning); }

.kv-line {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--garis);
  font-size: 14px;
}
.kv-line:first-child { padding-top: 0; }
.kv-line:last-child { border-bottom: 0; padding-bottom: 0; }
.kv-line .k { color: var(--ink-2); }
.kv-line .v { font-weight: 500; text-align: right; color: var(--ink); }
.kv-line .v.num { font-size: 16px; font-weight: 700; }

.hint { font-size: 12px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.5; }

.pill {
  display: inline-block;
  padding: 1px 7px;
  font-family: var(--kondens);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--kertas-2);
  color: var(--ink-2);
}
.pill.void { background: var(--merah-pucat); color: var(--merah); }

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

/* judul kelompok di papan harga */
.board-head {
  padding: 18px 18px 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  border-bottom: 1px solid var(--garis);
}
.board-head:first-child { padding-top: 6px; }
