/* Final refinement layer — Desa Matobe / KKN Matobe UNP 2026 */
:root {
    --green: #034aa6 !important;
    --green-dark: #023675 !important;
    --mint: #034aa6 !important;
    --primary: #034aa6;
    --primary-dark: #023675;
    --primary-soft: #eef5ff;
    --focus: #facc15;
}


/* ===== PAGINATION DESA MATOBE: ukuran panah stabil ===== */
.matobe-pagination {
    width: 100%;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.matobe-pagination-summary {
    color: #5f7188;
    font-size: 14px;
    line-height: 1.5;
}

.matobe-pagination-pages {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.matobe-page-button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #c9d8eb;
    border-radius: 10px;
    background: #ffffff;
    color: #034aa6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

a.matobe-page-button:hover {
    background: #eaf3ff;
    border-color: #80afe7;
    transform: translateY(-1px);
}

.matobe-page-button.is-active {
    border-color: #034aa6;
    background: #034aa6;
    color: #ffffff;
}

.matobe-page-button.is-disabled {
    background: #f1f5f9;
    border-color: #dde6f0;
    color: #9baabd;
    cursor: not-allowed;
}

.matobe-page-arrow svg {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.matobe-page-ellipsis {
    min-width: 24px;
    color: #64748b;
    text-align: center;
    font-weight: 700;
}

.admin-pagination .matobe-pagination {
    margin-top: 0;
}

@media (max-width: 640px) {
    .matobe-pagination {
        justify-content: center;
    }

    .matobe-pagination-summary {
        width: 100%;
        text-align: center;
    }

    .matobe-pagination-pages {
        justify-content: center;
    }

    .matobe-page-button {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }
}


html {
    scroll-padding-top: calc(var(--header) + 16px);
}

body {
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

a,
button,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--focus) !important;
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 20000;
    padding: 10px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    transform: translateY(-160%);
    transition: transform .18s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header */
.site-header,
.nav-menu.show,
.mobile-menu,
.btn-primary,
.btn-green,
.staff-info,
.bar-fill,
.data-table th,
.floating-pengaduan {
    background: var(--primary) !important;
}

.site-header.home-transparent,
.site-header.dashboard-transparent,
body.admin-dashboard-page .site-header {
    background: rgba(2, 15, 40, .08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    box-shadow: none !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
}

.site-header.home-transparent.scrolled,
.site-header.dashboard-transparent.scrolled,
body.admin-dashboard-page .site-header.scrolled {
    background: rgba(3, 74, 166, .96) !important;
    box-shadow: 0 12px 32px rgba(2, 15, 40, .22) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.site-header .brand-logo {
    width: 60px !important;
    height: 62px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.site-header .brand-logo img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .24));
}

.brand-text strong {
    letter-spacing: .35px;
}

.nav-toggle,
.mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.nav-toggle {
    justify-content: center;
    padding-inline: 8px !important;
}

.nav-toggle i,
.mobile-toggle i {
    pointer-events: none;
}

.nav-item.has-dropdown.open > .dropdown,
.nav-item.has-dropdown:focus-within > .dropdown {
    display: block;
}

.dropdown a:hover,
.dropdown a:focus-visible,
.quick-card:hover {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
}

/* Content */
.home-hero {
    background: var(--primary-dark) !important;
}

.home-hero::before {
    background:
        linear-gradient(135deg, rgba(2, 15, 40, .50), rgba(2, 35, 82, .60)),
        url('../images/bg-matobe-beach.jpg') center/cover no-repeat !important;
}

.btn,
.quick-card,
.explore-card,
.listing-card,
.staff-card,
.stat-box,
.apb-box,
.content-card,
.article-card,
.sidebar-card,
.contact-box,
.form-card,
.dashboard-card,
.finance-card,
.quick-admin-card {
    border-radius: 14px;
}

.quick-card i,
.explore-card i,
.read-link,
.breadcrumb a,
.section-title,
.apb-box strong,
.stat-box strong,
.pill-card strong {
    color: var(--primary) !important;
}

.listing-card,
.quick-card,
.explore-card,
.staff-card,
.dashboard-card,
.quick-admin-card {
    will-change: transform;
}

.map-frame iframe {
    background: #dce8f5;
}

/* Admin */
body.admin-dashboard-page {
    min-height: 100vh;
    background:
        linear-gradient(rgba(2, 15, 40, .72), rgba(2, 15, 40, .82)),
        url('../images/bg-matobe-beach.jpg') center/cover fixed no-repeat !important;
}

body.admin-dashboard-page main {
    padding-top: 92px !important;
}

body.admin-dashboard-page .section {
    background: transparent !important;
}

body.admin-dashboard-page .section-title,
body.admin-dashboard-page .section-subtitle,
body.admin-dashboard-page .dashboard-heading {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

body.admin-dashboard-page .dashboard-card,
body.admin-dashboard-page .finance-card,
body.admin-dashboard-page .quick-admin-card {
    background: rgba(255, 255, 255, .94) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.admin-form-card {
    max-width: 960px;
    margin: 0 auto;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-hover);
}

.admin-form-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-form-head h1 {
    margin: 0 0 8px;
    font-size: clamp(27px, 4vw, 36px);
    line-height: 1.2;
}

.admin-form-head p {
    margin: 0;
    color: var(--muted);
}

.admin-form-head .eyebrow {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-row label {
    color: var(--text);
    font-weight: 800;
}

.input,
textarea,
select {
    min-height: 46px;
    border-radius: 10px;
}

textarea.input {
    min-height: 120px;
    resize: vertical;
}

.field-error {
    margin: 6px 0 0;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.current-image {
    margin: 8px 0 22px;
}

.current-image span {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.current-image img {
    width: min(100%, 360px);
    max-height: 220px;
    border-radius: 14px;
    object-fit: cover;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.btn-secondary {
    background: #64748b;
    color: #fff;
}

/* Floating helpers */
.floating-visit {
    border: 0;
    font: inherit;
}

.floating-pengaduan {
    background: var(--primary) !important;
    border: 1px solid rgba(255, 255, 255, .28);
}

/* Footer */
.site-footer.kkn-footer,
.kkn-footer {
    margin-top: 64px !important;
    padding: 58px 0 24px !important;
    background:
        linear-gradient(135deg, rgba(1, 10, 31, .97), rgba(3, 35, 80, .93)),
        url('../images/bg-matobe-beach.jpg') center/cover no-repeat !important;
    color: #fff !important;
}

.kkn-footer .container {
    max-width: 1180px !important;
}

.kkn-footer-grid {
    display: grid !important;
    grid-template-columns: 1.35fr .85fr .85fr 1.15fr !important;
    gap: 40px !important;
    align-items: start;
}

.kkn-footer h3,
.kkn-footer h4,
.kkn-footer strong {
    color: #fff !important;
}

.kkn-footer h3 {
    margin: 0 0 14px !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
}

.kkn-footer h4 {
    margin: 0 0 16px !important;
    font-size: 18px !important;
}

.kkn-footer p,
.kkn-footer a,
.kkn-footer li {
    color: rgba(255, 255, 255, .86) !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
}

.kkn-footer a:hover,
.kkn-footer a:focus-visible {
    color: #fff !important;
}

.kkn-footer-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kkn-footer-list li {
    margin-bottom: 11px !important;
}

.kkn-footer-list i {
    width: 25px;
    margin-right: 8px;
    color: #fff !important;
}

.kkn-logo-card,
.kkn-mentawai-card {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-top: 19px !important;
    padding-top: 17px !important;
    border-top: 1px solid rgba(255, 255, 255, .16) !important;
}

.kkn-logo-card img.kkn-footer-logo {
    width: 84px !important;
    max-width: 84px !important;
    height: auto !important;
    margin: 0 !important;
    flex: none;
    object-fit: contain;
}

.kkn-mentawai-card img {
    width: 68px !important;
    height: auto !important;
    flex: none;
}

.kkn-logo-card p,
.kkn-mentawai-card p {
    margin: 0 !important;
}

.kkn-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 13px !important;
    margin-bottom: 17px !important;
}

.kkn-contact-item i {
    display: inline-flex !important;
    width: 42px !important;
    height: 42px !important;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 12px;
    background: rgba(255, 255, 255, .11) !important;
    color: #fff !important;
}

.kkn-footer-bottom {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    margin-top: 34px !important;
    padding: 20px 0 2px !important;
    border-top: 1px solid rgba(255, 255, 255, .22) !important;
    color: rgba(255, 255, 255, .94) !important;
    text-align: center;
}

.kkn-footer-bottom span,
.kkn-footer-bottom b {
    color: #fff !important;
}

@media (max-width: 1100px) {
    .kkn-footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 991px) {
    .nav-item {
        width: 100%;
    }

    .nav-item.has-dropdown > .nav-toggle,
    .nav-link,
    .logout-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        min-height: 48px !important;
        padding: 13px 5px !important;
    }

    .nav-item.has-dropdown:hover:not(.open) > .dropdown {
        display: none;
    }

    .nav-menu {
        max-height: calc(100vh - var(--header));
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

@media (max-width: 700px) {
    .site-header .brand-logo,
    .site-header .brand-logo img {
        width: 46px !important;
        height: 52px !important;
    }

    .brand-text span {
        max-width: 225px;
    }

    .form-grid-2,
    .kkn-footer-grid {
        grid-template-columns: 1fr !important;
    }

    .admin-form-head {
        flex-direction: column;
    }

    .admin-form-head .btn {
        width: 100%;
    }

    .floating-pengaduan {
        width: 48px;
        min-height: 48px;
        justify-content: center;
        padding: 0 !important;
        border-radius: 50%;
    }
}

/* Grafik penduduk: skala per kategori, responsif, dan tetap terbaca pada layar kecil. */
.education-chart-card .vertical-chart {
    height: 500px;
}

.village-chart-card .village-chart {
    min-width: max(900px, calc(var(--columns) * 86px));
    height: 350px;
}

.vertical-chart-card {
    scrollbar-width: thin;
    scrollbar-color: #4f91d4 #eef5fc;
}

.vertical-chart-card::-webkit-scrollbar {
    height: 9px;
}

.vertical-chart-card::-webkit-scrollbar-thumb {
    border-radius: 9px;
    background: #4f91d4;
}

.vertical-chart-card::-webkit-scrollbar-track {
    background: #eef5fc;
}

.vertical-bar:hover,
.vertical-bar.is-chart-active {
    filter: brightness(1.08);
    box-shadow: 0 0 0 3px rgba(22, 113, 204, .15);
    transform: translateY(-4px) scaleX(1.03);
}

.horizontal-stat-chart {
    padding: 28px 30px !important;
}

.horizontal-stat-chart .bar-hover {
    min-height: 42px;
    padding: 5px 0;
    border-bottom: 1px solid #edf2f7;
}

.horizontal-stat-chart .bar-hover:last-child {
    border-bottom: 0;
}

/* Dashboard admin: tampilan operasional yang ringkas dan profesional. */
body.admin-professional-page {
    background: #f3f6fa !important;
}

body.admin-professional-page main {
    background: #f3f6fa !important;
}

body.admin-professional-page .site-header,
body.admin-professional-page .site-header.scrolled {
    background: #034aa6 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 5px 18px rgba(2, 54, 117, .16) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.admin-console-section {
    padding: 48px 0 72px;
}

.admin-console {
    display: grid;
    gap: 24px;
}

.admin-console-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #cfdbe8;
}

.admin-console-eyebrow {
    margin: 0 0 8px;
    color: #0759b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .11em;
}

.admin-console-header h1 {
    margin: 0 0 7px;
    color: #102a48;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.admin-console-header p:not(.admin-console-eyebrow) {
    margin: 0;
    color: #63758a;
    font-size: 15px;
}

.admin-console-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-console-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid #0759b8;
    border-radius: 6px;
    background: #0759b8;
    color: #fff !important;
    font-size: 14px;
    font-weight: 750;
}

.admin-console-button-light {
    border-color: #b9c9da;
    background: #fff;
    color: #24415f !important;
}

.admin-account-bar {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 16px;
    border: 1px solid #cddaea;
    border-left: 4px solid #0759b8;
    border-radius: 5px;
    background: #fff;
    color: #52647a;
    font-size: 13px;
}

.admin-account-bar div {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.admin-account-bar i,
.admin-account-bar a {
    color: #0759b8;
}

.admin-account-bar strong {
    overflow: hidden;
    color: #173552;
    text-overflow: ellipsis;
}

.admin-account-bar a {
    flex: none;
    font-weight: 750;
}

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.admin-kpi-card {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid #d2deea;
    border-top: 3px solid #0759b8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 39, 69, .06);
}

.admin-kpi-icon {
    width: 46px;
    height: 46px;
    display: grid;
    flex: none;
    place-items: center;
    border-radius: 6px;
    background: #eaf3ff;
    color: #0759b8;
    font-size: 19px;
}

.admin-kpi-card span,
.admin-kpi-card strong {
    display: block;
}

.admin-kpi-card span {
    margin-bottom: 5px;
    color: #66788b;
    font-size: 13px;
    font-weight: 700;
}

.admin-kpi-card strong {
    color: #102a48;
    font-size: 27px;
    line-height: 1;
}

.admin-console-panel {
    padding: 24px;
    border: 1px solid #d2deea;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 39, 69, .05);
}

.admin-console-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.admin-console-panel-heading h2 {
    margin: 0 0 4px;
    color: #102a48;
    font-size: 20px;
}

.admin-console-panel-heading p {
    margin: 0;
    color: #718196;
    font-size: 13px;
}

.admin-console-panel-heading > a {
    color: #0759b8;
    font-size: 13px;
    font-weight: 750;
}

.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #e2e9f0;
    border-left: 1px solid #e2e9f0;
}

.admin-module-card {
    min-height: 88px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto 14px;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border-right: 1px solid #e2e9f0;
    border-bottom: 1px solid #e2e9f0;
    background: #fff;
    color: #173552;
    transition: background .18s ease, box-shadow .18s ease;
}

.admin-module-card:hover {
    position: relative;
    z-index: 1;
    background: #f5f9fe;
    box-shadow: inset 3px 0 #0759b8;
}

.admin-module-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #cfe0f2;
    border-radius: 5px;
    background: #edf5ff;
    color: #0759b8;
}

.admin-module-copy {
    min-width: 0;
}

.admin-module-copy strong,
.admin-module-copy small {
    display: block;
}

.admin-module-copy strong {
    margin-bottom: 4px;
    color: #173552;
    font-size: 14px;
}

.admin-module-copy small {
    color: #718196;
    font-size: 12px;
    line-height: 1.35;
}

.admin-module-count {
    min-width: 33px;
    padding: 5px 7px;
    border-radius: 4px;
    background: #eaf3ff;
    color: #0759b8;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.admin-module-arrow {
    color: #8da0b4;
    font-size: 11px;
}

.admin-bottom-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
}

.admin-finance-list {
    margin: 0;
}

.admin-finance-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-top: 1px solid #e2e9f0;
}

.admin-finance-list dt {
    color: #63758a;
    font-size: 13px;
}

.admin-finance-list dd {
    margin: 0;
    color: #173552;
    font-size: 15px;
    font-weight: 800;
}

.admin-quick-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.admin-quick-list a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #d2deea;
    border-radius: 5px;
    color: #24415f;
    font-size: 12px;
    font-weight: 750;
}

.admin-quick-list a:hover {
    border-color: #5f9bda;
    background: #f3f8fe;
    color: #0759b8;
}

.admin-quick-list i {
    color: #0759b8;
}

@media (max-width: 1000px) {
    .admin-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .education-chart-card .vertical-chart {
        height: 390px;
    }

    .admin-console-section {
        padding: 28px 0 52px;
    }

    .admin-console-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-module-grid {
        grid-template-columns: 1fr;
    }

    .admin-account-bar {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .admin-kpi-grid,
    .admin-quick-list {
        grid-template-columns: 1fr;
    }

    .admin-console-actions,
    .admin-console-button {
        width: 100%;
    }

    .admin-console-panel {
        padding: 18px 14px;
    }

    .admin-module-card {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 10px;
        padding: 13px 10px;
    }

    .admin-module-arrow {
        display: none;
    }

    .admin-module-copy small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Dashboard admin — panel terang dan kontras tinggi */
body.admin-dashboard-page .dashboard-page-shell {
    padding: clamp(22px, 3.5vw, 42px);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 28px;
    background: rgba(248, 250, 252, .97);
    box-shadow: 0 28px 70px rgba(1, 10, 31, .34);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.admin-dashboard-page .dashboard-page-heading {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dbe4ef;
}

body.admin-dashboard-page .dashboard-page-shell .section-title,
body.admin-dashboard-page .dashboard-page-shell .dashboard-heading {
    color: #0f2745 !important;
    text-shadow: none !important;
}

body.admin-dashboard-page .dashboard-page-shell .section-subtitle {
    max-width: 760px;
    margin: 8px 0 0;
    color: #475569 !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.75;
    text-shadow: none !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-hero {
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(135deg, #023675 0%, #0759b8 58%, #0a72d8 100%) !important;
    box-shadow: 0 20px 42px rgba(3, 74, 166, .24);
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-hero h2,
body.admin-dashboard-page .dashboard-page-shell .dashboard-summary strong,
body.admin-dashboard-page .dashboard-page-shell .dashboard-label {
    color: #fff !important;
    text-shadow: none !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-hero p,
body.admin-dashboard-page .dashboard-page-shell .dashboard-summary span {
    color: #eaf4ff !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-summary div {
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(1, 29, 70, .36) !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card,
body.admin-dashboard-page .dashboard-page-shell .finance-card,
body.admin-dashboard-page .dashboard-page-shell .quick-admin-card {
    border: 1px solid #d9e3ef !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(15, 39, 69, .08) !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card {
    position: relative;
    overflow: hidden;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(#0a72d8, #034aa6);
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card-new::before {
    background: linear-gradient(#f59e0b, #ea580c);
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card:hover,
body.admin-dashboard-page .dashboard-page-shell .quick-admin-card:hover {
    border-color: #82b4ea !important;
    box-shadow: 0 18px 36px rgba(3, 74, 166, .16) !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card span {
    background: #eaf3ff !important;
    color: #034aa6 !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card strong {
    color: #0f2745 !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card p,
body.admin-dashboard-page .dashboard-page-shell .finance-card span {
    color: #52647a !important;
}

body.admin-dashboard-page .dashboard-page-shell .finance-card strong {
    color: #034aa6 !important;
}

body.admin-dashboard-page .dashboard-page-shell .quick-admin-card {
    color: #17324f !important;
}

body.admin-dashboard-page .dashboard-page-shell .quick-admin-card:hover {
    background: #034aa6 !important;
    color: #fff !important;
}

@media (max-width: 700px) {
    body.admin-dashboard-page .dashboard-page-shell {
        padding: 18px;
        border-radius: 20px;
    }
}

/* Infografis — ikon SVG tajam, berwarna, dan konsisten */
.info-tabs {
    gap: 10px !important;
    border-bottom: 0 !important;
}

.info-tab {
    --tab-color: #034aa6;
    --tab-soft: #eaf3ff;
    min-width: 0;
    height: 108px !important;
    padding: 10px 7px;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #fff;
    color: #334155 !important;
    box-shadow: 0 8px 22px rgba(15, 39, 69, .07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.info-tab::after {
    display: none !important;
}

.info-tab:hover {
    z-index: 2;
    transform: translateY(-4px);
    border-color: var(--tab-color);
    color: var(--tab-color) !important;
    box-shadow: 0 16px 30px rgba(15, 39, 69, .13);
}

.info-tab.active {
    border-color: transparent;
    background: linear-gradient(145deg, var(--tab-color), #023675) !important;
    color: #fff !important;
    box-shadow: 0 16px 32px color-mix(in srgb, var(--tab-color) 30%, transparent);
}

.info-tab-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--tab-color) 20%, transparent);
    border-radius: 17px;
    background: var(--tab-soft);
    color: var(--tab-color);
}

.info-tab.active .info-tab-icon {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.info-tab-blue { --tab-color: #0b63ce; --tab-soft: #e9f3ff; }
.info-tab-gold { --tab-color: #b66b00; --tab-soft: #fff5d9; }
.info-tab-rose { --tab-color: #c12c5a; --tab-soft: #ffebf1; }
.info-tab-violet { --tab-color: #6d3fc0; --tab-soft: #f2ebff; }
.info-tab-teal { --tab-color: #087d74; --tab-soft: #e1f7f4; }

.infographic-svg {
    width: 36px;
    height: 36px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.infographic-svg .icon-soft {
    fill: currentColor;
    stroke: none;
    opacity: .13;
}

.infographic-stats .stat-box {
    min-width: 0;
    border: 1px solid #dfe8f2;
    box-shadow: 0 10px 26px rgba(15, 39, 69, .08);
}

.infographic-stats .stat-icon {
    width: 72px;
    height: 72px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 21px;
    background: #eaf3ff;
}

.infographic-stats .stat-icon .infographic-svg {
    width: 40px;
    height: 40px;
}

.stat-icon-blue { color: #0b63ce !important; background: #e9f3ff !important; }
.stat-icon-teal { color: #087d74 !important; background: #e1f7f4 !important; }
.stat-icon-indigo { color: #4758c7 !important; background: #eceeff !important; }
.stat-icon-rose { color: #c12c5a !important; background: #ffebf1 !important; }
.stat-icon-violet { color: #6d3fc0 !important; background: #f2ebff !important; }
.stat-icon-gold { color: #a66200 !important; background: #fff4d6 !important; }

.infographic-stats-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 760px;
}

.infographic-pill-icon {
    display: grid;
    width: 60px !important;
    height: 60px;
    flex: none;
    place-items: center;
    border-radius: 18px;
}

.infographic-pill-icon .infographic-svg {
    width: 38px;
    height: 38px;
}

@media (max-width: 991px) {
    .info-tabs {
        grid-template-columns: repeat(5, minmax(105px, 1fr)) !important;
        padding: 4px 0 12px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .info-tab {
        scroll-snap-align: start;
    }
}

@media (max-width: 700px) {
    .info-tabs {
        grid-template-columns: repeat(5, 112px) !important;
    }

    .info-tab {
        height: 101px !important;
    }

    .info-tab-icon {
        width: 49px;
        height: 49px;
    }

    .infographic-stats-compact {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   Gaya Digital Desa — referensi Pauh Kambar, identitas biru Matobe
   ========================================================= */
body,
button,
input,
select,
textarea {
    font-family: 'Outfit', Arial, sans-serif !important;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0;
}

.site-header {
    position: fixed !important;
    inset: 0 0 auto;
    height: 90px !important;
    background: #034aa6 !important;
    box-shadow: none;
}

.header-inner {
    height: 90px !important;
    gap: 24px;
}

.site-header .container {
    width: calc(100% - 60px) !important;
}

.brand {
    min-width: 285px;
    gap: 15px;
}

.site-header .brand-logo,
.site-header .brand-logo img {
    width: 66px !important;
    height: 70px !important;
}

.brand-text strong {
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
}

.brand-text span {
    margin-top: 3px;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.nav-menu {
    gap: clamp(13px, 1.55vw, 25px) !important;
}

.nav-link,
.nav-toggle,
.logout-btn {
    height: 90px !important;
    padding: 0 !important;
    font-size: clamp(15px, 1.15vw, 18px) !important;
    font-weight: 700 !important;
    line-height: 1.55;
}

.nav-toggle {
    min-width: auto;
    gap: 7px;
}

.nav-toggle i {
    font-size: 10px !important;
}

.nav-link::after,
.nav-toggle::after,
.logout-btn::after {
    right: 0;
    bottom: 20px;
    left: 0;
    height: 2px;
}

.dropdown {
    top: calc(100% - 6px);
    min-width: 230px;
    padding: 8px 0;
    border-color: #e1e8f0;
    border-radius: 8px;
}

.dropdown-right {
    right: 0;
    left: auto;
}

.dropdown a,
.dropdown-action {
    width: 100%;
    padding: 11px 18px !important;
    border: 0;
    background: transparent;
    color: #17324f;
    font: inherit;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.dropdown-action:hover,
.dropdown-action:focus-visible {
    background: #eef5ff;
    color: #034aa6;
}

.dropdown-form {
    margin: 0;
}

body.inner-page main {
    padding-top: 90px;
}

/* Infografis: proporsi, tipografi, tab, dan visual seperti referensi */
.infographic-page {
    background: #fff;
}

.infographic-page main {
    padding-top: 90px;
    background: #fff;
}

.infographic-page main > .section:first-child {
    padding: 32px 0 52px;
}

.infographic-page .container {
    max-width: 1168px;
}

.infographic-page .infografis-top {
    grid-template-columns: minmax(310px, .82fr) minmax(560px, 1.18fr);
    gap: 56px;
    align-items: center;
    margin-bottom: 78px;
}

.infographic-page .infografis-title h1 {
    margin: 0;
    color: #034aa6 !important;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: uppercase;
}

.infographic-page .info-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(78px, 1fr)) !important;
    gap: 0 !important;
    overflow: visible;
    border-bottom: 2px solid #e5e7eb !important;
}

.infographic-page .info-tab {
    min-width: 0;
    height: 90px !important;
    padding: 8px 12px !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #5a5e62 !important;
    font-size: 14px;
    font-weight: 400;
    scroll-snap-align: start;
    transform: none !important;
}

.infographic-page .info-tab:hover,
.infographic-page .info-tab.active {
    color: #034aa6 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.infographic-page .info-tab::after {
    display: block !important;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: #034aa6;
    transform: scaleX(0);
}

.infographic-page .info-tab:hover::after,
.infographic-page .info-tab.active::after {
    transform: scaleX(1);
}

.infographic-page .info-tab-icon,
.infographic-page .info-tab.active .info-tab-icon {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;
}

.infographic-page .info-tab-icon .infographic-svg {
    width: 42px;
    height: 42px;
    stroke-width: 2.8;
}

.infographic-page .intro-info {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin: 0;
}

.infographic-page .intro-info h2,
.infographic-page .section-title {
    color: #034aa6 !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    text-transform: none;
}

.infographic-page .intro-info h2 {
    margin: 0 0 8px;
    font-size: 44px;
    line-height: 1.3;
}

.infographic-page .intro-info p {
    max-width: 590px;
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
}

.infographic-page .intro-info img {
    width: 100%;
    max-width: 510px;
    margin: 0 auto;
}

.infographic-page .section-sm {
    padding: 46px 0;
}

.infographic-page .section-title {
    margin-bottom: 22px;
    font-size: 38px;
    line-height: 1.3;
}

.infographic-page .section-sub {
    color: #111827;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
}

.infographic-page .stats-grid {
    gap: 16px;
}

.infographic-page .stat-box {
    min-height: 145px;
    padding: 24px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.infographic-page .stat-box h3 {
    margin: 0 0 4px;
    color: #3f3f46;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: uppercase;
}

.infographic-page .stat-box strong {
    color: #034aa6 !important;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.3;
}

.infographic-page .chart-card,
.infographic-page .note,
.infographic-page .pill-card,
.infographic-page .table-wrap,
.infographic-page .listing-card {
    border-radius: 8px;
}

.infographic-page .bar-label,
.infographic-page .data-table,
.infographic-page .pill-card h3,
.infographic-page .listing-card {
    font-size: 16px;
}

@media (max-width: 1180px) {
    .mobile-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 25px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 90px;
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 90px);
        padding: 14px 30px 24px;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0 !important;
        background: #034aa6 !important;
        box-shadow: 0 20px 38px rgba(2, 15, 40, .24);
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link,
    .nav-toggle,
    .logout-btn {
        display: flex !important;
        width: 100% !important;
        height: auto !important;
        min-height: 50px !important;
        padding: 12px 2px !important;
        justify-content: space-between !important;
        font-size: 16px !important;
    }

    .nav-link::after,
    .nav-toggle::after,
    .logout-btn::after {
        bottom: 5px;
    }

    .dropdown,
    .dropdown-right {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 2px 0 10px;
        border: 0;
        border-radius: 8px;
        background: rgba(255, 255, 255, .09);
        box-shadow: none;
    }

    .nav-item.open > .dropdown {
        display: block;
    }

    .nav-item.has-dropdown:hover:not(.open) > .dropdown {
        display: none;
    }

    .dropdown a,
    .dropdown-action {
        min-height: 44px;
        padding: 12px 15px !important;
        color: #fff !important;
    }

    .dropdown a:hover,
    .dropdown-action:hover {
        background: rgba(255, 255, 255, .13) !important;
        color: #fff !important;
    }

    .infographic-page .infografis-top {
        grid-template-columns: minmax(260px, .72fr) minmax(480px, 1.28fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .infographic-page .infografis-top,
    .infographic-page .intro-info {
        grid-template-columns: 1fr;
    }

    .infographic-page .infografis-top {
        gap: 28px;
        margin-bottom: 58px;
    }

    .infographic-page .info-tabs {
        grid-template-columns: repeat(6, minmax(104px, 1fr)) !important;
        padding-bottom: 0;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
    }

    .infographic-page .intro-info {
        gap: 30px;
    }

    .infographic-page .intro-info img {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .site-header,
    .header-inner {
        height: 76px !important;
    }

    .site-header .container {
        width: calc(100% - 28px) !important;
    }

    .brand {
        min-width: 0;
        gap: 10px;
    }

    .site-header .brand-logo,
    .site-header .brand-logo img {
        width: 48px !important;
        height: 56px !important;
    }

    .brand-text strong {
        font-size: 14px !important;
    }

    .brand-text span {
        max-width: 218px;
        font-size: 11px !important;
    }

    .nav-menu {
        top: 76px;
        max-height: calc(100vh - 76px);
        padding: 10px 20px 22px;
    }

    body.inner-page main,
    .infographic-page main {
        padding-top: 76px;
    }

    .infographic-page main > .section:first-child {
        padding: 26px 0 40px;
    }

    .infographic-page .infografis-title h1,
    .infographic-page .intro-info h2 {
        font-size: 34px;
        line-height: 1.25;
    }

    .infographic-page .section-title {
        font-size: 30px;
    }

    .infographic-page .intro-info p,
    .infographic-page .section-sub {
        font-size: 17px;
    }

    .infographic-page .info-tabs {
        grid-template-columns: repeat(6, 105px) !important;
    }

    .infographic-page .info-tab {
        height: 84px !important;
        padding: 6px 8px !important;
        font-size: 13px;
    }

    .infographic-page .info-tab-icon,
    .infographic-page .info-tab.active .info-tab-icon {
        width: 43px;
        height: 43px;
    }

    .infographic-page .info-tab-icon .infographic-svg {
        width: 36px;
        height: 36px;
    }

    .infographic-page .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .infographic-page .stat-box {
        min-height: 132px;
        padding: 18px;
    }

    .infographic-page .stat-box h3 {
        font-size: 15px;
    }

    .infographic-page .stat-box strong {
        font-size: 23px;
    }
}

@media (max-width: 480px) {
    .infographic-page .stats-grid,
    .infographic-page .infographic-stats-compact {
        grid-template-columns: 1fr !important;
    }

    .infographic-page .intro-info img {
        max-width: 100%;
    }
}

/* Sinkronisasi foto publik dan struktur pemerintahan */
.gallery-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gallery-public-card {
    overflow: hidden;
    border: 1px solid #dbe5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 9px 26px rgba(15,39,69,.09);
    transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-public-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(3,74,166,.15);
}

.gallery-photo {
    width: 100%;
    height: 245px;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #dce8f5;
    cursor: zoom-in;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-public-card:hover .gallery-photo img { transform: scale(1.04); }
.gallery-public-body { padding: 18px; }
.gallery-public-body h3 { margin: 0 0 8px; color: #122c49; font-size: 19px; }
.gallery-public-body p { margin: 0 0 12px; color: #5c6b7d; }
.gallery-public-body small { color: #034aa6; font-weight: 700; }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 25000;
    display: grid;
    place-items: center;
    padding: 48px 20px 30px;
    background: rgba(2,15,40,.91);
}

.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox img { max-width: min(1100px, 92vw); max-height: 78vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.42); }
.gallery-lightbox strong { margin-top: 14px; color: #fff; font-size: 18px; }
.gallery-lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 30px; cursor: pointer; }

.article-cover {
    margin: 20px 0 24px;
    overflow: hidden;
    border-radius: 18px;
    background: #dce8f5;
}

.article-cover img { width: 100%; max-height: 520px; object-fit: cover; }
.article-lead { padding: 16px 18px; border-left: 4px solid #034aa6; border-radius: 8px; background: #eef5ff; color: #233e5c; font-size: 17px; font-weight: 600; }
.profile-detail-card { max-width: 980px; margin: 18px auto 0; }

.government-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.government-card {
    overflow: hidden;
    border: 1px solid #d8e4f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15,39,69,.1);
    transition: transform .2s ease, box-shadow .2s ease;
}

.government-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(3,74,166,.17); }
.government-photo { height: 270px; overflow: hidden; background: linear-gradient(180deg,#eef5ff,#dce8f5); }
.government-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.government-info { min-height: 78px; padding: 12px 10px; background: linear-gradient(135deg,#034aa6,#0a72d8); color: #fff; text-align: center; }
.government-info h3 { margin: 0 0 3px; color: #fff; font-size: 16px; line-height: 1.25; text-transform: uppercase; }
.government-info p { margin: 0; color: #fff; font-size: 12px; font-weight: 700; }
.government-info small { display: block; margin-top: 5px; color: rgba(255,255,255,.82); font-size: 10px; }

.staff-card { border: 1px solid #d8e4f0; border-radius: 8px !important; }
.staff-photo { height: 245px; background: linear-gradient(180deg,#eef5ff,#dce8f5); }
.staff-info { min-height: 68px; padding: 11px !important; background: linear-gradient(135deg,#034aa6,#0a72d8) !important; }
.staff-info h3 { color: #fff !important; text-transform: uppercase; }
.staff-info p { color: #fff !important; }

.detail-back-link { display: inline-flex; margin-bottom: 18px; color: #034aa6; font-weight: 800; }
.detail-content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.detail-content-grid .detail-box { margin-top: 0; }
.detail-content-grid h2 { margin: 0 0 12px; color: #0f2745; font-size: 22px; }

@media (max-width: 991px) {
    .gallery-public-grid,
    .government-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .detail-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .gallery-public-grid,
    .government-grid { grid-template-columns: 1fr; }
    .gallery-photo { height: 230px; }
    .government-photo { height: 330px; }
}

/* Infografis referensi Digital Desa — tetap memakai palet biru Matobe */
.site-header .brand-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.site-header .brand-text span {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
}

.site-header .nav-menu {
    gap: clamp(8px, 1vw, 15px);
}

.site-header .nav-link,
.site-header .nav-toggle,
.site-header .logout-btn {
    font-size: 14px;
    font-weight: 700;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.infographic-page a.info-tab[href*="sdgs"] {
    display: flex !important;
}

.sdgs-illustration {
    width: min(100%, 440px);
    margin: 0 auto;
}

.module-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: center;
    gap: 42px;
    margin-bottom: 34px;
}

.module-intro-compact { margin-bottom: 18px; }
.module-intro .section-title { margin-bottom: 8px; }
.module-intro img,
.module-copy-illustration {
    width: 100%;
    max-width: 260px;
    height: auto;
    justify-self: center;
    filter: drop-shadow(0 14px 24px rgba(15,39,69,.13));
}

.module-copy-illustration {
    max-width: 210px;
    margin: 0 0 18px;
}

.admin-command {
    margin: 12px 0;
    padding: 13px 15px;
    overflow-x: auto;
    border-radius: 8px;
    background: #0f2745;
    color: #fff;
    font: 700 14px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.population-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.section-heading-illustrated {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.section-heading-illustrated img {
    width: 86px;
    height: 86px;
    flex: none;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 7px 13px rgba(15,39,69,.12));
}

.infographic-page .section-heading-illustrated .section-title {
    margin-bottom: 0;
}

.population-summary-card {
    min-height: 160px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 18px 34px;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15, 39, 69, .10);
}

.population-summary-card img {
    width: 146px;
    height: 122px;
    object-fit: contain;
}

.population-summary-card h3 {
    margin: 0 0 7px;
    color: #5f6368;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

.population-summary-card p {
    margin: 0;
    color: #5f6368;
    font-size: 30px;
    line-height: 1.15;
}

.population-summary-card strong {
    color: #0874d1;
    font-weight: 500;
}

.pyramid-card {
    padding: 22px 30px 30px !important;
    overflow-x: auto;
}

.pyramid-head,
.pyramid-row {
    min-width: 700px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
}

.pyramid-head {
    margin-bottom: 8px;
    color: #40464d;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.pyramid-row {
    min-height: 34px;
    align-items: center;
    border-bottom: 1px solid #dce5ef;
}

.pyramid-side {
    height: 20px;
    display: flex;
    align-items: center;
}

.pyramid-side span {
    min-width: 2px;
    height: 16px;
    position: relative;
    border-radius: 5px 0 0 5px;
    background: #2d80bc;
}

.pyramid-left {
    justify-content: flex-end;
}

.pyramid-left span {
    background: #2d80bc;
}

.pyramid-right span {
    border-radius: 0 5px 5px 0;
    background: #ffaf98;
}

.pyramid-side b {
    position: absolute;
    top: 50%;
    color: #30363d;
    font-size: 11px;
    font-weight: 500;
    transform: translateY(-50%);
}

.pyramid-left b { right: calc(100% + 5px); }
.pyramid-right b { left: calc(100% + 5px); }

.pyramid-label {
    color: #626b75;
    font-size: 12px;
    text-align: center;
}

.chart-legend-note,
.data-disclaimer {
    margin-top: 14px;
    padding: 14px 18px;
    border-left: 4px solid #034aa6;
    border-radius: 6px;
    background: #eef5ff;
    color: #42566d;
    font-size: 13px;
}

.vertical-chart-card {
    padding: 30px 28px 24px !important;
    overflow-x: auto;
}

.vertical-chart {
    min-width: max(760px, calc(var(--columns) * 82px));
    height: 390px;
    display: grid;
    grid-template-columns: repeat(var(--columns), minmax(60px, 1fr));
    align-items: end;
    gap: 18px;
    padding: 32px 16px 70px;
    position: relative;
    background: repeating-linear-gradient(to bottom, transparent 0 62px, #dfe7f0 63px 64px);
    border-bottom: 1px solid #cfd9e5;
}

.vertical-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    position: relative;
}

.vertical-bar {
    min-height: 2px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #0a72d8, #034aa6);
}

.vertical-value {
    margin-bottom: 5px;
    color: #4b5563;
    font-size: 11px;
    text-align: center;
}

.vertical-label {
    position: absolute;
    top: calc(100% + 10px);
    right: -10px;
    left: -10px;
    color: #687384;
    font-size: 11px;
    line-height: 1.12;
    text-align: center;
}

.apb-filter-row {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 340px);
    margin: -50px 0 14px;
}

.year-filter select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cdd7e2;
    border-radius: 5px;
    background: #fff;
}

.apb-overview {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 52px;
    align-items: center;
}

.apb-copy h2 {
    margin: 0 0 8px;
    color: #034aa6;
    font-size: 33px;
    line-height: 1.25;
}

.apb-copy p {
    max-width: 470px;
    margin: 0;
    color: #111827;
    font-size: 17px;
}

.apb-summary-reference {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.apb-summary-reference .apb-box {
    min-height: 94px;
    padding: 15px;
}

.apb-summary-reference .apb-box small,
.apb-financing small {
    display: block;
    color: #56606c;
    font-size: 13px;
    font-weight: 600;
}

.apb-summary-reference .apb-box strong,
.apb-financing strong {
    display: block;
    color: #159447 !important;
    font-size: 19px;
    font-weight: 700;
}

.apb-summary-reference .apb-box.red strong {
    color: #e32935 !important;
}

.apb-financing,
.apb-surplus {
    grid-column: 1 / -1;
    border: 1px solid #d6dde5;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 39, 69, .09);
}

.apb-financing h3 {
    margin: 0;
    padding: 12px 15px;
    border-bottom: 1px solid #d6dde5;
    color: #56606c;
    font-size: 14px;
}

.apb-financing > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.apb-financing span {
    padding: 12px 15px;
}

.apb-financing span + span {
    border-left: 1px solid #d6dde5;
}

.apb-surplus {
    padding: 15px;
    color: #56606c;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.apb-surplus strong {
    margin-left: 8px;
    color: #159447 !important;
    font-size: 19px;
}

.apb-surplus strong.is-negative { color: #e32935 !important; }

.grouped-bars {
    min-width: max(720px, calc(var(--groups) * 170px));
    height: 360px;
    display: grid;
    grid-template-columns: repeat(var(--groups), minmax(130px, 1fr));
    align-items: end;
    gap: 30px;
    padding: 50px 20px 38px;
    background: repeating-linear-gradient(to bottom, transparent 0 59px, #dfe7f0 60px 61px);
    border-bottom: 1px solid #cad5e0;
}

.grouped-bar-item {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 10px;
    text-align: center;
}

.grouped-bar-pair {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}

.budget-bar {
    width: min(46%, 72px);
    position: relative;
    border-radius: 4px 4px 0 0;
}

.budget-bar.income { background: #034aa6; }
.budget-bar.expense { background: #8fc8ec; }

.budget-bar i {
    position: absolute;
    top: -24px;
    left: 50%;
    color: #4b5563;
    font-size: 9px;
    font-style: normal;
    white-space: nowrap;
    transform: translateX(-50%);
}

.chart-key {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 18px;
    color: #56606c;
    font-size: 12px;
}

.chart-key span {
    width: 13px;
    height: 13px;
    border-radius: 3px;
}

.chart-key span.income { background: #034aa6; }
.chart-key span.expense { margin-left: 14px; background: #8fc8ec; }

.budget-progress-list {
    display: grid;
    gap: 12px;
}

.budget-progress-row {
    display: grid;
    grid-template-columns: minmax(190px, .8fr) minmax(260px, 1.2fr) minmax(150px, .5fr);
    align-items: center;
    gap: 22px;
    padding: 15px 18px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 39, 69, .07);
}

.budget-progress-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.budget-progress-row span,
.budget-progress-row small { color: #596779; font-size: 12px; }

.budget-progress-track {
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8edf2;
}

.budget-progress-track span {
    height: 100%;
    display: block;
    position: relative;
    border-radius: inherit;
    background: #167cbf;
}

.budget-progress-track b {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 9px;
}

.reference-empty-state {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b8c4d1;
}

.reference-empty-state span {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.bansos-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 12px 0 56px;
}

.bansos-summary article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 39, 69, .08);
}

.bansos-summary article > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf3ff;
    color: #034aa6;
}

.bansos-summary svg { width: 36px; height: 36px; }
.bansos-summary small { display: block; color: #5f6b78; }
.bansos-summary strong { color: #034aa6; font-size: 28px; }

.bansos-check {
    margin-top: 50px;
}

.bansos-check h2 {
    margin: 0 0 16px;
    color: #034aa6;
    font-size: 32px;
}

.bansos-search-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid #becbd8;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.bansos-search-form > span { padding-left: 14px; color: #718096; font-size: 24px; }
.bansos-search-form input { min-height: 50px; padding: 0 12px; border: 0; outline: 0; }
.bansos-search-form button { align-self: stretch; padding: 0 24px; border: 0; background: #034aa6; color: #fff; font-weight: 700; }
.bansos-results { padding-top: 0 !important; }
.bansos-card { border: 1px solid #e0e7ef; }
.bansos-recipient-count { display: flex; justify-content: space-between; margin: 10px 0 18px; padding-top: 12px; border-top: 1px solid #e5e7eb; }
.bansos-recipient-count small { color: #64748b; }
.bansos-recipient-count strong { color: #034aa6; }

.idm-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 70px;
    align-items: center;
}

.idm-intro-grid p {
    margin: -12px 0 0;
    color: #101827;
    font-size: 18px;
    line-height: 1.6;
}

.idm-main-cards {
    display: grid;
    gap: 12px;
}

.idm-main-cards article,
.idm-metric-grid article {
    border: 1px solid #e1e7ed;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 11px rgba(15, 39, 69, .09);
}

.idm-main-cards article {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 22px;
}

.idm-main-cards small,
.idm-metric-grid small { color: #5b6168; font-size: 13px; font-weight: 600; }
.idm-main-cards strong { color: #555b62; font-size: 31px; text-align: right; }

.idm-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.idm-metric-grid article {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 20px;
}

.idm-metric-grid strong { color: #555b62; font-size: 22px; text-align: right; }

.idm-line-card {
    padding: 28px 34px 22px !important;
}

.idm-line-card svg {
    width: 100%;
    height: 320px;
    overflow: visible;
}

.idm-line-card line { stroke: #d8e3ef; stroke-width: .3; stroke-dasharray: 1 1; }
.idm-line-card polyline { fill: none; stroke: #ff9c80; stroke-width: .6; vector-effect: non-scaling-stroke; }
.idm-line-card circle { fill: #fff; stroke: #ff9c80; stroke-width: .45; vector-effect: non-scaling-stroke; }
.idm-year-labels { display: flex; justify-content: space-around; gap: 12px; margin-top: 5px; color: #6b7280; text-align: center; }
.idm-year-labels span { display: grid; }
.idm-year-labels small { color: #ff8062; }
.idm-table th { background: #034aa6 !important; }
.idm-table a { color: #034aa6; font-weight: 600; }

.admin-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.admin-list-head h1 {
    margin: 0 0 7px;
    color: #0f2745;
    font-size: clamp(28px, 4vw, 36px);
}

.admin-list-head p { margin: 0; color: #52647a; }
.admin-success { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #dcfce7; color: #166534; font-weight: 700; }
.admin-data-table th { background: #034aa6 !important; }
.admin-row-actions { display: flex; align-items: center; gap: 8px; }
.admin-row-actions form { margin: 0; }
.admin-row-actions .btn { min-height: 38px; padding: 0 13px; }
.admin-edit { background: #f59e0b; color: #fff; }
.admin-delete { background: #dc2626; color: #fff; }
.admin-pagination { margin-top: 22px; }
.admin-data-help { margin-bottom: 22px; padding: 14px 16px; border-left: 4px solid #034aa6; border-radius: 8px; background: #eef5ff; color: #334e6f; }
.admin-form-subtitle { margin: 30px 0 16px; color: #0f2745; font-size: 21px; }
.admin-form-subtitle small { color: #64748b; font-size: 13px; font-weight: 500; }

.sdgs-year-filter {
    max-width: 310px;
    display: grid;
    gap: 7px;
    margin-top: 28px;
}

.sdgs-year-filter label { color: #41566e; font-weight: 700; }
.sdgs-year-filter select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cbd7e5; border-radius: 7px; background: #fff; }

.sdgs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sdgs-goal-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid #e1e8ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15,39,69,.08);
}

.sdgs-goal-number {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: hsl(var(--goal-hue) 72% 44%);
    color: #fff;
    font-size: 27px;
    font-weight: 800;
}

.sdgs-goal-card h3 { margin: 2px 0 6px; color: #18334f; font-size: 19px; }
.sdgs-goal-card p { margin: 0; color: #637286; font-size: 13px; }
.sdgs-progress-track { grid-column: 1/-1; height: 22px; overflow: hidden; border-radius: 999px; background: #e9eef3; }
.sdgs-progress-track span { height: 100%; min-width: 2px; display: block; position: relative; border-radius: inherit; background: hsl(var(--goal-hue) 72% 44%); transform-origin: left; animation: chartGrowHorizontal .8s ease both; }
.sdgs-progress-track b { position: absolute; right: 8px; color: #fff; font-size: 11px; line-height: 22px; }

.chart-touch-tooltip {
    position: fixed;
    z-index: 30000;
    max-width: min(290px, calc(100vw - 24px));
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(2, 25, 57, .96);
    color: #fff;
    box-shadow: 0 14px 35px rgba(2, 15, 40, .28);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px) scale(.94);
    transition: opacity .2s ease, transform .2s ease;
}

.chart-touch-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-chart-tooltip] {
    cursor: pointer;
    outline: none;
    transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}

[data-chart-tooltip].is-chart-active,
[data-chart-tooltip]:focus-visible {
    filter: brightness(1.12) saturate(1.12);
}

.pyramid-side span,
.bar-fill,
.budget-progress-track span {
    transform-origin: left center;
    animation: chartGrowHorizontal .72s cubic-bezier(.2,.75,.25,1) both;
}

.pyramid-left span {
    transform-origin: right center;
}

.vertical-bar,
.budget-bar {
    transform-origin: center bottom;
    animation: chartGrowVertical .78s cubic-bezier(.2,.75,.25,1) both;
}

.idm-line-card polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: chartDrawLine 1.25s ease forwards;
}

.idm-line-card circle {
    animation: chartPointPop .45s ease both;
}

@keyframes chartGrowHorizontal {
    from { transform: scaleX(0); opacity: .35; }
    to { transform: scaleX(1); opacity: 1; }
}

@keyframes chartGrowVertical {
    from { transform: scaleY(0); opacity: .35; }
    to { transform: scaleY(1); opacity: 1; }
}

@keyframes chartDrawLine { to { stroke-dashoffset: 0; } }
@keyframes chartPointPop {
    from { transform: scale(.2); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
    .population-summary-grid,
    .apb-overview,
    .idm-intro-grid {
        grid-template-columns: 1fr;
    }

    .apb-filter-row {
        grid-template-columns: 1fr;
        margin: -20px 0 26px;
    }

    .apb-overview,
    .idm-intro-grid { gap: 30px; }

    .budget-progress-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 700px) {
    .population-summary-card {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 15px;
        min-height: 122px;
        padding: 14px;
    }

    .population-summary-card img { width: 88px; height: 88px; }
    .population-summary-card h3 { font-size: 17px; }
    .population-summary-card p { font-size: 22px; }
    .section-heading-illustrated { align-items: center; gap: 12px; }
    .section-heading-illustrated img { width: 62px; height: 62px; }
    .pyramid-card { padding: 16px 14px 22px !important; }
    .vertical-chart-card { padding: 20px 12px 18px !important; }
    .apb-summary-reference,
    .bansos-summary,
    .idm-metric-grid { grid-template-columns: 1fr; }
    .apb-financing > div { grid-template-columns: 1fr; }
    .apb-financing span + span { border-top: 1px solid #d6dde5; border-left: 0; }
    .apb-copy h2 { font-size: 28px; }
    .bansos-check h2 { font-size: 28px; }
    .bansos-search-form { grid-template-columns: auto minmax(0, 1fr); }
    .bansos-search-form button { grid-column: 1 / -1; min-height: 46px; }
    .idm-line-card { padding: 18px 12px !important; overflow-x: auto; }
    .idm-line-card svg,
    .idm-year-labels { min-width: 620px; }
    .sdgs-grid { grid-template-columns: 1fr; }
    .admin-list-head .btn { width: 100%; }
    .module-intro { grid-template-columns: 1fr; gap: 18px; }
    .module-intro img { max-width: 220px; }
}

@media (max-width: 480px) {
    .population-summary-grid { grid-template-columns: 1fr; }
    .population-summary-card { grid-template-columns: 105px minmax(0, 1fr); }
}

/* =========================================================
   BLUE HARMONY SYSTEM
   Seluruh panel putih diganti lapisan biru agar konsisten
   dengan identitas visual Desa Matobe dan tetap terbaca.
   ========================================================= */
/* Dinonaktifkan: revisi ini mewarnai seluruh latar, bukan hanya strip kartu.
:root {
    --soft: #d5eaff !important;
    --white: #e7f3ff !important;
    --line: #86b7e8 !important;
    --text: #062b5c !important;
    --muted: #315a84 !important;
    --primary-soft: #b9dcff !important;
    --blue-page: #cce5ff;
    --blue-surface: #dceeff;
    --blue-surface-2: #b9dbfb;
    --blue-card: #0b58b1;
    --blue-card-deep: #023675;
    --blue-border: #72abe2;
}

body {
    background:
        radial-gradient(circle at 8% 8%, rgba(78, 158, 232, .30), transparent 32%),
        linear-gradient(145deg, #b9dcff 0%, #dceeff 48%, #a9d3fa 100%) fixed !important;
    color: var(--text) !important;
}

main,
.section,
.section-sm,
.page-head,
.plain-head,
.quick-section {
    background-color: transparent !important;
}

.quick-section,
.section:nth-of-type(even) {
    background: linear-gradient(135deg, rgba(117, 181, 237, .22), rgba(3, 74, 166, .08)) !important;
}

.site-header,
.nav-menu.show,
.mobile-menu,
.floating-pengaduan {
    background: linear-gradient(135deg, #023675, #0759b8 68%, #0a72d8) !important;
}

.dropdown {
    border-color: #4f91d4 !important;
    background: #064b9c !important;
}

.dropdown a,
.dropdown .logout-btn {
    color: #eaf5ff !important;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background: #0a72d8 !important;
    color: #fff !important;
}

.card,
.content-card,
.empty,
.chart-card,
.article-card,
.sidebar-card,
.contact-box,
.form-card,
.detail-box,
.detail-hero,
.metric-card,
.population-summary-card,
.pill-card,
.apb-box,
.apb-financing,
.apb-surplus,
.bansos-summary article,
.idm-main-cards article,
.idm-metric-grid article,
.sdgs-goal-card,
.search-result-card,
.note,
.admin-form-card,
.admin-data-help {
    border-color: var(--blue-border) !important;
    background: linear-gradient(145deg, #e1f1ff 0%, #b9dcfb 100%) !important;
    color: var(--text) !important;
    box-shadow: 0 12px 28px rgba(2, 54, 117, .14) !important;
}

.quick-card,
.explore-card,
.stat-box {
    border: 1px solid var(--blue-border) !important;
    background: linear-gradient(145deg, #cbe5ff, #a5d0f8) !important;
    color: #063570 !important;
    box-shadow: 0 10px 24px rgba(2, 54, 117, .14) !important;
}

.quick-card:hover,
.explore-card:hover,
.stat-box:hover {
    border-color: #0a72d8 !important;
    background: linear-gradient(145deg, #b8dbfc, #8fc4f3) !important;
}

.stat-icon,
.stat-icon-blue,
.stat-icon-teal,
.stat-icon-indigo,
.stat-icon-rose,
.stat-icon-violet,
.stat-icon-gold,
.bansos-summary article > span,
.search-result-icon {
    background: #8dc8f7 !important;
    color: #023675 !important;
}

.listing-card,
.gallery-public-card,
.government-card,
.staff-card {
    border-color: #1d73c8 !important;
    background: linear-gradient(145deg, #0759b8, #023675) !important;
    box-shadow: 0 13px 30px rgba(2, 54, 117, .22) !important;
}

.listing-body,
.gallery-public-body,
.government-info,
.staff-info {
    background: linear-gradient(135deg, #0759b8 0%, #034aa6 56%, #023675 100%) !important;
    color: #eaf5ff !important;
}

.listing-body h3,
.listing-body p,
.listing-body .card-meta,
.listing-body .read-link,
.gallery-public-body h3,
.gallery-public-body p,
.gallery-public-body small,
.government-info h3,
.government-info p,
.government-info small,
.staff-info h3,
.staff-info p {
    color: #eaf5ff !important;
}

.listing-thumb,
.listing-thumb-icon,
.listing-thumb-image,
.gallery-photo,
.government-photo,
.staff-photo,
.article-cover,
.article-hero-illustration {
    background: linear-gradient(145deg, #b9dcff, #78b8e8) !important;
}

.card-chip,
.dashboard-label {
    border: 1px solid #61a8e8 !important;
    background: #8dc8f7 !important;
    color: #023675 !important;
}

.article-lead,
.detail-box-soft,
.chart-legend-note,
.data-disclaimer {
    border-color: #0a72d8 !important;
    background: #b9dcff !important;
    color: #143f6e !important;
}

.detail-hero-stunting,
.detail-hero-bansos,
.detail-hero-idm {
    background: linear-gradient(135deg, #d9ecff 0%, #9cccf4 100%) !important;
}

.detail-content-grid h2,
.article-card h1,
.admin-list-head h1,
.admin-form-head h1,
.admin-form-subtitle,
.plain-head h1,
.page-head h1 {
    color: #023675 !important;
}

.article-body,
.article-meta,
.detail-lead,
.detail-box p,
.sidebar-card p,
.admin-list-head p,
.admin-form-head p,
.field-help,
.section-sub,
.page-head p,
.plain-head p {
    color: #244f7c !important;
}

.input,
textarea,
select,
.year-filter select,
.sdgs-year-filter select,
.bansos-search-form,
.bansos-search-form input {
    border-color: #70a9df !important;
    background: #cbe5ff !important;
    color: #062b5c !important;
}

.input::placeholder,
textarea::placeholder,
.bansos-search-form input::placeholder {
    color: #52779b !important;
}

.table-wrap {
    border: 1px solid #4f91d4 !important;
    background: #b7d9f8 !important;
}

.data-table th,
.admin-data-table th,
.idm-table th {
    border-color: #3d84ca !important;
    background: #034aa6 !important;
    color: #eaf5ff !important;
}

.data-table tbody tr,
.admin-data-table tbody tr {
    background: #d9ecff !important;
}

.data-table tbody tr:nth-child(even),
.admin-data-table tbody tr:nth-child(even) {
    background: #bdddf9 !important;
}

.data-table td,
.admin-data-table td {
    border-color: #8bb9e4 !important;
    color: #123d6c !important;
}

.bar-track,
.progress-bar,
.budget-progress-track,
.sdgs-progress-track {
    background: #8fbee8 !important;
}

.bar-fill,
.progress-bar span,
.budget-progress-track span,
.sdgs-progress-track span,
.sdgs-goal-number {
    background: linear-gradient(90deg, #034aa6, #1684e8) !important;
}

.vertical-chart,
.grouped-bars {
    background-color: #cbe5ff !important;
    background-image: repeating-linear-gradient(to bottom, transparent 0 62px, #8db9e1 63px 64px) !important;
}

.budget-progress-row {
    border: 1px solid #78afe2 !important;
    background: #cbe5ff !important;
}

.apb-summary-reference .apb-box strong,
.apb-summary-reference .apb-box.red strong,
.apb-financing strong,
.apb-surplus strong,
.apb-surplus strong.is-negative,
.finance-card strong {
    color: #034aa6 !important;
}

.admin-success,
.note,
.admin-data-help {
    border-color: #1684e8 !important;
    background: #b9dcff !important;
    color: #023675 !important;
}

.admin-edit,
.admin-delete,
.btn-secondary,
.btn-outline-dark,
.btn-light {
    border-color: #5b9edf !important;
    background: #176fc4 !important;
    color: #eaf5ff !important;
}

.admin-delete {
    background: #023675 !important;
}

body.admin-dashboard-page .dashboard-page-shell {
    border-color: #7eb5e8 !important;
    background: linear-gradient(145deg, rgba(215, 235, 255, .97), rgba(148, 199, 244, .96)) !important;
}

body.admin-dashboard-page .dashboard-page-heading {
    border-color: #79afe0 !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card,
body.admin-dashboard-page .dashboard-page-shell .finance-card,
body.admin-dashboard-page .dashboard-page-shell .quick-admin-card {
    border-color: #3f87ce !important;
    background: linear-gradient(145deg, #0a66c2, #023675) !important;
    color: #eaf5ff !important;
    box-shadow: 0 12px 28px rgba(2, 54, 117, .24) !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card span {
    border: 1px solid #79b8ee !important;
    background: #8dc8f7 !important;
    color: #023675 !important;
}

body.admin-dashboard-page .dashboard-page-shell .dashboard-card strong,
body.admin-dashboard-page .dashboard-page-shell .dashboard-card p,
body.admin-dashboard-page .dashboard-page-shell .finance-card span,
body.admin-dashboard-page .dashboard-page-shell .finance-card strong,
body.admin-dashboard-page .dashboard-page-shell .quick-admin-card {
    color: #eaf5ff !important;
}

body.admin-dashboard-page .dashboard-page-shell .quick-admin-card:hover {
    border-color: #9ed1ff !important;
    background: linear-gradient(145deg, #1684e8, #0759b8) !important;
}

.skip-link,
.bar-tip,
.pill-tip {
    border-color: #78afe2 !important;
    background: #b9dcff !important;
    color: #023675 !important;
}

.map-frame,
.map-frame iframe {
    background: #9cccf4 !important;
}

@media (max-width: 991px) {
    .nav-menu .dropdown {
        background: rgba(2, 54, 117, .72) !important;
    }
}
*/

/* Putih-biru Desa Matobe: latar bersih, warna biru hanya sebagai aksen dan strip kartu. */
:root {
    --soft: #f7fbff !important;
    --white: #ffffff !important;
    --line: #d4e3f2 !important;
    --text: #071b34 !important;
    --muted: #52647a !important;
    --primary-soft: #eaf3ff !important;
}

body {
    background: #f7fbff !important;
    color: var(--text) !important;
}

main,
.section,
.section-sm,
.page-head,
.plain-head {
    background: transparent !important;
}

.quick-section {
    background: #ffffff !important;
}

.card,
.content-card,
.empty,
.chart-card,
.article-card,
.sidebar-card,
.contact-box,
.form-card,
.detail-box,
.detail-hero,
.metric-card,
.population-summary-card,
.pill-card,
.apb-box,
.apb-financing,
.apb-surplus,
.bansos-summary article,
.idm-main-cards article,
.idm-metric-grid article,
.sdgs-goal-card,
.search-result-card,
.note,
.admin-form-card,
.admin-data-help,
.quick-card,
.explore-card,
.stat-box,
.table-wrap,
.budget-progress-row {
    border-color: #d4e3f2 !important;
    background: #ffffff !important;
    color: var(--text) !important;
}

.listing-card,
.gallery-public-card,
.government-card,
.staff-card {
    overflow: hidden;
    border: 1px solid #1671cc !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(3, 74, 166, .13) !important;
}

.listing-body,
.gallery-public-body,
.government-info,
.staff-info {
    background: linear-gradient(135deg, #0759b8 0%, #034aa6 62%, #023675 100%) !important;
    color: #ffffff !important;
}

.listing-body h3,
.listing-body p,
.listing-body .card-meta,
.listing-body .read-link,
.gallery-public-body h3,
.gallery-public-body p,
.gallery-public-body small,
.government-info h3,
.government-info p,
.government-info small,
.staff-info h3,
.staff-info p {
    color: #ffffff !important;
}

.listing-thumb,
.listing-thumb-icon,
.listing-thumb-image,
.gallery-photo,
.government-photo,
.staff-photo {
    background: #eaf3ff !important;
}

.card-chip {
    border: 1px solid #5fa5e6 !important;
    background: #9fd0f7 !important;
    color: #023675 !important;
}

.staff-grid,
.government-grid {
    align-items: stretch;
}

.staff-photo,
.government-photo {
    height: 270px !important;
}

.staff-info,
.government-info {
    min-height: 74px !important;
    padding: 12px 10px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.staff-info h3,
.government-info h3 {
    margin: 0 0 3px !important;
    font-size: 16px !important;
    line-height: 1.25;
    text-transform: uppercase;
}

.staff-info p,
.government-info p {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700;
}

/* Administrasi Penduduk seperti referensi: enam data dalam dua kolom. */
.population-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-top: 28px;
}

.population-admin-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: minmax(135px, 42%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #d6e2ef;
    border-radius: 2px;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(15, 39, 69, .10);
}

.population-admin-value,
.population-admin-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
}

.population-admin-value {
    background: linear-gradient(135deg, #1684e8, #0759b8);
    color: #ffffff;
    font-size: clamp(24px, 3vw, 31px);
    font-weight: 800;
    line-height: 1;
}

.population-admin-label {
    background: #ffffff;
    color: #344d69;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.population-admin-section .section-title {
    margin-bottom: 4px;
    color: #0759b8 !important;
    text-transform: none;
}

.population-admin-section .section-sub {
    max-width: 920px;
    margin-bottom: 0;
    color: #172b43 !important;
}

@media (max-width: 700px) {
    .population-admin-grid {
        grid-template-columns: 1fr;
    }

    .population-admin-item {
        grid-template-columns: minmax(115px, 38%) minmax(0, 1fr);
    }

    .staff-photo,
    .government-photo {
        height: 330px !important;
    }
}

/* Penyelarasan ilustrasi dan identitas visual seluruh modul infografis. */
.site-header .brand-logo {
    width: 70px !important;
    height: 72px !important;
}

.site-header .brand-logo img {
    width: 70px !important;
    height: 70px !important;
}

.infographic-module-illustration {
    width: min(100%, 240px) !important;
    max-width: 240px !important;
    height: auto !important;
    display: block;
    object-fit: contain;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    filter: drop-shadow(0 14px 24px rgba(15, 39, 69, .13));
}

.infographic-page .intro-info .infographic-module-illustration {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
}

.module-intro .infographic-module-illustration,
.idm-intro-grid .infographic-module-illustration {
    justify-self: center;
}

.detail-illustration .infographic-module-illustration {
    width: min(100%, 250px) !important;
    max-width: 250px !important;
    margin: 0 auto;
}

.infographic-flat-illustration {
    width: min(100%, 270px) !important;
    max-width: 270px !important;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: contain;
    padding: 8px;
    border: 1px solid #d5e5f4;
    border-radius: 18px;
    background: #eef6ff;
    box-shadow: 0 14px 30px rgba(15, 39, 69, .10);
}

.detail-illustration .infographic-flat-illustration {
    width: min(100%, 280px) !important;
    max-width: 280px !important;
    margin: 0 auto;
}

/* Teks nilai pada kartu Bansos harus tetap terbaca di atas bidang biru. */
.listing-body .bansos-recipient-count {
    border-top-color: rgba(255, 255, 255, .42) !important;
}

.listing-body .bansos-recipient-count small,
.listing-body .bansos-recipient-count strong {
    color: #ffffff !important;
}

/* Diagram penduduk per dusun mengikuti komposisi pie + keterangan. */
.reference-section-heading {
    margin-bottom: 6px;
}

.reference-section-heading .section-title {
    margin: 0;
}

.village-pie-card {
    overflow: visible;
    padding: 8px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.village-pie-layout {
    display: grid;
    grid-template-columns: minmax(520px, 1.28fr) minmax(250px, .72fr);
    gap: clamp(22px, 4vw, 62px);
    align-items: center;
    min-height: 420px;
}

.village-pie-panel {
    display: grid;
    place-items: center;
    min-width: 0;
}

.village-pie {
    width: min(100%, 620px);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 10px 13px rgba(15, 39, 69, .16));
}

.village-pie path,
.village-pie circle {
    cursor: pointer;
    stroke: #ffffff;
    stroke-width: .45;
    transition: transform .22s ease, filter .22s ease, opacity .22s ease;
    transform-box: fill-box;
    transform-origin: center;
}

.village-pie path:hover,
.village-pie circle:hover {
    filter: brightness(1.06);
    opacity: .96;
    transform: scale(1.035);
}

.village-pie-leader {
    fill: none;
    stroke-width: .45;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.village-pie-label {
    fill: #4b5563;
    font-family: inherit;
    font-size: 4px;
    font-weight: 500;
    pointer-events: none;
}

.village-pie-legend {
    min-width: 0;
}

.village-pie-legend h3 {
    margin: 0 0 10px;
    color: #0b0f15;
    font-size: 22px;
    font-weight: 800;
}

.village-legend-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: baseline;
    padding: 3px 0;
    color: #111827;
    font-size: 16px;
    cursor: default;
}

.village-legend-simple strong {
    color: #111827;
    font-size: inherit;
    font-weight: 600;
}

/* Setiap status perkawinan dan agama mempertahankan warna ikonnya sendiri. */
.infographic-pill-icon.stat-icon-blue { color: #0b63ce !important; background: #e9f3ff !important; }
.infographic-pill-icon.stat-icon-teal { color: #087d74 !important; background: #e1f7f4 !important; }
.infographic-pill-icon.stat-icon-indigo { color: #4758c7 !important; background: #eceeff !important; }
.infographic-pill-icon.stat-icon-rose { color: #c12c5a !important; background: #ffebf1 !important; }
.infographic-pill-icon.stat-icon-violet { color: #6d3fc0 !important; background: #f2ebff !important; }
.infographic-pill-icon.stat-icon-gold { color: #a66200 !important; background: #fff4d6 !important; }

/* Ikon Data Dusun menggunakan satu gaya SVG, bukan karakter atau emoji. */
.data-dusun-stats {
    align-items: stretch;
}

.data-dusun-stat {
    min-height: 132px;
    border: 1px solid #d9e6f2;
    box-shadow: 0 10px 24px rgba(15, 39, 69, .07);
}

.data-dusun-stat .stat-icon {
    display: grid;
    place-items: center;
}

.data-dusun-stat .stat-icon svg {
    width: 30px;
    height: 30px;
}

.data-dusun-stat.blue .stat-icon {
    color: #0b63ce !important;
    background: #e9f3ff !important;
}

.data-dusun-stat.teal .stat-icon {
    color: #087d74 !important;
    background: #e1f7f4 !important;
}

.data-dusun-stat.violet .stat-icon {
    color: #6d3fc0 !important;
    background: #f2ebff !important;
}

.data-dusun-stat.gold .stat-icon {
    color: #a66200 !important;
    background: #fff4d6 !important;
}

.data-dusun-stat h3 {
    margin-bottom: 5px;
    color: #42556e;
}

.data-dusun-stat strong {
    color: #0759b8;
}

.data-dusun-table {
    margin-top: 28px;
}

/* Tautan kembali di halaman detail informasi selalu tampak jelas. */
.detail-back-link {
    display: inline-flex !important;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0 0 20px !important;
    padding: 10px 15px;
    border: 1px solid #b9d3ee;
    border-radius: 999px;
    background: #eef6ff;
    color: #034aa6 !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.detail-back-link:hover {
    background: #034aa6;
    color: #ffffff !important;
    transform: translateX(-2px);
}

@media (max-width: 760px) {
    .village-pie-layout {
        grid-template-columns: 1fr;
        gap: 14px;
        min-height: 0;
    }

    .village-pie {
        width: min(100%, 500px);
    }

    .village-pie-label {
        font-size: 5.5px;
    }

    .village-pie-legend h3 {
        font-size: 19px;
    }

    .village-legend-simple {
        font-size: 14px;
    }

    .infographic-flat-illustration,
    .detail-illustration .infographic-flat-illustration {
        width: min(100%, 220px) !important;
        max-width: 220px !important;
    }
}

/* Administrasi penduduk dapat diperbarui melalui ringkasan Statistik Penduduk. */
.population-admin-edit-link {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0 auto;
    color: #0759b8;
    font-size: 13px;
    font-weight: 800;
}

.population-admin-edit-link:hover {
    text-decoration: underline;
}

/* Ringkasan APBDesa pada beranda mengikuti susunan referensi Digital Desa. */
.home-apb-section {
    background: #fff !important;
}

.home-apb-layout {
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.home-apb-visual {
    min-height: 390px;
    display: grid;
    place-items: center;
}

.home-apb-visual img {
    width: min(100%, 420px);
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 22px 32px rgba(3, 74, 166, .14));
}

.home-apb-content h2 {
    margin: 0 0 6px;
    color: #1684c7;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.2;
}

.home-apb-content > p {
    max-width: 650px;
    margin: 0 0 22px;
    color: #26394f;
    font-size: 15px;
    line-height: 1.65;
}

.home-apb-metrics {
    display: grid;
    gap: 12px;
}

.home-apb-metrics article {
    min-height: 94px;
    display: grid;
    align-content: center;
    padding: 17px 22px;
    border: 1px solid #d9e2eb;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 39, 69, .09);
}

.home-apb-metrics span {
    margin-bottom: 5px;
    color: #626b75;
    font-size: 14px;
    font-weight: 700;
}

.home-apb-metrics strong {
    color: #555b62;
    font-size: clamp(25px, 3.3vw, 36px);
    line-height: 1.15;
    text-align: right;
}

.home-apb-link {
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 17px 0 0 auto;
    color: #071b34;
    font-size: 13px;
    font-weight: 900;
}

.home-apb-link:hover {
    color: #0759b8;
}

/* Ganti password dengan verifikasi OTP email. */
.admin-security-section {
    background: #f3f7fb !important;
}

.admin-security-shell {
    max-width: 1060px;
}

.admin-security-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-security-heading > span {
    width: 54px;
    height: 54px;
    display: grid;
    flex: none;
    place-items: center;
    border-radius: 8px;
    background: #0759b8;
    color: #fff;
    font-size: 22px;
}

.admin-security-heading h1 {
    margin: 0 0 4px;
    color: #102a48;
    font-size: clamp(28px, 4vw, 38px);
}

.admin-security-heading p {
    margin: 0;
    color: #63758a;
}

.admin-security-message {
    margin-bottom: 18px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.admin-security-message.is-success {
    border-color: #87c6a1;
    background: #edf9f1;
    color: #176b3b;
}

.admin-security-message.is-error {
    border-color: #efaaaa;
    background: #fff1f1;
    color: #a51d2d;
}

.admin-security-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: start;
    gap: 20px;
}

.admin-otp-card,
.admin-password-card {
    padding: 25px;
    border: 1px solid #d2deea;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(15, 39, 69, .07);
}

.admin-security-step {
    color: #0759b8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
}

.admin-otp-card h2,
.admin-password-card h2 {
    margin: 7px 0 13px;
    color: #173552;
    font-size: 21px;
}

.admin-otp-card p,
.admin-otp-card small {
    color: #66788b;
    line-height: 1.55;
}

.admin-otp-card > strong {
    display: block;
    margin: 5px 0 18px;
    overflow-wrap: anywhere;
    color: #173552;
}

.admin-otp-card form,
.admin-otp-card .btn {
    width: 100%;
}

.admin-otp-card small {
    display: block;
    margin-top: 13px;
    font-size: 12px;
}

.admin-otp-input {
    font-size: 21px !important;
    font-weight: 800;
    letter-spacing: .22em;
}

@media (max-width: 900px) {
    .home-apb-layout,
    .admin-security-grid {
        grid-template-columns: 1fr;
    }

    .home-apb-visual {
        min-height: auto;
    }

    .home-apb-visual img {
        width: min(76vw, 360px);
    }
}

@media (max-width: 700px) {
    .site-header .brand-logo,
    .site-header .brand-logo img {
        width: 52px !important;
        height: 56px !important;
    }

    .home-apb-metrics strong {
        font-size: 24px;
        text-align: left;
    }

    .admin-security-heading {
        align-items: flex-start;
    }

    .admin-otp-card,
    .admin-password-card {
        padding: 20px 16px;
    }
}

/* V18: pemisahan Umur, Bansos/DTKS, KK, Indeks Desa dan kartu putih */
.admin-console-header h1,
.admin-console-header .admin-console-eyebrow,
.admin-console-header p:not(.admin-console-eyebrow) { color:#111827 !important; }
.admin-console-header .admin-console-button:not(.admin-console-button-light),
.admin-console-header .admin-console-button:not(.admin-console-button-light) i { color:#fff !important; }
.admin-console-header .admin-console-button-light,
.admin-console-header .admin-console-button-light i { color:#24415f !important; }
.apb-silpa-white,.detail-hero-white,.module-intro-white,.village-index-primary article,.village-index-metrics article,
.family-card,.admin-white-form,.import-rules,.preview-box,.bansos-recipient-box { background:#fff !important; color:#172033 !important; border:1px solid #d8e3f0; box-shadow:0 8px 24px rgba(14,45,82,.08); border-radius:14px; }
.apb-silpa-white{display:flex;justify-content:center;gap:14px;align-items:center;padding:18px;margin-top:12px;font-weight:700}.apb-silpa-white strong{color:#079447;font-size:1.35rem}
.detail-hero-white{background:#fff !important}.detail-hero-white h1,.detail-hero-white p,.detail-hero-white small,.detail-hero-white strong{color:#172033 !important}
.family-accordion{display:grid;gap:14px}.family-card{padding:0;overflow:hidden}.family-card summary{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 20px;cursor:pointer}.family-card summary span{display:grid;gap:4px}.family-card summary small{color:#607086}.family-card .table-wrap,.family-card .admin-row-actions{margin:0 20px 18px}.admin-row-actions{display:flex;gap:8px}.admin-row-actions form{margin:0}
.admin-page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.admin-search-form,.public-search-form{display:flex;gap:10px;margin:18px 0}.admin-search-form input,.public-search-form input{flex:1}
.admin-white-form,.import-rules,.preview-box{padding:22px;margin:18px 0}.admin-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.admin-form-grid label,.member-editor label,.admin-white-form>label{display:grid;gap:7px;font-weight:700}.admin-form-grid input,.admin-form-grid select,.member-editor input,.member-editor select,.admin-white-form input{width:100%;padding:11px;border:1px solid #cbd8e6;border-radius:8px}.member-editor{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:end;padding:16px;background:#f7faff;border:1px solid #dce7f3;border-radius:12px;margin-bottom:12px}.check-line{display:flex !important;align-items:center;gap:8px;margin:16px 0}.check-line input{width:auto}
.village-index-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}.village-index-primary{display:grid;gap:12px}.village-index-primary article{padding:24px}.village-index-primary small{display:block;margin-bottom:12px}.village-index-primary strong{display:block;text-align:right;font-size:2rem;color:#4a5058}.village-index-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.village-index-metrics article{padding:18px}.village-index-metrics small{display:block}.village-index-metrics strong{display:block;text-align:right;font-size:1.3rem}.module-intro-white{display:flex;justify-content:space-between;align-items:center;padding:24px;margin:24px 0}.module-intro-white i{font-size:3rem;color:#0754b8}
.alert{padding:14px 16px;border-radius:10px;margin:12px 0}.alert.success{background:#e9f9ef;color:#087a39}.alert.warning{background:#fff8df;color:#8a6500}.alert.error{background:#fff0f0;color:#a11}.alert ul{margin:6px 0 0}
@media(max-width:900px){.admin-form-grid,.member-editor{grid-template-columns:1fr 1fr}.village-index-hero{grid-template-columns:1fr}.village-index-metrics{grid-template-columns:1fr 1fr}.admin-page-head{display:block}.admin-page-head>div+div{margin-top:12px}}
@media(max-width:560px){.admin-form-grid,.member-editor,.village-index-metrics{grid-template-columns:1fr}.family-card summary{align-items:flex-start;flex-direction:column}}


/* V23: penyamaan tata letak header utama tanpa mengubah konten/fitur */
.site-header,
.site-header.home-transparent,
.site-header.dashboard-transparent,
body.admin-dashboard-page .site-header,
body.admin-professional-page .site-header {
    height: 90px !important;
}

.site-header .header-inner,
.site-header.home-transparent .header-inner,
.site-header.dashboard-transparent .header-inner,
body.admin-dashboard-page .site-header .header-inner,
body.admin-professional-page .site-header .header-inner {
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.site-header .container {
    width: calc(100% - 60px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.site-header .brand,
.site-header .nav-menu {
    align-items: center !important;
}

@media (max-width: 1150px) {
    .site-header .container {
        width: calc(100% - 36px) !important;
    }
}

@media (max-width: 700px) {
    .site-header,
    .site-header.home-transparent,
    .site-header.dashboard-transparent,
    body.admin-dashboard-page .site-header,
    body.admin-professional-page .site-header,
    .site-header .header-inner,
    .site-header.home-transparent .header-inner,
    .site-header.dashboard-transparent .header-inner,
    body.admin-dashboard-page .site-header .header-inner,
    body.admin-professional-page .site-header .header-inner {
        height: 76px !important;
    }

    .site-header .container {
        width: calc(100% - 28px) !important;
    }
}
