/* =========================================================================
   AERO UI v2 - Design System & App Shell
   Dipakai HANYA oleh front controller /v2/. Tampilan lama tidak tersentuh.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKEN
   ---------------------------------------------------------------------- */
:root {
    /* brand default: M2P (oranye) */
    --brand-50:  #fff5ed;
    --brand-100: #ffe8d5;
    --brand-300: #fdba74;
    --brand-500: #ea580c;
    --brand-600: #d24d05;
    --brand-700: #b03e05;
    --brand-contrast: #ffffff;

    --ok-500:    #16a34a;
    --ok-bg:     #ecfdf5;
    --warn-500:  #d97706;
    --warn-bg:   #fffbeb;
    --danger-500:#dc2626;
    --danger-bg: #fef2f2;
    --info-500:  #2563eb;
    --info-bg:   #eff6ff;

    --bg:        #f1f5f9;
    --surface:   #ffffff;
    --surface-2: #f8fafc;
    --surface-3: #f1f5f9;
    --border:    #e2e8f0;
    --border-strong: #cbd5e1;
    --text:      #0f172a;
    --text-soft: #475569;
    --muted:     #64748b;

    --side-bg:      #0f172a;
    --side-bg-soft: #16233b;
    --side-text:    #b6c2d4;
    --side-text-dim:#7c8ba3;
    --side-border:  rgba(255, 255, 255, .07);

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 14px;

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, .10), 0 2px 6px rgba(15, 23, 42, .06);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .22);

    --sidebar-w: 258px;
    --sidebar-w-mini: 66px;
    --topbar-h: 54px;

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

    --speed: .18s;
}

html[data-brand="gemilang"] {
    --brand-50:  #eff6ff;
    --brand-100: #dbeafe;
    --brand-300: #93c5fd;
    --brand-500: #2563eb;
    --brand-600: #1d4ed8;
    --brand-700: #1e40af;
}

html[data-theme="dark"] {
    --bg:        #0b1120;
    --surface:   #131c2e;
    --surface-2: #172136;
    --surface-3: #1d283f;
    --border:    #26334c;
    --border-strong: #35455f;
    --text:      #e6edf7;
    --text-soft: #b7c3d4;
    --muted:     #8a99ae;

    --side-bg:      #080e1a;
    --side-bg-soft: #111a2b;
    --side-border:  rgba(255, 255, 255, .06);

    --ok-bg:     #06281a;
    --warn-bg:   #2a1e05;
    --danger-bg: #2b0f10;
    --info-bg:   #0d1c3a;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
}

/* -------------------------------------------------------------------------
   1b. JEMBATAN KE BOOTSTRAP 5.3
   -------------------------------------------------------------------------
   Bootstrap dipakai sebagai pustaka komponen (modal, dropdown, toast,
   tooltip, grid, utilities). Warnanya diikat ke token di atas supaya
   komponen Bootstrap otomatis ikut warna brand dan mode gelap.
   ---------------------------------------------------------------------- */
:root {
    --bs-font-sans-serif: var(--font);
    --bs-body-font-family: var(--font);
    --bs-body-font-size: .8125rem;   /* 13px, aplikasi ini padat data */
    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-secondary-color: var(--muted);
    --bs-border-color: var(--border);
    --bs-border-radius: 8px;
    --bs-border-radius-sm: 6px;
    --bs-border-radius-lg: var(--radius-lg);
    --bs-primary: var(--brand-500);
    --bs-link-color: var(--brand-600);
    --bs-link-hover-color: var(--brand-700);
    --bs-box-shadow: var(--shadow-md);
    --bs-box-shadow-sm: var(--shadow-sm);
    --bs-box-shadow-lg: var(--shadow-lg);
}

/* komponen Bootstrap memakai nilai warna literal, jadi di-rebrand di sini */
.btn-primary {
    --bs-btn-bg: var(--brand-500);
    --bs-btn-border-color: var(--brand-600);
    --bs-btn-hover-bg: var(--brand-600);
    --bs-btn-hover-border-color: var(--brand-700);
    --bs-btn-active-bg: var(--brand-700);
    --bs-btn-active-border-color: var(--brand-700);
    --bs-btn-disabled-bg: var(--brand-500);
    --bs-btn-disabled-border-color: var(--brand-500);
}
.btn-outline-primary {
    --bs-btn-color: var(--brand-600);
    --bs-btn-border-color: var(--brand-500);
    --bs-btn-hover-bg: var(--brand-500);
    --bs-btn-hover-border-color: var(--brand-500);
    --bs-btn-active-bg: var(--brand-600);
    --bs-btn-active-border-color: var(--brand-600);
}
.text-primary { color: var(--brand-600) !important; }
.bg-primary { background-color: var(--brand-500) !important; }
.form-control:focus, .form-select:focus {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}
.form-check-input:checked { background-color: var(--brand-500); border-color: var(--brand-500); }
.form-check-input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }
.page-item.active .page-link { background-color: var(--brand-500); border-color: var(--brand-600); }
.page-link { color: var(--brand-600); }
.nav-tabs .nav-link.active { color: var(--brand-600); }
.progress-bar { background-color: var(--brand-500); }
.spinner-border, .spinner-grow { color: var(--brand-500); }

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus,
html[data-theme="dark"] .form-check-input:focus { box-shadow: 0 0 0 3px rgba(234, 88, 12, .2); }

/* penyesuaian reboot Bootstrap terhadap markup lama */
table > caption { caption-side: top; }
.modal-content { border-color: var(--border); }
.modal-header, .modal-footer { border-color: var(--border); }
.dropdown-menu {
    --bs-dropdown-bg: var(--surface);
    --bs-dropdown-border-color: var(--border);
    --bs-dropdown-link-color: var(--text-soft);
    --bs-dropdown-link-hover-bg: var(--surface-3);
    --bs-dropdown-link-hover-color: var(--text);
    --bs-dropdown-link-active-bg: var(--brand-500);
    --bs-dropdown-font-size: 12.5px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius);
    padding: 6px;
}
.dropdown-item { border-radius: 7px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; }
.dropdown-item i { width: 16px; text-align: center; color: var(--muted); font-size: 12px; }
.dropdown-item.is-danger, .dropdown-item.is-danger i { color: var(--danger-500); }
.tooltip { --bs-tooltip-bg: #0f172a; --bs-tooltip-border-radius: 7px; --bs-tooltip-font-size: 11.5px; }
html[data-theme="dark"] .tooltip { --bs-tooltip-bg: #24354f; }
.toast {
    --bs-toast-bg: var(--surface);
    --bs-toast-border-color: var(--border);
    --bs-toast-color: var(--text);
    --bs-toast-font-size: 12.5px;
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--info-500);
}
.toast--ok { border-left-color: var(--ok-500); }
.toast--warn { border-left-color: var(--warn-500); }
.toast--danger { border-left-color: var(--danger-500); }
.toast .toast-body { display: flex; align-items: flex-start; gap: 10px; }
.toast .toast-body > i { margin-top: 1px; color: var(--info-500); }
.toast--ok .toast-body > i { color: var(--ok-500); }
.toast--warn .toast-body > i { color: var(--warn-500); }
.toast--danger .toast-body > i { color: var(--danger-500); }

/* -------------------------------------------------------------------------
   2. DASAR
   ---------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 13px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }
html[data-theme="dark"] a { color: var(--brand-300); }

h1, h2, h3, h4, h5 { margin: 0 0 .6em; font-weight: 650; line-height: 1.3; color: var(--text); }
h1 { font-size: 20px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; letter-spacing: .01em; }
h4 { font-size: 13px; }

hr {
    border: 0;
    border-top: 1px solid var(--border);
    height: 0;
    margin: 14px 0;
}

img { border: 0; max-width: 100%; height: auto; vertical-align: middle; }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border: 3px solid transparent;
    border-radius: 8px;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--muted); background-clip: content-box; }

:focus-visible {
    outline: 2px solid var(--brand-500);
    outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   3. SHELL
   ---------------------------------------------------------------------- */
.v2-app {
    min-height: 100vh;
    padding-left: var(--sidebar-w);
    transition: padding-left var(--speed) ease;
}
body.v2-mini .v2-app { padding-left: var(--sidebar-w-mini); }

/* --- Sidebar --- */
.v2-side {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--side-bg);
    color: var(--side-text);
    display: flex;
    flex-direction: column;
    z-index: 60;
    transition: width var(--speed) ease, transform var(--speed) ease;
    border-right: 1px solid var(--side-border);
}
body.v2-mini .v2-side { width: var(--sidebar-w-mini); }

.v2-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--topbar-h);
    padding: 0 14px;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--side-border);
    color: #fff;
    overflow: hidden;
}
.v2-brand:hover { text-decoration: none; color: #fff; }
.v2-brand__logo {
    width: 34px; height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.v2-brand__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.v2-brand__txt { min-width: 0; }
.v2-brand__name {
    display: block;
    font-size: 12.5px; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.v2-brand__sub {
    display: block;
    font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--side-text-dim);
}

/* filter menu */
.v2-side__filter {
    padding: 10px 12px 4px;
    flex: 0 0 auto;
    position: relative;
}
.v2-side__filter i {
    position: absolute;
    left: 22px; top: 50%; transform: translateY(-30%);
    font-size: 11px; color: var(--side-text-dim);
    pointer-events: none;
}
.v2-side__filter input {
    width: 100%;
    background: var(--side-bg-soft);
    border: 1px solid var(--side-border);
    border-radius: 8px;
    color: #e9eef6;
    font: 400 12px/1 var(--font);
    padding: 8px 10px 8px 28px;
}
.v2-side__filter input::placeholder { color: var(--side-text-dim); }
.v2-side__filter input:focus { outline: none; border-color: var(--brand-500); }
body.v2-mini .v2-side__filter { display: none; }

.v2-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 10px 18px;
    margin: 0;
    list-style: none;
    scrollbar-width: thin;
}
.v2-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); background-clip: content-box; }
.v2-nav > li { margin: 1px 0; position: relative; }

.v2-nav__label {
    padding: 14px 10px 6px;
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--side-text-dim);
}
body.v2-mini .v2-nav__label { text-align: center; letter-spacing: 0; font-size: 9px; }

.v2-nav a,
.v2-nav .v2-nav__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--side-text);
    font-size: 12.5px;
    line-height: 1.35;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--speed), color var(--speed);
}
.v2-nav a:hover,
.v2-nav .v2-nav__toggle:hover {
    background: var(--side-bg-soft);
    color: #fff;
    text-decoration: none;
}
.v2-nav i.v2-ico {
    flex: 0 0 18px;
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--side-text-dim);
}
.v2-nav a:hover i.v2-ico,
.v2-nav .v2-nav__toggle:hover i.v2-ico { color: var(--brand-300); }
.v2-nav__txt { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.v2-nav__caret {
    flex: 0 0 auto;
    font-size: 10px;
    color: var(--side-text-dim);
    transition: transform var(--speed);
    /* area klik diperbesar tanpa mengubah tata letak */
    padding: 6px;
    margin: -6px -4px -6px 0;
    border-radius: 5px;
}
.v2-nav__caret:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.v2-nav li.is-open > .v2-nav__toggle .v2-nav__caret,
.v2-nav li.is-open > a .v2-nav__caret { transform: rotate(90deg); }

.v2-nav > li > a.is-active,
.v2-nav > li > .v2-nav__toggle.is-active {
    background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.v2-nav > li > a.is-active i.v2-ico,
.v2-nav > li > .v2-nav__toggle.is-active i.v2-ico,
.v2-nav > li > a.is-active .v2-nav__caret,
.v2-nav > li > .v2-nav__toggle.is-active .v2-nav__caret { color: rgba(255, 255, 255, .9); }

/* submenu */
.v2-nav ul {
    list-style: none;
    margin: 2px 0 4px;
    padding: 0 0 0 14px;
    display: none;
    border-left: 1px solid var(--side-border);
    margin-left: 18px;
}
.v2-nav li.is-open > ul { display: block; }
.v2-nav ul a {
    font-size: 12px;
    padding: 6px 10px;
    color: var(--side-text-dim);
}
.v2-nav ul a.is-active {
    color: #fff;
    background: var(--side-bg-soft);
    font-weight: 600;
    box-shadow: inset 2px 0 0 var(--brand-500);
}
.v2-nav ul i.v2-ico { font-size: 11px; }

/* mode mini: teks disembunyikan, submenu jadi flyout */
body.v2-mini .v2-nav__txt,
body.v2-mini .v2-nav__caret,
body.v2-mini .v2-brand__txt { display: none; }
body.v2-mini .v2-nav > li > a,
body.v2-mini .v2-nav > li > .v2-nav__toggle { justify-content: center; padding: 10px 0; }
body.v2-mini .v2-nav i.v2-ico { font-size: 15px; }
body.v2-mini .v2-nav > li > ul {
    display: none;
    position: absolute;
    left: calc(var(--sidebar-w-mini) - 8px);
    top: 0;
    min-width: 210px;
    background: var(--side-bg-soft);
    border: 1px solid var(--side-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    margin: 0;
    z-index: 70;
}
body.v2-mini .v2-nav > li:hover > ul { display: block; }
/* di dalam flyout, teks & panah submenu tetap tampil supaya submenu
   bertingkat (mis. Data Manager > Artikel) masih bisa dibuka */
body.v2-mini .v2-nav > li > ul .v2-nav__txt { display: block; }
body.v2-mini .v2-nav > li > ul .v2-nav__caret { display: inline-block; }

.v2-side__foot {
    flex: 0 0 auto;
    padding: 10px 12px;
    border-top: 1px solid var(--side-border);
    font-size: 10.5px;
    color: var(--side-text-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
body.v2-mini .v2-side__foot .v2-side__copy { display: none; }
.v2-side__foot a { color: var(--side-text-dim); }
.v2-side__foot a:hover { color: #fff; }

/* --- Topbar --- */
.v2-top {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .v2-top { background: var(--surface); }
}

.v2-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--text-soft);
    font-size: 14px;
    cursor: pointer;
    transition: background var(--speed), color var(--speed), border-color var(--speed);
}
.v2-iconbtn:hover {
    background: var(--surface-3);
    color: var(--text);
    border-color: var(--border);
    text-decoration: none;
}
.v2-iconbtn.is-on { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }
html[data-theme="dark"] .v2-iconbtn.is-on { background: rgba(234, 88, 12, .16); color: var(--brand-300); border-color: transparent; }

/* pencarian global */
.v2-search {
    flex: 1 1 auto;
    max-width: 560px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 8px 0 10px;
    height: 36px;
    transition: border-color var(--speed), box-shadow var(--speed);
}
.v2-search:focus-within {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 3px var(--brand-50);
}
html[data-theme="dark"] .v2-search:focus-within { box-shadow: 0 0 0 3px rgba(234, 88, 12, .18); }
.v2-search > i { color: var(--muted); font-size: 12px; }
.v2-search select {
    border: 0;
    background: transparent;
    color: var(--text-soft);
    font: 600 11.5px var(--font);
    padding: 2px 4px;
    cursor: pointer;
    max-width: 120px;
}
.v2-search select:focus { outline: none; }
.v2-search input {
    flex: 1 1 auto;
    min-width: 40px;
    border: 0;
    background: transparent;
    color: var(--text);
    font: 400 13px var(--font);
    padding: 6px 2px;
}
.v2-search input:focus { outline: none; }
.v2-search kbd {
    font: 600 10px var(--font-mono);
    color: var(--muted);
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 2px 5px;
}

.v2-top__spacer { flex: 1 1 auto; }

/* menu user */
.v2-user {
    position: relative;
    flex: 0 0 auto;
}
.v2-user__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px 4px 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font: 600 12px var(--font);
}
.v2-user__btn:hover { background: var(--surface-3); text-decoration: none; color: var(--text); }
.v2-avatar {
    width: 27px; height: 27px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font: 700 11px var(--font);
    flex: 0 0 auto;
}
.v2-user__name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.v2-menu__head {
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.v2-menu__head b { display: block; font-size: 13px; }
.v2-menu__head span { color: var(--muted); font-size: 11.5px; }

/* --- Area konten --- */
.v2-main {
    padding: 16px 18px 60px;
    max-width: 100%;
}
.v2-page {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.v2-page__title {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}
.v2-page__title i { color: var(--brand-500); font-size: 16px; }
.v2-crumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.v2-crumb a { color: var(--muted); }
.v2-crumb a:hover { color: var(--brand-600); }
.v2-crumb i { font-size: 8px; opacity: .6; }

.v2-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 16px 18px 20px;
    /* sengaja TANPA overflow: kalau kartu jadi scroll container,
       thead position:sticky milik view lama berhenti bekerja */
}

/* -------------------------------------------------------------------------
   4. KOMPONEN
   -------------------------------------------------------------------------
   Tombol, lencana, modal, tooltip, dan toast memakai komponen Bootstrap
   (.btn, .badge, .modal, .tooltip, .toast). Yang tersisa di sini hanya
   yang memang khas kerangka v2.
   ---------------------------------------------------------------------- */
#v2Toasts {
    position: fixed;
    right: 16px; bottom: 16px;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 340px;
}

/* -------------------------------------------------------------------------
   8. MISC
   ---------------------------------------------------------------------- */
#v2Progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
    box-shadow: 0 0 8px var(--brand-500);
    z-index: 9999;
    opacity: 0;
    transition: width .2s ease, opacity .2s ease;
}
#v2Progress.is-on { opacity: 1; }

#v2ToTop {
    position: fixed;
    right: 16px; bottom: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-soft);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}
#v2ToTop.is-on { display: flex; }
#v2ToTop:hover { color: var(--brand-600); border-color: var(--brand-300); }

.v2-kbd {
    display: inline-block;
    font: 600 10.5px var(--font-mono);
    color: var(--text-soft);
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 1px 6px;
    min-width: 20px;
    text-align: center;
}
.v2-shortcut { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.v2-shortcut:last-child { border-bottom: 0; }

.v2-scrim {
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 26, .5);
    z-index: 55;
    display: none;
}
.v2-scrim.is-on { display: block; }

/* -------------------------------------------------------------------------
   9. RESPONSIF
   ---------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .v2-app { padding-left: 0; }
    body.v2-mini .v2-app { padding-left: 0; }
    .v2-side { transform: translateX(-100%); width: var(--sidebar-w); box-shadow: var(--shadow-lg); }
    body.v2-side-open .v2-side { transform: none; }
    body.v2-mini .v2-side { width: var(--sidebar-w); }
    body.v2-mini .v2-nav__txt,
    body.v2-mini .v2-nav__caret,
    body.v2-mini .v2-brand__txt { display: block; }
    body.v2-mini .v2-nav > li > a,
    body.v2-mini .v2-nav > li > .v2-nav__toggle { justify-content: flex-start; padding: 8px 10px; }
    body.v2-mini .v2-nav > li > ul { position: static; background: none; border: 0; box-shadow: none; min-width: 0; padding: 0 0 0 14px; }
    body.v2-mini .v2-nav > li:hover > ul { display: none; }
    body.v2-mini .v2-nav li.is-open > ul { display: block; }
    body.v2-mini .v2-side__filter { display: block; }
}
@media (max-width: 720px) {
    .v2-search select, .v2-search kbd { display: none; }
    .v2-user__name { display: none; }
    .v2-main { padding: 12px 12px 60px; }
    .v2-card { padding: 12px; border-radius: var(--radius); }
}

/* -------------------------------------------------------------------------
   10. CETAK
   ---------------------------------------------------------------------- */
@media print {
    .v2-side, .v2-top, #v2ToTop, #v2Toasts, #v2Progress, .v2-scrim,
    .tooltip, .toast-container, .modal-backdrop, .offcanvas,
    .noprint, .nonePrint { display: none !important; }
    .v2-app { padding-left: 0 !important; }
    .v2-main { padding: 0 !important; }
    .v2-card { border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; overflow: visible !important; }
    .v2-page { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
}
