/*
|==========================================================================
| Albana · Sidang PKL — Soft Blue edisi SMK
|==========================================================================
| Lapisan tambahan di atas albana-ui.css. Nuansa kesehatan (EKG) diganti
| nuansa vokasi: jalur sirkuit seperti logo Albana, emblem toga + roda gigi,
| aksen kuning "safety" khas bengkel/lab praktik, dan strip garis kerja.
*/

:root {
    --amber: #f5a524;
    --amber-600: #d98b0b;
    --amber-soft: #fff6e3;
    --navy: #0b2a5b;
}

.ab .fs-11 { font-size: 11px !important; }
.ab .lh-sm { line-height: 1.35; }
.w-100p { width: 100%; }

/* ------------------------------------------------------------------ */
/* Pita: pola sirkuit + heksagon                                       */
/* ------------------------------------------------------------------ */
.ab-band {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpath d='M0 30 H40 L55 45 H100'/%3E%3Cpath d='M160 90 H120 L105 75 H70'/%3E%3Cpath d='M30 120 V95 L45 80'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.10'%3E%3Ccircle cx='100' cy='45' r='3'/%3E%3Ccircle cx='70' cy='75' r='3'/%3E%3Ccircle cx='45' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 2 L54 17 L54 47 L28 62 L2 47 L2 17 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.2'/%3E%3C/svg%3E"),
        linear-gradient(120deg, #0f56c0 0%, #1d7af3 48%, #3697e1 100%);
    background-size: 160px 120px, 56px 64px, auto;
}

/* Brand: logo sekolah + nama aplikasi */
.ab-brand .logo-sk {
    width: 38px; height: 38px; border-radius: 11px; background: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(4, 30, 90, .2); overflow: hidden; flex: 0 0 38px;
}
.ab-brand .logo-sk img { height: 30px; width: 30px; object-fit: contain; }
.ab-brand .logo-sk i { color: var(--p); font-size: 17px; }
.ab-brand .app small { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }

/* Pilihan periode di topbar */
.periode-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px;
    background: rgba(9, 40, 100, .2); border: 1px solid rgba(255, 255, 255, .2); color: #fff !important; font-size: 12.5px; font-weight: 700;
}
.periode-pill i { color: #ffd27a; }
.periode-pill:hover { background: rgba(9, 40, 100, .32); }
@media (max-width: 1199.98px) { .periode-pill .t { display: none; } .periode-pill { padding: 0 12px; } }

/* ------------------------------------------------------------------ */
/* Tepi bawah pita: jalur sirkuit + emblem vokasi + ombak              */
/* ------------------------------------------------------------------ */
.edge-circuit { top: 0; left: 50% !important; width: 2880px !important; height: 56px; margin-left: -1440px; overflow: visible; }
.edge-circuit .trace { fill: none; stroke: rgba(255, 255, 255, .38); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.edge-circuit .trace-soft { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.4; stroke-linejoin: round; }
.edge-circuit .node { fill: #1d7af3; stroke: rgba(255, 255, 255, .6); stroke-width: 1.8; }
.edge-circuit .node-soft { fill: rgba(255, 255, 255, .25); }
.edge-circuit .signal {
    fill: none; stroke: #ffd27a; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round;
    stroke-dasharray: 60 1940; stroke-dashoffset: 2000;
    filter: drop-shadow(0 0 4px rgba(255, 210, 122, .95)) drop-shadow(0 0 10px rgba(245, 165, 36, .55));
    animation: sinyalJalan 11s linear infinite;
}
.edge-circuit .signal.s2 { stroke: #c9f3ff; filter: drop-shadow(0 0 4px rgba(159, 227, 255, .95)); animation-duration: 15s; animation-delay: -6s; }
@keyframes sinyalJalan { to { stroke-dashoffset: 0; } }

.edge-emblem.vokasi .hx { color: var(--p); background: linear-gradient(150deg, #ffffff 0%, #dcecff 100%); font-size: 18px; }
.edge-emblem.vokasi .hx i { animation: none; }
.edge-emblem.vokasi .gear {
    position: absolute; right: -9px; bottom: -3px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--amber); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}
.edge-emblem.vokasi .gear i { animation: putar 6s linear infinite; }
@keyframes putar { to { transform: rotate(360deg); } }
.edge-emblem.vokasi .ring { border-color: rgba(255, 210, 122, .8); }

@media (prefers-reduced-motion: reduce) {
    .edge-circuit .signal { animation: none; opacity: 0; }
    .edge-emblem.vokasi .gear i { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Komponen tambahan                                                   */
/* ------------------------------------------------------------------ */
.chip-amber { background: var(--amber-soft); color: var(--amber-600); }
.bg-s-amber { background: var(--amber-soft) !important; color: var(--amber-600) !important; }
.ab .btn-amber { background: var(--amber); border-color: var(--amber); color: #3a2500; }
.ab .btn-amber:hover { background: var(--amber-600); border-color: var(--amber-600); color: #fff; }

/* Strip garis kerja (khas area praktik) */
.hazard { height: 6px; border-radius: 6px; background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #2b2f3a 10px 20px); opacity: .9; }

/* Kartu jadwal */
.slot { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.slot:last-child { border-bottom: 0; }
.slot:hover { background: #f9fbff; }
.slot .jam { text-align: center; border-radius: 12px; background: var(--p-soft-2); border: 1px solid var(--p-line); padding: 8px 4px; }
.slot .jam b { display: block; font-size: 16px; font-weight: 900; color: var(--p); line-height: 1.1; }
.slot .jam span { font-size: 11px; color: var(--muted); font-weight: 700; }
.slot .nm { font-weight: 800; color: var(--ink) !important; font-size: 14.5px; line-height: 1.35; }
.slot .nm:hover { color: var(--p) !important; }
.slot .act { display: flex; gap: 6px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.slot.live { background: linear-gradient(90deg, #fffaf0, #fff 40%); }
.slot.live .jam { background: var(--amber-soft); border-color: #f6d79b; }
.slot.live .jam b { color: var(--amber-600); }
@media (max-width: 767.98px) {
    .slot { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
    .slot .act { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px dashed var(--line); padding-top: 10px; }
    .slot .jam b { font-size: 14px; }
}
.day-head { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: #f7f9fd; border-bottom: 1px solid var(--line-2); font-weight: 800; color: var(--ink); font-size: 13.5px; }
.day-head .chip { margin-left: auto; }
.day-head .tg { width: 38px; height: 38px; border-radius: 11px; background: var(--p); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.day-head .tg b { font-size: 15px; font-weight: 900; }
.day-head .tg small { font-size: 9px; text-transform: uppercase; font-weight: 800; opacity: .85; }
.day-head.today .tg { background: var(--amber); color: #3a2500; }

.penguji-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); background: #f4f6fa; border-radius: 8px; padding: 2px 8px 2px 3px; }
.pg .no { width: 18px; height: 18px; border-radius: 6px; background: #fff; color: var(--p); font-size: 10px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; }
.pg.ok { background: var(--ok-soft); color: var(--ok); }
.pg.ok .no { color: var(--ok); }
.pg.draf { background: var(--warn-soft); color: var(--warn); }

/* Kartu peserta (header halaman sidang) */
.peserta-card { display: flex; gap: 16px; align-items: center; }
.peserta-card .av.lg { background: linear-gradient(150deg, var(--p), var(--p-400)); color: #fff; box-shadow: 0 10px 20px rgba(29, 122, 243, .25); }

/* Formulir nilai */
.nilai-row { display: grid; grid-template-columns: minmax(0, 1fr) 210px 86px; gap: 16px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.nilai-row:last-child { border-bottom: 0; }
.nilai-row .kn { font-weight: 800; color: var(--ink); font-size: 13.5px; line-height: 1.35; }
.nilai-row .kd { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nilai-row .bb { font-size: 11px; font-weight: 800; color: var(--p); background: var(--p-soft); border-radius: 6px; padding: 1px 7px; margin-left: 4px; white-space: nowrap; }
.nilai-row input[type=number] { text-align: center; font-weight: 900; font-size: 17px; color: var(--ink); height: 44px; padding: 6px; }
.nilai-row input[type=number].isi { border-color: var(--p-400); background: var(--p-soft-2); }
.nilai-group { padding: 9px 20px; background: #f7f9fd; border-bottom: 1px solid var(--line-2); font-size: 11px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.nilai-row input[type=range] { width: 100%; accent-color: var(--p); cursor: pointer; }
.nilai-row .cepat { display: flex; justify-content: space-between; margin-top: 2px; }
.nilai-row .cepat button { border: 0; background: none; font-size: 10.5px; color: var(--muted); font-weight: 700; padding: 0 2px; cursor: pointer; border-radius: 4px; }
.nilai-row .cepat button:hover { color: var(--p); background: var(--p-soft); }
@media (max-width: 767.98px) {
    .nilai-row { grid-template-columns: minmax(0, 1fr) 80px; gap: 10px 12px; padding: 14px 16px; }
    .nilai-row .slider { grid-column: 1 / -1; order: 3; }
}
.nilai-row.dis { opacity: .45; pointer-events: none; }

/* Panel skor (melekat di sisi) */
.skor { text-align: center; padding: 22px 18px 18px; }
.skor .ring { width: 132px; height: 132px; margin: 0 auto 10px; position: relative; }
.skor .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.skor .ring .bg { fill: none; stroke: var(--line-2); stroke-width: 10; }
.skor .ring .fg { fill: none; stroke: var(--p); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .4s ease, stroke .3s; }
.skor .ring .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.skor .ring .val b { font-size: 32px; font-weight: 900; color: var(--ink); line-height: 1; }
.skor .ring .val small { font-size: 11px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.skor .pred { font-size: 13px; font-weight: 800; }
.progress-x { height: 6px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.progress-x > span { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--p-400)); border-radius: 6px; transition: width .3s; }

/* Pilihan keputusan */
.pick.dec-lulus input:checked + .pk { border-color: var(--ok); background: #f3fbf6; box-shadow: 0 0 0 4px rgba(31, 157, 76, .08); }
.pick.dec-lulus input:checked + .pk .tick { border-color: var(--ok); background: var(--ok); }
.pick.dec-mengulang input:checked + .pk { border-color: var(--bad); background: #fff7f8; box-shadow: 0 0 0 4px rgba(217, 54, 74, .08); }
.pick.dec-mengulang input:checked + .pk .tick { border-color: var(--bad); background: var(--bad); }
.pick.dec-lulus_revisi input:checked + .pk { border-color: var(--amber); background: #fffbf2; box-shadow: 0 0 0 4px rgba(245, 165, 36, .1); }
.pick.dec-lulus_revisi input:checked + .pk .tick { border-color: var(--amber); background: var(--amber); }
.pick-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 575.98px) { .pick-grid.cols-3 { grid-template-columns: 1fr; } }

/* Bilah aksi melekat di bawah (form penilaian) */
.aksi-bar {
    position: sticky; bottom: 12px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
    background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 12px 16px; margin-top: 4px;
}
.aksi-bar .info { font-size: 12.5px; color: var(--muted); }
@media (max-width: 575.98px) { .aksi-bar .btns { width: 100%; display: flex; gap: 8px; } .aksi-bar .btns .btn { flex: 1; } }

/* Tabel nilai ringkas */
.tbl-nilai th, .tbl-nilai td { text-align: center; }
.tbl-nilai th:first-child, .tbl-nilai td:first-child { text-align: left; }
.nilai-besar { font-size: 22px; font-weight: 900; color: var(--ink); line-height: 1; }

/* Donat / bar sederhana di dashboard */
.stack-bar { display: flex; height: 12px; border-radius: 8px; overflow: hidden; background: var(--line-2); }
.stack-bar span { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12.5px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); }
.legend b { color: var(--ink); }

/* Hero sambutan */
.hello { display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #fff 0%, var(--p-soft-2) 100%); border: 1px solid var(--p-line); box-shadow: var(--sh); margin-bottom: 22px; position: relative; overflow: hidden; }
.hello::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(29, 122, 243, .05); }
.hello .hi { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 16px; background: var(--amber-soft); color: var(--amber-600); font-size: 22px; display: flex; align-items: center; justify-content: center; }

/* Panel periode kosong */
.lock-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--ok-soft); border: 1px solid #bfe8cd; color: #166b36; font-size: 13px; }
.lock-note i { margin-top: 2px; }
.lock-note.warn { background: var(--amber-soft); border-color: #f6d79b; color: #8a5a07; }

/* Daftar centang peserta (penjadwalan massal) */
.cek-list { max-height: 460px; overflow-y: auto; }
.cek-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; margin: 0; }
.cek-item:hover { background: #f9fbff; }
.cek-item .urut { margin-left: auto; min-width: 26px; height: 22px; border-radius: 7px; background: var(--p); color: #fff; font-size: 11px; font-weight: 900; display: none; align-items: center; justify-content: center; }
.cek-item.on { background: var(--p-soft-2); }
.cek-item.on .urut { display: inline-flex; }

/* Pratinjau jadwal massal */
.preview-slot { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.preview-slot:last-child { border-bottom: 0; }
.preview-slot b { color: var(--p); font-family: 'SFMono-Regular', Consolas, monospace; }

/* Footer powered by */
.ab-foot .powered { display: inline-flex; align-items: center; gap: 8px; }
.ab-foot .powered img { height: 20px; opacity: 1; }
.ab-foot .powered em { font-style: normal; color: var(--ink-3); font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Halaman masuk                                                       */
/* ------------------------------------------------------------------ */
body.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; }
.login-art {
    position: relative; overflow: hidden; color: #fff; padding: 44px 52px; display: flex; flex-direction: column;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120' viewBox='0 0 160 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.4'%3E%3Cpath d='M0 30 H40 L55 45 H100'/%3E%3Cpath d='M160 90 H120 L105 75 H70'/%3E%3Cpath d='M30 120 V95 L45 80'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.12'%3E%3Ccircle cx='100' cy='45' r='3'/%3E%3Ccircle cx='70' cy='75' r='3'/%3E%3Ccircle cx='45' cy='80' r='3'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(150deg, #0f56c0 0%, #1d7af3 55%, #3697e1 100%);
    background-size: 160px 120px, auto;
}
.login-art .sekolah { display: flex; align-items: center; gap: 14px; }
.login-art .sekolah .logo-sk { width: 52px; height: 52px; border-radius: 15px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(4, 30, 90, .25); }
.login-art .sekolah .logo-sk img { width: 40px; height: 40px; object-fit: contain; }
.login-art .sekolah .logo-sk i { color: var(--p); font-size: 22px; }
.login-art .sekolah b { display: block; font-size: 16px; font-weight: 900; }
.login-art .sekolah small { opacity: .8; }
.login-art .hero { margin: auto 0; max-width: 520px; position: relative; z-index: 2; }
.login-art .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.login-art .eyebrow i { color: #ffd27a; }
.login-art h1 { color: #fff; font-size: 40px; font-weight: 900; line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 14px; }
.login-art h1 span { background: linear-gradient(90deg, #ffffff, #ffd27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-art p { color: rgba(255, 255, 255, .86); font-size: 15px; line-height: 1.7; }
.login-art .alur { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.login-art .alur div { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 14px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.login-art .alur i { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--p); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 14px; }
.login-art .alur b { display: block; font-size: 13px; }
.login-art .alur small { font-size: 11.5px; opacity: .8; line-height: 1.4; display: block; margin-top: 2px; }
.login-art .big-hex { position: absolute; right: -90px; bottom: -60px; width: 380px; height: 430px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255, 255, 255, .06); }
.login-art .big-hex.two { right: 120px; bottom: -220px; width: 260px; height: 296px; background: rgba(255, 210, 122, .08); }
.login-art .foot { font-size: 12px; opacity: .75; position: relative; z-index: 2; }

.login-form { display: flex; flex-direction: column; justify-content: center; padding: 44px 8vw; position: relative; }
.login-form .card-in { width: 100%; max-width: 400px; margin: 0 auto; }
.login-form h2 { font-size: 26px; font-weight: 900; color: var(--ink); margin-bottom: 4px; }
.login-form .lead { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.login-form .form-control { height: 48px; }
.login-form .btn-primary { height: 48px; font-size: 15px; }
.login-form .powered-box { margin-top: 32px; padding: 14px 16px; border-radius: 16px; background: var(--p-soft-2); border: 1px solid var(--p-line); display: flex; align-items: center; gap: 12px; }
.login-form .powered-box img { height: 30px; }
.login-form .powered-box small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.login-form .powered-box b { color: var(--ink); font-size: 12px; }
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 9px; }
.pw-wrap .pw-toggle:hover { background: var(--p-soft); color: var(--p); }
@media (max-width: 991.98px) {
    body.login { grid-template-columns: 1fr; }
    .login-art { padding: 28px 22px 36px; }
    .login-art h1 { font-size: 28px; }
    .login-art .alur, .login-art .foot { display: none; }
    .login-art .hero { margin: 26px 0 0; }
    .login-form { padding: 32px 20px 40px; }
}

/* ------------------------------------------------------------------ */
/* Pilihan dengan pencarian (select[data-cari])                        */
/* ------------------------------------------------------------------ */
.cari-pilih { position: relative; }
.ab .cari-pilih .cp-tombol { display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; padding-right: 58px; }
.cari-pilih .cp-teks { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.cari-pilih .cp-teks small { color: var(--muted); margin-left: 4px; }
.cari-pilih .cp-teks.kosong { color: #a7b0bf; }
.cari-pilih .cp-panah { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); transition: transform .15s; pointer-events: none; }
.cari-pilih.buka .cp-panah { transform: translateY(-50%) rotate(180deg); }
.cari-pilih.buka .cp-tombol { border-color: var(--p-400); box-shadow: 0 0 0 3px rgba(54, 151, 225, .16); }
.cari-pilih .cp-hapus { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 17px; line-height: 1; display: none; }
.cari-pilih .cp-hapus:hover { background: var(--bad-soft); color: var(--bad); }
.cari-pilih.terisi .cp-hapus { display: block; }
.cari-pilih .cp-panel {
    display: none; position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px);
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-lg); overflow: hidden;
}
.cari-pilih.buka .cp-panel { display: block; animation: cpIn .15s ease; }
@keyframes cpIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cari-pilih .cp-cari { position: relative; padding: 8px; border-bottom: 1px solid var(--line-2); }
.cari-pilih .cp-cari i { position: absolute; left: 21px; top: 50%; transform: translateY(-50%); color: #a7b0bf; font-size: 12px; }
.ab .cari-pilih .cp-cari .form-control { height: 38px; padding-left: 34px; font-size: 13.5px; }
.cari-pilih .cp-daftar { max-height: 280px; overflow-y: auto; padding: 6px; position: relative; }
.cari-pilih .cp-grup { font-size: 10.5px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 4px; }
.cari-pilih .cp-item { padding: 8px 10px; border-radius: 9px; cursor: pointer; line-height: 1.35; }
.cari-pilih .cp-item b { display: block; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.cari-pilih .cp-item small { display: block; color: var(--muted); font-size: 11.5px; }
.cari-pilih .cp-item.aktif { background: var(--p-soft-2); }
.cari-pilih .cp-item.aktif b { color: var(--p); }
.cari-pilih .cp-item.dipilih { background: var(--p-soft); }
.cari-pilih .cp-item.dipilih b::after { content: '\f00c'; font-family: 'Font Awesome 5 Solid'; font-weight: 900; font-size: 10px; margin-left: 6px; color: var(--p); }
.cari-pilih .cp-tambah { border: 1px dashed #f6d79b; background: #fffbf2; margin-top: 4px; }
.cari-pilih .cp-tambah b { color: var(--amber-600) !important; }
.cari-pilih .cp-kosong { text-align: center; color: var(--muted); font-size: 13px; padding: 16px 8px; }
.cari-pilih .cp-info { font-size: 11px; color: var(--muted); padding: 6px 12px; border-top: 1px solid var(--line-2); background: #fbfcfe; }
.ab .cari-pilih .cp-tombol.is-invalid { border-color: #e5484d; }

/* ------------------------------------------------------------------ */
/* Panduan penggunaan                                                  */
/* ------------------------------------------------------------------ */
.pd-toc { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.pd-toc a { display: flex; gap: 8px; padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 700; color: var(--ink-3) !important; line-height: 1.35; }
.pd-toc a .n { flex: 0 0 22px; color: var(--muted); font-weight: 900; }
.pd-toc a:hover { background: var(--p-soft-2); color: var(--p) !important; }
.pd-toc a.sub { padding-left: 42px; font-weight: 600; font-size: 12.5px; }
@media (max-width: 991.98px) { .pd-toc { position: static; max-height: none; } }

.pd { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.pd-sec { padding: 22px 26px; border-bottom: 1px solid var(--line-2); scroll-margin-top: 12px; }
.pd-sec:last-child { border-bottom: 0; }
.ab .pd h2 { font-size: 19px; font-weight: 900; color: var(--ink); display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.pd h2 .no { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: var(--p); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.ab .pd h3 { font-size: 15.5px; font-weight: 800; color: var(--p-700); margin: 20px 0 8px; scroll-margin-top: 12px; }
.pd p { margin-bottom: 10px; }
.pd ul, .pd ol { padding-left: 22px; margin-bottom: 12px; }
.pd li { margin-bottom: 5px; }
.pd .ui { display: inline-flex; align-items: center; gap: 5px; padding: 0 8px; border-radius: 7px; background: var(--p-soft); border: 1px solid var(--p-line); color: var(--p-700); font-weight: 800; font-size: 12.5px; line-height: 1.7; white-space: nowrap; }
.pd .ui i { font-size: 10.5px; }
.pd .ui.menu { background: #fff; border-color: var(--line); color: var(--ink-2); }
.pd code { background: #f2f5fa; color: var(--ink); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }

/* Langkah bernomor */
.langkah { list-style: none; padding: 0 !important; counter-reset: lk; margin: 12px 0 16px; }
.langkah > li { counter-increment: lk; position: relative; padding: 0 0 14px 44px; margin: 0; }
.langkah > li::before { content: counter(lk); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 50%; background: var(--p-soft); border: 2px solid var(--p-line); color: var(--p); font-weight: 900; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.langkah > li::after { content: ''; position: absolute; left: 13px; top: 32px; bottom: 2px; width: 2px; background: var(--line-2); }
.langkah > li:last-child::after { display: none; }
.langkah > li > b:first-child { color: var(--ink); }

.pd .tips, .pd .awas, .pd .info { display: flex; gap: 12px; border-radius: 14px; padding: 12px 16px; margin: 12px 0 16px; font-size: 13.5px; line-height: 1.65; }
.pd .tips { background: var(--ok-soft); border: 1px solid #bfe8cd; }
.pd .tips > i { color: var(--ok); margin-top: 4px; }
.pd .awas { background: var(--amber-soft); border: 1px solid #f6d79b; }
.pd .awas > i { color: var(--amber-600); margin-top: 4px; }
.pd .info { background: var(--p-soft-2); border: 1px solid var(--p-line); }
.pd .info > i { color: var(--p); margin-top: 4px; }

.pd table.pd-tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 16px; font-size: 13.5px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pd table.pd-tbl th { background: #f7f9fd; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.pd table.pd-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; line-height: 1.55; }
.pd table.pd-tbl tr:last-child td { border-bottom: 0; }

/* Alur besar */
.alur-besar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 6px; }
.alur-besar div { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.alur-besar div i { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; font-size: 14px; }
.alur-besar div b { display: block; color: var(--ink); font-size: 13.5px; margin-bottom: 2px; }
@media (max-width: 767.98px) { .alur-besar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pd-sec { padding: 18px; } }

.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.faq summary { cursor: pointer; padding: 11px 14px; font-weight: 800; color: var(--ink); font-size: 13.5px; list-style: none; display: flex; gap: 10px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 7px; background: var(--p-soft); color: var(--p); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; }
.faq details[open] summary::before { content: '−'; }
.faq details > div { padding: 0 14px 12px 46px; font-size: 13.5px; line-height: 1.65; }

@media print {
    body.ab { background: #fff; display: block; }
    .ab-band, .ab-foot, .pd-toc-col, .toasts, .no-print { display: none !important; }
    .pd-col { flex: 0 0 100%; max-width: 100%; }
    .box { box-shadow: none; border: 0; }
    .pd-sec { page-break-inside: auto; padding: 10px 0; }
    .pd h2 { page-break-after: avoid; }
    .pd .tips, .pd .awas, .pd .info, .alur-besar div, .langkah > li::before { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .faq details { border: 0; }
    .faq details > div { display: block !important; }
}

/* Tautan Powered by Albana */
a.powered-box { color: inherit !important; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.powered-box:hover { border-color: var(--p); box-shadow: 0 8px 20px rgba(29, 122, 243, .12); transform: translateY(-1px); }
.login-form .powered-box small.url { color: var(--p); font-weight: 800; }
a.powered { color: var(--muted) !important; }
a.powered:hover { color: var(--p) !important; }
a.powered:hover em { color: var(--p); }
