:root {
    --edumin-primary: #452b90;
    --edumin-primary-light: #5c3eb8;
    --edumin-secondary: #f7931a;
    --edumin-sidebar: #1e2746;
    --edumin-sidebar-hover: #2a3558;
    --edumin-sidebar-active: #452b90;
    --edumin-body-bg: #f3f4f8;
    --edumin-header-height: 70px;
    --edumin-sidebar-width: 260px;
    --edumin-btn-radius: 10px;
    --edumin-btn-radius-sm: 8px;
    --edumin-btn-height: 40px;
    --edumin-btn-height-sm: 32px;
}

* { box-sizing: border-box; }

body.edumin-body {
    font-family: 'Poppins', sans-serif;
    background: var(--edumin-body-bg);
    margin: 0;
    font-size: 14px;
    color: #3d4465;
}

.edumin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.edumin-sidebar {
    width: var(--edumin-sidebar-width);
    background: var(--edumin-sidebar);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1040;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.edumin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.edumin-sidebar-brand .brand-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--edumin-primary), var(--edumin-secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.edumin-sidebar-brand .brand-text {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.2;
}

.edumin-sidebar-brand .brand-sub {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 400;
}

.edumin-nav-label {
    padding: 18px 24px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
}

.edumin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 24px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.edumin-nav-link i {
    font-size: 18px;
    width: 22px;
    text-align: center;
}

.edumin-nav-link:hover {
    color: #fff;
    background: var(--edumin-sidebar-hover);
}

.edumin-nav-link.active {
    color: #fff;
    background: rgba(69, 43, 144, 0.35);
    border-left-color: var(--edumin-secondary);
}

/* Submenu (role perusahaan) */
.edumin-nav-group {
    display: flex;
    flex-direction: column;
}
.edumin-nav-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}
.edumin-nav-toggle .edumin-nav-chevron {
    margin-left: auto;
    font-size: 12px;
    width: auto;
    transition: transform 0.2s;
}
.edumin-nav-group.open .edumin-nav-chevron {
    transform: rotate(180deg);
}
.edumin-nav-submenu {
    display: none;
    padding: 4px 0 8px;
}
.edumin-nav-group.open .edumin-nav-submenu {
    display: block;
}
.edumin-nav-sublink {
    display: block;
    padding: 8px 24px 8px 58px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
}
.edumin-nav-sublink:hover {
    color: #fff;
    background: var(--edumin-sidebar-hover);
}
.edumin-nav-sublink.active {
    color: #fff;
    background: rgba(69, 43, 144, 0.25);
    border-left-color: var(--edumin-secondary);
}

/* Main */
.edumin-main {
    flex: 1;
    margin-left: var(--edumin-sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.edumin-header {
    height: var(--edumin-header-height);
    background: #fff;
    border-bottom: 1px solid #e8ebf3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.edumin-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.edumin-header-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1d2e;
}

.edumin-header-title p {
    margin: 0;
    font-size: 12px;
    color: #888;
}

.edumin-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.edumin-notif-btn {
    color: #555;
    padding: 6px 10px;
}

.edumin-notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
}

.edumin-notif-menu {
    width: 320px;
    max-height: 360px;
    overflow-y: auto;
}

.edumin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.edumin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--edumin-primary), var(--edumin-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.edumin-user-info .name {
    font-weight: 600;
    font-size: 13px;
    color: #1a1d2e;
}

.edumin-user-info .role {
    font-size: 11px;
    color: #888;
}

.edumin-content {
    padding: 28px;
    flex: 1;
}

/* Cards */
.edumin-card {
    background: #fff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 24px;
}

.edumin-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f0f2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.edumin-card-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1d2e;
}

.edumin-card-body {
    padding: 24px;
}

/* Stat widgets */
.edumin-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.edumin-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s;
}

.edumin-stat-card:hover {
    transform: translateY(-2px);
}

.edumin-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
}

.edumin-stat-icon.purple { background: linear-gradient(135deg, #452b90, #6b4fbb); }
.edumin-stat-icon.orange { background: linear-gradient(135deg, #f7931a, #ffb347); }
.edumin-stat-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.edumin-stat-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.edumin-stat-icon.red { background: linear-gradient(135deg, #ef4444, #f87171); }
.edumin-stat-icon.gray { background: linear-gradient(135deg, #6b7280, #9ca3af); }

.edumin-stat-info h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1a1d2e;
}

.edumin-stat-info p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #888;
}

/* Buttons */
.btn-edumin-primary {
    background: var(--edumin-primary);
    border-color: var(--edumin-primary);
    color: #fff;
    border-radius: var(--edumin-btn-radius);
    padding: 0 1.2rem;
    min-height: var(--edumin-btn-height);
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(69, 43, 144, 0.18);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-edumin-primary:hover {
    background: var(--edumin-primary-light);
    border-color: var(--edumin-primary-light);
    color: #fff;
    box-shadow: 0 4px 12px rgba(69, 43, 144, 0.22);
}

.btn-edumin-primary:active {
    transform: translateY(1px);
}

.btn-edumin-secondary {
    background: #eef0f6;
    border: 1px solid #e4e7ef;
    color: #3d4465;
    border-radius: var(--edumin-btn-radius);
    padding: 0 1.2rem;
    min-height: var(--edumin-btn-height);
    font-weight: 500;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    line-height: 1.2;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-edumin-secondary:hover {
    background: #e2e5ed;
    border-color: #d7dbe8;
    color: #1a1d2e;
}

.btn-edumin-primary.btn-sm,
.btn-edumin-secondary.btn-sm {
    min-height: var(--edumin-btn-height-sm);
    padding: 0 0.85rem;
    font-size: 12px;
    border-radius: var(--edumin-btn-radius-sm);
    box-shadow: none;
}

/* Global button polish inside app */
.edumin-body .btn {
    border-radius: var(--edumin-btn-radius);
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    min-height: var(--edumin-btn-height);
    padding: 0 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    vertical-align: middle;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.edumin-body .btn-sm {
    min-height: var(--edumin-btn-height-sm);
    padding: 0 0.8rem;
    font-size: 12px;
    border-radius: var(--edumin-btn-radius-sm);
}

.edumin-body .btn-lg {
    min-height: 46px;
    padding: 0 1.4rem;
    font-size: 14px;
    border-radius: 12px;
}

.edumin-body .btn-success {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    box-shadow: 0 1px 2px rgba(22, 163, 74, 0.18);
}

.edumin-body .btn-success:hover {
    background: #15803d;
    border-color: #15803d;
    color: #fff;
}

.edumin-body .btn-outline-danger {
    border-width: 1px;
    color: #dc2626;
    border-color: #f1c0c0;
    background: #fff;
}

.edumin-body .btn-outline-danger:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #b91c1c;
}

.edumin-body .btn-outline-secondary {
    border-color: #d7dbe8;
    color: #4b5168;
    background: #fff;
}

.edumin-body .btn-outline-secondary:hover {
    background: #f3f4f8;
    border-color: #c5cad8;
    color: #1a1d2e;
}

.edumin-body .btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(69, 43, 144, 0.2);
}

.edumin-body .btn-group .btn,
.edumin-body .input-group .btn {
    min-height: var(--edumin-btn-height-sm);
}

/* Icon-only compact actions in tables */
.edumin-body .btn.btn-sm.btn-outline-danger:not(.btn-edumin-secondary),
.edumin-body table .btn-sm {
    min-width: 32px;
}

.edumin-body table .btn-sm i.bi {
    font-size: 0.9rem;
    line-height: 1;
}
/* Table */
.edumin-table {
    width: 100%;
    margin: 0;
}

.edumin-table thead th {
    background: #f8f9fc;
    border: none;
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #888;
}

.edumin-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f2f7;
    vertical-align: middle;
    font-size: 13px;
}

.edumin-table tbody tr:hover {
    background: #fafbff;
}

/* Badges */
.edumin-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.edumin-badge.draft { background: #f3f4f6; color: #6b7280; }
.edumin-badge.submitted { background: #dbeafe; color: #1d4ed8; }
.edumin-badge.in_review { background: #fef3c7; color: #b45309; }
.edumin-badge.revision { background: #ffedd5; color: #c2410c; }
.edumin-badge.awaiting_approval { background: #e0e7ff; color: #4338ca; }
.edumin-badge.approved { background: #d1fae5; color: #047857; }
.edumin-badge.rejected { background: #fee2e2; color: #b91c1c; }
.edumin-badge.pending { background: #f3f4f6; color: #6b7280; }
.edumin-badge.passed { background: #d1fae5; color: #047857; }
.edumin-badge.failed { background: #fee2e2; color: #b91c1c; }

/* Forms inside content */
.edumin-content .form-control,
.edumin-content .form-select {
    border-radius: 8px;
    border-color: #e2e5ed;
    padding: 10px 14px;
    font-size: 13px;
}

.edumin-content .form-control:focus,
.edumin-content .form-select:focus {
    border-color: var(--edumin-primary);
    box-shadow: 0 0 0 3px rgba(69, 43, 144, 0.12);
}

.edumin-content label {
    font-weight: 500;
    font-size: 13px;
    color: #3d4465;
    margin-bottom: 6px;
}

.edumin-form-section {
    font-size: 14px;
    font-weight: 600;
    color: var(--edumin-primary);
    padding-bottom: 10px;
    margin: 20px 0 16px;
    border-bottom: 2px solid #f0f2f7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edumin-form-section:first-child {
    margin-top: 0;
}

.edumin-info-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #f3f0ff 100%);
    border: 1px solid #e8e0f7;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 13px;
}

.edumin-kegiatan-table {
    width: 100%;
    font-size: 13px;
}

.edumin-kegiatan-table thead th {
    background: #f0f2f7;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    white-space: normal;
    border: 1px solid #dee2e6 !important;
    vertical-align: middle;
}

.edumin-kegiatan-table tbody td,
.edumin-kegiatan-table tfoot td {
    padding: 8px 6px;
    vertical-align: middle;
    border: 1px solid #e9ecef;
}

.edumin-kegiatan-table .form-control {
    padding: 8px 10px;
    font-size: 12px;
}

.edumin-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #f0f2f7;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: border-color 0.2s;
}

.komitmen-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}
.komitmen-progress-item {
    background: #fff;
    border: 1px solid #e8ebf2;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
}
.komitmen-progress-item.done {
    border-color: rgba(25, 135, 84, 0.35);
    background: rgba(25, 135, 84, 0.06);
}
.komitmen-progress-item .letter {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eceff5;
    color: #452b90;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}
.komitmen-progress-item.done .letter {
    background: #198754;
    color: #fff;
}
.komitmen-progress-item .label {
    display: block;
    font-size: 12px;
    color: #6c757d;
}

.komitmen-card {
    background: #fff;
    border: 1px solid #e8ebf2;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(30, 39, 70, 0.03);
}
.komitmen-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(180deg, #fafbfe 0%, #f5f6fb 100%);
    border-bottom: 1px solid #eef0f5;
}
.komitmen-card-head h6 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1d2e;
    margin: 0;
}
.komitmen-letter {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--edumin-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.komitmen-letter.secondary {
    background: #6c757d;
    font-size: 15px;
}
.komitmen-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef0f5;
    color: #5a6270;
}
.chip-required { background: rgba(220, 53, 69, 0.1); color: #b02a37; }
.chip-upload { background: rgba(69, 43, 144, 0.1); color: #452b90; }
.chip-template { background: rgba(247, 147, 26, 0.15); color: #9a5b00; }
.chip-conditional { background: rgba(13, 202, 240, 0.15); color: #087990; }

.badge-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.badge-status.done {
    background: rgba(25, 135, 84, 0.12);
    color: #146c43;
}

.komitmen-card-body {
    padding: 16px;
}

.komitmen-details summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: var(--edumin-primary);
    list-style: none;
}
.komitmen-details summary::-webkit-details-marker { display: none; }
.komitmen-details summary::before {
    content: "â¸ ";
    display: inline-block;
}
.komitmen-details[open] summary::before {
    content: "â¾ ";
}

.komitmen-text-box {
    background: #f7f8fc;
    border: 1px solid #e8ebf2;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}
.komitmen-text-box ol {
    padding-left: 1.2rem;
    margin-bottom: 0.75rem;
}
.komitmen-text-box ol ol {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.komitmen-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    padding: 12px 14px;
    border: 1px solid #e8ebf2;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.komitmen-agree input {
    margin-top: 3px;
    flex-shrink: 0;
}
.komitmen-agree span {
    font-size: 13px;
    line-height: 1.45;
}
.komitmen-agree em {
    color: #dc3545;
    font-style: normal;
}

.komitmen-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #fafbfe;
    border: 1px dashed #d9deea;
    border-radius: 10px;
}

.komitmen-upload {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 14px;
    align-items: start;
    padding: 12px;
    border: 1px solid #e8ebf2;
    border-radius: 10px;
    background: #fcfcfd;
}
.komitmen-upload.has-file {
    border-color: rgba(25, 135, 84, 0.3);
    background: rgba(25, 135, 84, 0.03);
}
.file-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8ebf2;
    border-radius: 10px;
}
.file-chip > i {
    font-size: 22px;
    color: #dc3545;
}
.file-chip-info .name {
    font-size: 12px;
    font-weight: 600;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.file-chip-info .size {
    font-size: 11px;
    color: #8a93a6;
}
.file-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 72px;
    border: 1px dashed #d5dae6;
    border-radius: 10px;
    color: #9aa3b5;
    font-size: 12px;
    background: #fff;
}
.file-empty i { font-size: 20px; }

.komitmen-skip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8f9fc;
    border: 1px solid #e8ebf2;
    color: #5a6270;
}
.komitmen-skip i {
    font-size: 18px;
    color: #6c757d;
    margin-top: 2px;
}

fieldset[disabled] a {
    pointer-events: auto;
}

@media (max-width: 767px) {
    .komitmen-upload {
        grid-template-columns: 1fr;
    }
}

.edumin-check-item:hover {
    border-color: #d4c4f0;
    background: #fafbff;
}

.edumin-check-item .form-check-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.edumin-check-item .form-check-input:checked {
    background-color: var(--edumin-primary);
    border-color: var(--edumin-primary);
}

.edumin-doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f2f7;
}

.edumin-doc-item:last-child {
    border-bottom: none;
}

.edumin-doc-icon {
    width: 42px;
    height: 42px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.edumin-eval-card {
    border: 1px solid #f0f2f7;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.edumin-eval-card:hover {
    border-color: #d4c4f0;
}

.edumin-profile-card .edumin-card-body {
    padding: 28px;
}

/* Auth page */
.edumin-auth-wrapper {
    min-height: 100vh;
    display: flex;
}

.edumin-auth-left {
    flex: 1;
    background: linear-gradient(135deg, var(--edumin-sidebar) 0%, var(--edumin-primary) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #fff;
}

.edumin-auth-left h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.edumin-auth-left p {
    opacity: 0.8;
    max-width: 400px;
    text-align: center;
    line-height: 1.7;
}

.edumin-auth-right {
    width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
}

.edumin-auth-form {
    width: 100%;
    max-width: 360px;
}

.edumin-auth-form h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1d2e;
}

.edumin-auth-form .subtitle {
    color: #888;
    margin-bottom: 32px;
    font-size: 14px;
}

/* Mobile */
.edumin-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1a1d2e;
    cursor: pointer;
}

@media (max-width: 991px) {
    .edumin-sidebar {
        transform: translateX(-100%);
    }
    .edumin-sidebar.show {
        transform: translateX(0);
    }
    .edumin-main {
        margin-left: 0;
    }
    .edumin-toggle {
        display: block;
    }
    .edumin-auth-left {
        display: none;
    }
    .edumin-auth-right {
        width: 100%;
    }
}

.edumin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1035;
}

.edumin-overlay.show {
    display: block;
}

/* Create RKAB modal steps */
.rkab-create-steps {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.rkab-create-step {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: #f3f4f8;
    color: #6c757d;
    font-size: 0.82rem;
    font-weight: 500;
}
.rkab-create-step span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dde1ea;
    color: #495057;
    font-size: 0.75rem;
    font-weight: 600;
}
.rkab-create-step.active {
    background: rgba(69, 43, 144, 0.1);
    color: var(--edumin-primary);
}
.rkab-create-step.active span {
    background: var(--edumin-primary);
    color: #fff;
}
.rkab-create-step.done {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}
.rkab-create-step.done span {
    background: #198754;
    color: #fff;
}
.rkab-create-summary {
    background: linear-gradient(135deg, rgba(69, 43, 144, 0.06), rgba(247, 147, 26, 0.08));
    border: 1px solid rgba(69, 43, 144, 0.12);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}
#createRkabModal .form-select-lg {
    font-size: 0.95rem;
    min-height: 48px;
}

/* ===== RKAB Progress Tracker ===== */
.rkab-progress-card .edumin-card-body {
  padding: 1rem 1.25rem 1.5rem;
}
.rkab-progress-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 0.25rem 0.5rem 0.5rem;
  scrollbar-width: thin;
}
.rkab-progress-step {
  flex: 1 1 0;
  min-width: 118px;
  max-width: none;
  position: relative;
  padding: 0 0.35rem;
}
.rkab-progress-step-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rkab-progress-node-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.rkab-progress-node-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2e8f0;
  transform: translateY(-50%);
  z-index: 0;
}
.rkab-progress-step:first-child .rkab-progress-node-wrap::before {
  left: 50%;
}
.rkab-progress-step:last-child .rkab-progress-node-wrap::before {
  right: 50%;
}
.rkab-progress-step.is-completed .rkab-progress-node-wrap::before {
  background: #22c55e;
}
.rkab-progress-step.is-active .rkab-progress-node-wrap::before {
  background: linear-gradient(90deg, #22c55e 0%, #22c55e 50%, #e2e8f0 50%, #e2e8f0 100%);
}
.rkab-progress-step.is-failed .rkab-progress-node-wrap::before {
  background: linear-gradient(90deg, #22c55e 0%, #ef4444 50%, #e2e8f0 50%, #e2e8f0 100%);
}
.rkab-progress-node {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #fff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  flex-shrink: 0;
}
.rkab-progress-step.is-completed .rkab-progress-node {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}
.rkab-progress-step.is-active .rkab-progress-node {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}
.rkab-progress-step.is-failed .rkab-progress-node {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.1);
}
.rkab-progress-step.is-skipped .rkab-progress-node {
  border-style: dashed;
  background: #f8fafc;
  color: #94a3b8;
}
.rkab-progress-meta {
  width: 100%;
  min-height: 88px;
  padding: 0 0.15rem;
}
.rkab-progress-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.rkab-progress-step.is-active .rkab-progress-title {
  color: #2563eb;
}
.rkab-progress-step.is-failed .rkab-progress-title {
  color: #dc2626;
}
.rkab-progress-step.is-pending .rkab-progress-title,
.rkab-progress-step.is-skipped .rkab-progress-title {
  color: #94a3b8;
}
.rkab-progress-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  margin-bottom: 0.35rem;
  white-space: nowrap;
}
.rkab-progress-step.is-pending .rkab-progress-badge,
.rkab-progress-step.is-skipped .rkab-progress-badge {
  background: #f1f5f9;
  color: #94a3b8;
}
.rkab-progress-step.is-completed .rkab-progress-badge {
  background: #ecfdf5;
  color: #059669;
}
.rkab-progress-date {
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.3;
}
.rkab-progress-duration {
  font-size: 0.6875rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.2rem;
  line-height: 1.3;
}
.rkab-progress-duration.muted {
  color: #94a3b8;
  font-weight: 400;
}
.rkab-progress-step.is-active .rkab-progress-duration {
  color: #2563eb;
}
.rkab-progress-step.is-failed .rkab-progress-duration {
  color: #dc2626;
}
.rkab-progress-desc {
  font-size: 0.6875rem;
  color: #64748b;
  margin-top: 0.4rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rkab-progress-step.is-active .rkab-progress-desc {
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  margin-top: 0.5rem;
}
.rkab-action-bar .btn {
  min-width: 0;
}
.rkab-eval-history-round > summary {
  cursor: pointer;
  list-style: none;
}
.rkab-eval-history-round > summary::-webkit-details-marker {
  display: none;
}
.rkab-eval-history-round > summary::before {
  content: '\25B6';
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.7rem;
  color: #64748b;
}
.rkab-eval-history-round[open] > summary::before {
  content: '\25BC';
}
@media (max-width: 992px) {
  .rkab-progress-step {
    flex: 0 0 130px;
    min-width: 130px;
  }
}

/* ===== Company RKAB Detail ===== */
.rkab-company-top {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}
.rkab-company-top-progress,
.rkab-company-top-summary {
  min-width: 0;
}
.rkab-company-top .edumin-card,
.rkab-company-top .rkab-eval-progress-ring-card,
.rkab-company-aspects-card,
.rkab-matrix-section {
  border: 1px solid #e8ecf3;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  border-radius: 14px;
}
.rkab-company-top-summary .rkab-eval-progress-ring-card {
  height: 100%;
}
.rkab-eval-ring-caption {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.rkab-company-top .rkab-eval-ring-fg {
  stroke: #4f46e5;
}
.rkab-status-banner {
  font-size: 0.84rem;
  border-radius: 10px !important;
  padding: 0.8rem 1rem;
}
.rkab-status-banner.alert-primary {
  background: #eef2ff !important;
  color: #3730a3;
}
.rkab-summary-rows {
  display: flex;
  flex-direction: column;
}
.rkab-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.85rem;
  align-items: center;
}
.rkab-summary-row:last-child {
  border-bottom: none;
}
.rkab-summary-row .label {
  color: #64748b;
  flex-shrink: 0;
}
.rkab-summary-row .value {
  color: #0f172a;
  text-align: right;
  font-weight: 500;
}

/* Aspek: stacked rows like mockup (not separate cards) */
.rkab-company-aspect-row {
  border-bottom: 1px solid #f1f5f9;
}
.rkab-company-aspect-row:last-child {
  border-bottom: none;
}
.rkab-company-aspect-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: none;
  background: none;
  padding: 0.75rem 0.15rem;
  text-align: left;
  cursor: pointer;
}
.rkab-company-aspect-toggle:hover {
  background: transparent;
}
.rkab-company-aspect-toggle .rkab-aspect-num {
  background: #eef2ff;
  color: #4f46e5;
}
.rkab-company-aspect-toggle .rkab-aspect-name {
  font-size: 0.88rem;
  font-weight: 500;
}
.rkab-company-aspect-toggle .rkab-aspect-badge.is-revision {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.rkab-company-aspect-toggle .rkab-aspect-badge.is-pending {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.rkab-company-aspect-toggle .rkab-aspect-badge.is-passed {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.rkab-company-aspect-detail {
  padding: 0 0.15rem 0.85rem 2.4rem;
}
.rkab-company-aspect-toggle.is-open .rkab-aspect-chevron {
  transform: rotate(180deg);
}
.rkab-eval-overall .progress {
  background: #eef2ff;
  border-radius: 999px;
}

/* Matrix: full-width stacked rows */
.rkab-matrix-cards {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rkab-matrix-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid #e8ecf3;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: #fff;
  transition: border-color 0.15s;
}
.rkab-matrix-card:hover {
  border-color: #c7d2fe;
}
.rkab-matrix-card.is-na {
  opacity: 0.72;
  background: #f8fafc;
}
.rkab-matrix-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.rkab-matrix-card.is-complete .rkab-matrix-card-icon {
  background: #eef2ff;
  color: #4f46e5;
}
.rkab-matrix-card.is-revision {
  border-color: #fdba74;
  background: #fff7ed;
}
.rkab-matrix-card.is-revision .rkab-matrix-card-icon {
  background: #ffedd5;
  color: #c2410c;
}
.rkab-matrix-card.is-revision-fixed {
  border-color: #86efac;
  background: #f0fdf4;
}
.rkab-matrix-card.is-revision-fixed .rkab-matrix-card-icon {
  background: #dcfce7;
  color: #047857;
}
.rkab-matrix-status.is-revision { color: #c2410c; }
.rkab-matrix-status.is-fixed { color: #047857; }
.rkab-matrix-list-item.is-revision {
  background: #fff7ed;
  border-left: 3px solid #f59e0b;
}
.rkab-matrix-list-item.is-revision-fixed {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
}
.rkab-matrix-card-body {
  flex: 1;
  min-width: 0;
}
.rkab-matrix-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.2rem;
}
.rkab-matrix-card-meta {
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.rkab-matrix-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
}
.rkab-matrix-status.is-ok { color: #059669; }
.rkab-matrix-status.is-warn { color: #d97706; }
.rkab-matrix-card-btn {
  flex-shrink: 0;
  border-radius: 8px;
  font-weight: 500;
}

/* Compact progress (company detail) */
.rkab-progress-card.is-compact .rkab-progress-node {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}
.rkab-progress-card.is-compact .rkab-progress-meta {
  min-height: 72px;
}
.rkab-progress-card.is-compact .rkab-progress-badge {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.6rem;
}
.rkab-progress-card.is-compact .rkab-progress-title {
  font-size: 0.8rem;
  min-height: auto;
}
.rkab-progress-card.is-compact .rkab-progress-desc {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.rkab-progress-card.is-compact .rkab-progress-duration {
  font-size: 0.68rem;
}

@media (max-width: 992px) {
  .rkab-company-top {
    grid-template-columns: 1fr;
  }
}

/* ===== Evaluation Workspace (3-col UX) ===== */
.rkab-eval-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: stretch;
}
.rkab-eval-top-tracker .rkab-progress-card {
  margin-bottom: 0;
  height: 100%;
}
.rkab-eval-progress-ring-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
.rkab-eval-ring-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
}
.rkab-eval-ring-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.rkab-eval-ring {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.rkab-eval-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.rkab-eval-ring-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 3.2;
}
.rkab-eval-ring-fg {
  fill: none;
  stroke: #4f46e5;
  stroke-width: 3.2;
  stroke-linecap: round;
  transition: stroke-dasharray 0.4s ease;
}
.rkab-eval-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
}
.rkab-eval-ring-text strong {
  font-size: 1.1rem;
  color: #1e293b;
}
.rkab-eval-ring-text span {
  font-size: 0.68rem;
  color: #64748b;
}
.rkab-eval-ring-legend {
  flex: 1;
  font-size: 0.72rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.rkab-eval-ring-legend .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.rkab-eval-ring-legend .dot.is-passed { background: #22c55e; }
.rkab-eval-ring-legend .dot.is-pending { background: #f59e0b; }
.rkab-eval-ring-legend .dot.is-failed { background: #ef4444; }
.rkab-eval-ring-legend .dot.is-revision { background: #6366f1; }

.rkab-eval-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 1rem;
  align-items: start;
}
.rkab-eval-workspace.has-preview {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr) minmax(300px, 0.9fr);
}
.rkab-eval-col-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
}
.rkab-eval-col-head {
  padding: 0.9rem 1rem 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}
.rkab-eval-col-head h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}
.rkab-matrix-switch {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  overflow-x: auto;
  border-bottom: 1px solid #f1f5f9;
}
.rkab-matrix-switch-btn {
  flex: 1 1 0;
  min-width: 120px;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.rkab-matrix-switch-btn:hover {
  border-color: #93c5fd;
  background: #fff;
}
.rkab-matrix-switch-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 1px #2563eb inset;
}
.rkab-matrix-switch-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.1rem;
}
.rkab-matrix-switch-title {
  display: block;
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.25;
}
.rkab-matrix-switch-status {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  font-size: 0.75rem;
}
.rkab-eval-matrix-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
}
.rkab-preview-heading {
  font-size: 0.9rem;
  color: #1e293b;
}
.rkab-preview-subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  margin: 0.75rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
}
.rkab-preview-field {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  height: 100%;
}
.rkab-preview-field .label {
  display: block;
  font-size: 0.66rem;
  color: #64748b;
  margin-bottom: 0.1rem;
}
.rkab-preview-field .value {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
  word-break: break-word;
}
.rkab-preview-table {
  font-size: 0.75rem;
}
.rkab-preview-table th {
  background: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
}

/* Matrix item cards (komitmen) */
.rkab-matrix-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  overflow: hidden;
  background: #fff;
}
.rkab-matrix-item-head {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 0.85rem 0.35rem;
}
.rkab-matrix-item-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: none;
  background: none;
  padding: 0.7rem 0.85rem;
  text-align: left;
  cursor: pointer;
}
.rkab-matrix-item-toggle:hover {
  background: #f8fafc;
}
.rkab-matrix-item-code {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.rkab-matrix-item-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}
.rkab-badge-ready {
  background: #ecfdf5 !important;
  color: #059669 !important;
  font-weight: 600;
  font-size: 0.68rem;
  flex-shrink: 0;
}
.rkab-matrix-item-body {
  padding: 0.35rem 0.85rem 0.85rem;
}

/* Document row */
.rkab-doc-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  background: #f8fafc;
}
.rkab-doc-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rkab-doc-row-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
}
.rkab-doc-row-sub {
  font-size: 0.68rem;
  color: #94a3b8;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.rkab-doc-row-actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}
.rkab-doc-row-actions .btn {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

/* Aspek panel */
.rkab-eval-aspect-panel {
  max-height: calc(100vh - 2rem);
}
.rkab-eval-aspects {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.rkab-eval-aspect-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.rkab-eval-aspect-toggle {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}
.rkab-eval-aspect-toggle:hover {
  background: #f8fafc;
}
.rkab-aspect-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.rkab-aspect-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
}
.rkab-aspect-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}
.rkab-aspect-badge.is-passed { background: #ecfdf5; color: #059669; }
.rkab-aspect-badge.is-pending { background: #fff7ed; color: #c2410c; }
.rkab-aspect-badge.is-revision { background: #eef2ff; color: #4f46e5; }
.rkab-aspect-badge.is-failed { background: #fef2f2; color: #dc2626; }
.rkab-aspect-chevron {
  font-size: 0.7rem;
  color: #94a3b8;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.rkab-eval-aspect-body {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid #f1f5f9;
}
.rkab-eval-ref-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.rkab-eval-ref-tabs .btn {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
}
.rkab-eval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid #f1f5f9;
  background: #f8fafc;
}
.rkab-eval-actions .btn {
  flex: 1 1 auto;
  min-width: 120px;
}

/* Document preview panel */
.rkab-doc-preview-panel {
  max-height: calc(100vh - 2rem);
}
.rkab-doc-preview-fileicon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rkab-doc-preview-frame-wrap {
  position: relative;
  flex: 1;
  min-height: 280px;
  background: #f1f5f9;
}
.rkab-doc-preview-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: none;
  display: none;
  background: #fff;
}
.rkab-doc-preview-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.rkab-doc-preview-footer {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid #f1f5f9;
}
.rkab-doc-preview-info {
  font-size: 0.72rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Status Timeline */
.rkab-status-timeline {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem 1.25rem;
}
.rkab-status-timeline-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 1rem;
}
.rkab-timeline {
  display: flex;
  flex-direction: column;
}
.rkab-tl-item {
  display: flex;
  gap: 0.85rem;
  position: relative;
}
.rkab-tl-item:not(.is-last) {
  padding-bottom: 1rem;
}
.rkab-tl-item:not(.is-last)::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.rkab-tl-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--tl-color, #94a3b8) 12%, #fff);
  color: var(--tl-color, #94a3b8);
  border: 2px solid color-mix(in srgb, var(--tl-color, #94a3b8) 30%, #fff);
  position: relative;
  z-index: 1;
}
.rkab-tl-body {
  flex: 1;
  min-width: 0;
  padding-top: 0.25rem;
}
.rkab-tl-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.3;
}
.rkab-tl-meta {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}
.rkab-eval-aspect-toggle.is-open .rkab-aspect-chevron {
  transform: rotate(180deg);
}
.rkab-tl-dot { opacity: 0.6; }
.rkab-tl-notes {
  margin-top: 0.35rem;
  font-size: 0.76rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  white-space: pre-wrap;
  line-height: 1.5;
}

/* Horizontal status timeline */
.rkab-status-timeline-horizontal {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 14px;
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.rkab-status-timeline-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}
.rkab-tl-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.5rem;
}
.rkab-tl-h-item {
  position: relative;
  flex: 1 1 0;
  min-width: 130px;
  text-align: center;
  padding: 0 0.45rem;
}
.rkab-tl-h-line {
  position: absolute;
  top: 16px;
  right: calc(50% + 18px);
  left: calc(-50% + 18px);
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}
.rkab-tl-h-item.is-current .rkab-tl-h-line {
  background: color-mix(in srgb, var(--tl-color, #4f46e5) 45%, #e2e8f0);
}
.rkab-tl-h-node {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: color-mix(in srgb, var(--tl-color, #94a3b8) 12%, #fff);
  color: var(--tl-color, #94a3b8);
  border: 2px solid color-mix(in srgb, var(--tl-color, #94a3b8) 35%, #fff);
}
.rkab-tl-h-item.is-current .rkab-tl-h-node {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
  box-shadow: 0 0 0 5px color-mix(in srgb, #4f46e5 15%, transparent);
}
.rkab-tl-h-date {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.rkab-tl-h-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.rkab-tl-h-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0.2rem 0 0.15rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rkab-tl-h-actor {
  font-size: 0.65rem;
  color: #94a3b8;
  line-height: 1.3;
}
.rkab-tl-h-item.is-current .rkab-tl-h-label {
  color: #4f46e5;
}

@media (max-width: 1199px) {
  .rkab-eval-top {
    grid-template-columns: 1fr;
  }
  .rkab-eval-workspace,
  .rkab-eval-workspace.has-preview {
    grid-template-columns: 1fr;
  }
  .rkab-eval-col-panel,
  .rkab-eval-aspect-panel,
  .rkab-doc-preview-panel {
    max-height: none;
  }
  .rkab-eval-matrix-content {
    max-height: 50vh;
  }
  .rkab-doc-preview-frame-wrap iframe {
    min-height: 50vh;
  }
}
@media (max-width: 768px) {
  .rkab-doc-row {
    flex-wrap: wrap;
  }
  .rkab-doc-row-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* =============================================================
   PROFIL PERUSAHAAN â Hero Card
   ============================================================= */
.profile-hero-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}
.profile-hero-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #3d5afe;
  flex-shrink: 0;
}
.profile-hero-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1d2e;
}
.profile-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.profile-hero-badge {
  font-size: 11px;
  font-weight: 600;
  background: #e8f4fd;
  color: #0d6efd;
  border-radius: 20px;
  padding: 2px 10px;
}
.profile-hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.profile-hero-stat {
  padding: 4px 24px;
  text-align: center;
  min-width: 110px;
}
.profile-hero-stat-label {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 2px;
}
.profile-hero-stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #1a1d2e;
  line-height: 1.1;
}
.profile-hero-stat-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.profile-hero-stat-divider {
  width: 1px;
  height: 40px;
  background: #e8ebf2;
}
.profile-hero-progress {
  height: 4px;
  border-radius: 2px;
}

/* =============================================================
   PROFIL PERUSAHAAN â Kesiapan Pengajuan RKAB
   ============================================================= */
.readiness-ring-label {
  font-size: 28px;
  font-weight: 700;
  color: #1a1d2e;
}
.readiness-ring-sub {
  font-size: 12px;
  color: #6b7280;
}
.readiness-progress {
  height: 6px;
  border-radius: 3px;
}
.readiness-checklist {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}
.readiness-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px solid #f3f4f6;
}
.readiness-checklist li:last-child { border-bottom: none; }
.readiness-checklist li.done i { color: #22c55e; }
.readiness-checklist li.warn i  { color: #f59e0b; }
.readiness-checklist li.info i  { color: #6b7280; }

/* =============================================================
   PROFIL PERUSAHAAN â Ringkasan Legalitas (stat boxes)
   ============================================================= */
.summary-stat-box {
  background: #f8f9fc;
  border: 1px solid #e8ebf2;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.summary-stat-box.success { background: #f0fdf4; border-color: #bbf7d0; }
.summary-stat-box.warn    { background: #fffbeb; border-color: #fde68a; }
.summary-stat-val {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}
.summary-stat-lbl {
  font-size: 12px;
  color: #374151;
  font-weight: 500;
  margin-top: 2px;
}
.summary-stat-sub { font-size: 11px; margin-top: 1px; }

/* =============================================================
   RKAB KEGIATAN â sub-row indentation
   ============================================================= */
.kegiatan-sub-input { padding-left: 1.75rem; font-size: 0.92em; }
.kegiatan-sub-row td:first-child { border-left: 3px solid #dee2e6; }

/* =============================================================
   FORM IUP â Question card & stage badge
   ============================================================= */
.iup-question-card {
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  padding: 16px;
  background: #fafbfe;
}
.iup-question-text {
  font-size: 14px;
  color: #1a1d2e;
  margin-bottom: 12px;
  line-height: 1.5;
}
.iup-yesno-group .btn { min-width: 72px; }
.iup-question-fields {
  padding-top: 12px;
  border-top: 1px dashed #dde2ee;
}
.stage-badge {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.stage-badge.eksplorasi { background: #e8f4fd; color: #0d6efd; }
.stage-badge.op         { background: #e8f8ef; color: #198754; }
#totalLuasDisplay {
  background: #f0f7ff;
  border: 1px solid #c8dff7;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  color: #0d6efd;
}

.iup-ktt-file-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  min-height: 44px;
}

.iup-ktt-file-chip > i {
  color: #dc2626;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.iup-ktt-file-chip .name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e2746;
}

.iup-ktt-file-chip .size {
  font-size: 0.72rem;
  color: #9ca3af;
}

/* =============================================================
   LAPORAN TRIWULAN â matrix comparison tabs
   ============================================================= */
.triwulan-matrix-tabs .nav-link {
  font-size: 13px;
  color: #4b5563;
  background: #f3f4f8;
  border-radius: 8px;
  padding: 8px 12px;
}
.triwulan-matrix-tabs .nav-link.active {
  background: #452b90;
  color: #fff;
}
.triwulan-matrix-table {
  font-size: 12.5px;
}
.triwulan-matrix-table th {
  white-space: nowrap;
  vertical-align: middle;
}
.triwulan-matrix-table .form-control-sm {
  min-width: 78px;
  padding: 4px 6px;
}

/* Form action bars â keep buttons on one aligned row (kanan) */
.edumin-form-actions,
.rkab-matrix-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8ebf2;
    margin-top: 0.75rem;
}

.edumin-form-actions .btn,
.rkab-matrix-actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .edumin-form-actions,
    .rkab-matrix-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .edumin-form-actions .btn,
    .rkab-matrix-actions .btn {
        width: 100%;
    }
}

/* =============================================================
   FLOATING TOAST NOTIFICATIONS
   ============================================================= */
.edumin-toast-stack {
    position: fixed;
    top: calc(var(--edumin-header-height) + 16px);
    right: 20px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.edumin-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8ebf2;
    box-shadow: 0 12px 32px rgba(30, 39, 70, 0.14);
    animation: eduminToastIn 0.28s ease-out;
}

.edumin-toast.is-hiding {
    animation: eduminToastOut 0.25s ease-in forwards;
}

.edumin-toast-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.edumin-toast-body {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.edumin-toast-message {
    font-size: 13px;
    font-weight: 500;
    color: #1a1d2e;
    line-height: 1.45;
}

.edumin-toast-list {
    margin: 8px 0 0;
    padding-left: 1.1rem;
    font-size: 12.5px;
    color: #4b5168;
}

.edumin-toast-close {
    border: 0;
    background: transparent;
    color: #9aa1b5;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.edumin-toast-close:hover {
    background: #f3f4f8;
    color: #3d4465;
}

.edumin-toast-success {
    border-color: #ccebd8;
}

.edumin-toast-success .edumin-toast-icon {
    background: #ecfdf3;
    color: #16a34a;
}

.edumin-toast-info {
    border-color: #cfe0ff;
}

.edumin-toast-info .edumin-toast-icon {
    background: #eff6ff;
    color: #2563eb;
}

.edumin-toast-warning {
    border-color: #fde68a;
}

.edumin-toast-warning .edumin-toast-icon {
    background: #fffbeb;
    color: #d97706;
}

.edumin-toast-danger {
    border-color: #fecaca;
}

.edumin-toast-danger .edumin-toast-icon {
    background: #fef2f2;
    color: #dc2626;
}

@keyframes eduminToastIn {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

@keyframes eduminToastOut {
    from {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px) translateX(12px);
    }
}

@media (max-width: 991.98px) {
    .edumin-toast-stack {
        top: 16px;
        right: 12px;
        left: 12px;
        width: auto;
    }
}

/* Confirm modal (pengganti window.confirm) */
.edumin-confirm-modal .modal-body {
    text-align: center;
    padding-top: 0.25rem;
}
.edumin-confirm-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 1.6rem;
}
.edumin-confirm-icon.is-danger {
    background: #fef2f2;
    color: #dc2626;
}
.edumin-confirm-message {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-wrap;
}
.edumin-confirm-modal .modal-footer {
    justify-content: center;
    gap: 0.5rem;
}

/* ===== Company Dashboard ===== */
.cdash-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem 1.75rem 1.75rem 2rem;
    box-shadow: 0 8px 24px rgba(30, 39, 70, 0.06);
    overflow: hidden;
    min-height: 260px;
}

.cdash-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 88% 50%, rgba(69, 43, 144, 0.08), transparent 70%),
        linear-gradient(90deg, #fff 42%, rgba(255,255,255,0.72) 68%, rgba(243,240,255,0.55) 100%);
    pointer-events: none;
}

.cdash-hero-content,
.cdash-hero-visual {
    position: relative;
    z-index: 1;
}

.cdash-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e2746;
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.cdash-hero-desc {
    color: #6b7280;
    max-width: 36rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.cdash-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    margin-bottom: 1.35rem;
}

.cdash-hero-stat {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.cdash-hero-stat strong {
    display: block;
    font-size: 1.15rem;
    color: #1e2746;
    line-height: 1.1;
}

.cdash-hero-stat > div > span {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
}

.cdash-hero-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

.cdash-hero-stat-icon i {
    display: block;
    line-height: 1;
    font-size: inherit;
}

.cdash-hero-stat-icon.purple { background: linear-gradient(135deg, #452b90, #6b4fbb); }
.cdash-hero-stat-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.cdash-hero-stat-icon.orange { background: linear-gradient(135deg, #f7931a, #ffb347); }

.cdash-hero-cta {
    padding-inline: 1.15rem;
}

.cdash-hero-visual {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cdash-ring-wrap,
.cdash-readiness-ring {
    position: relative;
    width: 148px;
    height: 148px;
}

.cdash-ring-wrap {
    margin-left: auto;
    margin-right: 1rem;
    background: rgba(255,255,255,0.88);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(69, 43, 144, 0.12);
}

.cdash-ring,
.cdash-readiness-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.cdash-ring-track {
    fill: none;
    stroke: #ece8f7;
    stroke-width: 10;
}

.cdash-ring-value {
    fill: none;
    stroke: #452b90;
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}

.cdash-ring-value.success {
    stroke: #10b981;
}

.cdash-ring-label,
.cdash-readiness-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem;
}

.cdash-ring-label strong,
.cdash-readiness-label strong {
    font-size: 1.65rem;
    color: #1e2746;
    line-height: 1;
}

.cdash-ring-label span {
    margin-top: 0.35rem;
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.25;
}

.cdash-readiness-label span {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.cdash-panel .edumin-card-header {
    align-items: center;
}

.cdash-panel-footer {
    padding: 0.85rem 1.25rem 1.15rem;
    border-top: 1px solid #eef0f5;
}

.cdash-panel-footer a {
    color: var(--edumin-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}

.cdash-panel-footer a:hover {
    text-decoration: underline;
}

.cdash-action-list {
    list-style: none;
    margin: 0;
    padding: 0.25rem 0;
}

.cdash-action-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f1f3f8;
    transition: background 0.15s ease;
}

.cdash-action-item:hover {
    background: #f8f7fc;
}

.cdash-action-text {
    flex: 1;
    font-size: 0.92rem;
    color: #374151;
}

.cdash-action-text strong {
    color: #1e2746;
}

.cdash-action-dot {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.cdash-action-dot.warning { background: #f7931a; }
.cdash-action-dot.info { background: #3b82f6; }
.cdash-action-dot.success { background: #10b981; }

.cdash-period-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f3f8;
}

.cdash-period-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cdash-period-title {
    font-weight: 700;
    color: #1e2746;
}

.cdash-period-sub {
    font-size: 0.8rem;
    color: #6b7280;
}

.cdash-period-deadline {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #3b82f6;
    font-weight: 600;
}

.cdash-readiness {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 1rem;
    align-items: center;
}

.cdash-readiness-ring {
    width: 132px;
    height: 132px;
}

.cdash-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.cdash-checklist li {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}

.cdash-checklist li em {
    font-style: normal;
    font-size: 0.75rem;
    color: #6b7280;
}

.cdash-checklist li.is-done i { color: #10b981; }
.cdash-checklist li.is-warn i { color: #f7931a; }

.cdash-app-link {
    color: var(--edumin-primary);
    font-weight: 600;
    text-decoration: none;
}

.cdash-app-link:hover {
    text-decoration: underline;
}

.cdash-table td,
.cdash-table th {
    vertical-align: middle;
}

.cdash-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.cdash-timeline li {
    display: flex;
    gap: 0.85rem;
}

.cdash-timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.cdash-timeline-icon.success { background: #10b981; }
.cdash-timeline-icon.warning { background: #f7931a; }
.cdash-timeline-icon.info { background: #3b82f6; }

.cdash-timeline-title {
    font-weight: 700;
    color: #1e2746;
    font-size: 0.92rem;
}

.cdash-timeline-desc {
    color: #6b7280;
    font-size: 0.82rem;
    margin-top: 0.1rem;
}

.cdash-timeline-time {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.cdash-year-form .form-select {
    width: auto;
    min-width: 120px;
    border-radius: 8px;
}

.cdash-chart-title {
    font-weight: 700;
    color: #1e2746;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
}

.cdash-bar-row {
    display: grid;
    grid-template-columns: 140px 1fr 28px;
    gap: 0.65rem;
    align-items: center;
    margin-bottom: 0.65rem;
    font-size: 0.82rem;
}

.cdash-bar-row span {
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cdash-bar-track {
    height: 10px;
    background: #eef0f5;
    border-radius: 999px;
    overflow: hidden;
}

.cdash-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6b4fbb, #452b90);
}

@media (max-width: 991.98px) {
    .cdash-hero {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .cdash-hero-visual {
        min-height: 180px;
        order: -1;
    }

    .cdash-ring-wrap {
        margin: 0 auto;
    }

    .cdash-readiness {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: left;
    }

    .cdash-checklist {
        width: 100%;
    }

    .cdash-bar-row {
        grid-template-columns: 110px 1fr 24px;
    }
}

/* ===== RKAB List (card UI) ===== */
.rkab-list-toolbar {
    margin-bottom: 1rem;
}

.rkab-list-toolbar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.rkab-search {
    position: relative;
    flex: 1 1 320px;
    min-width: 220px;
}

.rkab-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.rkab-search .form-control {
    padding-left: 2.35rem;
    height: 44px;
    border-radius: 12px;
    border-color: #e5e7eb;
    background: #fff;
    box-shadow: 0 1px 2px rgba(30, 39, 70, 0.04);
}

.rkab-search .form-control:focus {
    border-color: var(--edumin-primary);
    box-shadow: 0 0 0 3px rgba(69, 43, 144, 0.12);
}

.rkab-filter-btn,
.rkab-create-btn {
    height: 44px;
    white-space: nowrap;
}

.rkab-filter-btn.is-active {
    border-color: var(--edumin-primary);
    color: var(--edumin-primary);
}

.rkab-filter-menu {
    width: 260px;
}

.rkab-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.15rem;
}

.rkab-status-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.800rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.rkab-status-tab.tone-draft {
    background: #f3f4f6;
    color: #4b5563;
}

.rkab-status-tab.tone-info {
    background: #eff6ff;
    color: #2563eb;
}

.rkab-status-tab.tone-warning {
    background: #fff7ed;
    color: #c2410c;
}

.rkab-status-tab.tone-success {
    background: #ecfdf5;
    color: #059669;
}

.rkab-status-tab.tone-danger {
    background: #fef2f2;
    color: #dc2626;
}

.rkab-status-tab.tone-primary {
    background: #f3f0fa;
    color: var(--edumin-primary);
}

.rkab-status-tab.active,
.rkab-status-tab.tone-primary.active {
    background: var(--edumin-primary);
    color: #fff;
    border-color: var(--edumin-primary);
}

.rkab-status-tab:hover:not(.active) {
    filter: brightness(0.97);
}

.rkab-card-list {
    display: grid;
    gap: 0.85rem;
}

.rkab-item {
    display: grid;
    grid-template-columns: minmax(240px, 1.35fr) minmax(200px, 1fr) minmax(180px, 0.9fr) auto;
    gap: 1rem 1.25rem;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 6px 18px rgba(30, 39, 70, 0.05);
    border: 1px solid #eef0f5;
    border-left-width: 4px;
    position: relative;
}

.rkab-item.tone-warning { border-left-color: #f7931a; }
.rkab-item.tone-success { border-left-color: #10b981; }
.rkab-item.tone-info { border-left-color: #3b82f6; }
.rkab-item.tone-danger { border-left-color: #ef4444; }
.rkab-item.tone-draft { border-left-color: #9ca3af; }

.rkab-item-main {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    min-width: 0;
}

.rkab-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1;
}

.rkab-item-icon i {
    display: block;
    line-height: 1;
}

.rkab-item.tone-warning .rkab-item-icon { background: #f7931a; }
.rkab-item.tone-success .rkab-item-icon { background: #10b981; }
.rkab-item.tone-info .rkab-item-icon { background: #3b82f6; }
.rkab-item.tone-danger .rkab-item-icon { background: #ef4444; }
.rkab-item.tone-draft .rkab-item-icon { background: #9ca3af; }

.rkab-item-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.rkab-item-number {
    font-weight: 600;
    color: #1e2746;
    text-decoration: none;
    font-size: 0.85rem;
}

.rkab-item-number:hover {
    color: var(--edumin-primary);
}

.rkab-item-company {
    color: #6b7280;
    font-size: 0.80rem;
    margin-bottom: 0.4rem;
}

.rkab-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    color: #6b7280;
    font-size: 0.8rem;
}

.rkab-item-meta i {
    margin-right: 0.15rem;
}

.rkab-item-meta .dot {
    color: #d1d5db;
}

.rkab-item-progress-head {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.45rem;
}

.rkab-item-progress-head i {
    color: #9ca3af;
    font-size: 0.85rem;
}

.rkab-item-progress-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.rkab-item-progress-track {
    flex: 1;
    height: 8px;
    background: #eef0f5;
    border-radius: 999px;
    overflow: hidden;
}

.rkab-item-progress-fill {
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.rkab-item.tone-warning .rkab-item-progress-fill { background: #f7931a; }
.rkab-item.tone-success .rkab-item-progress-fill { background: #10b981; }
.rkab-item.tone-info .rkab-item-progress-fill { background: #3b82f6; }
.rkab-item.tone-danger .rkab-item-progress-fill { background: #ef4444; }
.rkab-item.tone-draft .rkab-item-progress-fill { background: #9ca3af; }

.rkab-item-progress-count {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}

.rkab-item-updated {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.rkab-item-detail-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #1e2746;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.rkab-item.tone-warning .rkab-item-detail-title { color: #c2410c; }
.rkab-item.tone-success .rkab-item-detail-title { color: #059669; }
.rkab-item.tone-info .rkab-item-detail-title { color: #2563eb; }
.rkab-item.tone-danger .rkab-item-detail-title { color: #dc2626; }

.rkab-item-detail-sub {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.4;
}

.rkab-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
}

.rkab-item-cta {
    white-space: nowrap;
    border-color: #d6d9e4;
    color: #1e2746;
    font-weight: 600;
}

.rkab-item-cta:hover {
    border-color: var(--edumin-primary);
    color: var(--edumin-primary);
}

.rkab-item-more {
    width: 40px;
    padding-inline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rkab-empty {
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 3rem 1.5rem;
    color: #6b7280;
    border: 1px dashed #e5e7eb;
}

.rkab-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
    color: #9ca3af;
}

.rkab-list-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1.15rem;
}

.rkab-list-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

.rkab-list-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.rkab-per-page .form-select {
    width: auto;
    min-width: 140px;
    border-radius: 8px;
}

.rkab-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.rkab-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
}

.rkab-page-btn.is-active {
    background: var(--edumin-primary);
    border-color: var(--edumin-primary);
    color: #fff;
}

.rkab-page-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.rkab-page-btn:hover:not(.is-active):not(.is-disabled) {
    border-color: var(--edumin-primary);
    color: var(--edumin-primary);
}

@media (max-width: 1199.98px) {
    .rkab-item {
        grid-template-columns: 1fr 1fr;
    }

    .rkab-item-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .rkab-item {
        grid-template-columns: 1fr;
    }

    .rkab-create-btn,
    .rkab-filter-btn {
        width: 100%;
    }

    .rkab-list-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .rkab-list-pager {
        justify-content: space-between;
    }
}

/* ===== Approval / Persetujuan list ===== */
.approval-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approval-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.approval-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 18px rgba(30, 39, 70, 0.04);
}

.approval-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.approval-stat.tone-warning .approval-stat-icon {
    background: #fff7ed;
    color: #f7931a;
}

.approval-stat.tone-success .approval-stat-icon {
    background: #ecfdf5;
    color: #10b981;
}

.approval-stat.tone-info .approval-stat-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.approval-stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e2746;
    line-height: 1.2;
}

.approval-stat-value span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
}

.approval-stat-sub {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 0.15rem;
}

.approval-tabs-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.approval-tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.4rem;
    display: inline-block;
}

.approval-tab-dot.tone-warning { background: #f7931a; }
.approval-tab-dot.tone-success { background: #10b981; }
.approval-tab-dot.tone-danger { background: #ef4444; }

.approval-sort-btn {
    height: 36px;
    white-space: nowrap;
}

.approval-item {
    display: grid;
    grid-template-columns: minmax(240px, 1.45fr) minmax(140px, 0.7fr) minmax(120px, 0.55fr) minmax(170px, 0.95fr) auto;
    gap: 1rem 1.1rem;
    align-items: center;
    background: #fff;
    border-radius: 14px;
    padding: 1.05rem 1.15rem;
    box-shadow: 0 6px 18px rgba(30, 39, 70, 0.05);
    border: 1px solid #eef0f5;
    border-left-width: 4px;
}

.approval-item.tone-warning { border-left-color: #f7931a; }
.approval-item.tone-info { border-left-color: #3b82f6; }
.approval-item.tone-success { border-left-color: #10b981; }
.approval-item.tone-danger { border-left-color: #ef4444; }
.approval-item.tone-draft { border-left-color: #9ca3af; }

.approval-item-main {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    min-width: 0;
}

.approval-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.approval-item.tone-warning .approval-item-icon { background: #f7931a; }
.approval-item.tone-info .approval-item-icon { background: #3b82f6; }
.approval-item.tone-success .approval-item-icon { background: #10b981; }
.approval-item.tone-danger .approval-item-icon { background: #ef4444; }
.approval-item.tone-draft .approval-item-icon { background: #9ca3af; }

.approval-item-company {
    font-weight: 700;
    color: #1e2746;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.15rem;
}

.approval-item-subtitle {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 0.45rem;
}

.approval-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.approval-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.72rem;
    font-weight: 500;
}

.approval-item-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.approval-item-letter-no {
    font-weight: 600;
    color: #1e2746;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.approval-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--edumin-primary);
    text-decoration: none;
}

.approval-preview-link:hover {
    text-decoration: underline;
}

.approval-preview-muted {
    font-size: 0.78rem;
    color: #9ca3af;
}

.approval-item-created-value {
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 500;
}

.approval-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.approval-status-badge.tone-warning { color: #c2410c; }
.approval-status-badge.tone-info { color: #2563eb; }
.approval-status-badge.tone-success { color: #059669; }
.approval-status-badge.tone-danger { color: #dc2626; }
.approval-status-badge.tone-draft { color: #6b7280; }

.approval-status-sub {
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.4;
    max-width: 220px;
}

.approval-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.approval-cta,
.approval-cta-outline,
.approval-more {
    height: 36px;
    white-space: nowrap;
}

.approval-more {
    width: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .approval-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .approval-item {
        grid-template-columns: 1fr 1fr;
    }

    .approval-item-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .approval-stats {
        grid-template-columns: 1fr;
    }

    .approval-item {
        grid-template-columns: 1fr;
    }

    .approval-tabs-row {
        flex-direction: column;
        align-items: stretch;
    }

    .approval-sort-btn {
        width: 100%;
    }
}

.approval-confirm-box {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f7fc;
    border: 1px solid #ebe7f5;
}

.approval-confirm-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--edumin-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.approval-pdf-frame-wrap {
    height: min(75vh, 820px);
    background: #eef0f5;
    border-top: 1px solid #eef0f5;
}

.eval-pdf-frame-wrap {
    height: min(78vh, 860px);
}

.approval-pdf-frame-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.approval-pdf-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem !important;
}

.approval-pdf-header-text {
    min-width: 0;
    flex: 1 1 auto;
}

.approval-pdf-header-text .modal-title {
    color: #1e2746;
    font-size: 1.05rem;
    line-height: 1.3;
    word-break: break-word;
}

.approval-pdf-header-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.approval-pdf-header-actions .btn-close {
    margin: 0;
    padding: 0.45rem;
}

.approval-app-modal .modal-header {
    padding: 1.15rem 1.25rem 0.75rem;
}

.approval-app-modal .modal-footer {
    padding: 0.75rem 1.25rem 1.15rem;
}

@media (max-width: 575.98px) {
    .approval-pdf-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .approval-pdf-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}




/* ===== Admin / Superadmin Dashboard ===== */
.adash-kpi-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.adash-kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: 0 4px 18px rgba(30, 39, 70, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 98px;
}

.adash-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.adash-kpi-icon.purple { background: linear-gradient(135deg, #452b90, #6b4fbb); }
.adash-kpi-icon.orange { background: linear-gradient(135deg, #f7931a, #ffb347); }
.adash-kpi-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.adash-kpi-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.adash-kpi-icon.yellow { background: linear-gradient(135deg, #eab308, #facc15); color: #1e2746; }

.adash-kpi-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1e2746;
    line-height: 1.1;
}

.adash-kpi-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2px;
}

.adash-kpi-sub {
    font-size: 0.72rem;
    color: #9ca3af;
}

.adash-panel .edumin-card-header h5 {
    margin: 0;
    font-size: 0.98rem;
}

.adash-action-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adash-action-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f3f8;
}

.adash-action-list li:last-child .adash-action-item {
    border-bottom: 0;
}

.adash-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.adash-action-icon.success { background: #10b981; }
.adash-action-icon.info { background: #3b82f6; }
.adash-action-icon.warning { background: #f7931a; }

.adash-action-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.adash-action-text strong {
    font-size: 0.92rem;
    color: #1e2746;
}

.adash-action-text span {
    font-size: 0.78rem;
    color: #6b7280;
}

.adash-action-count {
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #f3f0fb;
    color: #452b90;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.adash-period-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.adash-period-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e2746;
}

.adash-period-hint {
    font-size: 0.8rem;
    color: #6b7280;
}

.adash-period-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.adash-period-date-label {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-bottom: 0.2rem;
}

.adash-period-dates strong {
    font-size: 0.9rem;
    color: #1e2746;
}

.adash-app-list,
.adash-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.adash-app-item,
.adash-notif-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid #f1f3f8;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.adash-app-item:hover,
.adash-notif-item:hover {
    background: #f8f7fc;
}

.adash-app-list li:last-child .adash-app-item,
.adash-notif-list li:last-child .adash-notif-item {
    border-bottom: 0;
}

.adash-app-icon,
.adash-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f3f0fb;
    color: #452b90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adash-app-main,
.adash-notif-item > div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.adash-app-main strong,
.adash-notif-item strong {
    font-size: 0.9rem;
    color: #1e2746;
}

.adash-app-main span,
.adash-notif-item span {
    font-size: 0.8rem;
    color: #6b7280;
}

.adash-app-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    flex-shrink: 0;
}

.adash-app-meta small,
.adash-notif-item small {
    font-size: 0.72rem;
    color: #9ca3af;
}

.adash-empty {
    padding: 1.5rem 1.25rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.adash-summary-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.adash-summary-kpi {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f8f9fc;
}

.adash-summary-kpi strong {
    display: block;
    font-size: 1.2rem;
    color: #1e2746;
    line-height: 1.1;
}

.adash-summary-kpi span {
    font-size: 0.72rem;
    color: #6b7280;
}

.adash-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.adash-summary-icon.purple { background: #452b90; }
.adash-summary-icon.blue { background: #3b82f6; }

.adash-chart-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.65rem;
}

.adash-donut-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.adash-donut {
    --eks: 75;
    --op: 25;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: conic-gradient(
        #3b82f6 0 calc(var(--eks) * 1%),
        #1e3a8a calc(var(--eks) * 1%) 100%
    );
    mask: radial-gradient(circle at center, transparent 48%, #000 49%);
    -webkit-mask: radial-gradient(circle at center, transparent 48%, #000 49%);
    flex-shrink: 0;
}

.adash-donut-legend {
    font-size: 0.8rem;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.adash-donut-legend .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.adash-donut-legend .dot.eks { background: #3b82f6; }
.adash-donut-legend .dot.op { background: #1e3a8a; }

.adash-bar-row { margin-bottom: 0.7rem; }

.adash-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #4b5563;
    margin-bottom: 0.25rem;
}

.adash-bar-track {
    height: 8px;
    border-radius: 999px;
    background: #eef0f5;
    overflow: hidden;
}

.adash-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #452b90, #6b4fbb);
}

.adash-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.35rem;
    border-left: 2px solid #eef0f5;
}

.adash-timeline li {
    position: relative;
    padding: 0 0 1rem 1rem;
}

.adash-timeline li:last-child { padding-bottom: 0; }

.adash-timeline-dot {
    position: absolute;
    left: -5px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}

.adash-timeline-dot.purple { background: #452b90; }
.adash-timeline-dot.success { background: #10b981; }
.adash-timeline-dot.warning { background: #f7931a; }
.adash-timeline-dot.info { background: #3b82f6; }

.adash-timeline strong {
    display: block;
    font-size: 0.88rem;
    color: #1e2746;
}

.adash-timeline span {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
}

.adash-timeline small {
    font-size: 0.72rem;
    color: #9ca3af;
}

@media (max-width: 1199.98px) {
    .adash-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .adash-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adash-period-dates,
    .adash-summary-kpis { grid-template-columns: 1fr; }
    .adash-action-item { flex-wrap: wrap; }
    .adash-app-item { align-items: flex-start; }
    .adash-app-meta { align-items: flex-start; }
}

.adash-notif-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

/* =============================================================
   EVALUASI RKAB  Index (Evaluator / Superadmin)
   ============================================================= */
.eeval-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
}
.eeval-kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 14px;
    box-shadow: 0 4px 18px rgba(30, 39, 70, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.eeval-kpi-card:hover {
    border-color: #d9d4f0;
    box-shadow: 0 8px 22px rgba(69, 43, 144, 0.08);
    transform: translateY(-1px);
}
.eeval-kpi-card.is-active {
    border-color: #452b90;
    box-shadow: 0 8px 22px rgba(69, 43, 144, 0.12);
}
.eeval-kpi-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.eeval-kpi-icon.purple { background: linear-gradient(135deg, #452b90, #6b4fbb); }
.eeval-kpi-icon.orange { background: linear-gradient(135deg, #f7931a, #ffb347); }
.eeval-kpi-icon.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.eeval-kpi-icon.yellow { background: linear-gradient(135deg, #eab308, #facc15); color: #1e2746; }
.eeval-kpi-icon.green { background: linear-gradient(135deg, #10b981, #34d399); }
.eeval-kpi-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1e2746;
    line-height: 1.1;
}
.eeval-kpi-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-top: 2px;
}
.eeval-kpi-sub {
    font-size: 0.72rem;
    color: #9ca3af;
}

.eeval-filter-card .edumin-card-body { padding: 1rem 1.15rem; }
.eeval-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto;
    gap: 10px;
    align-items: center;
}
.eeval-filter-search {
    position: relative;
}
.eeval-filter-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}
.eeval-filter-search input {
    padding-left: 2.1rem;
}
.eeval-filter-actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.eeval-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.eeval-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    background: #f3f0fb;
    color: #452b90;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}
.eeval-filter-tag:hover {
    background: #e8e1f8;
    color: #35206f;
}

.eeval-table th {
    font-size: 0.72rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #6b7280;
}
.eeval-rkab-link {
    font-weight: 600;
    color: #452b90;
    text-decoration: none;
}
.eeval-rkab-link:hover { text-decoration: underline; }
.eeval-progress-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 4px;
}
.eeval-progress-track {
    height: 7px;
    border-radius: 999px;
    background: #eef0f5;
    overflow: hidden;
    max-width: 140px;
}
.eeval-progress-fill {
    height: 100%;
    border-radius: 999px;
}
.eeval-progress-fill.green { background: linear-gradient(90deg, #10b981, #34d399); }
.eeval-progress-fill.orange { background: linear-gradient(90deg, #f7931a, #ffb347); }
.eeval-progress-fill.yellow { background: linear-gradient(90deg, #eab308, #facc15); }
.eeval-progress-fill.gray { background: #cbd5e1; }
.eeval-cta {
    white-space: nowrap;
}
.eeval-pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.15rem;
    border-top: 1px solid #eef0f5;
}

@media (max-width: 1199.98px) {
    .eeval-kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .eeval-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .eeval-filter-search { grid-column: 1 / -1; }
    .eeval-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    .eeval-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .eeval-filter-grid { grid-template-columns: 1fr; }
}
