        .glass-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
        }
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #F1F4F9;
            border-radius: 4px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #D5DBE5;
            border-radius: 4px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #94A0B3;
        }
                /* ===== Tema gelap: aktif bila <html class="dark"> ===== */
        html.dark { color-scheme: dark; }
        .dark body { background: #111318; color: #E4E8F0; }
        .dark .bg-slate-50 { background-color: #111318; }
        .dark .bg-white { background-color: #111827; }
        .dark .glass-card { background: rgba(17, 24, 39, 0.95); }
        .dark .bg-slate-100 { background-color: #1A2233; }
        .dark .bg-slate-200\/80 { background-color: #1A2233; }
        .dark .bg-blue-50 { background-color: #18181B; }
        .dark .hover\:bg-blue-50:hover { background-color: #1B3556; }
        .dark .hover\:bg-slate-200:hover { background-color: #2A3446; }
        .dark .text-slate-900, .dark .text-slate-800 { color: #F1F4F9; }
        .dark .text-slate-700 { color: #D5DBE5; }
        .dark .text-slate-600 { color: #AAB6C8; }
        .dark .text-slate-500 { color: #94A0B3; }
        .dark .text-slate-400 { color: #7C8AA0; }
        .dark .text-kemenpar-navy { color: #EEF2FC; }
        .dark .text-kemenpar-blue, .dark .group:hover .group-hover\:text-kemenpar-blue { color: #A9BCF5; }
        .dark .hover\:text-kemenpar-navy:hover { color: #fff; }
        .dark .text-rose-600 { color: #FB7185; }
        .dark .border-slate-100, .dark .border-slate-200, .dark .border-slate-200\/80, .dark .border-slate-300 { border-color: #2A3446; }
        .dark .border-blue-100 { border-color: #26365E; }
        .dark hr { border-color: #2A3446; }
        .dark main .bg-kemenpar-navy { background-color: #3A5CCC; }
        .dark .hover\:bg-kemenpar-blue:hover { background-color: #5574DB; }
        .dark .bg-amber-50 { background-color: #3A2E12; } .dark .text-amber-700 { color: #FBD38D; } .dark .border-amber-200 { border-color: #6B5320; }
        .dark .bg-emerald-50 { background-color: #10301F; } .dark .text-emerald-700 { color: #86EFAC; } .dark .border-emerald-200 { border-color: #1F5A3A; }
        .dark .bg-cyan-50 { background-color: #0E2E38; } .dark .text-cyan-700 { color: #67E8F9; } .dark .border-cyan-200 { border-color: #1B5666; }
        .dark .bg-indigo-50 { background-color: #1F2447; } .dark .text-indigo-700 { color: #A5B4FC; } .dark .border-indigo-200 { border-color: #3B4380; }
        .dark input, .dark textarea, .dark select { background-color: #111318; color: #E4E8F0; border-color: #2A3446; }
        .dark ::placeholder { color: #5B6475; }
        .dark .custom-scrollbar::-webkit-scrollbar-track { background: #111827; }
        .dark .custom-scrollbar::-webkit-scrollbar-thumb { background: #364257; }
        /* Pratinjau notula tetap berupa kertas putih (sesuai hasil cetak) */
        .dark #notula-preview-container { background-color: #fff; border-color: #D5DBE5; }
        .dark #notula-preview-container .text-slate-900 { color: #0F172A; }
        .dark #notula-preview-container .text-slate-800 { color: #1E293B; }
        .dark #notula-preview-container .text-slate-700 { color: #334155; }
        .dark #notula-preview-container .text-slate-600 { color: #4B5563; }
        .dark #notula-preview-container .text-slate-500 { color: #5B6475; }
        .dark #notula-preview-container .text-kemenpar-navy { color: #18181B; }
        .dark #notula-preview-container .border-slate-200 { border-color: #E4E8F0; }
        .dark #notula-preview-container .border-slate-900 { border-color: #0F172A; }


#category-select option {
    background-color: #FFFFFF;
    color: #183153;
    padding: 10px;
}

#category-select option:checked {
    background-color: #E8F2FF;
    color: #1765B3;
}

body:not(.is-admin) .admin-only { display: none !important; }
body.is-admin .portal-only { display: none !important; }

/* ===== Cetak notula ===== */
        #print-area { display: none; }
        @media print {
            @page { size: A4; margin: 25mm 15mm 20mm; }
            @page :first { margin-top: 12mm; }
            html { color-scheme: light !important; }
            body > *:not(#print-area) { display: none !important; }
            body { display: block !important; min-height: 0 !important; background: #fff !important; color: #1E293B !important; }
            #print-area { display: block !important; }
            #print-area > div { box-shadow: none !important; border: none !important; border-radius: 0 !important; min-height: 0 !important; padding: 0 !important; background: #fff !important; }
            .dark #print-area .text-slate-900 { color: #0F172A; }
            .dark #print-area .text-slate-800 { color: #1E293B; }
            .dark #print-area .text-slate-700 { color: #334155; }
            .dark #print-area .text-slate-600 { color: #4B5563; }
            .dark #print-area .text-slate-500 { color: #5B6475; }
            .dark #print-area .text-kemenpar-navy { color: #18181B; }
            .dark #print-area .border-slate-200 { border-color: #E4E8F0; }
            .dark #print-area .border-slate-900 { border-color: #0F172A; }
        }

/* ===== Glosarium (pola BPK: banner selebar layar + daftar dua kolom) ===== */
html, body { overflow-x: clip; }   /* banner 100vw tidak memunculkan scroll samping; header sticky tetap jalan */
/* Efek pudar putih di bawah menu dimatikan saat tab Glosarium terbuka (menutupi banner gelap) */
body:has(#tab-glossary:not(.hidden)) .nav-fade::after,
body:has(#tab-home:not(.hidden)) .nav-fade::after,
body:has(#repo-main:not(.hidden)):has(#tab-repo:not(.hidden)) .nav-fade::after { display: none; }
.gl-banner {
    position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: -2rem;
    /* Urutan lapisan (atas ke bawah): lapisan navy → foto glosarium-banner.jpg (jika ada) → ilustrasi SVG cadangan.
       Cukup simpan foto berlisensi dengan nama img/glosarium-banner.jpg, banner otomatis memakainya. */
    background:
        linear-gradient(90deg, rgba(17, 19, 24, .86) 0%, rgba(24, 24, 27, .74) 45%, rgba(24, 24, 27, .62) 100%),
        url("../img/glosarium-banner.jpg") center / cover no-repeat,
        url("../img/glosarium-banner.svg") center / cover no-repeat;
}
.gl-banner-inner { max-width: 80rem; margin: 0 auto; padding: 44px 2rem; min-height: 200px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.gl-banner-title h1 { font-family: Lora, Georgia, "Times New Roman", serif; font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: .02em; color: #fff; }
.gl-banner-title h1 span { color: #B4BCCB; font-weight: 600; }
.gl-banner-title { flex: 0 1 auto; max-width: 25rem; }
.gl-banner-title p { margin-top: 6px; font-size: 13.5px; color: #CBD3E1; text-wrap: balance; }
.gl-search { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gl-field { height: 44px; border-radius: 10px; border: 1px solid transparent; background-color: #fff; color: #0F172A; font-size: 14px; }
.gl-field:focus, .gl-field:focus-within { outline: none; box-shadow: 0 0 0 3px rgba(58, 92, 204, .55); }
.gl-field-q { display: flex; align-items: center; gap: 8px; width: 240px; padding: 0 14px; color: #94A0B3; cursor: text; }
.gl-field-q input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #0F172A; font-size: 14px; }
.gl-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding: 0 34px 0 12px; width: 130px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; }
.gl-select-cat { width: 196px; }
.gl-btn { height: 44px; padding: 0 22px; border-radius: 10px; background: #111318; border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 600; font-size: 14px; transition: background .15s; }
.gl-btn:hover { background: #000; }
.gl-reset { font-size: 13px; font-weight: 600; color: #A9BCF5; padding: 0 2px; }
.gl-reset:hover { text-decoration: underline; }
.gl-count { margin: 28px 0 16px; text-align: center; font-size: 13px; color: #A16207; }
.gl-count b { font-weight: 700; }
.gl-panel { background: #fff; border: 1px solid #E4E8F0; border-radius: 14px; padding: 4px 28px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.gl-row { display: grid; grid-template-columns: minmax(180px, 30%) 1fr; gap: 8px 40px; padding: 22px 0; border-bottom: 1px solid #E4E8F0; }
.gl-row:last-child { border-bottom: 0; }
.gl-term h3 { font-size: 15px; font-weight: 700; line-height: 1.4; color: #18181B; }
.gl-abbr { margin-top: 2px; font-size: 13px; color: #4B5563; }
.gl-meta { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: #94A0B3; }
/* Label kategori berwarna */
.gl-cat { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-weight: 600; border: 1px solid transparent; }
.gl-cat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gl-cat-abu   { background: #F1F4F9; color: #4B5563; border-color: #E4E8F0; }   /* Administrasi & Birokrasi */
.gl-cat-biru  { background: #EFF6FF; color: #1D4ED8; border-color: #DBEAFE; }   /* Strategi & Kurasi Event */
.gl-cat-hijau { background: #ECFDF5; color: #047857; border-color: #D1FAE5; }   /* Data & Analisis */
.gl-cat-emas  { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }   /* Istilah Khusus Kemenpar */
.gl-kbbi { color: #94A0B3; }
.gl-new { margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: #FEF3C7; color: #92400E; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.gl-def > p { font-size: 14.5px; line-height: 1.65; color: #1E293B; }
.gl-def .gl-example { margin-top: 8px; font-size: 13px; line-height: 1.55; font-style: italic; color: #5B6475; }
.gl-example span { font-style: normal; font-weight: 600; }
.gl-actions { margin-top: 10px; display: flex; align-items: center; gap: 16px; font-size: 12px; }
.gl-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #2C47A8; }
.gl-link:hover { text-decoration: underline; }
.gl-link-danger { color: #E11D48; }
.gl-mark { background: #FDE68A; color: inherit; padding: 0 1px; border-radius: 2px; }
.gl-pager { background: #fff; border: 1px solid #E4E8F0; border-radius: 14px; padding: 12px 16px; }
.gl-empty { text-align: center; padding: 56px 16px; background: #fff; border: 1px dashed #D5DBE5; border-radius: 14px; }
.gl-empty-title { font-weight: 700; color: #334155; }
.gl-empty-text { max-width: 28rem; margin: 6px auto 16px; font-size: 13px; color: #5B6475; }
.gl-btn-ghost, .gl-btn-solid { font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 8px; }
.gl-btn-ghost { border: 1px solid #D5DBE5; color: #18181B; background: #fff; }
.gl-btn-solid { background: #3A5CCC; color: #fff; }
@media (max-width: 1023px) {
    .gl-search { width: 100%; }
    .gl-field-q { flex: 1 1 240px; width: auto; }
}
@media (max-width: 767px) {
    .gl-banner-inner { padding: 28px 1rem; min-height: 0; }
    .gl-banner-title h1 { font-size: 24px; }
    .gl-select, .gl-select-cat { flex: 1 1 40%; width: auto; }
    .gl-btn { flex: 1 1 auto; }
    .gl-panel { padding: 2px 16px; }
    .gl-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
}
@media (min-width: 640px) and (max-width: 1023px) { .gl-banner-inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
/* Mode gelap */
.dark .gl-field { background-color: #111318; border-color: #364257; color: #E4E8F0; }
.dark .gl-field-q input { background: transparent; color: #E4E8F0; }
.dark .gl-panel, .dark .gl-pager, .dark .gl-empty { background: #111827; border-color: #2A3446; }
.dark .gl-row { border-color: #2A3446; }
.dark .gl-term h3 { color: #EEF2FC; }
.dark .gl-abbr { color: #AAB6C8; }
.dark .gl-meta { color: #7C8AA0; }
.dark .gl-cat-abu   { background: #1A2233; color: #D5DBE5; border-color: #2A3446; }
.dark .gl-cat-biru  { background: #18181B; color: #93C5FD; border-color: #26365E; }
.dark .gl-cat-hijau { background: #10301F; color: #6EE7B7; border-color: #1F5A3A; }
.dark .gl-cat-emas  { background: #3A2E12; color: #FBD38D; border-color: #6B5320; }
.dark .gl-def > p { color: #D5DBE5; }
.dark .gl-def .gl-example { color: #94A0B3; }
.dark .gl-link { color: #A9BCF5; }
.dark .gl-link-danger { color: #FB7185; }
.dark .gl-mark { background: #7A5B12; color: #fff; }
.dark .gl-new { background: #3A2E12; color: #FBD38D; }
.dark .gl-count { color: #A9BCF5; }
.dark .gl-empty-title { color: #E4E8F0; }
.dark .gl-btn-ghost { background: #1A2233; border-color: #2A3446; color: #E4E8F0; }
.dark .gl-btn-solid { background: #3A5CCC; }

/* ===== Repository terpadu (Policy Brief + dokumen pendukung) ===== */
.rp-banner {
    background:
        linear-gradient(90deg, rgba(17, 19, 24, .88) 0%, rgba(24, 24, 27, .76) 45%, rgba(24, 24, 27, .64) 100%),
        url("../img/repository-banner.jpg") center / cover no-repeat,
        url("../img/repository-banner.svg") center / cover no-repeat;
}
.rp-field-q { width: 300px; }
.gl-cat-ungu { background: #F5F3FF; color: #6D28D9; border-color: #EDE9FE; }
.dark .gl-cat-ungu { background: #241A3D; color: #C4B5FD; border-color: #3F2F6B; }

/* Bar atas (jumlah hasil cari + tombol unggah) */
.rp-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 24px; min-height: 8px; }
.rp-count { font-size: 13px; color: #5B6475; }
.rp-count b { color: #18181B; }
.rp-link { font-weight: 600; color: #2C47A8; }
.rp-link:hover { text-decoration: underline; }

/* Bagian per jenis */
.rp-sec { margin-top: 28px; }
.rp-sec + .rp-sec { margin-top: 44px; }
.rp-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rp-sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #18181B; display: flex; align-items: center; gap: 10px; }
.rp-sec-head h2 span { font-size: 12px; font-weight: 700; letter-spacing: 0; color: #5B6475; background: #E4E8F0; border-radius: 999px; padding: 2px 9px; }
.rp-sec-all { flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 6px; border: 1.5px solid #18181B; color: #18181B; background: #fff; font-size: 13px; font-weight: 600; transition: all .15s; }
.rp-sec-all:hover { background: #3A5CCC; color: #fff; }
.rp-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #2C47A8; }
.rp-back:hover { text-decoration: underline; }
.rp-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px 2px 12px; }
.rp-track::-webkit-scrollbar { display: none; }
.rp-track .rp-card { flex: 0 0 236px; scroll-snap-align: start; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }

/* Batang geser */
.rp-bar { display: flex; align-items: center; gap: 6px; height: 22px; margin-top: 2px; background: #F1F4F9; border-radius: 4px; padding: 0 2px; }
.rp-bar button { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; color: #4B5563; border-radius: 3px; }
.rp-bar button:hover { background: #E4E8F0; color: #18181B; }
.rp-bar-track { position: relative; flex: 1; height: 12px; cursor: pointer; }
.rp-bar-thumb { position: absolute; top: 0; height: 100%; border-radius: 999px; background: #D5DBE5; transition: background .15s; }
.rp-bar-track:hover .rp-bar-thumb { background: #94A0B3; }

/* Kartu */
.rp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4E8F0; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); transition: transform .18s, box-shadow .18s; }
.rp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(24, 24, 27, .14); }
.rp-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.rp-cover-chip { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #0F172A; font-size: 10.5px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.rp-cover-new { position: absolute; top: 10px; right: 10px; background: #3A5CCC; color: #111318; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; letter-spacing: .05em; }
/* Sampul Policy Brief */
.rp-cover-pb { padding: 16px 16px 40px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.rp-cover-watermark { position: absolute; right: -18px; bottom: -14px; width: 120px; height: 120px; opacity: .09; transform: rotate(-12deg); }
.rp-cover-kicker { display: flex; align-items: center; gap: 7px; font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.rp-cover-kicker b { width: 18px; height: 3px; border-radius: 2px; background: #3A5CCC; }
.rp-cover-title { font-size: 15px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
/* Sampul asli (gambar) */
.rp-cover-book { display: flex; align-items: flex-start; justify-content: center; padding-top: 16px; background: var(--bk, #E8ECF1); }
.rp-t-strategi { --bk: linear-gradient(160deg, #E3EAF4, #CCD9EA); }
.rp-t-ekonomi  { --bk: linear-gradient(160deg, #EFE9DD, #E2D6BE); }
.rp-t-kebijakan { --bk: linear-gradient(160deg, #DDEDEA, #C3DED9); }
.rp-t-lainnya  { --bk: linear-gradient(160deg, #EDEFF3, #DDE2EA); }
.rp-book { width: 64%; height: auto; aspect-ratio: 640 / 905; border-radius: 2px 2px 0 0; box-shadow: 0 -1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(15, 23, 42, .22), 4px 0 0 rgba(255,255,255,.5); transition: transform .2s; }
.rp-card:hover .rp-book { transform: translateY(-3px); }
.rp-detail-cover .rp-cover-book { aspect-ratio: auto; height: auto; padding: 24px 0; align-items: center; }
.rp-detail-cover .rp-book { width: 58%; box-shadow: 0 10px 28px rgba(15, 23, 42, .28); }
.dark .rp-t-strategi { --bk: linear-gradient(160deg, #1B2F52, #18181B); }
.dark .rp-t-ekonomi  { --bk: linear-gradient(160deg, #3A3020, #2A2312); }
.dark .rp-t-kebijakan { --bk: linear-gradient(160deg, #123A36, #0E2B28); }
.dark .rp-t-lainnya  { --bk: linear-gradient(160deg, #243149, #1A2233); }
/* Sampul jenis lain: lembar kertas */
.rp-cover-doc { display: flex; align-items: flex-end; justify-content: center; padding-top: 18px; background: var(--rp-bg); }
.rp-sheet { position: relative; width: 66%; height: 92%; background: #fff; border-radius: 6px 6px 0 0; padding: 14px 12px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 -2px 14px rgba(15, 23, 42, .12); transform: rotate(-3deg) translateY(6px); transition: transform .2s; }
.rp-card:hover .rp-sheet { transform: rotate(0) translateY(2px); }
.rp-sheet-bar { width: 34px; height: 4px; border-radius: 2px; background: var(--rp-c); }
.rp-sheet-title { padding-right: 26px; font-size: 10.5px; font-weight: 800; line-height: 1.3; color: #18181B; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rp-sheet-line { height: 4px; border-radius: 2px; background: #E4E8F0; }
.rp-sheet-line.w-80 { width: 80%; } .rp-sheet-line.w-60 { width: 60%; }
.rp-sheet-ext { position: absolute; right: -8px; top: 12px; padding: 2px 7px; border-radius: 4px; color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; }
.rp-k-sop { --rp-c: #1D4ED8; --rp-bg: linear-gradient(150deg, #DBEAFE, #BFDBFE); }
.rp-k-tpl { --rp-c: #047857; --rp-bg: linear-gradient(150deg, #D1FAE5, #A7F3D0); }
.rp-k-prt { --rp-c: #6D28D9; --rp-bg: linear-gradient(150deg, #EDE9FE, #DDD6FE); }
.rp-k-etc { --rp-c: #4B5563; --rp-bg: linear-gradient(150deg, #F1F4F9, #E4E8F0); }
.rp-k-pb  { --rp-c: #B45309; }
/* Isi kartu */
.rp-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.rp-badges { display: flex; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rp-badges { min-width: 0; }
.rp-badges span { padding: 3px 7px; color: #fff; white-space: nowrap; }
.rp-badges span:first-child { flex-shrink: 0; }
.rp-badges span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rp-badges span:first-child { background: #3A5CCC; border-radius: 4px 0 0 4px; }
.rp-badges span:last-child { background: var(--rp-c); border-radius: 0 4px 4px 0; }
.rp-badges.rp-k-pb span:last-child { background: #B45309; }
.rp-card-title { font-size: 14px; font-weight: 700; line-height: 1.35; color: #18181B; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.rp-card-meta { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #5B6475; min-width: 0; }
.rp-card-meta svg, .rp-card-meta i { flex-shrink: 0; color: #94A0B3; }
.rp-card-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-card-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 6px; background: #111318; color: #fff; font-size: 12px; font-weight: 600; transition: background .15s; }
.rp-card-meta + .rp-card-btn { margin-top: 8px; }
.rp-card:hover .rp-card-btn { background: #3A5CCC; }
.rp-admin { display: inline-flex; gap: 12px; font-size: 12px; font-weight: 600; color: #2C47A8; }
.rp-admin button:hover { text-decoration: underline; }
/* Filter topik (Lihat Semua Policy Brief) */
.rp-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.rp-topics > span { font-size: 12px; font-weight: 700; color: #A16207; margin-right: 2px; }
.rp-chip { height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid #D5DBE5; background: #fff; font-size: 12.5px; font-weight: 600; color: #334155; }
.rp-chip:hover { border-color: #3A5CCC; color: #3A5CCC; }
.rp-chip.is-on { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }
.rp-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 56px 16px; text-align: center; font-size: 13px; color: #5B6475; background: #fff; border: 1px dashed #D5DBE5; border-radius: 14px; margin-top: 28px; }
.rp-empty svg { color: #D5DBE5; margin-bottom: 6px; }
.rp-empty button { margin-top: 10px; }
/* Ikon jenis file (dipakai di sampul) */
.rp-ext-pdf { background: #DC2626; } .rp-ext-doc { background: #2563EB; } .rp-ext-xls { background: #16A34A; } .rp-ext-ppt { background: #EA580C; }
.rp-ext-none { background: #94A0B3; }
.rp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; }
.rp-topic { color: #5B6475; font-weight: 500; }
.rp-topic::before { content: "·"; margin-right: 6px; color: #D5DBE5; }
.rp-nofile { font-size: 12px; color: #94A0B3; }

/* Panel detail */
.rp-detail { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.rp-detail-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity .2s; }
.rp-detail-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); overflow-y: auto; background: #fff; padding: 28px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
.rp-detail.is-open { pointer-events: auto; }
.rp-detail.is-open .rp-detail-backdrop { opacity: 1; }
.rp-detail.is-open .rp-detail-panel { transform: none; visibility: visible; box-shadow: -12px 0 32px rgba(15, 23, 42, .18); }
.rp-detail-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #4B5563; }
.rp-detail-close:hover { background: #F1F4F9; }
.rp-detail-close { z-index: 2; }
.rp-detail-cover { margin: 36px 0 18px; }
.rp-detail-cover .rp-cover { border-radius: 12px; }
.rp-detail-title { margin-top: 10px; font-family: Lora, Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.3; color: #18181B; }
.rp-detail-sum { margin-top: 10px; font-size: 14px; line-height: 1.7; color: #334155; }
.rp-dl { margin-top: 20px; border-top: 1px solid #E4E8F0; }
.rp-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #F1F4F9; font-size: 13px; }
.rp-dl dt { color: #5B6475; }
.rp-dl dd { color: #0F172A; font-weight: 500; word-break: break-word; }
.rp-detail-acts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 1023px) { .rp-field-q { width: auto; } }
@media (max-width: 767px) {
    .rp-sec-head h2 { font-size: 16px; }
    .rp-sec-all { height: 32px; padding: 0 12px; font-size: 12px; }
    .rp-track .rp-card { flex-basis: 200px; }
    .rp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .rp-grid .rp-cover-title { font-size: 13px; }
}
/* Mode gelap */
.dark .rp-sec-head h2, .dark .rp-card-title, .dark .rp-detail-title { color: #EEF2FC; }
.dark .rp-sec-head h2 span { background: #1A2233; color: #94A0B3; }
.dark .rp-sec-all { background: transparent; border-color: #A9BCF5; color: #A9BCF5; }
.dark .rp-sec-all:hover { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }
.dark .rp-back, .dark .rp-link, .dark .rp-admin { color: #A9BCF5; }
.dark .rp-count { color: #94A0B3; }
.dark .rp-count b { color: #EEF2FC; }
.dark .rp-card { background: #111827; border-color: #2A3446; }
.dark .rp-card-meta { color: #94A0B3; }
.dark .rp-card-btn { background: #3A5CCC; }
.dark .rp-card:hover .rp-card-btn { background: #5574DB; }
.dark .rp-bar { background: #111827; }
.dark .rp-bar button { color: #94A0B3; }
.dark .rp-bar button:hover { background: #1A2233; color: #E4E8F0; }
.dark .rp-bar-thumb { background: #364257; }
.dark .rp-k-sop { --rp-bg: linear-gradient(150deg, #1B2F52, #18181B); }
.dark .rp-k-tpl { --rp-bg: linear-gradient(150deg, #153B2B, #10301F); }
.dark .rp-k-prt { --rp-bg: linear-gradient(150deg, #2E2350, #241A3D); }
.dark .rp-k-etc { --rp-bg: linear-gradient(150deg, #243149, #1A2233); }
.dark .rp-chip { background: #111827; border-color: #364257; color: #D5DBE5; }
.dark .rp-chip.is-on { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }
.dark .rp-topics > span { color: #A9BCF5; }
.dark .rp-empty { background: #111827; border-color: #2A3446; }
.dark .rp-detail-sum { color: #AAB6C8; }
.dark .rp-detail-panel { background: #111827; }
.dark .rp-detail-close { color: #D5DBE5; }
.dark .rp-detail-close:hover { background: #1A2233; }
.dark .rp-dl, .dark .rp-dl div { border-color: #2A3446; }
.dark .rp-dl dd { color: #E4E8F0; }

/* ===== Repository: galeri foto (coverflow) ===== */
.gallery { --cw: 220px; position: relative; height: calc(var(--cw) * 1.11 + 92px); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; }
@media (min-width: 640px) { .gallery { --cw: 280px; } }
.gallery-track { position: relative; height: 100%; }
.gallery-card { position: absolute; left: 50%; top: 28px; width: var(--cw); aspect-ratio: 9 / 10; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(24, 24, 27, .28); cursor: pointer; transition: transform .5s cubic-bezier(.22, .8, .3, 1), opacity .5s ease, filter .5s ease; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }

/* ===== Repository: banner galeri (foto berwarna biru, jadi asli saat di-hover) ===== */
.gb-photo img { filter: grayscale(1) contrast(1.1); transition: filter .4s ease, transform .6s ease; }
.gb-tint { background: #4F6BE0; mix-blend-mode: color; transition: opacity .4s ease; }
.gb:hover .gb-photo img { filter: none; transform: scale(1.04); }
.gb:hover .gb-tint { opacity: 0; }

/* ===== Navbar: pudar halus dari putih ke latar halaman ===== */
.nav-fade::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 28px; background: linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0)); pointer-events: none; }
.dark .nav-fade::after { background: linear-gradient(to bottom, #111827, rgba(17, 24, 39, 0)); }
 
/* =====================================================================
   NOTULA RAPAT DINAS (multi-format)
   ===================================================================== */
/* --- Pilih tim --- */
.nt-team { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 14px; border-radius: 10px; border: 1.5px solid #E4E8F0; background: #fff; font-size: 12px; color: #334155; transition: all .15s; }
.nt-team:hover { border-color: #3A5CCC; }
.nt-team.is-on { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }
.nt-team.is-off { opacity: .55; }
.nt-team-sub { font-size: 10px; opacity: .75; }
.dark .nt-team { background: #111827; border-color: #2A3446; color: #D5DBE5; }
.dark .nt-team.is-on { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }

/* --- Kartu format --- */
.nt-fmt { position: relative; display: flex; gap: 12px; text-align: left; padding: 14px; border-radius: 14px; border: 1.5px solid #E4E8F0; background: #fff; transition: all .15s; }
.nt-fmt:hover { border-color: var(--fc); box-shadow: 0 4px 14px rgba(24, 24, 27, .08); }
.nt-fmt.is-on { border-color: var(--fc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc) 18%, transparent); background: color-mix(in srgb, var(--fc) 5%, #fff); }
.nt-fmt-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, #fff); }
.nt-fmt.is-on .nt-fmt-ic { background: var(--fc); color: #fff; }
.nt-fmt-no { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fc); }
.nt-fmt-name { display: block; font-size: 13px; font-weight: 700; color: #1E293B; line-height: 1.3; }
.nt-fmt-desc { display: block; font-size: 11px; color: #5B6475; margin-top: 3px; line-height: 1.4; }
.nt-fmt-dot { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 9999px; background: #F59E0B; }
.dark .nt-fmt { background: #111827; border-color: #2A3446; }
.dark .nt-fmt.is-on { background: color-mix(in srgb, var(--fc) 12%, #111827); }
.dark .nt-fmt-ic { background: color-mix(in srgb, var(--fc) 22%, #111827); }
.dark .nt-fmt-name { color: #F1F4F9; }
.dark .nt-fmt-desc { color: #94A0B3; }

/* --- Badge & toolbar --- */
.nt-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 9999px; color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, #fff); border: 1px solid color-mix(in srgb, var(--fc) 35%, #fff); }
.dark .nt-badge { background: color-mix(in srgb, var(--fc) 20%, #111827); border-color: color-mix(in srgb, var(--fc) 45%, #111827); color: color-mix(in srgb, var(--fc) 55%, #fff); }
.nt-badge-arsip { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 9999px; background: #F1F4F9; color: #4B5563; }
.dark .nt-badge-arsip { background: #1A2233; color: #AAB6C8; }
.nt-dotc { width: 8px; height: 8px; border-radius: 9999px; display: inline-block; }
.nt-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #E4E8F0; position: sticky; top: 72px; z-index: 30; box-shadow: 0 2px 10px rgba(24, 24, 27, .05); }
@media (max-width: 767px) { .nt-toolbar { top: 108px; } }
.dark .nt-toolbar { background: #111827; border-color: #2A3446; }
.nt-btn { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 12px; font-weight: 600; padding: 7px 11px; border-radius: 9px; border: 1px solid #D5DBE5; background: #fff; color: #18181B; transition: background .15s; }
.nt-btn:hover { background: #EFF6FF; }
.nt-btn-primary { background: #3A5CCC; border-color: #3A5CCC; color: #fff; }
.nt-btn-primary:hover { background: #2C47A8; }
.dark .nt-btn { background: #1A2233; border-color: #2A3446; color: #E4E8F0; }
.dark .nt-btn:hover { background: #2A3446; }
.dark .nt-btn-primary { background: #3A5CCC; border-color: #3A5CCC; }
.nt-btn-sm { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 8px; border: 1px solid #D5DBE5; color: #18181B; background: #fff; }
.nt-btn-sm:hover { background: #EFF6FF; }
.nt-btn-sm.nt-btn-primary { background: #3A5CCC; color: #fff; border-color: #3A5CCC; }
.nt-btn-sm.nt-btn-danger { color: #E11D48; border-color: transparent; background: transparent; }
.nt-btn-sm.nt-btn-danger:hover { text-decoration: underline; }
.dark .nt-btn-sm { background: #1A2233; border-color: #2A3446; color: #E4E8F0; }
.dark .nt-btn-sm.nt-btn-primary { background: #3A5CCC; border-color: #3A5CCC; }
.dark .nt-btn-sm.nt-btn-danger { background: transparent; color: #FB7185; }

/* --- Form --- */
.nt-sec { background: #fff; border: 1px solid #E4E8F0; border-radius: 14px; overflow: hidden; }
.nt-sec > summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; font-size: 13px; font-weight: 700; color: #1E293B; list-style: none; user-select: none; }
.nt-sec > summary::-webkit-details-marker { display: none; }
.nt-sec[open] > summary { border-bottom: 1px solid #F1F4F9; }
.nt-sec-no { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: #18181B; color: #3A5CCC; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.nt-sec-chev { color: #94A0B3; transition: transform .2s; }
.nt-sec[open] .nt-sec-chev { transform: rotate(180deg); }
.nt-sec-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.dark .nt-sec { background: #111827; border-color: #2A3446; }
.dark .nt-sec > summary { color: #F1F4F9; }
.dark .nt-sec[open] > summary { border-color: #2A3446; }
.nt-lab { display: block; font-weight: 600; color: #334155; margin-bottom: 4px; font-size: 12px; }
.dark .nt-lab { color: #D5DBE5; }
.nt-req { color: #E11D48; }
.nt-sub { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5B6475; }
.nt-hint { font-size: 11px; color: #5B6475; margin-top: 4px; line-height: 1.45; }
.nt-inp { width: 100%; padding: 8px 10px; border: 1px solid #D5DBE5; border-radius: 9px; background: #fff; font-size: 12.5px; color: #0F172A; }
.nt-inp:focus { outline: none; border-color: #2C47A8; box-shadow: 0 0 0 3px rgba(44, 71, 168, .18); }
.nt-inp:disabled { opacity: .5; }
.nt-ta { resize: vertical; line-height: 1.5; }
.nt-row2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .nt-row2 { grid-template-columns: 1fr 1fr; } }
.nt-cek { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: #4B5563; cursor: pointer; }
.dark .nt-cek { color: #AAB6C8; }
.nt-item { border: 1px solid #E4E8F0; border-radius: 12px; padding: 12px; background: #F8FAFC; }
.nt-item-nested { background: #fff; border-style: dashed; margin-left: 10px; }
.nt-item-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #18181B; }
.dark .nt-item { background: #0E1626; border-color: #2A3446; }
.dark .nt-item-nested { background: #111827; }
.dark .nt-item-head { color: #A9BCF5; }
.nt-ibtn { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #5B6475; }
.nt-ibtn:hover:not(:disabled) { background: #E4E8F0; color: #0F172A; }
.nt-ibtn[data-act="del"]:hover { background: #FFE4E6; color: #E11D48; }
.nt-ibtn:disabled { opacity: .3; }
.dark .nt-ibtn:hover:not(:disabled) { background: #2A3446; color: #fff; }
.nt-add { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #2C47A8; padding: 7px 12px; border-radius: 9px; border: 1.5px dashed #94A0B3; width: 100%; justify-content: center; }
.nt-add:hover { border-color: #2C47A8; background: #F0F9FF; }
.nt-add-nested { width: auto; margin-left: 10px; }
.dark .nt-add { color: #A9BCF5; border-color: #364257; }
.dark .nt-add:hover { background: #18181B; }
.nt-help { background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 12px; padding: 10px 14px; font-size: 12px; color: #78350F; }
.nt-help summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.nt-help ul { margin: 8px 0 2px 18px; list-style: disc; display: flex; flex-direction: column; gap: 3px; }
.nt-help code, .nt-help kbd { background: #FEF3C7; border: 1px solid #FCD34D; border-radius: 4px; padding: 0 4px; font-size: 11px; }
.dark .nt-help { background: #2A2210; border-color: #5C4A1A; color: #FDE68A; }
.dark .nt-help code, .dark .nt-help kbd { background: #3A2E12; border-color: #6B5320; }
.nt-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border: 2px dashed #D5DBE5; border-radius: 12px; color: #4B5563; cursor: pointer; text-align: center; }
.nt-drop:hover { border-color: #2C47A8; background: #F0F9FF; }
.dark .nt-drop { border-color: #364257; color: #AAB6C8; }
.dark .nt-drop:hover { background: #18181B; }
.nt-foto-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .nt-foto-grid { grid-template-columns: repeat(3, 1fr); } }
.nt-foto { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #E4E8F0; border-radius: 10px; }
.nt-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #F1F4F9; }
.dark .nt-foto { border-color: #2A3446; }
.nt-arsip-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #E4E8F0; border-radius: 12px; }
.nt-arsip-item.is-open { border-color: #2C47A8; background: #F0F9FF; }
.dark .nt-arsip-item { border-color: #2A3446; }
.dark .nt-arsip-item.is-open { background: #18181B; border-color: #3A5CCC; }

/* --- Kertas notula (pratinjau & cetak). Ukuran A4 asli, diperkecil otomatis di layar --- */
.nt-paper-wrap { max-height: calc(100vh - 8.5rem); overflow-y: auto; overflow-x: hidden; border-radius: 12px; background: #E4E8F0; padding: 14px; }
.dark .nt-paper-wrap { background: #0E1626; }
@media (max-width: 1023px) { .nt-paper-wrap { max-height: 80vh; } }
.nt-paper { width: 210mm; box-sizing: border-box; background: #fff; color: #111; font-family: Arial, Helvetica, sans-serif; font-size: 11pt; line-height: 1.4; padding: 12mm 25mm 20mm; box-shadow: 0 4px 18px rgba(15, 23, 42, .12); border-radius: 2px; }
.nt-paper b { font-weight: 700; }
.nt-paper .nt-ph { color: #94A0B3; background: #F1F4F9; border-radius: 3px; padding: 0 2px; font-weight: 400; font-style: italic; }
.nt-kop { width: calc(100% + 20mm); margin: 0 -10mm; border-collapse: collapse; table-layout: fixed; }
.nt-kop td { vertical-align: middle; padding: 0; }
.nt-kop-l { width: 21mm; } .nt-kop-l img { width: 19.5mm; height: 19.5mm; display: block; }
.nt-kop-r { width: 27mm; text-align: right; } .nt-kop-r img { width: 25mm; height: auto; display: inline-block; }
.nt-kop-c { text-align: center; line-height: 1.2; white-space: nowrap; }
.nt-k1 { font-weight: 700; font-size: 14pt; }
.nt-k2 { font-weight: 700; font-size: 10pt; }
.nt-k3 { font-size: 10pt; }
.nt-kop-line { border-bottom: 3px solid #000; margin: 2mm -10mm 7mm; }
.nt-judul { text-align: center; font-weight: 700; margin-bottom: 7mm; }
.nt-meta { border-collapse: collapse; margin-bottom: 5mm; width: 100%; }
.nt-meta td { vertical-align: top; padding: 0; }
.nt-ml { width: 37mm; white-space: nowrap; } .nt-mc { width: 4mm; }
.nt-mv { text-align: justify; }
.nt-peserta { list-style: decimal; margin: 0; padding-left: 1.4em; }
.nt-body { text-align: justify; }
.nt-body ol, .nt-body ul { margin: 1mm 0 2mm; padding-left: 7.5mm; }
.nt-body > ol > li { margin-bottom: 3mm; }
.nt-body li > span { display: block; }
.nt-body .nt-p { margin: .5mm 0 1mm; }
@counter-style nt-paren { system: extends decimal; suffix: ") "; }
@counter-style nt-paren-a { system: extends lower-alpha; suffix: ") "; }
.nt-ttd { width: 100%; border-collapse: collapse; margin-top: 8mm; page-break-inside: avoid; break-inside: avoid; }
.nt-ttd td { vertical-align: top; padding: 0; }
.nt-ttd td:first-child { width: 63%; }
.nt-ttd-space { height: 22mm; }
.nt-dok { margin-top: 12mm; padding-top: 8mm; border-top: 2px dashed #D5DBE5; }
.nt-dok-h { text-align: center; font-weight: 700; margin-bottom: 6mm; }
.nt-dok-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
.nt-dok-fig { margin: 0; text-align: center; page-break-inside: avoid; break-inside: avoid; }
.nt-dok-fig img { width: 100%; height: auto; }
.nt-dok-fig figcaption { font-size: 10pt; font-style: italic; margin-top: 1.5mm; }
.nt-dok-empty { text-align: center; padding: 20mm 0; }

/* Baris info bernomor (peserta, narasumber) */
.nt-mrow { display: flex; gap: 1.5mm; }
.nt-mn { flex-shrink: 0; min-width: 5mm; }
/* Blok tanda tangan */
/* inline-block = tidak pernah terbelah antar-halaman saat dicetak */
.nt-ttd-wrap { display: inline-block; width: 100%; vertical-align: top; page-break-inside: avoid; break-inside: avoid; margin-top: 8mm; }
.nt-ttd-wrap .nt-ttd { margin-top: 0; }
.nt-ttd td.nt-ttd-tgl { text-align: right; padding-bottom: 4mm; }
/* Halaman lampiran & dokumentasi per sesi */
.nt-lamp { margin-top: 12mm; padding-top: 8mm; border-top: 2px dashed #D5DBE5; }
.nt-lamp .nt-ol { padding-left: 7.5mm; }
.nt-dok-sesi { text-align: center; font-weight: 700; margin: 6mm 0 3mm; }

/* --- Gaya Tim PSE: kop lebih kecil, garis tipis abu-abu, kolom label lebih lebar --- */
.nt-gaya-pse .nt-k1 { font-size: 12pt; margin-bottom: 1mm; }
.nt-gaya-pse .nt-k2 { font-size: 10pt; margin-bottom: 1mm; }
.nt-gaya-pse .nt-k3 { font-size: 9pt; }
.nt-gaya-pse .nt-kop-line { border-bottom: 1px solid #808080; }
.nt-gaya-pse .nt-ml { width: 43mm; }
.nt-gaya-pse .nt-mc { width: 7mm; }
.nt-ttd-pse td:first-child { width: 52%; }
.nt-gaya-pse .nt-ttd-wrap, .nt-gaya-pse .nt-ttd-tgl { font-size: 11pt; }
.nt-gaya-pse .nt-body > .nt-p { margin: 3mm 0 2mm; }
/* judul penanda & judul butir yang punya isi di bawahnya tidak boleh tertinggal sendirian di bawah halaman */
.nt-body > .nt-p, .nt-body li > span:not(:last-child) { page-break-after: avoid; break-after: avoid; }

/* --- Cetak notula multi-format --- */
@media print {
    #print-area .nt-paper.nt-print { width: auto; padding: 0 10mm !important; box-shadow: none !important; border-radius: 0 !important; zoom: 1 !important; }
    #print-area .nt-dok, #print-area .nt-lamp { page-break-before: always; break-before: page; border-top: none; margin-top: 0; padding-top: 0; }
}
@media (max-width: 639px) { .nt-fmt-desc { display: none; } .nt-fmt { padding: 10px 12px; } }
.dark .rp-badges span:first-child { background: #26365E; }


/* ===== Beranda ===== */



/* Panel pencarian */
.hm-search { position: fixed; inset: 0; z-index: 70; }
.hm-search-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); }
.hm-search-panel { position: relative; width: min(640px, calc(100% - 32px)); margin: 12vh auto 0; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3); overflow: hidden; }
.hm-search-field { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 60px; border-bottom: 1px solid #E4E8F0; color: #5B6475; }
.hm-search-field input { flex: 1; height: 100%; border: 0; outline: 0; font-size: 16px; color: #0F172A; background: transparent; }
.hm-search-field kbd { font-family: Inter, sans-serif; font-size: 11px; border: 1px solid #D5DBE5; border-radius: 5px; padding: 2px 6px; color: #5B6475; }
.hm-results { max-height: 56vh; overflow-y: auto; padding: 8px; }
.hm-res-group h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #94A0B3; padding: 10px 10px 6px; }
.hm-res-group button { width: 100%; display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; text-align: left; color: #5B6475; }
.hm-res-group button:hover { background: #F1F4F9; }
.hm-res-group b { display: block; font-size: 14px; font-weight: 600; color: #18181B; }
.hm-res-group small { display: block; font-size: 12px; color: #94A0B3; margin-top: 1px; }
.hm-hint { padding: 18px 12px; font-size: 13.5px; color: #5B6475; line-height: 1.6; }
.hm-hint b { color: #18181B; }

@media (max-width: 1023px) {
}
.dark .hm-search-panel { background: #111827; }
.dark .hm-search-field { border-color: #2A3446; color: #94A0B3; }
.dark .hm-search-field input { color: #E4E8F0; }
.dark .hm-res-group button:hover { background: #1A2233; }
.dark .hm-res-group b { color: #E4E8F0; }

/* ===== Beranda: pintu ke Pojok Ice Breaking ===== */

/* ===== Pojok Ice Breaking (layar proyektor) ===== */
.ib { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; color: #fff; font-family: Inter, sans-serif;
    background: radial-gradient(1200px 600px at 15% -10%, #1C3A6B 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #3A2A5E 0%, transparent 60%), #0B1B33; }
.ib.hidden { display: none; }
.ib-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 28px; }
.ib-top h1 { font-family: Lora, Georgia, serif; font-size: 22px; font-weight: 700; }
.ib-top-right { display: flex; gap: 8px; }
.ib-topbtn { display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; justify-content: center; padding: 0 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 600; }
.ib-topbtn:hover { background: rgba(255, 255, 255, .16); }
.ib-invisible { visibility: hidden; }
.ib-topbtn.hidden { display: none; }
.ib-stage { flex: 1; min-height: 0; overflow: auto; padding: 8px 40px 32px; display: flex; flex-direction: column; }

.ib-btn { height: 56px; padding: 0 28px; border-radius: 12px; font-size: 18px; font-weight: 700; transition: transform .1s, background .15s; }
.ib-btn:active { transform: scale(.97); }
.ib-btn:disabled { opacity: .45; cursor: default; }
.ib-btn-main { background: #fff; color: #18181B; }
.ib-btn-main:hover:not(:disabled) { background: #EEF2FC; }
.ib-btn-ghost { background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .4); color: #fff; }
.ib-btn-ghost:hover:not(:disabled) { background: rgba(255, 255, 255, .16); }
.ib-btn-ok { background: #10B981; color: #fff; min-width: 220px; }
.ib-btn-skip { background: rgba(255, 255, 255, .1); color: #fff; min-width: 160px; }
.ib-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ib-actions-left { justify-content: flex-start; margin-top: 14px; }
.ib-hint { margin-top: 16px; text-align: center; font-size: 15px; color: #B4BCCB; }

/* Menu */
.ib-menu { max-width: 1180px; width: 100%; margin: auto; }
.ib-menu-head { text-align: center; margin-bottom: 32px; }
.ib-menu-head h2 { font-family: Lora, Georgia, serif; font-size: clamp(32px, 4vw, 52px); font-weight: 700; }
.ib-menu-head p { margin-top: 8px; font-size: 16px; color: #B4BCCB; }
.ib-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ib-card { position: relative; display: flex; flex-direction: column; text-align: left; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: transform .18s, background .18s, border-color .18s; }
.ib-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.ib-card-art { height: 170px; display: flex; align-items: center; justify-content: center; }
.ib-card-art svg { width: 130px; height: 130px; }
.ib-card-bom .ib-card-art { background: linear-gradient(160deg, #7F1D1D, #B91C1C); }
.ib-card-pilih .ib-card-art { background: linear-gradient(160deg, #1E3A8A, #0E7490); }
.ib-card-gaya .ib-card-art { background: linear-gradient(160deg, #4C1D95, #6D28D9); }
.ib-card-roda .ib-card-art { background: linear-gradient(160deg, #78350F, #B45309); }
.ib-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.ib-card-body b { font-family: Lora, Georgia, serif; font-size: 24px; }
.ib-card-body > span { font-size: 14px; line-height: 1.55; color: #CBD3E1; }
.ib-card-body small { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: #A9BCF5; }
.ib-spark { transform-origin: center; transform-box: fill-box; animation: ib-spark .35s infinite alternate; }
@keyframes ib-spark { from { transform: scale(.8); opacity: .7; } to { transform: scale(1.15); opacity: 1; } }

/* Bom Waktu */
.ib-bom { margin: auto; text-align: center; width: 100%; max-width: 1000px; }
.ib-kat { display: inline-flex; flex-direction: column; gap: 6px; padding: 18px 40px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.ib-kat small { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A9BCF5; }
.ib-kat b { font-family: Lora, Georgia, serif; font-size: clamp(34px, 5vw, 64px); line-height: 1.1; }
.ib-bomb-wrap { margin-top: 18px; }
.ib-bomb { display: block; margin: 0 auto; width: min(36vh, 320px); height: min(36vh, 320px); }
.ib-bom.is-run .ib-bomb { animation: ib-shake .18s infinite; }
@keyframes ib-shake { 0% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-3px, 1px) rotate(-1.5deg); } 50% { transform: translate(2px, -2px) rotate(1deg); } 75% { transform: translate(-1px, 2px) rotate(-.5deg); } 100% { transform: translate(0, 0) rotate(0); } }
.ib-boom { margin: auto; text-align: center; position: relative; max-width: 960px; width: 100%; }
.ib-boom-flash { position: fixed; inset: 0; background: #FDE68A; pointer-events: none; animation: ib-flash .7s ease-out forwards; }
@keyframes ib-flash { from { opacity: .95; } to { opacity: 0; } }
.ib-boom h2 { font-family: Lora, Georgia, serif; font-size: clamp(72px, 12vw, 160px); font-weight: 700; line-height: 1; color: #F59E0B; text-shadow: 0 6px 0 #7F1D1D; animation: ib-pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes ib-pop { from { transform: scale(.3); } to { transform: scale(1); } }
.ib-boom > p { margin-top: 18px; font-size: 20px; color: #CBD3E1; }
.ib-qcard { margin: 18px auto 0; max-width: 820px; padding: 30px 36px; border-radius: 20px; background: #fff; color: #18181B; font-family: Lora, Georgia, serif; font-size: clamp(24px, 3vw, 36px); line-height: 1.35; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }

/* Pilih Mana? */
.ib-pilih { flex: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; min-height: 0; }
.ib-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 32px; border-radius: 24px; text-align: center; }
.ib-side span { font-family: Lora, Georgia, serif; font-size: clamp(40px, 6vw, 88px); font-weight: 700; line-height: 1.08; }
.ib-side-a { background: linear-gradient(160deg, #1D4ED8, #1E3A8A); }
.ib-side-b { background: linear-gradient(160deg, #D97706, #B45309); }
.ib-vs { align-self: center; width: 96px; height: 96px; margin: 0 -48px; z-index: 1; border-radius: 50%; background: #fff; color: #18181B; font-weight: 900; font-size: 32px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.ib-count { display: flex; align-items: center; gap: 18px; background: rgba(0, 0, 0, .2); border-radius: 999px; padding: 8px; }
.ib-count button { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .15); font-size: 28px; font-weight: 700; line-height: 1; }
.ib-count button:hover { background: rgba(255, 255, 255, .3); }
.ib-count b { min-width: 60px; text-align: center; font-size: 34px; }
.ib-actions-bar { align-items: center; margin-top: 22px; }
.ib-step { font-size: 15px; color: #B4BCCB; margin-right: auto; }

/* Tebak Gaya */
.ib-setup, .ib-ready { margin: auto; text-align: center; max-width: 900px; width: 100%; }
.ib-setup h2, .ib-ready h2 { font-family: Lora, Georgia, serif; font-size: clamp(34px, 4.5vw, 60px); font-weight: 700; }
.ib-setup > p { margin: 12px auto 0; max-width: 720px; font-size: 18px; line-height: 1.6; color: #CBD3E1; }
.ib-setup p b { color: #fff; }
.ib-teams { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; text-align: left; }
.ib-teams label span { display: block; font-size: 13px; color: #B4BCCB; margin-bottom: 6px; }
.ib-teams input { width: 100%; height: 52px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 18px; font-weight: 600; padding: 0 16px; outline: 0; }
.ib-teams input:focus { border-color: #fff; }
.ib-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: #B4BCCB; }
.ib-row .ib-gap { margin-left: 18px; }
.ib-pill { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-weight: 600; }
.ib-pill.is-on { background: #fff; color: #18181B; border-color: #fff; }
.ib-score { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.ib-score div { display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1.5px solid transparent; font-size: 17px; color: #CBD3E1; }
.ib-score div.is-on { border-color: #A9BCF5; color: #fff; background: rgba(169, 188, 245, .12); }
.ib-score b { font-size: 28px; color: #fff; }
.ib-ready small { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #A9BCF5; }
.ib-ready > p { margin-top: 10px; font-size: 20px; color: #CBD3E1; }
.ib-log { margin: 20px auto 0; max-width: 820px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ib-log span { padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.ib-log .ok { background: rgba(16, 185, 129, .2); color: #6EE7B7; }
.ib-log .no { background: rgba(255, 255, 255, .08); color: #94A0B3; text-decoration: line-through; }
.ib-play { margin: auto; text-align: center; width: 100%; }
.ib-timer { --p: 1; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: conic-gradient(#A9BCF5 calc(var(--p) * 360deg), rgba(255, 255, 255, .1) 0); transition: background .3s; }
.ib-timer b { width: 96px; height: 96px; border-radius: 50%; background: #0B1B33; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.ib-timer.is-low { background: conic-gradient(#EF4444 calc(var(--p) * 360deg), rgba(255, 255, 255, .1) 0); }
.ib-word { margin-top: 28px; font-family: Lora, Georgia, serif; font-size: clamp(56px, 9vw, 130px); font-weight: 700; line-height: 1.05; }

/* Roda Undian */
.ib-roda { margin: auto; width: 100%; max-width: 1200px; display: grid; grid-template-columns: auto 360px; gap: 48px; align-items: center; justify-content: center; }
.ib-wheel-wrap { position: relative; width: min(66vh, 600px); height: min(66vh, 600px); }
.ib-wheel-wrap canvas { width: 100%; height: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .4)); }
.ib-pointer { position: absolute; left: 50%; top: -14px; width: 46px; height: 46px; transform: translateX(-50%); z-index: 2; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.ib-spin { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #18181B; font-weight: 900; font-size: 20px; letter-spacing: .06em; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ib-spin:active { transform: translate(-50%, -50%) scale(.95); }
.ib-names h3 { font-family: Lora, Georgia, serif; font-size: 24px; }
.ib-names > p { font-size: 14px; color: #B4BCCB; margin-top: 2px; }
.ib-names textarea { margin-top: 12px; width: 100%; height: 230px; resize: vertical; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; line-height: 1.6; padding: 12px 14px; outline: 0; }
.ib-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: #CBD3E1; }
.ib-check input { width: 18px; height: 18px; }
.ib-hasil { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #fff; color: #18181B; animation: ib-pop .4s cubic-bezier(.2, 1.6, .4, 1); }
.ib-hasil small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #B45309; }
.ib-hasil b { display: block; font-family: Lora, Georgia, serif; font-size: 34px; line-height: 1.15; margin-top: 4px; }

@media (max-width: 1023px) {
    .ib-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ib-roda { grid-template-columns: 1fr; justify-items: center; }
    .ib-names { width: 100%; max-width: 520px; }
}
@media (max-width: 640px) {
    .ib-stage { padding: 8px 16px 24px; }
    .ib-top { padding: 12px 16px; }
    .ib-top h1 { font-size: 17px; }
    .ib-cards { grid-template-columns: 1fr; }
    .ib-card-art { height: 120px; }
    .ib-pilih { grid-template-columns: 1fr; grid-template-rows: 1fr auto 1fr; }
    .ib-vs { margin: -36px auto; width: 72px; height: 72px; font-size: 24px; }
    .ib-teams { grid-template-columns: 1fr; }
    .ib-btn { height: 50px; font-size: 16px; padding: 0 20px; }
}

/* Kartu menu: tombol utama + tautan cara main */
.ib-card-main { display: flex; flex-direction: column; text-align: left; flex: 1; }
.ib-card-help { margin: 0 22px 20px; align-self: flex-start; font-size: 13px; font-weight: 600; color: #fff; border-bottom: 1.5px solid rgba(255, 255, 255, .5); padding-bottom: 1px; }
.ib-card-help:hover { border-color: #fff; }
.ib-card-body { padding-bottom: 14px !important; }

/* Panel panduan */
.ib-guide { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ib-guide.hidden { display: none; }
.ib-guide-backdrop { position: absolute; inset: 0; background: rgba(5, 12, 26, .72); }
.ib-guide-panel { position: relative; width: min(760px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; color: #0F172A; border-radius: 20px; padding: 32px 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); animation: ib-pop .3s ease-out; }
.ib-guide-kick { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #B45309; }
.ib-guide-panel h2 { font-family: Lora, Georgia, serif; font-size: 34px; font-weight: 700; color: #18181B; margin-top: 4px; }
.ib-guide-konsep { margin-top: 10px; font-size: 17px; line-height: 1.6; color: #334155; }
.ib-guide-butuh { margin-top: 16px; display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 12px; background: #F1F4F9; font-size: 15px; color: #334155; }
.ib-guide-butuh b { flex-shrink: 0; color: #18181B; }
.ib-guide-steps { margin-top: 18px; counter-reset: s; }
.ib-guide-steps li { list-style: none; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid #E4E8F0; font-size: 16px; line-height: 1.55; color: #1E293B; counter-increment: s; }
.ib-guide-steps li:last-child { border-bottom: 0; }
.ib-guide-steps li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: #3A5CCC; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ib-guide-steps b { color: #3A5CCC; }
.ib-guide-tips { margin-top: 16px; padding: 14px 16px; border-left: 4px solid #3A5CCC; background: #FFFBEB; border-radius: 0 12px 12px 0; font-size: 15px; line-height: 1.55; color: #44403C; }
.ib-guide-tips b { display: block; color: #92400E; margin-bottom: 2px; }
.ib-guide-panel .ib-actions { margin-top: 22px; }
.ib-guide-panel .ib-btn-main { background: #3A5CCC; color: #fff; }
.ib-guide-panel .ib-btn-main:hover { background: #1A4A7A; }
@media (max-width: 640px) { .ib-guide-panel { padding: 24px 20px; } .ib-guide-panel h2 { font-size: 26px; } .ib-guide-steps li { font-size: 15px; } #ib-help { padding: 0 10px; font-size: 0; gap: 0; } }

/* ===== Nama situs: Driven ===== */
.brand-name { font-family: Lora, Georgia, serif; font-size: 19px; font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }

/* =====================================================================
   TEMA NEUTRAL (krem, pasir, cokelat, espresso)
   Krem #FFFFFF · Pasir #F1F4FB · Cokelat #3A5CCC · Cokelat tua #2C47A8 · Espresso #18181B
   ===================================================================== */

/* kartu beranda bernuansa netral */

/* (aturan banner pasir di bawah ini ditimpa oleh blok "gambar natural") */
.gl-banner { background: linear-gradient(90deg, rgba(241, 244, 251, .96) 0%, rgba(241, 244, 251, .90) 50%, rgba(241, 244, 251, .82) 100%), url("../img/glosarium-banner.svg") center / cover no-repeat; }
.rp-banner { background: linear-gradient(90deg, rgba(241, 244, 251, .96) 0%, rgba(241, 244, 251, .90) 50%, rgba(241, 244, 251, .82) 100%), url("../img/repository-banner.svg") center / cover no-repeat; }
.gl-banner-title h1 { color: #18181B; }
.gl-banner-title h1 span { color: #3A5CCC; }
.gl-banner-title p { color: #4B5563; }
.gl-field { border-color: #D5DBE5; }
.gl-btn { background: #3A5CCC; border-color: transparent; }
.gl-btn:hover { background: #2C47A8; }
.gl-reset { color: #3A5CCC; }
.dark .gl-banner { background: linear-gradient(90deg, rgba(17, 24, 39, .94), rgba(17, 24, 39, .82)), url("../img/glosarium-banner.svg") center / cover no-repeat; }
.dark .rp-banner { background: linear-gradient(90deg, rgba(17, 24, 39, .94), rgba(17, 24, 39, .82)), url("../img/repository-banner.svg") center / cover no-repeat; }
.dark .gl-banner-title h1 { color: #F1F4F9; }
.dark .gl-banner-title h1 span, .dark .gl-reset { color: #A9BCF5; }
.dark .gl-banner-title p { color: #B4BCCB; }
.rp-card-btn { background: #3A5CCC; }
.rp-card:hover .rp-card-btn { background: #2C47A8; }
.dark .bg-kemenpar-light { background-color: #0B0F17; }

/* ===== Banner Glosarium & Repository: gambar natural, teks di atas kartu krem ===== */
.gl-banner { background: url("../img/glosarium-banner.svg") center / cover no-repeat; }
.rp-banner { background: url("../img/repository-banner.svg") center / cover no-repeat; }
.gl-banner-title { background: #FFFFFF; padding: 16px 22px; border-radius: 16px; box-shadow: 0 8px 24px rgba(24, 24, 27, .12); }
.gl-search { background: #FFFFFF; padding: 10px; border-radius: 16px; box-shadow: 0 8px 24px rgba(24, 24, 27, .12); }
.gl-reset { padding: 0 8px; }
.dark .gl-banner { background: url("../img/glosarium-banner.svg") center / cover no-repeat; }
.dark .rp-banner { background: url("../img/repository-banner.svg") center / cover no-repeat; }
.dark .gl-banner-title, .dark .gl-search { background: #111827; }

/* ===== Beranda: carousel banner (4 slide) =====
   Font judul: Instrument Serif (kata miring = aksen warna per slide, diatur lewat --ac di HTML)
   Font teks: Instrument Sans */
.hc { position: relative; height: 560px; border-radius: 28px; overflow: hidden; background: #111; margin-top: 8px; font-family: "Instrument Sans", Inter, sans-serif; }
.hc-track { position: absolute; inset: 0; }
.hc-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 0 30px 26px; color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.hc-slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
/* foto latar + perbesaran pelan saat slide aktif */
.hc-slide::before { content: ""; position: absolute; inset: 0; background: var(--bg) var(--pos, center) / var(--size, cover) no-repeat; transform: scale(1.07); transition: transform 4s ease-out; }
.hc-slide.is-on::before { transform: scale(1); }
/* bayangan tipis supaya tulisan putih terbaca */
.hc-slide::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(70% 62% at 50% 44%, rgba(10, 10, 12, .50), rgba(10, 10, 12, .12) 80%), linear-gradient(180deg, rgba(10, 10, 12, 0) 55%, rgba(10, 10, 12, .55) 100%); }
.hc-kuat::after { background: radial-gradient(72% 64% at 50% 44%, rgba(10, 10, 12, .68), rgba(10, 10, 12, .30) 80%), linear-gradient(180deg, rgba(10, 10, 12, .15) 0%, rgba(10, 10, 12, 0) 40%, rgba(10, 10, 12, .6) 100%); }
.hc-center, .hc-foot { position: relative; z-index: 1; }
.hc-center { margin: auto; text-align: center; max-width: 860px; padding-top: 26px; }
.hc-center h1, .hc-center h2 { font-family: "Instrument Serif", Georgia, serif; font-size: 62px; font-weight: 400; line-height: 1.04; letter-spacing: -.012em; text-shadow: 0 2px 24px rgba(0, 0, 0, .28); }
.hc-center em { font-style: italic; color: var(--ac, #fff); }
.hc-center p { margin: 18px auto 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hc-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; height: 44px; padding: 0 22px; border-radius: 999px; background: #fff; color: #111; font-size: 14.5px; font-weight: 600; letter-spacing: .005em; transition: transform .2s, background .2s, color .2s; }
.hc-btn span { display: inline-block; transition: transform .2s; }
.hc-btn:hover { background: var(--ac, #fff); color: #111; }
.hc-btn:hover span { transform: translate(2px, -2px); }
.hc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.hc-left { display: flex; align-items: center; gap: 12px; font-size: 12.5px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.hc-left b { font-weight: 600; color: #fff; font-size: 13.5px; }
.hc-ava { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.hc-ava img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.hc-ava img + img { margin-left: -8px; }
.hc-links { display: flex; gap: 22px; }
.hc-links button { font-size: 13px; color: rgba(255, 255, 255, .9); }
.hc-links button:hover { color: var(--ac, #fff); }
/* slide berfoto terang (Notula): tulisan gelap, tanpa bayangan gelap */
.hc-cerah { color: #1C1917; }
.hc-cerah::after { background: radial-gradient(60% 60% at 50% 46%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 75%), linear-gradient(180deg, rgba(10, 10, 12, 0) 62%, rgba(10, 10, 12, .5) 100%); }
.hc-cerah .hc-center h2 { text-shadow: none; }
.hc-cerah .hc-center p { color: #3F3A36; text-shadow: none; }
.hc-cerah .hc-btn { background: #1C1917; color: #fff; }
.hc-cerah .hc-btn:hover { background: var(--ac); color: #fff; }
.hc-cerah .hc-left, .hc-cerah .hc-links button { color: rgba(255, 255, 255, .92); }
.hc-cerah .hc-left b { color: #fff; }
.hc-dots { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: flex; gap: 6px; }
.hc-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width .3s, background .3s; }
.hc-dots button.is-on { width: 28px; background: #fff; }
.hc-dots button:focus-visible, .hc-btn:focus-visible, .hc-links button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 767px) {
    .hc { height: 520px; border-radius: 20px; }
    .hc-slide { padding: 0 18px 18px; }
    .hc-slide::before { background-size: cover; }
    .hc-center h1, .hc-center h2 { font-size: 38px; }
    .hc-center br { display: none; }
    .hc-center p { font-size: 14.5px; }
    .hc-foot { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 22px; }
    .hc-links { gap: 14px; flex-wrap: wrap; }
    .hc-dots { bottom: auto; top: 18px; }
    .hc-cerah .hc-dots button { background: rgba(28, 25, 23, .35); }
}
@media (prefers-reduced-motion: reduce) { .hc-slide, .hc-slide::before { transition: none; } }

/* =====================================================================
   BERANDA versi 2: navbar transparan di atas banner + bagian bawah
   (logo, Fitur, Jalan pintas). Font: Instrument Sans.
   ===================================================================== */
#tab-home { font-family: "Instrument Sans", Inter, sans-serif; }

/* --- Navbar menyatu dengan banner (desktop, khusus Beranda) --- */
.hd-bar { transition: background .3s, box-shadow .3s, border-color .3s, margin .3s; }
@media (min-width: 768px) {
    body.on-home header.nav-fade { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-color: transparent; padding-top: 56px; pointer-events: none; transition: padding .3s; }
    body.on-home header.nav-fade::after { display: none; }
    body.on-home .hd-bar { pointer-events: auto; height: 60px; margin: 0 18px; padding: 0 10px 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
    body.on-home .hd-bar .brand-name, body.on-home .hd-bar .hd-sub, body.on-home .hd-bar .hd-sub b { color: #fff; }
    body.on-home .hd-bar .hd-sub { opacity: .8; }
    body.on-home .hd-bar nav { height: auto; align-items: center; gap: 4px; }
    body.on-home .hd-bar nav button { height: 36px; padding: 0 16px; border-radius: 999px; border: 0; color: rgba(255, 255, 255, .88); }
    body.on-home .hd-bar nav button:hover { color: #fff; background: rgba(255, 255, 255, .12); }
    body.on-home .hd-bar nav button.border-kemenpar-coklat { background: #fff; color: #111; }
    body.on-home .hd-bar .bg-kemenpar-coklat { background: #fff; color: #111; border-radius: 999px; padding: 9px 16px; }
    body.on-home .hd-bar .portal-only, body.on-home .hd-bar .admin-only, body.on-home .hd-bar #theme-toggle { color: rgba(255, 255, 255, .9); }
    body.on-home .hd-bar .portal-only:hover, body.on-home .hd-bar .admin-only:hover, body.on-home .hd-bar #theme-toggle:hover { background: rgba(255, 255, 255, .12); color: #fff; }
    /* setelah digulir: bar jadi putih supaya tetap terbaca di atas konten */
    body.on-home.nav-scrolled header.nav-fade { padding-top: 12px; }
    body.on-home.nav-scrolled .hd-bar { background: rgba(255, 255, 255, .94); border-color: #E4E8F0; box-shadow: 0 10px 30px rgba(17, 24, 39, .10); }
    body.on-home.nav-scrolled .hd-bar .brand-name { color: #18181B; }
    body.on-home.nav-scrolled .hd-bar .hd-sub, body.on-home.nav-scrolled .hd-bar .hd-sub b { color: #5B6475; opacity: 1; }
    body.on-home.nav-scrolled .hd-bar nav button { color: #5B6475; }
    body.on-home.nav-scrolled .hd-bar nav button:hover { color: #18181B; background: #F1F4F9; }
    body.on-home.nav-scrolled .hd-bar nav button.border-kemenpar-coklat { background: #18181B; color: #fff; }
    body.on-home.nav-scrolled .hd-bar .bg-kemenpar-coklat { background: #18181B; color: #fff; }
    body.on-home.nav-scrolled .hd-bar .portal-only, body.on-home.nav-scrolled .hd-bar .admin-only, body.on-home.nav-scrolled .hd-bar #theme-toggle { color: #4B5563; }
    .dark body.on-home.nav-scrolled .hd-bar, html.dark body.on-home.nav-scrolled .hd-bar { background: rgba(17, 24, 39, .94); border-color: #2A3446; }
    html.dark body.on-home.nav-scrolled .hd-bar .brand-name, html.dark body.on-home.nav-scrolled .hd-bar nav button.border-kemenpar-coklat { color: #fff; }
    body.on-home .hc { height: 620px; }
    body.on-home .hc-center { padding-top: 84px; }
}

/* --- Deretan logo --- */
.hx-logos { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 8px 10px; color: #8A93A5; }
.hx-logos img { height: 38px; width: auto; filter: grayscale(1); opacity: .6; }
.hx-logos span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* --- Kepala bagian --- */
.hx-sec { margin-top: 72px; }
.hx-head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: start; }
.hx-pill { justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid #E4E8F0; border-radius: 999px; font-size: 12.5px; color: #374151; background: #fff; }
.hx-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #18181B; }
.hx-head h2, .hx-pintas h2 { font-size: 38px; line-height: 1.12; font-weight: 600; letter-spacing: -.025em; color: #18181B; }
.hx-head h2 span { display: block; color: #9CA3AF; }

/* --- Tiga kartu fitur --- */
.hx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.hx-card { position: relative; height: 320px; border-radius: 18px; padding: 24px; text-align: left; display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.hx-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17, 24, 39, .12); }
.hx-card h3 { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.hx-card p { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.hx-card-muda { background: #F3F5F9; color: #18181B; }
.hx-card-muda .hx-kecil { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #3A5CCC; margin-bottom: 6px; }
.hx-card-muda h3 { padding-right: 56px; }
.hx-card-muda p { color: #6B7280; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hx-ico { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: #18181B; }
.hx-angka { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.hx-angka b { font-size: 56px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.hx-angka span { font-size: 15px; line-height: 1.25; font-weight: 500; }
.hx-card-foto { color: #18181B; background: url("../img/hc-notula.jpg") 22% 30% / 190% auto no-repeat; }
.hx-card-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 55%); }
.hx-card-foto > * { position: relative; z-index: 1; }
.hx-card-foto p { color: #3F3A36; }
.hx-tag { margin-top: auto; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #fff; font-size: 13px; color: #374151; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.hx-tag b { color: #18181B; }
.hx-card-biru { background: #1E3A8A; color: #fff; }
.hx-besar { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.hx-card-biru p { color: rgba(255, 255, 255, .8); }
.hx-chart { margin-top: auto; display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.hx-chart div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.hx-chart i { display: block; width: 100%; border-radius: 6px 6px 3px 3px; background: #fff; min-height: 8px; }
.hx-chart div:nth-child(even) i { background: rgba(255, 255, 255, .35); }
.hx-chart small { font-size: 11px; color: rgba(255, 255, 255, .75); }

/* --- Jalan pintas --- */
.hx-pintas { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 24px; }
.hx-pintas h2 { margin-top: 18px; }
.hx-btn-gelap { margin-top: 22px; height: 38px; padding: 0 18px; border-radius: 999px; background: #18181B; color: #fff; font-size: 13.5px; font-weight: 500; }
.hx-btn-gelap:hover { background: #3A5CCC; }
.hx-foto { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.hx-foto img { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; }
.hx-list { border-top: 1px solid #EEF1F5; }
.hx-list li { border-bottom: 1px solid #EEF1F5; }
.hx-list button { width: 100%; display: flex; align-items: flex-start; gap: 16px; padding: 22px 4px; text-align: left; }
.hx-li-ico { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #F3F5F9; display: flex; align-items: center; justify-content: center; color: #18181B; }
.hx-list b { display: block; font-size: 16px; font-weight: 600; color: #18181B; }
.hx-list small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: #6B7280; max-width: 420px; }
.hx-go { margin-left: auto; align-self: center; flex-shrink: 0; color: #18181B; transition: transform .2s; }
.hx-list button:hover .hx-go { transform: translate(3px, -3px); color: #3A5CCC; }
.hx-list button:hover b { color: #3A5CCC; }

/* --- Mode gelap --- */
.dark .hx-head h2, .dark .hx-pintas h2, .dark .hx-list b, .dark .hx-go, .dark .hx-card-muda { color: #F1F4F9; }
.dark .hx-pill { background: #111827; border-color: #2A3446; color: #CBD3E1; }
.dark .hx-pill::before { background: #F1F4F9; }
.dark .hx-card-muda { background: #1A2233; }
.dark .hx-ico, .dark .hx-li-ico { background: #2A3446; color: #F1F4F9; }
.dark .hx-list, .dark .hx-list li { border-color: #2A3446; }
.dark .hx-logos img { filter: grayscale(1) invert(1); opacity: .5; }

/* --- HP & tablet --- */
@media (max-width: 1023px) {
    .hx-logos { flex-wrap: wrap; justify-content: center; }
    .hx-head, .hx-pintas { grid-template-columns: 1fr; }
    .hx-cards { grid-template-columns: 1fr; }
    .hx-head h2, .hx-pintas h2 { font-size: 30px; }
}
@media (max-width: 767px) {
    .hx-sec { margin-top: 48px; }
    .hx-logos { gap: 16px 22px; }
    .hx-logos img { height: 30px; }
    .hx-logos span { font-size: 13px; }
    .hx-card { height: 280px; }
    .hx-foto img { height: 120px; }
}

/* ===== Beranda: banner & isi selebar layar, navbar persegi ===== */
body.on-home { --gut: clamp(16px, 4vw, 64px); }
body.on-home main { max-width: none; padding: 0 0 32px; }
body.on-home .hc { margin-top: 0; border-radius: 0; }
body.on-home #tab-home > section:not(.hc) { padding-left: var(--gut); padding-right: var(--gut); }
@media (min-width: 768px) {
    body.on-home header.nav-fade, body.on-home.nav-scrolled header.nav-fade { padding-top: 0; }
    body.on-home header.nav-fade > .max-w-7xl { max-width: none; padding: 0; }
    body.on-home .hd-bar { height: 72px; margin: 0; padding: 0 var(--gut); border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
    body.on-home.nav-scrolled .hd-bar { border-bottom-color: #E4E8F0; }
    body.on-home .hc { height: 680px; }
    body.on-home .hc-center { padding-top: 72px; }
    body.on-home .hc-slide { padding: 0 var(--gut) 30px; }
}
body.on-home footer > .max-w-7xl { max-width: none; padding-left: var(--gut); padding-right: var(--gut); }

/* ===== Logo Driven (putih, tanpa latar) =====
   File logonya putih. Di latar terang (navbar putih) logo dibuat hitam lewat filter,
   di atas banner Beranda, mode gelap, dan footer logo tetap putih. */
.logo-nav { filter: brightness(0); transition: filter .3s; }
.dark .logo-nav { filter: none; }
@media (min-width: 768px) {
    body.on-home:not(.nav-scrolled) .logo-nav { filter: none; }
}
