/* Akredia — tampilan. Tanpa pustaka luar agar jalan di jaringan internal RS. */
:root {
  --brand: #0a8f81; --brand-tua: #086f65; --brand-muda: #e3f6f3; --brand-garis: #b9e6df;
  --sisi: #0b2a2c; --sisi-2: #123a3c; --sisi-teks: #bcd3d1;
  --latar: #f3f6f7; --kartu: #fff; --garis: #e3e9ec; --garis-2: #cfd8dd;
  --teks: #17232b; --teks-2: #5b6b76; --teks-3: #8a98a3;
  --hijau: #12a05c; --hijau-bg: #e4f7ec; --kuning: #b97a00; --kuning-bg: #fff3d6;
  --merah: #d1433a; --merah-bg: #fde9e7; --biru: #2b6fd6; --biru-bg: #e6effd; --ungu: #7650c9; --ungu-bg: #efe9fb;
  --r: 14px; --bayang: 0 1px 2px rgba(16,30,36,.05), 0 6px 20px -10px rgba(16,30,36,.14);
  --font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 14.5px/1.55 var(--font); color: var(--teks); background: var(--latar); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 24px; line-height: 1.25; letter-spacing: -.02em; font-weight: 700; }
a { color: var(--brand-tua); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .kode-blok { font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
.ikon { flex: none; vertical-align: -3px; }
.redup { color: var(--teks-2); } .kecil { font-size: 12.5px; } .tengah { text-align: center; } .kanan { text-align: right; } .nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ── kerangka ── */
.app { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sisi { background: linear-gradient(180deg, var(--sisi), #08201f); color: var(--sisi-teks); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 16px 12px 12px; scrollbar-width: thin; scrollbar-color: #24504f transparent; }
.merek { display: flex; align-items: center; gap: 11px; padding: 4px 8px 16px; color: #fff; }
.merek:hover { text-decoration: none; }
.merek b { display: block; font-size: 17px; letter-spacing: .06em; }
.merek small { display: block; color: var(--sisi-teks); font-size: 12px; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.sisi { overflow-x: hidden; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; color: var(--sisi-teks); font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.nav a.aktif { background: var(--brand); color: #fff; }
.lencana { margin-left: auto; background: #ffb020; color: #3a2800; font-style: normal; font-weight: 700; font-size: 11.5px; padding: 0 7px; border-radius: 99px; }
.nav-judul { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6f908e; padding: 18px 10px 6px; }
.nav-bab a { padding: 6px 10px; gap: 8px; font-size: 13px; }
.nav-bab .kd { font-weight: 700; font-size: 11px; letter-spacing: .03em; min-width: 62px; color: #8fb5b2; }
.nav-bab .nm { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-bab .pc { font-size: 11.5px; color: #7fa3a0; font-variant-numeric: tabular-nums; }
.nav-bab a.milik .kd { color: #5fe3cf; }
.nav-bab a.aktif .kd, .nav-bab a.aktif .pc { color: #fff; }
.nav-bab a.redup { opacity: .55; }
.aku { margin-top: auto; display: flex; align-items: center; gap: 6px; padding: 12px 4px 0; border-top: 1px solid rgba(255,255,255,.09); }
.aku-info { flex: 1; display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; padding: 4px; border-radius: 9px; }
.aku-info:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.aku-info b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.aku-info small { color: var(--sisi-teks); font-size: 12px; }
.aku .btn-ikon { color: var(--sisi-teks); } .aku .btn-ikon:hover { background: rgba(255,255,255,.1); color: #fff; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-weight: 700; }
.avatar.kecil { width: 26px; height: 26px; font-size: 12px; margin-right: 6px; }
main.utama { padding: 26px 32px 60px; min-width: 0; max-width: 1320px; width: 100%; }
.atas-hp { display: none; }
.pita { display: flex; gap: 8px; align-items: center; background: var(--kuning-bg); color: #6b4700; border: 1px solid #f3d58a; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }

/* ── komponen ── */
.kartu { background: var(--kartu); border: 1px solid var(--garis); border-radius: var(--r); box-shadow: var(--bayang); }
.kepala { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.seksi { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--teks-2); font-weight: 700; margin: 30px 0 12px; }
.seksi small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--garis-2); background: #fff; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .05s; }
.btn:hover { background: #f4f7f8; text-decoration: none; } .btn:active { transform: translateY(1px); }
.btn.utama { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.utama:hover { background: var(--brand-tua); }
.btn.hijau { background: var(--hijau); border-color: var(--hijau); color: #fff; } .btn.hijau:hover { background: #0e8a4e; }
.btn.bahaya { background: var(--merah); border-color: var(--merah); color: #fff; } .btn.bahaya:hover { background: #b9372f; }
.btn.polos { background: transparent; }
.btn.kecil { padding: 4px 10px; font-size: 12.5px; border-radius: 8px; }
.btn.lebar { width: 100%; padding: 11px; }
.btn-ikon { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--teks-2); }
.btn-ikon:hover { background: #eef2f4; } .btn-ikon.merah:hover { background: var(--merah-bg); color: var(--merah); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: #eef2f4; color: var(--teks-2); white-space: nowrap; }
.chip.st-menunggu { background: var(--kuning-bg); color: var(--kuning); }
.chip.st-disetujui { background: var(--hijau-bg); color: #0b7a44; }
.chip.st-revisi { background: var(--merah-bg); color: var(--merah); }
.chip.saya { background: var(--brand-muda); color: var(--brand-tua); }
.chip.peran-admin { background: var(--ungu-bg); color: var(--ungu); } .chip.peran-ketua { background: var(--biru-bg); color: var(--biru); }
.chip.peran-anggota { background: var(--brand-muda); color: var(--brand-tua); } .chip.peran-surveyor { background: var(--kuning-bg); color: var(--kuning); }
.kode { display: inline-block; font-weight: 700; font-size: 11.5px; letter-spacing: .03em; color: var(--brand-tua); background: var(--brand-muda); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.kode.besar { font-size: 15px; padding: 3px 10px; vertical-align: 3px; }
.jenis { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #fff; background: var(--teks-3); font-style: normal; }
.jenis.jR { background: var(--ungu); } .jenis.jD { background: var(--biru); } .jenis.jO { background: #d9822b; } .jenis.jW { background: var(--brand); } .jenis.jS { background: #c2418a; }
.batang { flex: 1; height: 7px; background: #e8edf0; border-radius: 99px; overflow: hidden; min-width: 60px; }
.batang span { display: block; height: 100%; border-radius: 99px; background: var(--merah); transition: width .4s; }
.batang.sedang span { background: #e3a008; } .batang.baik span { background: var(--hijau); }
.cincin { flex: none; }
.cincin .rel { stroke: #e8edf0; } .cincin .isi { stroke: var(--merah); transition: stroke-dasharray .5s; }
.cincin.sedang .isi { stroke: #e3a008; } .cincin.baik .isi { stroke: var(--hijau); } .cincin.nol .isi { stroke: transparent; }
.cincin text { font-size: 9.5px; font-weight: 700; fill: var(--teks); } .cincin .pct { font-size: 5.5px; fill: var(--teks-3); }
.kosong { text-align: center; padding: 60px 20px; }
.kosong h2 { font-size: 19px; margin-bottom: 6px; }
.kosong-ikon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--hijau-bg); color: var(--hijau); margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: #14252b; color: #fff; padding: 11px 18px; border-radius: 11px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: min(90vw, 520px); font-weight: 500; }
.toast.tampil { opacity: 1; transform: translate(-50%, 0); } .toast.galat { background: var(--merah); }

/* ── formulir & dialog ── */
label { display: grid; gap: 5px; font-weight: 600; font-size: 13px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--garis-2); border-radius: 9px; background: #fff; font-weight: 400; font-size: 14px; }
input[type=file] { font-weight: 400; padding: 8px; border: 1px dashed var(--garis-2); border-radius: 9px; background: #fafcfc; width: 100%; }
textarea { resize: vertical; min-height: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,143,129,.16); }
.formulir { padding: 22px; display: grid; gap: 16px; max-width: 620px; }
.dua { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.centang-baris { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.centang-baris input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); }
.centang-baris small { display: block; }
.dialog { border: 0; border-radius: 16px; padding: 0; width: min(94vw, 480px); box-shadow: 0 30px 80px rgba(8,30,34,.35); color: var(--teks); }
.dialog.lebar { width: min(94vw, 620px); }
.dialog::backdrop { background: rgba(8,30,34,.5); backdrop-filter: blur(2px); }
.dialog form { padding: 22px; display: grid; gap: 14px; }
.dialog h3 { font-size: 18px; }
.dialog-aksi { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.atau { display: flex; align-items: center; gap: 10px; color: var(--teks-3); font-size: 12px; }
.atau::before, .atau::after { content: ""; flex: 1; height: 1px; background: var(--garis); }
.pilih-bab { border: 1px solid var(--garis); border-radius: 11px; padding: 10px 12px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.pilih-bab legend { font-weight: 600; font-size: 13px; padding: 0 6px; }
.centang { display: inline-flex; font-weight: 600; cursor: pointer; }
.centang input { position: absolute; opacity: 0; }
.centang span { padding: 4px 11px; border: 1px solid var(--garis-2); border-radius: 99px; font-size: 12px; color: var(--teks-2); }
.centang input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.centang input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.peringatan { background: var(--merah-bg); color: #9b2c25; padding: 9px 12px; border-radius: 9px; font-weight: 500; }
.kode-blok, pre.kode { display: block; background: #10262a; color: #c9fff3; padding: 12px 14px; border-radius: 10px; overflow-x: auto; }

/* ── beranda ── */
.hitung-mundur { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 10px 16px; box-shadow: var(--bayang); }
.hitung-mundur b { font-size: 30px; line-height: 1; color: var(--brand-tua); letter-spacing: -.03em; }
.hitung-mundur.dekat b { color: var(--merah); }
.hitung-mundur span { font-weight: 600; font-size: 13px; } .hitung-mundur small { display: block; color: var(--teks-2); font-weight: 400; }
.ringkas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ringkas.dua-kolom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hasil { display: flex; align-items: center; gap: 16px; padding: 18px 20px; position: relative; overflow: hidden; }
.hasil::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--garis-2); }
.hasil small { display: block; color: var(--teks-2); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hasil b { display: block; font-size: 22px; letter-spacing: -.02em; line-height: 1.3; } .hasil b i { font-style: normal; font-size: 14px; color: var(--teks-2); font-weight: 500; }
.hasil span { color: var(--teks-2); font-size: 12.5px; }
.h-paripurna::before { background: var(--hijau); } .h-paripurna b { color: #0b7a44; }
.h-utama::before { background: var(--biru); } .h-utama b { color: var(--biru); }
.h-madya::before { background: #e3a008; } .h-madya b { color: var(--kuning); }
.h-tidak::before { background: var(--merah); } .h-tidak b { color: var(--merah); }
.h-belum b { color: var(--teks-2); }
.tugas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tugas-item { display: flex; align-items: center; gap: 9px; padding: 9px 15px 9px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--garis); color: var(--teks); box-shadow: var(--bayang); }
a.tugas-item:hover { text-decoration: none; border-color: var(--brand); }
.tugas-item b { font-size: 16px; } .tugas-item > span:last-child { color: var(--teks-2); font-size: 13px; }
.tugas-ikon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #eef2f4; color: var(--teks-2); }
.tugas-item.kuning .tugas-ikon { background: var(--kuning-bg); color: var(--kuning); } .tugas-item.merah .tugas-ikon { background: var(--merah-bg); color: var(--merah); }
.tugas-item.biru .tugas-ikon { background: var(--biru-bg); color: var(--biru); }
.tugas-item.beres .tugas-ikon { background: var(--hijau-bg); color: var(--hijau); } .tugas-item.beres b { color: var(--teks-3); }
.grid-bab { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.bab-kartu { padding: 16px 18px; color: var(--teks); display: grid; gap: 12px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.bab-kartu:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--brand-garis); box-shadow: 0 2px 4px rgba(16,30,36,.05), 0 14px 30px -14px rgba(10,143,129,.4); }
.bab-kartu.tak-berlaku { opacity: .6; }
.bab-atas { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bab-atas h3 { font-size: 15px; line-height: 1.35; margin-top: 7px; font-weight: 650; }
.bab-baris { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--teks-2); } .bab-baris b { color: var(--teks); font-variant-numeric: tabular-nums; }
.bab-kaki { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--teks-3); min-height: 22px; }
.aktivitas { padding: 6px 18px; }
.aktivitas > p { padding: 14px 0; }
.akt { display: flex; align-items: baseline; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--garis); font-size: 13.5px; }
.akt:last-child { border: 0; } .akt > div { flex: 1; min-width: 0; } .akt time { color: var(--teks-3); font-size: 12px; white-space: nowrap; }
.titik { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teks-3); transform: translateY(-1px); }
.a-unggah { background: var(--biru); } .a-disetujui { background: var(--hijau); } .a-revisi { background: var(--merah); } .a-hapus { background: var(--teks-3); }

/* ── lembar kerja bab ── */
.remah { font-size: 12.5px; color: var(--teks-3); margin-bottom: 4px; }
.kepala-angka { display: flex; gap: 18px; text-align: center; } .kepala-angka small { display: block; color: var(--teks-2); font-size: 11.5px; margin-top: 2px; }
.info-baca { display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 12.5px; color: var(--teks-2); background: #e9eef1; padding: 3px 10px; border-radius: 99px; }
.alat { position: sticky; top: 0; z-index: 5; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; background: rgba(243,246,247,.92); backdrop-filter: blur(8px); padding: 10px 0; margin-bottom: 8px; }
.cari { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; max-width: 380px; background: #fff; border: 1px solid var(--garis-2); border-radius: 10px; padding: 0 11px; color: var(--teks-3); font-weight: 400; }
.cari input { border: 0 !important; box-shadow: none !important; padding: 9px 0 !important; background: transparent !important; }
.cari:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,143,129,.16); }
.saring { display: flex; gap: 6px; flex-wrap: wrap; }
.saring button { border: 1px solid var(--garis-2); background: #fff; border-radius: 99px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; color: var(--teks-2); cursor: pointer; }
.saring button:hover { border-color: var(--brand); } .saring button.aktif { background: var(--teks); border-color: var(--teks); color: #fff; }
.bab-isi { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: start; }
.daftar-std { position: sticky; top: 64px; max-height: calc(100vh - 84px); overflow-y: auto; display: grid; gap: 1px; scrollbar-width: thin; padding-right: 4px; }
.daftar-std a { display: flex; justify-content: space-between; padding: 5px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--teks-2); border-left: 2px solid transparent; }
.daftar-std a:hover { background: #e7edef; text-decoration: none; color: var(--teks); }
.daftar-std a.aktif { color: var(--brand-tua); background: var(--brand-muda); border-left-color: var(--brand); }
.daftar-std small { color: var(--teks-3); font-weight: 400; }
.std { margin-bottom: 26px; }
.std-kepala { display: flex; gap: 12px; align-items: flex-start; padding: 2px 2px 12px; }
.std-kepala p { font-weight: 600; font-size: 15px; line-height: 1.5; }
.std-kepala .kode { margin-top: 2px; font-size: 12.5px; }
.ep { background: #fff; border: 1px solid var(--garis); border-radius: var(--r); padding: 16px 18px; margin-bottom: 10px; box-shadow: var(--bayang); display: grid; gap: 12px; scroll-margin-top: 80px; }
.ep:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,143,129,.18); }
.ep[hidden] { display: none; }
.ep-kepala { display: flex; gap: 12px; align-items: flex-start; }
.ep-huruf { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--teks); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ep-uraian { font-size: 14.5px; line-height: 1.6; padding-top: 2px; }
.bukti { list-style: none; margin: 0; padding: 10px 12px; background: #f6f9fa; border-radius: 10px; display: grid; gap: 7px; font-size: 13px; color: var(--teks-2); }
.bukti li { display: flex; gap: 9px; align-items: flex-start; } .bukti .jenis { margin-top: 1px; }
.dok-daftar { display: grid; gap: 7px; }
.dok { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 10px 8px 12px; border: 1px solid var(--garis); border-radius: 10px; border-left: 3px solid #e3a008; }
.dok.st-disetujui { border-left-color: var(--hijau); } .dok.st-revisi { border-left-color: var(--merah); background: #fffafa; }
.dok-nama { display: flex; gap: 10px; align-items: center; color: var(--teks); min-width: 0; }
.dok-nama > .ikon { color: var(--teks-3); }
.dok-nama b { display: block; font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dok-nama:hover b { color: var(--brand-tua); text-decoration: underline; } .dok-nama:hover { text-decoration: none; }
.dok-nama small { display: flex; gap: 6px; align-items: center; color: var(--teks-3); font-size: 12px; } .dok-nama small .jenis { width: 16px; height: 16px; font-size: 9.5px; border-radius: 4px; }
.dok-nama > span { min-width: 0; }
.dok-aksi { display: flex; gap: 6px; align-items: center; } .dok-aksi form { display: inline-flex; }
.dok-catatan { grid-column: 1 / -1; font-size: 13px; color: #9b2c25; background: var(--merah-bg); padding: 7px 10px; border-radius: 8px; }
.btn-tambah { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 7px 13px; border: 1px dashed var(--brand-garis); background: var(--brand-muda); color: var(--brand-tua); border-radius: 9px; font-weight: 600; font-size: 13px; cursor: pointer; }
.btn-tambah:hover { border-style: solid; border-color: var(--brand); }
.nilai { display: grid; gap: 10px; border-top: 1px solid var(--garis); padding-top: 12px; }
.nilai-kotak { display: grid; gap: 8px; }
.nilai-kotak.survei { background: #fffaf0; border: 1px solid #f5e3b8; border-radius: 10px; padding: 10px 12px; }
.nilai-baris { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nilai-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teks-2); min-width: 104px; }
.seg { display: inline-flex; border: 1px solid var(--garis-2); border-radius: 9px; overflow: hidden; background: #fff; }
.seg label { display: block; cursor: pointer; border-left: 1px solid var(--garis-2); } .seg label:first-child { border-left: 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; min-width: 44px; text-align: center; padding: 5px 11px; font-weight: 700; font-size: 13px; color: var(--teks-2); }
.seg label:hover span { background: #f1f5f6; }
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: -2px; }
.seg .s10 input:checked + span { background: var(--hijau); color: #fff; } .seg .s5 input:checked + span { background: #e3a008; color: #fff; }
.seg .s0 input:checked + span { background: var(--merah); color: #fff; } .seg .stdd input:checked + span { background: var(--teks-2); color: #fff; }
.seg input:disabled + span { cursor: default; opacity: .75; } .seg label:has(input:disabled):hover span { background: transparent; }
.seg label:has(input:disabled:checked):hover span { background: inherit; }
.hapus-skor { border: 0; background: transparent; color: var(--teks-3); cursor: pointer; padding: 4px; border-radius: 6px; display: inline-grid; } .hapus-skor:hover { background: #eef2f4; color: var(--merah); }
.tersimpan { color: var(--hijau); font-size: 12px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.tersimpan[hidden], .hapus-skor[hidden] { display: none; }
.catatan { font-size: 13px !important; padding: 7px 10px !important; background: #fafcfc !important; }
.catatan-baca { font-size: 13px; color: var(--teks-2); }
.skor-baca { display: inline-grid; place-items: center; min-width: 34px; padding: 2px 9px; border-radius: 7px; font-weight: 700; background: #eef2f4; color: var(--teks-2); }
.skor-baca.s10 { background: var(--hijau); color: #fff; } .skor-baca.s5 { background: #e3a008; color: #fff; } .skor-baca.s0 { background: var(--merah); color: #fff; }
.kosong-saring { text-align: center; color: var(--teks-2); padding: 40px 0; }

/* ── antrian periksa ── */
.antrian { display: grid; gap: 12px; }
.antri { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: 16px 18px; align-items: center; }
.antri-ep p { font-size: 13.5px; color: var(--teks-2); margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.antri-dok { display: grid; gap: 10px; }

/* ── tabel ── */
.tabel-bungkus { overflow-x: auto; }
.tabel { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabel th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--teks-2); padding: 12px 14px; border-bottom: 1px solid var(--garis); white-space: nowrap; }
.tabel th.kanan { text-align: right; }
.tabel td { padding: 10px 14px; border-bottom: 1px solid var(--garis); vertical-align: middle; }
.tabel tr:last-child td { border-bottom: 0; } .tabel tbody tr:hover { background: #f8fafb; }
.tabel td a { color: var(--teks); }
.tabel.rek td { vertical-align: top; }
.sel-batang { display: flex; align-items: center; gap: 9px; min-width: 130px; } .sel-batang b { font-variant-numeric: tabular-nums; min-width: 46px; text-align: right; font-weight: 600; }
.sebaris { display: inline-flex; vertical-align: middle; }
.aturan { padding: 14px 18px; margin-top: 14px; } .aturan summary { cursor: pointer; font-weight: 600; } .aturan ul { margin: 10px 0 0; padding-left: 20px; color: var(--teks-2); display: grid; gap: 5px; }

/* ── halaman masuk ── */
.masuk { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; background: #fff; }
.masuk-kiri { background: radial-gradient(1200px 600px at -10% -10%, #14806f 0, transparent 60%), linear-gradient(160deg, #0b2a2c, #06403b); color: #d7ecea; padding: 56px clamp(28px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.masuk-merek { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 20px; letter-spacing: .08em; }
.masuk-kiri h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.03em; }
.masuk-kiri p { max-width: 46ch; font-size: 16px; }
.masuk-poin { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; } .masuk-poin li { display: flex; gap: 10px; align-items: center; } .masuk-poin .ikon { color: #5fe3cf; }
.masuk-kanan { display: grid; place-items: center; padding: 32px; background: var(--latar); }
.masuk-kartu { width: min(100%, 380px); background: #fff; padding: 30px; border-radius: 18px; box-shadow: var(--bayang); border: 1px solid var(--garis); display: grid; gap: 15px; }
.masuk-kartu h2 { font-size: 24px; letter-spacing: -.02em; }

/* ── layar kecil ── */
@media (max-width: 1100px) { .ringkas { grid-template-columns: 1fr; } .antri { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sisi { position: fixed; z-index: 30; width: 280px; left: 0; transform: translateX(-102%); transition: transform .22s; }
  body.sisi-buka .sisi { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.45); }
  .atas-hp { display: flex; align-items: center; gap: 8px; margin: -8px 0 14px -6px; }
  main.utama { padding: 18px 16px 50px; }
  .bab-isi { grid-template-columns: 1fr; } .daftar-std { display: none; }
  .dua, .ringkas.dua-kolom { grid-template-columns: 1fr; }
  .dok { grid-template-columns: minmax(0, 1fr) auto; } .dok-aksi { grid-column: 1 / -1; }
  .masuk { grid-template-columns: 1fr; } .masuk-kiri { padding: 32px 24px; } .masuk-poin { display: none; }
  .kepala-angka { gap: 12px; } .nilai-label { min-width: 0; width: 100%; }
}
@media print {
  .sisi, .tak-cetak, .atas-hp, .pita, .toast { display: none !important; }
  .app { display: block; } main.utama { padding: 0; max-width: none; } body { background: #fff; font-size: 12px; }
  .kartu { box-shadow: none; break-inside: avoid; } details.aturan { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── identitas Akredia (warna mengikuti logo: toska, hijau daun, biru dongker) ── */
:root {
  --brand: #0c8c84; --brand-tua: #0a6f69; --brand-muda: #e2f5f1; --brand-garis: #b5e3d9;
  --daun: #6cc04a; --sisi: #13233b; --sisi-2: #1b3050; --teks: #14253d;
}
.sisi { background: linear-gradient(180deg, #13233b 0%, #0e2f3d 55%, #0b3a3a 100%); }
.nav a.aktif { background: linear-gradient(90deg, #0c8c84, #2f9e63); }
.nav-bab a.milik .kd { color: #9be37a; }
.merek b { font-size: 19px; letter-spacing: -.01em; font-weight: 800; }
.logo-ubin { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.logo-ubin.besar { width: 54px; height: 54px; border-radius: 14px; }
.masuk-kiri { background: radial-gradient(1100px 560px at -10% -10%, #17897a 0, transparent 60%), linear-gradient(160deg, #13233b, #0b4a44); }
.masuk-merek { letter-spacing: -.01em; font-size: 26px; font-weight: 800; }
.masuk-poin .ikon { color: #9be37a; }
.masuk-logo { justify-self: center; height: auto; margin-bottom: 2px; }
.btn.utama { background: linear-gradient(90deg, #0c8c84, #1f9670); border-color: #0c8c84; }
.btn.utama:hover { background: linear-gradient(90deg, #0a6f69, #18805f); }
.avatar { background: linear-gradient(135deg, #0c8c84, #6cc04a); }
.ep-huruf { background: #14253d; }

/* ── halaman masuk (rancangan Akredia) ── */
body.lg { min-height: 100vh; min-height: 100dvh; position: relative; overflow-x: hidden; display: flex; color: #14253d;
  background: radial-gradient(900px 600px at 30% 45%, #fff 0, rgba(255,255,255,0) 70%), linear-gradient(135deg, #eef8f4 0%, #f6fafc 45%, #eef6fb 100%); }
.lg-latar { position: absolute; inset: 0; overflow: hidden; }
.lg-lengkung { position: absolute; }
.lg-lengkung.atas { left: 0; top: 0; width: min(46vw, 760px); height: min(45vh, 420px); }
.lg-lengkung.bawah { right: 0; bottom: 0; width: min(52vw, 860px); height: min(40vh, 380px); }
.lg-titik { position: absolute; width: 132px; height: 132px; background-image: radial-gradient(#22a36b 1.7px, transparent 2px); background-size: 22px 22px; }
.lg-titik.kanan-atas { right: 22px; top: 22px; -webkit-mask-image: linear-gradient(225deg, #000, transparent 85%); mask-image: linear-gradient(225deg, #000, transparent 85%); }
.lg-titik.kiri-bawah { left: 22px; bottom: 40px; -webkit-mask-image: linear-gradient(45deg, #000, transparent 85%); mask-image: linear-gradient(45deg, #000, transparent 85%); }
.lg-panggung { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.08fr); align-items: center; gap: clamp(24px, 4vw, 60px); max-width: 1500px; margin: 0 auto; padding: 40px clamp(20px, 6vw, 110px); }
.lg-merek { display: grid; justify-items: center; gap: 26px; }
.lg-logo { width: min(100%, 480px); height: auto; }
.lg-garis { width: 140px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #12a05c, #6cc04a); position: relative; }
.lg-garis::before, .lg-garis::after { content: ""; position: absolute; top: 1px; width: 110px; height: 1px; background: linear-gradient(90deg, transparent, #cfdde0); }
.lg-garis::before { right: 100%; } .lg-garis::after { left: 100%; transform: scaleX(-1); }
.lg-fitur { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: center; }
.lg-fitur li { display: grid; justify-items: center; gap: 8px; padding: 0 clamp(12px, 1.8vw, 30px); border-left: 1px solid #cfd9de; font-size: 16.5px; line-height: 1.35; text-align: center; color: #14253d; font-weight: 500; }
.lg-fitur li:first-child { border-left: 0; }
.lg-fitur .ikon { color: #12924f; stroke-width: 1.6; }
.lg-sekat { width: 1px; align-self: stretch; margin: 6vh 0; background: linear-gradient(180deg, transparent, #cfdde0 15%, #cfdde0 85%, transparent); }
.lg-kartu { position: relative; width: 100%; max-width: 640px; justify-self: center; background: #fff; border-radius: 34px; padding: clamp(30px, 4.6vw, 64px) clamp(24px, 3.4vw, 48px); box-shadow: 0 40px 80px -30px rgba(14,80,70,.35), 0 4px 14px rgba(14,80,70,.06); display: grid; gap: 20px; }
.lg-kartu::before { content: ""; position: absolute; z-index: -1; top: -18px; right: 0; width: 190px; height: 70px; border-radius: 40px 34px 0 0; background: linear-gradient(90deg, #62c95a, #0d8f4c); -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent); mask-image: linear-gradient(270deg, #000 55%, transparent); }
.lg-kartu h1 { font-size: clamp(25px, 2.5vw, 36px); letter-spacing: -.02em; font-weight: 700; line-height: 1.2; }
.lg-sub { color: #44556a; font-size: clamp(15px, 1.4vw, 20px); margin-top: 8px; }
.lg-isian { display: flex; align-items: center; gap: 14px; padding: 0 18px; height: 60px; border: 1.5px solid #cfd9e2; border-radius: 13px; background: #fff; color: #44556a; font-weight: 400; cursor: text; transition: border-color .15s, box-shadow .15s; }
.lg-isian:focus-within { border-color: #12a05c; box-shadow: 0 0 0 4px rgba(18,160,92,.16); }
.lg-isian input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 0 !important; height: 100%; font-size: 18px !important; background: transparent !important; outline: none; color: #14253d; border-radius: 0 !important; }
.lg-isian input::placeholder { color: #5d6d80; }
.lg-mata { border: 0; background: transparent; color: #44556a; cursor: pointer; padding: 6px; border-radius: 8px; display: inline-grid; }
.lg-mata:hover { background: #eef3f6; color: #14253d; }
.lg-mata [hidden] { display: none; }
.lg-tombol { display: flex; align-items: center; justify-content: center; gap: 12px; height: 62px; margin-top: 10px; border: 0; border-radius: 13px; background: linear-gradient(90deg, #17a34f, #0a7340); color: #fff; font-size: 21px; font-weight: 600; cursor: pointer; box-shadow: 0 12px 22px -10px rgba(10,115,64,.75); transition: filter .15s, transform .05s; }
.lg-tombol:hover { filter: brightness(1.07); } .lg-tombol:active { transform: translateY(1px); }
.lg-lupa { justify-self: end; border: 0; background: transparent; color: #0f8a4f; font-weight: 600; font-size: 17px; cursor: pointer; padding: 4px 2px; border-radius: 6px; margin-top: 6px; }
.lg-lupa:hover { text-decoration: underline; }
.lg .dialog p { color: #44556a; line-height: 1.6; }
@media (max-width: 980px) {
  .lg-panggung { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 26px; padding: 28px 18px 60px; }
  .lg-sekat { display: none; }
  .lg-logo { width: min(70vw, 300px); } .lg-merek { gap: 18px; }
  .lg-fitur li { font-size: 12.5px; padding: 0 9px; gap: 5px; } .lg-fitur .ikon { width: 28px; height: 28px; }
  .lg-kartu { border-radius: 26px; gap: 16px; } .lg-isian { height: 54px; } .lg-tombol { height: 56px; font-size: 19px; }
  .lg-lengkung.atas { width: 70vw; height: 28vh; } .lg-lengkung.bawah { width: 80vw; height: 22vh; opacity: .8; }
  .lg-titik { opacity: .5; }
}
@media (max-height: 700px) and (min-width: 981px) { .lg-logo { width: min(100%, 360px); } .lg-merek { gap: 18px; } .lg-kartu { gap: 15px; padding-top: 34px; padding-bottom: 30px; } .lg-isian { height: 52px; } .lg-tombol { height: 54px; } }
.lg-merek { gap: 0; }
.lg-slogan { font-size: clamp(16px, 1.75vw, 27px); color: #4a5a6c; margin-top: 10px; text-align: center; }
.lg-garis { margin: 30px 0 32px; }
@media (max-width: 980px) { .lg-garis { margin: 16px 0 18px; } .lg-slogan { font-size: 15px; margin-top: 6px; } }
@media (max-height: 700px) and (min-width: 981px) { .lg-garis { margin: 18px 0 20px; } }
/* ornamen sudut dari gambar rancangan */
.lg-lengkung.atas { left: 0; top: 0; width: max(49vw, 420px); height: auto; }
.lg-lengkung.bawah { right: 0; bottom: 0; width: max(54.500vw, 460px); height: auto; }
.lg-titik { width: 150px; height: 150px; background-image: radial-gradient(#1f9f7a 1.800px, transparent 2.200px); background-size: 22px 22px; opacity: .8; }
.lg-titik.kanan-atas { right: 20px; top: 18px; -webkit-mask-image: radial-gradient(circle at 100% 0, #000 20%, transparent 78%); mask-image: radial-gradient(circle at 100% 0, #000 20%, transparent 78%); }
.lg-titik.kiri-bawah { left: 18px; bottom: 36px; -webkit-mask-image: radial-gradient(circle at 0 100%, #000 20%, transparent 78%); mask-image: radial-gradient(circle at 0 100%, #000 20%, transparent 78%); }
body.lg { background: radial-gradient(900px 600px at 32% 48%, #fff 0, rgba(255,255,255,0) 70%), linear-gradient(120deg, #f3f9f9 0%, #f8fbfc 50%, #edf6fb 100%); }
@media (max-width: 980px) { .lg-lengkung.atas { width: 92vw; opacity: 1; } .lg-lengkung.bawah { width: 100vw; opacity: .9; height: auto; } }
/* isian otomatis browser: hilangkan latar biru */
.lg-isian input:-webkit-autofill, .lg-isian input:-webkit-autofill:hover, .lg-isian input:-webkit-autofill:focus, .lg-isian input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #14253d !important; caret-color: #14253d; transition: background-color 99999s ease-in-out 0s;
}
.lg-isian input:autofill { box-shadow: 0 0 0 1000px #fff inset !important; -webkit-text-fill-color: #14253d !important; }
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; -webkit-text-fill-color: var(--teks); transition: background-color 99999s ease-in-out 0s; }

/* ── bilah atas ── */
main.utama { max-width: 1680px; }
.bilah-atas { display: flex; align-items: center; gap: 12px; margin: -8px 0 16px; }
.bilah-atas .pita, .bilah-isi { flex: 1; margin: 0; min-width: 0; }
.bilah-atas .pita { padding: 9px 14px; }
.btn-bulat { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--teks); cursor: pointer; list-style: none; }
.btn-bulat::-webkit-details-marker { display: none; }
.btn-bulat:hover { background: #e6edef; }
.titik-notif { position: absolute; top: 7px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: #22a559; border: 2px solid var(--latar); }
.lepas { position: relative; }
.lepas-isi { position: absolute; right: 0; top: 48px; z-index: 20; width: 300px; background: #fff; border: 1px solid var(--garis); border-radius: 14px; box-shadow: 0 20px 50px -15px rgba(16,30,36,.35); padding: 12px; display: grid; gap: 4px; }
.lepas-isi h4 { margin: 2px 6px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--teks-2); }
.notif { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: var(--teks); font-size: 13.5px; }
a.notif:hover { background: #f1f5f6; text-decoration: none; }
.notif .tugas-ikon { width: 30px; height: 30px; flex: none; }
.notif.kuning .tugas-ikon { background: var(--kuning-bg); color: var(--kuning); } .notif.merah .tugas-ikon { background: var(--merah-bg); color: var(--merah); }
.notif.biru .tugas-ikon { background: var(--biru-bg); color: var(--biru); } .notif.beres .tugas-ikon { background: var(--hijau-bg); color: var(--hijau); } .notif.beres { color: var(--teks-2); }
.chip-rs { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--garis); border-radius: 12px; padding: 6px 14px 6px 7px; color: var(--teks); box-shadow: var(--bayang); min-width: 0; }
a.chip-rs:hover { text-decoration: none; border-color: var(--brand-garis); }
.rs-ikon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #17a34f, #0c8c84); color: #fff; flex: none; }
.chip-rs b { display: block; font-size: 13.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.chip-rs small { display: block; font-size: 11.5px; color: var(--teks-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.bantuan { margin: 0; padding-left: 20px; display: grid; gap: 9px; line-height: 1.55; }

/* ── beranda (papan) ── */
.kepala-beranda { align-items: center; margin-bottom: 14px; }
.periode { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--garis-2); border-radius: 10px; padding: 0 6px 0 12px; height: 40px; font-weight: 600; font-size: 13.5px; }
.periode label { display: inline; font-size: 13.5px; }
.periode select { border: 0 !important; box-shadow: none !important; padding: 6px 4px !important; width: auto !important; font-weight: 700 !important; background: transparent !important; cursor: pointer; }
.ringkas.empat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ringkas.empat .hasil { padding: 16px 18px; gap: 14px; } .ringkas.empat .hasil::before { display: none; }
.ringkas.empat .hasil small { font-size: 10.5px; } .ringkas.empat .hasil b { font-size: 19px; } .ringkas.empat .hasil div > span { display: block; }
.cincin.biru .isi { stroke: #3b82f6; }
.hari-ikon { flex: none; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #efe9fb; color: #6d4bc4; }
.hasil.hari b { font-size: 24px; color: var(--teks); } .hasil.hari.dekat b { color: var(--merah); }
.hasil .tebal { font-weight: 700; color: var(--teks); font-size: 15px; }
.papan { display: grid; gap: 16px; margin-top: 16px; }
.papan.tiga { grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr) minmax(0, 1.2fr); }
.panel { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel h2 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; } .panel h2 small { font-weight: 400; color: var(--teks-2); font-size: 12.5px; }
.kaki-panel { font-size: 12px; color: var(--teks-3); margin-top: auto; }
.pilih-kecil { width: auto !important; padding: 5px 10px !important; font-size: 12.5px !important; font-weight: 600 !important; }
.grafik-garis { width: 100%; height: auto; display: block; }
.grafik-garis .kisi { stroke: #e9eef1; stroke-width: 1; } .grafik-garis .ambang { stroke: #9ed3b3; stroke-width: 1.2; stroke-dasharray: 5 4; }
.grafik-garis .sumbu { font-size: 11px; fill: var(--teks-2); } .grafik-garis .gelembung { font-size: 11.5px; font-weight: 700; fill: #fff; }
.donat-baris { display: flex; align-items: center; gap: 16px; flex: 1; }
.donat { flex: none; } .donat .d-angka { font-size: 7px; font-weight: 800; fill: var(--teks); } .donat .d-sub { font-size: 3.1px; fill: var(--teks-2); }
.legenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; flex: 1; min-width: 0; font-size: 13px; }
.legenda li { display: flex; align-items: center; gap: 8px; } .legenda i { flex: none; width: 11px; height: 11px; border-radius: 3px; }
.legenda span { flex: 1; min-width: 0; } .legenda b { white-space: nowrap; font-variant-numeric: tabular-nums; } .legenda small { color: var(--teks-2); font-weight: 400; }
.distribusi { display: grid; gap: 11px; flex: 1; align-content: start; }
.dist-baris { display: flex; align-items: center; gap: 10px; color: var(--teks); font-size: 13px; }
.dist-baris:hover { text-decoration: none; } .dist-baris:hover .dist-kode { color: var(--brand-tua); }
.dist-baris.lebih { display: none; } .distribusi.semua .dist-baris.lebih { display: flex; }
.dist-kode { width: 66px; flex: none; font-weight: 600; font-size: 12.5px; } .dist-baris b { width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.tumpuk { flex: 1; display: flex; height: 11px; border-radius: 99px; overflow: hidden; background: #e8edf0; } .tumpuk i { display: block; height: 100%; }
.tautan-panel { align-self: flex-end; border: 0; background: transparent; color: #0f8a4f; font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border-radius: 6px; }
.tautan-panel:hover { text-decoration: underline; }
.batang-grafik { display: flex; gap: 8px; flex: 1; min-height: 210px; }
.bg-sumbu { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--teks-2); padding: 11px 0 15px; text-align: right; }
.bg-area { position: relative; flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(3px, .7vw, 12px); align-items: stretch; }
.bg-area::before { content: ""; position: absolute; left: 0; right: 0; top: 18px; bottom: 22px; background: repeating-linear-gradient(to bottom, #edf1f3 0, #edf1f3 1px, transparent 1px, transparent 20%); border-bottom: 1px solid #dfe6ea; pointer-events: none; }
.bg-ambang { position: absolute; left: 0; right: 0; top: calc(18px + (100% - 40px) * .2); border-top: 1.5px dashed #9ed3b3; pointer-events: none; }
.bg-kolom { position: relative; display: grid; grid-template-rows: 18px 1fr 22px; color: var(--teks); min-width: 0; text-align: center; }
.bg-kolom:hover { text-decoration: none; } .bg-kolom:hover .bg-batang i { filter: brightness(.9); }
.bg-nilai { font-size: 10.5px; font-weight: 700; line-height: 18px; white-space: nowrap; }
.bg-batang { display: flex; align-items: flex-end; justify-content: center; }
.bg-batang i { display: block; width: min(100%, 34px); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #5fd07f, #2fae5e); transition: height .35s; }
.bg-label { font-size: 9.5px; font-weight: 600; color: var(--teks-2); line-height: 22px; white-space: nowrap; overflow: hidden; }
.linimasa { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; }
.linimasa li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.linimasa li:last-child { padding-bottom: 0; }
.linimasa li::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: #dfe6ea; }
.linimasa li:last-child::before { display: none; }
.lm-titik { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c5cc; background: #fff; display: grid; place-items: center; color: #fff; margin-top: 1px; }
.lm-selesai .lm-titik { background: #22a559; border-color: #22a559; } .linimasa li.lm-selesai::before { background: #22a559; }
.lm-jalan .lm-titik { border-color: #22a559; } .lm-jalan .lm-titik::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22a559; }
.linimasa b { display: block; font-size: 14px; } .linimasa small { color: var(--teks-2); font-size: 12px; }
.seksi.besar { font-size: 17px; text-transform: none; letter-spacing: -.01em; color: var(--teks); margin: 26px 0 12px; }
.grid-bab.empat { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bab-kartu.padat { padding: 14px 16px; gap: 10px; }
.bab-kartu.padat h3 { font-size: 14.5px; margin-top: 6px; } .bab-kartu.padat .batang { flex: none; }
.bab-kartu.padat .bab-kaki { color: var(--teks-2); } .bab-kartu.padat .bab-kaki b { color: var(--teks); }
@media (max-width: 1400px) { .papan.tiga { grid-template-columns: repeat(2, minmax(0, 1fr)); } .papan .lebar2 { grid-column: 1 / -1; } .grid-bab.empat { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ringkas.empat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .grid-bab.empat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .papan.tiga, .ringkas.empat, .grid-bab.empat { grid-template-columns: minmax(0, 1fr); }
  .bilah-atas { flex-wrap: wrap; margin-top: 0; } .bilah-atas .pita { flex-basis: 100%; order: 3; } .bilah-isi { flex: 1; }
  .chip-rs small { display: none; } .chip-rs b { max-width: 150px; } .lepas-isi { right: -60px; }
  .donat-baris { flex-wrap: wrap; justify-content: center; } .bg-label { font-size: 8px; } .bg-nilai { font-size: 8.5px; }
}
@media print { .bilah-atas, .periode { display: none !important; } }
.distribusi.semua { max-height: 196px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.cincin.nol .isi, .cincin.nol.biru .isi { stroke: transparent; }

/* ── penampil dokumen ── */
.penampil { border: 0; padding: 0; width: min(1240px, 96vw); height: 92vh; max-height: 92vh; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 90px rgba(8,30,34,.45); color: var(--teks); }
.penampil[open] { display: flex; flex-direction: column; }
.penampil::backdrop { background: rgba(8,30,34,.62); backdrop-filter: blur(2px); }
.penampil > header { display: flex; align-items: center; gap: 8px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--garis); background: #fff; }
.penampil-judul { flex: 1; min-width: 0; }
.penampil-judul b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.penampil-judul small { color: var(--teks-2); font-size: 12px; }
.penampil-isi { flex: 1; min-height: 0; background: #e9eef1; display: grid; place-items: center; overflow: auto; }
.penampil-isi iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.penampil-isi img, .penampil-isi video { max-width: 100%; max-height: 100%; object-fit: contain; }
.penampil-pesan { max-width: 440px; text-align: center; background: #fff; padding: 28px; border-radius: 16px; display: grid; gap: 16px; justify-items: center; box-shadow: var(--bayang); margin: 20px; }
.penampil-pesan p { color: var(--teks-2); line-height: 1.6; }
.btn.lihat { background: var(--brand-muda); border-color: var(--brand-garis); color: var(--brand-tua); }
.btn.lihat:hover { background: #d3efe9; border-color: var(--brand); }

/* ── halaman bab: satu EP per layar ── */
.pilih-std-hp { display: none; margin-bottom: 12px; }
.ep-tab { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.tab-ep { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--garis-2); background: #fff; border-radius: 11px; cursor: pointer; font-size: 13.5px; color: var(--teks-2); transition: border-color .15s, background .15s; }
.tab-ep:hover { border-color: var(--brand); }
.tab-ep.aktif { background: var(--teks); border-color: var(--teks); color: #fff; box-shadow: 0 6px 14px -8px rgba(20,37,61,.7); }
.tab-ep[hidden] { display: none; }
.tab-ep b { font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #c3cdd4; flex: none; }
.dot.d-setuju { background: #22a559; } .dot.d-menunggu { background: #f5b301; } .dot.d-revisi { background: #ef6a5e; }
.tab-skor { min-width: 24px; text-align: center; padding: 0 6px; border-radius: 6px; background: #eef2f4; color: var(--teks-2); font-size: 11.5px; font-weight: 700; line-height: 19px; }
.tab-skor[data-kosong="1"] { opacity: .55; }
.tab-ep.aktif .tab-skor { background: rgba(255,255,255,.2); color: #fff; }
.ep-navigasi { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ep-navigasi[hidden] { display: none; }
.ep-navigasi span { color: var(--teks-2); font-size: 13px; text-align: center; flex: 1; }
.ep-navigasi #epSebelum .ikon { transform: rotate(180deg); }
.ep-navigasi .btn:disabled { opacity: .4; cursor: default; }
.bab-isi.fokus .std { display: none; margin-bottom: 0; } .bab-isi.fokus .std.aktif { display: block; }
.bab-isi.fokus .ep { display: none; margin-bottom: 0; } .bab-isi.fokus .ep.aktif { display: grid; }
.bab-isi.fokus .ep:target { border-color: var(--garis); box-shadow: var(--bayang); }
.daftar-std a[hidden] { display: none; }
.daftar-std a.lengkap small { color: #12a05c; font-weight: 700; }
.bab-isi.fokus .daftar-std { top: 70px; max-height: calc(100vh - 90px); }
.kepala-bab { margin-bottom: 10px; }
@media (max-width: 860px) { .pilih-std-hp { display: grid; } .ep-navigasi span { font-size: 12px; } }
.bab-kartu.padat { grid-template-columns: minmax(0, 1fr); }
.bab-kartu.padat .bab-kaki { flex-wrap: wrap; }
.ep-navigasi span { white-space: nowrap; }
@media (max-width: 860px) { .ep-navigasi span { white-space: normal; } }

/* ── panel dokumen: bagian tetap halaman bab ── */
.panel-dok { display: none; position: sticky; top: 66px; height: calc(100vh - 84px); flex-direction: column; background: #fff; border: 1px solid var(--garis); border-radius: var(--r); box-shadow: var(--bayang); overflow: hidden; min-width: 0; }
.panel-dok > header { display: flex; align-items: center; gap: 2px; padding: 8px 8px 8px 14px; border-bottom: 1px solid var(--garis); min-height: 54px; }
.pd-ikon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-muda); color: var(--brand-tua); margin-right: 8px; flex: none; }
.panel-dok .penampil-judul b { font-size: 14px; }
.panel-dok [hidden] { display: none; }
.pd-daftar { display: flex; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--garis); overflow-x: auto; scrollbar-width: thin; }
.pd-chip { flex: none; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--garis-2); background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--teks-2); cursor: pointer; }
.pd-chip:hover { border-color: var(--brand); } .pd-chip.aktif { background: var(--brand); border-color: var(--brand); color: #fff; }
.dok.dilihat { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(12,140,132,.14); }
.btn.lihat.sedang { background: var(--brand); border-color: var(--brand); color: #fff; }
/* layar sedang: EP | dokumen (standar lewat pilihan di atas) */
@media (min-width: 1100px) {
  .bab-isi.fokus { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; }
  .bab-isi.fokus .panel-dok { display: flex; }
  .bab-isi.fokus .daftar-std { display: none; }
  .bab-isi.fokus .pilih-std-hp { display: grid; }
  .bab-isi.fokus .dok { grid-template-columns: minmax(0, 1fr) auto; }
  .bab-isi.fokus .dok-aksi { grid-column: 1 / -1; justify-content: flex-end; }
  .bab-isi.fokus .dua { grid-template-columns: minmax(0, 1fr); }
  .bab-isi.fokus .ep-navigasi span { white-space: normal; font-size: 12px; }
}
/* layar lebar: standar | EP | dokumen */
@media (min-width: 1500px) {
  .bab-isi.fokus { grid-template-columns: 128px minmax(0, 1fr) minmax(0, 1.1fr); }
  .bab-isi.fokus .daftar-std { display: grid; }
  .bab-isi.fokus .pilih-std-hp { display: none; }
}
.chip.peran-akreditasi { background: #e4f7ec; color: #0b7a44; }
.nilai-oleh { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--teks-3); }
.kunci-dok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--teks-3); padding: 0 6px; white-space: nowrap; }
.panduan-unduh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; background: #f6f9fa; border-radius: 11px; }
.panduan-unduh b { flex-basis: 100%; font-size: 13px; }
.lg-merek { min-width: 0; } .lg-logo { max-width: 100%; }

/* ── catatan revisi pada dokumen ── */
.pd-catatan { border-bottom: 1px solid var(--garis); background: #fffdf5; padding: 8px 12px; display: grid; gap: 8px; max-height: 38%; overflow-y: auto; scrollbar-width: thin; flex: none; }
.pd-catatan[hidden] { display: none; }
.pc-kepala { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.pc-kepala small { color: var(--teks-2); font-size: 12px; margin-left: auto; text-align: right; }
.pc-kepala small.merah { color: var(--merah); font-weight: 600; }
.pc-kepala .chip { background: #f5b301; color: #3a2800; }
.pc-form { display: grid; gap: 6px; background: #fff; border: 1px solid #f0dca0; border-radius: 10px; padding: 8px; }
.pc-form[hidden] { display: none; }
.pc-form blockquote { margin: 0; padding: 2px 0 2px 9px; border-left: 3px solid #f5b301; font-size: 12.5px; color: var(--teks-2); font-style: italic; max-height: 40px; overflow: hidden; }
.pc-form textarea { font-size: 13px !important; padding: 7px 9px !important; }
.pc-aksi { display: flex; justify-content: flex-end; gap: 6px; }
.pc-daftar { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pc-daftar li { display: flex; gap: 9px; align-items: flex-start; background: #fff; border: 1px solid var(--garis); border-radius: 10px; padding: 7px 9px; cursor: pointer; transition: box-shadow .2s, border-color .2s; }
.pc-daftar li:hover { border-color: #f5b301; }
.pc-daftar li.kilat { border-color: #f5b301; box-shadow: 0 0 0 3px rgba(245,179,1,.3); }
.pc-no { flex: none; min-width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px; background: #f5b301; color: #3a2800; font-size: 11.5px; font-weight: 700; }
.pc-badan { flex: 1; min-width: 0; font-size: 13px; }
.pc-badan q { display: block; color: var(--teks-2); font-style: italic; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-badan p { margin: 1px 0; overflow-wrap: anywhere; }
.pc-badan small { color: var(--teks-3); font-size: 11.5px; }
.pc-hapus { flex: none; border: 0; background: transparent; color: var(--teks-3); font-size: 18px; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 6px; }
.pc-hapus:hover { background: var(--merah-bg); color: var(--merah); }
.chip.jml-catatan { background: #fff3d6; color: #8a5a00; }
.chip.jml-catatan[hidden] { display: none; }

/* ── penampil PDF & penandaan kotak ── */
.penampil-isi > .pdfv, .penampil-isi > .gambar-v { width: 100%; height: 100%; align-self: stretch; justify-self: stretch; }
.pdfv { display: flex; flex-direction: column; min-height: 0; }
.pdfv-bilah { display: flex; align-items: center; gap: 4px; padding: 4px 8px 4px 14px; background: #2b3440; color: #dbe3ea; font-size: 12.5px; flex: none; }
.pdfv-info { flex: 1; } .pdfv-persen { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.pdfv-bilah .btn-ikon { color: #dbe3ea; width: 28px; height: 28px; font-size: 18px; line-height: 1; } .pdfv-bilah .btn-ikon:hover { background: rgba(255,255,255,.14); }
.pdfv-gulir { flex: 1; min-height: 0; overflow: auto; background: #525a63; padding: 12px; }
.pdfv-lembar { width: 100%; margin: 0 auto; display: grid; gap: 12px; }
.gambar-v { overflow: auto; display: grid; place-items: center; padding: 12px; }
.gambar-v .hal-dok { display: inline-block; max-width: 100%; } .gambar-v img { display: block; max-width: 100%; height: auto; }
.hal-dok { position: relative; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.hal-dok canvas { display: block; width: 100%; height: 100%; }
.hal-dok:not(.jadi)::after { content: "Memuat halaman…"; position: absolute; inset: 0; display: grid; place-items: center; color: #8a98a3; font-size: 13px; }
.hal-no { position: absolute; right: 6px; bottom: 6px; background: rgba(20,37,61,.72); color: #fff; font-size: 10.5px; padding: 1px 7px; border-radius: 9px; pointer-events: none; }
.lapis { position: absolute; inset: 0; }
.panel-dok.menandai .lapis { cursor: crosshair; touch-action: none; }
.panel-dok.menandai .hal-dok { outline: 2px dashed #f5b301; outline-offset: 2px; }
.kotak-an { position: absolute; border: 2px solid #f5b301; background: rgba(245,179,1,.16); border-radius: 3px; cursor: pointer; box-sizing: border-box; }
.kotak-an.sementara { border-style: dashed; background: rgba(245,179,1,.28); pointer-events: none; }
.kotak-an.kilat { box-shadow: 0 0 0 4px rgba(245,179,1,.5); }
.kotak-an span { position: absolute; left: -2px; top: -20px; min-width: 20px; height: 20px; line-height: 20px; text-align: center; border-radius: 10px 10px 10px 0; background: #f5b301; color: #3a2800; font-size: 11.5px; font-weight: 700; padding: 0 5px; }
.pc-tandai { background: #fff; border-color: #f0c64a; color: #8a5a00; }
.pc-tandai:hover { background: #fff3d6; } .pc-tandai.aktif { background: #f5b301; border-color: #f5b301; color: #3a2800; }
.pc-tandai[hidden] { display: none; }

/* ── panel dokumen selayar penuh ── */
body.panel-penuh { overflow: hidden; }
.bab-isi.fokus .panel-dok.penuh { position: fixed; inset: 14px; top: 14px; height: auto; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto minmax(0, 1fr); box-shadow: 0 0 0 100vmax rgba(8,30,34,.62), 0 30px 80px rgba(8,30,34,.5); }
.panel-dok.penuh > header { grid-column: 1 / -1; grid-row: 1; }
.panel-dok.penuh > .pd-daftar { grid-column: 1 / -1; grid-row: 2; }
.panel-dok.penuh > .penampil-isi { grid-column: 1; grid-row: 3; min-height: 0; }
.panel-dok.penuh > .pd-catatan { grid-column: 2; grid-row: 3; width: min(360px, 32vw); max-height: none; border-bottom: 0; border-left: 1px solid var(--garis); align-content: start; }
.panel-dok.penuh .pc-kepala { flex-wrap: wrap; } .panel-dok.penuh .pc-kepala small { margin-left: 0; text-align: left; flex-basis: 100%; }
.panel-dok.penuh .pdfv-lembar { max-width: 1100px; }
.panel-dok [data-p=perbesar].aktif { background: var(--brand-muda); color: var(--brand-tua); }

/* ── revisi tersambung dengan catatan dokumen ── */
.rev-catatan { background: #fffdf5; border: 1px solid #f0dca0; border-radius: 11px; padding: 10px 12px; display: grid; gap: 6px; max-height: 210px; overflow-y: auto; }
.rev-catatan[hidden] { display: none; }
.rev-catatan b { font-size: 13px; } .rev-catatan small { color: var(--teks-2); font-size: 12px; }
.rev-catatan ol, .dok-rincian { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 13px; }
.rev-catatan q, .dok-rincian q { color: var(--teks-2); font-style: italic; margin-right: 4px; }
.rev-catatan li span { overflow-wrap: anywhere; }
div.dok-catatan { display: grid; gap: 6px; } div.dok-catatan p { margin: 0; } div.dok-catatan small { color: #9b2c25; opacity: .85; font-size: 12px; }
.dok-rincian q { color: #9b2c25; opacity: .8; }

/* ── versi & riwayat revisi dokumen ── */
.dok-status { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.chip.versi { border: 1px solid #c9d6f5; background: #eaf0fd; color: #2b5fc0; cursor: pointer; font: inherit; font-size: 11.5px; font-weight: 600; }
.chip.versi:hover { border-color: #2b5fc0; }
.info-perbaikan { background: #eaf0fd; color: #24468c; border-radius: 9px; padding: 8px 11px; font-size: 13px; }
.info-perbaikan[hidden] { display: none; }
.riwayat { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 56vh; overflow-y: auto; }
.riwayat > li { position: relative; display: flex; gap: 12px; padding: 0 0 16px 0; }
.riwayat > li::before { content: ""; position: absolute; left: 33px; top: 26px; bottom: 0; width: 2px; background: #dfe6ea; }
.riwayat > li:last-child::before { display: none; } .riwayat > li:last-child { padding-bottom: 0; }
.rw-versi { flex: none; width: 68px; height: 24px; line-height: 24px; text-align: center; border-radius: 12px; background: #eef2f4; color: var(--teks-2); font-size: 11.5px; font-weight: 700; position: relative; }
.rw-kini .rw-versi { background: var(--brand); color: #fff; }
.riwayat > li > div { flex: 1; min-width: 0; display: grid; gap: 5px; font-size: 13.5px; }
.riwayat small { color: var(--teks-2); font-size: 12px; display: block; }
.rw-minta { margin: 0; background: var(--merah-bg); color: #9b2c25; padding: 6px 9px; border-radius: 8px; font-size: 13px; }
.riwayat .btn { justify-self: start; }
