/* SIKEBAT polished UI patch - works without rebuilding Vite assets */
:root {
    --sb-primary: #0f766e;
    --sb-primary-2: #14b8a6;
    --sb-accent: #2563eb;
    --sb-bg: #eef6f7;
    --sb-card: rgba(255, 255, 255, 0.92);
    --sb-text: #0f172a;
    --sb-muted: #64748b;
    --sb-border: rgba(15, 23, 42, 0.10);
    --sb-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    --sb-soft-shadow: 0 10px 25px rgba(15, 23, 42, 0.07);
    --sb-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    color: var(--sb-text);
    background:
        radial-gradient(circle at 8% 3%, rgba(20,184,166,.20), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(37,99,235,.16), transparent 30rem),
        linear-gradient(135deg, #f8fafc 0%, var(--sb-bg) 48%, #f1f5f9 100%) !important;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.sb-shell { min-height: 100vh; position: relative; }
.sb-sidebar {
    position: fixed;
    inset: 18px auto 18px 18px;
    z-index: 50;
    width: 292px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(15,118,110,.98), rgba(15,23,42,.96));
    color: white;
    box-shadow: 0 24px 60px rgba(2, 6, 23, .30);
    transform: translateX(0);
    transition: transform .30s ease, box-shadow .30s ease;
}
.sb-sidebar::before,
.sb-sidebar::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: .8;
}
.sb-sidebar::before { width: 170px; height: 170px; left: -70px; top: -45px; background: rgba(45,212,191,.30); }
.sb-sidebar::after { width: 200px; height: 200px; right: -110px; bottom: -70px; background: rgba(59,130,246,.22); }
.sb-sidebar-inner { position: relative; z-index: 1; display: flex; min-height: 100%; flex-direction: column; padding: 22px; }
.sb-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.sb-logo {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 28px rgba(2,6,23,.18);
    font-size: 24px;
}
.sb-brand-title { font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.sb-brand-subtitle { margin-top: 4px; color: rgba(255,255,255,.72); font-size: 12px; }
.sb-nav { display: grid; gap: 7px; }
.sb-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    border-radius: 16px;
    padding: 10px 12px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.sb-nav-link:hover { transform: translateX(4px); background: rgba(255,255,255,.10); color: #fff; }
.sb-nav-link.is-active { background: rgba(255,255,255,.18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.sb-nav-icon { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.11); }
.sb-nav-title { display: block; font-size: 14px; font-weight: 800; }
.sb-nav-desc { display: block; margin-top: 1px; color: rgba(255,255,255,.56); font-size: 11px; }
.sb-sidebar-footer { margin-top: auto; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; color: rgba(255,255,255,.72); font-size: 12px; }

.sb-content { min-height: 100vh; padding-left: 328px; }
.sb-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 18px 28px 0;
    backdrop-filter: blur(18px);
}
.sb-topbar-panel {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(255,255,255,.70);
    border-radius: 26px;
    background: rgba(255,255,255,.76);
    box-shadow: var(--sb-soft-shadow);
    padding: 14px 18px;
}
.sb-mobile-toggle, .sb-icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--sb-border);
    border-radius: 16px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 8px 20px rgba(15,23,42,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.sb-mobile-toggle:hover, .sb-icon-button:hover { transform: translateY(-1px); box-shadow: var(--sb-soft-shadow); }
.sb-page-title { font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 950; letter-spacing: -.04em; }
.sb-page-date { margin-top: 3px; color: var(--sb-muted); font-size: 12px; }
.sb-user-chip { display: flex; align-items: center; gap: 12px; }
.sb-user-avatar { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--sb-primary), var(--sb-accent)); color: white; font-weight: 900; }
.sb-main { padding: 24px 28px 40px; }
.sb-overlay { position: fixed; inset: 0; z-index: 45; display: none; background: rgba(2,6,23,.45); backdrop-filter: blur(4px); }

.card, .sb-card {
    border: 1px solid rgba(255,255,255,.78) !important;
    border-radius: var(--sb-radius) !important;
    background: var(--sb-card) !important;
    box-shadow: var(--sb-soft-shadow) !important;
    backdrop-filter: blur(16px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover, .sb-card:hover { transform: translateY(-2px); box-shadow: var(--sb-shadow) !important; border-color: rgba(20,184,166,.25) !important; }
.sb-stat-card { position: relative; overflow: hidden; }
.sb-stat-card::after { content: ""; position: absolute; right: -34px; top: -34px; width: 110px; height: 110px; border-radius: 999px; background: rgba(20,184,166,.16); }
.sb-stat-label { color: var(--sb-muted); font-size: 13px; font-weight: 700; }
.sb-stat-value { margin-top: 7px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 950; letter-spacing: -.06em; }
.sb-section-title { font-size: 18px; font-weight: 950; letter-spacing: -.03em; }

.btn-primary, .btn-secondary, button.btn-primary, button.btn-secondary, a.btn-primary, a.btn-secondary {
    position: relative;
    overflow: hidden;
    border-radius: 15px !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.btn-primary {
    background: linear-gradient(135deg, var(--sb-primary), var(--sb-primary-2)) !important;
    box-shadow: 0 13px 26px rgba(13,148,136,.25) !important;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(13,148,136,.34) !important; }
.btn-secondary { background: rgba(255,255,255,.86) !important; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(15,23,42,.10) !important; }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="file"], select, textarea {
    border-radius: 15px !important;
    border-color: rgba(15,23,42,.14) !important;
    background-color: rgba(255,255,255,.86) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input:focus, input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(20,184,166,.14) !important; border-color: rgba(13,148,136,.70) !important; outline: none; }
.badge { border-radius: 999px !important; }

.sb-alert { border-radius: 18px; padding: 14px 16px; box-shadow: var(--sb-soft-shadow); animation: sbSlideDown .28s ease both; }
.sb-reveal { animation: sbFadeUp .48s ease both; }
.sb-reveal:nth-child(2) { animation-delay: .05s; }
.sb-reveal:nth-child(3) { animation-delay: .10s; }
.sb-reveal:nth-child(4) { animation-delay: .15s; }
@keyframes sbFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sbSlideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* table upgrades */
table { border-collapse: separate !important; border-spacing: 0 !important; }
thead th { background: rgba(248,250,252,.85) !important; }
tbody tr { transition: background .16s ease, transform .16s ease; }
tbody tr:hover { background: rgba(20,184,166,.045); }

.sb-profile-hero {
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(15,118,110,.96), rgba(37,99,235,.88));
    color: white;
    padding: clamp(20px, 4vw, 34px);
    box-shadow: 0 20px 46px rgba(15,118,110,.24);
}
.sb-profile-hero::after { content:""; position:absolute; right:-50px; top:-80px; width:240px; height:240px; border-radius:50%; background: rgba(255,255,255,.14); }
.sb-profile-hero > * { position: relative; z-index: 1; }
.sb-form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-field-card { border-radius: 18px; background: rgba(248,250,252,.86); padding: 14px; }

@media (max-width: 1023px) {
    .sb-sidebar { transform: translateX(calc(-100% - 30px)); inset: 12px auto 12px 12px; width: min(306px, calc(100vw - 24px)); }
    .sb-shell.sb-sidebar-open .sb-sidebar { transform: translateX(0); }
    .sb-shell.sb-sidebar-open .sb-overlay { display: block; }
    .sb-content { padding-left: 0; }
    .sb-topbar { padding: 12px 12px 0; }
    .sb-main { padding: 18px 12px 30px; }
}
@media (min-width: 1024px) { .sb-mobile-toggle { display: none; } }
@media (max-width: 720px) {
    .sb-topbar-panel { align-items: flex-start; border-radius: 20px; }
    .sb-user-chip .sb-user-text { display: none; }
    .sb-form-grid { grid-template-columns: 1fr; }
    .card, .sb-card { border-radius: 18px !important; }
    .overflow-x-auto { margin-left: -10px; margin-right: -10px; padding-left: 10px; padding-right: 10px; }
    table { min-width: 760px; }
}

/* role mahasiswa: read only profile, upload proof, dashboard decisions */
.sb-readonly-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.sb-readonly-item {
    border-radius: 20px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(248,250,252,.94), rgba(255,255,255,.96));
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 10px 24px rgba(15,23,42,.045);
}
.sb-readonly-label {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(100,116,139,.95);
}
.sb-readonly-value {
    margin-top: 6px;
    font-weight: 800;
    color: rgb(15,23,42);
    overflow-wrap: anywhere;
}
.sb-locked-note {
    border-radius: 20px;
    padding: 16px 18px;
    color: rgb(120,53,15);
    background: linear-gradient(135deg, rgba(254,243,199,.92), rgba(255,247,237,.92));
    border: 1px solid rgba(245,158,11,.26);
    box-shadow: 0 14px 30px rgba(245,158,11,.10);
}
.sb-upload-box {
    border-radius: 22px;
    padding: 18px;
    background: linear-gradient(135deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
    border: 1px dashed rgba(100,116,139,.35);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.sb-upload-box.is-required {
    border-color: rgba(245,158,11,.82);
    background: linear-gradient(135deg, rgba(255,251,235,.98), rgba(255,255,255,.98));
    box-shadow: 0 16px 34px rgba(245,158,11,.14);
    transform: translateY(-1px);
}
.sb-notification-panel {
    border-radius: 26px;
    padding: clamp(18px, 3vw, 24px);
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: var(--sb-soft-shadow);
    animation: sbSlideDown .32s ease both;
}
.sb-decision-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 22px;
    padding: 16px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    border: 1px solid transparent;
}
.sb-decision-alert:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(15,23,42,.10); }
.sb-decision-alert.is-approved {
    background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(240,253,250,.96));
    border-color: rgba(16,185,129,.18);
    color: rgb(6,78,59);
}
.sb-decision-alert.is-rejected {
    background: linear-gradient(135deg, rgba(255,241,242,.96), rgba(255,247,237,.96));
    border-color: rgba(244,63,94,.20);
    color: rgb(136,19,55);
}
.sb-decision-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255,255,255,.78);
    font-weight: 1000;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.06);
}
@media (max-width: 720px) {
    .sb-readonly-grid { grid-template-columns: 1fr; }
    .sb-decision-alert { align-items: flex-start; }
}

/* Update dokumen pendukung per data perubahan */
.sb-field-change-card{display:grid;gap:1rem;border-radius:1rem;border:1px solid rgb(226 232 240);background:#fff;padding:1rem;box-shadow:0 1px 2px rgba(15,23,42,.05);transition:all .2s ease}.sb-field-change-card.is-changed{border-color:rgb(252 211 77);background:rgba(255,251,235,.6);box-shadow:0 10px 22px rgba(15,23,42,.08)}@media (min-width:1024px){.sb-field-change-card{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start}}.sb-field-main,.sb-field-doc-box{border-radius:1rem;background:#fff;padding:1rem;box-shadow:0 0 0 1px rgb(241 245 249)}.sb-field-doc-box{transition:all .2s ease}.sb-field-doc-box.is-required{background:rgb(255 251 235);box-shadow:0 0 0 1px rgb(253 230 138)}.sb-field-status{display:inline-flex;border-radius:9999px;background:rgb(241 245 249);padding:.25rem .625rem;font-size:.75rem;line-height:1rem;font-weight:800;color:rgb(100 116 139)}.sb-field-status.is-changed{background:rgb(254 243 199);color:rgb(146 64 14)}

/* Sidebar dropdown, SKPI, and Sidang update */
.sb-nav-group { display: grid; gap: 6px; }
.sb-nav-toggle { width: 100%; border: 0; cursor: pointer; font: inherit; text-align: left; }
.sb-nav-chevron { margin-left: auto; color: rgba(255,255,255,.68); font-size: 16px; transition: transform .2s ease; }
.sb-nav-group.is-open .sb-nav-chevron { transform: rotate(180deg); }
.sb-nav-submenu {
    display: grid;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,.14);
    margin-left: 16px;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height .25s ease, opacity .2s ease, transform .2s ease, padding-top .2s ease;
}
.sb-nav-group.is-open .sb-nav-submenu { max-height: 320px; opacity: 1; transform: translateY(0); padding-top: 6px; }
.sb-nav-child { min-height: 42px; padding: 9px 10px; border-radius: 14px; }
.sb-nav-child .sb-nav-icon { width: 28px; height: 28px; flex-basis: 28px; border-radius: 10px; font-size: 13px; }
.sb-nav-child .sb-nav-title { font-size: 13px; }
.sb-nav-child .sb-nav-desc { font-size: 10px; }
.sb-skpi-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sb-skpi-card {
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 30px rgba(15,23,42,.065);
    overflow: hidden;
}
.sb-skpi-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(37,99,235,.08));
    border-bottom: 1px solid rgba(15,23,42,.06);
}
.sb-skpi-number {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sb-primary), var(--sb-accent));
    color: white;
    font-weight: 950;
}
.sb-skpi-body { padding: 16px; }
.sb-skpi-fields { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sb-skpi-fields .full { grid-column: 1 / -1; }
.sb-file-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(240,253,250,.95);
    color: rgb(15,118,110);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(20,184,166,.22);
}
.sb-sidang-hero {
    border-radius: 30px;
    padding: clamp(24px, 5vw, 42px);
    color: white;
    background: linear-gradient(135deg, rgba(15,118,110,.98), rgba(37,99,235,.88));
    box-shadow: 0 22px 52px rgba(15,118,110,.23);
    position: relative;
    overflow: hidden;
}
.sb-sidang-hero::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 999px; right: -90px; top: -110px; background: rgba(255,255,255,.16); }
.sb-sidang-hero > * { position: relative; z-index: 1; }
@media (max-width: 720px) { .sb-skpi-fields { grid-template-columns: 1fr; } }
.sb-sidebar-inner { max-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.28) transparent; }
.sb-sidebar-inner::-webkit-scrollbar { width: 7px; }
.sb-sidebar-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,.24); border-radius: 999px; }

/* =========================================================
   SIKEBAT v5 - full, simple, modern layout + popup notices
   ========================================================= */
:root {
    --sb-sidebar-width: 264px;
    --sb-page-gap: 16px;
    --sb-topbar-height: 72px;
    --sb-surface: rgba(255, 255, 255, .94);
    --sb-surface-2: rgba(248, 250, 252, .92);
    --sb-line: rgba(15, 23, 42, .09);
}
body {
    background:
        radial-gradient(circle at 0% 0%, rgba(20,184,166,.13), transparent 26rem),
        radial-gradient(circle at 100% 2%, rgba(37,99,235,.12), transparent 28rem),
        linear-gradient(135deg, #f8fafc 0%, #eef7f6 52%, #f3f7fb 100%) !important;
}
.sb-sidebar {
    inset: 12px auto 12px 12px;
    width: var(--sb-sidebar-width);
    border-radius: 24px;
}
.sb-sidebar-inner { padding: 18px; }
.sb-brand { margin-bottom: 18px; }
.sb-logo { width: 46px; height: 46px; border-radius: 16px; }
.sb-brand-title { font-size: 22px; }
.sb-nav { gap: 5px; }
.sb-nav-link { min-height: 42px; border-radius: 14px; padding: 9px 10px; }
.sb-nav-icon { width: 30px; height: 30px; flex-basis: 30px; border-radius: 11px; }
.sb-nav-title { font-size: 13px; }
.sb-nav-desc { font-size: 10px; }
.sb-sidebar-footer { padding-top: 12px; }
.sb-content { padding-left: calc(var(--sb-sidebar-width) + 24px); }
.sb-topbar { padding: 12px 14px 0; }
.sb-topbar-panel {
    min-height: var(--sb-topbar-height);
    border-radius: 22px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .86);
}
.sb-page-title { font-size: clamp(1.35rem, 1.55vw, 2rem); }
.sb-main {
    width: 100%;
    max-width: none;
    padding: 16px 14px 30px;
}
.sb-main > * { max-width: none; }
.sb-main .max-w-xs,
.sb-main .max-w-sm,
.sb-main .max-w-md,
.sb-main .max-w-lg,
.sb-main .max-w-xl,
.sb-main .max-w-2xl,
.sb-main .max-w-3xl,
.sb-main .max-w-4xl,
.sb-main .max-w-5xl,
.sb-main .max-w-6xl,
.sb-main .max-w-7xl {
    max-width: none !important;
}
.sb-main .card,
.sb-main .sb-card,
.sb-main form.card {
    width: 100% !important;
}
.card, .sb-card {
    border-radius: 18px !important;
    background: var(--sb-surface) !important;
    border: 1px solid var(--sb-line) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06) !important;
}
.card:hover, .sb-card:hover {
    transform: none;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08) !important;
}
.sb-section-title { font-size: 17px; }
.sb-profile-hero, .sb-sidang-hero {
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 12px 32px rgba(15,118,110,.16);
}
.btn-primary, .btn-secondary, button.btn-primary, button.btn-secondary, a.btn-primary, a.btn-secondary {
    border-radius: 12px !important;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
}
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); }
.input, input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="time"], input[type="datetime-local"], input[type="number"], input[type="file"], select, textarea {
    border-radius: 12px !important;
    min-height: 40px;
}
textarea { min-height: 96px; }
.sb-main table {
    width: 100%;
    font-size: .9rem;
}
.sb-main thead th {
    background: var(--sb-surface-2) !important;
    color: #475569;
    font-size: .72rem;
    letter-spacing: .04em;
    font-weight: 900;
    text-transform: uppercase;
}
.sb-main tbody tr:hover { background: rgba(13, 148, 136, .055); }
.sb-main td, .sb-main th { vertical-align: middle; }
.sb-main .badge,
.sb-main [class*="rounded-full"] {
    white-space: nowrap;
}
.sb-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-readonly-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-skpi-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Popup notification */
.sb-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    display: grid;
    gap: 12px;
    width: min(420px, calc(100vw - 28px));
    pointer-events: none;
}
.sb-toast {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .10);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .18);
    padding: 14px 14px 14px 12px;
    backdrop-filter: blur(18px);
    pointer-events: auto;
    transform-origin: top right;
    animation: sbToastIn .32s ease both;
}
.sb-toast.is-hiding { animation: sbToastOut .20s ease both; }
.sb-toast-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.sb-toast.is-success .sb-toast-icon { background: linear-gradient(135deg, #059669, #14b8a6); }
.sb-toast.is-error .sb-toast-icon { background: linear-gradient(135deg, #e11d48, #f97316); }
.sb-toast.is-warning .sb-toast-icon { background: linear-gradient(135deg, #f59e0b, #f97316); }
.sb-toast.is-info .sb-toast-icon { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.sb-toast-body { min-width: 0; flex: 1; }
.sb-toast-title { font-size: .92rem; font-weight: 950; letter-spacing: -.02em; color: #0f172a; }
.sb-toast-message { margin-top: 2px; color: #475569; font-size: .86rem; line-height: 1.45; overflow-wrap: anywhere; }
.sb-toast-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.sb-toast-close:hover { background: #e2e8f0; color: #0f172a; }
@keyframes sbToastIn {
    from { opacity: 0; transform: translateX(24px) translateY(-8px) scale(.96); }
    to { opacity: 1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes sbToastOut {
    from { opacity: 1; transform: translateX(0) scale(1); }
    to { opacity: 0; transform: translateX(18px) scale(.98); }
}
@media (max-width: 1023px) {
    .sb-sidebar { inset: 10px auto 10px 10px; width: min(292px, calc(100vw - 20px)); }
    .sb-content { padding-left: 0; }
    .sb-main { padding: 14px 10px 28px; }
    .sb-topbar { padding: 10px 10px 0; }
}
@media (max-width: 760px) {
    .sb-topbar-panel { border-radius: 18px; }
    .sb-form-grid, .sb-readonly-grid, .sb-skpi-fields { grid-template-columns: 1fr; }
    .sb-toast-stack { top: 10px; right: 10px; width: calc(100vw - 20px); }
}


/* === SIKEBAT Compact Live UI - global untuk pencarian realtime === */
.sb-live-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
.sb-live-menu a,
.sb-live-menu button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 12px;
    padding: 7px 13px;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all .16s ease;
}
.sb-live-menu a:hover,
.sb-live-menu button:hover {
    transform: translateY(-1px);
    background: #f1f5f9;
}
.sb-live-menu .is-active,
.sb-live-menu a[aria-current="page"] {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(20,184,166,.18);
}
.sb-compact-card {
    border-radius: 20px !important;
    padding: 16px !important;
}
.sb-compact-head {
    border-radius: 20px !important;
    padding: 16px !important;
}
.sb-compact-filter {
    gap: 8px !important;
}
.sb-compact-filter label {
    font-size: 12px !important;
    margin-bottom: 2px !important;
}
.sb-compact-filter .input {
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 13px !important;
}
.sb-compact-filter .btn-primary,
.sb-compact-filter .btn-secondary,
.sb-compact-filter button,
.sb-compact-filter a {
    min-height: 34px !important;
    border-radius: 11px !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
}
[data-live-region].is-loading {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s ease;
}
[data-local-filter-region] [data-filter-item].is-hidden {
    display: none !important;
}


/* === SIKEBAT MAROON ELEGANT THEME === */
:root {
    --sb-primary: #7A1F2B !important;
    --sb-primary-2: #A83246 !important;
    --sb-primary-3: #C45A6A !important;
    --sb-accent: #8C2636 !important;
    --sb-bg: #F8F1F2 !important;
    --sb-card: rgba(255, 255, 255, 0.94) !important;
    --sb-text: #180A0D !important;
    --sb-muted: #725660 !important;
    --sb-border: rgba(122, 31, 43, 0.14) !important;
    --sb-shadow: 0 22px 60px rgba(122, 31, 43, 0.14) !important;
    --sb-soft-shadow: 0 12px 32px rgba(122, 31, 43, 0.09) !important;
}

body {
    background:
        radial-gradient(circle at 9% 4%, rgba(168,50,70,.16), transparent 28rem),
        radial-gradient(circle at 92% 10%, rgba(122,31,43,.10), transparent 30rem),
        linear-gradient(135deg, #fffafb 0%, #f8f1f2 48%, #f3e7e9 100%) !important;
}
body::before {
    background-image:
        linear-gradient(rgba(122,31,43,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(122,31,43,.045) 1px, transparent 1px) !important;
}

.sb-sidebar {
    background: linear-gradient(180deg, rgba(122,31,43,.98), rgba(44,17,22,.98)) !important;
    box-shadow: 0 24px 62px rgba(63, 16, 25, .34) !important;
}
.sb-sidebar::before { background: rgba(196,90,106,.24) !important; }
.sb-sidebar::after { background: rgba(255,255,255,.12) !important; }

.sb-topbar-panel,
.card,
.sb-card {
    border-color: rgba(122,31,43,.10) !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: var(--sb-soft-shadow) !important;
}
.card:hover,
.sb-card:hover {
    border-color: rgba(122,31,43,.22) !important;
    box-shadow: var(--sb-shadow) !important;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, #7A1F2B, #A83246) !important;
    box-shadow: 0 13px 26px rgba(122,31,43,.24) !important;
    color: #ffffff !important;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(122,31,43,.32) !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 4px rgba(168,50,70,.13) !important;
    border-color: rgba(122,31,43,.68) !important;
}

.sb-nav-link.is-active,
.sb-nav-group.is-active > .sb-nav-toggle,
.sb-nav-link:hover {
    background: rgba(255,255,255,.13) !important;
}
.sb-nav-child.is-active {
    background: rgba(255,255,255,.18) !important;
}

.sb-user-avatar,
.cert-tab-button.is-active,
.sb-live-menu .is-active,
.sb-live-menu a[aria-current="page"] {
    background: linear-gradient(135deg, #7A1F2B, #A83246) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(122,31,43,.18) !important;
}

/* Replace teal accents with maroon accents while keeping layout/responsiveness intact */
.bg-teal-50 { background-color: #FBEEF0 !important; }
.bg-teal-100 { background-color: #F5DDE1 !important; }
.bg-teal-600,
.bg-teal-700,
.bg-teal-800 { background-color: #7A1F2B !important; }
.text-teal-600,
.text-teal-700,
.text-teal-800,
.text-teal-900 { color: #7A1F2B !important; }
.ring-teal-100,
.ring-teal-200,
.ring-teal-700 { --tw-ring-color: rgba(122,31,43,.18) !important; }
.border-teal-100,
.border-teal-200 { border-color: rgba(122,31,43,.20) !important; }

/* Elegant plain thumbnails: remove cartoon/emoji feeling */
.sb-logo,
.sb-nav-icon,
.cert-compact-icon,
.v4-cert-icon,
.v4-loading-circle {
    font-size: 0 !important;
    color: transparent !important;
    background: linear-gradient(135deg, #FBEEF0, #F5DDE1) !important;
    border: 1px solid rgba(122,31,43,.15) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(122,31,43,.08) !important;
}
.sb-logo::before,
.sb-nav-icon::before,
.cert-compact-icon::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7A1F2B, #A83246);
    box-shadow: 0 0 0 5px rgba(122,31,43,.08);
}
.sb-logo::before {
    width: 18px;
    height: 18px;
}
.v4-cert-icon::before,
.v4-loading-circle::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #7A1F2B, #A83246);
    box-shadow: 0 0 0 10px rgba(122,31,43,.08);
}

/* Keep success/warning status readable but make neutral UI elements more elegant */
.bg-slate-100 { background-color: #F6EEF0 !important; }
.text-slate-500 { color: #755E65 !important; }
.text-slate-600 { color: #614A51 !important; }
.ring-slate-100,
.ring-slate-200 { --tw-ring-color: rgba(122,31,43,.13) !important; }

/* Table and small cards */
thead tr,
.bg-slate-50 {
    background-color: #FBF5F6 !important;
}
.rounded-\[18px\],
.rounded-\[20px\],
.rounded-\[22px\],
.rounded-\[24px\] {
    box-shadow: 0 10px 26px rgba(122,31,43,.06);
}


/* === SIKEBAT NAVY GOLD PREMIUM THEME - FINAL OVERRIDE === */
:root {
    --sb-primary: #0B1F3A !important;
    --sb-primary-2: #173A63 !important;
    --sb-primary-3: #C9A227 !important;
    --sb-accent: #C9A227 !important;
    --sb-bg: #F4F7FB !important;
    --sb-card: rgba(255, 255, 255, 0.96) !important;
    --sb-text: #0A1628 !important;
    --sb-muted: #65758B !important;
    --sb-border: rgba(11, 31, 58, 0.12) !important;
    --sb-shadow: 0 24px 64px rgba(11, 31, 58, 0.14) !important;
    --sb-soft-shadow: 0 12px 34px rgba(11, 31, 58, 0.08) !important;
    --sb-radius: 22px !important;
}

body {
    color: var(--sb-text) !important;
    background:
        radial-gradient(circle at 7% 4%, rgba(23,58,99,.16), transparent 28rem),
        radial-gradient(circle at 92% 9%, rgba(201,162,39,.14), transparent 30rem),
        linear-gradient(135deg, #fbfdff 0%, #f4f7fb 52%, #eef3f8 100%) !important;
}

body::before {
    background-image:
        linear-gradient(rgba(11,31,58,.040) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,31,58,.040) 1px, transparent 1px) !important;
    background-size: 38px 38px !important;
}

.sb-sidebar {
    background: linear-gradient(180deg, #0B1F3A 0%, #081525 100%) !important;
    border-color: rgba(255,255,255,.18) !important;
    box-shadow: 0 26px 70px rgba(3, 10, 22, .34) !important;
}

.sb-sidebar::before {
    background: rgba(201,162,39,.20) !important;
}

.sb-sidebar::after {
    background: rgba(59,130,246,.14) !important;
}

.sb-brand-title,
.sb-nav-title {
    letter-spacing: -.02em !important;
}

.sb-logo,
.sb-nav-icon,
.cert-compact-icon,
.v4-cert-icon,
.v4-loading-circle {
    font-size: 0 !important;
    color: transparent !important;
    background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(236,242,248,.92)) !important;
    border: 1px solid rgba(201,162,39,.28) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72), 0 12px 26px rgba(3,10,22,.10) !important;
}

.sb-logo::before,
.sb-nav-icon::before,
.cert-compact-icon::before,
.v4-cert-icon::before,
.v4-loading-circle::before {
    content: "";
    display: block;
    border-radius: 999px;
    background: linear-gradient(135deg, #0B1F3A, #C9A227) !important;
    box-shadow: 0 0 0 5px rgba(201,162,39,.12) !important;
}

.sb-logo::before {
    width: 18px !important;
    height: 18px !important;
}

.sb-nav-icon::before,
.cert-compact-icon::before {
    width: 13px !important;
    height: 13px !important;
}

.v4-cert-icon::before,
.v4-loading-circle::before {
    width: 24px !important;
    height: 24px !important;
    box-shadow: 0 0 0 10px rgba(201,162,39,.12) !important;
}

.sb-topbar-panel,
.card,
.sb-card {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(11,31,58,.10) !important;
    box-shadow: var(--sb-soft-shadow) !important;
    backdrop-filter: blur(18px) !important;
}

.card:hover,
.sb-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(201,162,39,.28) !important;
    box-shadow: var(--sb-shadow) !important;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, #0B1F3A, #173A63) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(11,31,58,.24) !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(11,31,58,.32) !important;
}

.btn-secondary,
button.btn-secondary,
a.btn-secondary {
    background: rgba(255,255,255,.92) !important;
    color: #0B1F3A !important;
    border-color: rgba(11,31,58,.13) !important;
}

.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
input[type="search"],
select,
textarea {
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(11,31,58,.14) !important;
    color: #0A1628 !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(201,162,39,.72) !important;
    box-shadow: 0 0 0 4px rgba(201,162,39,.16) !important;
    outline: none !important;
}

.sb-nav-link:hover,
.sb-nav-link.is-active,
.sb-nav-group.is-active > .sb-nav-toggle,
.sb-nav-child.is-active {
    background: rgba(255,255,255,.13) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(201,162,39,.18) !important;
}

.sb-user-avatar,
.cert-tab-button.is-active,
.sb-live-menu .is-active,
.sb-live-menu a[aria-current="page"] {
    background: linear-gradient(135deg, #0B1F3A, #173A63) !important;
    color: #ffffff !important;
    border-color: rgba(201,162,39,.26) !important;
    box-shadow: 0 10px 22px rgba(11,31,58,.18) !important;
}

.cert-tab-button,
.sb-live-menu a,
.sb-live-menu button {
    background: rgba(255,255,255,.90) !important;
    color: #1D2E45 !important;
    border-color: rgba(11,31,58,.12) !important;
}

.cert-tab-button:hover,
.sb-live-menu a:hover,
.sb-live-menu button:hover {
    background: #F7FAFC !important;
    border-color: rgba(201,162,39,.28) !important;
}

/* Override old green/maroon accents into navy-gold */
.bg-teal-50,
.bg-emerald-50 {
    background-color: #F8F4E8 !important;
}

.bg-teal-100,
.bg-emerald-100 {
    background-color: #F1E7C5 !important;
}

.bg-teal-600,
.bg-teal-700,
.bg-teal-800,
.bg-emerald-600,
.bg-emerald-700 {
    background-color: #0B1F3A !important;
}

.text-teal-600,
.text-teal-700,
.text-teal-800,
.text-teal-900,
.text-emerald-600,
.text-emerald-700,
.text-emerald-800 {
    color: #0B1F3A !important;
}

.ring-teal-100,
.ring-teal-200,
.ring-teal-700,
.ring-emerald-100,
.ring-emerald-200 {
    --tw-ring-color: rgba(201,162,39,.22) !important;
}

.border-teal-100,
.border-teal-200,
.border-emerald-100,
.border-emerald-200 {
    border-color: rgba(201,162,39,.24) !important;
}

.bg-blue-50 {
    background-color: #EEF4FA !important;
}

.text-blue-700 {
    color: #173A63 !important;
}

.bg-slate-50,
thead tr {
    background-color: #F7FAFC !important;
}

.bg-slate-100 {
    background-color: #EFF4F8 !important;
}

.text-slate-500 {
    color: #65758B !important;
}

.text-slate-600 {
    color: #506176 !important;
}

.text-slate-700 {
    color: #334155 !important;
}

.text-slate-950,
.text-slate-900,
.sb-section-title {
    color: #0A1628 !important;
}

/* Premium table/card polish */
table {
    border-color: rgba(11,31,58,.10) !important;
}

.rounded-\[18px\],
.rounded-\[20px\],
.rounded-\[22px\],
.rounded-\[24px\] {
    box-shadow: 0 10px 28px rgba(11,31,58,.055) !important;
}

/* Remove visible cartoon text in thumbnail circles, keep plain elegant marks */
.sb-logo,
.sb-nav-icon,
.cert-compact-icon {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* === SIKEBAT FULLPAGE CLEAN THEME - NO ICON THUMBNAILS === */
:root {
    --sb-primary: #0B1F3A !important;
    --sb-primary-2: #173A63 !important;
    --sb-accent: #C9A227 !important;
    --sb-bg: #F6F8FB !important;
    --sb-card: rgba(255,255,255,.94) !important;
    --sb-radius: 20px !important;
}

/* Full page: hilangkan kesan sekat/gap besar antara sidebar dan halaman */
body {
    background:
        radial-gradient(circle at 82% 2%, rgba(201,162,39,.10), transparent 26rem),
        linear-gradient(135deg, #F8FAFC 0%, #F6F8FB 55%, #EEF3F8 100%) !important;
}
body::before {
    opacity: .35 !important;
}

/* Sidebar dibuat menyatu full height, tidak seperti kartu terpisah */
.sb-sidebar {
    inset: 0 auto 0 0 !important;
    width: 282px !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: linear-gradient(180deg, #07182E 0%, #0B1F3A 54%, #071522 100%) !important;
}
.sb-sidebar::before,
.sb-sidebar::after {
    display: none !important;
}
.sb-sidebar-inner {
    padding: 26px 20px !important;
}
.sb-content {
    padding-left: 282px !important;
    background: transparent !important;
}
.sb-topbar {
    padding: 14px 20px 0 !important;
}
.sb-topbar-panel {
    border-radius: 0 0 22px 22px !important;
    border: 0 !important;
    box-shadow: 0 10px 28px rgba(11,31,58,.07) !important;
    background: rgba(255,255,255,.92) !important;
}

/* Hapus thumbnail/icon bulat seperti gambar 1 */
.sb-logo,
.sb-nav-icon {
    display: none !important;
}
.sb-brand {
    gap: 0 !important;
    margin-bottom: 28px !important;
    padding: 0 4px 18px !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
}
.sb-brand-title {
    font-size: 25px !important;
}
.sb-brand-subtitle {
    font-size: 12px !important;
    opacity: .72 !important;
}
.sb-nav-link {
    gap: 0 !important;
    min-height: 48px !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
}
.sb-nav-link:hover {
    transform: none !important;
}
.sb-nav-link.is-active,
.sb-nav-group.is-active > .sb-nav-toggle,
.sb-nav-child.is-active {
    background: rgba(255,255,255,.12) !important;
    box-shadow: inset 3px 0 0 rgba(201,162,39,.95) !important;
}
.sb-nav-child {
    padding-left: 18px !important;
}
.sb-nav-submenu {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Hilangkan garis/sekat bawah sidebar yang terlalu terlihat */
.sb-sidebar-footer {
    border-top: 1px solid rgba(255,255,255,.10) !important;
}

/* Konten fullpage lebih menyatu, card tetap responsive tapi tidak terasa tersekat */
.sb-main,
main {
    background: transparent !important;
}
.card,
.sb-card {
    border: 0 !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: 0 12px 30px rgba(11,31,58,.07) !important;
}
.card:hover,
.sb-card:hover {
    border: 0 !important;
    box-shadow: 0 16px 42px rgba(11,31,58,.10) !important;
}

/* Thumbnail di card juga dibuat tidak kartun: polos kecil saja */
.cert-compact-icon,
.v4-cert-icon,
.v4-loading-circle {
    font-size: 0 !important;
    color: transparent !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.cert-compact-icon::before,
.v4-cert-icon::before,
.v4-loading-circle::before {
    content: "";
    width: 12px !important;
    height: 12px !important;
    border-radius: 999px !important;
    background: #C9A227 !important;
    box-shadow: 0 0 0 6px rgba(201,162,39,.13) !important;
}

/* Chart/card area supaya tampak fullpage, bukan kotak bertumpuk terlalu keras */
.rounded-\[18px\],
.rounded-\[20px\],
.rounded-\[22px\],
.rounded-\[24px\] {
    box-shadow: 0 8px 24px rgba(11,31,58,.055) !important;
}

/* Mobile tetap responsif */
@media (max-width: 1024px) {
    .sb-sidebar {
        width: 282px !important;
        transform: translateX(-105%) !important;
        border-radius: 0 24px 24px 0 !important;
        box-shadow: 0 24px 62px rgba(3,10,22,.30) !important;
    }
    .sb-shell.sidebar-open .sb-sidebar,
    .sb-sidebar.is-open {
        transform: translateX(0) !important;
    }
    .sb-content {
        padding-left: 0 !important;
    }
    .sb-topbar {
        padding: 12px 12px 0 !important;
    }
    .sb-topbar-panel {
        border-radius: 18px !important;
    }
}


/* === SIKEBAT LOGO IDENTITY THEME - BURGUNDY GOLD FULLPAGE === */
:root {
    --sb-primary: #6F0F24 !important;
    --sb-primary-2: #9B1733 !important;
    --sb-primary-3: #D7B56D !important;
    --sb-accent: #D7B56D !important;
    --sb-bg: #FFF8F3 !important;
    --sb-card: rgba(255,255,255,.95) !important;
    --sb-text: #1A0B10 !important;
    --sb-muted: #7B6570 !important;
    --sb-border: rgba(111,15,36,.13) !important;
    --sb-shadow: 0 24px 64px rgba(111,15,36,.16) !important;
    --sb-soft-shadow: 0 12px 34px rgba(111,15,36,.09) !important;
}

body {
    color: var(--sb-text) !important;
    background:
        radial-gradient(circle at 82% 4%, rgba(215,181,109,.18), transparent 28rem),
        radial-gradient(circle at 7% 2%, rgba(155,23,51,.13), transparent 28rem),
        linear-gradient(135deg, #FFFDF9 0%, #FFF8F3 50%, #F8EEF0 100%) !important;
}
body::before {
    opacity: .32 !important;
    background-image:
        linear-gradient(rgba(111,15,36,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111,15,36,.04) 1px, transparent 1px) !important;
}

/* Sidebar mengikuti warna logo: burgundy gelap + gold */
.sb-sidebar {
    inset: 0 auto 0 0 !important;
    width: 286px !important;
    border-radius: 0 !important;
    border: 0 !important;
    background:
        radial-gradient(circle at 90% 92%, rgba(215,181,109,.15), transparent 13rem),
        linear-gradient(180deg, #370610 0%, #5A0B1D 48%, #1B070B 100%) !important;
    box-shadow: none !important;
}
.sb-sidebar::before,
.sb-sidebar::after {
    display: none !important;
}
.sb-sidebar-inner {
    padding: 26px 22px !important;
}
.sb-content {
    padding-left: 286px !important;
}

/* Logo identitas */
.sb-brand {
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
    padding: 0 4px 18px !important;
    border-bottom: 1px solid rgba(215,181,109,.28) !important;
}
.sb-brand-logo {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    flex: 0 0 56px !important;
    border-radius: 999px !important;
    object-fit: contain !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,.20), 0 0 0 2px rgba(215,181,109,.45) !important;
}
.sb-logo,
.sb-nav-icon {
    display: none !important;
}
.sb-brand-title {
    color: #FFFFFF !important;
    font-size: 25px !important;
    font-weight: 950 !important;
    letter-spacing: -.03em !important;
}
.sb-brand-subtitle {
    margin-top: 4px !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
}

/* Main menu CAPITAL, desc dihapus */
.sb-nav {
    gap: 8px !important;
}
.sb-nav-desc {
    display: none !important;
}
.sb-nav-link {
    gap: 0 !important;
    min-height: 48px !important;
    padding: 11px 14px !important;
    border-radius: 15px !important;
    color: rgba(255,255,255,.82) !important;
    text-decoration: none !important;
}
.sb-nav-link:hover {
    transform: none !important;
    background: rgba(255,255,255,.09) !important;
}
.sb-nav-title-main {
    text-transform: uppercase !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    letter-spacing: .025em !important;
}
.sb-nav-title-child {
    text-transform: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
}
.sb-nav-link.is-active,
.sb-nav-group.is-active > .sb-nav-toggle,
.sb-nav-group.is-open > .sb-nav-toggle {
    background: rgba(255,255,255,.12) !important;
    box-shadow: inset 4px 0 0 #D7B56D !important;
}
.sb-nav-submenu {
    margin: 6px 0 8px 0 !important;
    padding-left: 18px !important;
    border-left: 1px solid rgba(215,181,109,.28) !important;
    display: none;
}
.sb-nav-group.is-open .sb-nav-submenu {
    display: grid !important;
    gap: 6px !important;
}
.sb-nav-child {
    min-height: 40px !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,.70) !important;
    background: rgba(255,255,255,.045) !important;
}
.sb-nav-child.is-active {
    color: #FFFFFF !important;
    background: rgba(215,181,109,.16) !important;
    box-shadow: inset 3px 0 0 #D7B56D !important;
}
.sb-nav-chevron {
    margin-left: auto !important;
    color: rgba(255,255,255,.72) !important;
}

/* Fullpage premium dan lebih hidup */
.sb-topbar {
    padding: 14px 20px 0 !important;
}
.sb-topbar-panel {
    min-height: 76px !important;
    border: 0 !important;
    border-radius: 0 0 24px 24px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,248,243,.94)) !important;
    box-shadow: 0 12px 32px rgba(111,15,36,.08) !important;
}
.card,
.sb-card {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(111,15,36,.08) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,251,247,.92)) !important;
    box-shadow: 0 12px 34px rgba(111,15,36,.08) !important;
}
.card::before,
.sb-card::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 4px !important;
    background: linear-gradient(180deg, #D7B56D, rgba(155,23,51,.16)) !important;
    opacity: .75 !important;
}
.card:hover,
.sb-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 52px rgba(111,15,36,.13) !important;
    border-color: rgba(215,181,109,.38) !important;
}

.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, #6F0F24, #9B1733) !important;
    color: #FFFFFF !important;
    box-shadow: 0 14px 30px rgba(111,15,36,.24) !important;
}
.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    box-shadow: 0 18px 38px rgba(111,15,36,.34) !important;
}
.btn-secondary,
button.btn-secondary,
a.btn-secondary {
    background: rgba(255,255,255,.92) !important;
    color: #4A0B18 !important;
    border-color: rgba(111,15,36,.13) !important;
}
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
input[type="search"],
select,
textarea {
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(111,15,36,.14) !important;
    color: #1A0B10 !important;
}
.input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: rgba(215,181,109,.82) !important;
    box-shadow: 0 0 0 4px rgba(215,181,109,.20) !important;
}

/* Elemen dalam menu terasa hidup dengan aksen logo */
.cert-tab-button.is-active,
.sb-live-menu .is-active,
.sb-live-menu a[aria-current="page"],
.sb-user-avatar {
    background: linear-gradient(135deg, #6F0F24, #9B1733) !important;
    color: #FFFFFF !important;
    border-color: rgba(215,181,109,.42) !important;
    box-shadow: 0 10px 22px rgba(111,15,36,.20) !important;
}
.cert-tab-button,
.sb-live-menu a,
.sb-live-menu button {
    background: rgba(255,255,255,.92) !important;
    color: #4A0B18 !important;
    border-color: rgba(111,15,36,.12) !important;
}
.cert-tab-button:hover,
.sb-live-menu a:hover,
.sb-live-menu button:hover {
    border-color: rgba(215,181,109,.38) !important;
    background: #FFF8F3 !important;
}

/* Hapus kesan kartun, thumbnail menjadi bentuk polos berwarna */
.cert-compact-icon,
.v4-cert-icon,
.v4-loading-circle {
    font-size: 0 !important;
    color: transparent !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.cert-compact-icon::before,
.v4-cert-icon::before,
.v4-loading-circle::before {
    content: "";
    width: 13px !important;
    height: 13px !important;
    border-radius: 999px !important;
    background: #D7B56D !important;
    box-shadow: 0 0 0 6px rgba(215,181,109,.16), 0 0 0 11px rgba(111,15,36,.07) !important;
}

/* Override warna utility lama menjadi palet logo */
.bg-teal-50,
.bg-emerald-50,
.bg-blue-50 {
    background-color: #FFF4E2 !important;
}
.bg-teal-100,
.bg-emerald-100 {
    background-color: #F4E2B5 !important;
}
.bg-teal-600,
.bg-teal-700,
.bg-teal-800,
.bg-emerald-600,
.bg-emerald-700 {
    background-color: #6F0F24 !important;
}
.text-teal-600,
.text-teal-700,
.text-teal-800,
.text-teal-900,
.text-emerald-600,
.text-emerald-700,
.text-emerald-800,
.text-blue-700 {
    color: #6F0F24 !important;
}
.ring-teal-100,
.ring-teal-200,
.ring-teal-700,
.ring-emerald-100,
.ring-emerald-200 {
    --tw-ring-color: rgba(215,181,109,.25) !important;
}
.border-teal-100,
.border-teal-200,
.border-emerald-100,
.border-emerald-200 {
    border-color: rgba(215,181,109,.28) !important;
}
.bg-slate-50,
thead tr {
    background-color: #FFF9F4 !important;
}
.bg-slate-100 {
    background-color: #F8EEE8 !important;
}
.text-slate-500 { color: #7B6570 !important; }
.text-slate-600 { color: #674E59 !important; }
.text-slate-700 { color: #4D3440 !important; }
.text-slate-900,
.text-slate-950,
.sb-section-title {
    color: #1A0B10 !important;
}

/* Login ikut identitas logo */
.login-logo-identity {
    border-radius: 999px !important;
    object-fit: contain !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.22), 0 0 0 2px rgba(215,181,109,.55) !important;
}

/* Responsive tetap aman */
@media (max-width: 1024px) {
    .sb-sidebar {
        width: 286px !important;
        transform: translateX(-105%) !important;
        border-radius: 0 24px 24px 0 !important;
        box-shadow: 0 24px 62px rgba(3,10,22,.30) !important;
    }
    .sb-shell.sb-sidebar-open .sb-sidebar,
    .sb-shell.sidebar-open .sb-sidebar,
    .sb-sidebar.is-open {
        transform: translateX(0) !important;
    }
    .sb-content {
        padding-left: 0 !important;
    }
    .sb-topbar {
        padding: 12px 12px 0 !important;
    }
    .sb-topbar-panel {
        border-radius: 18px !important;
    }
}


/* === FIX KONTRAS TULISAN DAN WARNA DALAM MENU === */
:root {
    --sb-text: #12070A !important;
    --sb-muted: #4F2A35 !important;
}

body,
.card,
.sb-card,
.cert-compact-card {
    color: #12070A !important;
}

.sb-topbar-panel h1,
.sb-topbar-panel h2,
.card h1,
.card h2,
.card h3,
.sb-section-title,
.cert-compact-title,
.text-slate-950,
.text-slate-900,
.text-slate-800 {
    color: #12070A !important;
    font-weight: 950 !important;
}

.text-slate-500,
.text-slate-600,
.text-slate-700,
.card p,
.card .text-xs,
.card .text-sm {
    color: #4F2A35 !important;
}

.cert-compact-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F2 100%) !important;
    border: 1px solid rgba(111, 15, 36, .16) !important;
    box-shadow: 0 12px 30px rgba(111, 15, 36, .11) !important;
}

.cert-compact-card:hover {
    border-color: rgba(215, 181, 109, .62) !important;
    box-shadow: 0 20px 48px rgba(111, 15, 36, .18) !important;
}

.rounded-full.bg-slate-100,
.badge.bg-slate-100 {
    background: #F4E6DE !important;
    color: #3A121B !important;
    border: 1px solid rgba(111, 15, 36, .12) !important;
}

.bg-emerald-50,
.bg-emerald-100,
.badge.bg-emerald-100 {
    background: #EAF7EC !important;
    color: #126035 !important;
    border: 1px solid rgba(18, 96, 53, .18) !important;
}

.bg-blue-50,
.text-blue-700 {
    background: #EEF5FF !important;
    color: #173A63 !important;
}

.bg-amber-50,
.bg-amber-100,
.badge.bg-amber-100 {
    background: #FFF3D7 !important;
    color: #7A3F00 !important;
    border: 1px solid rgba(122, 63, 0, .18) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #7A1028, #A7193B) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(215, 181, 109, .36) !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.16) !important;
}

.btn-secondary {
    background: #FFFFFF !important;
    color: #4A0715 !important;
    border: 1px solid rgba(111, 15, 36, .18) !important;
    font-weight: 900 !important;
}

.btn-secondary:hover {
    background: #FFF3D7 !important;
    border-color: rgba(215,181,109,.55) !important;
}

.input,
input,
select,
textarea {
    color: #12070A !important;
    font-weight: 650 !important;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
    color: #8C6A72 !important;
    opacity: 1 !important;
}

thead,
thead tr,
.bg-slate-50 {
    background: #FFF3EA !important;
}

table th {
    color: #3A121B !important;
    font-weight: 950 !important;
}

table td {
    color: #241016 !important;
    font-weight: 650 !important;
}

code {
    color: #7A1028 !important;
    background: #FFF3D7 !important;
    border: 1px solid rgba(215, 181, 109, .35) !important;
    padding: 2px 6px !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
}


/* === FINAL FIX: TANPA GERAK SAAT HOVER + KONTRAS LEBIH TEGAS === */

/* 1. Semua kotak/card putih tidak boleh bergerak saat kursor masuk */
.card,
.sb-card,
.cert-compact-card,
.sb-topbar-panel,
.rounded-\[18px\],
.rounded-\[20px\],
.rounded-\[22px\],
.rounded-\[24px\],
.hover\:-translate-y-0\.5,
.hover\:-translate-y-1 {
    transform: none !important;
}

.card:hover,
.sb-card:hover,
.cert-compact-card:hover,
.sb-topbar-panel:hover,
.rounded-\[18px\]:hover,
.rounded-\[20px\]:hover,
.rounded-\[22px\]:hover,
.rounded-\[24px\]:hover,
.hover\:-translate-y-0\.5:hover,
.hover\:-translate-y-1:hover {
    transform: none !important;
    translate: none !important;
}

/* Hilangkan animasi gerak pada area putih, tetapi tetap boleh ada highlight warna */
.card,
.sb-card,
.cert-compact-card {
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.card:hover,
.sb-card:hover,
.cert-compact-card:hover {
    border-color: rgba(122, 16, 40, .38) !important;
    box-shadow: 0 14px 34px rgba(80, 8, 25, .12) !important;
}

/* 2. Kontras warna utama dibuat lebih tegas */
:root {
    --sb-text: #100407 !important;
    --sb-muted: #3F1D27 !important;
    --sb-primary: #6B0D24 !important;
    --sb-primary-2: #961633 !important;
    --sb-accent: #D6A73A !important;
    --sb-bg: #FFF7F2 !important;
    --sb-border: rgba(70, 8, 22, .22) !important;
}

body {
    color: #100407 !important;
    background:
        radial-gradient(circle at 82% 4%, rgba(214,167,58,.18), transparent 28rem),
        radial-gradient(circle at 7% 2%, rgba(107,13,36,.13), transparent 28rem),
        linear-gradient(135deg, #FFFDF9 0%, #FFF7F2 48%, #F6E7E7 100%) !important;
}

/* 3. Semua teks di dalam menu/card dibuat jelas */
.card,
.sb-card,
.cert-compact-card,
.card *,
.sb-card *,
.cert-compact-card * {
    text-shadow: none !important;
}

.card,
.sb-card,
.cert-compact-card {
    background: #FFFFFF !important;
    color: #100407 !important;
    border: 1px solid rgba(70, 8, 22, .16) !important;
}

.card h1,
.card h2,
.card h3,
.card h4,
.sb-card h1,
.sb-card h2,
.sb-card h3,
.cert-compact-title,
.sb-section-title,
.text-slate-950,
.text-slate-900,
.text-slate-800 {
    color: #100407 !important;
    font-weight: 950 !important;
}

.card p,
.card span,
.card label,
.card td,
.card th,
.sb-card p,
.sb-card span,
.sb-card label,
.cert-compact-card p,
.cert-compact-card span,
.text-slate-700,
.text-slate-600,
.text-slate-500 {
    color: #3A1822 !important;
}

/* 4. Subjudul, keterangan, dan meta dibuat tetap jelas tapi tidak pucat */
.text-xs,
.text-sm,
.sb-brand-subtitle,
.login-muted-fixed {
    color: #4B2530 !important;
}

.font-semibold,
.font-bold,
.font-black {
    color: inherit;
}

/* 5. Input/filter lebih terlihat */
.input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="file"],
input[type="search"],
input[type="number"],
select,
textarea {
    background: #FFFFFF !important;
    color: #100407 !important;
    border: 1px solid rgba(70, 8, 22, .24) !important;
    box-shadow: 0 6px 16px rgba(70, 8, 22, .06) !important;
    font-weight: 700 !important;
}

.input::placeholder,
input::placeholder,
textarea::placeholder {
    color: #7A5660 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #D6A73A !important;
    box-shadow: 0 0 0 4px rgba(214, 167, 58, .24) !important;
}

/* 6. Tombol lebih kontras dan tegas */
.btn-primary,
button.btn-primary,
a.btn-primary {
    background: linear-gradient(135deg, #6B0D24, #A31636) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(214,167,58,.55) !important;
    box-shadow: 0 10px 22px rgba(107, 13, 36, .22) !important;
    font-weight: 950 !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover {
    background: linear-gradient(135deg, #7A1028, #B61B3F) !important;
    color: #FFFFFF !important;
    transform: none !important;
}

.btn-secondary,
button.btn-secondary,
a.btn-secondary {
    background: #FFFFFF !important;
    color: #5A0719 !important;
    border: 1px solid rgba(90, 7, 25, .28) !important;
    box-shadow: 0 8px 18px rgba(70, 8, 22, .08) !important;
    font-weight: 950 !important;
}

.btn-secondary:hover,
button.btn-secondary:hover,
a.btn-secondary:hover {
    background: #FFF1D6 !important;
    color: #4A0615 !important;
    border-color: rgba(214,167,58,.70) !important;
    transform: none !important;
}

/* 7. Badge/status jangan samar */
.rounded-full.bg-slate-100,
.bg-slate-100,
.badge.bg-slate-100 {
    background: #F3DFD8 !important;
    color: #250A11 !important;
    border: 1px solid rgba(70, 8, 22, .16) !important;
    font-weight: 950 !important;
}

.bg-emerald-50,
.bg-emerald-100,
.badge.bg-emerald-100 {
    background: #DDF7E7 !important;
    color: #064E2B !important;
    border: 1px solid rgba(6,78,43,.25) !important;
    font-weight: 950 !important;
}

.bg-amber-50,
.bg-amber-100,
.badge.bg-amber-100 {
    background: #FFE8AC !important;
    color: #6B3300 !important;
    border: 1px solid rgba(107,51,0,.25) !important;
    font-weight: 950 !important;
}

.bg-blue-50,
.badge.bg-blue-50 {
    background: #DDEBFF !important;
    color: #0B326B !important;
    border: 1px solid rgba(11,50,107,.20) !important;
    font-weight: 950 !important;
}

.bg-rose-50,
.bg-rose-100,
.badge.bg-rose-100 {
    background: #FFE1E7 !important;
    color: #8B0826 !important;
    border: 1px solid rgba(139,8,38,.22) !important;
    font-weight: 950 !important;
}

.text-emerald-700,
.text-emerald-800 { color: #064E2B !important; }
.text-amber-700,
.text-amber-800 { color: #6B3300 !important; }
.text-blue-700,
.text-blue-800 { color: #0B326B !important; }
.text-rose-700,
.text-rose-800 { color: #8B0826 !important; }
.text-teal-700,
.text-teal-800,
.text-teal-900 { color: #5A0719 !important; }

/* 8. Tabel dibuat lebih jelas */
thead,
thead tr,
.bg-slate-50 {
    background: #FFF0E3 !important;
}

table th {
    color: #21070D !important;
    font-weight: 950 !important;
    letter-spacing: .02em !important;
}

table td {
    color: #1C0A0F !important;
    font-weight: 700 !important;
}

tbody tr:nth-child(even) {
    background: rgba(255, 244, 232, .52) !important;
}

tbody tr:hover {
    background: #FFF1D6 !important;
    transform: none !important;
}

/* 9. Sidebar tetap tegas */
.sb-sidebar {
    background:
        radial-gradient(circle at 90% 92%, rgba(214,167,58,.18), transparent 13rem),
        linear-gradient(180deg, #2A050D 0%, #5A0B1D 48%, #170506 100%) !important;
}

.sb-nav-link:hover,
.sb-nav-link.is-active,
.sb-nav-group.is-active > .sb-nav-toggle,
.sb-nav-group.is-open > .sb-nav-toggle,
.sb-nav-child.is-active {
    transform: none !important;
}

/* 10. Link dan judul kecil lebih terbaca */
a {
    color: #6B0D24;
}

a:hover {
    color: #A31636;
}

code {
    color: #5A0719 !important;
    background: #FFE8AC !important;
    border: 1px solid rgba(107,51,0,.20) !important;
    font-weight: 950 !important;
}


/* === FIX FINAL: CARD TIDAK BERGERAK + WARNA SANGAT JELAS === */
html body .card,
html body .sb-card,
html body .cert-compact-card,
html body [class*="hover:-translate"],
html body .rounded-\[18px\],
html body .rounded-\[20px\],
html body .rounded-\[22px\],
html body .rounded-\[24px\] {
    transform: none !important;
}

html body .card:hover,
html body .sb-card:hover,
html body .cert-compact-card:hover,
html body [class*="hover:-translate"]:hover,
html body .rounded-\[18px\]:hover,
html body .rounded-\[20px\]:hover,
html body .rounded-\[22px\]:hover,
html body .rounded-\[24px\]:hover {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    animation: none !important;
}

html body .card,
html body .sb-card,
html body .cert-compact-card {
    transition-property: border-color, box-shadow, background-color !important;
    transition-duration: .15s !important;
    background: #FFFFFF !important;
    color: #140408 !important;
    border-color: rgba(82, 9, 25, .18) !important;
}

html body .card:hover,
html body .sb-card:hover,
html body .cert-compact-card:hover {
    background: #FFFFFF !important;
    box-shadow: 0 12px 30px rgba(82, 9, 25, .12) !important;
    border-color: rgba(141, 19, 48, .42) !important;
}

/* Kontras diperkuat ulang */
html body,
html body .card,
html body .sb-card,
html body .cert-compact-card {
    color: #140408 !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body .font-black,
html body .font-bold,
html body .cert-compact-title,
html body .sb-section-title,
html body .text-slate-950,
html body .text-slate-900,
html body .text-slate-800 {
    color: #140408 !important;
}

html body .text-slate-500,
html body .text-slate-600,
html body .text-slate-700,
html body p,
html body label {
    color: #3E1722 !important;
}

html body .badge,
html body .rounded-full,
html body .btn-primary,
html body .btn-secondary {
    font-weight: 950 !important;
}

html body .bg-slate-100 {
    background: #F0DDD8 !important;
    color: #22070D !important;
    border: 1px solid rgba(82,9,25,.16) !important;
}

html body .bg-emerald-50,
html body .bg-emerald-100 {
    background: #D8F5E3 !important;
    color: #044E2A !important;
    border: 1px solid rgba(4,78,42,.23) !important;
}

html body .bg-rose-50,
html body .bg-rose-100 {
    background: #FFE0E8 !important;
    color: #8A0627 !important;
    border: 1px solid rgba(138,6,39,.22) !important;
}

html body .bg-amber-50,
html body .bg-amber-100 {
    background: #FFE7A7 !important;
    color: #6B3300 !important;
    border: 1px solid rgba(107,51,0,.22) !important;
}

html body .bg-blue-50,
html body .bg-blue-100 {
    background: #DCEAFF !important;
    color: #07336E !important;
    border: 1px solid rgba(7,51,110,.20) !important;
}

html body .input,
html body input,
html body select,
html body textarea {
    background: #FFFFFF !important;
    color: #140408 !important;
    border: 1px solid rgba(82,9,25,.26) !important;
    font-weight: 750 !important;
}

html body .input::placeholder,
html body input::placeholder,
html body textarea::placeholder {
    color: #72515A !important;
}

html body table th {
    color: #21070D !important;
    font-weight: 950 !important;
}

html body table td {
    color: #1E0B11 !important;
    font-weight: 750 !important;
}

html body thead,
html body thead tr,
html body .bg-slate-50 {
    background: #FFF0E3 !important;
}

.sb-validation-journey {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}
.sb-validation-step {
    border-radius: 16px;
    padding: .72rem .85rem;
    border: 1px solid rgba(82, 9, 25, .14);
    background: #FFF8F2;
}
.sb-validation-step strong {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.sb-validation-step span {
    display: block;
    margin-top: .18rem;
    font-size: .78rem;
    font-weight: 850;
}
.sb-validation-step.is-done {
    background: #D8F5E3;
    border-color: rgba(4,78,42,.22);
}
.sb-validation-step.is-current {
    background: #FFE7A7;
    border-color: rgba(107,51,0,.28);
}
.sb-validation-step.is-rejected {
    background: #FFE0E8;
    border-color: rgba(138,6,39,.24);
}
@media (max-width: 768px) {
    .sb-validation-journey {
        grid-template-columns: 1fr;
    }
}


/* === FINAL CEPAT: TAHAP TEGAS + BACKGROUND CERAH + UI SERAGAM SEPERTI DAFTAR SIDANG === */
html body {
    background:
        radial-gradient(circle at 92% 6%, rgba(214, 167, 58, .12), transparent 360px),
        radial-gradient(circle at 4% 0%, rgba(138, 13, 42, .08), transparent 340px),
        linear-gradient(135deg, #FFFDF9 0%, #FFFBF7 46%, #F7F9FC 100%) !important;
    color: #160408 !important;
}

html body .card,
html body .sb-card,
html body .cert-compact-card,
html body .sb-topbar-panel,
html body .rounded-\[18px\],
html body .rounded-\[20px\],
html body .rounded-\[22px\],
html body .rounded-\[24px\] {
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(126, 17, 43, .16) !important;
    border-radius: 24px !important;
    box-shadow: 0 14px 34px rgba(75, 9, 24, .08) !important;
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    animation: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

html body .card:hover,
html body .sb-card:hover,
html body .cert-compact-card:hover,
html body .sb-topbar-panel:hover,
html body .rounded-\[18px\]:hover,
html body .rounded-\[20px\]:hover,
html body .rounded-\[22px\]:hover,
html body .rounded-\[24px\]:hover {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
    animation: none !important;
    background: #FFFFFF !important;
    border-color: rgba(126, 17, 43, .24) !important;
    box-shadow: 0 14px 34px rgba(75, 9, 24, .10) !important;
}

html body .hover\:-translate-y-0\.5:hover,
html body .hover\:-translate-y-1:hover,
html body [class*="hover:-translate"]:hover {
    transform: none !important;
    translate: none !important;
}

html body .sb-topbar-panel {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFFBF7 100%) !important;
    border-radius: 0 0 24px 24px !important;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body .font-black,
html body .font-bold,
html body .cert-compact-title,
html body .sb-section-title,
html body .text-slate-950,
html body .text-slate-900,
html body .text-slate-800 {
    color: #150408 !important;
    font-weight: 950 !important;
}

html body p,
html body label,
html body .text-slate-500,
html body .text-slate-600,
html body .text-slate-700 {
    color: #421923 !important;
}

html body .input,
html body input[type="text"],
html body input[type="email"],
html body input[type="password"],
html body input[type="date"],
html body input[type="file"],
html body input[type="search"],
html body input[type="number"],
html body select,
html body textarea {
    min-height: 42px !important;
    background: #FFFFFF !important;
    color: #150408 !important;
    border: 1px solid rgba(126, 17, 43, .24) !important;
    border-radius: 14px !important;
    box-shadow: 0 7px 18px rgba(75, 9, 24, .055) !important;
    font-weight: 750 !important;
}

html body .input:focus,
html body input:focus,
html body select:focus,
html body textarea:focus {
    border-color: #D6A73A !important;
    box-shadow: 0 0 0 4px rgba(214,167,58,.24), 0 7px 18px rgba(75, 9, 24, .055) !important;
    outline: none !important;
}

html body .input::placeholder,
html body input::placeholder,
html body textarea::placeholder {
    color: #7A5660 !important;
    opacity: 1 !important;
}

html body .btn-primary,
html body button.btn-primary,
html body a.btn-primary {
    background: linear-gradient(135deg, #7B102A, #A31738) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(214,167,58,.48) !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 22px rgba(126, 17, 43, .20) !important;
    font-weight: 950 !important;
    transform: none !important;
}

html body .btn-primary:hover,
html body button.btn-primary:hover,
html body a.btn-primary:hover {
    background: linear-gradient(135deg, #8B1230, #B61B3F) !important;
    color: #FFFFFF !important;
    transform: none !important;
}

html body .btn-secondary,
html body button.btn-secondary,
html body a.btn-secondary {
    background: #FFFFFF !important;
    color: #650A1C !important;
    border: 1px solid rgba(126, 17, 43, .24) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 18px rgba(75, 9, 24, .06) !important;
    font-weight: 950 !important;
    transform: none !important;
}

html body .btn-secondary:hover,
html body button.btn-secondary:hover,
html body a.btn-secondary:hover {
    background: #FFF2D6 !important;
    color: #520717 !important;
    border-color: rgba(214,167,58,.62) !important;
    transform: none !important;
}

html body table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
}

html body thead,
html body thead tr,
html body .bg-slate-50 {
    background: #F7F3F3 !important;
}

html body table th {
    color: #22070E !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
}

html body table td {
    color: #241017 !important;
    font-weight: 750 !important;
}

html body tbody tr {
    background: #FFFFFF !important;
}

html body tbody tr:nth-child(even) {
    background: #FFF8F2 !important;
}

html body tbody tr:hover {
    background: #FFF2D6 !important;
    transform: none !important;
}

html body .badge,
html body .rounded-full {
    font-weight: 950 !important;
}

html body .bg-slate-100 {
    background: #F0DDD8 !important;
    color: #24070E !important;
    border: 1px solid rgba(126,17,43,.14) !important;
}

html body .bg-emerald-50,
html body .bg-emerald-100 {
    background: #D6F6E1 !important;
    color: #073D24 !important;
    border: 1px solid rgba(4,78,42,.24) !important;
}

html body .bg-rose-50,
html body .bg-rose-100 {
    background: #FFE0E8 !important;
    color: #8A0627 !important;
    border: 1px solid rgba(138,6,39,.24) !important;
}

html body .bg-amber-50,
html body .bg-amber-100 {
    background: #FFE7A7 !important;
    color: #6B3300 !important;
    border: 1px solid rgba(107,51,0,.24) !important;
}

html body .bg-blue-50,
html body .bg-blue-100 {
    background: #DCEAFF !important;
    color: #07336E !important;
    border: 1px solid rgba(7,51,110,.20) !important;
}

html body .sb-validation-journey {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: .75rem !important;
}

html body .sb-validation-step {
    border-radius: 18px !important;
    padding: .85rem 1rem !important;
    border: 2px solid rgba(126,17,43,.22) !important;
    background: #FFE7A7 !important;
    box-shadow: 0 10px 22px rgba(75, 9, 24, .08) !important;
}

html body .sb-validation-step strong {
    display: block !important;
    color: #22070E !important;
    font-size: .74rem !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .10em !important;
}

html body .sb-validation-step span {
    display: block !important;
    margin-top: .22rem !important;
    color: #22070E !important;
    font-size: .84rem !important;
    font-weight: 950 !important;
}

html body .sb-validation-step.is-done {
    background: #CFF3DC !important;
    border-color: #43A36A !important;
}

html body .sb-validation-step.is-current {
    background: #FFE18A !important;
    border-color: #D6A73A !important;
}

html body .sb-validation-step.is-rejected {
    background: #FFD5DF !important;
    border-color: #C0395A !important;
}

html body .cert-compact-card {
    border-radius: 20px !important;
    background: #FFFFFF !important;
}

html body .cert-compact-icon {
    background: #FFF2D6 !important;
    border: 1px solid rgba(214,167,58,.36) !important;
}

html body .sb-nav-link,
html body .sb-nav-child,
html body .sb-nav-toggle {
    transform: none !important;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease !important;
}

@media (max-width: 768px) {
    html body .sb-validation-journey {
        grid-template-columns: 1fr !important;
    }
}


/* === MAHASISWA PORTAL UI === */
html body .sb-mahasiswa-step {
    border-radius: 20px;
    padding: 1rem;
    background: #FFF8F2;
    border: 2px solid rgba(126,17,43,.18);
    box-shadow: 0 10px 22px rgba(75,9,24,.07);
}
html body .sb-mahasiswa-step strong {
    display: block;
    color: #22070E;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
}
html body .sb-mahasiswa-step span {
    display: block;
    margin-top: .35rem;
    color: #160408;
    font-size: .95rem;
    font-weight: 950;
}
html body .sb-mahasiswa-step small {
    display: block;
    margin-top: .25rem;
    color: #421923;
    font-size: .75rem;
    font-weight: 850;
}
html body .sb-mahasiswa-step.is-done {
    background: #D6F6E1;
    border-color: #43A36A;
}
html body .sb-mahasiswa-step.is-current {
    background: #FFE7A7;
    border-color: #D6A73A;
}
html body .sb-mahasiswa-panel-title {
    color: #150408 !important;
    font-weight: 950 !important;
}
html body .sb-mahasiswa-compact-grid {
    display: grid;
    gap: .75rem;
}
@media (min-width: 768px) {
    html body .sb-mahasiswa-compact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    html body .sb-mahasiswa-compact-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* === ROLE MAHASISWA SIMPLE FINAL === */
html body .mahasiswa-top-summary,
html body .mahasiswa-menu-summary {
    display: none !important;
}

html body .card,
html body .sb-card,
html body .cert-compact-card,
html body .rounded-2xl,
html body .rounded-3xl {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
}

html body .card:hover,
html body .sb-card:hover,
html body .cert-compact-card:hover,
html body .rounded-2xl:hover,
html body .rounded-3xl:hover {
    transform: none !important;
    translate: none !important;
    scale: 1 !important;
}

html body .card {
    background: #FFFFFF !important;
    border: 1px solid rgba(126,17,43,.16) !important;
    box-shadow: 0 12px 28px rgba(75,9,24,.08) !important;
}

html body .card h3,
html body .card h2,
html body .card h1,
html body .sb-section-title {
    color: #150408 !important;
    font-weight: 950 !important;
}

html body .card p,
html body .card span,
html body .card div,
html body .card label {
    color: inherit;
}

html body .bg-slate-50 {
    background: #FFF8F2 !important;
}

html body .bg-slate-100 {
    background: #F0DDD8 !important;
    color: #24070E !important;
}

html body .bg-emerald-50,
html body .bg-emerald-100 {
    background: #D6F6E1 !important;
    color: #044E2A !important;
}

html body .bg-amber-50,
html body .bg-amber-100 {
    background: #FFE7A7 !important;
    color: #6B3300 !important;
}

html body .bg-rose-50,
html body .bg-rose-100 {
    background: #FFE0E8 !important;
    color: #8A0627 !important;
}

html body .bg-blue-50,
html body .bg-blue-100 {
    background: #DCEAFF !important;
    color: #07336E !important;
}

@media (min-width: 640px) {
    html body .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}


/* === PEMBERITAHUAN ADMIN DASHBOARD POPUP === */
.sb-pemberitahuan-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}
.sb-pemberitahuan-modal.is-open { display: flex; }
.sb-pemberitahuan-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 4, 8, .58);
    backdrop-filter: blur(8px);
}
.sb-pemberitahuan-dialog {
    position: relative;
    width: min(96vw, 760px);
    max-height: min(86vh, 760px);
    overflow: auto;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(126, 17, 43, .18);
    box-shadow: 0 34px 90px rgba(18, 4, 8, .35);
    padding: 24px;
    color: #140408;
}
.sb-pemberitahuan-x {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    border: 1px solid rgba(126, 17, 43, .18);
    background: #fff;
    color: #650A1C;
    font-size: 24px;
    font-weight: 950;
    cursor: pointer;
}
.sb-pemberitahuan-head {
    padding: 6px 48px 18px 0;
    border-bottom: 1px solid rgba(126, 17, 43, .12);
}
.sb-pemberitahuan-head p {
    margin: 0;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7B102A !important;
}
.sb-pemberitahuan-head h3 {
    margin: 6px 0 0;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 950;
    color: #140408 !important;
}
.sb-pemberitahuan-head span {
    display: inline-flex;
    margin-top: 8px;
    border-radius: 999px;
    background: #FFE7A7;
    color: #6B3300 !important;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 950;
}
.sb-pemberitahuan-list {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}
.sb-pemberitahuan-item {
    border-radius: 22px;
    background: #FFF8F2;
    border: 1px solid rgba(126, 17, 43, .14);
    padding: 16px;
}
.sb-pemberitahuan-title {
    font-size: 17px;
    font-weight: 950;
    color: #140408;
}
.sb-pemberitahuan-body {
    margin-top: 7px;
    white-space: pre-line;
    font-size: 14px;
    line-height: 1.7;
    font-weight: 700;
    color: #3E1722;
}
.sb-pemberitahuan-media { margin-top: 12px; }
.sb-pemberitahuan-media img {
    display: block;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid rgba(126, 17, 43, .16);
    background: #fff;
}
.sb-pemberitahuan-meta {
    margin-top: 10px;
    display: inline-flex;
    border-radius: 999px;
    background: #F0DDD8;
    padding: 5px 10px;
    color: #24070E;
    font-size: 11px;
    font-weight: 950;
}
@media (max-width: 640px) {
    .sb-pemberitahuan-dialog { padding: 18px; border-radius: 22px; }
    .sb-pemberitahuan-head h3 { font-size: 22px; }
}

/* === Dashboard refresh 2026-07-10 === */
.sb-brand-subtitle,
.sb-sidebar-footer,
.sb-sidebar-footer *,
.sb-sidebar-footer .font-bold,
.sb-sidebar-footer .text-white {
    color: #ffffff !important;
}

.sb-dashboard-card {
    background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 100%) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .05) !important;
}

.sb-dashboard-card:hover {
    border-color: rgba(37, 99, 235, .18) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, .10), 0 8px 18px rgba(37, 99, 235, .08) !important;
}

.sb-stat-card {
    position: relative;
    overflow: hidden;
    border-width: 1px !important;
}

.sb-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    opacity: 1 !important;
}

.sb-stat-card::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    opacity: .7;
}

.sb-stat-card--prodi::before { background: linear-gradient(90deg, #0f766e, #14b8a6); }
.sb-stat-card--students::before { background: linear-gradient(90deg, #1d4ed8, #60a5fa); }
.sb-stat-card--review::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.sb-stat-card--final::before { background: linear-gradient(90deg, #15803d, #22c55e); }

.sb-stat-card--prodi::after { background: radial-gradient(circle, rgba(20,184,166,.28) 0%, rgba(20,184,166,.10) 58%, rgba(20,184,166,0) 72%); }
.sb-stat-card--students::after { background: radial-gradient(circle, rgba(59,130,246,.28) 0%, rgba(96,165,250,.10) 58%, rgba(96,165,250,0) 72%); }
.sb-stat-card--review::after { background: radial-gradient(circle, rgba(245,158,11,.28) 0%, rgba(251,191,36,.10) 58%, rgba(251,191,36,0) 72%); }
.sb-stat-card--final::after { background: radial-gradient(circle, rgba(34,197,94,.28) 0%, rgba(74,222,128,.10) 58%, rgba(74,222,128,0) 72%); }

.sb-stat-label {
    color: #1f2937 !important;
    font-size: 14px;
    font-weight: 800;
}

.sb-stat-value {
    color: #111827 !important;
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 950;
}

.sb-stat-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    color: #111827;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.68), 0 10px 18px rgba(15,23,42,.08);
    backdrop-filter: blur(6px);
}

.sb-stat-card--prodi .sb-stat-icon { background: linear-gradient(135deg, rgba(204,251,241,.95), rgba(167,243,208,.78)); }
.sb-stat-card--students .sb-stat-icon { background: linear-gradient(135deg, rgba(219,234,254,.95), rgba(191,219,254,.78)); }
.sb-stat-card--review .sb-stat-icon { background: linear-gradient(135deg, rgba(254,243,199,.96), rgba(253,230,138,.80)); }
.sb-stat-card--final .sb-stat-icon { background: linear-gradient(135deg, rgba(220,252,231,.96), rgba(187,247,208,.80)); }

.sb-period-card .bg-gradient-to-br {
    box-shadow: inset 0 0 0 1px rgba(20, 184, 166, .12), 0 8px 18px rgba(20, 184, 166, .08);
}

#studentsByProdi {
    min-height: 320px;
}


/* === Dashboard fix 2026-07-10b === */
html body .sb-stat-card {
    border-radius: 24px !important;
    padding-top: 22px !important;
}

html body .sb-stat-card.sb-stat-card--prodi {
    background: linear-gradient(135deg, #ffffff 0%, #effcf9 100%) !important;
    border-color: rgba(20, 184, 166, .28) !important;
    box-shadow: 0 16px 34px rgba(20, 184, 166, .12), 0 4px 10px rgba(15, 23, 42, .05) !important;
}

html body .sb-stat-card.sb-stat-card--students {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%) !important;
    border-color: rgba(96, 165, 250, .30) !important;
    box-shadow: 0 16px 34px rgba(59, 130, 246, .12), 0 4px 10px rgba(15, 23, 42, .05) !important;
}

html body .sb-stat-card.sb-stat-card--review {
    background: linear-gradient(135deg, #ffffff 0%, #fff9e8 100%) !important;
    border-color: rgba(245, 158, 11, .30) !important;
    box-shadow: 0 16px 34px rgba(245, 158, 11, .12), 0 4px 10px rgba(15, 23, 42, .05) !important;
}

html body .sb-stat-card.sb-stat-card--final {
    background: linear-gradient(135deg, #ffffff 0%, #effdf3 100%) !important;
    border-color: rgba(34, 197, 94, .28) !important;
    box-shadow: 0 16px 34px rgba(34, 197, 94, .12), 0 4px 10px rgba(15, 23, 42, .05) !important;
}

html body .sb-stat-card::before {
    height: 5px !important;
}

html body .sb-stat-card .mt-1.text-xs,
html body .sb-stat-card .text-xs.font-medium {
    color: #475569 !important;
    font-weight: 600 !important;
}

html body .sb-stat-card .sb-stat-label {
    color: #0f172a !important;
    font-weight: 900 !important;
}

html body .sb-stat-card .sb-stat-value {
    color: #0f172a !important;
}

html body .sb-chart-shell {
    height: 280px;
}

html body .sb-chart-shell canvas {
    width: 100% !important;
    height: 100% !important;
}

html body #studentsByProdi {
    min-height: 0 !important;
}


/* === Dashboard chart restore 2026-07-10c === */
html body .sb-chart-shell {
    width: 100%;
    min-height: 420px;
    height: 420px;
    padding: 18px !important;
}

html body .sb-chart-shell canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}


/* === Dashboard chart fill-right 2026-07-10d === */
html body .sb-chart-shell {
    padding: 14px 12px 10px 12px !important;
}

html body .sb-chart-shell canvas {
    margin: 0 !important;
}


/* === Dashboard full-width line chart 2026-07-10e === */
html body .sb-chart-shell {
    width: 100% !important;
    min-height: 440px !important;
    height: 440px !important;
    padding: 18px 20px 14px !important;
    overflow: hidden;
}

html body .sb-chart-shell canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

html body .sb-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(248, 250, 252, .92);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .18);
}

html body .sb-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155 !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

html body .sb-chart-legend-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 1px 4px rgba(15,23,42,.16);
}

@media (max-width: 768px) {
    html body .sb-chart-shell {
        min-height: 380px !important;
        height: 380px !important;
        padding: 14px 10px 10px !important;
        overflow-x: auto;
    }

    html body .sb-chart-legend {
        gap: 8px 10px;
    }
}


/* === Dashboard chart align with Valid Final 2026-07-10f === */
html body .sb-dashboard-page {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

html body .sb-dashboard-chart-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    gap: 24px !important;
}

html body .sb-dashboard-chart-card,
html body .sb-dashboard-period-row {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

html body .sb-dashboard-chart-card .sb-chart-shell,
html body .sb-dashboard-chart-card .sb-chart-legend {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

html body .sb-dashboard-chart-card canvas#studentsByProdi {
    width: 100% !important;
    max-width: none !important;
}


/* === Dashboard KPI align with chart 2026-07-10g === */
html body .sb-kpi-grid {
    align-items: stretch;
}

html body .sb-kpi-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px !important;
    min-height: 166px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid rgba(148, 163, 184, .20) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .04) !important;
}

html body .sb-kpi-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    border-radius: 999px;
}

html body .sb-kpi-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 136px;
    height: 136px;
    border-radius: 999px;
    opacity: .72;
    pointer-events: none;
}

html body .sb-kpi-card--prodi,
html body .sb-stat-card--prodi {
    background: linear-gradient(135deg, #ffffff 0%, #eefcf8 100%) !important;
    border-color: rgba(20,184,166,.24) !important;
}
html body .sb-kpi-card--prodi::before,
html body .sb-stat-card--prodi::before { background: linear-gradient(90deg, #14b8a6, #67e8f9); }
html body .sb-kpi-card--prodi::after,
html body .sb-stat-card--prodi::after { background: radial-gradient(circle, rgba(167,243,208,.68) 0%, rgba(187,247,208,.35) 52%, rgba(255,255,255,0) 72%); }

html body .sb-kpi-card--students,
html body .sb-stat-card--students {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%) !important;
    border-color: rgba(96,165,250,.24) !important;
}
html body .sb-kpi-card--students::before,
html body .sb-stat-card--students::before { background: linear-gradient(90deg, #60a5fa, #93c5fd); }
html body .sb-kpi-card--students::after,
html body .sb-stat-card--students::after { background: radial-gradient(circle, rgba(191,219,254,.68) 0%, rgba(219,234,254,.35) 52%, rgba(255,255,255,0) 72%); }

html body .sb-kpi-card--review,
html body .sb-stat-card--review {
    background: linear-gradient(135deg, #ffffff 0%, #fff9ea 100%) !important;
    border-color: rgba(245,158,11,.24) !important;
}
html body .sb-kpi-card--review::before,
html body .sb-stat-card--review::before { background: linear-gradient(90deg, #f59e0b, #fcd34d); }
html body .sb-kpi-card--review::after,
html body .sb-stat-card--review::after { background: radial-gradient(circle, rgba(253,230,138,.72) 0%, rgba(254,243,199,.36) 52%, rgba(255,255,255,0) 72%); }

html body .sb-kpi-card--final,
html body .sb-stat-card--final {
    background: linear-gradient(135deg, #ffffff 0%, #eefcf1 100%) !important;
    border-color: rgba(74,222,128,.24) !important;
}
html body .sb-kpi-card--final::before,
html body .sb-stat-card--final::before { background: linear-gradient(90deg, #4ade80, #86efac); }
html body .sb-kpi-card--final::after,
html body .sb-stat-card--final::after { background: radial-gradient(circle, rgba(187,247,208,.72) 0%, rgba(220,252,231,.36) 52%, rgba(255,255,255,0) 72%); }

html body .sb-kpi-label {
    position: relative;
    z-index: 2;
    color: #0f172a !important;
    font-size: 1.18rem;
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -.02em;
}

html body .sb-kpi-title {
    position: relative;
    z-index: 2;
    color: #0f172a !important;
    font-size: clamp(1.15rem, 1rem + .75vw, 1.9rem);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.03em;
    max-width: calc(100% - 68px);
    word-break: break-word;
}

html body .sb-kpi-value {
    position: relative;
    z-index: 2;
    color: #0f172a !important;
    font-size: clamp(2.2rem, 1.5rem + 2.3vw, 4rem);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.05em;
    margin-top: 14px;
    max-width: calc(100% - 72px);
    word-break: break-word;
}

html body .sb-kpi-value--text {
    font-size: clamp(1.55rem, 1.1rem + 1.15vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -.03em;
}

html body .sb-kpi-note {
    position: relative;
    z-index: 2;
    color: #475569 !important;
    font-size: .96rem;
    line-height: 1.42;
    font-weight: 600;
    max-width: calc(100% - 64px);
}

html body .sb-kpi-card .sb-stat-icon,
html body .sb-kpi-card .sb-stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    margin-top: 2px;
    font-size: 1.75rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.68), 0 12px 24px rgba(15,23,42,.10);
}

html body .sb-kpi-card .rounded-full.bg-slate-100,
html body .sb-kpi-card .rounded-full.bg-emerald-50,
html body .sb-kpi-card .rounded-full.bg-amber-50 {
    position: relative;
    z-index: 2;
}

@media (max-width: 1279px) {
    html body .sb-kpi-card {
        min-height: 154px;
    }
    html body .sb-kpi-label {
        font-size: 1.08rem;
    }
}

@media (max-width: 767px) {
    html body .sb-kpi-card {
        min-height: 146px;
        border-radius: 22px !important;
        padding: 18px !important;
    }

    html body .sb-kpi-card::after {
        right: -26px;
        top: -26px;
        width: 120px;
        height: 120px;
    }

    html body .sb-kpi-label {
        font-size: 1rem;
    }

    html body .sb-kpi-note {
        font-size: .88rem;
        max-width: calc(100% - 50px);
    }

    html body .sb-kpi-value {
        max-width: calc(100% - 56px);
    }

    html body .sb-kpi-title {
        max-width: calc(100% - 56px);
    }

    html body .sb-kpi-card .sb-stat-icon {
        width: 48px;
        height: 48px;
        font-size: 1.55rem;
    }
}


/* === Dashboard KPI compact refresh 2026-07-10h === */
html body .sb-kpi-card,
html body .sb-stat-card.sb-kpi-card {
    min-height: 142px !important;
    border-radius: 24px !important;
    padding: 18px 18px 16px !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08), 0 4px 10px rgba(15, 23, 42, .04) !important;
}

html body .sb-kpi-card::before,
html body .sb-stat-card.sb-kpi-card::before {
    height: 5px !important;
}

html body .sb-kpi-card::after,
html body .sb-stat-card.sb-kpi-card::after {
    right: -24px !important;
    top: -24px !important;
    width: 120px !important;
    height: 120px !important;
    opacity: .78 !important;
}

html body .sb-kpi-label {
    font-size: .95rem !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    max-width: calc(100% - 68px);
}

html body .sb-kpi-title {
    font-size: clamp(1.12rem, 1rem + .55vw, 1.55rem) !important;
    line-height: 1.22 !important;
    max-width: calc(100% - 64px) !important;
}

html body .sb-kpi-value {
    font-size: clamp(2.05rem, 1.5rem + 1.35vw, 3rem) !important;
    line-height: .92 !important;
    margin-top: 10px !important;
    max-width: calc(100% - 66px) !important;
}

html body .sb-kpi-value--text {
    font-size: clamp(1.35rem, 1.05rem + .55vw, 1.85rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.02em !important;
}

html body .sb-kpi-note {
    margin-top: 8px !important;
    font-size: .82rem !important;
    line-height: 1.42 !important;
    font-weight: 700 !important;
    max-width: calc(100% - 60px) !important;
}

html body .sb-kpi-card .sb-stat-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 17px !important;
    font-size: 1.55rem !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 10px 22px rgba(15,23,42,.10) !important;
}

html body .sb-kpi-card--prodi,
html body .sb-stat-card--prodi.sb-kpi-card {
    background: linear-gradient(135deg, #ffffff 0%, #edfdfa 100%) !important;
    border-color: rgba(45, 212, 191, .42) !important;
    box-shadow: 0 16px 30px rgba(20, 184, 166, .12), 0 4px 10px rgba(15,23,42,.04) !important;
}

html body .sb-kpi-card--prodi::before,
html body .sb-stat-card--prodi.sb-kpi-card::before {
    background: linear-gradient(90deg, #0f766e, #2dd4bf) !important;
}

html body .sb-kpi-card--prodi::after,
html body .sb-stat-card--prodi.sb-kpi-card::after {
    background: radial-gradient(circle, rgba(153,246,228,.88) 0%, rgba(167,243,208,.42) 52%, rgba(255,255,255,0) 72%) !important;
}

html body .sb-kpi-card--students,
html body .sb-stat-card--students.sb-kpi-card {
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%) !important;
    border-color: rgba(96, 165, 250, .42) !important;
    box-shadow: 0 16px 30px rgba(59, 130, 246, .12), 0 4px 10px rgba(15,23,42,.04) !important;
}

html body .sb-kpi-card--students::before,
html body .sb-stat-card--students.sb-kpi-card::before {
    background: linear-gradient(90deg, #2563eb, #93c5fd) !important;
}

html body .sb-kpi-card--students::after,
html body .sb-stat-card--students.sb-kpi-card::after {
    background: radial-gradient(circle, rgba(191,219,254,.9) 0%, rgba(191,219,254,.44) 52%, rgba(255,255,255,0) 72%) !important;
}

html body .sb-kpi-card--review,
html body .sb-stat-card--review.sb-kpi-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff8e7 100%) !important;
    border-color: rgba(245, 158, 11, .42) !important;
    box-shadow: 0 16px 30px rgba(245, 158, 11, .12), 0 4px 10px rgba(15,23,42,.04) !important;
}

html body .sb-kpi-card--review::before,
html body .sb-stat-card--review.sb-kpi-card::before {
    background: linear-gradient(90deg, #d97706, #facc15) !important;
}

html body .sb-kpi-card--review::after,
html body .sb-stat-card--review.sb-kpi-card::after {
    background: radial-gradient(circle, rgba(253,224,71,.88) 0%, rgba(254,240,138,.42) 52%, rgba(255,255,255,0) 72%) !important;
}

html body .sb-kpi-card--final,
html body .sb-stat-card--final.sb-kpi-card {
    background: linear-gradient(135deg, #ffffff 0%, #eefdf3 100%) !important;
    border-color: rgba(74, 222, 128, .42) !important;
    box-shadow: 0 16px 30px rgba(34, 197, 94, .12), 0 4px 10px rgba(15,23,42,.04) !important;
}

html body .sb-kpi-card--final::before,
html body .sb-stat-card--final.sb-kpi-card::before {
    background: linear-gradient(90deg, #16a34a, #86efac) !important;
}

html body .sb-kpi-card--final::after,
html body .sb-stat-card--final.sb-kpi-card::after {
    background: radial-gradient(circle, rgba(187,247,208,.88) 0%, rgba(220,252,231,.42) 52%, rgba(255,255,255,0) 72%) !important;
}

@media (max-width: 1023px) {
    html body .sb-kpi-card,
    html body .sb-stat-card.sb-kpi-card {
        min-height: 136px !important;
    }
}

@media (max-width: 767px) {
    html body .sb-kpi-card,
    html body .sb-stat-card.sb-kpi-card {
        min-height: 128px !important;
        padding: 16px 16px 14px !important;
        border-radius: 22px !important;
    }

    html body .sb-kpi-card::after,
    html body .sb-stat-card.sb-kpi-card::after {
        width: 104px !important;
        height: 104px !important;
    }

    html body .sb-kpi-label {
        font-size: .9rem !important;
    }

    html body .sb-kpi-note {
        font-size: .78rem !important;
        max-width: calc(100% - 52px) !important;
    }

    html body .sb-kpi-value {
        max-width: calc(100% - 54px) !important;
    }

    html body .sb-kpi-title {
        max-width: calc(100% - 54px) !important;
    }

    html body .sb-kpi-card .sb-stat-icon {
        width: 46px !important;
        height: 46px !important;
        font-size: 1.45rem !important;
    }
}


/* === Dashboard KPI single-line text 2026-07-10i === */
html body .sb-kpi-card .relative.z-10 {
    align-items: flex-start;
}

html body .sb-kpi-card .relative.z-10 > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 64px);
}

html body .sb-kpi-label,
html body .sb-kpi-note {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

html body .sb-kpi-title {
    max-width: 100% !important;
}

html body .sb-kpi-value {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    html body .sb-kpi-card .relative.z-10 > div:first-child {
        max-width: calc(100% - 58px);
    }

    html body .sb-kpi-label {
        font-size: .88rem !important;
    }

    html body .sb-kpi-note {
        font-size: .74rem !important;
    }
}


/* === Workflow tabs and validation compact 2026-07-10j === */
html body .cert-menu-bar--scroll {
    overflow-x: auto;
    scrollbar-width: thin;
}

html body .cert-menu-bar--scroll > div {
    display: inline-flex;
    flex-wrap: nowrap !important;
    min-width: max-content;
}

html body .cert-menu-bar--scroll .cert-tab-button {
    white-space: nowrap;
}

html body .inline-panel { display: none; }
html body .inline-panel.is-active { display: block; }

html body .sb-validation-journey--compact {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

html body .sb-validation-journey--compact .sb-validation-step,
html body .sb-validation-journey--compact .sb-validation-step--detail {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 22px;
    padding: 14px 12px;
}

html body .sb-validation-journey--compact .sb-validation-step strong,
html body .sb-validation-journey--compact .sb-validation-step--detail strong {
    font-size: 1.05rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html body .sb-validation-journey--compact .sb-validation-step span,
html body .sb-validation-journey--compact .sb-validation-step--detail span {
    display: none;
}

html body .sb-validation-step--detail {
    background: #fff;
    color: #7f1d1d;
    border: 1px solid rgba(190, 24, 93, .22);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
    text-decoration: none;
}

html body .sb-validation-step--detail:hover {
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

html body .sb-validation-step.is-done {
    background: #bde5c9;
    border-color: #36a764;
    color: #1f2937;
}

html body .sb-validation-step.is-current {
    background: #f3df9d;
    border-color: #d9ab38;
    color: #1f2937;
}

html body .sb-validation-step.is-rejected {
    background: #efc7d3;
    border-color: #cc4168;
    color: #1f2937;
}

@media (max-width: 1023px) {
    html body .sb-validation-journey--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    html body .sb-validation-journey--compact {
        grid-template-columns: 1fr;
    }

    html body .sb-validation-journey--compact .sb-validation-step,
    html body .sb-validation-journey--compact .sb-validation-step--detail {
        min-height: 72px;
    }
}


/* === Validation steps compact fix 2026-07-11a === */
html body .sb-validation-journey--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body .sb-validation-journey--compact .sb-validation-step,
html body .sb-validation-journey--compact .sb-validation-step--detail {
    min-height: 54px !important;
    padding: 10px 12px !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    text-align: center !important;
}

html body .sb-validation-journey--compact .sb-validation-step strong,
html body .sb-validation-journey--compact .sb-validation-step--detail strong {
    display: block !important;
    font-size: .92rem !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    letter-spacing: .06em !important;
}

html body .sb-validation-journey--compact .sb-validation-step span,
html body .sb-validation-journey--compact .sb-validation-step--detail span {
    display: none !important;
}

html body .sb-validation-step--detail {
    background: #f5df9b !important;
    border: 2px solid #e3ba63 !important;
    color: #2b1a08 !important;
}

@media (max-width: 1023px) {
    html body .sb-validation-journey--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 639px) {
    html body .sb-validation-journey--compact {
        grid-template-columns: 1fr !important;
    }

    html body .sb-validation-journey--compact .sb-validation-step,
    html body .sb-validation-journey--compact .sb-validation-step--detail {
        min-height: 50px !important;
        padding: 9px 10px !important;
    }

    html body .sb-validation-journey--compact .sb-validation-step strong,
    html body .sb-validation-journey--compact .sb-validation-step--detail strong {
        font-size: .85rem !important;
    }
}


/* === Assessment horizontal toggle toolbar 2026-07-11b === */
html body .sb-toggle-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid rgba(126, 17, 43, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 24px rgba(75, 9, 24, .06);
    scrollbar-width: thin;
}

html body .sb-toggle-group {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 15px;
    background: #f5e8e4;
    box-shadow: inset 0 0 0 1px rgba(126, 17, 43, .10);
}

html body .sb-toggle-group--secondary {
    display: none;
}

html body .sb-toggle-group--secondary.is-visible {
    display: inline-flex;
}

html body .sb-toggle-toolbar::before {
    content: "";
    width: 1px;
    height: 30px;
    order: 2;
    flex: 0 0 1px;
    background: rgba(126, 17, 43, .16);
}

html body .sb-toggle-group--primary { order: 1; }
html body .sb-toggle-group--secondary { order: 3; }

html body .sb-toggle-button {
    appearance: none;
    border: 0;
    border-radius: 11px;
    background: transparent;
    padding: 9px 14px;
    color: #5f182a;
    font-size: .86rem;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

html body .sb-toggle-button:hover {
    background: rgba(255, 255, 255, .72);
}

html body .sb-toggle-button.is-active {
    background: #9f1239;
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(159, 18, 57, .20);
}

html body .sb-toggle-button:active {
    transform: translateY(1px);
}

@media (max-width: 700px) {
    html body .sb-toggle-toolbar {
        gap: 8px;
        padding: 8px;
        border-radius: 17px;
    }

    html body .sb-toggle-toolbar::before {
        height: 26px;
    }

    html body .sb-toggle-button {
        padding: 8px 11px;
        font-size: .8rem;
    }
}


/* === Stage subtitles and stage-style menu bars 2026-07-11c === */
html body .sb-validation-journey--compact .sb-validation-step {
    min-height: 66px !important;
    padding: 9px 12px !important;
}

html body .sb-validation-journey--compact .sb-validation-step strong {
    display: block !important;
    margin: 0 !important;
    font-size: .88rem !important;
    line-height: 1.1 !important;
    letter-spacing: .07em !important;
}

html body .sb-validation-journey--compact .sb-validation-step span {
    display: block !important;
    margin-top: 5px !important;
    color: #42121d !important;
    font-size: .75rem !important;
    line-height: 1.15 !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap;
}

html body .sb-validation-journey--compact .sb-validation-step--detail {
    min-height: 66px !important;
}

html body .sb-validation-journey--compact .sb-validation-step--detail span {
    display: none !important;
}

html body .sb-stage-menu {
    width: 100%;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
}

html body .sb-stage-menu-track,
html body .sb-stage-menu-group {
    display: grid;
    gap: 12px;
    align-items: stretch;
}

html body .sb-stage-menu--two .sb-stage-menu-track {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    min-width: 520px;
}

html body .sb-stage-menu--one .sb-stage-menu-track {
    grid-template-columns: minmax(280px, 1fr);
}

html body .sb-stage-menu--assessment {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

html body .sb-stage-menu--assessment .sb-stage-menu-group {
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    flex: 1 1 50%;
    min-width: 430px;
}

html body .sb-stage-menu-group--secondary {
    display: none;
}

html body .sb-stage-menu-group--secondary.is-visible {
    display: grid;
}

html body .sb-stage-menu-button {
    appearance: none;
    width: 100%;
    min-height: 54px;
    border: 2px solid transparent;
    border-radius: 18px;
    padding: 10px 14px;
    color: #281018;
    font-size: .9rem;
    line-height: 1.15;
    font-weight: 950;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(75, 9, 24, .06);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, border-color .16s ease;
}

html body .sb-stage-menu-button:hover {
    transform: translateY(-1px);
    filter: saturate(1.08);
    box-shadow: 0 12px 22px rgba(75, 9, 24, .10);
}

html body .sb-stage-menu-button.is-active {
    box-shadow: 0 0 0 3px rgba(255,255,255,.92), 0 0 0 5px rgba(126,17,43,.22), 0 12px 24px rgba(75,9,24,.12);
}

html body .sb-stage-menu-button--green {
    background: #c9efd7;
    border-color: #43a66b;
}

html body .sb-stage-menu-button--pink {
    background: #f7c8d5;
    border-color: #cf3e68;
}

html body .sb-stage-menu-button--yellow {
    background: #ffe4a7;
    border-color: #e3b66a;
}

html body .sb-stage-menu-button--gold {
    background: #f4dc94;
    border-color: #dfa93b;
}

@media (max-width: 1023px) {
    html body .sb-stage-menu--assessment {
        min-width: 860px;
    }
}

@media (max-width: 639px) {
    html body .sb-validation-journey--compact .sb-validation-step,
    html body .sb-validation-journey--compact .sb-validation-step--detail {
        min-height: 60px !important;
    }

    html body .sb-validation-journey--compact .sb-validation-step span {
        font-size: .72rem !important;
    }

    html body .sb-stage-menu-button {
        min-height: 50px;
        padding: 9px 12px;
        border-radius: 16px;
        font-size: .82rem;
    }
}


/* === Distinct assessment menu colors 2026-07-11c === */
html body .sb-stage-menu-button--green {
    background: linear-gradient(135deg, #c8f3d8 0%, #a7e8c2 100%) !important;
    border-color: #25965a !important;
    color: #103d27 !important;
}

html body .sb-stage-menu-button--pink {
    background: linear-gradient(135deg, #f6c5dc 0%, #eea9ca 100%) !important;
    border-color: #c72e66 !important;
    color: #5a1230 !important;
}

html body .sb-stage-menu-button--orange {
    background: linear-gradient(135deg, #ffd7a6 0%, #ffbe73 100%) !important;
    border-color: #e67b1f !important;
    color: #5f2b05 !important;
}

html body .sb-stage-menu-button--purple {
    background: linear-gradient(135deg, #d9c8ff 0%, #bca2f2 100%) !important;
    border-color: #7750c7 !important;
    color: #321a66 !important;
}

html body .sb-stage-menu-button--cyan {
    background: linear-gradient(135deg, #bdeff7 0%, #8edce9 100%) !important;
    border-color: #168ca2 !important;
    color: #0b4653 !important;
}

html body .sb-stage-menu-button--red {
    background: linear-gradient(135deg, #ffc4bd 0%, #f39a90 100%) !important;
    border-color: #c94d42 !important;
    color: #641f18 !important;
}

html body .sb-stage-menu-button.is-active {
    filter: saturate(1.12) contrast(1.03);
    box-shadow: 0 0 0 3px rgba(255,255,255,.96), 0 0 0 6px rgba(75,9,24,.24), 0 13px 25px rgba(75,9,24,.14) !important;
}


/* === Berita Acara compact student list 2026-07-12 === */
html body .sb-ba-list-card {
    position: relative;
    overflow: visible !important;
    padding: 13px 15px !important;
    border: 1px solid rgba(15, 118, 110, .22) !important;
    border-left: 5px solid #0f766e !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffd 100%) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .055) !important;
}

html body .sb-ba-list-card:hover {
    border-color: rgba(15, 118, 110, .40) !important;
    border-left-color: #0d9488 !important;
    box-shadow: 0 12px 26px rgba(15, 118, 110, .10) !important;
    transform: translateY(-1px);
}

html body .sb-ba-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

html body .sb-ba-student {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

html body .sb-ba-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
    color: #0f766e !important;
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%) !important;
    box-shadow: 0 6px 14px rgba(15, 118, 110, .14) !important;
}

html body .sb-ba-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    font-weight: 950 !important;
    letter-spacing: -.01em;
}

html body .sb-ba-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

html body .sb-ba-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border-radius: 999px;
    padding: 3px 8px;
    color: #334155 !important;
    background: #f1f5f9 !important;
    border: 1px solid rgba(148, 163, 184, .24);
    font-size: .72rem !important;
    line-height: 1.15;
    font-weight: 850 !important;
    white-space: nowrap;
}

html body .sb-ba-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex: 0 0 auto;
}

html body .sb-ba-action {
    min-height: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
    padding: 0 11px !important;
    font-size: .72rem !important;
    line-height: 32px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    box-shadow: 0 5px 12px rgba(75, 9, 24, .07) !important;
}

html body summary.sb-ba-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

html body .sb-ba-actions details[open] > summary.sb-ba-action {
    border-color: rgba(126, 17, 43, .40) !important;
    background: #fff7f8 !important;
}

@media (max-width: 767px) {
    html body .sb-ba-list-card {
        padding: 12px !important;
    }

    html body .sb-ba-list-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    html body .sb-ba-actions {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
        scrollbar-width: thin;
    }

    html body .sb-ba-action {
        flex: 0 0 auto;
    }

    html body .sb-ba-name {
        white-space: normal;
    }
}


/* === Berita Acara numbered schedule list 2026-07-12 === */
html body .sb-ba-number {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #0f172a !important;
    background: linear-gradient(135deg, #d5f5ec 0%, #a7ead7 100%) !important;
    border: 1px solid rgba(15, 118, 110, .32);
    box-shadow: 0 6px 14px rgba(15, 118, 110, .12);
    font-size: .84rem;
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    html body .sb-ba-number {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 11px;
        font-size: .78rem;
    }
}


/* === Visible list numbering fix 2026-07-12 === */
html body .sb-list-number {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    color: #5f1024 !important;
    background: linear-gradient(135deg, #fff1c9 0%, #f5d27b 100%) !important;
    border: 1px solid rgba(181, 126, 17, .42) !important;
    box-shadow: 0 7px 16px rgba(126, 79, 8, .13) !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: .9rem !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    font-variant-numeric: tabular-nums !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html body .sb-list-number::before,
html body .sb-list-number::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 767px) {
    html body .sb-list-number {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        flex-basis: 34px !important;
        border-radius: 11px !important;
        font-size: .82rem !important;
    }
}

/* ========== Preview card style matching requested sample (v6.8) ========== */
.sb-preview-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid rgba(13, 148, 136, 0.28);
    border-left: 5px solid #0f9d8f;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
    padding: 14px 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
}
.sb-preview-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    justify-content: space-between;
}
.sb-preview-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}
.sb-preview-number {
    width: 38px;
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(180deg, #bcefe2, #a7e7d7);
    color: #0f172a;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(13,148,136,.20), 0 6px 18px rgba(16,185,129,.12);
}
.sb-preview-name {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    color: #111827;
    margin: 0;
}
.sb-preview-tags {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sb-preview-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #e5e7eb;
    color: #334155;
    padding: 3px 10px;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
}
.sb-preview-grid {
    flex: 1 1 auto;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.sb-preview-grid.is-simple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sb-preview-cell { min-width: 0; }
.sb-preview-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 800;
    color: #6b7280;
    margin-bottom: 4px;
}
.sb-preview-value {
    font-size: 14px;
    line-height: 1.35;
    color: #1f2937;
    font-weight: 800;
}
.sb-preview-sub {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: #64748b;
}
.sb-preview-multiline {
    white-space: pre-line;
}
.sb-preview-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.sb-preview-btn {
    min-height: 40px;
    border-radius: 14px !important;
    padding: 0 16px !important;
    font-weight: 800 !important;
}

@media (max-width: 1199px) {
    .sb-preview-main {
        flex-direction: column;
        align-items: flex-start;
    }
    .sb-preview-grid,
    .sb-preview-grid.is-simple {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sb-preview-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .sb-preview-card {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }
    .sb-preview-left {
        align-items: flex-start;
    }
    .sb-preview-grid,
    .sb-preview-grid.is-simple {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sb-preview-btn {
        width: auto;
    }
}


/* === Unified compact record cards V4 (2026-07-12) === */
html body .sb-preview-card {
    border: 1px solid rgba(13, 148, 136, .28) !important;
    border-left: 5px solid #0f9d8f !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .05) !important;
    padding: 12px 14px !important;
}

html body .sb-preview-card--detailed {
    display: grid !important;
    grid-template-columns: minmax(220px, 1.2fr) minmax(0, 3fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 82px !important;
}

html body .sb-preview-card--detailed > .sb-preview-main {
    display: contents !important;
}

html body .sb-preview-card--simple {
    display: block !important;
    min-height: 74px !important;
}

html body .sb-preview-card--simple > .sb-preview-main {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-width: 0 !important;
}

html body .sb-preview-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}

html body .sb-preview-card--detailed .sb-preview-left {
    max-width: 285px !important;
}

html body .sb-preview-number {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #c9f4e8 0%, #a9ead8 100%) !important;
    border: 1px solid rgba(13, 148, 136, .24) !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    box-shadow: 0 5px 14px rgba(13, 148, 136, .10) !important;
}

html body .sb-preview-name {
    color: #111827 !important;
    font-size: .95rem !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
    letter-spacing: -.01em !important;
}

html body .sb-preview-tags {
    margin-top: 5px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
}

html body .sb-preview-tag {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    color: #334155 !important;
    padding: 3px 9px !important;
    font-size: .67rem !important;
    line-height: 1.1 !important;
    font-weight: 850 !important;
    white-space: normal !important;
}

html body .sb-preview-card--detailed .sb-preview-grid,
html body .sb-preview-card--detailed .sb-preview-grid.is-simple {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)) !important;
    gap: 9px 12px !important;
    align-items: start !important;
}

html body .sb-preview-cell {
    min-width: 0 !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(148, 163, 184, .22) !important;
}

html body .sb-preview-label {
    margin: 0 0 3px !important;
    color: #64748b !important;
    font-size: .60rem !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
}

html body .sb-preview-value {
    color: #1f2937 !important;
    font-size: .79rem !important;
    line-height: 1.32 !important;
    font-weight: 850 !important;
    overflow-wrap: anywhere !important;
}

html body .sb-preview-sub {
    margin-top: 2px !important;
    color: #64748b !important;
    font-size: .69rem !important;
    line-height: 1.32 !important;
    overflow-wrap: anywhere !important;
}

html body .sb-preview-multiline {
    white-space: pre-line !important;
    max-height: 4.1em !important;
    overflow-y: auto !important;
    padding-right: 3px !important;
}

html body .sb-preview-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    min-width: max-content !important;
}

html body .sb-preview-btn {
    min-height: 36px !important;
    height: 36px !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    font-size: .78rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

@media (max-width: 1199px) {
    html body .sb-preview-card--detailed {
        grid-template-columns: minmax(220px, 1fr) auto !important;
        align-items: start !important;
    }

    html body .sb-preview-card--detailed .sb-preview-grid {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)) !important;
        padding-top: 4px !important;
    }

    html body .sb-preview-card--detailed > .sb-preview-actions {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
}

@media (max-width: 767px) {
    html body .sb-preview-card,
    html body .sb-preview-card--detailed,
    html body .sb-preview-card--simple {
        display: block !important;
        padding: 12px !important;
    }

    html body .sb-preview-card--detailed > .sb-preview-main,
    html body .sb-preview-card--simple > .sb-preview-main {
        display: block !important;
    }

    html body .sb-preview-left {
        align-items: flex-start !important;
    }

    html body .sb-preview-card--detailed .sb-preview-left {
        max-width: none !important;
    }

    html body .sb-preview-card--detailed .sb-preview-grid,
    html body .sb-preview-card--detailed .sb-preview-grid.is-simple {
        margin-top: 12px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body .sb-preview-actions {
        margin-top: 12px !important;
        justify-content: flex-start !important;
        min-width: 0 !important;
    }
}

@media (max-width: 480px) {
    html body .sb-preview-card--detailed .sb-preview-grid,
    html body .sb-preview-card--detailed .sb-preview-grid.is-simple {
        grid-template-columns: 1fr !important;
    }
}


/* v7.2 - compact verification icon and certificate list styling */
.sb-status-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.sb-status-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}
.sb-status-icon--verified {
    background: linear-gradient(180deg, #dcfce7, #bbf7d0);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, .28);
}
.sb-preview-cell--verify {
    max-width: 96px;
    min-width: 84px;
}
.sb-preview-cell--verify .badge {
    white-space: nowrap;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
@media (min-width: 1200px) {
    .sb-preview-card--detailed .sb-preview-grid {
        grid-template-columns: minmax(78px, .8fr) minmax(180px, 1.15fr) minmax(88px, .75fr) minmax(220px, 1.35fr);
    }
    .sb-preview-card--detailed .sb-preview-grid:not(.is-simple) {
        grid-template-columns: minmax(72px, .7fr) minmax(150px, 1fr) minmax(88px, .75fr) minmax(190px, 1.1fr) minmax(140px, .9fr) minmax(220px, 1.3fr) minmax(120px, .8fr);
    }
}
