/* =====================================================================
   Pingo Autoworks — gaya antarmuka panel
   Dibangun di atas Bootstrap 5.3. Warna aksen dapat diganti dari
   Pengaturan > Umum (variabel --pg-aksen disuntikkan di <head>).
   ===================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../vendor/font/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../vendor/font/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../vendor/font/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("../vendor/font/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --pg-aksen: #E8590C;
  --pg-aksen-lembut: color-mix(in srgb, var(--pg-aksen) 12%, #fff);
  --pg-aksen-gelap: color-mix(in srgb, var(--pg-aksen) 80%, #000);
  --pg-kanvas: #F5F4F1;
  --pg-permukaan: #FFFFFF;
  --pg-garis: #E6E2DC;
  --pg-garis-kuat: #D6D1C9;
  --pg-teks: #1D1F23;
  --pg-teks-lemah: #6B6862;
  --pg-sisi: #15171B;
  --pg-sisi-2: #1E2126;
  --pg-sisi-teks: #A9ADB5;
  --pg-sisi-aktif: #FFFFFF;
  --pg-radius: 10px;
  --pg-bayang: 0 1px 2px rgba(20, 18, 15, .04), 0 1px 1px rgba(20, 18, 15, .03);

  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-font-size: .9rem;
  --bs-body-color: var(--pg-teks);
  --bs-body-bg: var(--pg-kanvas);
  --bs-border-color: var(--pg-garis);
  --bs-link-color: var(--pg-aksen-gelap);
  --bs-link-color-rgb: 180, 70, 10;
  --bs-link-hover-color: var(--pg-aksen);
  --bs-primary: var(--pg-aksen);
  --bs-border-radius: 8px;
  --bs-border-radius-lg: var(--pg-radius);
  --bs-focus-ring-color: color-mix(in srgb, var(--pg-aksen) 30%, transparent);
}

body { background: var(--pg-kanvas); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-weight: 700; letter-spacing: -.015em; color: var(--pg-teks); }
.text-lemah { color: var(--pg-teks-lemah) !important; }
.angka, .tabel-data td.angka { font-variant-numeric: tabular-nums; }
code, .mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .85em; }

/* ---------- Tombol ---------- */
.btn { font-weight: 600; border-radius: 8px; padding: .45rem .9rem; font-size: .875rem; }
.btn-sm { padding: .3rem .65rem; font-size: .8rem; }
.btn-aksen { background: var(--pg-aksen); border-color: var(--pg-aksen); color: #fff; }
.btn-aksen:hover, .btn-aksen:focus { background: var(--pg-aksen-gelap); border-color: var(--pg-aksen-gelap); color: #fff; }
.btn-garis { background: var(--pg-permukaan); border: 1px solid var(--pg-garis-kuat); color: var(--pg-teks); }
.btn-garis:hover { background: #FAF9F7; border-color: #BFB9AF; color: var(--pg-teks); }
.btn-bahaya-lembut { background: #FDECEC; color: #B42318; border: 1px solid #F7CFCB; }
.btn-bahaya-lembut:hover { background: #FBDADA; color: #8F1B12; }
.btn:focus-visible { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }

/* ---------- Formulir ---------- */
.form-label { font-weight: 600; font-size: .8rem; color: #3C3A36; margin-bottom: .3rem; }
.form-control, .form-select { border-color: var(--pg-garis-kuat); border-radius: 8px; font-size: .9rem; padding: .5rem .75rem; }
.form-control:focus, .form-select:focus { border-color: var(--pg-aksen); box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); }
.form-text { color: var(--pg-teks-lemah); font-size: .78rem; }
.form-check-input:checked { background-color: var(--pg-aksen); border-color: var(--pg-aksen); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem var(--bs-focus-ring-color); border-color: var(--pg-aksen); }
.wajib::after { content: " *"; color: #C2410C; }
.input-group-text { background: #F3F1ED; border-color: var(--pg-garis-kuat); color: var(--pg-teks-lemah); font-size: .85rem; }

/* ---------- Tata letak panel ---------- */
.panel-kerangka { display: flex; min-height: 100vh; }
.sisi-wadah { width: 252px; flex-shrink: 0; background: var(--pg-sisi); }
.sisi {
  --bs-offcanvas-bg: var(--pg-sisi); --bs-offcanvas-width: 272px; --bs-offcanvas-color: var(--pg-sisi-teks);
  color: var(--pg-sisi-teks); display: flex; flex-direction: column;
}
@media (min-width: 992px) {
  .sisi { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2C3037 transparent; }
}
@media (max-width: 991.98px) { .sisi-wadah { width: 0; } }
.sisi .offcanvas-body { display: flex; flex-direction: column; padding: 0; width: 100%; flex: 1 1 auto; }
.sisi-merek { display: flex; align-items: center; gap: .65rem; padding: 1.15rem 1.15rem .9rem; color: #fff; text-decoration: none; }
.sisi-merek:hover { color: #fff; }
.sisi-logo {
  width: 34px; height: 34px; border-radius: 9px; background: var(--pg-aksen); display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; overflow: hidden;
}
.sisi-logo img { width: 100%; height: 100%; object-fit: cover; }
.sisi-merek-nama { font-weight: 700; font-size: .98rem; line-height: 1.1; letter-spacing: -.01em; }
.sisi-merek-sub { font-size: .7rem; color: #7E838C; letter-spacing: .08em; text-transform: uppercase; }
.sisi-cabang { margin: 0 .9rem .75rem; }
.sisi-cabang .form-select {
  background-color: var(--pg-sisi-2); border-color: #2C3037; color: #E7E9EC; font-size: .8rem; padding: .4rem 2rem .4rem .65rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239aa0a8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
.sisi-cabang-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #6E737C; margin-bottom: .25rem; display: block; }
.sisi-nav { padding: .25rem .6rem 1.5rem; flex: 1; }
.sisi-grup { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: #6E737C; padding: 1rem .6rem .35rem; font-weight: 600; }
.sisi-tautan {
  display: flex; align-items: center; gap: .65rem; padding: .48rem .6rem; border-radius: 7px; color: var(--pg-sisi-teks);
  text-decoration: none; font-size: .86rem; font-weight: 500; position: relative;
}
.sisi-tautan .bi { font-size: 1rem; width: 1.1rem; text-align: center; opacity: .85; }
.sisi-tautan:hover { background: var(--pg-sisi-2); color: #E9EBEE; }
.sisi-tautan.active { background: var(--pg-sisi-2); color: var(--pg-sisi-aktif); }
.sisi-tautan.active::before {
  content: ""; position: absolute; left: -.6rem; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--pg-aksen);
}
.sisi-tautan.active .bi { color: var(--pg-aksen); opacity: 1; }
.sisi-kaki { padding: .9rem 1.15rem; border-top: 1px solid #23262C; font-size: .72rem; color: #6E737C; }

.utama { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bilah-atas {
  height: 60px; display: flex; align-items: center; gap: .75rem; padding: 0 1.5rem;
  background: rgba(245, 244, 241, .85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pg-garis);
  position: sticky; top: 0; z-index: 1020;
}
.bilah-atas .judul-bilah { font-weight: 600; font-size: .95rem; color: var(--pg-teks); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--pg-sisi); color: #fff; display: grid; place-items: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.menu-pengguna .dropdown-toggle { display: flex; align-items: center; gap: .55rem; background: transparent; border: 0; padding: .25rem .4rem; border-radius: 8px; color: var(--pg-teks); }
.menu-pengguna .dropdown-toggle:hover { background: #ECEAE5; }
.menu-pengguna .dropdown-toggle::after { display: none; }
.menu-pengguna .nama { font-weight: 600; font-size: .85rem; line-height: 1.1; text-align: left; }
.menu-pengguna .peran { font-size: .72rem; color: var(--pg-teks-lemah); }
.dropdown-menu { border-color: var(--pg-garis); border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 18, 15, .1); font-size: .875rem; padding: .35rem; }
.dropdown-item { border-radius: 6px; padding: .45rem .7rem; }
.dropdown-item:active { background: var(--pg-aksen); }

.isi { padding: 1.5rem; max-width: 1400px; width: 100%; }
@media (max-width: 575.98px) { .isi { padding: 1rem; } .bilah-atas { padding: 0 1rem; } }

/* ---------- Kepala halaman ---------- */
.kepala-halaman { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.kepala-halaman h1 { font-size: 1.45rem; margin: 0; }
.kepala-halaman .sub { color: var(--pg-teks-lemah); font-size: .85rem; margin-top: .2rem; }
.remah { font-size: .78rem; color: var(--pg-teks-lemah); margin-bottom: .35rem; }
.remah a { color: var(--pg-teks-lemah); text-decoration: none; }
.remah a:hover { color: var(--pg-aksen-gelap); }

/* ---------- Kartu ---------- */
.kartu { background: var(--pg-permukaan); border: 1px solid var(--pg-garis); border-radius: var(--pg-radius); box-shadow: var(--pg-bayang); }
.kartu-kepala { padding: .9rem 1.15rem; border-bottom: 1px solid var(--pg-garis); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.kartu-kepala h2, .kartu-kepala h3 { font-size: .95rem; margin: 0; }
.kartu-isi { padding: 1.15rem; }
.kartu-kaki { padding: .8rem 1.15rem; border-top: 1px solid var(--pg-garis); background: #FBFAF8; border-radius: 0 0 var(--pg-radius) var(--pg-radius); }

.statistik { padding: 1.1rem 1.15rem; }
.statistik .label { font-size: .75rem; color: var(--pg-teks-lemah); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .4rem; }
.statistik .nilai { font-size: 1.85rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin-top: .35rem; font-variant-numeric: tabular-nums; }
.statistik .bi { color: var(--pg-aksen); }

/* ---------- Tabel data ---------- */
.tabel-data { margin: 0; font-size: .86rem; }
.tabel-data > :not(caption) > * > * { padding: .65rem 1rem; border-bottom-color: var(--pg-garis); background: transparent; }
.tabel-data thead th {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--pg-teks-lemah); font-weight: 600;
  background: #FAF9F7; border-bottom: 1px solid var(--pg-garis); white-space: nowrap;
}
.tabel-data tbody tr:hover > * { background: #FBFAF7; }
.tabel-data tbody tr.sorot > * { background: var(--pg-aksen-lembut); }
.tabel-data tbody tr:last-child > * { border-bottom: 0; }
.tabel-data td.aksi { text-align: right; white-space: nowrap; }
.tabel-data a.tautan-baris { color: var(--pg-teks); font-weight: 600; text-decoration: none; }
.tabel-data a.tautan-baris:hover { color: var(--pg-aksen-gelap); text-decoration: underline; }
.kosong { padding: 3rem 1rem; text-align: center; color: var(--pg-teks-lemah); }
.kosong .bi { font-size: 2rem; color: #C9C3B9; display: block; margin-bottom: .5rem; }

.bilah-saring { display: flex; flex-wrap: wrap; gap: .5rem; padding: .85rem 1rem; border-bottom: 1px solid var(--pg-garis); align-items: center; }
.bilah-saring .form-control, .bilah-saring .form-select { font-size: .85rem; padding: .4rem .7rem; }
.bilah-saring .cari { flex: 1 1 240px; max-width: 360px; }

/* ---------- Lencana ---------- */
.lencana { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 600; padding: .18rem .55rem; border-radius: 999px; line-height: 1.3; white-space: nowrap; }
.lencana::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.lencana-sukses { background: #E8F6EE; color: #157347; }
.lencana-peringatan { background: #FFF4DB; color: #9A6200; }
.lencana-bahaya { background: #FDECEC; color: #B42318; }
.lencana-netral { background: #EFEDE9; color: #5F5B55; }
.lencana-info { background: #E7F0FD; color: #1D5BBF; }
.lencana-aksen { background: var(--pg-aksen-lembut); color: var(--pg-aksen-gelap); }

/* ---------- Plat nomor ---------- */
.plat {
  display: inline-block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; background: #16181C; color: #F4F4F2; padding: .16rem .5rem; border-radius: 4px;
  box-shadow: inset 0 0 0 1.5px #16181C, inset 0 0 0 2.5px #6B6F76; white-space: nowrap;
}
.plat-besar { font-size: 1.15rem; padding: .35rem .85rem; border-radius: 6px; }

/* ---------- Daftar definisi ---------- */
.daftar-info { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .55rem 1rem; margin: 0; font-size: .875rem; }
.daftar-info dt { color: var(--pg-teks-lemah); font-weight: 500; }
.daftar-info dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ---------- Pesan ---------- */
.alert { border-radius: 10px; font-size: .875rem; border-width: 1px; display: flex; gap: .65rem; align-items: flex-start; padding: .8rem 1rem; }
.alert .bi { font-size: 1.05rem; line-height: 1.3; }
.alert-success { background: #EDF8F1; border-color: #CBEBD7; color: #135C39; }
.alert-danger { background: #FDF0EF; border-color: #F7D2CE; color: #8F1B12; }
.alert-warning { background: #FFF7E6; border-color: #FBE3B1; color: #7A4D00; }
.alert-info { background: #EEF4FD; border-color: #D3E2FA; color: #184A9A; }
.catatan-pdp { background: #F3F1ED; border-radius: 8px; padding: .65rem .8rem; font-size: .78rem; color: #55524C; display: flex; gap: .5rem; }

/* ---------- Tab pengaturan ---------- */
.tab-samping .nav-link { color: var(--pg-teks); font-weight: 500; border-radius: 8px; padding: .5rem .75rem; display: flex; gap: .55rem; align-items: center; font-size: .875rem; }
.tab-samping .nav-link .bi { color: var(--pg-teks-lemah); }
.tab-samping .nav-link:hover { background: #ECEAE5; }
.tab-samping .nav-link.active { background: var(--pg-permukaan); box-shadow: inset 0 0 0 1px var(--pg-garis); color: var(--pg-teks); font-weight: 600; }
.tab-samping .nav-link.active .bi { color: var(--pg-aksen); }
.lencana-kunci { font-size: .65rem; margin-left: auto; color: var(--pg-teks-lemah); }

/* ---------- Matriks hak akses ---------- */
.matriks-modul { border: 1px solid var(--pg-garis); border-radius: 10px; margin-bottom: 1rem; overflow: hidden; }
.matriks-modul-kepala { background: #FAF9F7; padding: .6rem 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--pg-garis); }
.matriks-modul-kepala h3 { font-size: .85rem; margin: 0; text-transform: uppercase; letter-spacing: .06em; }
.matriks-izin { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .1rem 1rem; padding: .6rem 1rem; }
.matriks-izin .form-check { padding-top: .3rem; padding-bottom: .3rem; }
.matriks-izin .kode-izin { font-size: .7rem; color: var(--pg-teks-lemah); display: block; }

/* ---------- Halaman polos (login, instalasi) ---------- */
.polos { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 992px) { .polos-belah { grid-template-columns: minmax(380px, 44%) 1fr; } }
.polos-merek {
  background: var(--pg-sisi); color: #fff; padding: 3rem; display: none; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
@media (min-width: 992px) { .polos-belah .polos-merek { display: flex; } }
.polos-merek::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 48px solid color-mix(in srgb, var(--pg-aksen) 85%, transparent); opacity: .9;
}
.polos-merek::before {
  content: ""; position: absolute; right: 40px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%;
  border: 14px solid #2A2E35;
}
.polos-merek .slogan { font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; max-width: 22ch; position: relative; z-index: 1; }
.polos-merek .slogan em { font-style: normal; color: var(--pg-aksen); }
.polos-merek .catatan-kaki { color: #7E838C; font-size: .8rem; position: relative; z-index: 1; }
.polos-isi { display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.polos-kartu { width: 100%; max-width: 420px; }
.polos-kartu-lebar { max-width: 760px; }
.polos-kartu .kartu-isi { padding: 1.75rem; }
.polos-judul { font-size: 1.4rem; margin-bottom: .35rem; }
.polos-sub { color: var(--pg-teks-lemah); font-size: .875rem; margin-bottom: 1.5rem; }

.qr-kotak { width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--pg-garis); border-radius: 10px; display: grid; place-items: center; }
.qr-kotak svg { width: 100%; height: 100%; }
.rahasia-totp { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .08em; background: #F3F1ED; padding: .5rem .75rem; border-radius: 8px; word-break: break-all; }
.kode-pemulihan { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.kode-pemulihan code { display: block; text-align: center; background: #F3F1ED; padding: .55rem; border-radius: 8px; font-size: .95rem; letter-spacing: .08em; color: var(--pg-teks); }
.input-otp { font-size: 1.6rem; letter-spacing: .5em; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace; padding-left: .5em; }

/* ---------- Langkah instalasi ---------- */
.langkah-instal { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.langkah-instal span { font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: #EFEDE9; color: var(--pg-teks-lemah); }
.langkah-instal span.aktif { background: var(--pg-aksen); color: #fff; }
.langkah-instal span.selesai { background: #E8F6EE; color: #157347; }

/* ---------- Daftar periksa ---------- */
.daftar-periksa { list-style: none; padding: 0; margin: 0; }
.daftar-periksa li { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; border-bottom: 1px dashed var(--pg-garis); font-size: .875rem; }
.daftar-periksa li:last-child { border-bottom: 0; }
.daftar-periksa .tanda { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; flex-shrink: 0; }
.daftar-periksa .tanda.ok { background: #E8F6EE; color: #157347; }
.daftar-periksa .tanda.belum { background: #EFEDE9; color: #8A857D; }
.daftar-periksa .tanda.gagal { background: #FDECEC; color: #B42318; }
.daftar-periksa a { margin-left: auto; font-size: .8rem; font-weight: 600; text-decoration: none; }

/* ---------- Galat ---------- */
.galat-kode { font-size: 4.5rem; font-weight: 700; letter-spacing: -.04em; color: var(--pg-aksen); line-height: 1; }

/* ---------- Pemilih pelanggan ---------- */
.pemilih { position: relative; }
.pemilih-hasil { position: absolute; left: 0; right: 0; top: 100%; z-index: 1050; background: #fff; border: 1px solid var(--pg-garis); border-radius: 10px; box-shadow: 0 10px 30px rgba(20, 18, 15, .12); max-height: 300px; overflow-y: auto; margin-top: .25rem; }
.pemilih-hasil button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: .55rem .8rem; font-size: .85rem; }
.pemilih-hasil button:hover, .pemilih-hasil button:focus { background: var(--pg-aksen-lembut); outline: none; }
.pemilih-terpilih { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .75rem; border: 1px solid var(--pg-garis-kuat); border-radius: 8px; background: #FBFAF8; }

/* ---------- Diff audit ---------- */
.diff-tabel td { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; vertical-align: top; word-break: break-word; }
.diff-lama { background: #FDF0EF; }
.diff-baru { background: #EDF8F1; }

/* ---------- Utilitas ---------- */
.gap-kecil { gap: .4rem; }
.sembunyi { display: none !important; }
.lebar-isi { width: 1%; white-space: nowrap; }
@media print { .sisi, .bilah-atas, .kepala-halaman .btn, .bilah-saring { display: none !important; } .isi { padding: 0; } }
.kartu-form { max-width: 920px; }
.kartu-sempit { max-width: 640px; }
code { color: #6B4A2B; background: transparent; }
.tabel-data code, .daftar-info code, .sub code, .remah code { color: var(--pg-teks-lemah); }
.avatar { flex-shrink: 0; }
.pre-bungkus { white-space: pre-wrap; word-break: break-all; }
@media (max-width: 575.98px) {
  .tabel-data td, .tabel-data th { white-space: nowrap; }
  .kepala-halaman h1 { font-size: 1.25rem; }
}

/* =====================================================================
   Fase 2 — Servis: papan kanban, penerimaan, estimasi, SPK, publik, layar TV
   ===================================================================== */

/* ---------- Tombol tambahan ---------- */
.btn-sukses { background: #157347; border-color: #157347; color: #fff; }
.btn-sukses:hover, .btn-sukses:focus { background: #0f5c38; border-color: #0f5c38; color: #fff; }
.btn-wa { background: #1FA855; border-color: #1FA855; color: #fff; }
.btn-wa:hover, .btn-wa:focus { background: #178a45; border-color: #178a45; color: #fff; }

/* ---------- Bilah progres ---------- */
.progres { display: block; height: 6px; border-radius: 99px; background: #ECE9E4; overflow: hidden; }
.progres > span { display: block; height: 100%; width: 0; background: var(--pg-aksen); border-radius: 99px; transition: width .4s ease; }
.progres-besar { height: 10px; }
.kol-progres { min-width: 120px; }
.titik-hidup { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #1FA855; box-shadow: 0 0 0 0 rgba(31, 168, 85, .6); animation: denyut 1.6s infinite; vertical-align: middle; }
.titik-hidup.besar { width: 14px; height: 14px; }
@keyframes denyut { 0% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .55); } 70% { box-shadow: 0 0 0 9px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }
@media (prefers-reduced-motion: reduce) { .titik-hidup { animation: none; } .progres > span { transition: none; } }

/* ---------- Papan kanban ---------- */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: .85rem; overflow-x: auto; padding-bottom: .5rem; }
.kanban-kolom { background: #EEECE8; border-radius: 12px; display: flex; flex-direction: column; min-height: 220px; }
.kanban-kepala { display: flex; align-items: center; gap: .45rem; padding: .7rem .85rem; font-weight: 700; font-size: .82rem; border-top: 3px solid #B9B3AA; border-radius: 12px 12px 0 0; }
.kanban-info { border-top-color: #1D5BBF; } .kanban-peringatan { border-top-color: #D99A00; } .kanban-aksen { border-top-color: var(--pg-aksen); } .kanban-sukses { border-top-color: #157347; }
.kanban-jumlah { margin-left: auto; background: #fff; border-radius: 99px; padding: 0 .55rem; font-size: .75rem; }
.kanban-isi { padding: 0 .6rem .7rem; display: flex; flex-direction: column; gap: .55rem; }
.kanban-kartu { display: block; background: #fff; border: 1px solid var(--pg-garis); border-radius: 10px; padding: .7rem .75rem; color: var(--pg-teks); text-decoration: none; box-shadow: var(--pg-bayang); transition: border-color .15s, transform .15s; }
.kanban-kartu:hover { border-color: var(--pg-aksen); color: var(--pg-teks); transform: translateY(-1px); }
.kanban-kartu.terlambat { border-left: 4px solid #B42318; }
.kanban-judul { font-weight: 600; font-size: .85rem; margin-top: .45rem; }
.kanban-meta { font-size: .72rem; color: var(--pg-teks-lemah); }
.kanban-kaki { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--pg-teks-lemah); margin-top: .45rem; }
.kanban-janji { font-size: .72rem; color: var(--pg-teks-lemah); margin-top: .2rem; }
.kanban-kartu.terlambat .kanban-janji { color: #B42318; font-weight: 600; }
.kanban-kosong { font-size: .78rem; color: #9A958D; text-align: center; padding: 1.2rem .5rem; }

/* ---------- Pekerjaan saya (mekanik, ramah HP) ---------- */
.kartu-berjalan { border-color: #9ED5B4; background: #F2FBF5; }
.pengukur-waktu { font-variant-numeric: tabular-nums; font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; }
.kartu-tugas.aktif { border-color: #1FA855; box-shadow: 0 0 0 3px rgba(31, 168, 85, .15); }
.tugas-judul { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.tugas-keluhan { font-size: .82rem; background: #F7F5F2; border-radius: 8px; padding: .5rem .65rem; }
.tombol-tugas { display: grid; gap: .5rem; }
.tombol-tugas .btn-lg { padding: .8rem 1rem; font-size: 1rem; }

/* ---------- Formulir penerimaan ---------- */
.nomor-langkah { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pg-aksen); color: #fff; font-size: .72rem; margin-right: .5rem; }
.kelompok-cek { border-bottom: 1px solid var(--pg-garis); }
.kelompok-cek:last-child { border-bottom: 0; }
.kelompok-cek-kepala { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1.15rem; background: #FAF9F7; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pg-teks-lemah); }
.baris-cek { display: grid; grid-template-columns: minmax(130px, 1fr) auto minmax(120px, 1fr); gap: .6rem; align-items: center; padding: .45rem 1.15rem; border-top: 1px solid #F1EEEA; }
.baris-cek-nama { font-size: .85rem; }
.pilih-kondisi { display: inline-flex; border: 1px solid var(--pg-garis-kuat); border-radius: 8px; overflow: hidden; }
.pilih-kondisi label { padding: .3rem .55rem; font-size: .72rem; font-weight: 600; cursor: pointer; border-left: 1px solid var(--pg-garis); user-select: none; background: #fff; }
.pilih-kondisi label:first-of-type { border-left: 0; }
.pilih-kondisi .btn-check:checked + .kondisi-baik { background: #157347; color: #fff; }
.pilih-kondisi .btn-check:checked + .kondisi-perhatian { background: #D99A00; color: #fff; }
.pilih-kondisi .btn-check:checked + .kondisi-rusak { background: #B42318; color: #fff; }
.pilih-kondisi .btn-check:checked + .kondisi-tidak_ada { background: #5F5B55; color: #fff; }
.pilih-kondisi .btn-check:focus-visible + label { outline: 2px solid var(--pg-aksen); outline-offset: -2px; }
@media (max-width: 767.98px) { .baris-cek { grid-template-columns: 1fr; } }

.tampak-tab .nav-link { font-size: .78rem; padding: .3rem .65rem; color: var(--pg-teks); }
.tampak-tab .nav-link.active { background: var(--pg-aksen); color: #fff; }
.diagram { position: relative; color: #4B4740; background: #FBFAF8; border: 1px dashed var(--pg-garis-kuat); border-radius: 10px; }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram[data-diagram] { cursor: crosshair; }
.tanda { position: absolute; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; font-weight: 700; color: #fff; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); pointer-events: auto; }
.tanda-baret, .nomor-tanda.tanda-baret, .tanda-label.tanda-baret { background: #D99A00; }
.tanda-penyok, .nomor-tanda.tanda-penyok, .tanda-label.tanda-penyok { background: #B42318; }
.tanda-retak, .nomor-tanda.tanda-retak, .tanda-label.tanda-retak { background: #7C3AED; }
.tanda-karat, .nomor-tanda.tanda-karat, .tanda-label.tanda-karat { background: #92400E; }
.tanda-pecah, .nomor-tanda.tanda-pecah, .tanda-label.tanda-pecah { background: #1D5BBF; }
.tanda-lainnya, .nomor-tanda.tanda-lainnya, .tanda-label.tanda-lainnya { background: #5F5B55; }
.daftar-kerusakan { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .4rem; }
.daftar-kerusakan li { display: grid; grid-template-columns: auto auto 1fr auto; gap: .5rem; align-items: center; font-size: .8rem; }
.nomor-tanda { width: 20px; height: 20px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: .65rem; font-weight: 700; }
.diagram-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; }
.diagram-mini { margin: 0; }
.diagram-mini figcaption { font-size: .72rem; color: var(--pg-teks-lemah); text-align: center; margin-top: .25rem; }
.daftar-tanda-baca { font-size: .82rem; padding-left: 1.2rem; margin-top: .75rem; }
.tanda-label { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .35rem; }
.pratinjau-foto, .galeri { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; margin-top: .6rem; }
.pratinjau-foto img, .galeri img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--pg-garis); background: #F3F1ED; }
.pernyataan-ttd { font-size: .78rem; color: var(--pg-teks-lemah); background: #F7F5F2; border-radius: 8px; padding: .55rem .7rem; }
.kanvas-ttd { position: relative; }
.kanvas-ttd canvas { display: block; width: 100%; height: auto; aspect-ratio: 600 / 220; border: 1px dashed var(--pg-garis-kuat); border-radius: 10px; background: #fff; touch-action: none; cursor: crosshair; }
.kanvas-ttd [data-hapus-ttd] { position: absolute; right: .3rem; top: .3rem; }
.gambar-ttd { max-width: 260px; width: 100%; border: 1px solid var(--pg-garis); border-radius: 8px; background: #fff; }

/* ---------- Tampilan baca penerimaan ---------- */
.kotak-teks { background: #FAF9F7; border: 1px solid var(--pg-garis); border-radius: 8px; padding: .6rem .8rem; font-size: .86rem; }
.kotak-teks-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pg-teks-lemah); margin-bottom: .2rem; }
.judul-bagian { font-size: .9rem; font-weight: 700; border-bottom: 1px solid var(--pg-garis); padding-bottom: .35rem; }
.grid-inspeksi { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.tabel-cek td { font-size: .82rem; padding: .25rem .1rem; }
.kondisi { font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 99px; }
.kondisi-baik { color: #157347; } .kondisi.kondisi-baik { background: #E8F6EE; }
.kondisi-perhatian { color: #9A6200; } .kondisi.kondisi-perhatian { background: #FFF4DB; }
.kondisi-rusak { color: #B42318; } .kondisi.kondisi-rusak { background: #FDECEC; }
.kondisi-tidak_ada { color: #5F5B55; } .kondisi.kondisi-tidak_ada { background: #EFEDE9; }
.meter-bbm { display: inline-flex; gap: 2px; vertical-align: middle; }
.meter-bbm i { width: 8px; height: 12px; border-radius: 2px; background: #E2DED8; }
.meter-bbm i.isi { background: #157347; }

/* ---------- Antrean ---------- */
.kode-antrean { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- Estimasi ---------- */
.jenis-item { display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .05rem .4rem; border-radius: 4px; margin-right: .35rem; background: #EFEDE9; color: #5F5B55; vertical-align: middle; }
.jenis-jasa { background: #E7F0FD; color: #1D5BBF; }
.jenis-suku_cadang { background: #FFF4DB; color: #9A6200; }
.jenis-sublet { background: #F3E8FF; color: #6B21A8; }
.tabel-item tfoot td { border-bottom: 0; padding-top: .35rem; padding-bottom: .35rem; }
.tabel-item .baris-total td { font-weight: 700; font-size: .95rem; border-top: 1px solid var(--pg-garis); }
.tabel-item .baris-disetujui td { font-weight: 700; color: #157347; }
.baris-ditolak td { color: #9A958D; text-decoration: line-through; }
.baris-ditolak td:last-child { text-decoration: none; }
.tabel-editor td { vertical-align: top; padding: .45rem .5rem !important; }
.tabel-editor .kol-jenis { width: 130px; } .tabel-editor .kol-qty { width: 80px; } .tabel-editor .kol-satuan { width: 80px; } .tabel-editor .kol-harga { width: 130px; }
.tabel-editor input.terkunci { background: #F3F1ED; }
.kartu-temuan { border-left: 4px solid var(--pg-aksen); }
.kartu-sorot { border-color: color-mix(in srgb, var(--pg-aksen) 45%, #fff); box-shadow: 0 0 0 3px var(--pg-aksen-lembut); }
.daftar-keputusan { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .5rem; }
.daftar-keputusan li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid #F1EEEA; padding-bottom: .4rem; }
.btn-check:checked + .btn-garis { background: var(--pg-aksen); border-color: var(--pg-aksen); color: #fff; }

/* ---------- SPK ---------- */
.daftar-item-spk { list-style: none; margin: 0; padding: 0; }
.item-spk { padding: .85rem 1.15rem; border-bottom: 1px solid var(--pg-garis); }
.item-spk:last-child { border-bottom: 0; }
.item-spk.batal { opacity: .55; }
.aksi-item { display: flex; flex-wrap: wrap; gap: .4rem; align-items: flex-start; }
.aksi-item details > summary { list-style: none; }
.aksi-item details > summary::-webkit-details-marker { display: none; }
details > summary { cursor: pointer; }
.panel-melayang { position: absolute; z-index: 20; background: #fff; border: 1px solid var(--pg-garis); border-radius: 10px; box-shadow: 0 12px 32px rgba(20, 18, 15, .14); padding: .8rem; width: 290px; margin-top: .35rem; }
.panel-melayang.kanan { right: 1rem; }
.panel-melayang label.form-label { display: block; }
.daftar-centang { max-height: 160px; overflow-y: auto; border: 1px solid var(--pg-garis); border-radius: 8px; padding: .35rem .6rem; }
.log-jam table td { padding: .25rem .35rem; }
.log-jam .panel-melayang { text-align: left; }
.linimasa { list-style: none; margin: 0; padding: .85rem 1.15rem; position: relative; }
.linimasa li { position: relative; padding: 0 0 .85rem 1.1rem; border-left: 2px solid var(--pg-garis); margin-left: .3rem; }
.linimasa li:last-child { padding-bottom: 0; }
.linimasa li::before { content: ""; position: absolute; left: -6px; top: .3rem; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--pg-aksen); }
.kotak-serah { background: #F2FBF5; border: 1px solid #CBEBD7; border-radius: 10px; padding: .8rem; }

/* ---------- Notifikasi (lonceng) ---------- */
.lonceng-tombol { position: relative; }
.lonceng-jumlah { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #B42318; color: #fff; font-size: .65rem; font-weight: 700; display: grid; place-items: center; }
.lonceng-menu { width: 330px; padding: 0; overflow: hidden; }
.lonceng-kepala { padding: .65rem .9rem; font-weight: 700; border-bottom: 1px solid var(--pg-garis); }
.lonceng-item { display: block; padding: .6rem .9rem; border-bottom: 1px solid #F1EEEA; color: var(--pg-teks); text-decoration: none; font-size: .82rem; }
.lonceng-item:hover { background: #FAF9F7; color: var(--pg-teks); }
.lonceng-item.baru { background: var(--pg-aksen-lembut); }
.lonceng-kosong { padding: 1rem; text-align: center; font-size: .8rem; color: var(--pg-teks-lemah); }
.lonceng-semua { display: block; text-align: center; padding: .55rem; font-size: .8rem; font-weight: 600; text-decoration: none; }
.daftar-notifikasi .belum-dibaca { background: var(--pg-aksen-lembut); }
.ikon-notif { width: 34px; height: 34px; border-radius: 50%; background: #F3F1ED; display: grid; place-items: center; flex-shrink: 0; color: var(--pg-aksen-gelap); }

/* ---------- Halaman cetak (A4) ---------- */
.halaman-cetak { background: #E9E7E3; }
.bilah-cetak { position: sticky; top: 0; display: flex; justify-content: center; gap: .5rem; padding: .6rem; background: #fff; border-bottom: 1px solid var(--pg-garis); z-index: 5; }
.lembar { background: #fff; width: 210mm; min-height: 297mm; margin: 1rem auto; padding: 14mm 14mm 12mm; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); font-size: 10.5pt; }
.lembar-kepala { border-bottom: 2px solid #1D1F23; padding-bottom: 8px; margin-bottom: 12px; }
.lembar-logo { width: 48px; height: 48px; object-fit: contain; }
.lembar-usaha { font-size: 15pt; font-weight: 800; }
.lembar-alamat { font-size: 8.5pt; color: #555; }
.lembar-judul { font-size: 13pt; text-align: center; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 14px; }
.lembar-kaki { margin-top: 18px; font-size: 8pt; color: #777; text-align: right; }
.lembar-ttd { display: grid; grid-template-columns: 1fr 1fr; gap: 30mm; margin-top: 16px; text-align: center; }
.ruang-ttd { height: 22mm; }
.lembar-ttd .gambar-ttd { height: 22mm; width: auto; max-width: 100%; border: 0; }
.garis-ttd { border-top: 1px solid #333; padding-top: 3px; font-size: 9pt; }
.tabel-cetak th, .tabel-cetak td { font-size: 9.5pt; padding: 4px 6px; }
.kol-paraf { width: 22mm; }
.lembar .tabel-data > :not(caption) > * > * { padding: .35rem .5rem; }
@media print {
  @page { size: A4; margin: 0; }
  .halaman-cetak { background: #fff; }
  .bilah-cetak { display: none !important; }
  .lembar { margin: 0; box-shadow: none; width: auto; min-height: auto; }
  .plat { border: 1px solid #000; }
}

/* ---------- Halaman publik (persetujuan, cek status) ---------- */
.halaman-publik { background: var(--pg-kanvas); min-height: 100vh; display: flex; flex-direction: column; }
.publik-kepala { background: var(--pg-sisi); padding: .8rem 1rem; }
.publik-merek { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; font-weight: 700; }
.publik-merek:hover { color: #fff; }
.publik-isi { flex: 1; padding: 1.25rem .9rem 2rem; }
.publik-kartu { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--pg-garis); border-radius: 14px; padding: 1.25rem; box-shadow: var(--pg-bayang); }
.publik-kaki { text-align: center; font-size: .75rem; color: var(--pg-teks-lemah); padding: 1rem; }
.daftar-persetujuan { list-style: none; padding: 0; margin: 0; }
.daftar-persetujuan li { padding: .85rem 0; border-bottom: 1px solid var(--pg-garis); transition: opacity .2s; }
.daftar-persetujuan li.ditolak { opacity: .55; }
.pilih-setuju { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.pilih-setuju .btn { padding: .55rem; }
.pilih-setuju .btn-check:checked + label[for^="t"] { background: #B42318; border-color: #B42318; }
.pilih-setuju .btn-check:checked + label[for^="s"] { background: #157347; border-color: #157347; }
.ringkasan-total { margin-top: 1rem; padding: .8rem; background: #FAF9F7; border-radius: 10px; }
.ringkasan-total .total-disetujui { color: #157347; font-size: 1.05rem; margin-top: .25rem; }
.tahapan { list-style: none; padding: 0; margin: 0; display: flex; justify-content: space-between; counter-reset: tahap; }
.tahapan li { flex: 1; text-align: center; font-size: .7rem; color: #9A958D; position: relative; padding-top: 28px; }
.tahapan li::before { counter-increment: tahap; content: counter(tahap); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #E2DED8; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .7rem; }
.tahapan li.lewat::before { background: #157347; content: "✓"; }
.tahapan li.kini { color: var(--pg-teks); font-weight: 700; }
.tahapan li.kini::before { background: var(--pg-aksen); box-shadow: 0 0 0 4px var(--pg-aksen-lembut); }

/* ---------- Layar TV ---------- */
.halaman-layar { background: #0E1013; color: #E9EBEE; overflow: hidden; }
.layar { display: flex; flex-direction: column; height: 100vh; padding: 1.5vw 2vw; gap: 1vw; }
.layar-kepala { display: flex; align-items: center; justify-content: space-between; }
.layar-merek { display: flex; align-items: center; gap: .8vw; font-size: 1.6vw; font-weight: 700; }
.layar-judul { font-size: 1.6vw; color: #A9ADB5; text-transform: uppercase; letter-spacing: .15em; }
.layar-jam { font-size: 2.4vw; font-weight: 700; font-variant-numeric: tabular-nums; }
.layar-isi { flex: 1; display: grid; grid-template-columns: 1fr 15vw; gap: 1.5vw; min-height: 0; }
.layar-servis { overflow: hidden; }
.layar-baris { display: grid; grid-template-columns: 15vw 1fr 14vw 12vw 13vw; gap: 1vw; align-items: center; padding: .9vw 1vw; border-bottom: 1px solid #23262C; font-size: 1.35vw; }
.layar-baris-kepala { font-size: .9vw; text-transform: uppercase; letter-spacing: .1em; color: #7E838C; padding-top: 0; }
.layar-baris .plat { font-size: 1.5vw; }
.layar-baris small { color: #7E838C; font-size: .9vw; }
.layar-status { font-weight: 700; }
.layar-baris.status-dikerjakan .layar-status { color: #6EA8FE; }
.layar-baris.status-qc .layar-status { color: var(--pg-aksen); }
.layar-baris.status-selesai .layar-status { color: #3DDC84; }
.layar-baris.status-menunggu_part .layar-status, .layar-baris.status-menunggu_persetujuan .layar-status { color: #FFC24B; }
.layar-baris.terlambat { background: rgba(180, 35, 24, .15); }
.layar-baris .progres { height: .8vw; background: #2A2E35; }
.layar-antrean { background: #15171B; border-radius: 1vw; padding: 1vw; display: flex; flex-direction: column; gap: .6vw; }
.layar-antrean-judul { font-size: .9vw; text-transform: uppercase; letter-spacing: .1em; color: #7E838C; }
.layar-antrean-item { font-size: 2vw; font-weight: 800; text-align: center; padding: .5vw; border-radius: .6vw; background: #1E2126; }
.layar-antrean-item.dipanggil { background: var(--pg-aksen); color: #fff; animation: kedip 1.2s ease-in-out 3; }
.layar-antrean-item small { display: block; font-size: .8vw; font-weight: 600; }
@keyframes kedip { 50% { opacity: .55; } }
.layar-kosong { padding: 4vw; text-align: center; color: #7E838C; font-size: 1.4vw; }
.layar-kaki { font-size: .8vw; color: #5D626B; text-align: center; }
.aksi-item details, .log-jam td details { position: relative; }
.panel-melayang.kanan { right: 0; }

/* =====================================================================
   Fase 3 — Gudang & pembelian
   ===================================================================== */
.pemilih-part { position: relative; min-width: 220px; }
.hasil-part { position: absolute; z-index: 30; left: 0; right: 0; min-width: 320px; max-height: 320px; overflow-y: auto; background: var(--pg-permukaan); border: 1px solid var(--pg-garis-kuat); border-radius: 8px; box-shadow: 0 12px 32px rgba(20, 18, 15, .14); margin-top: .2rem; }
.hasil-part button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--pg-garis); padding: .45rem .65rem; font-size: .82rem; }
.hasil-part button:last-child { border-bottom: 0; }
.hasil-part button:hover, .hasil-part button.aktif { background: var(--pg-aksen-lembut); }
.hasil-part .info { display: block; color: var(--pg-teks-lemah); font-size: .75rem; }
.hasil-part .kosong-kecil { padding: .6rem; color: var(--pg-teks-lemah); font-size: .82rem; }
.kartu-peringatan { border-color: #F5C77E; }
.kartu-peringatan .kartu-kepala { background: #FFF8EB; }
.tabel-baris td { vertical-align: top; }
.tabel-baris .form-control-sm, .tabel-baris .form-select-sm { min-width: 70px; }
.kolom-qty { width: 110px; }
.kolom-harga { width: 150px; }
.ringkas-total { max-width: 360px; margin-left: auto; }
.ringkas-total .baris { display: flex; justify-content: space-between; padding: .2rem 0; }
.ringkas-total .baris.besar { font-size: 1.05rem; font-weight: 700; border-top: 1px solid var(--pg-garis); margin-top: .3rem; padding-top: .5rem; }
.stat-gudang { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.stat-gudang .kotak { background: var(--pg-permukaan); border: 1px solid var(--pg-garis); border-radius: var(--pg-radius); padding: .8rem 1rem; }
.stat-gudang .label { font-size: .75rem; color: var(--pg-teks-lemah); text-transform: uppercase; letter-spacing: .04em; }
.stat-gudang .nilai { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty-plus { color: #067647; }
.qty-minus { color: #B42318; }
@media print { .opname-buta .kolom-sistem { display: none; } }
.pilih-rak { min-width: 96px; width: auto; }
