/* Gaya Utama — BUKU PENGURUSAN SK LUNDANG (Bootstrap 3.4.1) */
body {
    background-color: #f4f6f9;
    color: #222;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Header Sekolah */
.skl-header {
    background: linear-gradient(135deg, #0b2e59 0%, #154c8a 100%);
    color: #ffffff;
    padding: 14px 0;
    border-bottom: 4px solid #f0ad4e;
}

.skl-brand-wrap {
    display: flex;
    align-items: center;
}

.skl-logo {
    max-height: 62px;
    max-width: 62px;
    margin-right: 14px;
    background: #fff;
    padding: 3px;
    border-radius: 4px;
}

.skl-logo-placeholder {
    width: 58px;
    height: 58px;
    margin-right: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #f0ad4e;
}

.skl-app-title {
    margin: 0 0 3px 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.skl-year-badge {
    vertical-align: middle;
    font-size: 12px;
}

.skl-slogan {
    margin: 0;
    font-size: 13px;
    color: #dce8f5;
    font-style: italic;
}

.skl-admin-meta {
    padding-top: 8px;
}

.skl-admin-meta small {
    color: #d0dfef;
}

/* Navbar */
.skl-navbar {
    border-radius: 0;
    margin-bottom: 18px;
    border-left: 0;
    border-right: 0;
}

.skl-navbar .navbar-form {
    margin-top: 8px;
    margin-bottom: 8px;
}

/* Main Container */
.skl-main-container {
    min-height: calc(100vh - 210px);
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 30px;
}

.skl-book-layout-row {
    margin-left: -1px;
    margin-right: -1px;
}

.skl-book-layout-row>[class*="col-"] {
    padding-left: 1px;
    padding-right: 1px;
}

@media (min-width: 992px) {
    .skl-book-layout-row>.col-md-3 {
        width: 24%;
    }

    .skl-book-layout-row>.col-md-9 {
        width: 76%;
    }
}

/* Login */
.skl-login-body {
    background: linear-gradient(135deg, #0b2e59 0%, #1c5fa8 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skl-login-panel {
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Sidebar Buku */
.skl-book-sidebar .panel-body.skl-sidebar-filter {
    padding: 8px;
}

.skl-sidebar-list {
    max-height: none;
    overflow-y: visible;
}

@media (min-width: 768px) {
    #sklBookSidebarCol {
        position: -webkit-sticky;
        position: sticky;
        top: 10px;
        align-self: flex-start;
    }

    .skl-sidebar-list {
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.skl-sidebar-list .list-group-item {
    padding: 8px 12px;
    content-visibility: auto;
    contain-intrinsic-size: 54px;
}

.skl-sb-title {
    font-weight: 600;
    font-size: 12.5px;
    line-height: 1.3;
    padding-right: 28px;
}

.skl-sb-meta {
    color: #777;
    font-size: 11px;
}

.skl-sidebar-list .list-group-item.active .skl-sb-meta {
    color: #e2edf8;
}

/* Pemapar Kertas B5 (498.75pt x 708.75pt ~ 176mm x 250mm) */
.skl-book-viewport {
    position: relative;
    overflow-x: auto;
    background: #dde3ec;
    border: 1px solid #cbd3df;
    border-radius: 6px;
    padding: 12px 4px 20px 4px;
}

.skl-book-sheet {
    box-sizing: border-box;
    width: 176mm;
    min-height: 250mm;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #bcc6d4;
    border-radius: 2px;
    box-shadow: 0 10px 28px rgba(11, 46, 89, 0.16);
    padding: 13mm 7mm 12mm 8mm;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    contain: layout style;
    transform-origin: top center;
    transition: transform 0.12s ease-out;
}

.skl-book-sheet .skl-sheet-body {
    max-width: 100%;
    box-sizing: border-box;
}

.skl-book-sheet .skl-sheet-body table {
    max-width: 100% !important;
}

.skl-book-sheet .skl-sheet-body td,
.skl-book-sheet .skl-sheet-body th {
    word-break: break-word;
}

/* Hiasan bucu PDF untuk semua muka surat isi */
.skl-corner-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 195px;
    height: 130px;
    pointer-events: none;
    z-index: 0;
}

.skl-corner-tl .c-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 185px;
    height: 130px;
    background: linear-gradient(155deg, #38bdf8 0%, #bae6fd 65%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(0 0, 88% 0, 32% 100%, 0 100%);
    opacity: 0.42;
}

.skl-corner-tl .c-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 155px;
    height: 105px;
    background: linear-gradient(150deg, #0284c7 0%, #60a5fa 75%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(0 0, 90% 0, 38% 100%, 0 100%);
    opacity: 0.72;
}

.skl-corner-tl .c-navy {
    position: absolute;
    top: 0;
    left: 0;
    width: 135px;
    height: 52px;
    background: #08244b;
    clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
    border-bottom-right-radius: 16px;
}

.skl-corner-br {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 195px;
    height: 130px;
    pointer-events: none;
    z-index: 0;
}

.skl-corner-br .c-sky {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 185px;
    height: 130px;
    background: linear-gradient(335deg, #38bdf8 0%, #bae6fd 65%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(68% 0, 100% 0, 100% 100%, 12% 100%);
    opacity: 0.42;
}

.skl-corner-br .c-blue {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 155px;
    height: 105px;
    background: linear-gradient(330deg, #0284c7 0%, #60a5fa 75%, rgba(255, 255, 255, 0) 100%);
    clip-path: polygon(62% 0, 100% 0, 100% 100%, 10% 100%);
    opacity: 0.72;
}

.skl-corner-br .c-navy {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 135px;
    height: 52px;
    background: #08244b;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    border-top-left-radius: 16px;
}

.skl-book-sheet.is-recto {
    background-image: linear-gradient(to right, rgba(11, 46, 89, 0.055) 0%, rgba(11, 46, 89, 0.012) 14px, rgba(255, 255, 255, 0) 34px);
}

.skl-book-sheet.is-verso {
    padding: 13mm 8mm 12mm 7mm;
    background-image: linear-gradient(to left, rgba(11, 46, 89, 0.055) 0%, rgba(11, 46, 89, 0.012) 14px, rgba(255, 255, 255, 0) 34px);
}

.skl-book-sheet.is-cover {
    padding: 0;
    height: 250mm;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafd 100%);
}

.skl-book-sheet.is-cover .skl-sheet-body {
    height: 100%;
    flex: 1;
}

.skl-book-sheet.is-cover .skl-sheet-body>.pdf-page-content,
.skl-book-sheet.is-cover .skl-cover-frame {
    min-height: 100% !important;
    height: 100% !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skl-book-sheet.is-back-cover {
    padding: 0 !important;
    height: 250mm;
}

.skl-book-sheet.is-back-cover .skl-back-cover-full {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skl-book-sheet.is-back-cover .skl-back-cover-full>div {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.skl-book-sheet.is-back-cover .skl-back-cover-full img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block;
    border: none !important;
}

/* Sokongan Pilihan Saiz Kertas A4 (210mm x 297mm) & B4 (250mm x 353mm) */
body.skl-paper-a4 .skl-book-sheet {
    width: 176mm;
    min-height: 250mm;
    padding: 13mm 7mm 12mm 8mm;
    zoom: 1.188;
}

body.skl-paper-a4 .skl-book-sheet.is-verso {
    padding: 13mm 8mm 12mm 7mm;
}

body.skl-paper-a4 .skl-book-sheet.is-cover {
    padding: 0;
}

body.skl-paper-a4 .skl-book-sheet.is-back-cover {
    padding: 0;
    height: 250mm;
}

body.skl-paper-b4 .skl-book-sheet {
    width: 176mm;
    min-height: 250mm;
    padding: 13mm 7mm 12mm 8mm;
    zoom: 1.412;
}

body.skl-paper-b4 .skl-book-sheet.is-verso {
    padding: 13mm 8mm 12mm 7mm;
}

body.skl-paper-b4 .skl-book-sheet.is-cover {
    padding: 0;
}

body.skl-paper-b4 .skl-book-sheet.is-back-cover {
    padding: 0;
    height: 250mm;
}

.skl-sheet-blank {
    background: #f0f5fc;
    background: #f4f7fb;
}

.skl-sheet-header {
    position: relative;
    z-index: 2;
    font-size: 9.5px;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 1.5px solid #08244b;
    padding-bottom: 5px;
    margin-bottom: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.skl-pdf-pill-top {
    display: inline-block;
    background: #fef9c3;
    border-radius: 16px;
    padding: 2px 16px;
    font-size: 9.5px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 3.5px;
    color: #0f172a;
}

.skl-pdf-pill-bottom {
    display: inline-block;
    background: #fef9c3;
    border-radius: 16px;
    padding: 2px 16px;
    font-size: 9px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 2.5px;
    color: #0f172a;
}

.skl-sheet-body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    font-size: 12px;
    line-height: 1.5;
    font-family: Georgia, "Times New Roman", "Liberation Serif", serif;
    font-size: 12.5px;
    line-height: 1.65;
    color: #1e293b;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.skl-sheet-body p,
.skl-sheet-body div,
.skl-sheet-body span,
.skl-sheet-body li,
.skl-sheet-body h1,
.skl-sheet-body h2,
.skl-sheet-body h3,
.skl-sheet-body h4,
.skl-sheet-body h5,
.skl-sheet-body h6,
.skl-sheet-body blockquote {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.skl-sheet-body pre {
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.skl-sheet-body::after,
.skl-sheet-body .pdf-page-content::after {
    content: "";
    display: table;
    clear: both;
}

.skl-sheet-body .page-section-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #0b2e59;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px dashed #d5dde6;
    padding-bottom: 4px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 6px;
    margin: 0 0 12px 0;
}

.skl-sheet-body .extracted-lines p {
    margin: 0 0 4px 0;
    margin: 0 0 6px 0;
    text-align: justify;
}

.skl-sheet-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11.5px;
}

.skl-sheet-body table th,
.skl-sheet-body table td {
    border: 1px solid #cbd5e1;
    padding: 5px 8px;
    vertical-align: top;
}

.skl-sheet-body table th {
    background: #0b2e59;
    color: #ffffff;
    font-weight: 600;
}

.skl-sheet-body .small-alert {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 6px 10px;
    font-size: 11px;
    margin-bottom: 10px;
    font-size: 10.5px;
    line-height: 1.4;
    margin-bottom: 12px;
    border-left: 3px solid #d4af37;
    background: #fffbeb;
    color: #78350f;
}

.skl-sheet-footer {
    position: relative;
    z-index: 20;
    font-size: 9.5px;
    color: #0f172a;
    border-top: 1.5px solid #08244b;
    padding-top: 6px;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skl-page-number-pill {
    position: relative;
    z-index: 21;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    background: #0b2e59;
    color: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}

/* Reka Bentuk Kulit Hadapan Rasmi (Halaman 1) */
.skl-cover-frame {
    border: 3px solid #0b2e59;
    padding: 4px;
    height: 100%;
    min-height: 226mm;
    display: flex;
    flex-direction: column;
}

.skl-cover-inner {
    border: 1.5px solid #d4af37;
    padding: 16mm 14mm 12mm 14mm;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(180deg, rgba(11, 46, 89, 0.03) 0%, rgba(255, 255, 255, 0) 25%, rgba(212, 175, 55, 0.05) 100%);
}

.skl-cover-kicker {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b45309;
    margin-bottom: 10px;
}

.skl-cover-emblem {
    width: 96px;
    height: 96px;
    margin: 8px auto 16px auto;
    border-radius: 50%;
    border: 2px dashed #d4af37;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b2e59;
    font-size: 38px;
    overflow: hidden;
}

.skl-cover-emblem img {
    max-width: 86px;
    max-height: 86px;
}

.skl-cover-main-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0b2e59;
    letter-spacing: 1.2px;
    line-height: 1.2;
    margin: 0 0 8px 0;
    text-transform: uppercase;
}

.skl-cover-year {
    display: inline-block;
    background: #0b2e59;
    color: #f8d568;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    padding: 5px 24px;
    border-radius: 3px;
    border: 1.5px solid #d4af37;
    margin: 10px 0 18px 0;
}

.skl-cover-school {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.6px;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.skl-cover-slogan {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    color: #0b2e59;
    margin: 0 0 14px 0;
}

.skl-cover-divider {
    width: 90px;
    height: 3px;
    background: #d4af37;
    margin: 10px auto 16px auto;
}

.skl-cover-meta-box {
    border-top: 1px solid #cbd5e1;
    padding-top: 12px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #475569;
    line-height: 1.6;
}

.skl-pdf-img-frame {
    background: #fff;
    border: 1px solid #bcc6d4;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    max-width: 176mm;
    margin: 0 auto;
}

.skl-pdf-img-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer */
.skl-footer {
    background: #ffffff;
    border-top: 1px solid #dce2ea;
    padding: 14px 0;
    color: #555;
    font-size: 12.5px;
}

@media (max-width: 767px) {
    .skl-book-viewport {
        padding: 8px 6px 12px 6px;
        margin-bottom: 14px;
        overflow-x: auto;
    }

    .skl-book-sheet {
        width: 100%;
        min-height: auto;
        padding: 14px;
    }

    .skl-footer .text-right {
        text-align: left;
        margin-top: 6px;
    }

    .modal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0 !important;
        padding: 0 !important;
    }

    .modal .modal-content {
        min-height: 100vh;
        min-height: 100dvh;
        border: 0 !important;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .modal .modal-body {
        flex: 1 1 auto;
        max-height: none !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #sklMobilePreviewModal .modal-dialog,
    #sklMobileQuickEditModal .modal-dialog,
    #sklMobileFullEditModal .modal-dialog {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #sklMobilePreviewModal .modal-content,
    #sklMobileQuickEditModal .modal-content,
    #sklMobileFullEditModal .modal-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    #sklMobilePreviewModal .modal-header,
    #sklMobileQuickEditModal .modal-header,
    #sklMobileFullEditModal .modal-header {
        background: #0b2e59;
        color: #ffffff;
        padding: 12px 14px;
        flex-shrink: 0;
    }

    #sklMobilePreviewModal .modal-header .close,
    #sklMobileQuickEditModal .modal-header .close,
    #sklMobileFullEditModal .modal-header .close {
        color: #ffffff;
        opacity: 0.9;
        text-shadow: none;
    }

    #sklMobilePreviewModal .modal-title,
    #sklMobileQuickEditModal .modal-title,
    #sklMobileFullEditModal .modal-title {
        font-size: 15px;
        font-weight: 600;
        padding-right: 12px;
    }

    #sklMobilePreviewModal .modal-body {
        flex: 1 1 auto !important;
        width: 100% !important;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        padding: 8px 8px 16px 8px !important;
        background: #dde3ec;
    }

    .skl-sidebar-list .list-group-item {
        cursor: pointer;
    }

    #sklMobilePreviewModal .skl-mobile-scale-wrap,
    .skl-book-viewport .skl-mobile-scale-wrap {
        margin: 0 auto 10px auto;
        position: relative;
        overflow: visible;
    }

    #sklMobilePreviewModal .skl-book-sheet,
    .skl-book-viewport .skl-book-sheet {
        box-sizing: border-box !important;
        width: 176mm !important;
        min-height: 250mm !important;
        padding: 13mm 9mm 12mm 9mm !important;
        margin: 0 !important;
        transform-origin: top left;
    }

    #sklMobilePreviewModal .skl-book-sheet table {
        max-width: 100% !important;
    }

    #sklMobilePreviewModal .skl-book-sheet td,
    #sklMobilePreviewModal .skl-book-sheet th {
        word-break: break-word;
    }

    #sklMobileQuickEditModal .modal-body {
        flex: 1 1 auto !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #sklMobileQuickEditModal #sklMobileEditCanvas {
        flex: 1 1 auto !important;
        min-height: 220px !important;
        max-height: none !important;
    }
}

/* Pratonton Mobile: sah untuk semua jenis skrin telefon & orientasi (potret/landskap) */
#sklMobilePreviewModal .modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sklMobilePreviewModal .modal-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
}

#sklMobilePreviewModal .modal-header {
    background: #0b2e59;
    color: #ffffff;
    padding: 12px 14px;
    flex-shrink: 0;
}

#sklMobilePreviewModal .modal-header .close {
    color: #ffffff;
    opacity: 0.9;
    text-shadow: none;
}

#sklMobilePreviewModal .modal-title {
    font-size: 15px;
    font-weight: 600;
    padding-right: 12px;
}

#sklMobilePreviewModal .modal-body {
    flex: 1 1 auto !important;
    width: 100% !important;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 8px 16px 8px !important;
    background: #dde3ec;
}

#sklMobilePreviewModal .skl-mobile-scale-wrap {
    margin: 0 auto 10px auto;
    position: relative;
    overflow: visible;
}

#sklMobilePreviewModal .skl-book-sheet {
    box-sizing: border-box !important;
    width: 176mm !important;
    min-height: 250mm !important;
    padding: 13mm 9mm 12mm 9mm !important;
    margin: 0 !important;
    transform-origin: top left;
}

#sklMobilePreviewModal .skl-book-sheet table {
    max-width: 100% !important;
}

#sklMobilePreviewModal .skl-book-sheet td,
#sklMobilePreviewModal .skl-book-sheet th {
    word-break: break-word;
}

/* Paparan Skrin Penuh Pratonton (Guru & Pentadbir - Desktop & Mobile) */
.skl-fs-preview-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10060;
    background: #1e293b;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
}

.skl-fs-preview-overlay.is-open {
    display: flex;
}

.skl-fs-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: #0b2e59;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.skl-fs-preview-title {
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skl-fs-preview-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.skl-fs-search-panel {
    position: fixed;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, calc(100vw - 16px));
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.45);
    z-index: 10075;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.skl-fs-search-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.skl-fs-search-status {
    padding: 5px 10px;
    font-size: 11.5px;
    color: #475569;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.skl-fs-search-results {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 60vh;
}

.skl-fs-search-item {
    display: block;
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    padding: 9px 12px;
    cursor: pointer;
    color: #0f172a;
}

.skl-fs-search-item:hover,
.skl-fs-search-item:focus {
    background: #eff6ff;
    outline: none;
}

.skl-fs-search-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0b2e59;
    margin-bottom: 2px;
}

.skl-fs-search-item-snippet {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.35;
}

.skl-fs-search-item mark {
    background: #fef08a;
    color: #0f172a;
    padding: 0 2px;
    border-radius: 2px;
}

.skl-fs-preview-body {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    padding: 8px;
    background: #0f172a;
}

.skl-fs-preview-body .skl-fullscreen-scale-wrap {
    margin: auto;
    position: relative;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.skl-fs-preview-body .skl-book-sheet {
    box-sizing: border-box !important;
    width: 176mm !important;
    min-height: 250mm !important;
    margin: 0 !important;
    transform-origin: top left;
}

@media (max-width: 767px) {
    .skl-fs-preview-header {
        position: fixed;
        top: 6px;
        right: 6px;
        left: 6px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        z-index: 10070;
        justify-content: flex-end;
        pointer-events: none;
    }

    .skl-fs-preview-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 4px;
        pointer-events: auto;
    }

    .skl-fs-preview-title {
        display: none;
    }

    .skl-fs-preview-actions .btn {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
        opacity: 0.92;
    }

    .skl-fs-preview-body {
        padding: 4px !important;
        height: 100vh !important;
        height: 100dvh !important;
    }

    .skl-fs-preview-body .skl-fullscreen-scale-wrap {
        margin: auto !important;
    }
}

@media print {
    .skl-fs-preview-overlay {
        display: none !important;
    }
}

/* Senarai Halaman PDF berlipat mengikut Bab */
.skl-sb-chapter {
    border-bottom: 1px solid #e2e8f0;
}
.skl-sb-chapter:last-child {
    border-bottom: none;
}
.skl-sb-chapter-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    background: #f1f5f9;
    border: 0;
    text-align: left;
    font-size: 11.5px;
    font-weight: 700;
    color: #0b2e59;
    cursor: pointer;
    transition: background 0.15s ease;
}
.skl-sb-chapter-header:hover,
.skl-sb-chapter-header:focus {
    background: #e2e8f0;
    outline: none;
}
.skl-sb-chapter-header.has-active {
    background: #dbeafe;
    color: #1e3a8a;
}
.skl-sb-chapter-header.is-open {
    background: #0b2e59;
    color: #ffffff;
}
.skl-sb-all-header {
    background: #e0f2fe;
    color: #0369a1;
}
.skl-sb-all-header:hover,
.skl-sb-all-header:focus {
    background: #bae6fd;
}
.skl-sb-all-header.is-open {
    background: #0284c7;
    color: #ffffff;
}
.skl-sb-chapter-title {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}
.skl-sb-chapter-arrow {
    font-size: 10px;
    transition: transform 0.18s ease;
    flex-shrink: 0;
}
.skl-sb-chapter-header.is-open .skl-sb-chapter-arrow {
    transform: rotate(90deg);
}
.skl-sb-chapter-count {
    background: #64748b;
    color: #ffffff;
    font-size: 10px;
    flex-shrink: 0;
}
.skl-sb-chapter-header.is-open .skl-sb-chapter-count {
    background: rgba(255, 255, 255, 0.25);
}
.skl-sb-chapter-body {
    background: #ffffff;
}

/* Tema Border & Bucu Semua Halaman (Mengikut Pilihan Templat Kulit) */
.skl-corner-tl,
.skl-corner-br,
.skl-pdf-pill-top,
.skl-pdf-pill-bottom,
.skl-page-number-pill {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Templat 1: Korporat Biru Moden (Asas Muka Surat 2 & Keseluruhan) */
.skl-book-sheet .skl-toc-title,
.skl-book-sheet [data-halaman="2"] h3 {
    color: #0b2e59 !important;
    border-bottom: 2px solid #0d73cc;
    padding-bottom: 5px;
    margin-bottom: 10px !important;
}

.skl-book-sheet .skl-toc-table,
.skl-book-sheet [data-halaman="2"] table {
    border-color: #0b2e59 !important;
}

.skl-book-sheet .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.skl-book-sheet .skl-toc-page {
    color: #0b2e59 !important;
}

.skl-book-sheet .skl-toc-group-row td {
    background: #dbeafe !important;
    color: #0b2e59 !important;
    border-top: 1.5px solid #0b2e59 !important;
    border-bottom: 1px solid #93c5fd !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-toc-group-row td {
    background: #fef3c7 !important;
    color: #0b2e59 !important;
    border-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-toc-group-row td {
    background: #d1fae5 !important;
    color: #064e3b !important;
    border-color: #059669 !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-toc-group-row td {
    background: #fee2e2 !important;
    color: #7f1d1d !important;
    border-color: #b91c1c !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-toc-group-row td {
    background: #ede9fe !important;
    color: #4c1d95 !important;
    border-color: #7c3aed !important;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-toc-group-row td {
    background: #ccfbf1 !important;
    color: #134e4a !important;
    border-color: #0f766e !important;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-toc-group-row td {
    background: #fde68a !important;
    color: #451a03 !important;
    border-color: #78350f !important;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-toc-group-row td {
    background: #cffafe !important;
    color: #1e1b4b !important;
    border-color: #06b6d4 !important;
}

.skl-book-sheet .skl-sheet-body table th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Templat 2: Klasik Diraja (Emas & Navy) */
.skl-book-sheet.skl-theme-klasik_diraja:not(.is-cover):not(.is-back-cover) {
    border: none;
    background: linear-gradient(180deg, rgba(11, 46, 89, 0.025) 0%, #ffffff 16%, #ffffff 84%, rgba(212, 175, 55, 0.045) 100%);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.14), inset 0 0 0 2.5px #0b2e59, inset 0 0 0 5.5px #ffffff, inset 0 0 0 7px #d4af37;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-klasik_diraja.is-back-cover {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.14), inset 0 0 0 3px #0b2e59, inset 0 0 0 6px #ffffff, inset 0 0 0 7.5px #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-tl .c-sky {
    background: linear-gradient(155deg, #fde68a 0%, #fef3c7 65%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.55;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-tl .c-blue {
    background: linear-gradient(150deg, #d4af37 0%, #f59e0b 75%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.82;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-tl .c-navy {
    background: #0b2e59;
    box-shadow: inset 0 -2.5px 0 #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-br .c-sky {
    background: linear-gradient(335deg, #fde68a 0%, #fef3c7 65%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.55;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-br .c-blue {
    background: linear-gradient(330deg, #d4af37 0%, #f59e0b 75%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.82;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-corner-br .c-navy {
    background: #0b2e59;
    box-shadow: inset 0 2.5px 0 #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-header {
    border-bottom: 3px double #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-footer {
    border-top: 3px double #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-klasik_diraja .skl-pdf-pill-bottom {
    background: #0b2e59;
    color: #f8d568;
    border: 1px solid #d4af37;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.45);
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-page-number-pill {
    background: #d4af37;
    color: #0b2e59;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-toc-title,
.skl-book-sheet.skl-theme-klasik_diraja [data-halaman="2"] h3 {
    color: #0b2e59 !important;
    border-bottom: 2px solid #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-toc-table,
.skl-book-sheet.skl-theme-klasik_diraja [data-halaman="2"] table {
    border-color: #0b2e59 !important;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-klasik_diraja [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #fefce8;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-toc-page,
.skl-book-sheet.skl-theme-klasik_diraja [data-halaman="2"] a {
    color: #0b2e59 !important;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-body .page-section-title {
    color: #0b2e59;
    border-bottom-color: #d4af37;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-body table th {
    background: #0b2e59 !important;
    color: #f8d568 !important;
    border-color: #1e3a8a !important;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-staff-card-banner,
.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-body div[style*="background:#2b609e"],
.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-body div[style*="background: #2b609e"] {
    background: linear-gradient(90deg, #0b2e59 0%, #1e3a8a 100%) !important;
    color: #f8d568 !important;
    border-bottom: 2px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-sheet-body .small-alert {
    border-left-color: #d4af37;
    background: #fffbeb;
    color: #78350f;
}

.skl-book-sheet.skl-theme-klasik_diraja .skl-staff-cards-heading {
    color: #0b2e59;
    border-bottom-color: #d4af37;
}

/* Templat 3: Moden Minimalis (Zamrud) */
.skl-book-sheet.skl-theme-moden_zamrud {
    border-top: 4px solid #065f46;
    border-bottom: 4px solid #059669;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-tl .c-sky {
    background: linear-gradient(155deg, #6ee7b7 0%, #d1fae5 65%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.5;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-tl .c-blue {
    background: linear-gradient(150deg, #059669 0%, #34d399 75%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.78;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-tl .c-navy {
    background: #064e3b;
    box-shadow: inset 0 -2px 0 #f59e0b;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-br .c-sky {
    background: linear-gradient(335deg, #6ee7b7 0%, #d1fae5 65%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.5;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-br .c-blue {
    background: linear-gradient(330deg, #059669 0%, #34d399 75%, rgba(255, 255, 255, 0) 100%);
    opacity: 0.78;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-corner-br .c-navy {
    background: #064e3b;
    box-shadow: inset 0 2px 0 #f59e0b;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-header {
    border-bottom: 2px solid #065f46;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-footer {
    border-top: 2px solid #065f46;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-moden_zamrud .skl-pdf-pill-bottom {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-left: 4px solid #065f46;
    border-radius: 2px 12px 12px 2px;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-page-number-pill {
    background: #065f46;
    color: #ffffff;
    border-radius: 6px;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-toc-title,
.skl-book-sheet.skl-theme-moden_zamrud [data-halaman="2"] h3 {
    color: #065f46 !important;
    border-bottom: 2px solid #f59e0b;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-toc-table,
.skl-book-sheet.skl-theme-moden_zamrud [data-halaman="2"] table {
    border-color: #065f46 !important;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-moden_zamrud [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #ecfdf5;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-toc-page,
.skl-book-sheet.skl-theme-moden_zamrud [data-halaman="2"] td:last-child a {
    color: #065f46 !important;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-body .page-section-title {
    color: #065f46 !important;
    border-bottom-color: #f59e0b !important;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-body table th {
    background: #065f46 !important;
    color: #ffffff !important;
    border-color: #047857 !important;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-body table td {
    border-color: #a7f3d0;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-sheet-body .small-alert {
    border-left-color: #059669;
    background: #ecfdf5;
    color: #064e3b;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-staff-cards-heading {
    color: #065f46;
    border-bottom-color: #f59e0b;
}

.skl-book-sheet.skl-theme-moden_zamrud .skl-staff-card-banner {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

/* Templat 4: Eksekutif Krimson & Arang */
.skl-book-sheet.skl-theme-eksekutif_merah {
    border-top: 4px solid #18181b;
    border-bottom: 4px solid #b91c1c;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-header {
    border-bottom: 2px solid #b91c1c;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-footer {
    border-top: 2px solid #18181b;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-eksekutif_merah .skl-pdf-pill-bottom {
    background: #18181b;
    color: #fecaca;
    border: none;
    border-left: 4px solid #ef4444;
    border-radius: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding: 3px 16px 3px 10px;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-page-number-pill {
    background: #b91c1c;
    color: #ffffff;
    border-radius: 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    padding: 3px 11px;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-toc-title,
.skl-book-sheet.skl-theme-eksekutif_merah [data-halaman="2"] h3 {
    color: #18181b !important;
    border-bottom: 2px solid #b91c1c;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-toc-table,
.skl-book-sheet.skl-theme-eksekutif_merah [data-halaman="2"] table {
    border-color: #18181b !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-eksekutif_merah [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #fef2f2;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-toc-page,
.skl-book-sheet.skl-theme-eksekutif_merah [data-halaman="2"] td:last-child a {
    color: #b91c1c !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-body .page-section-title {
    color: #18181b !important;
    border-bottom-color: #b91c1c !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-body table th {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #3f3f46 !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-body table td {
    border-color: #fecaca;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-sheet-body .small-alert {
    border-left-color: #b91c1c;
    background: #fef2f2;
    color: #7f1d1d;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-staff-cards-heading {
    color: #18181b;
    border-bottom-color: #b91c1c;
}

.skl-book-sheet.skl-theme-eksekutif_merah .skl-staff-card-banner {
    background: linear-gradient(135deg, #18181b 0%, #b91c1c 100%);
}

/* Templat 5: Geometrik Ungu Diraja */
.skl-book-sheet.skl-theme-geometrik_ungu {
    border-top: 4px solid #5b21b6;
    border-bottom: 4px solid #7c3aed;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-header {
    border-bottom: 2px dashed #7c3aed;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-footer {
    border-top: 2px dashed #5b21b6;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-geometrik_ungu .skl-pdf-pill-bottom {
    background: #f5f3ff;
    color: #5b21b6;
    border: none;
    border-left: 3px solid #f59e0b;
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
    padding: 3px 16px 3px 10px;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-page-number-pill {
    background: #5b21b6;
    color: #fde68a;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    padding: 5px 12px;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-toc-title,
.skl-book-sheet.skl-theme-geometrik_ungu [data-halaman="2"] h3 {
    color: #5b21b6 !important;
    border-bottom: 2px solid #f59e0b;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-toc-table,
.skl-book-sheet.skl-theme-geometrik_ungu [data-halaman="2"] table {
    border-color: #5b21b6 !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-geometrik_ungu [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #f5f3ff;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-toc-page,
.skl-book-sheet.skl-theme-geometrik_ungu [data-halaman="2"] td:last-child a {
    color: #6d28d9 !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-body .page-section-title {
    color: #5b21b6 !important;
    border-bottom-color: #f59e0b !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-body table th {
    background: #5b21b6 !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-body table td {
    border-color: #ddd6fe;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-sheet-body .small-alert {
    border-left-color: #7c3aed;
    background: #f5f3ff;
    color: #4c1d95;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-staff-cards-heading {
    color: #5b21b6;
    border-bottom-color: #f59e0b;
}

.skl-book-sheet.skl-theme-geometrik_ungu .skl-staff-card-banner {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
}

/* Templat 6: Editorial Lautan Teal */
.skl-book-sheet.skl-theme-editorial_teal {
    border-top: 4px solid #0f766e;
    border-bottom: 4px solid #14b8a6;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-header {
    border-bottom: 2px dotted #0f766e;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-footer {
    border-top: 2px dotted #0f766e;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-editorial_teal .skl-pdf-pill-bottom {
    background: #f0fdfa;
    color: #134e4a;
    border: 1px solid #99f6e4;
    border-radius: 14px 2px 14px 2px;
    padding: 3px 12px;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-page-number-pill {
    background: #0f766e;
    color: #fef3c7;
    border-radius: 50% 50% 50% 2px;
    padding: 3px 9px;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-toc-title,
.skl-book-sheet.skl-theme-editorial_teal [data-halaman="2"] h3 {
    color: #134e4a !important;
    border-bottom: 2px solid #d97706;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-toc-table,
.skl-book-sheet.skl-theme-editorial_teal [data-halaman="2"] table {
    border-color: #0f766e !important;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-editorial_teal [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #f0fdfa;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-toc-page,
.skl-book-sheet.skl-theme-editorial_teal [data-halaman="2"] td:last-child a {
    color: #0f766e !important;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-body .page-section-title {
    color: #134e4a !important;
    border-bottom-color: #d97706 !important;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-body table th {
    background: #0f766e !important;
    color: #ffffff !important;
    border-color: #14b8a6 !important;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-body table td {
    border-color: #99f6e4;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-sheet-body .small-alert {
    border-left-color: #0f766e;
    background: #f0fdfa;
    color: #134e4a;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-staff-cards-heading {
    color: #134e4a;
    border-bottom-color: #d97706;
}

.skl-book-sheet.skl-theme-editorial_teal .skl-staff-card-banner {
    background: linear-gradient(135deg, #134e4a 0%, #0d9488 100%);
}

/* Templat 7: Warisan Klasik Sepia */
.skl-book-sheet.skl-theme-warisan_coklat {
    border-top: 4px solid #78350f;
    border-bottom: 4px solid #451a03;
    background: #fdfbf7;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-header {
    border-bottom: 3px double #78350f;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-footer {
    border-top: 3px double #78350f;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-warisan_coklat .skl-pdf-pill-bottom {
    background: #fffbeb;
    color: #78350f;
    border: 1.5px solid #78350f;
    border-radius: 0;
    box-shadow: 0 0 0 2px #fffbeb, 0 0 0 3px #d97706;
    font-family: Georgia, "Times New Roman", serif;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-page-number-pill {
    background: #78350f;
    color: #fef3c7;
    border-radius: 2px;
    border: 2px double #fde68a;
    font-family: Georgia, "Times New Roman", serif;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-toc-title,
.skl-book-sheet.skl-theme-warisan_coklat [data-halaman="2"] h3 {
    color: #451a03 !important;
    border-bottom: 2px double #b45309;
    font-family: Georgia, "Times New Roman", serif;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-toc-table,
.skl-book-sheet.skl-theme-warisan_coklat [data-halaman="2"] table {
    border-color: #78350f !important;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-warisan_coklat [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #fef3c7;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-toc-page,
.skl-book-sheet.skl-theme-warisan_coklat [data-halaman="2"] td:last-child a {
    color: #78350f !important;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-body .page-section-title {
    color: #451a03 !important;
    border-bottom-color: #b45309 !important;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-body table th {
    background: #78350f !important;
    color: #fef3c7 !important;
    border-color: #92400e !important;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-body table td {
    border-color: #fde68a;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-sheet-body .small-alert {
    border-left-color: #b45309;
    background: #fef3c7;
    color: #451a03;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-staff-cards-heading {
    color: #451a03;
    border-bottom-color: #b45309;
}

.skl-book-sheet.skl-theme-warisan_coklat .skl-staff-card-banner {
    background: linear-gradient(135deg, #451a03 0%, #92400e 100%);
}

/* Templat 8: Futuristik Indigo & Sian */
.skl-book-sheet.skl-theme-futuristik_siber {
    border-top: 4px solid #06b6d4;
    border-bottom: 4px solid #1e1b4b;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-header {
    border-bottom: 2px solid #06b6d4;
    box-shadow: 0 2px 6px rgba(6, 182, 212, 0.18);
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-footer {
    border-top: 2px solid #312e81;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-futuristik_siber .skl-pdf-pill-bottom {
    background: #0f172a;
    color: #67e8f9;
    border: none;
    border-bottom: 2px solid #06b6d4;
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding: 3px 16px;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-page-number-pill {
    background: #1e1b4b;
    color: #22d3ee;
    border: none;
    border-radius: 0;
    clip-path: polygon(22% 0%, 78% 0%, 100% 25%, 100% 75%, 78% 100%, 22% 100%, 0% 75%, 0% 25%);
    padding: 4px 11px;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-toc-title,
.skl-book-sheet.skl-theme-futuristik_siber [data-halaman="2"] h3 {
    color: #1e1b4b !important;
    border-bottom: 2px solid #06b6d4;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-toc-table,
.skl-book-sheet.skl-theme-futuristik_siber [data-halaman="2"] table {
    border-color: #1e1b4b !important;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-futuristik_siber [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #ecfeff;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-toc-page,
.skl-book-sheet.skl-theme-futuristik_siber [data-halaman="2"] td:last-child a {
    color: #0891b2 !important;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-body .page-section-title {
    color: #1e1b4b !important;
    border-bottom-color: #06b6d4 !important;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-body table th {
    background: #1e1b4b !important;
    color: #67e8f9 !important;
    border-color: #312e81 !important;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-body table td {
    border-color: #a5f3fc;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-sheet-body .small-alert {
    border-left-color: #06b6d4;
    background: #ecfeff;
    color: #164e63;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-staff-cards-heading {
    color: #1e1b4b;
    border-bottom-color: #06b6d4;
}

.skl-book-sheet.skl-theme-futuristik_siber .skl-staff-card-banner {
    background: linear-gradient(135deg, #0f172a 0%, #312e81 65%, #0891b2 100%);
}

/* Templat 9 - 18 (Koleksi Templat Baharu) */
.skl-book-sheet.skl-theme-berlian_biru {
    --skl-t-p: #0f294a;
    --skl-t-s: #1d6fa5;
    --skl-t-a: #38bdf8;
    --skl-t-tint: #f0f9ff;
    --skl-t-bd: #bae6fd;
}

.skl-book-sheet.skl-theme-emas_mustard {
    --skl-t-p: #1c2421;
    --skl-t-s: #ca9a2e;
    --skl-t-a: #eab308;
    --skl-t-tint: #fefce8;
    --skl-t-bd: #fde047;
}

.skl-book-sheet.skl-theme-pop_ungu {
    --skl-t-p: #27134e;
    --skl-t-s: #ec4899;
    --skl-t-a: #facc15;
    --skl-t-tint: #fdf4ff;
    --skl-t-bd: #f5d0fe;
}

.skl-book-sheet.skl-theme-bulatan_biru {
    --skl-t-p: #0284c7;
    --skl-t-s: #1e293b;
    --skl-t-a: #38bdf8;
    --skl-t-tint: #f0f9ff;
    --skl-t-bd: #bae6fd;
}

.skl-book-sheet.skl-theme-gradasi_magenta {
    --skl-t-p: #86198f;
    --skl-t-s: #d97706;
    --skl-t-a: #facc15;
    --skl-t-tint: #fdf4ff;
    --skl-t-bd: #f5d0fe;
}

.skl-book-sheet.skl-theme-chevron_merah {
    --skl-t-p: #b91c1c;
    --skl-t-s: #7f1d1d;
    --skl-t-a: #facc15;
    --skl-t-tint: #fef2f2;
    --skl-t-bd: #fecaca;
}

.skl-book-sheet.skl-theme-minimalis_jalur {
    --skl-t-p: #0b1d3a;
    --skl-t-s: #0284c7;
    --skl-t-a: #38bdf8;
    --skl-t-tint: #f8fafc;
    --skl-t-bd: #cbd5e1;
}

.skl-book-sheet.skl-theme-heksagon_teal {
    --skl-t-p: #0f766e;
    --skl-t-s: #6d28d9;
    --skl-t-a: #14b8a6;
    --skl-t-tint: #f0fdfa;
    --skl-t-bd: #99f6e4;
}

.skl-book-sheet.skl-theme-grid_biru {
    --skl-t-p: #1e3a8a;
    --skl-t-s: #2563eb;
    --skl-t-a: #60a5fa;
    --skl-t-tint: #eff6ff;
    --skl-t-bd: #bfdbfe;
}

.skl-book-sheet.skl-theme-spektrum_sian {
    --skl-t-p: #5b21b6;
    --skl-t-s: #06b6d4;
    --skl-t-a: #38bdf8;
    --skl-t-tint: #f5f3ff;
    --skl-t-bd: #ddd6fe;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian).skl-book-sheet {
    border-top: 4px solid var(--skl-t-p);
    border-bottom: 4px solid var(--skl-t-s);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-header {
    border-bottom: 2px solid var(--skl-t-p);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-footer {
    border-top: 2px solid var(--skl-t-s);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-pdf-pill-top,
:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-pdf-pill-bottom {
    background: var(--skl-t-p);
    color: #ffffff;
    border-color: var(--skl-t-a);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-page-number-pill {
    background: var(--skl-t-s);
    color: #ffffff;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-toc-title,
:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) [data-halaman="2"] h3 {
    color: var(--skl-t-p) !important;
    border-bottom: 2px solid var(--skl-t-a);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-toc-table,
:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) [data-halaman="2"] table {
    border-color: var(--skl-t-p) !important;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-toc-table tbody tr:nth-child(even),
:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) [data-halaman="2"] table tbody tr:nth-child(even) {
    background: var(--skl-t-tint);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-toc-page,
:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) [data-halaman="2"] td:last-child a {
    color: var(--skl-t-s) !important;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-body .page-section-title {
    color: var(--skl-t-p) !important;
    border-bottom-color: var(--skl-t-a) !important;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-body table th {
    background: var(--skl-t-p) !important;
    color: #ffffff !important;
    border-color: var(--skl-t-s) !important;
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-body table td {
    border-color: var(--skl-t-bd);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-sheet-body .small-alert {
    border-left-color: var(--skl-t-s);
    background: var(--skl-t-tint);
    color: var(--skl-t-p);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-staff-cards-heading {
    color: var(--skl-t-p);
    border-bottom-color: var(--skl-t-a);
}

:is(.skl-theme-berlian_biru, .skl-theme-emas_mustard, .skl-theme-pop_ungu, .skl-theme-bulatan_biru, .skl-theme-gradasi_magenta, .skl-theme-chevron_merah, .skl-theme-minimalis_jalur, .skl-theme-heksagon_teal, .skl-theme-grid_biru, .skl-theme-spektrum_sian) .skl-staff-card-banner {
    background: linear-gradient(135deg, var(--skl-t-p) 0%, var(--skl-t-s) 100%);
}

/* Templat Tersuai Dinamik (AI / Templat Simpanan) */
.skl-book-sheet.skl-theme-custom {
    border-top: 4px solid var(--skl-c-primary, #0b2e59);
    border-bottom: 4px solid var(--skl-c-secondary, #1e293b);
}

.skl-book-sheet.skl-theme-custom .skl-sheet-header {
    border-bottom: 2px solid var(--skl-c-primary, #0b2e59);
}

.skl-book-sheet.skl-theme-custom .skl-sheet-footer {
    border-top: 2px solid var(--skl-c-secondary, #1e293b);
}

.skl-book-sheet.skl-theme-custom .skl-pdf-pill-top,
.skl-book-sheet.skl-theme-custom .skl-pdf-pill-bottom {
    background: var(--skl-c-primary, #0b2e59);
    color: #ffffff;
    border: 1px solid var(--skl-c-accent, #f59e0b);
}

.skl-book-sheet.skl-theme-custom .skl-page-number-pill {
    background: var(--skl-c-secondary, #1e293b);
    color: #ffffff;
}

.skl-book-sheet.skl-theme-custom .skl-toc-title,
.skl-book-sheet.skl-theme-custom [data-halaman="2"] h3 {
    color: var(--skl-c-primary, #0b2e59) !important;
    border-bottom: 2px solid var(--skl-c-accent, #f59e0b);
}

.skl-book-sheet.skl-theme-custom .skl-toc-table,
.skl-book-sheet.skl-theme-custom [data-halaman="2"] table {
    border-color: var(--skl-c-primary, #0b2e59) !important;
}

.skl-book-sheet.skl-theme-custom .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-custom [data-halaman="2"] table tbody tr:nth-child(even) {
    background: var(--skl-c-soft, #f8fafc);
}

.skl-book-sheet.skl-theme-custom .skl-toc-group-row td {
    background: var(--skl-c-soft, #eff6ff) !important;
    color: var(--skl-c-primary, #0b2e59) !important;
    border-color: var(--skl-c-primary, #0b2e59) !important;
}

.skl-book-sheet.skl-theme-custom .skl-toc-page,
.skl-book-sheet.skl-theme-custom [data-halaman="2"] td:last-child a {
    color: var(--skl-c-primary, #0b2e59) !important;
}

.skl-book-sheet.skl-theme-custom .skl-sheet-body .page-section-title {
    color: var(--skl-c-primary, #0b2e59) !important;
    border-bottom-color: var(--skl-c-accent, #f59e0b) !important;
}

.skl-book-sheet.skl-theme-custom .skl-sheet-body table th {
    background: var(--skl-c-primary, #0b2e59) !important;
    color: #ffffff !important;
    border-color: var(--skl-c-secondary, #1e293b) !important;
}

.skl-book-sheet.skl-theme-custom .skl-sheet-body table td {
    border-color: var(--skl-c-soft, #cbd5e1);
}

.skl-book-sheet.skl-theme-custom .skl-sheet-body .small-alert {
    border-left-color: var(--skl-c-primary, #0b2e59);
    background: var(--skl-c-soft, #f8fafc);
    color: var(--skl-c-secondary, #1e293b);
}

.skl-book-sheet.skl-theme-custom .skl-staff-cards-heading {
    color: var(--skl-c-primary, #0b2e59);
    border-bottom-color: var(--skl-c-accent, #f59e0b);
}

.skl-book-sheet.skl-theme-custom .skl-staff-card-banner {
    background: linear-gradient(135deg, var(--skl-c-secondary, #1e293b) 0%, var(--skl-c-primary, #0b2e59) 100%);
}

/* Pembolehubah Tema Bersepadu untuk Kotak-Kotak Dalaman & Pembahagi Bab (Templat 1 - 18 & Tersuai) */
.skl-book-sheet.skl-theme-korporat_biru {
    --skl-t-p: #0d73cc;
    --skl-t-s: #1f2f54;
    --skl-t-a: #38bdf8;
    --skl-t-tint: #eff6ff;
    --skl-t-bd: #93c5fd;
}

.skl-book-sheet.skl-theme-klasik_diraja {
    --skl-t-p: #0b2e59;
    --skl-t-s: #1e3a8a;
    --skl-t-a: #d4af37;
    --skl-t-tint: #fefce8;
    --skl-t-bd: #d4af37;
}

.skl-book-sheet.skl-theme-moden_zamrud {
    --skl-t-p: #065f46;
    --skl-t-s: #0f172a;
    --skl-t-a: #f59e0b;
    --skl-t-tint: #ecfdf5;
    --skl-t-bd: #6ee7b7;
}

.skl-book-sheet.skl-theme-eksekutif_merah {
    --skl-t-p: #b91c1c;
    --skl-t-s: #18181b;
    --skl-t-a: #ef4444;
    --skl-t-tint: #fef2f2;
    --skl-t-bd: #fca5a5;
}

.skl-book-sheet.skl-theme-geometrik_ungu {
    --skl-t-p: #5b21b6;
    --skl-t-s: #7c3aed;
    --skl-t-a: #f59e0b;
    --skl-t-tint: #f5f3ff;
    --skl-t-bd: #c4b5fd;
}

.skl-book-sheet.skl-theme-editorial_teal {
    --skl-t-p: #0f766e;
    --skl-t-s: #134e4a;
    --skl-t-a: #d97706;
    --skl-t-tint: #f0fdfa;
    --skl-t-bd: #5eead4;
}

.skl-book-sheet.skl-theme-warisan_coklat {
    --skl-t-p: #78350f;
    --skl-t-s: #451a03;
    --skl-t-a: #d97706;
    --skl-t-tint: #fffbeb;
    --skl-t-bd: #fcd34d;
}

.skl-book-sheet.skl-theme-futuristik_siber {
    --skl-t-p: #1e1b4b;
    --skl-t-s: #0f172a;
    --skl-t-a: #06b6d4;
    --skl-t-tint: #ecfeff;
    --skl-t-bd: #67e8f9;
}

.skl-book-sheet.skl-theme-custom {
    --skl-t-p: var(--skl-c-primary, #0b2e59);
    --skl-t-s: var(--skl-c-secondary, #1e293b);
    --skl-t-a: var(--skl-c-accent, #f59e0b);
    --skl-t-tint: var(--skl-c-soft, #eff6ff);
    --skl-t-bd: var(--skl-c-accent, #cbd5e1);
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#5"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#9"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="linear-gradient(135deg,#b"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#0b2e59"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background: #0b2e59"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#1e3a8a"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#3730a3"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#4c1d95"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#5b21b6"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#7c2d12"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#881337"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#9f1239"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#be123c"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#991b1b"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#b91c1c"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#92400e"] {
    background: linear-gradient(135deg, var(--skl-t-p) 0%, var(--skl-t-s) 100%) !important;
    border-bottom-color: var(--skl-t-a) !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#0284c7"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#f59e0b"] {
    background: var(--skl-t-a) !important;
    color: #0f172a !important;
    border-color: var(--skl-t-p) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#ffe4e6"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#dbeafe"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#e0f2fe"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="background:#fef3c7"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="background:#eff6ff"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="background:#f0f9ff"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="background:#ecfdf5"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="background:#fefce8"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body th[style*="background:#eff6ff"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body th[style*="background:#ecfdf5"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body th[style*="background:#eef2ff"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body th[style*="background:#fff1f2"] {
    background: var(--skl-t-tint) !important;
    color: var(--skl-t-p) !important;
    border-bottom-color: var(--skl-t-bd) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body .pdf-page-content[style*="border:"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="border:2px solid"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="border: 2px solid"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="border:1.5px solid"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="border: 1.5px solid"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="border:1px solid #bfdbfe"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="border:1px solid #a7f3d0"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="border:1px solid #c7d2fe"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="border:1px solid #fecdd3"] {
    border-color: var(--skl-t-bd) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body div[style*="border-left:"],
.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body td[style*="border-left:"] {
    border-left-color: var(--skl-t-a) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="background:#081c45"] {
    background: var(--skl-t-p) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="border:12px solid #081c45"] {
    border-color: var(--skl-t-p) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="color:#081c45"] {
    color: var(--skl-t-p) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="background:#a11d28"] {
    background: var(--skl-t-s) !important;
    color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="border:10px solid #a11d28"] {
    border-color: var(--skl-t-a) !important;
}

.skl-book-sheet[class*="skl-theme-"]:not(.skl-theme-songket_diraja):not(.skl-theme-prasekolah_impian):not(.skl-theme-hijau_dinamik):not(.skl-theme-minimalis_profesional):not(.skl-theme-batik_diraja) .skl-sheet-body [style*="color:#a11d28"] {
    color: var(--skl-t-a) !important;
}

/* Templat 19: Songket Diraja (Navy & Emas) */
.skl-book-sheet.skl-theme-songket_diraja {
    border-top: none;
    border-bottom: none;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-header {
    margin: -13mm -7mm 10px -8mm;
    padding: 4.5mm 8mm 5px 10mm;
    min-height: 22.5mm;
    background: #071c42 url("../images/templates/songket_header.jpg?v=4") center top / 100% 100% no-repeat !important;
    border-bottom: none;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-songket_diraja.is-verso .skl-sheet-header {
    margin: -13mm -8mm 10px -7mm;
    padding: 4.5mm 9mm 5px 9mm;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-pdf-pill-top {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #f5d56e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17.5px;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-songket-school-sub {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-header>span:last-child {
    display: none !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-footer {
    position: relative;
    z-index: 20;
    margin: 10px -7mm -12mm -8mm;
    padding: 0 8mm 2mm 10mm;
    min-height: 17mm;
    background: #071c42 url("../images/templates/songket_footer.jpg?v=4") center bottom / 100% 100% no-repeat !important;
    border-top: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-songket_diraja.is-verso .skl-sheet-footer {
    margin: 10px -8mm -12mm -7mm;
    padding: 0 9mm 2mm 9mm;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-pdf-pill-bottom {
    visibility: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 0 88px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14.5px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.3px;
    flex: 1;
    text-align: center;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-page-number-pill {
    position: relative;
    background: #0b2e59 !important;
    color: #fde68a !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 999px !important;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    margin-right: 1px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-footer>span:last-child span:last-child:not(.skl-page-number-pill) {
    display: none !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-toc-title,
.skl-book-sheet.skl-theme-songket_diraja [data-halaman="2"] h3 {
    color: #071c42 !important;
    border-bottom: 2px solid #d4af37;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-toc-table,
.skl-book-sheet.skl-theme-songket_diraja [data-halaman="2"] table {
    border-color: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-songket_diraja [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #fefce8;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-toc-page,
.skl-book-sheet.skl-theme-songket_diraja [data-halaman="2"] td:last-child a {
    color: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body .page-section-title {
    color: #071c42 !important;
    border-bottom-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body table th {
    background: #071c42 !important;
    color: #f5d56e !important;
    border-color: #1e3a8a !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body .small-alert {
    border-left-color: #d4af37;
    background: #fffbeb;
    color: #78350f;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-staff-cards-heading {
    color: #071c42;
    border-bottom-color: #d4af37;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-staff-card-banner {
    background: linear-gradient(135deg, #071c42 0%, #8b1a2b 100%);
}

.skl-book-sheet.skl-theme-songket_diraja .skl-toc-group-row td {
    background: #fef3c7 !important;
    color: #071c42 !important;
    border-top: 1.5px solid #d4af37 !important;
    border-bottom: 1px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja:not(.is-cover):not(.is-back-cover) {
    background-color: #fffef9;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body h1,
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body h2,
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body h3,
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body h4 {
    color: #071c42;
    font-family: Georgia, "Times New Roman", serif;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body table td {
    border-color: #e5d399;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body table tbody tr:nth-child(even) {
    background: #fffdf2;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background:#0b2e59"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background: #0b2e59"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background:#0d73cc"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background:#1e3a8a"] {
    background: linear-gradient(90deg, #071c42 0%, #0d2b63 78%, #781222 100%) !important;
    color: #f5d56e !important;
    border-bottom: 2.5px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body hr {
    border-top: 1.5px solid #d4af37;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-staff-card {
    border-color: #d4af37;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#5"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#9"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#b"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#1e3a8a"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#3730a3"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#4c1d95"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#5b21b6"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#7c2d12"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#881337"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#9f1239"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#be123c"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#991b1b"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#b91c1c"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#92400e"] {
    background: linear-gradient(135deg, #071c42 0%, #0d2b63 65%, #781222 100%) !important;
    border-bottom-color: #d4af37 !important;
    color: #f5d56e !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="border:1px solid #bfdbfe"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="border:1px solid #a7f3d0"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="border:1px solid #c7d2fe"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="border:1px solid #fecdd3"] {
    border-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body th[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body th[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body th[style*="background:#eef2ff"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body th[style*="background:#fff1f2"] {
    background: #fef9e7 !important;
    color: #071c42 !important;
    border-bottom-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#0284c7"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#f59e0b"] {
    background: #d4af37 !important;
    color: #071c42 !important;
    border-color: #f5d56e !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#ffe4e6"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#dbeafe"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#e0f2fe"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="background:#fef3c7"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="background:#f0f9ff"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="background:#fefce8"] {
    background: #fef9e7 !important;
    color: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body .pdf-page-content[style*="border:"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="border:2px solid"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="border: 2px solid"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="border:1.5px solid"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="border: 1.5px solid"] {
    border-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body div[style*="border-left:"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body td[style*="border-left:"] {
    border-left-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body thead tr[style*="background"],
.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body table th[style*="background"] {
    background: #071c42 !important;
    color: #f5d56e !important;
    border-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background:#081c45"] {
    background: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="border:12px solid #081c45"] {
    border-color: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="color:#081c45"] {
    color: #071c42 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="background:#a11d28"] {
    background: #8b1a2b !important;
    color: #f5d56e !important;
    -webkit-text-stroke: 0 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="border:10px solid #a11d28"] {
    border-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-songket_diraja .skl-sheet-body [style*="color:#a11d28"] {
    color: #8b1a2b !important;
}

/* Templat 20: Prasekolah Impian (Biru & Kuning) */
.skl-book-sheet.skl-theme-prasekolah_impian {
    border-top: none;
    border-bottom: none;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-header {
    margin: -13mm -7mm 10px -8mm;
    padding: 3.5mm 6mm 5px 10mm;
    min-height: 22mm;
    background: #062c7a url("../images/templates/prasekolah_impian_header.jpg?v=4") center top / 100% 100% no-repeat !important;
    border-bottom: none;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-prasekolah_impian.is-verso .skl-sheet-header {
    margin: -13mm -8mm 10px -7mm;
    padding: 3.5mm 6mm 5px 9mm;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-pdf-pill-top {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16.5px;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-songket-school-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #ffd400;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-header>span:last-child>span:not(.skl-tpl-year-badge),
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-header>span:last-child img {
    display: none !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-tpl-year-badge {
    font-size: 25px;
    font-weight: 900;
    color: #062c7a;
    letter-spacing: 0.5px;
    margin-right: 1mm;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-footer {
    position: relative;
    z-index: 20;
    margin: 10px -7mm -12mm -8mm;
    padding: 7.5mm 8mm 2mm 10mm;
    min-height: 22.7mm;
    background: transparent url("../images/templates/prasekolah_impian_footer.jpg?v=4") center bottom / 100% 100% no-repeat !important;
    border-top: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-prasekolah_impian.is-verso .skl-sheet-footer {
    margin: 10px -8mm -12mm -7mm;
    padding: 7.5mm 9mm 2mm 9mm;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-pdf-pill-bottom {
    visibility: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 12px 0 0;
    color: #062c7a;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.2px;
    flex: 1;
    text-align: center;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-page-number-pill {
    background: #062c7a !important;
    color: #ffffff !important;
    border: 1.5px solid #ffd400 !important;
    border-radius: 999px !important;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    margin-right: 4mm;
    margin-top: 1mm;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-footer>span:last-child span:last-child:not(.skl-page-number-pill) {
    display: none !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-toc-title,
.skl-book-sheet.skl-theme-prasekolah_impian [data-halaman="2"] h3 {
    color: #062c7a !important;
    border-bottom: 2px solid #ffd400;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-toc-table,
.skl-book-sheet.skl-theme-prasekolah_impian [data-halaman="2"] table {
    border-color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-prasekolah_impian [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #eff6ff;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-toc-page,
.skl-book-sheet.skl-theme-prasekolah_impian [data-halaman="2"] td:last-child a {
    color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body .page-section-title {
    color: #062c7a !important;
    border-bottom-color: #ffd400 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body table th {
    background: #062c7a !important;
    color: #ffd400 !important;
    border-color: #1e3a8a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body .small-alert {
    border-left-color: #ffd400;
    background: #fefce8;
    color: #062c7a;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-staff-cards-heading {
    color: #062c7a;
    border-bottom-color: #ffd400;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-staff-card-banner {
    background: linear-gradient(135deg, #062c7a 0%, #0a47c4 100%);
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-toc-group-row td {
    background: #fef08a !important;
    color: #062c7a !important;
    border-top: 1.5px solid #062c7a !important;
    border-bottom: 1px solid #0a47c4 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body h1,
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body h2,
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body h3,
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body h4 {
    color: #062c7a;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body table td {
    border-color: #bfdbfe;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body table tbody tr:nth-child(even) {
    background: #f0f7ff;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background:#0b2e59"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background: #0b2e59"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background:#0d73cc"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background:#1e3a8a"] {
    background: linear-gradient(90deg, #062c7a 0%, #0a47c4 100%) !important;
    color: #ffffff !important;
    border-bottom: 3px solid #ffd400 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body hr {
    border-top: 1.5px solid #ffd400;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-staff-card {
    border-color: #0a47c4;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#5"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#9"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="linear-gradient(135deg,#b"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#1e3a8a"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#3730a3"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#4c1d95"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#5b21b6"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#7c2d12"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#881337"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#9f1239"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#be123c"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#991b1b"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#b91c1c"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#92400e"] {
    background: linear-gradient(135deg, #062c7a 0%, #0a47c4 100%) !important;
    border-bottom-color: #ffd400 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="border:1px solid #bfdbfe"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="border:1px solid #a7f3d0"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="border:1px solid #c7d2fe"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="border:1px solid #fecdd3"] {
    border-color: #0a47c4 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body th[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body th[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body th[style*="background:#eef2ff"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body th[style*="background:#fff1f2"] {
    background: #eff6ff !important;
    color: #062c7a !important;
    border-bottom-color: #0a47c4 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#0284c7"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#f59e0b"] {
    background: #ffd400 !important;
    color: #062c7a !important;
    border-color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#ffe4e6"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#dbeafe"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#e0f2fe"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="background:#fef3c7"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="background:#f0f9ff"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="background:#fefce8"] {
    background: #eff6ff !important;
    color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body .pdf-page-content[style*="border:"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="border:2px solid"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="border: 2px solid"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="border:1.5px solid"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="border: 1.5px solid"] {
    border-color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body div[style*="border-left:"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body td[style*="border-left:"] {
    border-left-color: #ffd400 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body thead tr[style*="background"],
.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body table th[style*="background"] {
    background: #062c7a !important;
    color: #ffd400 !important;
    border-color: #0a47c4 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background:#081c45"] {
    background: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="border:12px solid #081c45"] {
    border-color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="color:#081c45"] {
    color: #062c7a !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="background:#a11d28"] {
    background: #ffd400 !important;
    color: #062c7a !important;
    -webkit-text-stroke: 0 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="border:10px solid #a11d28"] {
    border-color: #ffd400 !important;
}

.skl-book-sheet.skl-theme-prasekolah_impian .skl-sheet-body [style*="color:#a11d28"] {
    color: #0a47c4 !important;
}

/* Templat 21: Hijau Dinamik (Hijau, Kuning & Navy) */
.skl-book-sheet.skl-theme-hijau_dinamik {
    border-top: none;
    border-bottom: none;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-header {
    margin: -13mm -7mm 10px -8mm;
    padding: 3mm 6mm 5px 10mm;
    min-height: 19.8mm;
    background: #ffffff url("../images/templates/hijau_dinamik_header.jpg?v=4") center top / 100% 100% no-repeat !important;
    border-bottom: none;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-hijau_dinamik.is-verso .skl-sheet-header {
    margin: -13mm -8mm 10px -7mm;
    padding: 3mm 6mm 5px 9mm;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-pdf-pill-top {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #041e4d;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16.5px;
    font-weight: 900;
    font-style: normal;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-songket-school-sub {
    display: block;
    font-size: 11.5px;
    font-weight: 800;
    color: #006818;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-header>span:last-child>span:not(.skl-tpl-year-badge),
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-header>span:last-child img {
    display: none !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-tpl-year-badge {
    font-size: 25px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-right: 1mm;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-footer {
    position: relative;
    z-index: 20;
    margin: 10px -7mm -12mm -8mm;
    padding: 0 6.5mm 1.6mm 10mm;
    min-height: 14mm;
    background: #006818 url("../images/templates/hijau_dinamik_footer.jpg?v=5") center bottom / 100% 100% no-repeat !important;
    border-top: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-hijau_dinamik.is-verso .skl-sheet-footer {
    margin: 10px -8mm -12mm -7mm;
    padding: 0 7mm 1.6mm 9mm;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-pdf-pill-bottom {
    visibility: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 14px 0 0;
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.2px;
    flex: 1;
    text-align: center;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-page-number-pill {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    min-width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    margin-right: 0;
    margin-bottom: 0.4mm;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1;
    box-shadow: none !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-footer>span:last-child span:last-child:not(.skl-page-number-pill) {
    display: none !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-toc-title,
.skl-book-sheet.skl-theme-hijau_dinamik [data-halaman="2"] h3 {
    color: #041e4d !important;
    border-bottom: 2px solid #006818;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-toc-table,
.skl-book-sheet.skl-theme-hijau_dinamik [data-halaman="2"] table {
    border-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-hijau_dinamik [data-halaman="2"] table tbody tr:nth-child(even) {
    background: #f0fdf4;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-toc-page,
.skl-book-sheet.skl-theme-hijau_dinamik [data-halaman="2"] td:last-child a {
    color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body .page-section-title {
    color: #041e4d !important;
    border-bottom-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body table th {
    background: #006818 !important;
    color: #ffffff !important;
    border-color: #15803d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body .small-alert {
    border-left-color: #ffd400;
    background: #f0fdf4;
    color: #041e4d;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-staff-cards-heading {
    color: #041e4d;
    border-bottom-color: #006818;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-staff-card-banner {
    background: linear-gradient(135deg, #006818 0%, #041e4d 100%);
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-toc-group-row td {
    background: #dcfce7 !important;
    color: #041e4d !important;
    border-top: 1.5px solid #006818 !important;
    border-bottom: 1px solid #84cc16 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body h1,
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body h2,
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body h3,
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body h4 {
    color: #041e4d;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body table td {
    border-color: #bbf7d0;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body table tbody tr:nth-child(even) {
    background: #f0fdf4;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background:#0b2e59"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background: #0b2e59"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background:#0d73cc"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background:#1e3a8a"] {
    background: linear-gradient(90deg, #006818 0%, #15803d 80%, #041e4d 100%) !important;
    color: #ffffff !important;
    border-bottom: 3px solid #ffd400 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body hr {
    border-top: 1.5px solid #006818;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-staff-card {
    border-color: #006818;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#5"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#9"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="linear-gradient(135deg,#b"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#1e3a8a"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#3730a3"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#4c1d95"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#5b21b6"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#7c2d12"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#881337"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#9f1239"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#be123c"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#991b1b"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#b91c1c"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#92400e"] {
    background: linear-gradient(135deg, #006818 0%, #15803d 70%, #041e4d 100%) !important;
    border-bottom-color: #ffd400 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="border:1px solid #bfdbfe"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="border:1px solid #a7f3d0"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="border:1px solid #c7d2fe"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="border:1px solid #fecdd3"] {
    border-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body th[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body th[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body th[style*="background:#eef2ff"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body th[style*="background:#fff1f2"] {
    background: #f0fdf4 !important;
    color: #041e4d !important;
    border-bottom-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#0284c7"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#f59e0b"] {
    background: #ffd400 !important;
    color: #041e4d !important;
    border-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#ffe4e6"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#dbeafe"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#e0f2fe"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="background:#fef3c7"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="background:#f0f9ff"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="background:#fefce8"] {
    background: #f0fdf4 !important;
    color: #041e4d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body .pdf-page-content[style*="border:"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="border:2px solid"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="border: 2px solid"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="border:1.5px solid"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="border: 1.5px solid"] {
    border-color: #006818 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body div[style*="border-left:"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body td[style*="border-left:"] {
    border-left-color: #ffd400 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body thead tr[style*="background"],
.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body table th[style*="background"] {
    background: #006818 !important;
    color: #ffffff !important;
    border-color: #15803d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background:#081c45"] {
    background: #041e4d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="border:12px solid #081c45"] {
    border-color: #041e4d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="color:#081c45"] {
    color: #041e4d !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="background:#a11d28"] {
    background: #006818 !important;
    color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="border:10px solid #a11d28"] {
    border-color: #ffd400 !important;
}

.skl-book-sheet.skl-theme-hijau_dinamik .skl-sheet-body [style*="color:#a11d28"] {
    color: #006818 !important;
}

/* Templat 22: Minimalis Profesional (Biru & Emas Line Art) */
.skl-book-sheet.skl-theme-minimalis_profesional:not(.is-cover):not(.is-back-cover) {
    border-top: none;
    border-bottom: none;
    background: #ffffff url("../images/templates/minimalis_profesional_inner.jpg?v=1") center / 100% 100% no-repeat;
    padding-bottom: 22mm;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-header {
    background: transparent;
    border-bottom: 1.5px solid #d4af37;
    box-shadow: none;
    padding-bottom: 6px;
    margin-bottom: 10px;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-pdf-pill-top {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    color: #0a2351;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-songket-school-sub {
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-footer {
    background: transparent;
    border-top: 1px solid rgba(10, 35, 81, 0.22);
    box-shadow: none;
    padding-top: 5px;
    margin-top: 10px;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-pdf-pill-bottom {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 999px;
    padding: 2px 10px;
    color: #0a2351;
    font-size: 9.5px;
    font-weight: 800;
    font-style: italic;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-page-number-pill {
    background: #0a2351;
    color: #ffd400;
    border: 1.5px solid #d4af37;
    border-radius: 999px;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 800;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-toc-title,
.skl-book-sheet.skl-theme-minimalis_profesional [data-halaman="2"] h3 {
    color: #0a2351 !important;
    border-bottom: 2px solid #d4af37;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-toc-table,
.skl-book-sheet.skl-theme-minimalis_profesional [data-halaman="2"] table {
    border-color: #1e3a8a !important;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-minimalis_profesional [data-halaman="2"] table tbody tr:nth-child(even) {
    background: rgba(239, 246, 255, 0.72);
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-toc-page,
.skl-book-sheet.skl-theme-minimalis_profesional [data-halaman="2"] td:last-child a {
    color: #1d4ed8 !important;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body .page-section-title {
    color: #0a2351 !important;
    border-bottom-color: #d4af37 !important;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body table th {
    background: linear-gradient(90deg, #0a2351 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body table td {
    border-color: #cbd5e1;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body .small-alert {
    border-left-color: #d4af37;
    background: rgba(239, 246, 255, 0.88);
    color: #0a2351;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-staff-cards-heading {
    color: #0a2351;
    border-bottom-color: #d4af37;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-staff-card-banner {
    background: linear-gradient(135deg, #0a2351 0%, #1d4ed8 100%);
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-staff-card {
    border-color: #1e3a8a;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-toc-group-row td {
    background: #eff6ff !important;
    color: #0a2351 !important;
    border-top: 1.5px solid #1e3a8a !important;
    border-bottom: 1px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body h1,
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body h2,
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body h3,
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body h4 {
    color: #0a2351;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body hr {
    border-top: 1.5px solid #d4af37;
}

.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#5"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#9"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="linear-gradient(135deg,#b"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#0b2e59"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background: #0b2e59"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet.skl-theme-minimalis_profesional .skl-sheet-body div[style*="background:#1e3a8a"] {
    background: linear-gradient(90deg, #0a2351 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-bottom: 2.5px solid #d4af37 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Templat 23: Batik Kerawang Diraja (Navy & Emas) */
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) {
    position: relative;
    border-top: none;
    border-bottom: none;
    background: #ffffff url("../images/templates/batik_diraja_inner_v3.jpg") center / 100% 100% no-repeat;
    padding: 15mm 15mm 24mm 15mm !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja[style*="--pdf-w"] .skl-sheet-header,
.skl-book-sheet.skl-theme-batik_diraja.skl-print-page .skl-sheet-header {
    display: none !important;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body {
    width: 100%;
    box-sizing: border-box;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-footer {
    position: absolute;
    left: 15mm;
    right: 15mm;
    bottom: 4mm;
    z-index: 4;
    background: transparent;
    border-top: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-pdf-pill-bottom {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.6);
    border-radius: 999px;
    padding: 2px 10px;
    color: #091e42;
    font-size: 9.5px;
    font-weight: 800;
    font-style: italic;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-page-number-pill {
    background: #091e42;
    color: #ffd400;
    border: 1.5px solid #d4af37;
    border-radius: 999px;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 10.5px;
    font-weight: 900;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-title,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] h3 {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    margin: 0 auto 10px auto !important;
    padding: 8px 22% !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 56' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23fef08a'/%3E%3Cstop offset='38%25' stop-color='%23f5d04c'/%3E%3Cstop offset='78%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3ClinearGradient id='wl' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d4af37' stop-opacity='0'/%3E%3Cstop offset='45%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%2378550a'/%3E%3C/linearGradient%3E%3ClinearGradient id='wr' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d4af37' stop-opacity='0'/%3E%3Cstop offset='45%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%2378550a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='6,28 106,26.2 106,29.8' fill='url(%23wl)'/%3E%3Cpolygon points='594,28 494,26.2 494,29.8' fill='url(%23wr)'/%3E%3Cpath d='M106,28 L118,17 Q124,13 124,6 Q124,4 128,4 L472,4 Q476,4 476,6 Q476,13 482,17 L494,28 L482,39 Q476,43 476,50 Q476,52 472,52 L128,52 Q124,52 124,50 Q124,43 118,39 Z' fill='rgba(9,30,66,0.18)' transform='translate(0,2)'/%3E%3Cpath d='M106,28 L118,17 Q124,13 124,6 Q124,4 128,4 L472,4 Q476,4 476,6 Q476,13 482,17 L494,28 L482,39 Q476,43 476,50 Q476,52 472,52 L128,52 Q124,52 124,50 Q124,43 118,39 Z' fill='url(%23g)' stroke='%236b4c06' stroke-width='1.8'/%3E%3Cpath d='M111.5,28 L122,18.5 Q127.5,14.5 127.5,8.5 Q127.5,7 130.5,7 L469.5,7 Q472.5,7 472.5,8.5 Q472.5,14.5 478,18.5 L488.5,28 L478,37.5 Q472.5,41.5 472.5,47.5 Q472.5,49 469.5,49 L130.5,49 Q127.5,49 127.5,47.5 Q127.5,41.5 122,37.5 Z' fill='none' stroke='%23fffbeb' stroke-width='1.2' opacity='0.88'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    color: #091e42 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-title::before,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] h3::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body .page-section-title::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-staff-cards-heading::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"]::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"]::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-toc-title::after,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] h3::after,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body .page-section-title::after,
.skl-book-sheet.skl-theme-batik_diraja .skl-staff-cards-heading::after,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"]::after,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"]::after {
    content: none !important;
    display: none !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-table,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] table {
    width: 100% !important;
    border: 1.5px solid #091e42 !important;
    background: #ffffff !important;
    font-size: 8.8px !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-table td,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] table td {
    padding: 2.5px 5px !important;
    line-height: 1.25 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-table th,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] table th {
    background: #091e42 !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    padding: 4px 5px !important;
    font-size: 8.8px !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 800 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-table tbody tr:nth-child(even),
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-group-row td,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] tr.skl-toc-group-row td {
    background: linear-gradient(90deg, #eff6ff 0%, #fef9c3 100%) !important;
    color: #091e42 !important;
    border-top: 1px solid #cbd5e1 !important;
    border-bottom: 1.5px solid #d4af37 !important;
    font-weight: 800 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-page,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="2"] td:last-child a {
    color: #091e42 !important;
    font-weight: 800 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body .page-section-title,
.skl-book-sheet.skl-theme-batik_diraja .skl-staff-cards-heading,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > .pdf-page-content > h2:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > .pdf-page-content > h3:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > .pdf-page-content > h4:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > h2:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > h3:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > h4:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body > div[style*="linear-gradient("]:first-child {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    margin: 0 auto 12px auto !important;
    padding: 8px 22% !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 56' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23fef08a'/%3E%3Cstop offset='38%25' stop-color='%23f5d04c'/%3E%3Cstop offset='78%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%23b8860b'/%3E%3C/linearGradient%3E%3ClinearGradient id='wl' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d4af37' stop-opacity='0'/%3E%3Cstop offset='45%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%2378550a'/%3E%3C/linearGradient%3E%3ClinearGradient id='wr' x1='1' y1='0' x2='0' y2='0'%3E%3Cstop offset='0%25' stop-color='%23d4af37' stop-opacity='0'/%3E%3Cstop offset='45%25' stop-color='%23d4af37'/%3E%3Cstop offset='100%25' stop-color='%2378550a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='6,28 106,26.2 106,29.8' fill='url(%23wl)'/%3E%3Cpolygon points='594,28 494,26.2 494,29.8' fill='url(%23wr)'/%3E%3Cpath d='M106,28 L118,17 Q124,13 124,6 Q124,4 128,4 L472,4 Q476,4 476,6 Q476,13 482,17 L494,28 L482,39 Q476,43 476,50 Q476,52 472,52 L128,52 Q124,52 124,50 Q124,43 118,39 Z' fill='rgba(9,30,66,0.18)' transform='translate(0,2)'/%3E%3Cpath d='M106,28 L118,17 Q124,13 124,6 Q124,4 128,4 L472,4 Q476,4 476,6 Q476,13 482,17 L494,28 L482,39 Q476,43 476,50 Q476,52 472,52 L128,52 Q124,52 124,50 Q124,43 118,39 Z' fill='url(%23g)' stroke='%236b4c06' stroke-width='1.8'/%3E%3Cpath d='M111.5,28 L122,18.5 Q127.5,14.5 127.5,8.5 Q127.5,7 130.5,7 L469.5,7 Q472.5,7 472.5,8.5 Q472.5,14.5 478,18.5 L488.5,28 L478,37.5 Q472.5,41.5 472.5,47.5 Q472.5,49 469.5,49 L130.5,49 Q127.5,49 127.5,47.5 Q127.5,41.5 122,37.5 Z' fill='none' stroke='%23fffbeb' stroke-width='1.2' opacity='0.88'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    color: #091e42 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.7px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#2b609e"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #2b609e"] {
    background: linear-gradient(90deg, #091e42 0%, #1e3a8a 100%) !important;
    color: #ffd400 !important;
    border-bottom: 2px solid #d4af37 !important;
    border-radius: 6px 6px 0 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body table th {
    background: #091e42 !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    font-weight: 800 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body table td {
    border-color: #cbd5e1;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.85);
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body .small-alert {
    border-left-color: #d4af37;
    background: rgba(239, 246, 255, 0.88);
    color: #091e42;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-staff-card-banner {
    background: linear-gradient(135deg, #091e42 0%, #1e3a8a 100%) !important;
    border-bottom: 2px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-staff-card {
    border: 1.5px solid #091e42 !important;
    border-radius: 8px !important;
}

/* Carta Organisasi Templat 23 (MS 20, 39, 52, 63) Gaya Kad Navy & Emas */
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:10px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:9px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:8px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="border-radius:10px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="border-radius:9px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="border-radius:10px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="border-radius:9px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="border-radius:10px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="border-radius:9px"] {
    background: #fdfbf5 !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 7px rgba(9, 30, 66, 0.14) !important;
    padding: 0 0 6px 0 !important;
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:10px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:9px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="border-radius:8px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="border-radius:10px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="border-radius:9px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="border-radius:10px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="border-radius:9px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="border-radius:10px"] > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="border-radius:9px"] > div:first-child {
    background: linear-gradient(90deg, #091e42 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border-bottom: 1.5px solid #d4af37 !important;
    padding: 4px 8px !important;
    margin: 0 0 4px 0 !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
}

/* Semua Kad Berbingkai Templat 23 (termasuk MS 32-36, 40-49, 53-59, 62, 64-73) Gaya Kad Navy & Emas */
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 10px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 9px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 8px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 7px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:6px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 6px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:5px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius: 5px"]:not(.page-section-title):not(.skl-toc-title),
.skl-book-sheet.skl-theme-batik_diraja .skl-theme-card-box {
    border: 1.5px solid #d4af37 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(9, 30, 66, 0.08) !important;
    overflow: hidden;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body tr[style*="background:#eff6ff"] {
    background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
    color: #091e42 !important;
    font-weight: 800 !important;
    border-bottom: 1.5px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left:4px solid"][style*="border-radius:5px"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left: 4px solid"][style*="border-radius:5px"] {
    background: #ffffff !important;
    border: 1px solid #d4af37 !important;
    border-left: 4px solid #091e42 !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 4px rgba(9, 30, 66, 0.06) !important;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body td[style*="border-radius:5px"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body td[style*="border-radius: 5px"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body td[style*="border-radius:6px"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body td[style*="border-top:3px solid"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body td[style*="border-top: 3px solid"] {
    background: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-top: 3px solid #091e42 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 5px rgba(9, 30, 66, 0.06) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#1e3a8a"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#7c2d12"] {
    background: linear-gradient(135deg, #091e42 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border: 1px solid #d4af37 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#1e3a8a"]::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#1d4ed8"]::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#0f766e"]::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#064e3b"]::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body span[style*="background:#7c2d12"]::before {
    content: "★ ";
    color: #facc15 !important;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left:4px solid"]:not([style*="border-radius:5px"]):not([style*="border-radius:6px"]),
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left: 4px solid"]:not([style*="border-radius:5px"]):not([style*="border-radius:6px"]) {
    border-left: 4px solid #d4af37 !important;
    color: #091e42 !important;
    background: linear-gradient(90deg, #eff6ff 0%, rgba(254, 249, 195, 0.5) 100%) !important;
    padding: 3px 8px !important;
    border-radius: 0 6px 6px 0 !important;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left:4px solid"]:not([style*="border-radius:5px"]):not([style*="border-radius:6px"])::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-left: 4px solid"]:not([style*="border-radius:5px"]):not([style*="border-radius:6px"])::before {
    content: "❖ ";
    color: #b45309;
    margin-right: 4px;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title) > div[style*="background"]:first-child::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title) > div[style*="background"]:first-child::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title) > div[style*="background"]:first-child::before,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title) > div[style*="background"]:first-child::before,
.skl-book-sheet.skl-theme-batik_diraja .skl-theme-card-hdr::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #facc15;
    transform: rotate(45deg);
    margin-right: 7px;
    vertical-align: middle;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-batik_diraja .skl-theme-card-hdr {
    background: linear-gradient(135deg, #091e42 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border-bottom: 1.5px solid #d4af37 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-batik_diraja:not(.is-cover):not(.is-back-cover) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-batik_diraja .skl-theme-card-hdr * {
    color: #ffffff !important;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="width:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="20"] div[style*="height:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="width:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="39"] div[style*="height:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="width:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="52"] div[style*="height:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="width:2px"],
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="63"] div[style*="height:2px"] {
    background: #091e42 !important;
}

/* Minggu Persekolahan (MS 22 & 23 -> data-halaman 24 & 25) Gaya Templat 23 */
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="24"] table,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="25"] table {
    border: 1.5px solid #091e42 !important;
    background: #ffffff !important;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="24"] td,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="25"] td {
    background: #fdfbf5 !important;
    border: 1px solid #d4af37 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="24"] td > div:first-child,
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="25"] td > div:first-child {
    background: #091e42 !important;
    color: #ffd400 !important;
    border: 1px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="24"] td > div:nth-child(2),
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="25"] td > div:nth-child(2) {
    color: #091e42 !important;
}

.skl-book-sheet.skl-theme-batik_diraja [data-halaman="24"] td > div:nth-child(3),
.skl-book-sheet.skl-theme-batik_diraja [data-halaman="25"] td > div:nth-child(3) {
    color: #1e3a8a !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-toc-group-row td {
    background: #eff6ff !important;
    color: #091e42 !important;
    border-top: 1.5px solid #1e3a8a !important;
    border-bottom: 1px solid #d4af37 !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body h1,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body h2,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body h3,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body h4 {
    color: #091e42;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body hr {
    border-top: 1.5px solid #d4af37;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#0"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #0"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#1"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #1"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#7"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #7"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#091e42"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #091e42"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0b2e59"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0b2e59"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f172a"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0f172a"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f294a"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0f294a"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e293b"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#064e3b"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#065f46"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#047857"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0369a1"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1d4ed8"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e40af"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#2563eb"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e3a8a"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#7c2d12"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#991b1b"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#b91c1c"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#312e81"] {
    background: linear-gradient(90deg, #091e42 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(9, 30, 66, 0.14) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#0"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #0"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#1"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #1"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg,#7"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="linear-gradient(135deg, #7"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#091e42"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #091e42"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0b2e59"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0b2e59"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f172a"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0f172a"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f294a"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background: #0f294a"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e293b"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#064e3b"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#065f46"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#047857"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0f766e"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#0369a1"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1d4ed8"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e40af"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#2563eb"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#1e3a8a"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#7c2d12"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#991b1b"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#b91c1c"] *,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body div[style*="background:#312e81"] * {
    color: #ffffff !important;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body thead tr,
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body thead tr th {
    background: #091e42 !important;
    color: #ffffff !important;
    border-color: #1e3a8a !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#99f6e4"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#ccfbf1"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#ecfdf5"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#eff6ff"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#eef2ff"],
.skl-book-sheet.skl-theme-batik_diraja .skl-sheet-body td[style*="background:#fff1f2"] {
    background: #fdfbf5 !important;
    color: #091e42 !important;
}

.skl-book-sheet .skl-sheet-body .skl-staff-photo-wrap,
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.row):not([class*="col-xs-"]):has(> img:only-child),
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.row):not([class*="col-xs-"]):has(> p:only-child > img:only-child),
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.row):not([class*="col-xs-"]):has(> a:only-child > img:only-child) {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.skl-book-sheet .skl-sheet-body img:not([data-cover-role="logo"]) {
    border: none !important;
    box-shadow: none !important;
}

.skl-book-sheet .skl-sheet-body .skl-staff-photo-wrap > img:not([data-cover-role="logo"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
.skl-book-sheet .skl-sheet-body .skl-free-text > img:not([data-cover-role="logo"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.skl-cover-frame)[style*="height:"] > img:not([data-cover-role="logo"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.skl-cover-frame)[style*="height :"] > img:not([data-cover-role="logo"]):not([style*="position: absolute"]):not([style*="position:absolute"]),
.skl-book-sheet .skl-sheet-body div:not(.pdf-page-content):not(.skl-cover-frame)[style*="min-height"] > img:not([data-cover-role="logo"]):not([style*="position: absolute"]):not([style*="position:absolute"]) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.skl-book-sheet[data-cover-editable="1"] .skl-cover-slot-img,
.skl-book-sheet[data-cover-editable="1"] img,
.skl-book-sheet[data-cover-editable="1"] [data-cover-role],
#b5PreviewBody img,
#b5PreviewBody [data-cover-role="skyline"],
#b5PreviewBody [data-cover-role="custom"],
#b5PreviewBody [data-cover-role="photo"],
#b5PreviewBody [data-cover-role="logo"],
.skl-multi-editable-body img {
    cursor: pointer !important;
    transition: outline 0.15s ease, filter 0.15s ease;
}

#b5PreviewBody img.skl-img-selected {
    cursor: grab !important;
}

.skl-book-sheet[data-cover-editable="1"] .skl-cover-slot-img:hover,
#b5PreviewBody img:hover {
    outline: 2.5px dashed #facc15;
    outline-offset: 2px;
    filter: brightness(1.06);
}

/* Pembahagi Bab penuh 1 muka surat bagi Templat 1 (Korporat Biru) */
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) {
    padding: 0 !important;
}
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) .skl-sheet-header,
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) .skl-sheet-footer,
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) .skl-corner-tl,
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) .skl-corner-br {
    display: none !important;
}
.skl-book-sheet.skl-theme-korporat_biru:has(.skl-bab-divider) .skl-sheet-body {
    padding: 0 !important;
    height: 100% !important;
}

/* Banner Tajuk Korporat Biru (Semua Tajuk Halaman Dalam seperti Gambar Rujukan) */
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-toc-title,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) [data-halaman="2"] h3,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body .page-section-title,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-staff-cards-heading,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h2:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h3:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h4:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h2:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h3:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h4:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > div[style*="linear-gradient("]:first-child {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 84px !important;
    margin: 0 auto 12px auto !important;
    padding: 26px 18% 32px 18% !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 112' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='nb' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23041838'/%3E%3Cstop offset='50%25' stop-color='%230c3c78'/%3E%3Cstop offset='100%25' stop-color='%2306244f'/%3E%3C/linearGradient%3E%3ClinearGradient id='bl' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%230ea5e9'/%3E%3Cstop offset='100%25' stop-color='%230268b8'/%3E%3C/linearGradient%3E%3ClinearGradient id='gd' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23fde047'/%3E%3Cstop offset='100%25' stop-color='%23eab308'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpolygon points='12,48 92,38 72,76 2,76' fill='url(%23gd)'/%3E%3Cpolygon points='588,64 508,74 528,36 598,36' fill='url(%23gd)'/%3E%3Cpolygon points='48,30 142,30 120,86 24,86' fill='url(%23bl)'/%3E%3Cpolygon points='552,82 458,82 480,26 576,26' fill='url(%23bl)'/%3E%3Cpolygon points='146,12 454,12 482,42 118,42' fill='url(%23bl)' stroke='%23ffffff' stroke-width='2.5'/%3E%3Cpath d='M92,30 L552,30 Q564,30 556,42 L516,88 Q508,96 496,96 L388,96 L372,106 L228,106 L212,96 L48,96 Q36,96 44,84 L80,38 Q86,30 92,30 Z' fill='url(%23nb)' stroke='%23ffffff' stroke-width='3.5'/%3E%3Cpath d='M96,35 L546,35 L510,88 L384,88 L368,99 L232,99 L216,88 L54,88 Z' fill='none' stroke='%2338bdf8' stroke-width='1.1' opacity='0.65'/%3E%3Cpath d='M256,28 C272,22 288,24 300,30 C312,24 328,22 344,28 L340,6 C326,2 312,5 300,11 C288,5 274,2 260,6 Z' fill='%23facc15' stroke='%23b45309' stroke-width='1.2'/%3E%3Cpath d='M262,25 C276,20 289,22 300,27 C311,22 324,20 338,25 L335,7 C323,4 311,7 300,12 C289,7 277,4 265,7 Z' fill='%23ffffff' stroke='%230c2a54' stroke-width='1.2'/%3E%3Cline x1='300' y1='12' x2='300' y2='27' stroke='%230c2a54' stroke-width='1.5'/%3E%3Cpath d='M248,29 Q232,20 226,8 Q238,14 246,24 M242,27 Q226,22 220,14 M246,20 Q236,12 234,4' fill='none' stroke='%23facc15' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M352,29 Q368,20 374,8 Q362,14 354,24 M358,27 Q374,22 380,14 M354,20 Q364,12 366,4' fill='none' stroke='%23facc15' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpolygon points='224,84 268,84 264,89 220,89' fill='%23facc15'/%3E%3Cpolygon points='228,92 268,92 264,96 224,96' fill='%23facc15'/%3E%3Cpolygon points='332,84 376,84 380,89 336,89' fill='%23facc15'/%3E%3Cpolygon points='332,92 372,92 376,96 336,96' fill='%23facc15'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    font-style: italic !important;
    letter-spacing: 0.8px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.55) !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-toc-title *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) [data-halaman="2"] h3 *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body .page-section-title *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-staff-cards-heading *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > div[style*="linear-gradient("]:first-child * {
    color: #ffffff !important;
    background: transparent !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-toc-title::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) [data-halaman="2"] h3::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body .page-section-title::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-staff-cards-heading::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"]::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"]::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h2:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h3:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > h4:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h2:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h3:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > h4:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child::after,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body > div[style*="linear-gradient("]:first-child::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0px !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 2 !important;
    background-image: var(--skl-school-logo, none) !important;
    background-position: center !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    pointer-events: none !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

/* Format Jadual, Kad & Carta Organisasi Seragam seperti Templat 23 dalam Tema Korporat Biru */
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body table th {
    background: #0c2a54 !important;
    color: #ffffff !important;
    border-color: #0277d4 !important;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    font-weight: 800 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body table tbody tr:nth-child(even) {
    background: rgba(239, 246, 255, 0.78);
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body .small-alert {
    border-left-color: #0277d4 !important;
    background: rgba(239, 246, 255, 0.9) !important;
    color: #0c2a54 !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-staff-card-banner,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="background:#2b609e"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="background: #2b609e"] {
    background: linear-gradient(90deg, #041838 0%, #0277d4 100%) !important;
    color: #ffffff !important;
    border-bottom: 2px solid #facc15 !important;
    border-radius: 6px 6px 0 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-staff-card {
    border: 1.5px solid #0277d4 !important;
    border-radius: 8px !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title):not(.skl-toc-title):not([style*="linear-gradient("]),
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title):not(.skl-toc-title):not([style*="linear-gradient("]),
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title):not(.skl-toc-title):not([style*="linear-gradient("]),
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title):not(.skl-toc-title):not([style*="linear-gradient("]) {
    background: #f8fafc !important;
    border: 1.5px solid #0277d4 !important;
    border-radius: 7px !important;
    box-shadow: 0 2px 7px rgba(12, 42, 84, 0.10) !important;
    overflow: hidden;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title) > div[style*="background"]:first-child,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title) > div[style*="background"]:first-child {
    background: linear-gradient(90deg, #041838 0%, #0277d4 100%) !important;
    color: #ffffff !important;
    border-bottom: 2px solid #facc15 !important;
    font-weight: 800 !important;
    padding: 5px 10px !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:10px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:9px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:8px"]:not(.page-section-title) > div[style*="background"]:first-child *,
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body div[style*="border-radius:7px"]:not(.page-section-title) > div[style*="background"]:first-child * {
    color: #ffffff !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="44"] div[style*="border-radius:10px"] > div:first-child > span:first-child:has(svg),
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="45"] div[style*="border-radius:10px"] > div:first-child > span:first-child:has(svg) {
    display: none !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body table[style*="background:#f0fdfa"] {
    background: #eff6ff !important;
    border-bottom-color: #93c5fd !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body tr[style*="background:#ccfbf1"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body tr[style*="background:#ccfbf1"] th {
    background: #dbeafe !important;
    color: #0c2a54 !important;
    border-bottom-color: #93c5fd !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body tr[style*="background:#99f6e4"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body tr[style*="background: #99f6e4"] {
    background: #0c2a54 !important;
    color: #ffffff !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body span[style*="background:#0f766e"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body span[style*="background: #0f766e"] {
    background: #0277d4 !important;
    color: #ffffff !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body span[style*="color:#0f766e"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body td[style*="color:#115e59"] {
    color: #0277d4 !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body td[style*="#fef08a"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body td[style*="254, 240, 138"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body td[style*="#facc15"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body td[style*="250, 204, 21"] {
    background: #eff6ff !important;
    color: #0277d4 !important;
    border-color: #cbd5e1 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="44"] td[style*="#cbd5e1"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="45"] td[style*="#cbd5e1"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="44"] td[style*="203, 213, 225"],
.skl-book-sheet.skl-theme-korporat_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) .skl-sheet-body [data-halaman="45"] td[style*="203, 213, 225"] {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #e2e8f0 !important;
}

/* Mod Sekolah Demo: Hitamkan Nama Guru/Staf & Tera Air CONTOH Berpalang */

/* Bar Butang Gaya Microsoft Word di Halaman Lihat Buku */
.skl-word-ribbon {
    position: relative;
    z-index: 30;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    overflow: visible;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.skl-wr-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #dbe2ea;
    border-radius: 10px 10px 0 0;
    font-size: 12px;
    color: #0f172a;
}

.skl-wr-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.skl-wr-status strong {
    color: #0f172a;
    font-weight: 700;
}

.skl-wr-dot {
    color: #cbd5e1;
    font-weight: 700;
}

.skl-wr-topbar-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.skl-wr-nav-btns .btn {
    border-color: #cbd5e1;
    color: #1e293b;
    font-weight: 600;
    font-size: 11px;
    padding: 3px 9px;
    background: #ffffff;
}

.skl-wr-nav-btns .btn:hover:not(.disabled) {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.skl-wr-search {
    margin: 0;
    width: 230px;
    max-width: 100%;
}

.skl-wr-search .form-control {
    border-color: #cbd5e1;
    border-radius: 6px 0 0 6px !important;
    box-shadow: none;
    font-size: 12px;
}

.skl-wr-search .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.skl-wr-search .btn {
    border-color: #cbd5e1;
    border-radius: 0 6px 6px 0 !important;
    background: #ffffff;
    color: #334155;
}

.skl-wr-search .btn:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.skl-wr-body {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 7px 12px 5px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f2f1 100%);
    border-radius: 0 0 10px 10px;
    gap: 4px;
}

.skl-wr-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 10px 1px 8px;
    border-right: 1px solid #d4d4d8;
}

.skl-wr-group:first-child {
    padding-left: 2px;
}

.skl-wr-group:last-child {
    border-right: none;
    padding-right: 2px;
}

.skl-wr-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 54px;
}

.skl-wr-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.skl-wr-stack .btn-group>.btn {
    border-color: #cbd5e1;
    color: #334155;
    font-weight: 600;
    font-size: 11px;
    padding: 3px 8px;
    background: #ffffff;
    transition: all 0.12s ease;
}

.skl-wr-stack .btn-group>.btn:hover:not(.disabled) {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.skl-wr-stack .btn-group>.btn.active,
.skl-wr-stack .skl-paper-btn.active,
.skl-wr-stack .skl-zoom-btn.active {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #3b82f6 !important;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2);
    font-weight: 700;
}

.skl-wr-jump {
    margin: 0;
}

.skl-wr-jump .input-group-addon {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #334155;
    font-weight: 700;
    font-size: 11.5px;
    padding: 4px 8px;
}

.skl-wr-jump .form-control {
    border-color: #cbd5e1;
    min-width: 68px;
    height: 28px;
    padding: 3px 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    background: #ffffff;
    text-align: center;
    box-shadow: none;
}

.skl-wr-jump .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
}

.skl-wr-jump .btn {
    height: 28px;
    padding: 3px 10px;
    font-size: 11.5px;
    font-weight: 600;
}

.skl-wr-tile {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 56px;
    height: 48px;
    padding: 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.15;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.skl-wr-tile .glyphicon {
    font-size: 15px;
    margin: 0;
}

.skl-wr-tile:hover,
.skl-wr-tile:focus {
    background: #f8fafc;
    border-color: #93c5fd;
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.10);
}

.skl-wr-tile-primary {
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border-color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.skl-wr-tile-primary:hover,
.skl-wr-tile-primary:focus {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1e40af;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.32);
}

.skl-wr-tile-ai {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff !important;
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.28);
}

.skl-wr-tile-ai:hover,
.skl-wr-tile-ai:focus {
    filter: brightness(1.07);
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.36);
}

.skl-wr-mini-btn {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    border-color: #dbe2ea;
    border-radius: 5px;
    background: #f8fafc;
    transition: all 0.12s ease;
}

.skl-wr-mini-btn .glyphicon {
    width: 13px;
    text-align: center;
}

.skl-wr-mini-btn:hover,
.skl-wr-mini-btn:focus {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #0f172a;
}

.skl-wr-label {
    text-align: center;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-top: 5px;
    letter-spacing: 0.5px;
    user-select: none;
}

.skl-demo-redact {
    display: inline-block;
    background: #0f172a !important;
    color: #0f172a !important;
    border-radius: 2px;
    padding: 0 4px;
    line-height: 1.15;
    user-select: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-demo-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.skl-demo-watermark span {
    transform: rotate(-35deg);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: 5px;
    color: rgba(220, 38, 38, 0.16);
    border: 5px solid rgba(220, 38, 38, 0.16);
    padding: 10px 28px;
    border-radius: 6px;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

/* Pengoptimuman gaya item sidebar (elak gaya inline berulang dalam HTML) */
.skl-sb-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

.skl-sb-link {
    flex: 1;
    min-width: 0;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.skl-sb-item.active .skl-sb-meta {
    color: #e2e8f0;
}

.skl-sb-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.skl-edit-page-nav-arrow {
    position: fixed;
    top: 56%;
    transform: translateY(-50%);
    z-index: 10010 !important;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    color: #0f172a;
    font-size: 18px;
    text-decoration: none !important;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
    cursor: pointer;
}
.skl-edit-page-nav-arrow:hover,
.skl-edit-page-nav-arrow:focus {
    background: #185abd;
    color: #ffffff;
    border-color: #185abd;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(24, 90, 189, 0.35);
    outline: none;
}
.skl-edit-page-nav-arrow.is-prev {
    left: 16px;
}
.skl-edit-page-nav-arrow.is-next {
    right: 16px;
}
.skl-edit-page-nav-arrow.is-disabled {
    opacity: 0.32;
    pointer-events: none;
    cursor: default;
}
.skl-book-viewport > .skl-edit-page-nav-arrow {
    position: absolute;
    top: clamp(220px, 46vh, 420px);
    transform: translateY(-50%);
    z-index: 25 !important;
}
.skl-book-viewport > .skl-edit-page-nav-arrow.is-prev {
    left: 14px;
}
.skl-book-viewport > .skl-edit-page-nav-arrow.is-next {
    right: 14px;
}
@media (max-width: 767px) {
    .skl-book-viewport > .skl-edit-page-nav-arrow {
        top: 42%;
    }
    .skl-book-viewport > .skl-edit-page-nav-arrow.is-prev {
        left: 6px;
    }
    .skl-book-viewport > .skl-edit-page-nav-arrow.is-next {
        right: 6px;
    }
    .skl-edit-page-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    .skl-edit-page-nav-arrow.is-prev {
        left: 6px;
    }
    .skl-edit-page-nav-arrow.is-next {
        right: 6px;
    }
}
@media print {
    .skl-edit-page-nav-arrow {
        display: none !important;
    }
}

.skl-sb-del-btn {
    padding: 1px 5px;
}

/* Kad Staf Satu Persatu (Halaman 15 — 3x4 = 12 kad setiap helaian B5) */
.skl-staff-cards-page {
    padding-top: 12px;
}

.skl-staff-cards-heading {
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    color: #0b2e59;
    margin: 8px 0 18px 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #0b2e59;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.skl-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
    column-gap: 11px;
}

.skl-staff-card {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    page-break-inside: avoid;
    break-inside: avoid;
    min-height: 146px;
    position: relative;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-staff-card-banner {
    width: 100%;
    height: 30px;
    background: linear-gradient(135deg, #0b2e59 0%, #0d73cc 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 4px 6px 0 6px;
    flex-shrink: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

[data-halaman="13"] .skl-staff-card {
    display: block !important;
    text-align: left !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

[data-halaman="13"] .skl-staff-card-banner {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    text-align: left !important;
    padding: 4px 12px !important;
    justify-content: flex-start !important;
}

[data-halaman="13"] .skl-staff-card > div:last-child {
    width: 100% !important;
    align-items: stretch !important;
}

[data-halaman="13"] .skl-staff-card table td {
    text-align: left !important;
}

.skl-staff-cat-pentadbir .skl-staff-card-banner {
    background: linear-gradient(135deg, #0b2e59 0%, #1e3a8a 100%);
}

.skl-staff-cat-akp .skl-staff-card-banner {
    background: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

.skl-staff-cat-pill {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #0b2e59;
    background: #fde68a;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.3;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-staff-card-editable {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.skl-staff-card-editable:hover {
    border-color: #0d73cc;
    background: #f8fbff;
    box-shadow: 0 6px 14px rgba(13, 115, 204, 0.22);
    transform: translateY(-2px);
}

.skl-staff-avatar-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 6px rgba(11, 46, 89, 0.22);
    background: #e2e8f0;
    margin-top: -22px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.skl-staff-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.skl-staff-avatar-placeholder {
    font-size: 24px;
    color: #64748b;
    line-height: 1;
}

.skl-staff-card-body {
    width: 100%;
    padding: 0 7px 8px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.skl-staff-card-name {
    font-size: 9px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    word-break: break-word;
}

.skl-staff-card-role {
    font-size: 8px;
    font-weight: 700;
    color: #0d73cc;
    line-height: 1.2;
    margin-bottom: 4px;
}

.skl-staff-card-meta {
    margin-bottom: 3px;
}

.skl-staff-grade-badge {
    display: inline-block;
    font-size: 7.5px;
    font-weight: 700;
    color: #1e293b;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1px 7px;
    line-height: 1.3;
}

.skl-staff-card-email {
    font-size: 7.5px;
    color: #475569;
    line-height: 1.2;
    margin-top: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skl-staff-empty-box {
    border: 1.5px dashed #94a3b8;
    border-radius: 6px;
    padding: 24px 16px;
    text-align: center;
    background: #f8fafc;
}

/* Pembina Carta Organisasi Interaktif (Halaman 22) */
.skl-org-canvas {
    position: relative;
    width: 100%;
    height: 675px;
    border-radius: 6px;
    background: transparent;
    overflow: hidden;
    user-select: none;
}

.skl-org-canvas.is-builder-active {
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 16px 16px;
    border: 1.5px dashed #3b82f6;
    background-color: rgba(248, 250, 252, 0.7);
}

.skl-org-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.skl-org-canvas.is-builder-active .skl-org-svg path {
    pointer-events: stroke;
    cursor: pointer;
}

.skl-org-canvas.is-builder-active .skl-org-svg path:hover {
    stroke: #dc2626 !important;
    stroke-width: 3 !important;
}

.skl-org-node {
    position: absolute;
    z-index: 2;
    box-sizing: border-box;
    width: 146px;
    min-height: 40px;
    padding: 5px 7px;
    border-radius: 6px;
    border: 1.5px solid #0b2e59;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
    text-align: center;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.skl-org-node[data-theme="navy"] {
    background: linear-gradient(135deg, #0b2e59 0%, #1e3a8a 100%);
    color: #ffffff;
    border-color: #f59e0b;
}

.skl-org-node[data-theme="navy"] .skl-org-node-role {
    color: #fde68a;
}

.skl-org-node[data-theme="navy"] .skl-org-node-name {
    color: #ffffff;
}

.skl-org-node[data-theme="blue"] {
    background: #eff6ff;
    border-color: #1d4ed8;
}

.skl-org-node[data-theme="blue"] .skl-org-node-role {
    color: #1e40af;
}

.skl-org-node[data-theme="gold"] {
    background: #fffbeb;
    border-color: #d97706;
}

.skl-org-node[data-theme="gold"] .skl-org-node-role {
    color: #b45309;
}

.skl-org-node[data-theme="emerald"] {
    background: #ecfdf5;
    border-color: #059669;
}

.skl-org-node[data-theme="emerald"] .skl-org-node-role {
    color: #065f46;
}

.skl-org-node[data-theme="slate"] {
    background: #f8fafc;
    border-color: #475569;
}

.skl-org-node[data-theme="slate"] .skl-org-node-role {
    color: #334155;
}

.skl-org-node-role {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.skl-org-node-name {
    font-size: 9px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

.skl-org-canvas.is-builder-active .skl-org-node {
    cursor: move;
}

.skl-org-canvas.is-arrow-mode .skl-org-node {
    cursor: crosshair;
}

.skl-org-node.is-arrow-source {
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}

.skl-org-node-tools {
    position: absolute;
    top: -10px;
    right: -6px;
    display: flex;
    gap: 2px;
    z-index: 5;
}

.skl-org-node-tools button {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 9px;
    line-height: 16px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.skl-org-node-tools button.skl-org-btn-del {
    color: #dc2626;
}

@media screen {

    #sklBookSheet[data-cover-editable="1"] img,
    #sklBookSheet[data-cover-editable="1"] [data-cover-role] {
        cursor: pointer;
        transition: outline 0.15s ease, filter 0.15s ease;
    }

    #sklBookSheet[data-cover-editable="1"] img:hover,
    #sklBookSheet[data-cover-editable="1"] [data-cover-role]:hover {
        outline: 2px dashed #0d73cc;
        outline-offset: 2px;
        filter: brightness(0.95);
    }
}

/* Pastikan semua modal dan dialog jelas, tajam dan sentiasa berada di atas backdrop */
.modal-backdrop {
    z-index: 10400 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal {
    z-index: 10500 !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.modal-dialog,
.modal-content {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
}

.swal2-container {
    z-index: 20000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ==========================================================================
 * REKA BENTUK TAJUK HALAMAN DALAM MENGIKUT TEMA (BENTUK BERBEZA SETIAP TEMA)
 * ========================================================================== */
:is(
    .skl-theme-klasik_diraja,
    .skl-theme-moden_zamrud,
    .skl-theme-eksekutif_merah,
    .skl-theme-geometrik_ungu,
    .skl-theme-editorial_teal,
    .skl-theme-warisan_coklat,
    .skl-theme-futuristik_siber,
    .skl-theme-berlian_biru,
    .skl-theme-emas_mustard,
    .skl-theme-pop_ungu,
    .skl-theme-bulatan_biru,
    .skl-theme-gradasi_magenta,
    .skl-theme-chevron_merah,
    .skl-theme-minimalis_jalur,
    .skl-theme-heksagon_teal,
    .skl-theme-grid_biru,
    .skl-theme-spektrum_sian
):not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(
    .skl-toc-title,
    [data-halaman="2"] h3,
    .skl-sheet-body .page-section-title,
    .skl-staff-cards-heading,
    .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child,
    .skl-sheet-body > div[style*="linear-gradient("]:first-child,
    .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"],
    .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"],
    .skl-sheet-body > .pdf-page-content > h2:first-child,
    .skl-sheet-body > .pdf-page-content > h3:first-child,
    .skl-sheet-body > .pdf-page-content > h4:first-child,
    .skl-sheet-body > h2:first-child,
    .skl-sheet-body > h3:first-child,
    .skl-sheet-body > h4:first-child
) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 10px 24px !important;
    margin: 0 auto 12px auto !important;
    font-size: 13.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.9px !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

:is(
    .skl-theme-klasik_diraja,
    .skl-theme-moden_zamrud,
    .skl-theme-eksekutif_merah,
    .skl-theme-geometrik_ungu,
    .skl-theme-editorial_teal,
    .skl-theme-warisan_coklat,
    .skl-theme-futuristik_siber,
    .skl-theme-berlian_biru,
    .skl-theme-emas_mustard,
    .skl-theme-pop_ungu,
    .skl-theme-bulatan_biru,
    .skl-theme-gradasi_magenta,
    .skl-theme-chevron_merah,
    .skl-theme-minimalis_jalur,
    .skl-theme-heksagon_teal,
    .skl-theme-grid_biru,
    .skl-theme-spektrum_sian
):not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(
    .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child,
    .skl-sheet-body > div[style*="linear-gradient("]:first-child
) :is(table, tbody, tr, td, th, div, span, p) {
    color: inherit !important;
    background: transparent !important;
    border: none !important;
}

:is(
    .skl-theme-klasik_diraja,
    .skl-theme-moden_zamrud,
    .skl-theme-eksekutif_merah,
    .skl-theme-geometrik_ungu,
    .skl-theme-editorial_teal,
    .skl-theme-warisan_coklat,
    .skl-theme-futuristik_siber,
    .skl-theme-berlian_biru,
    .skl-theme-emas_mustard,
    .skl-theme-pop_ungu,
    .skl-theme-bulatan_biru,
    .skl-theme-gradasi_magenta,
    .skl-theme-chevron_merah,
    .skl-theme-minimalis_jalur,
    .skl-theme-heksagon_teal,
    .skl-theme-grid_biru,
    .skl-theme-spektrum_sian
):not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(
    .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child,
    .skl-sheet-body > div[style*="linear-gradient("]:first-child
) td:first-child > div {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1.5px solid currentColor !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
}

.skl-book-sheet.skl-theme-klasik_diraja:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(180deg, #0b2e59 0%, #163e73 100%) !important;
    color: #fde68a !important;
    border: 2px solid #d4af37 !important;
    border-radius: 4px !important;
    box-shadow: 0 3px 0 #0b2e59 !important;
}

.skl-book-sheet.skl-theme-moden_zamrud:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(120deg, #065f46 0%, #10b981 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-left: 7px solid #f59e0b !important;
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%) !important;
}

.skl-book-sheet.skl-theme-eksekutif_merah:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #18181b 0%, #27272a 68%, #b91c1c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 4px solid #ef4444 !important;
    border-radius: 22px 22px 4px 4px !important;
}

.skl-book-sheet.skl-theme-geometrik_ungu:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 3px solid #f59e0b !important;
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%) !important;
}

.skl-book-sheet.skl-theme-editorial_teal:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(120deg, #134e4a 0%, #0f766e 100%) !important;
    color: #fffbeb !important;
    border: none !important;
    border-left: 6px solid #d97706 !important;
    border-radius: 0 26px 0 26px !important;
}

.skl-book-sheet.skl-theme-warisan_coklat:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: #fef3c7 !important;
    color: #451a03 !important;
    border: 2px solid #78350f !important;
    box-shadow: inset 0 0 0 2px #d97706 !important;
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px) !important;
    font-family: Georgia, 'Times New Roman', serif !important;
}

.skl-book-sheet.skl-theme-futuristik_siber:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%) !important;
    color: #38bdf8 !important;
    border: none !important;
    border-left: 6px solid #06b6d4 !important;
    border-right: 6px solid #06b6d4 !important;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px) !important;
}

.skl-book-sheet.skl-theme-berlian_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(135deg, #0f294a 0%, #1d6fa5 100%) !important;
    color: #ffffff !important;
    border: none !important;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 14px 50%) !important;
}

.skl-book-sheet.skl-theme-emas_mustard:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: #1c2421 !important;
    color: #fcd34d !important;
    border: none !important;
    border-bottom: 4px solid #ca9a2e !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 22px 100%) !important;
}

.skl-book-sheet.skl-theme-pop_ungu:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #27134e 0%, #ec4899 100%) !important;
    color: #facc15 !important;
    border: 2.5px dashed #facc15 !important;
    border-radius: 999px !important;
}

.skl-book-sheet.skl-theme-bulatan_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 4px solid #1e293b !important;
    border-radius: 50px !important;
}

.skl-book-sheet.skl-theme-gradasi_magenta:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(120deg, #d97706 0%, #86198f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 3px solid #facc15 !important;
    border-radius: 22px 4px 22px 4px !important;
}

.skl-book-sheet.skl-theme-chevron_merah:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 100%) !important;
    color: #fef08a !important;
    border: none !important;
    border-left: 7px solid #facc15 !important;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%) !important;
}

.skl-book-sheet.skl-theme-minimalis_jalur:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: #eff6ff !important;
    color: #0b1d3a !important;
    border: none !important;
    border-left: 8px solid #0b1d3a !important;
    border-bottom: 3px solid #0284c7 !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%) !important;
}

.skl-book-sheet.skl-theme-heksagon_teal:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #0f766e 0%, #6d28d9 100%) !important;
    color: #ffffff !important;
    border: none !important;
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%) !important;
}

.skl-book-sheet.skl-theme-grid_biru:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-right: 6px solid #60a5fa !important;
    clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%) !important;
}

.skl-book-sheet.skl-theme-spektrum_sian:not(.is-cover):not(.is-back-cover):not(:has(.skl-bab-divider)) :is(.skl-toc-title, [data-halaman="2"] h3, .skl-sheet-body .page-section-title, .skl-staff-cards-heading, .skl-sheet-body > .pdf-page-content > div[style*="linear-gradient("]:first-child, .skl-sheet-body > div[style*="linear-gradient("]:first-child, .skl-sheet-body > .pdf-page-content > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > div[style*="text-align:center"][style*="text-transform:uppercase"], .skl-sheet-body > .pdf-page-content > h2:first-child, .skl-sheet-body > .pdf-page-content > h3:first-child, .skl-sheet-body > .pdf-page-content > h4:first-child, .skl-sheet-body > h2:first-child, .skl-sheet-body > h3:first-child, .skl-sheet-body > h4:first-child) {
    background: linear-gradient(90deg, #5b21b6 0%, #06b6d4 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-bottom: 4px solid #38bdf8 !important;
    border-radius: 16px 16px 0 0 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
}

/* Menu Pratonton Melekat di Atas (bergerak sampai atas dan terhenti) & Lebar Penuh Apabila Sidebar Disembunyikan */
body.skl-page-buku-lihat .skl-main-container {
    width: 100%;
}

body.skl-page-buku-lihat .skl-book-layout-row > .col-md-12,
body.skl-page-buku-lihat .skl-book-layout-row > .col-sm-12 {
    width: 100%;
}

@media (min-width: 768px) {
    body.skl-page-buku-lihat #sklShowSidebarBar {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 45;
        background: #f4f6f9;
        padding: 6px 2px;
        margin-bottom: 0 !important;
    }

    body.skl-page-buku-lihat .skl-book-toolbar.skl-word-ribbon {
        position: -webkit-sticky;
        position: sticky;
        top: var(--skl-ribbon-sticky-top, 0px);
        z-index: 40;
        overflow: visible;
        margin-bottom: 12px;
    }

    body.skl-page-buku-lihat #sklBookSidebarCol {
        position: -webkit-sticky;
        position: sticky;
        top: 8px;
        align-self: flex-start;
    }
}

/* Penyeragaman font konsisten di semua halaman buku */
.skl-book-sheet,
.skl-book-sheet .skl-sheet-body,
.skl-book-sheet .skl-sheet-body *:not(.glyphicon):not(.fa):not(code):not(pre),
.pdf-page-content,
.pdf-page-content *:not(.glyphicon):not(.fa):not(code):not(pre),
.rps-page-content,
.rps-page-content *:not(.glyphicon):not(.fa):not(code):not(pre) {
    font-family: var(--skl-book-font, 'Helvetica Neue', Helvetica, Arial, sans-serif) !important;
}

/* Jarak lalai antara gambar staf dan nama di semua halaman */
.bba0022-staff-photo-slot,
.skl-staff-photo-wrap,
.rps2026-staff-avatar,
.rps2026-slt-photo {
    margin-bottom: 10px !important;
}
.bba0022-staff-photo-slot + div,
.skl-staff-photo-wrap + div {
    margin-top: 6px !important;
}

/* Sembunyikan border pemilihan jadual, butang pangkah merah dan bar terapung jadual secara lalai */
#sklTblResizeOverlay,
.bba0022-staff-del-btn,
.skl-staff-del-btn,
button[data-staff-delete] {
    display: none !important;
}
.skl-sheet-body table.skl-active-table,
.skl-sheet-body td.skl-active-cell,
.skl-sheet-body th.skl-active-cell,
.skl-sheet-body .skl-active-cell {
    outline: none !important;
    box-shadow: none !important;
}

/* Buang kotak-kotak pemilihan jadual/sel dan garis putus-putus editor secara lalai di semua halaman */
.skl-sheet-body table.skl-tbl-selected,
.skl-sheet-body table.skl-tbl-selected td,
.skl-sheet-body table.skl-tbl-selected th,
.skl-sheet-body .skl-cell-selected,
.skl-multi-editable-body table.skl-tbl-selected,
.skl-multi-editable-body .skl-cell-selected,
#b5PreviewBody,
.skl-multi-editable-body {
    outline: none !important;
    box-shadow: none !important;
}
.skl-sheet-body table.skl-tbl-selected td,
.skl-sheet-body table.skl-tbl-selected th,
.skl-sheet-body .skl-cell-selected {
    border-color: transparent !important;
}

/* Pastikan helaian berbilang muka surat B5 sentiasa terpisah kemas dan footer tidak bertindih */
.skl-book-viewport {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.skl-book-viewport .skl-book-sheet {
    overflow: hidden !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

/* Saiz font 11px dalam semua kotak/sel jadual Senarai Jawatankuasa */
.skl-jk-table-sheet table th,
.skl-jk-table-sheet table td,
.skl-jk-table-sheet table td span {
    font-size: 11px !important;
    line-height: 1.38 !important;
}
