/* ============================================================
   eRISPRO Microsite (views/site/microsite) - style bersama semua halaman
   Brand: ungu LPDP #483390 + aksen dari top-banner (oranye, merah bata, krem)
   ============================================================ */
:root {
    --primary: #483390;
    --primary-600: #3a2878;
    --primary-50: #f1eefa;
    --orange: #ef7036;
    --brick: #a63a32;
    --cream: #ebe5d6;
    --ink: #1d1b2e;
    --muted: #6b6880;
    --line: #e7e5ef;
    --bg: #f8f7fc;
    --surface: #ffffff;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(29, 27, 46, .04), 0 8px 24px rgba(72, 51, 144, .07);
    --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Poppins", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ---------- typography helpers ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--primary);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; font-weight: 600; margin: 12px 0 12px; }
.section-lead { color: var(--muted); max-width: 640px; margin: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 999px;
    font-weight: 500; font-size: 15px; border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(72, 51, 144, .28); }
.btn-primary:hover { background: var(--primary-600); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn svg { width: 16px; height: 16px; }

/* ---------- navbar ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(231, 229, 239, .7);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.brand img { height: 70px; width: auto; }
.brand span b { color: var(--primary); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted);
    transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-50); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 10px 18px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding: 16px 0 20px; }
.hero-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
    background: var(--surface); border-radius: 32px; box-shadow: var(--shadow);
    min-height: 340px;
}
.hero-copy { padding: 26px 44px; position: relative; z-index: 2; }
.hero-copy .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--primary-50);
    font-size: 13px; font-weight: 500; color: var(--primary);
}
.hero-copy .badge i {
    font-style: normal; background: var(--primary); color: #fff;
    padding: 2px 10px; border-radius: 999px; font-size: 12px;
}
.hero h1 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; font-weight: 600; margin: 14px 0 10px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 em::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
    background: var(--orange); opacity: .22; border-radius: 4px; z-index: -1;
}
.hero p { color: var(--muted); font-size: 15px; max-width: 480px; margin: 0 0 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
    align-self: stretch;
    background: url('../img/top-banner.png') right center / cover no-repeat;
    /* top-banner punya area putih di kiri; fade supaya nyambung ke copy */
    mask-image: linear-gradient(to right, transparent 0%, #000 22%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
.hero-strip {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px;
}
.hero-strip .kpi {
    background: var(--surface); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow);
}
.kpi .num { font-size: 28px; font-weight: 600; color: var(--primary); line-height: 1.1; }
.kpi .lbl { font-size: 13px; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; font-weight: 600; margin: 10px 0 16px; }
.about h2 span { color: var(--primary); }
.ministry-logos { height: 56px; width: auto; margin-top: 8px; }
.about p { margin: 0 0 16px; font-size: 17px; }
.about p.small { font-size: 15px; color: var(--muted); margin-bottom: 0; }
/* satu kartu selebar kontainer: tiap baris = label kiri + logo berjajar kanan */
.logo-groups {
    margin-top: 40px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 6px 28px;
}
.logo-group { display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; padding: 20px 0; }
.logo-group + .logo-group { border-top: 1px solid var(--line); }
.logo-group h4 { margin: 0; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.logo-wall { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; }
.logo-wall img {
    height: 40px; width: auto; max-width: 150px; object-fit: contain;
    transition: transform .2s;
}
.logo-wall a:hover img { transform: scale(1.06); }

/* ---------- tech brief ---------- */
.techbrief { background: var(--surface); }
.tb-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
    gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    scrollbar-width: thin;
}
.tb-item { scroll-snap-align: start; }
.tb-cover {
    aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream);
    box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.tb-cover img { width: 100%; height: 100%; object-fit: cover; }
.tb-item:hover .tb-cover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(72, 51, 144, .18); }
.tb-item .vol { margin-top: 12px; font-weight: 600; font-size: 15px; }
.tb-item .vol small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.tb-nav { display: flex; gap: 8px; }
.icon-btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
    display: grid; place-items: center; cursor: pointer; transition: border-color .15s, color .15s;
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- schemes ---------- */
.schemes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.scheme {
    position: relative; overflow: hidden;
    background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 18px;
}
.scheme::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent, var(--primary));
}
.scheme-head { display: flex; align-items: center; gap: 12px; }
.scheme-icon {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
    background: color-mix(in srgb, var(--accent, var(--primary)) 14%, white); color: var(--accent, var(--primary));
}
.scheme-icon svg { width: 20px; height: 20px; }
.scheme h3 { margin: 0; font-size: 17px; font-weight: 600; }
.scheme .total { font-size: 13px; color: var(--muted); }
.scheme .total b { display: block; color: var(--ink); font-size: 22px; font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; background: var(--accent, var(--primary)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split div { font-size: 13px; color: var(--muted); }
.split b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.split .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--accent, var(--primary)); }
.split .dot.off { background: var(--line); }
.center { text-align: center; margin-top: 36px; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.select {
    appearance: none; -webkit-appearance: none;
    font: inherit; font-size: 14px; color: var(--ink);
    padding: 10px 40px 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface)
        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='%236b6880' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center no-repeat;
    cursor: pointer;
}
.select:focus { outline: 2px solid var(--primary-50); border-color: var(--primary); }

/* ---------- focus chart (placeholder pengganti highcharts) ---------- */
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.chart-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.chart-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.chart-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.hbar { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.hbar .name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.hbar .track { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.hbar .track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--primary), #7a63d1); }
.hbar .val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart-card.alt .track i { background: linear-gradient(90deg, var(--orange), #f6a26e); }

/* ---------- outputs ---------- */
.outputs { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.outputs::before, .outputs::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.outputs::before { width: 420px; height: 420px; background: var(--orange); opacity: .12; top: -160px; right: -120px; }
.outputs::after { width: 300px; height: 300px; background: var(--cream); opacity: .08; bottom: -140px; left: -80px; }
.outputs .eyebrow { color: #cfc6f2; }
.outputs .section-lead { color: #cfc6f2; }
.outputs .select { background-color: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff;
    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='%23ffffff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.outputs .select option { color: var(--ink); }
.out-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; z-index: 1; }
.out {
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-sm); padding: 20px; transition: background .2s, transform .2s;
}
.out:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }
.out svg { width: 26px; height: 26px; color: #f6a26e; margin-bottom: 14px; }
.out .n { font-size: 24px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.out .l { font-size: 13px; color: #d7d0f3; margin-top: 4px; }

/* ---------- footer ---------- */
footer { background: #16132a; color: #bdb8d4; padding: 64px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; }
footer h5 { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
footer p { margin: 0 0 8px; }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.06); transition: background .15s;
}
.socials a:hover { background: var(--primary); }
.socials img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
/* kartu pengaduan pelanggaran di footer */
.report-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
    border-radius: var(--radius); padding: 22px;
}
.report-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.report-head h5 { margin: 0; line-height: 1.35; }
.report-icon {
    flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(239,112,54,.15); color: #f6a26e;
}
.report-icon svg { width: 20px; height: 20px; }
.report-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    background: #fff; color: var(--primary); font-weight: 600; font-size: 13px; transition: transform .15s, background .15s;
}
.report-link:hover { background: var(--primary-50); transform: translateY(-1px); }
.report-link svg { width: 14px; height: 14px; }
.report-notes { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 12px; }
.report-notes li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13px; line-height: 1.55; color: #cfc9e6; }
.report-notes svg { width: 18px; height: 18px; color: #8f86c4; margin-top: 1px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .schemes-grid { grid-template-columns: repeat(2, 1fr); }
    .out-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: block; }
    .nav.open .nav-links {
        display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0;
        background: var(--surface); padding: 12px 24px 20px; border-bottom: 1px solid var(--line);
    }
    .hero-card { grid-template-columns: 1fr; }
    .hero-copy { padding: 40px 28px 8px; }
    .hero-visual { min-height: 0; aspect-ratio: 2880 / 1412; background-size: 100% auto; background-position: center bottom; mask-image: none; -webkit-mask-image: none; }
    .hero-strip { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .charts, .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .schemes-grid { grid-template-columns: 1fr; }
    .logo-groups { padding: 4px 18px; }
    .logo-group { grid-template-columns: 1fr; gap: 14px; }
    .logo-wall { gap: 14px 24px; }
    .logo-wall img { height: 34px; }
    .out-grid { grid-template-columns: repeat(2, 1fr); }
    .hbar { grid-template-columns: 100px 1fr 56px; }
    .hero-strip { gap: 10px; }
    .hero-strip .kpi { padding: 16px; }
    .kpi .num { font-size: 20px; white-space: nowrap; }
    .nav-cta .btn-primary { padding: 8px 14px; white-space: nowrap; }
    .brand img { height: 48px; }
    .brand { font-size: 16px; gap: 6px; }
}
section[id] { scroll-margin-top: 76px; }

/* ---------- login modal (assets/login-modal.js) ---------- */
dialog.lmodal {
    width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0;
    border-radius: 24px; box-shadow: 0 30px 80px rgba(22, 19, 42, .35); color: var(--ink); background: var(--surface);
}
dialog.lmodal::backdrop { background: rgba(22, 19, 42, .55); backdrop-filter: blur(3px); }
dialog.lmodal[open] { animation: lmodalIn .2s ease; }
@keyframes lmodalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.lmodal-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 28px 28px 8px; }
.lmodal-head h2 { margin: 8px 0 4px; font-size: 24px; font-weight: 600; }
.lmodal-head p { margin: 0; font-size: 14px; color: var(--muted); }
.lmodal-panel { padding: 20px 28px 28px; display: grid; gap: 8px; }
.lrole {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); transition: border-color .15s, background .15s, transform .15s;
}
.lrole:hover { border-color: var(--primary); background: var(--bg); transform: translateX(2px); }
.lrole-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.lrole-icon svg { width: 20px; height: 20px; }
.lrole-text { font-size: 13px; color: var(--muted); line-height: 1.4; }
.lrole-text b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.lrole-arrow { width: 18px; height: 18px; color: var(--muted); }
.lrole:hover .lrole-arrow { color: var(--primary); }
@media (max-width: 600px) {
    .lmodal-head, .lmodal-panel { padding-left: 18px; padding-right: 18px; }
        }

/* ---------- utilitas (pengganti atribut style di HTML) ---------- */
.section-flush { padding-top: 0; }
#projects { padding-top: 40px; }
section.about { padding-top: 8px; padding-bottom: 32px; }
/* warna aksen per skema / kategori: dipakai .scheme, .pcard, .doc-group, .kpi, .tag.scheme */
.accent-primary { --accent: var(--primary); }
.accent-orange { --accent: var(--orange); }
.accent-brick { --accent: var(--brick); }
.accent-teal { --accent: #2f8f83; }
.accent-violet { --accent: #7a63d1; }
.accent-green { --accent: #1f8a4c; }

/* ---------- loading & state (data dari /api/public/*) ---------- */
.skel { background: linear-gradient(90deg, var(--bg) 25%, #ecebf3 50%, var(--bg) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.scheme-loading .scheme-icon { background: var(--bg); }
.skel.ms-skel-title { display: block; height: 18px; width: 55%; }
.skel.ms-skel-num { display: block; height: 26px; width: 65%; }
.skel.ms-skel-line { display: block; height: 12px; width: 100%; }
.state-msg { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 32px 0; }

/* filter 1 baris dengan kolom sama lebar (Output & Outcome); opsi panjang dipotong "…" */
.filters-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filters-row .select { width: 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 600px) {
    .filters-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Select2 (select.selects2.js-simple-dropdown, diinisialisasi di microsite.js) ----------
   prefix body supaya menang dari select2.min.css apa pun urutan file CSS-nya */
body .select2-container { font-family: inherit; min-width: 150px; }
body .select2-container--default .select2-selection--single {
    height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
    display: flex; align-items: center; outline: none; transition: border-color .15s;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 40px 0 16px; line-height: 40px; font-size: 14px; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; right: 14px; width: 14px; }
body .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px;
    background: 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='%236b6880' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 12px no-repeat;
    transition: transform .15s;
}
body .select2-container--open .select2-selection--single .select2-selection__arrow b { transform: rotate(180deg); }
body .select2-container--default.select2-container--focus .select2-selection--single,
body .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--primary); }
/* versi gelap di section Output & Outcome */
body .outputs .select2-container--default .select2-selection--single { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
body .outputs .select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff; }
body .outputs .select2-container--default .select2-selection--single .select2-selection__arrow b {
    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='%23ffffff' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
/* filter halaman Projects: sudut 12px seperti kotak cari */
body .filter-grid .select2-container--default .select2-selection--single { border-radius: 12px; }
/* dropdown (ditempel ke body oleh Select2) */
body .select2-dropdown {
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-family: Poppins, system-ui, sans-serif;
    box-shadow: 0 18px 40px rgba(22, 19, 42, .16); margin-top: 6px;
}
body .select2-container--open .select2-dropdown--above { margin-top: -6px; }
body .select2-search--dropdown { padding: 10px; }
body .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 14px; outline: none;
}
body .select2-container--default .select2-search--dropdown .select2-search__field:focus { border-color: var(--primary); }
body .select2-results__option { padding: 9px 14px; font-size: 14px; color: var(--ink); }
body .select2-container--default .select2-results__option[aria-selected=true] { background: var(--primary-50); color: var(--primary); font-weight: 500; }
body .select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--primary); color: #fff; }
body .select2-container--default .select2-results > .select2-results__options { max-height: 280px; }
/* skeleton angka hero strip (diganti angka dari API) */
.skel.ms-skel-kpi { display: block; height: 28px; width: 60%; max-width: 140px; margin: 2px 0 4px; }
/* skeleton angka Output & Outcome (latar ungu, jadi kilaunya versi terang transparan) */
.skel.ms-skel-out { display: block; height: 24px; width: 70%; max-width: 110px; margin: 1px 0; }
.outputs .skel { background: linear-gradient(90deg, rgba(255,255,255,.08) 25%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.08) 75%); background-size: 200% 100%; }

/* ---------- RISPRO Project Focus (data /api/public/focus) ---------- */
/* baris bar bisa diklik untuk membuka rincian per skema */
.hbar-list .hbar { grid-template-columns: 170px 1fr 88px; }
button.hbar {
    width: 100%; font: inherit; font-size: 13px; color: inherit; text-align: left; cursor: pointer;
    background: none; border: 0; padding: 5px 8px; margin: 0 -8px 4px; width: calc(100% + 16px); border-radius: 10px;
    transition: background .15s;
}
button.hbar:hover, button.hbar[aria-expanded="true"] { background: var(--bg); }
button.hbar:hover .name, button.hbar[aria-expanded="true"] .name { color: var(--ink); }
button.hbar:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.hbar-detail { margin: 0 0 12px 12px; padding: 8px 0 4px 12px; border-left: 2px solid var(--line); }
.hbar-detail[hidden] { display: none; }
.hbar.sub { font-size: 12px; margin-bottom: 6px; grid-template-columns: 158px 1fr 88px; }
.hbar.sub .track { height: 6px; }
.hbar.sub .track i, .chart-card.alt .hbar.sub .track i { background: var(--accent, var(--primary)); }
.hbar.sub .val { font-weight: 500; color: var(--muted); }
/* skeleton grafik focus */
.skel.ms-skel-sub { display: block; height: 12px; width: 45%; }
.skel.ms-skel-row { display: block; height: 14px; width: 100%; margin-bottom: 14px; }
.skel.ms-skel-row:nth-child(2n) { width: 82%; }
.skel.ms-skel-row:nth-child(3n) { width: 64%; }
@media (max-width: 600px) {
    .hbar-list .hbar { grid-template-columns: 96px 1fr 70px; }
    .hbar.sub { grid-template-columns: 84px 1fr 70px; }
}
