.imla-sk-wrap {
    --imla-gold: #d5a500;
    --imla-dark: #111111;
    --imla-blue: #173f73;
    --imla-border: #e5e7eb;
    --imla-muted: #6b7280;
    margin: 10px 0 42px;
    color: #222;
    font-family: inherit;
}

.imla-sk-wrap *,
.imla-sk-wrap *::before,
.imla-sk-wrap *::after {
    box-sizing: border-box;
}

.imla-sk-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-left: 18px;
    border-left: 4px solid var(--imla-gold);
}

.imla-sk-heading h2 {
    margin: 0 0 4px;
    color: var(--imla-dark);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.imla-sk-heading p {
    margin: 0;
    color: var(--imla-muted);
}

.imla-sk-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 999px;
    background: #f6f6f6;
    color: #444;
    font-size: 13px;
    font-weight: 700;
}

.imla-sk-filters {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) repeat(4, minmax(145px, 1fr)) auto auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--imla-border);
    border-radius: 8px;
    background: #fafafa;
}

.imla-sk-filters input,
.imla-sk-filters select {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid #cfd3d8;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font: inherit;
    font-size: 14px;
}

.imla-sk-search-field {
    position: relative;
}

.imla-sk-search-field .dashicons {
    position: absolute;
    top: 50%;
    left: 11px;
    transform: translateY(-50%);
    color: #7b8189;
    pointer-events: none;
}

.imla-sk-search-field input {
    padding-left: 38px;
}

.imla-sk-filter-button,
.imla-sk-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}

.imla-sk-filter-button {
    border: 1px solid var(--imla-dark);
    background: var(--imla-dark);
    color: #fff;
    cursor: pointer;
}

.imla-sk-filter-button:hover,
.imla-sk-filter-button:focus {
    border-color: var(--imla-gold);
    background: var(--imla-gold);
    color: #111;
}

.imla-sk-reset {
    border: 1px solid #cfd3d8;
    background: #fff;
    color: #333 !important;
}

.imla-sk-table-scroll {
    overflow-x: auto;
    border: 1px solid var(--imla-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.04);
}

.imla-sk-table {
    width: 100%;
    min-width: 1120px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: #fff;
    font-size: 13.5px;
}

.imla-sk-table th,
.imla-sk-table td {
    padding: 14px 13px;
    border: 0;
    border-bottom: 1px solid var(--imla-border);
    text-align: left;
    vertical-align: top;
}

.imla-sk-table thead th {
    border-bottom: 3px solid var(--imla-gold);
    background: var(--imla-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.imla-sk-table tbody tr:last-child td {
    border-bottom: 0;
}

.imla-sk-table tbody tr:hover {
    background: #fffdf4;
}

.imla-sk-org {
    min-width: 180px;
}

.imla-sk-org strong {
    display: block;
    color: #171717;
    font-size: 14px;
    line-height: 1.4;
}

.imla-sk-org small {
    display: block;
    margin-top: 5px;
    color: var(--imla-muted);
    line-height: 1.35;
}

.imla-sk-branch-arrow {
    color: var(--imla-gold);
    font-weight: 800;
}

.imla-sk-number {
    display: inline-block;
    max-width: 170px;
    overflow-wrap: anywhere;
    color: var(--imla-blue);
    font-weight: 700;
}

.imla-sk-level,
.imla-sk-status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.imla-sk-level-pusat { background: #e7eef8; color: #173f73; }
.imla-sk-level-daerah { background: #fff2bf; color: #745700; }
.imla-sk-level-cabang { background: #eef1f4; color: #4b5563; }

.imla-sk-status-berlaku { background: #d7f3df; color: #176b35; }
.imla-sk-status-direvisi { background: #fff0c2; color: #7a5700; }
.imla-sk-status-berakhir { background: #e9e9e9; color: #50575e; }
.imla-sk-status-dicabut { background: #f8d7da; color: #8a1f2b; }
.imla-sk-status-draft { background: #dbeafe; color: #1e4f91; }

.imla-sk-doc-actions {
    min-width: 112px;
}

.imla-sk-doc-actions a {
    display: inline-block;
    margin: 0 7px 6px 0;
    font-weight: 700;
    text-decoration: none !important;
}

.imla-sk-view { color: var(--imla-blue) !important; }
.imla-sk-download { color: #176b35 !important; }
.imla-sk-no-file { color: var(--imla-muted); font-size: 12px; }

.imla-sk-empty {
    padding: 42px 24px;
    border: 1px dashed #cfd3d8;
    border-radius: 8px;
    background: #fafafa;
    text-align: center;
}

.imla-sk-empty .dashicons {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    color: var(--imla-gold);
    font-size: 42px;
}

.imla-sk-empty strong {
    display: block;
    font-size: 18px;
}

.imla-sk-empty p {
    margin: 6px 0 0;
    color: var(--imla-muted);
}

.imla-sk-pagination {
    margin-top: 20px;
}

.imla-sk-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.imla-sk-pagination .page-numbers li {
    margin: 0;
}

.imla-sk-pagination a,
.imla-sk-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 11px;
    border: 1px solid var(--imla-border);
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.imla-sk-pagination .current,
.imla-sk-pagination a:hover {
    border-color: var(--imla-gold);
    background: var(--imla-gold);
    color: #111;
}

@media (max-width: 1180px) {
    .imla-sk-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .imla-sk-search-field {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .imla-sk-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .imla-sk-filters {
        grid-template-columns: 1fr 1fr;
    }

    .imla-sk-search-field {
        grid-column: 1 / -1;
    }

    .imla-sk-table-scroll {
        overflow: visible;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .imla-sk-table {
        min-width: 0;
        border: 0;
        background: transparent;
    }

    .imla-sk-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .imla-sk-table,
    .imla-sk-table tbody,
    .imla-sk-table tr,
    .imla-sk-table td {
        display: block;
        width: 100%;
    }

    .imla-sk-table tr {
        margin-bottom: 15px;
        overflow: hidden;
        border: 1px solid var(--imla-border);
        border-top: 4px solid var(--imla-gold);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 5px 17px rgba(0, 0, 0, .05);
    }

    .imla-sk-table td {
        display: grid;
        grid-template-columns: minmax(105px, .85fr) minmax(0, 1.65fr);
        gap: 12px;
        padding: 11px 14px;
        border-bottom: 1px solid var(--imla-border);
    }

    .imla-sk-table td::before {
        content: attr(data-label);
        color: #555;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .02em;
        text-transform: uppercase;
    }

    .imla-sk-table tbody tr:hover {
        background: #fff;
    }

    .imla-sk-org {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .imla-sk-filters {
        grid-template-columns: 1fr;
    }

    .imla-sk-search-field {
        grid-column: auto;
    }

    .imla-sk-filter-button,
    .imla-sk-reset {
        width: 100%;
    }
}
