/* PRESMA public presentation. Scoped so student workflows retain their own layout. */
body.presma-public {
    --presma-ink: #182b46;
    --presma-muted: #64748b;
    --presma-blue: #245ba8;
    --presma-line: #e3eaf2;
    background: #f3f6fa;
    color: var(--presma-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
.presma-public #navbar {
    min-height: 64px;
    background: linear-gradient(110deg, #142d50, #205a93);
    border: 0;
    box-shadow: 0 3px 18px rgba(20, 45, 80, .14);
}
.presma-public #navbar-container { min-height: 64px; width: 100%; max-width: 1320px; }
.presma-public #navbar .navbar-brand { height: 64px; display: flex; align-items: center; }
.presma-public #navbar .navbar-brand:focus,
.presma-public #navbar .navbar-brand:hover,
.presma-public #navbar .navbar-brand:active { outline: none; background: transparent; box-shadow: none; }
.presma-public #navbar .infobox { background: transparent !important; }
.presma-public #navbar .infobox-data-number { font-size: 22px; letter-spacing: -.6px; color: #fff; }
.presma-public #navbar .infobox-data-number strong:first-child { color: #fff; }
.presma-public #navbar .infobox-icon > .ace-icon { color: #a9d2ff !important; font-size: 28px; }
.presma-public #navbar .infobox-icon > .ace-icon:before { text-shadow: none; }
.presma-public #navbar .navbar-menu { margin-left: 24px; }
.presma-public #navbar .navbar-menu a { min-height: 64px; padding: 21px 18px; border: 0; color: #e6effb; font-size: 13px; }
.presma-public #navbar .navbar-menu a:hover { background: #ffffff12; color: #fff; }
.presma-public #navbar .navbar-toggle { margin-top: 15px; border-radius: 8px; }
.presma-public #main-container { width: 100%; max-width: 1320px; background: transparent; border: 0; box-shadow: none; padding-left: 24px; padding-right: 24px; }
.presma-public #main-container:before { display: none; }
.presma-public .navbar-fixed-top + #main-container { padding-top: 88px; }
.presma-public #sidebar { background: #fff; margin-top: 0; border: 1px solid var(--presma-line) !important; border-radius: 14px; box-shadow: 0 4px 18px rgba(24,43,70,.035); }
.presma-public #sidebar:before { display: none !important; content: none; }
.presma-public #sidebar .nav-list { background: transparent; border: 0; }
.presma-public #sidebar .nav-list > li { border: 0 !important; }
.presma-public #sidebar .nav-list > li > a { background: transparent; color: #55657c; border-radius: 9px; font-size: 14px; }
.presma-public #sidebar .nav-list > li:hover > a,
.presma-public #sidebar .nav-list > li.active > a { background: #edf4ff; color: #245ba8; }
.presma-public #sidebar .nav-list > li:before,
.presma-public #sidebar .nav-list > li.active:after { display: none; }
.presma-public #sidebar .nav-list > li.timer > a { background: #eef4fb; }
.presma-public #sidebar .timer > a > i { color: #527299 !important; opacity: 1; font-size: 22px; margin-top: 8px; }
.presma-public #sidebar .timer > a .details { color: #527299; margin-left: 33px; padding-top: 0; }
.presma-public #sidebar .timer #date { font-size: 12px; font-weight: 600; }
.presma-public #sidebar .timer #time { font-size: 11px; }
.presma-public .main-content, .presma-public .page-content { background: transparent; }
.presma-public .page-content { padding: 26px 0 0; }
.presma-public .page-header { border: 0; margin: 0 0 18px; padding: 0; }
.presma-public .page-header h1 { font: 600 20px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--presma-muted); }
.presma-public a { transition: color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.presma-public a:focus-visible, .presma-public button:focus-visible { outline: 3px solid #619ee7; outline-offset: 3px; }
.presma-public .btn { border-radius: 9px; font-weight: 600; text-shadow: none; box-shadow: none; }
.presma-public .btn-primary { background: #245ba8 !important; border-color: #245ba8; }
.presma-public .btn-primary:hover { background: #184783 !important; border-color: #184783; }
.presma-public .btn.btn-white { background: #fff !important; border: 1px solid #dce5ef; color: #355171 !important; }
.presma-public .btn.btn-white:hover { background: #f0f5fc !important; border-color: #b7cbe3; }
.presma-public .presma-home-intro {
    position: relative; overflow: hidden; margin-bottom: 26px; padding: 32px 36px;
    background: radial-gradient(circle at 92% -10%, #3c7dc4 0, transparent 42%), linear-gradient(112deg, #142d50, #205a93);
    border: 0; border-radius: 18px; color: #fff;
    box-shadow: 0 10px 30px rgba(20, 45, 80, .18);
}
.presma-public .presma-home-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; color: #bcd2f0; margin-bottom: 10px; }
.presma-public .presma-home-intro h2 { margin: 0 0 10px; font: 700 clamp(24px, 3vw, 34px)/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #fff; letter-spacing: -.8px; }
.presma-public .presma-home-intro p { margin: 0; max-width: 650px; color: #c9dcf2; font-size: 14.5px; line-height: 1.8; }
.presma-public .presma-home-top { margin-bottom: 24px; }
.presma-public .presma-login-card { border-top: 3px solid #245ba8 !important; }
.presma-public .presma-login-card .widget-header { background: #fff; padding: 15px 18px; border-bottom: 1px solid #edf1f6; }
.presma-public .presma-login-card .widget-title { font-size: 15px; color: #253e60 !important; font-weight: 600; }
.presma-public .presma-login-card .widget-main { padding: 20px; }
.presma-public .presma-login-card .widget-header { display: flex; align-items: center; gap: 7px; }
.presma-public .presma-login-card .widget-title > .ace-icon { color: #245ba8; }
.presma-public .presma-login-card .btn { white-space: normal; padding: 12px 10px; }
.presma-public .presma-login-card .text-muted { font-size: 12px; line-height: 1.8; color: #758499; margin-top: 14px !important; }
.presma-public .presma-login-card .alert.alert-info { border: 1px solid #d6e4f7; background: #eef5fd; color: #2b527f; font-size: 13px; line-height: 1.7; }
.presma-public .presma-public-breadcrumb { margin: 0 0 12px; }
.presma-public .presma-public-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 700; letter-spacing: .2px; color: #4c637e; }
.presma-public .presma-public-breadcrumb li { display: flex; align-items: center; }
.presma-public .presma-public-breadcrumb li + li:before { content: "/"; margin-right: 12px; color: #b9c6d6; font-weight: 500; }
.presma-public .presma-public-breadcrumb a { color: #3d65a0; text-decoration: none; }
.presma-public .presma-public-breadcrumb a:hover { color: #245ba8; text-decoration: underline; }
.presma-public .presma-public-breadcrumb [aria-current] { color: #182b46; }
/* ae: statistik — judul mingguan sebaris dgn breadcrumb, tetap di luar nav */
.presma-public .presma-header-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px; margin-bottom: 18px; }
.presma-public .presma-header-row .presma-public-breadcrumb { margin: 0; }
.presma-public .presma-header-row .page-header { margin: 0; flex: 1 1 auto; min-width: 0; }
.presma-public .presma-header-row .page-header h1 { font-size: 15px; font-weight: 700; color: #245ba8; letter-spacing: -.2px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; min-width: 0; }
@media (max-width: 767px) {
    .presma-public .presma-header-row .page-header h1 { white-space: normal; font-size: 14px; text-align: left; margin-left: 0; }
    .presma-public .presma-header-row { padding-bottom: 6px; border-bottom: 1px solid #e3eaf2; }
}
.presma-public .home-section .slick_prestasi, .presma-public .home-section .slick_kegiatan,
.presma-public .home-section .slick_organisasi, .presma-public .home-section .slick_sertifikasi_keahlian { margin-left: 0; margin-right: 0; }
.presma-public .home-section .search-title > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.presma-public .home-section .search-area .text-right a.btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; }
.presma-public .home-section .search-area .text-right a.btn > .ace-icon { margin-right: 6px; }
.presma-public #content-ticker { margin-bottom: 4px; }
/* ae: beranda — baris berpasangan organisasi|sertifikasi setinggi sama */
.presma-public .row:has(> .col-md-6 > .home-section) { display: flex; flex-wrap: wrap; }
.presma-public .row:has(> .col-md-6 > .home-section) > .col-md-6 { display: flex; flex-direction: column; }
.presma-public .row:has(> .col-md-6 > .home-section) > .col-md-6 > .home-section { flex: 1 1 auto; display: flex; flex-direction: column; }
.presma-public .home-section > .widget-box { flex: 1 1 auto; display: flex; flex-direction: column; margin-bottom: 0; }
.presma-public .home-section .widget-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.presma-public .home-section .widget-main { flex: 1 1 auto; display: flex; flex-direction: column; }
.presma-public .home-section .widget-main > .row { flex: 1 1 auto; align-items: stretch; }
.presma-public .home-section .search-media { min-height: 112px; }
@media (max-width: 991px) {
    .presma-public .row:has(> .col-md-6 > .home-section) > .col-md-6 { display: block; }
    .presma-public .home-section > .widget-box { margin-bottom: 0; }
    .presma-public .home-section .widget-body, .presma-public .home-section .widget-main, .presma-public .home-section > .widget-box { display: block; flex: none; }
}
.presma-public .widget-box { background: #fff; border: 1px solid var(--presma-line); border-radius: 14px; box-shadow: 0 4px 20px rgba(24,43,70,.04); margin: 0 0 20px; }
.presma-public .widget-box > .widget-header:first-child { border-radius: 13px 13px 0 0; }
.presma-public .widget-body { border: 0; border-radius: 0 0 14px 14px; }
.presma-public .widget-main { padding: 20px; }
.presma-public .home-section { --section-accent: #245ba8; --section-tint: #edf4ff; margin-bottom: 24px; }
.presma-public .home-section-prestasi { --section-accent: #286b4b; --section-tint: #edf7f1; }
.presma-public .home-section-kegiatan { --section-accent: #9b590c; --section-tint: #fff5e6; }
.presma-public .home-section-organisasi { --section-accent: #7151a5; --section-tint: #f4effb; }
.presma-public .home-section-sertifikasi { --section-accent: #b34e43; --section-tint: #fff0ed; }
.presma-public .home-section .widget-box { background: #fff !important; border: 1px solid var(--presma-line); border-top: 3px solid var(--section-accent); }
.presma-public .home-section .widget-header { background: var(--section-tint) !important; color: var(--section-accent) !important; border-color: transparent !important; box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: 12px 20px; min-height: 58px; }
.presma-public .home-section .widget-title { margin: 0; font-family: inherit; font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.presma-public .home-section .widget-title > .ace-icon { margin-right: 8px; }
.presma-public .home-section .widget-title strong { font-weight: 700; }
.presma-public .home-section .search-area { background: #f7f9fc; border: 1px solid #e8eef5; border-radius: 11px; box-shadow: none; padding: 14px; }
.presma-public .home-section .search-filter-header { background: transparent; padding: 0 0 14px; border-bottom: 1px solid #e3eaf2; }
.presma-public .home-section .search-filter-header h3 { font-size: 20px; font-weight: 700; color: var(--presma-ink); line-height: 1.5; }
.presma-public .home-section .search-filter-header small { display: block; font-size: 12px; color: var(--presma-muted) !important; margin-left: 28px; }
.presma-public .home-section .search-area h4 { font-size: 14px; font-weight: 600; color: #4d6584 !important; }
.presma-public .home-section .tree-container { background: #fff; border: 1px solid #e3eaf2; border-radius: 9px; padding: 6px; }
.presma-public .home-section .tree { border: 0; padding-left: 5px; font-size: 13px; }
.presma-public .home-section .thumbnail { position: relative; isolation: isolate; padding: 0; border: 1px solid #e2e9f2; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(24,43,70,.025); transition: box-shadow .18s ease; }
.presma-public .home-section .thumbnail:hover { box-shadow: 0 8px 24px rgba(24,43,70,.1); }
.presma-public .home-section .thumbnail .caption { padding: 16px !important; }
.presma-public .home-section .thumbnail .media-object { width: 100%; height: 190px; object-fit: cover; background: #edf1f6; border: 0; border-radius: 11px 11px 0 0; }
.presma-public .home-section .thumbnail .search-title { margin: 0 0 12px !important; font-size: 16px; line-height: 1.5; font-weight: 600; }
.presma-public .home-section .blue { color: #275a92 !important; }
.presma-public .home-section .caption p { color: #3d506a; font-size: 13px; margin: 0; line-height: 1.7; }
.presma-public .home-section .caption p small { color: var(--presma-muted); font-size: 12px; }
.presma-public .home-section .search-promotion.label { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; height: auto; min-height: 28px; text-align: center; font-family: inherit; top: 12px; left: 12px; margin: 0; max-width: calc(100% - 24px); white-space: normal; border-radius: 6px; border: 1px solid #ffffffcc; box-shadow: 0 2px 7px rgba(24,43,70,.06); z-index: 2; background: var(--section-tint); color: var(--section-accent); font-size: 12px; padding: 5px 10px; line-height: 1.25; font-weight: 600; }
.presma-public .home-section .search-promotion:before, .presma-public .home-section .search-promotion:after { display: none; }
.presma-public .home-section .search-media { border: 1px solid #e8edf5; border-radius: 10px; padding: 16px !important; margin: 8px 0; background: #fff; }
.presma-public .home-section .media-heading { font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.presma-public .home-section .media-body { color: #41526b; font-size: 12px; line-height: 1.7; }
.presma-public .home-section .media-body small { color: var(--presma-muted); font-size: 11px; }
.presma-public .home-section .slick-prev:before, .presma-public .home-section .slick-next:before { color: #486586; }
.presma-public #myCarousel { border: 1px solid #dbe5f1; border-radius: 14px; overflow: hidden; background: linear-gradient(120deg, #e7effa, #f4f8fe); }
.presma-public #myCarousel .item { min-height: 250px; }
.presma-public #myCarousel .item > img { width: 100%; height: 300px; object-fit: cover; }
.presma-public #myCarousel .carousel-control { background: none; width: 9%; }
.presma-public #myCarousel .carousel-caption { background: linear-gradient(transparent, #102d50cc); left: 0; right: 0; bottom: 0; padding: 32px 44px; text-align: left; text-shadow: none; }
.presma-public #myCarousel .carousel-caption h3 { font-size: 24px; font-weight: 700; }
.presma-public #myCarousel .carousel-caption p { font-size: 14px; }
.presma-public .home-skeleton-card { border-color: #e6ecf4; border-radius: 11px; padding: 15px; }
.presma-public .home-skeleton-block { border-radius: 5px; }
.presma-public .footer { position: relative; padding-top: 14px; width: auto; height: auto; }
.presma-public .footer .footer-inner { position: static; left: 0; right: 0; }
.presma-public .footer .footer-content { position: static; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid #dfe7f1; color: #79869a; font-size: 14px; padding: 14px 52px; }
.presma-public .presma-footer-version { white-space: nowrap; font-weight: 600; }
.presma-public .footer .bigger-120 { font-size: 12px !important; }
.presma-public #btn-scroll-up { background: #294d7b !important; border: 0; border-radius: 10px; right: max(16px, calc((100vw - 1320px) / 2 + 24px)); bottom: 16px; width: 38px; height: 38px; padding: 0; line-height: 38px; text-align: center; }
@media (min-width: 992px) {
    .presma-public #sidebar .nav-list { display: flex; align-items: center; gap: 6px; padding: 9px; }
    .presma-public #sidebar .nav-list > li > a { padding: 9px 14px; min-height: 42px; }
    .presma-public #sidebar .nav-list > li > a .menu-icon { display: inline-block; width: 20px; font-size: 16px; margin-right: 5px; vertical-align: middle; }
    .presma-public #sidebar .nav-list > li > a .menu-text { display: inline; }
    .presma-public #sidebar .nav-list > li.timer { margin-left: auto; }
}
@media (max-width: 991px) {
    .presma-public #main-container { padding-left: 16px; padding-right: 16px; }
    .presma-public #sidebar .nav-list > li > a { padding: 12px 16px; }
    .presma-public .presma-home-intro { padding: 24px; }
    .presma-public .presma-login-card { margin-top: 18px; }}
@media (max-width: 599px) {
    .presma-public #navbar .infobox-data-number { font-size: 19px; }
    .presma-public #navbar .infobox-icon > .ace-icon { font-size: 24px; }
    .presma-public #main-container { padding-left: 12px; padding-right: 12px; }
    .presma-public .page-content { padding-top: 18px; }
    .presma-public .presma-home-intro { border-radius: 13px; padding: 22px 20px; }
    .presma-public .presma-home-intro p { font-size: 13px; }
    .presma-public .widget-main { padding: 14px; }    .presma-public .home-section .widget-header { padding: 12px 14px; text-align: left; justify-content: flex-start; }
    .presma-public .home-section .widget-title { font-size: 18px; }
    .presma-public #myCarousel .item, .presma-public #myCarousel .item > img { min-height: 180px; height: 220px; }
    .presma-public #myCarousel .carousel-caption { padding: 22px; }
    .presma-public #myCarousel .carousel-caption h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .presma-public a, .presma-public .thumbnail { transition: none; }
}

/* Public navigation dropdowns. Keep Ace's existing visibility/collapse behavior. */
.presma-public #sidebar .nav-list .submenu {
    background: #fff;
    border: 1px solid #e2e9f2;
    border-radius: 13px;
    padding: 7px;
    box-shadow: 0 14px 36px rgba(24, 43, 70, .13), 0 3px 8px rgba(24, 43, 70, .04);
}
.presma-public #sidebar .nav-list .submenu > li { border: 0; margin: 2px 0; }
.presma-public #sidebar .nav-list .submenu > li > a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 14px;
    margin: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #42546d;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
}
.presma-public #sidebar .nav-list .submenu > li > a:hover,
.presma-public #sidebar .nav-list .submenu > li > a:focus,
.presma-public #sidebar .nav-list .submenu > li.active > a {
    background: #edf4ff;
    color: #245ba8;
}
.presma-public #sidebar .nav-list .submenu > li.active > a { font-weight: 650; }
.presma-public #sidebar .nav-list .submenu > li > a > .menu-icon,
.presma-public #sidebar .nav-list .submenu > li:before,
.presma-public #sidebar .nav-list .submenu > li > a:after,
.presma-public #sidebar .nav-list li > .arrow { display: none !important; }
@media (min-width: 992px) {
    .presma-public #sidebar .nav-list > li.hover > .submenu {
        top: calc(100% + 8px);
        left: 0;
        margin: 0;
        width: 250px;
        max-width: calc(100vw - 48px);
        z-index: 1030;
    }
    /* Transparent bridge keeps the pointer inside the hover target across the gap. */
    .presma-public #sidebar .nav-list > li.hover > .submenu:before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: -9px;
        bottom: auto;
        width: 100%;
        height: 9px;
        border: 0;
    }
    .presma-public #sidebar .nav-list .submenu li.hover > .submenu {
        top: -7px;
        left: calc(100% + 8px);
        margin: 0;
        width: 240px;
    }
    .presma-public #sidebar .nav-list .submenu li.hover > .submenu:before {
        content: ""; display: block; position: absolute;
        top: 0; bottom: 0; left: -9px; width: 9px; border: 0;
    }
}
@media (max-width: 991px) {
    .presma-public #sidebar .nav-list .submenu {
        margin: 4px 12px 10px;
        border-radius: 10px;
        box-shadow: none;
        background: #f8fafd;
    }
    .presma-public #sidebar .nav-list .submenu:before { display: none; }
}

/* Larger section actions, including filter cards and organisation/certificate footers. */
.presma-public .home-section .btn.btn-white {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 11px 18px; font-size: 14px; line-height: 1.5;
}
.presma-public .home-section .search-area .text-right .btn { display: flex; width: 100%; }
.presma-public .home-section .widget-box > .home-card-footer {
    border-radius: 0 0 13px 13px; padding: 14px; min-height: 0; justify-content: flex-end;
}
@media (max-width: 599px) {
    .presma-public .home-section .widget-header { min-height: 52px; }
    .presma-public .home-section .widget-box > .home-card-footer .btn { display: flex; width: 100%; }
}

/* Touch navigation uses Ace's dropdown-toggle click handler instead of hover. */
.presma-public #navbar .navbar-toggle {
    width: 44px; height: 44px; padding: 0 !important; box-sizing: border-box;
    background: transparent !important; border: 1px solid #ffffff55;
    box-shadow: none !important; text-shadow: none;
}
.presma-public #navbar .navbar-toggle:hover,
.presma-public #navbar .navbar-toggle:focus,
.presma-public #navbar .navbar-toggle[aria-expanded="true"] {
    background: #ffffff20 !important; border-color: #ffffff88;
}
.presma-public #navbar .navbar-toggle .icon-bar {
    width: 22px; height: 2px; background: #fff !important;
    border-radius: 2px; box-shadow: none; margin: 0 !important; flex: 0 0 2px;
}
.presma-public #sidebar .presma-submenu-chevron { margin-left: 10px; font-size: 14px; }
@media (max-width: 991px) {
    .presma-public #sidebar { max-width: 100%; max-height: calc(100vh - 88px); overflow-y: auto; overscroll-behavior: contain; }
    .presma-public #sidebar .nav-list > li > a { display: flex; align-items: center; min-height: 48px; }
    .presma-public #sidebar .nav-list > li > a > .menu-icon { margin-right: 10px; }
    .presma-public #sidebar .presma-submenu-chevron { margin-left: auto; }
    .presma-public #sidebar .open > a > .presma-submenu-chevron { transform: rotate(180deg); }
    .presma-public #sidebar .nav-list li.hover > .submenu {
        position: static !important; top: auto; left: auto;
        width: auto; max-width: none;
    }
    .presma-public #sidebar .nav-list li.hover > .submenu:before { display: none; }
}

@media (max-width: 991px) {
    .presma-public #navbar .navbar-toggle {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 5px; margin: 10px 8px 10px 0;
    }
}

/* Ace fixes the mobile panel to the viewport; use equal page gutters on both sides. */
@media (max-width: 991px) {
    .presma-public #sidebar.navbar-collapse {
        left: 16px !important; right: 16px !important;
        width: auto !important; max-width: none;
        margin-left: 0 !important; margin-right: 0 !important;
        box-sizing: border-box;
    }
}
@media (max-width: 599px) {
    .presma-public #sidebar.navbar-collapse { left: 12px !important; right: 12px !important; }
}

.presma-public .home-section .widget-header:before,
.presma-public .home-section .widget-header:after { display: none; content: none; }

/* A native stretched detail link covers the card; Slick still owns swipe handling. */
.presma-public .home-section .home-click-card {
    position: relative; isolation: isolate;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.presma-public .home-click-card .caption,
.presma-public .home-click-card .media-body,
.presma-public .home-click-card .search-title,
.presma-public .home-click-card .media-heading,
.presma-public .home-click-card .home-card-link { position: static; }
.presma-public .home-click-card .home-card-link:after {
    content: ""; position: absolute; inset: 0; z-index: 3;
    border-radius: 12px; cursor: pointer;
}
.presma-public .home-click-card .home-card-link,
.presma-public .home-click-card .home-card-link:hover,
.presma-public .home-click-card .home-card-link:focus { text-decoration: none !important; }
.presma-public .home-section .home-click-card:hover,
.presma-public .home-section .home-click-card:focus-within {
    border-color: var(--section-accent);
    background-color: var(--section-tint);
    box-shadow: 0 8px 24px rgba(24,43,70,.11);
}
.presma-public .home-click-card .home-card-link:focus-visible { outline: none; }
.presma-public .home-section .home-click-card:focus-within {
    outline: 2px solid var(--section-accent); outline-offset: -3px;
}
@media (prefers-reduced-motion: reduce) {
    .presma-public .home-section .home-click-card { transition: none; }
}

/* Native inline-anchor focus must not draw a separate outline around each text line. */
.presma-public .home-click-card .home-card-link:focus,
.presma-public .home-click-card .home-card-link:active {
    outline: none !important; box-shadow: none !important; text-decoration: none !important;
}
.presma-public .home-section .thumbnail .home-image-placeholder {
    object-fit: contain; background: #f1f5fa;
}

/* Shared public pages: activity lists/details, statistics, guide and FAQ. */
.presma-public .widget-box:not([class*="widget-color-"]):not(.presma-login-card) > .widget-header {
    box-sizing: border-box; display: flex; align-items: center; gap: 10px;
    min-height: 54px; padding: 14px 18px;
    background: #f5f8fc; background-image: none; border-bottom: 1px solid #e3eaf2;
}
.presma-public .widget-box:not([class*="widget-color-"]):not(.presma-login-card) > .widget-header > .widget-title {
    margin: 0; padding: 0; font-family: inherit; font-size: 17px; font-weight: 600;
    line-height: 1.5; color: #253e60 !important;
}
.presma-public .widget-box:not([class*="widget-color-"]):not(.presma-login-card) > .widget-header:before,
.presma-public .widget-box:not([class*="widget-color-"]):not(.presma-login-card) > .widget-header:after { display: none; }
.presma-public .widget-header > .widget-toolbar { margin-left: auto; }
.presma-public .panel { border: 1px solid #e3eaf2; box-shadow: none; background: #fff; }
.presma-public .panel, .presma-public .panel.no-radius { border-radius: 12px !important; }
.presma-public .panel > .panel-heading {
    padding: 13px 16px; background: #f3f7fc; background-image: none;
    color: #355575; border-color: #e3eaf2; font-weight: 600;
}
.presma-public .panel > .panel-heading, .presma-public .panel > .panel-heading.no-radius { border-radius: 11px 11px 0 0 !important; }
.presma-public .panel > .panel-body { padding: 18px; }
.presma-public .control-label { color: #536780; font-size: 13px; font-weight: 600; }
.presma-public .form-control { border-color: #d9e3ee; border-radius: 8px; box-shadow: none; color: #273e59; font-family: inherit; }
.presma-public input.form-control, .presma-public select.form-control { height: 40px; }
.presma-public .form-control:focus { border-color: #719bc9; box-shadow: 0 0 0 3px #245ba814; }
.presma-public .input-group-addon { border-color: #d9e3ee; background: #f5f8fc; color: #66809e; }
.presma-public .input-group-addon:first-child { border-radius: 8px 0 0 8px; }
.presma-public .input-group .form-control:last-child { border-radius: 0 8px 8px 0; }
.presma-public .widget-box:not([class*="widget-color-"]):not(.presma-login-card) .btn:not(.btn-xs),
.presma-public .presma-content-card .btn:not(.btn-xs) { min-height: 40px; padding: 8px 14px; }
.presma-public .btn-success { background: #245ba8 !important; border-color: #245ba8; }
.presma-public .btn-success:hover { background: #184783 !important; border-color: #184783; }
.presma-public .btn-danger { background: #fff1ef !important; border-color: #efd0cb; color: #a64d44 !important; }
.presma-public .btn-danger:hover { background: #ffe5e0 !important; border-color: #dfada4; }
.presma-public .select2-container--default .select2-selection--single { height: 40px; border: 1px solid #d9e3ee; border-radius: 8px; }
.presma-public .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 38px; padding-left: 12px; color: #273e59; font-size: 13px; }
.presma-public .select2-container--default .select2-selection--single .select2-selection__arrow { height: 38px; right: 8px; }
.presma-public .select2-dropdown { border-color: #d9e3ee; border-radius: 9px; box-shadow: 0 10px 28px #182b461a; }
.presma-public .select2-results__option { padding: 9px 12px; font-size: 13px; }
.presma-public .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #245ba8; }
.presma-public #jqGrid_container { max-width: 100%; overflow-x: auto; border: 1px solid #e3eaf2; border-radius: 11px; }
.presma-public .ui-jqgrid { border: 0; font-family: inherit; }
.presma-public .ui-jqgrid .ui-jqgrid-view { font-family: inherit; font-size: 13px; }
.presma-public .ui-jqgrid .ui-jqgrid-htable th { background: #f1f6fc; border-color: #e3eaf2; color: #405b7b; font-family: inherit; font-size: 12px; font-weight: 600; }
.presma-public .ui-jqgrid .ui-jqgrid-htable th div { padding: 8px 6px; line-height: 1.5; }
.presma-public .ui-jqgrid tr.jqgrow td { padding: 9px 8px; border-color: #e9eef5; color: #354d69; font-size: 13px; line-height: 1.6; }
.presma-public .ui-jqgrid tr.ui-state-hover td { background: #f7faff; }
.presma-public .ui-jqgrid tr.ui-state-highlight td { background: #eaf2ff; color: #244e80; }
.presma-public .ui-jqgrid .ui-jqgrid-pager { background: #fff; border-color: #e3eaf2; padding: 8px; min-height: 48px; color: #63758b; }
.presma-public .ui-jqgrid .ui-pg-input, .presma-public .ui-jqgrid .ui-pg-selbox { height: 28px; border: 1px solid #d9e3ee; border-radius: 6px; }
.presma-public .ui-jqgrid .action-buttons .btn { min-height: 32px; min-width: 32px; padding: 5px; }
.presma-public .profile-user-info { width: 100%; margin: 0; border-color: #e3eaf2; }
.presma-public .profile-info-name { padding: 10px 12px; background: #f5f8fc; color: #61758e; font-size: 12px; font-weight: 600; border-color: #e3eaf2; }
.presma-public .profile-info-value { padding: 10px 12px; color: #354d69; border-color: #e3eaf2; line-height: 1.7; }
.presma-public .accordion-style1.panel-group .panel-heading .accordion-toggle { padding: 14px 18px; background: #f3f7fc; color: #294f7b; font: 600 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; text-decoration: none; }
.presma-public .accordion-style1.panel-group .panel-heading .accordion-toggle:hover { background: #eaf2fc; }
.presma-public .accordion-style1.panel-group .panel-heading { padding: 0; }
.presma-public .panel-group .panel + .panel { margin-top: 16px; }
.presma-public .nav-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px !important; background: #f2f6fc !important; border: 0; border-radius: 10px; }
.presma-public .nav-tabs > li { float: none; margin: 0; }
.presma-public .nav-tabs > li > a { margin: 0; padding: 10px 13px; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: #5b6f89; font: 500 13px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.presma-public .nav-tabs > li > a:hover { color: #245ba8; background: #e7effa !important; }
.presma-public .nav-tabs > li.active > a, .presma-public .nav-tabs > li.active > a:hover, .presma-public .nav-tabs > li.active > a:focus { color: #245ba8; background: #fff !important; font-weight: 600; box-shadow: 0 2px 7px #182b4610; }
.presma-public .tab-content { margin-top: 12px; padding: 18px; border: 1px solid #e3eaf2; border-radius: 11px; background: #fff; }
.presma-public .presma-content-card { padding: 24px; background: #fff; border: 1px solid #e3eaf2; border-radius: 14px; box-shadow: 0 4px 20px #182b460a; overflow-wrap: anywhere; overflow-x: auto; }
.presma-public .presma-content-card h2, .presma-public .presma-content-card h3, .presma-public .presma-content-card h4 { font-family: inherit; font-weight: 600; line-height: 1.5; color: #294767; }
.presma-public .presma-content-card p, .presma-public .presma-content-card li { line-height: 1.8; }
.presma-public .presma-content-card img { max-width: 100%; height: auto; }
.presma-public .presma-content-card table { max-width: 100%; }
@media (max-width: 599px) {
    .presma-public .panel > .panel-body, .presma-public .presma-content-card, .presma-public .tab-content { padding: 14px; }
    .presma-public .panel-heading > label.pull-right { float: none !important; display: block; margin: 8px 0 0; }
    .presma-public .nav-tabs > li { flex: 1 1 auto; }
    .presma-public .nav-tabs > li > a { text-align: center; }
    .presma-public .profile-info-name { width: 105px; }
    .presma-public .profile-info-value { overflow-wrap: anywhere; }
}
.presma-public .table { border-color: #e3eaf2; font-family: inherit; font-size: 13px; }
.presma-public .table > thead > tr > th { background: #f1f6fc; color: #405b7b; padding: 12px; border-color: #e3eaf2; }
.presma-public .table > tbody > tr > td { padding: 10px 12px; border-color: #e8eef5; line-height: 1.7; }
.presma-public #sidebar .nav-list > li:has(.submenu li.active) > a { background: #edf4ff; color: #245ba8; }

.presma-public .ui-jqgrid-btable > tbody > tr.presma-grid-skeleton-row { background: #fff; pointer-events: none; }
.presma-public .ui-jqgrid-btable > tbody > tr.presma-grid-skeleton-row > td { box-sizing: border-box; height: 44px; padding: 12px 8px; border-color: #e8eef5; }
.presma-public .presma-grid-skeleton-bar { display: block; height: 14px; width: 98%; border-radius: 5px; background: linear-gradient(100deg, #e9eef5 20%, #f8faff 40%, #e9eef5 60%); background-size: 200% 100%; animation: presma-grid-shimmer 1.6s ease-in-out infinite; }
.presma-public .ui-jqgrid-btable > tbody > tr.presma-grid-row-pending { display: none; }
@keyframes presma-grid-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .presma-public .presma-grid-skeleton-bar { animation: none; } }
.presma-public .presma-evidence-body { position: relative; }
.presma-public .presma-skpi-seal { position: absolute; top: 12px; right: 12px; width: 72px; height: 72px; opacity: .55; pointer-events: none; border-radius: 50%; }
.presma-public .presma-evidence-list { display: block; list-style: none; margin: 0; padding: 14px; text-align: center; }
.presma-public .presma-evidence-list > li { float: none; list-style: none; border: 0; margin: 0; }
.presma-public .presma-evidence-list > .presma-evidence-empty { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 1px solid #e3eaf2; border-radius: 10px; background: #f5f8fc; color: #63758b; font-size: 14px; line-height: 1.6; }
.presma-public .ui-jqgrid .ui-jqgrid-htable th div { word-break: normal; overflow-wrap: normal; }

/* FAQ: native details keeps mouse, touch and keyboard interaction consistent. */
.presma-public .presma-content-card.presma-faq { padding: 0; border: 0; background: transparent; box-shadow: none; }
.presma-public .presma-page-intro { margin-bottom: 22px; padding: 26px 30px; border: 0; border-radius: 16px; background: linear-gradient(110deg, #142d50, #205a93); box-shadow: 0 12px 30px rgba(24, 43, 70, .18); }
.presma-public .presma-page-eyebrow { color: #a9c4e6; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; }
.presma-public .presma-page-intro h2 { margin: 8px 0; color: #fff; font-size: 25px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.presma-public .presma-page-intro p { margin: 0; color: #cddff2; font-size: 14px; line-height: 1.7; }
.presma-public .presma-faq-item { margin-bottom: 12px; border: 1px solid #e0e8f3; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px #193b6404; overflow: hidden; }
.presma-public .presma-faq-item > summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; list-style: none; cursor: pointer; color: #294563; transition: background-color .15s; }
.presma-public .presma-faq-item > summary::-webkit-details-marker { display: none; }
.presma-public .presma-faq-item > summary::marker { content: ''; }
.presma-public .presma-faq-item > summary:after { content: '+'; margin-left: auto; color: #50739e; font: 400 24px/1 Arial, sans-serif; }
.presma-public .presma-faq-item[open] > summary:after { content: '−'; }
.presma-public .presma-faq-item > summary:hover, .presma-public .presma-faq-item[open] > summary { background: #f5f8fd; }
.presma-public .presma-faq-item > summary:focus-visible { outline: 3px solid #619ee7; outline-offset: -3px; border-radius: 13px; }
.presma-public .presma-faq-number { display: inline-flex; flex: 0 0 34px; align-items: center; justify-content: center; height: 34px; border-radius: 10px; background: #eaf1fc; color: #356397; font-size: 12px; font-weight: 700; }
.presma-public .presma-faq-question { font-size: 15px; font-weight: 600; line-height: 1.6; }
.presma-public .presma-faq-answer { padding: 4px 70px 22px; color: #586b82; font-size: 14px; line-height: 1.85; }
.presma-public .presma-faq-answer ul { margin: 0; padding-left: 18px; }
.presma-public .presma-faq-answer li { margin: 0; padding-left: 2px; }
@media (max-width: 599px) {
    .presma-public .presma-page-intro { padding: 20px; }
    .presma-public .presma-page-intro h2 { font-size: 21px; }
    .presma-public .presma-faq-item > summary { padding: 15px; gap: 10px; }
    .presma-public .presma-faq-answer { padding: 4px 20px 20px; }
}

/* Keep typed values and placeholders comfortably inset, including search/date fields. */
.presma-public input.form-control, .presma-public textarea.form-control { box-sizing: border-box; padding-left: 14px; padding-right: 14px; }
.presma-public .input-icon > input.form-control { padding-left: 36px; }
.presma-public .input-icon.input-icon-right > input.form-control { padding-left: 14px; padding-right: 36px; }

/* Public jqGrid actions: center the icon independently of the row's text height. */
.presma-public .ui-jqgrid tr.jqgrow td[aria-describedby$="_menu"] { vertical-align: middle !important; padding: 8px 6px; }
.presma-public .ui-jqgrid .action-buttons { display: flex; align-items: center; justify-content: center; }
.presma-public .ui-jqgrid .action-buttons .btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; margin: 0; box-sizing: border-box; line-height: 1; }
.presma-public .ui-jqgrid .action-buttons .btn > .ace-icon { margin: 0; line-height: 1; }

/* free jqGrid's first row only measures column widths. Keep its cells in the
   table for alignment, with no visible height, padding or horizontal borders. */
.presma-public .ui-jqgrid .ui-jqgrid-btable > tbody > tr.jqgfirstrow,
.presma-public .ui-jqgrid .ui-jqgrid-btable > tbody > tr.jqgfirstrow > td {
    height: 0 !important;
    min-height: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.presma-public .ui-jqgrid.ui-jqgrid-jquery-ui .ui-jqgrid-btable,
.presma-public .ui-jqgrid.ui-jqgrid-jquery-ui .ui-jqgrid-btable > tbody > tr.jqgrow > td {
    border-color: #e5ecf4 !important;
}
.presma-public .ui-jqgrid .ui-pg-button > .fa,
.presma-public .ui-jqgrid .ui-pg-div > .fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 20px;
    height: 20px;
    margin: 0 4px;
    font-size: 16px;
    line-height: 1;
    text-indent: 0;
    background-image: none;
    color: #456487;
}
.presma-public .ui-jqgrid .ui-pg-button { vertical-align: middle; }
.presma-public .ui-jqgrid .ui-pg-button.ui-state-disabled { opacity: .4; }
.presma-public label[for="swaktupelaksanaan"]:after { content: '*'; color: #bd4c43; }

/* Record details share the public hero language with a compact, data-first title. */
.presma-public .presma-detail-intro { padding: 22px 28px; }
.presma-public .presma-detail-intro h2 { font-size: 23px; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 599px) {
    .presma-public .presma-detail-intro { padding: 18px 20px; }
    .presma-public .presma-detail-intro h2 { font-size: 20px; }
}

/* --- Form filter pencarian: baris & kolom rapat rapi --- */
@media (min-width: 768px) {
    .presma-public #formFilter .form-group { margin: 0 0 12px; }
    .presma-public #formFilter .form-group > label.control-label {
        text-align: left;
        padding-left: 14px;
        padding-right: 10px;
        line-height: 1.45;
    }
    .presma-public #formFilter .form-group > div[class*="col-sm"] { padding-left: 2px; }
    .presma-public #formFilter .form-group > div[class*="col-sm"] + label.control-label { padding-left: 16px; }
    .presma-public #formFilter .form-group > label.control-label + div[class*="col-sm"] { padding-left: 6px; }
    .presma-public #formFilter .input-group { display: flex; }
    .presma-public #formFilter .input-group-addon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; line-height: 1; box-sizing: border-box; }
    .presma-public #formFilter .input-group .form-control { height: 40px; box-sizing: border-box; }
    .presma-public #formFilter .btnBrowseGridWrap,
    .presma-public #formFilter .form-group.no-margin-bottom { margin-bottom: 0; }
    .presma-public #formFilter .form-group.no-margin-bottom .btn { margin: 2px 8px 0 0; }
}
.presma-public #formFilter .select2-choice,
.presma-public #formFilter .select2-container { font-size: 14px; }

/* --- Hint filter sebaris di kanan field input --- */
.presma-public .presma-filter-hint-cell { display: flex; align-items: center; }
.presma-public .presma-filter-hint-cell .help-block { margin: 0; font-size: 12.5px; line-height: 1.5; }
