* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
:root {
  --hijau: #7b1523; --hijau-muda: #f5e2e5; --emas: #c9a227; --emas-muda: #fbf3d6; --oranye: #c76a00; --oranye-muda: #fde7cc;
  --biru: #1d5fb4; --biru-muda: #d9e7fa; --abu: #e6e8e7; --teks: #1b1f1d; --garis: #cfd4d1;
}
html, body { margin: 0; height: 100%; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--teks); background: #f8f5f2; font-size: 16px; }
body { overscroll-behavior: none; }
.hidden { display: none !important; }
.view { position: fixed; inset: 0; display: flex; flex-direction: column; background: #f8f5f2; }
.pad { padding: 18px 16px 28px; overflow-y: auto; }
h1 { margin: 6px 0 0; font-size: 26px; color: var(--hijau); }
h2 { margin: 0 0 6px; font-size: 20px; }
.sub { margin: 2px 0 18px; color: #55605a; font-size: 14px; }
.note { color: #55605a; font-size: 13px; min-height: 1.2em; }
.warn { color: var(--oranye); font-size: 14px; margin: 10px 0 0; }

label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 14px; }
input[type=text], select, textarea { width: 100%; padding: 13px 12px; font-size: 17px; border: 1px solid var(--garis);
  border-radius: 10px; background: #fff; font-family: inherit; }
.check, .radio { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 14px 0; }
.check input, .radio input { width: 20px; height: 20px; }

button { font-family: inherit; font-size: 16px; border: 0; border-radius: 10px; padding: 12px 14px; background: var(--abu); color: var(--teks); }
button:active { filter: brightness(.93); }
button:disabled { opacity: .45; }
.big { width: 100%; padding: 15px; font-size: 18px; font-weight: 600; margin-top: 12px; display: block; text-align: center; }
.primary { background: var(--hijau); color: #fff; }

.banner-uji { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: #e3b94a; color: #3a2f00;
  text-align: center; font-size: 12px; font-weight: 700; padding: 3px 8px; }
body.uji .bar { padding-top: 28px; }
body.uji .pad { padding-top: 40px; }

.bar { display: flex; align-items: center; gap: 8px; padding: 10px 10px; background: var(--hijau); color: #fff; flex: 0 0 auto; }
.bar button.icon { background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; width: 42px; height: 42px; padding: 0; }
.bar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bar-title b { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-title span { font-size: 12px; opacity: .85; }
.pill { background: #fff; color: var(--hijau); font-weight: 700; font-size: 13px; padding: 9px 12px; border-radius: 99px; }
.pill.ada { background: #e3b94a; color: #3a2f00; }
.scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.kel { position: sticky; top: 0; background: #f0e9e4; padding: 8px 14px; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--garis); z-index: 2; }
.tps-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: #fff; border-bottom: 1px solid #ece6e1; }
.tps-row:active { background: #f6efe9; }
.tps-nama { font-weight: 600; min-width: 64px; }
.chips { display: flex; gap: 5px; }
.chip { min-width: 46px; text-align: center; font-size: 11px; font-weight: 700; padding: 6px 4px; border-radius: 7px; background: var(--abu); color: #626b66; }
.chip.selesai { background: #f3e3a2; color: #5c4500; }
.chip.masalah { background: var(--oranye-muda); color: var(--oranye); }
.chip.proses { background: var(--biru-muda); color: var(--biru); }

.jenis { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 12px; margin-bottom: 10px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.jenis .info { flex: 1; min-width: 0; }
.jenis .jn { font-weight: 700; font-size: 17px; }
.jenis .js { font-size: 13px; margin-top: 2px; color: #55605a; }
.jenis.selesai { border-color: #d9b94a; background: #fdf8e6; }
.jenis.masalah { border-color: #f1c58f; background: #fffaf3; }
.jenis.proses { border-color: #a9c6ee; background: #f4f8fe; }
.jenis button { background: var(--hijau); color: #fff; font-weight: 600; min-width: 96px; }

.q-item { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.q-item .t { font-weight: 700; }
.q-item .s { font-size: 13px; color: #55605a; margin-top: 3px; }
.q-item .e { font-size: 12px; color: var(--oranye); margin-top: 3px; word-break: break-word; }
.q-item .bar2 { height: 6px; background: var(--abu); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.q-item .bar2 i { display: block; height: 100%; background: var(--biru); }
.q-item button { margin-top: 8px; font-size: 13px; padding: 8px 10px; }
.kosong { text-align: center; color: #6b756f; padding: 36px 12px; }

/* kamera */
.cam { background: #000; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.cam-top, .cam-bottom { position: absolute; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px; z-index: 5; }
.cam-top { top: 0; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); padding-top: calc(10px + env(safe-area-inset-top)); }
body.uji .cam-top { padding-top: 34px; }
.cam-bottom { bottom: 0; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.cam-judul { color: #fff; font-weight: 700; text-align: center; font-size: 14px; text-shadow: 0 1px 3px #000; padding: 0 6px; }
.cam-btn { background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(4px); min-width: 84px; font-weight: 600; font-size: 14px; }
.cam-btn.small { min-width: 0; padding: 9px 12px; }
.cam-btn.done { background: var(--hijau); font-size: 17px; padding: 16px 14px; }
.shutter-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shutter { width: 78px; height: 78px; border-radius: 50%; background: #fff; border: 6px solid rgba(255,255,255,.5); background-clip: padding-box; padding: 0; }
.shutter:active { transform: scale(.93); }
.shutter:disabled { opacity: .6; }
.cam-count { color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 3px #000; }
.cam-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 4; transition: opacity .18s; }
.cam-flash.on { opacity: .55; transition: none; }
.cam-thumb { position: absolute; right: 12px; bottom: 138px; width: 64px; height: 64px; object-fit: cover; border: 2px solid #fff; border-radius: 8px; z-index: 5; }
.cam-fallback { position: absolute; left: 20px; right: 20px; top: 28%; background: rgba(0,0,0,.7); color: #fff; padding: 18px; border-radius: 14px; z-index: 6; text-align: center; }
.filelabel { cursor: pointer; margin-top: 8px; }
.filelabel input { display: none; }

/* dialog */
.dlg { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; z-index: 80; }
.dlg-box { background: #fff; width: 100%; max-width: 520px; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; }
.dlg-aksi { display: flex; gap: 10px; }
.dlg-aksi .big { margin-top: 14px; }

.toast { position: fixed; left: 50%; bottom: 190px; transform: translateX(-50%); background: #1b1f1d; color: #fff; padding: 11px 16px;
  border-radius: 10px; z-index: 99; max-width: 88%; font-size: 14px; text-align: center; }

.jenis .aksi { display: flex; flex-direction: column; gap: 6px; }
.jenis button.hapus { background: #fff; color: #b3261e; border: 1px solid #e0b4b0; min-width: 96px; font-weight: 600; }
.hapus-semua { background: #fff; color: #b3261e; border: 1px solid #e0b4b0; margin-top: 8px; }

.kel-card { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.kel-card:active { background: #f6efe9; }
.kel-card .kn { font-weight: 700; font-size: 17px; }
.kel-card .ks { font-size: 13px; color: #55605a; margin-top: 3px; }
.kel-card .bar2 { height: 6px; background: var(--abu); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.kel-card .bar2 i { display: block; height: 100%; background: var(--hijau); }
.kel-card.lengkap { border-color: #d9b94a; background: #fdf8e6; }

.cam-kanan { display: flex; gap: 8px; align-items: center; }
.filelabel2 { display: inline-flex; align-items: center; border-radius: 12px; cursor: pointer; }
.filelabel2 input { display: none; }

.jenis .aksi { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.jenis .aksi button { flex: 1 1 0; min-width: 0; padding: 12px 6px; font-size: 15px; }
.jenis .aksi button.sekunder { background: #fff; color: var(--hijau); border: 1px solid #d9b94a; }
.cam-fallback .big + .big { margin-top: 8px; }

.kunci-info { background: #fff6e0; border: 1px solid #f1c58f; border-radius: 10px; padding: 10px 12px; color: #6b4a00; }
.tag-kunci { background: #f0e9e4; color: #55605a; border-radius: 6px; padding: 1px 6px; font-weight: 600; margin-left: 6px; }

/* dashboard */
.dash-hero { background: var(--hijau); color: #fff; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.dash-big { font-size: 52px; font-weight: 800; line-height: 1; }
.dash-lbl { font-size: 14px; opacity: .9; margin-top: 2px; }
.dash-hero .bar2 { height: 8px; background: rgba(255,255,255,.25); border-radius: 5px; margin-top: 12px; overflow: hidden; }
.dash-hero .bar2 i { display: block; height: 100%; background: #e3b94a; }
.dash-sub { font-size: 13px; opacity: .9; margin-top: 8px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.dash-grid div { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 10px 12px; }
.dash-grid b { display: block; font-size: 22px; }
.dash-grid b small { font-size: 14px; color: #55605a; font-weight: 600; }
.dash-grid span { font-size: 12px; color: #55605a; }
.dash-h { font-size: 15px; margin: 18px 2px 8px; color: var(--hijau); }
.dash-hari { display: flex; align-items: flex-end; gap: 3px; height: 110px; background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 18px 8px 6px; }
.hb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; min-width: 0; }
.hb i { display: block; width: 100%; background: #d9a9b0; border-radius: 3px 3px 0 0; }
.hb.ini i { background: var(--hijau); }
.hb span { font-size: 10px; color: #55605a; margin-top: 3px; }
.hb em { font-style: normal; font-size: 10px; color: #55605a; position: absolute; top: -14px; }
.dash-row { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.dash-row.saya { border-color: var(--hijau); background: #fdf8e6; }
.dr-a { display: flex; justify-content: space-between; align-items: baseline; }
.dr-a span { font-weight: 800; color: var(--hijau); }
.dash-row .bar2 { height: 6px; background: var(--abu); border-radius: 4px; margin: 6px 0; overflow: hidden; }
.dash-row .bar2 i { display: block; height: 100%; background: var(--hijau); }
.dr-b { font-size: 12px; color: #55605a; }
.dash-pt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 9px 12px; margin-bottom: 6px; }
.dash-pt.saya { border-color: var(--hijau); background: #fdf8e6; }
.dash-pt .no { width: 28px; text-align: center; font-size: 20px; font-weight: 700; }
.dash-pt .nm { flex: 1; min-width: 0; font-weight: 600; }
.dash-pt .nm small { display: block; color: var(--hijau); font-weight: 600; font-size: 11px; }
.dash-pt .ang { text-align: right; font-weight: 800; }
.dash-pt .ang small { display: block; font-weight: 500; color: #55605a; font-size: 11px; }
.dash-mas { margin-top: 16px; background: #fff; border: 1px solid #f0c9a0; border-radius: 12px; padding: 10px 12px; }
.dash-mas summary { font-weight: 700; color: var(--oranye); }
.dash-mas .dm { padding: 8px 0; border-top: 1px solid var(--garis); font-size: 14px; margin-top: 8px; }
.dash-mas .dm small { color: #55605a; }
.bar .pill { padding: 8px 10px; font-size: 12px; }

.dash-link { display: flex; justify-content: space-between; align-items: center; margin: 10px 16px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9b94a; background: #fdf8e6; color: var(--hijau); font-weight: 700; font-size: 15px; text-align: left; }
.dash-link span { font-size: 20px; }

.chip.kunci { box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.jenis.terkunci { opacity: .92; }
.jenis .aksi button.kunci-btn { background: #fff7d6; color: #6b5300; border: 1px solid #e6c85a; }
.tag-khusus { background: #e8defa; color: #4b2a8a; border-radius: 6px; padding: 1px 6px; font-size: 11px; font-weight: 700; margin-left: 4px; }

/* menu admin */
.dash-link.admin { margin-top: 8px; border-color: #e6c85a; background: #fff7d6; color: #6b5300; }
.dash-h.first { margin-top: 2px; }
.adm-kartu { background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.ak-a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ak-a small { color: #55605a; }
.ak-b { font-size: 14px; margin-top: 4px; }
.ak-c { font-size: 13px; color: #55605a; margin-top: 2px; }
.ak-c.ada { color: var(--oranye); font-weight: 600; }
.ak-d { font-size: 12px; color: #55605a; margin-top: 2px; }
.adm-filter { display: flex; gap: 8px; margin-bottom: 10px; }
.adm-filter select { flex: 1; min-width: 0; padding: 10px 8px; border-radius: 10px; border: 1px solid var(--garis); background: #fff; font-size: 14px; }
.adm-baris { background: #fff; border: 1px solid var(--garis); border-left: 5px solid #d9a9b0; border-radius: 10px; padding: 8px 10px; margin-bottom: 7px; font-size: 14px; }
.adm-baris.hapus { border-left-color: #d9534f; background: #fff5f4; }
.adm-baris.buka { border-left-color: var(--oranye); background: #fff8ee; }
.adm-baris.kunci { border-left-color: #6b5300; }
.adm-baris.masalah { border-left-color: var(--oranye); }
.ab-a { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ab-w { font-size: 12px; color: #55605a; }
.ab-n { font-weight: 700; flex: 1; min-width: 0; }
.ab-x { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 99px; background: var(--abu); }
.adm-baris.hapus .ab-x { background: #f6c9c7; color: #8b1f1a; }
.adm-baris.buka .ab-x { background: var(--oranye-muda); color: #7a4300; }
.ab-b { margin-top: 3px; }
.ab-c { margin-top: 2px; font-size: 13px; color: #55605a; }
.ab-l { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--biru); }

.cam-res { font-size: 11px; color: rgba(255,255,255,.75); text-align: center; margin-top: 2px; }

/* periksa foto */
.cam-thumb { cursor: pointer; }
.periksa-link { display: block; width: 100%; margin: 8px 0 2px; padding: 10px; font-size: 14px; }
.rev { position: fixed; inset: 0; background: #000; z-index: 60; display: flex; flex-direction: column; color: #fff; }
.rev-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 10px 10px; background: rgba(255,255,255,.08); }
.rev-judul { flex: 1; text-align: center; font-weight: 700; font-size: 15px; }
.rev-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px; align-content: start; }
.rv-tile { position: relative; aspect-ratio: 3 / 4; background: #222 center / cover no-repeat; border: 0; border-radius: 4px; padding: 0; }
.rv-no { position: absolute; left: 4px; top: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 99px; }
.rv-pdf { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #ddd; }
.rev-grid .rv-cat { grid-column: 1 / -1; color: #bbb; text-align: center; }
.rev-lihat { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.rev-wrap { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; -webkit-overflow-scrolling: touch; }
.rev-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rev-wrap.zoom { display: block; }
.rev-wrap.zoom img { max-width: none; max-height: none; width: 250%; }
.rev-aksi { display: flex; gap: 8px; padding: 10px 10px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.08); }
.rev-aksi .cam-btn { flex: 1; padding: 14px 6px; font-size: 16px; }
.rev-aksi .cam-btn:disabled { opacity: .35; }
.rev-aksi .cam-btn.hapus { background: #b3322d; }
#pdlg-tujuan { width: 100%; }

/* lembar status (admin, cetak) */
.lb-ctl { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.lb-ctl select, .lb-ctl input[type=date] { width: 100%; padding: 11px 10px; font-size: 15px; border: 1px solid var(--garis); border-radius: 10px; background: #fff; font-family: inherit; }
.lb-rentang { display: flex; gap: 8px; align-items: center; }
.lb-chk { margin: 2px 0 0; font-size: 13px; font-weight: 500; }
.lb-kop { margin-bottom: 8px; }
.lb-judul { font-weight: 800; font-size: 14px; }
.lb-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: #55605a; margin-top: 3px; }
.lb-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin: 10px 0; }
.lb-sum div { background: #fff; border: 1px solid var(--garis); border-radius: 10px; padding: 7px 10px; }
.lb-sum b { display: block; font-size: 18px; }
.lb-sum span { font-size: 11px; color: #55605a; }
.lb-pet { font-size: 12px; margin-bottom: 10px; line-height: 1.5; }
.lb-tw { overflow-x: auto; border: 1px solid var(--garis); border-radius: 10px; background: #fff; }
.lb-tb { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 12px; }
.lb-tb th { background: var(--hijau); color: #fff; padding: 7px 5px; font-size: 11px; font-weight: 700; text-align: center; }
.lb-tb th.l, .lb-tb td.cat, .lb-tb td.pt { text-align: left; }
.lb-tb td { border-top: 1px solid var(--garis); padding: 5px; text-align: center; }
.lb-tb td.no { color: #77807a; width: 28px; }
.lb-tb td.tp { font-weight: 700; white-space: nowrap; }
.lb-tb td.cat { color: #55605a; }
.lb-tb td.tg { white-space: nowrap; color: #55605a; font-size: 11px; }
.lb-tb tr.kelrow td, .lb-tb tr.kecrow td { background: #f0e9e4; font-weight: 800; text-align: left; font-size: 12px; }
.lb-tb tr.kecrow td { background: #e4d3d3; }
.lb-tb small { font-weight: 500; color: #55605a; }
.lc { display: inline-block; min-width: 46px; padding: 2px 4px; border-radius: 6px; font-weight: 700; }
.lc.s { background: #f3e3a2; color: #5c4500; }
.lc.m { background: #fde1cc; color: #8a3b00; }
.lc.b { color: #b9aeab; font-weight: 400; }
.lc.luar { opacity: .4; }
.lb-kaki { margin-top: 10px; }
.lb-scroll { flex: 1; }

@media print {
  @page { size: A4 landscape; margin: 10mm; }
  html, body { height: auto !important; background: #fff !important; overflow: visible !important; }
  .view { position: static !important; display: block !important; background: #fff !important; }
  .view.hidden, .banner-uji, .toast, .dlg, .no-print, .rev { display: none !important; }
  #v-lembar .scroll, .lb-scroll { overflow: visible !important; padding: 0 !important; }
  .lb-tw { overflow: visible !important; border: 0; }
  .lb-tb { min-width: 0; font-size: 9.5pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .lb-tb th { background: #eee !important; color: #000 !important; border: 1px solid #000; }
  .lb-tb td { border: 1px solid #777; padding: 3px 4px; }
  .lb-tb thead { display: table-header-group; }
  .lb-tb tr { break-inside: avoid; }
  .lb-tb tr.kelrow td { background: #eee !important; }
  .lb-tb tr.kecrow td { background: #ddd !important; }
  .lb-tb tr.kecrow.pecah { break-before: page; }
  .lc.s, .lc.m { background: none !important; color: #000 !important; }
  .lc.luar { opacity: .35; }
  .lb-sum div { border: 1px solid #777; }
  .lb-judul { font-size: 12pt; }
}
.cam-fallback .kecil { font-size: 13px; opacity: .8; margin: 10px 0 0; }

/* mode Kamera HP: seluruh layar dapat diketuk untuk membuka kamera bawaan */
#cam-hp-panel { position: absolute; left: 0; right: 0; top: 64px; bottom: 150px; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #fff; padding: 24px; cursor: pointer; border: 2px dashed rgba(255,255,255,.35); margin: 0 14px; border-radius: 18px; }
#cam-hp-panel.hidden { display: none; }
#cam-hp-judul { font-size: 20px; font-weight: 700; }
#cam-hp-sub { font-size: 14px; opacity: .8; }

/* fokus ketuk, lensa, tanda buram (v1.12) */
.cam-fokus { position: fixed; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 2px solid var(--emas, #c9a227); border-radius: 50%; pointer-events: none; z-index: 6; opacity: 0; }
.cam-fokus.on { animation: fokus 900ms ease-out; }
@keyframes fokus { 0% { opacity: 1; transform: scale(1.4); } 40% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
.cam-thumb.buram { border-color: #e53935; box-shadow: 0 0 0 3px rgba(229,57,53,.5); }
.rv-buram { position: absolute; left: 4px; bottom: 4px; background: #e53935; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.cam-kiri { position: absolute; left: 12px; bottom: 140px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }

/* pengaturan admin */
.atur-ok { color: #1c6b34; margin: .4rem 0; }
.atur-daftar { margin: .4rem 0 1rem; padding-left: 1.1rem; font-size: .92rem; line-height: 1.5; }
.atur-baris { display: flex; gap: .5rem; flex-wrap: wrap; margin: .5rem 0; }
.atur-baris .sekunder, label.sekunder.berkas { flex: 1 1 140px; text-align: center; cursor: pointer; }
label.sekunder.berkas { display: block; padding: .7rem .8rem; border: 1px solid #c9c2c4; border-radius: 10px; background: #fff; font-size: .95rem; }
.atur-pt { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid #eee; }
.atur-pt.mati { opacity: .55; }
.atur-pt .sekunder { flex: 0 0 auto; padding: .4rem .9rem; }
.atur-h3 { margin: 1.2rem 0 .2rem; font-size: 1rem; }
#atur-tempel { width: 100%; box-sizing: border-box; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; }

.atur-format { margin-top: 18px; padding-top: 6px; border-top: 1px solid #e5dfe0; }
.atur-format .check { align-items: flex-start; }
.atur-format .check input { flex: none; margin-top: 2px; }

.gal-tile { display: block; overflow: hidden; color: #fff; text-decoration: none; }
.gal-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
#gal-img { background: #111; min-width: 40px; min-height: 40px; }
.gal-ket { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; background: rgba(0,0,0,.6); font-size: 10px; text-align: center; }

/* ===================================================================== */
/* Tampilan 2.1: kartu, warna status + ikon, progres di kepala, menu ⋯   */
/* ===================================================================== */
:root {
  --marun: #7b1523; --marun-tua: #5a0f19; --latar: #f6f3f0; --garis2: #e3ddd8; --teks2: #5b6560;
  --ok: #1e7a3c; --ok-bg: #e2f3e7; --pr: #9a6200; --pr-bg: #fcefd0; --ms: #b3261e; --ms-bg: #fbe2df; --bl: #6b7280; --bl-bg: #eceef1;
}
html, body, .view { background: var(--latar); }
svg.ik { width: 20px; height: 20px; stroke: currentColor; fill: currentColor; flex: none; }
.big { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; }
.primary { box-shadow: 0 4px 12px rgba(123,21,35,.25); }
.primary:disabled { box-shadow: none; }
input[type=text], input[type=password], select, textarea { border-radius: 12px; border: 1.5px solid var(--garis2); }
input[type=password] { width: 100%; padding: 13px 12px; font-size: 17px; background: #fff; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--marun); }

/* kepala layar */
.bar { background: linear-gradient(160deg, var(--marun) 0%, var(--marun-tua) 100%); padding: 12px 12px 10px; gap: 10px; }
.bar button.icon { border-radius: 12px; width: 40px; height: 40px; background: rgba(255,255,255,.14); }
.bar .pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; font-weight: 800; }
.bar .pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.bar .pill.ada { background: #ffe3a3; color: #5a3b00; }
.bar .pill.ada::before { background: #d08a00; }
.bar-prog { background: linear-gradient(160deg, var(--marun-tua) 0%, #4c0c15 100%); color: #fff; padding: 0 14px 12px; flex: 0 0 auto; }
.bar-prog .t { display: flex; justify-content: space-between; font-size: 12px; opacity: .92; margin-bottom: 5px; }
.bar-prog .rel { height: 7px; background: rgba(255,255,255,.22); border-radius: 99px; overflow: hidden; }
.bar-prog .rel i { display: block; height: 100%; width: 0; background: #fff; border-radius: 99px; transition: width .3s; }
body.uji .bar-prog { padding-top: 0; }

/* layar masuk dan beranda */
.sambut { background: linear-gradient(175deg, var(--marun) 0, var(--marun-tua) 220px, var(--latar) 220.5px); min-height: 100%; }
.lambang { margin: 26px auto 10px; width: 70px; height: 70px; border-radius: 22px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.lambang svg { width: 42px; height: 42px; }
.lambang.kecil { width: 56px; height: 56px; border-radius: 18px; margin-top: 14px; }
.lambang.kecil svg { width: 34px; height: 34px; }
.sambut-judul { text-align: center; color: #fff; margin-bottom: 18px; }
.sambut-judul b { display: block; font-size: 24px; }
.sambut-judul span { font-size: 13px; opacity: .88; }
.kartu-form { background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--garis2); }
.kartu-form label:first-child { margin-top: 0; }
.inp-ikon { position: relative; }
.inp-ikon svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; stroke: #a29a95; fill: none; pointer-events: none; }
.inp-ikon input { padding-left: 40px !important; }
.kecil-tengah { text-align: center; font-size: 12px; color: var(--teks2); margin: 6px 0 0; }
.note.tengah { text-align: center; }
.menu-daftar { margin-top: 14px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--garis2); }
.menu-daftar button { display: flex; width: 100%; align-items: center; gap: 12px; background: #fff; border-radius: 0; padding: 14px; text-align: left; border-top: 1px solid #f0ebe7; font-weight: 700; color: var(--teks); }
.menu-daftar button:first-child { border-top: 0; }
.menu-daftar button.hidden { display: none; }
.menu-daftar button > svg { width: 22px; height: 22px; stroke: var(--marun); fill: none; flex: none; }
.menu-daftar button span { flex: 1; min-width: 0; }
.menu-daftar button small { display: block; font-weight: 500; font-size: 12px; color: var(--teks2); }
.menu-daftar svg.chev { width: 16px; height: 16px; stroke: #b9b1ab; }
.menu-daftar .keluar { color: var(--ms); }
.menu-daftar .keluar > svg { stroke: var(--ms); }

/* daftar kelurahan */
.kel-card { border: 0; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--garis2); }
.kel-card .bar2 { height: 7px; border-radius: 99px; background: var(--bl-bg); }
.kel-card .bar2 i { border-radius: 99px; }
.kel-card.lengkap { background: #f3fbf5; box-shadow: 0 0 0 1.5px #a8d8b6; }
.kel-card.lengkap .bar2 i { background: var(--ok); }
.dash-link { border-radius: 12px; border: 0; background: #fff; box-shadow: 0 0 0 1px var(--garis2); color: var(--marun); font-size: 13.5px; padding: 9px 12px; margin: 8px 14px 0; }
.dash-link span { font-size: 17px; }
.dash-link.admin { margin-top: 6px; }
.dash-link.admin { background: #fff; color: #6b5300; box-shadow: 0 0 0 1px #ecd9a0; }

/* saringan + daftar TPS */
.saring { display: flex; gap: 6px; padding: 10px 14px 6px; overflow-x: auto; flex: 0 0 auto; scrollbar-width: none; }
.saring::-webkit-scrollbar { display: none; }
.saring button { flex: none; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 99px; background: #fff; color: var(--teks2); box-shadow: 0 0 0 1px var(--garis2); }
.saring button.on { background: var(--marun); color: #fff; box-shadow: none; }
.saring button em { font-style: normal; opacity: .7; margin-left: 4px; }
.daftar-tps { padding: 2px 14px 18px; }
.tps-row.kartu-tps { display: flex; align-items: center; gap: 10px; padding: 11px 10px 11px 12px; margin-top: 8px; background: #fff; border: 0; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--garis2); cursor: pointer; }
.kartu-tps .no { width: 66px; flex: none; }
.kartu-tps .no b { display: block; font-size: 15px; white-space: nowrap; }
.kartu-tps .no small { font-size: 11px; color: var(--teks2); font-weight: 700; }
.kartu-tps .no .tag-khusus { display: inline-block; margin: 2px 0 0; font-size: 9.5px; padding: 1px 6px; }
.slot5 { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; min-width: 0; }
.slot5 span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0 4px; border-radius: 9px; font-size: 10.5px; font-weight: 800; position: relative; }
.slot5 svg { width: 14px; height: 14px; fill: none; }
.st-ok { background: var(--ok-bg); color: var(--ok); } .st-ok svg { stroke: var(--ok); }
.st-pr { background: var(--pr-bg); color: var(--pr); } .st-pr svg { stroke: var(--pr); }
.st-ms { background: var(--ms-bg); color: var(--ms); } .st-ms svg { stroke: var(--ms); }
.st-bl { background: var(--bl-bg); color: var(--bl); } .st-bl svg { stroke: #a0a6ad; }
.slot5 .kn::after { content: ""; position: absolute; right: 3px; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: #6b5300; box-shadow: 0 0 0 1.5px #fff; }
.kartu-tps svg.chev { width: 16px; height: 16px; stroke: #b9b1ab; fill: none; flex: none; }
.legenda { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--teks2); margin: 12px 2px 0; }
.legenda i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }

/* layar TPS */
.info-tps { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; font-size: 13px; color: var(--teks2); box-shadow: 0 0 0 1px var(--garis2); }
.info-tps svg { width: 18px; height: 18px; stroke: var(--marun); fill: none; flex: none; }
.info-tps b { color: var(--teks); }
.jenis { border: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--garis2); padding: 12px; gap: 10px; }
.jenis.selesai, .jenis.masalah, .jenis.proses { background: #fff; }
.jenis.selesai { box-shadow: 0 0 0 1.5px #b9e0c4; }
.jenis.masalah { box-shadow: 0 0 0 1.5px #f2bdb8; }
.jenis.proses { box-shadow: 0 0 0 1.5px #f0d48f; }
.jenis.terkunci { opacity: 1; background: #fbfaf8; }
.jenis .kepala-j { display: flex; align-items: flex-start; gap: 10px; }
.jenis .kepala-j .info { flex: 1; min-width: 0; }
.lencana { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; padding: 5px 9px; border-radius: 99px; white-space: nowrap; flex: none; }
.lencana svg { width: 13px; height: 13px; fill: none; }
.jenis .aksi2 { display: flex; gap: 8px; }
.jenis .aksi2 button { padding: 12px; border-radius: 12px; font-weight: 700; font-size: 15px; min-width: 0; }
.jenis .aksi2 .utama { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--marun); color: #fff; }
.jenis .aksi2 .utama:disabled { background: #e9e5e1; color: #8b847e; opacity: 1; }
.jenis .aksi2 .ikon { width: 48px; flex: none; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--marun); box-shadow: 0 0 0 1.5px var(--garis2); padding: 0; }
.jenis .aksi2 .ikon svg { width: 21px; height: 21px; stroke: var(--marun); fill: var(--marun); }
.jenis .aksi2 .ikon svg.garis { fill: none; }
.hapus-semua { border-radius: 12px; }

/* lembar menu ⋯ */
.lembar-wrap { position: fixed; inset: 0; z-index: 70; }
.lembar-redup { position: absolute; inset: 0; background: rgba(20,10,12,.45); }
.lembar { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 600px; background: #fff; border-radius: 20px 20px 0 0; padding: 8px 14px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.2); max-height: 85vh; overflow-y: auto; }
.gagang { width: 40px; height: 5px; border-radius: 99px; background: #d8d2cd; margin: 2px auto 10px; }
.lembar-jd { font-weight: 800; font-size: 16px; }
.lembar-sj { font-size: 12.5px; color: var(--teks2); margin: 1px 0 6px; }
#mj-isi button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px 4px; background: #fff; border-radius: 0; border-top: 1px solid #f0ebe7; text-align: left; font-weight: 700; font-size: 15px; color: var(--teks); }
#mj-isi button svg { width: 21px; height: 21px; stroke: var(--marun); fill: none; flex: none; }
#mj-isi button small { display: block; font-weight: 500; font-size: 12px; color: var(--teks2); }
#mj-isi button.merah { color: var(--ms); }
#mj-isi button.merah svg { stroke: var(--ms); }
.lembar-batal { width: 100%; margin-top: 8px; padding: 13px; border-radius: 12px; background: #f1edea; font-weight: 700; }

/* laptop/tablet: kepala membentang penuh, isi selebar --lebar di tengah, kartu jadi beberapa kolom */
@media (min-width: 760px) {
  .view { --lebar: 1120px; --sisi: max(20px, calc((100% - var(--lebar)) / 2)); }
  #v-dash, #v-admin, #v-atur, #v-queue { --lebar: 880px; }
  .bar, .bar-prog, .saring { padding-left: var(--sisi); padding-right: var(--sisi); }
  .bar { padding-top: 14px; padding-bottom: 12px; }
  .bar-title b { font-size: 19px; }
  .bar-prog { padding-bottom: 14px; }
  .view > .scroll.pad, .view > .scroll.daftar-tps, #v-lembar .scroll { padding-left: var(--sisi); padding-right: var(--sisi); }
  .view > .scroll.pad { padding-top: 18px; }
  .toast { bottom: 60px; }

  /* tautan cepat: satu baris */
  .pintas { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px var(--sisi) 0; }
  .pintas .dash-link { margin: 0; flex: 1 1 200px; }
  .pintas .dash-link.hidden { display: none; }

  /* kelurahan: kartu beberapa kolom */
  #kel-isi { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-content: start; }
  #kel-isi .kel-card { margin: 0; }

  /* daftar TPS: kartu beberapa kolom */
  .saring { padding-top: 14px; }
  #list-isi { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; align-content: start; padding-top: 8px; }
  #list-isi .kartu-tps { margin-top: 0; }
  #list-isi .legenda, #list-isi .kosong { grid-column: 1 / -1; }

  /* layar TPS: jenis pemilihan dua kolom */
  #tps-isi { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(330px, calc((100% - 12px) / 2)), 1fr)); gap: 12px; align-content: start; }
  #tps-isi .jenis { margin: 0; }
  #tps-isi > :not(.jenis) { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }

  /* masuk dan beranda: latar penuh, formulir sempit di tengah */
  .sambut > * { max-width: 440px; margin-left: auto; margin-right: auto; }
  .sambut { background: linear-gradient(180deg, var(--marun) 0, var(--marun-tua) 250px, var(--latar) 250px); padding-top: 30px; }
  .lambang { margin-top: 20px; }
}

/* dashboard: baris kecamatan bisa diklik */
.dash-row.klik { cursor: pointer; transition: box-shadow .15s, transform .05s; }
.dash-row.klik:hover { box-shadow: 0 2px 10px rgba(123,21,35,.12); border-color: #d9a9b0; }
.dash-row.klik:active { transform: scale(.995); }
.dash-row.klik .dr-a span { display: inline-flex; align-items: center; gap: 4px; }
.dash-row.klik svg.chev { width: 16px; height: 16px; stroke: #b9b1ab; fill: none; }

/* reset password petugas */
.atur-pt-aksi { display: flex; gap: 6px; flex: none; }
.atur-pt-aksi .sekunder { padding: .4rem .7rem; font-size: 14px; }
.sandi-baru { background: #fff8e1; border: 1.5px solid #e6c85a; border-radius: 14px; padding: 12px 14px; margin: 8px 0 12px; }
.sandi-baru .sb-isi { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.sandi-baru code { font-size: 22px; font-weight: 800; letter-spacing: .06em; background: #fff; padding: 6px 12px; border-radius: 10px; border: 1px solid #ecd9a0; }
.sandi-baru small { color: #6b5300; }

/* kunci terlihat di kartu, tawaran kunci, pantauan belum dikunci */
.blm-kunci { color: #8a5a00; font-weight: 700; }
.jenis .kunci-baris { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; padding: 11px; border-radius: 12px; background: #fff7d6; color: #6b5300; border: 1.5px solid #e6c85a; font-weight: 800; font-size: 15px; min-width: 0; }
.jenis .kunci-baris svg { stroke: #6b5300; fill: none; }
.tawar { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 90; max-width: 560px; margin: 0 auto; background: #1f1a17; color: #fff; border-radius: 16px; padding: 12px 12px 12px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tawar.hidden { display: none; }
.tawar > svg.ik { stroke: #f3cf5b; fill: none; width: 22px; height: 22px; }
.tawar-teks { flex: 1 1 200px; font-size: 14px; line-height: 1.4; }
.tawar-aksi { display: flex; gap: 8px; margin-left: auto; }
.tawar-aksi button { padding: 10px 14px; border-radius: 10px; font-weight: 700; background: rgba(255,255,255,.14); color: #fff; }
.tawar-aksi button.primary { background: #f3cf5b; color: #3a2f00; box-shadow: none; }
.dash-bk { margin: 10px 0 2px; background: #fff7d6; border: 1.5px solid #e6c85a; border-radius: 14px; padding: 10px 12px; }
.dash-bk summary { display: flex; align-items: center; gap: 10px; cursor: pointer; color: #6b5300; list-style: none; }
.dash-bk summary::-webkit-details-marker { display: none; }
.dash-bk summary svg { stroke: #6b5300; fill: none; width: 22px; height: 22px; flex: none; }
.dash-bk summary small { display: block; font-size: 12px; font-weight: 500; }
.dash-bk .dm { padding: 7px 0 0; border-top: 1px solid #f0dfa6; margin-top: 7px; font-size: 14px; }
.lb-sum div.bk { border-color: #e6c85a; background: #fff7d6; }
@media print { .tawar { display: none !important; } }

/* identitas di pojok kanan atas semua halaman */
.identitas { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 5px; padding: 6px 12px 0; background: var(--marun); color: rgba(255,255,255,.92); font-size: 12px; line-height: 1.3; min-width: 0; }
.identitas.hidden { display: none; }
.identitas svg.ik { width: 13px; height: 13px; stroke: currentColor; fill: none; flex: none; }
.identitas .id-nama { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.identitas .id-titik { opacity: .6; }
.identitas .id-inst { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; opacity: .9; }
.identitas + .bar { padding-top: 6px; }
.identitas + .pad.sambut { padding-top: 6px; }
body.uji .identitas { padding-top: 40px; } /* banner uji di HP bisa 2 baris */
body.uji .identitas + .bar, body.uji .view > .identitas + .bar { padding-top: 6px; }
body.uji .identitas + .pad { padding-top: 6px; }
@media (min-width: 760px) { .identitas { padding-left: var(--sisi); padding-right: var(--sisi); padding-top: 8px; font-size: 13px; } body.uji .identitas { padding-top: 28px; } }

/* hak cipta di bagian bawah semua halaman */
.view:not(.cam) > .scroll::after, .view:not(.cam) > .pad::after { content: "\00A9  Hamba Allah 2026"; display: block; grid-column: 1 / -1; text-align: center; font-size: 12px; color: #9a918b; padding: 22px 0 6px; letter-spacing: .02em; }
@media print { .identitas { display: none !important; } }

/* penampil foto: ganti / hapus satu foto */
.gal-ubah { padding-top: 0; }
.gal-ubah.hidden { display: none; }
.gal-ubah .cam-btn { font-size: 15px; }
#gal .rev-aksi + .gal-ubah { border-top: 1px solid rgba(255,255,255,.08); padding-top: 10px; }
#gal .rev-aksi:has(+ .gal-ubah:not(.hidden)) { padding-bottom: 8px; }

.sekunder-garis { background: #fff; color: var(--marun); box-shadow: 0 0 0 1.5px var(--garis2); margin-top: 14px; font-size: 15px; }

/* ---- navigasi 2.8: bilah menu bawah, jejak lokasi, pilih kecamatan */
:root { --nav-h: 60px; }
.nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; background: #fff; border-top: 1px solid var(--garis2, #e3ddd8); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0,0,0,.04); }
.nav.hidden { display: none; }
.nav button { flex: 1; max-width: 160px; position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; height: var(--nav-h); padding: 8px 2px 6px; background: none; border-radius: 0; color: #6b6460; font-size: 11.5px; font-weight: 600; }
.nav button.hidden { display: none; }
.nav button svg { width: 23px; height: 23px; stroke: currentColor; fill: none; }
.nav button.on { color: var(--hijau); font-weight: 800; }
.nav button.on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--hijau); }
.nav-angka { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--oranye); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.nav-angka.hidden { display: none; }
body.ada-nav .view:not(#v-cam):not(#v-login) { bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
body.ada-nav .toast { bottom: calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); }
body.ada-nav .tawar { bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom)); }

.jejak { display: flex; align-items: center; gap: 3px; min-width: 0; margin-top: 3px; font-size: 12.5px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.jejak::-webkit-scrollbar { display: none; }
.jejak i { font-style: normal; opacity: .6; }
.jejak button { flex: none; background: rgba(255,255,255,.18); color: #fff; border-radius: 99px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.jejak span { opacity: .85; overflow: hidden; text-overflow: ellipsis; }

#pk-isi button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px 4px; background: #fff; border-radius: 0; border-top: 1px solid #f0ebe7; text-align: left; font-weight: 700; font-size: 15px; color: var(--teks); }
#pk-isi button span { flex: 1; }
#pk-isi button small { display: block; font-weight: 500; font-size: 12px; color: var(--teks2); }
#pk-isi button.saya { color: var(--hijau); }
#pk-isi button svg { width: 20px; height: 20px; stroke: var(--hijau); fill: none; }
#v-lain .menu-daftar { margin-top: 4px; }
@media (min-width: 760px) {
  #v-lain { --lebar: 600px; }
  .view > .scroll.pad { padding-bottom: 28px; }
}
@media print { .nav { display: none !important; } body.ada-nav .view:not(#v-cam):not(#v-login) { bottom: 0; } }
/* rincian slot belum dikunci per petugas */
.dash-bk details.dm summary { list-style: none; display: flex; align-items: center; gap: 4px; color: var(--teks); cursor: pointer; }
.dash-bk details.dm summary::-webkit-details-marker { display: none; }
.dash-bk details.dm summary svg.chev { margin-left: auto; width: 16px; height: 16px; stroke: #8a7a3a; fill: none; transition: transform .15s; }
.dash-bk details.dm[open] summary svg.chev { transform: rotate(90deg); }
.bk-slot { display: flex; width: 100%; align-items: center; gap: 8px; margin-top: 6px; padding: 9px 10px; background: #fff; border: 1px solid #f0dfa6; border-radius: 10px; text-align: left; }
.bk-slot span { flex: 1; min-width: 0; }
.bk-slot b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-slot small { display: block; font-size: 12px; color: var(--teks2); }
.bk-slot svg.chev { width: 16px; height: 16px; stroke: #b9b1ab; fill: none; flex: none; }
.dash-bk .note { margin: 6px 0 0; }
