:root {
    --sidebar-width: 240px;

    --sidebar: #172554;
    --theme: #10b981;
    --theme-dark: #10b981;
    
    --brand-dark: #172554;
    --brand-dark-soft: #0e4a5f;
    --brand-accent: #10b981;
    --brand-accent-soft: #d1fae5;
    --border-soft: #e2e8f0;
    --text-muted: #64748b;

    --ink-900: #111827;
    --ink-700: #374151;
    --ink-500: #6b7280;
    --ink-400: #9ca3af;

    --line: #e5e7eb;
    --line-soft: #eef0f2;
    --bg-page: #f6f7f8;
    --bg-card: #ffffff;

    --radius-sm: 3px;
    --radius-md: 5px;
}

* { box-sizing: border-box; }

/* PENTING: jangan pakai height:100% di sini, cukup min-height */
html, body {
    min-height: 100%;
    margin: 0;
    background: var(--bg-page);
    color: var(--ink-700);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: .925rem;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink-900);
    font-weight: 700;
    letter-spacing: -0.015em;
}

a { text-decoration: none; color: var(--theme);}

.btn, .dropdown-menu, .accordion-button, .accordion-item {
    border-radius: var(--radius-sm) !important;
}

/* =====================================================================
   WRAPPER — kunci utama full height
   ===================================================================== */
.app-wrapper {
    display: flex;
    align-items: stretch;   /* default flexbox, tapi ditegaskan */
    min-height: 100vh;      /* boleh vh di sini karena ini WRAPPER, bukan sidebar */
}

/* =====================================================================
   SIDEBAR — TIDAK ADA height/min-height/position eksplisit
   Tinggi sidebar sepenuhnya diserahkan ke flexbox stretch dari .app-wrapper
   ===================================================================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar);
    color: #d1fae5;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: margin-left .2s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1.25rem 1.25rem 0.5rem 1.25rem;
    /* border-bottom: 1px solid rgba(255, 255, 255, .12); */
}

.sidebar-logo {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(255, 255, 255, .12); */
    background: var(--theme);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    flex-shrink: 0;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-name {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: -0.01em;
}

.brand-tag {
    color: rgba(255, 255, 255, .55);
    font-size: .6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sidebar-nav {
    flex-grow: 1;
    padding: .75rem .75rem 1rem;
}

.sidebar-section-label {
    color: rgba(255, 255, 255, .45);
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 1rem .6rem .4rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .62rem .6rem;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: .875rem;
    border-left: 2px solid transparent;
    /* border-radius: var(--radius-sm); */
}

.sidebar-link i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.sidebar-link.active {
    background: rgba(255, 255, 255, .1);
    border-left-color: var(--theme);
    color: #fff;
}

.accordion-item {
    background: transparent;
    border: none;
}

.accordion-button {
    display: flex;
    align-items: center;
    gap: .7rem;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: .875rem;
    box-shadow: none !important;
    padding: .62rem .6rem;
}


.accordion-button i {
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.accordion-button:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.accordion-button::after {
    width: .8rem;
    height: .8rem;
    background-size: .8rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    /* filter: brightness(.5); */
    filter: brightness(.7);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.accordion-body {
    padding: .15rem 0 .5rem;
}

.sidebar-sublink {
    display: block;
    padding: .48rem .6rem .48rem 2.5rem;
    color: rgba(255, 255, 255, .62);
    font-size: .84rem;
    border-left: 2px solid transparent;
    /* border-radius: var(--radius-sm); */
}

.sidebar-sublink:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.sidebar-sublink.active {
    color: #fff;
    font-weight: 600;
    border-left-color: var(--theme);
    /* background: rgba(255, 255, 255, .08); */
}

.sidebar-footer {
    padding: .9rem 1.25rem;
    /* border-top: 1px solid rgba(255, 255, 255, .12); */
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.sidebar-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}

.sidebar-user-name {
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    color: rgba(255, 255, 255, .55);
    font-size: .72rem;
}

/* =====================================================================
   CONTENT
   ===================================================================== */
.app-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-topbar {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .8rem 1.5rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    /* position: sticky; */
    top: 0;
    z-index: 10;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-500);
    font-size: 1rem;
}

.btn-icon:hover {
    background: var(--slate-050);
    color: var(--ink-900);
}

.breadcrumb {
    font-size: .82rem;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--ink-500);
}

.breadcrumb-item.active {
    color: var(--ink-900);
    font-weight: 600;
}

.topbar-user-btn {
    display: flex;
    align-items: center;
    gap: .55rem;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .35rem .7rem .35rem .35rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--ink-900);
}

.topbar-user-btn:hover {
    background: var(--slate-050);
}

.topbar-avatar {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-800);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}

/* =====================================================================
   MAIN
   ===================================================================== */
.app-main {
    padding: 1.75rem;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-title {
    font-size: 1.4rem;
    margin-bottom: .2rem;
}

.page-subtitle {
    color: var(--ink-500);
    font-size: .87rem;
    margin-bottom: 0;
}

.btn-primary-flat {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: var(--emerald-800);
    border: 1px solid var(--emerald-800);
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem 1rem;
}

.btn-primary-flat:hover {
    background: var(--emerald-900);
    color: #fff;
}

/* Panel */
.panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.3rem;
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.panel-title {
    font-size: 1rem;
    margin-bottom: .1rem;
}

.panel-subtitle {
    color: var(--ink-500);
    font-size: .8rem;
}

.table-tools .form-control {
    border-radius: var(--radius-sm);
    font-size: .85rem;
    max-width: 220px;
}

/* Table */
.table-flat {
    margin-bottom: 0;
    font-size: .87rem;
}

.table-flat thead th {
    color: var(--ink-500);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 1px solid var(--line);
    padding: .7rem .6rem;
    white-space: nowrap;
}

.table-flat tbody td {
    padding: .65rem .6rem;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-700);
    vertical-align: middle;
}

.table-flat tbody tr:last-child td {
    border-bottom: none;
}

.table-flat tbody tr:hover {
    background: var(--bg-page);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    padding: .25rem .55rem;
    border-radius: var(--radius-sm);
    font-size: .72rem;
    font-weight: 600;
}

.badge-status-aktif { background: var(--emerald-050); color: var(--emerald-800); }
.badge-status-lulus { background: var(--slate-050); color: var(--slate-600); }

.action-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--ink-500);
    margin-right: 4px;
}

.action-icons a:hover {
    background: var(--bg-page);
    color: var(--ink-900);
}

/* Panel tall (contoh 600px) */
.panel-tall {
    height: 100%;
}

.tall-content {
    height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Bar chart sederhana */
.bar-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.1rem;
}

.bar-label {
    width: 32px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-700);
    flex-shrink: 0;
}

.bar-track {
    flex-grow: 1;
    height: 10px;
    background: var(--bg-page);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--emerald-700);
    border-radius: var(--radius-sm);
}

.bar-value {
    width: 28px;
    text-align: right;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-900);
    flex-shrink: 0;
}

/* Activity list */
.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line-soft);
}

.activity-list li:last-child { border-bottom: none; padding-bottom: 0; }
.activity-list li:first-child { padding-top: 0; }

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: .4rem;
    flex-shrink: 0;
}

.activity-dot-emerald { background: var(--emerald-700); }
.activity-dot-amber   { background: var(--amber-600); }
.activity-dot-slate   { background: var(--slate-600); }

.activity-text {
    font-size: .84rem;
    color: var(--ink-700);
    margin-bottom: .1rem;
}

.activity-time {
    font-size: .74rem;
    color: var(--ink-400);
}

/* =====================================================================
   MOBILE
   ===================================================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 30, 22, .45);
    z-index: 1040;
}

@media (max-width: 991.98px) {
    .sidebar {
        position: fixed;
        z-index: 1050;
        height: 100vh;
        margin-left: calc(-1 * var(--sidebar-width));
    }

    .sidebar.show {
        margin-left: 0;
    }

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

/* custom */
.btn{
    font-size: 0.9rem !important;
    border-radius: 0.3rem !important;
}
.form-control{
    border-radius: 0.3rem !important;
}
.grid-view{
    font-size: 0.9rem !important;
}
.grid-view .filters td{
    padding-top: 0px !important;
    border-top: 1px solid transparent !important;
}
.grid-view a{
    color: var(--theme) !important;
}
form .form-group{
    margin-bottom: 0.375rem !important;
}
.btn-success, .btn-primary{
    background: var(--theme) !important;
    border-color: var(--theme) !important;
}
.bg-theme{
    background: var(--theme);
}
.bg-theme-dark{
    background: var(--theme-dark);
}
.breadcrumb{
    padding: 0.7rem 0rem;
    background: #fff;
}
.help-block{
    color: red;
}
.table thead tr {
    background: #1a1a2e;
    color: #fff;
}
.table thead th {
    border: none;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 14px;
    color: var(--theme);
}
.table tbody td {
    font-size: 13px;
    padding: 9px 14px;
    vertical-align: middle;
    border-color: #f0f0f0;
}
.table tbody tr:hover {
    background: #f8f9ff;
}
.form-control{
    padding: 0.25rem 0.5rem !important;
}
.pagination {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    color: #495057;
    background-color: #fff;
    border: 1px solid #dee2e6;
    /* border-radius: 6px; */
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #212529;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.pagination .page-item .page-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
    border: 1px solid #dee2e6 !important;
    /* border-radius: 6px; */
    background-color: #fff;
    color: #495057;
}

.pagination .page-item.disabled .page-link,
.pagination .page-item.disabled span.page-link {
    color: #adb5bd !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    opacity: 1;
}
.table table {
    table-layout: auto !important;
    width: 100%;
}

.table th {
    white-space: normal;
    /* min-width: 60px;
    max-width: 200px; */
    /* word-wrap: break-word; */
    /* background-color: #f5f5f5; */
}

.table td {
    white-space: nowrap;
    /* padding: 8px 10px; */
}
.table{
    --bs-table-striped-bg: #fff !important;
}
.table-responsive{
    overflow-y: none;
}
.grid-view .dropdown-toggle::after {
    display: none;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.site-login {
    min-height: 100vh;
    margin: 0;
}

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    min-height: 100vh;
    padding: 2rem 1.5rem;
}

.login-form-wrap {
    width: 100%;
    max-width: 400px;
}

.login-brand-icon-sm {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--theme);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}

.login-social-btn {
    font-weight: 500;
    font-size: .9rem;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.login-social-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.login-divider {
    position: relative;
    text-align: center;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    border-top: 1px solid #e2e8f0;
}

.login-divider span {
    position: relative;
    background: #fff;
    padding: 0 .75rem;
    font-size: .78rem;
    color: #94a3b8;
}

.login-input-group .input-group-text {
    background: #f8fafc;
    border-right: none;
    color: #64748b;
}

.login-input-group .form-control {
    border-left: none;
    border-right: none;
    padding-top: .65rem;
    padding-bottom: .65rem;
}

.login-input-group .form-control:focus {
    box-shadow: none;
    border-color: #a5b4fc;
}

.login-input-group:focus-within .input-group-text {
    border-color: #a5b4fc;
    color: var(--theme);
}

.login-toggle-pass {
    background: #f8fafc;
    border-left: none;
    cursor: pointer;
    color: #94a3b8;
}

.login-input-group .form-control,
.login-input-group .input-group-text {
    transition: border-color .15s ease, color .15s ease;
}

.login-forgot-link {
    color: var(--theme);
    text-decoration: none;
}

.login-forgot-link:hover {
    text-decoration: underline;
}

.login-btn {
    background: linear-gradient(135deg, var(--theme), var(--theme));
    border: none;
    padding: .75rem 1rem;
    font-weight: 600;
    letter-spacing: .01em;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.5);
    transition: transform .15s ease, box-shadow .15s ease;
}

.login-btn:hover,
.login-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(79, 70, 229, 0.6);
    color: #fff;
}

.login-btn:active {
    transform: translateY(0);
}

/* Illustration panel */
.login-illustration-panel {
    background: linear-gradient(155deg, var(--sidebar) 0%, var(--sidebar) 60%, var(--sidebar) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.login-illustration-panel::before {
    content: '';
    position: absolute;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.login-illustration-graphic {
    position: relative;
    width: 260px;
    height: 180px;
}

.login-node {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    z-index: 2;
}

.login-node-1 { top: 0; left: 0; }
.login-node-2 { top: 55px; left: -20px; }
.login-node-3 { top: 110px; left: 0; }

.login-node-line {
    position: absolute;
    top: 55px; left: 22px;
    width: 60px; height: 2px;
    background: rgba(255,255,255,0.3);
}

.login-preview-card {
    position: absolute;
    top: 20px; right: 0;
    width: 150px;
    background: #fff;
    border-radius: 10px;
    padding: .5rem;
    box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.35);
}

.login-preview-card-header {
    display: flex;
    gap: 4px;
    margin-bottom: .5rem;
}

.login-preview-card-header span {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

.login-preview-card-row {
    height: 8px;
    border-radius: 4px;
    background: #eef2ff;
    margin-bottom: 6px;
}

.login-brand-title { font-size: 1.5rem; line-height: 1.3; color: #fff;}
.login-brand-text  { font-size: .9rem; line-height: 1.6; max-width: 280px; }

.login-dots span {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    margin: 0 3px;
}

.login-dots span.active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}

.dash-wrap { color: #0f172a; }

.dash-wrap h3.page-title {
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 4px;
}
.dash-wrap .page-subtitle {
    color: var(--text-muted);
    font-size: .875rem;
    margin-bottom: 1.5rem;
}

/* Kartu dasar: border tipis, radius kecil, shadow nyaris tak ada */
.dash-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(8, 51, 68, 0.04);
    height: 100%;
}
.dash-card .dash-card-body { padding: 16px 18px; }

.dash-card-header {
    padding: 10px 18px;
    border-bottom: 1px solid var(--border-soft);
    font-weight: 600;
    font-size: .875rem;
    color: var(--brand-dark);
    background: transparent;
}

/* Label & angka */
.dash-label {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .02em;
    margin-bottom: 4px;
}
.dash-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.2;
}
.dash-value.lg { font-size: 1.75rem; }
.dash-value.accent { color: var(--brand-accent); }
.dash-value.warn { color: #b45309; }
.dash-value.danger { color: #b91c1c; }

.dash-sub { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.dash-link {
    font-size: .8rem;
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 500;
}
.dash-link:hover { text-decoration: underline; color: #059669; }

/* Kartu dengan aksen kiri untuk kelompok 'perlu perhatian' */
.dash-card.accent-left {
    border-left: 3px solid var(--brand-accent);
}
.dash-card.accent-left.is-warn { border-left-color: #d97706; }
.dash-card.accent-left.is-danger { border-left-color: #dc2626; }

/* Section heading kecil */
.dash-section-title {
    font-size: .78rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 4px 0 10px;
}

/* Badge status flat, bukan bootstrap default yang terlalu bulat/tebal */
.dash-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}
.dash-badge.ok { background: var(--brand-accent-soft); color: #047857; }
.dash-badge.warn { background: #fef3c7; color: #92400e; }
.dash-badge.danger { background: #fee2e2; color: #b91c1c; }

.dash-table thead th {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
    font-weight: 600;
}
.dash-table td, .dash-table th { vertical-align: middle; padding: 10px 16px; }
.dash-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.dash-table tbody tr:last-child { border-bottom: none; }