:root {
    --dsib-bg: #f5f7fa; --dsib-surface: #fff; --dsib-subtle: #f8fafc;
    --dsib-ink: #202834; --dsib-muted: #667085; --dsib-line: #e5e9ef;
    --dsib-primary: #285ee8; --dsib-primary-soft: #edf3ff; --dsib-teal: #08796d;
    --dsib-shadow: 0 2px 6px #1d2b3a05; --dsib-sidebar-width: 252px;
    --bs-primary: #285ee8; --bs-primary-rgb: 40,94,232;
}
html:root { --lpx-brand: #285ee8; --lpx-primary: #285ee8; }
html[data-dsib-theme="dark"] {
    --dsib-bg: #121619; --dsib-surface: #1b2025; --dsib-subtle: #22292f;
    --dsib-ink: #edf1f5; --dsib-muted: #a7b2be; --dsib-line: #343d46;
    --dsib-primary: #8caeff; --dsib-primary-soft: #263750; --dsib-teal: #7dd5c3;
    color-scheme: dark;
}
html, body { min-height: 100%; }
.container:has(> .dsib-shell), .container:has(> .dsib-account) { width: 100%; max-width: none; padding: 0; margin: 0; }
body { background: var(--dsib-bg) !important; color: var(--dsib-ink) !important; font-family: "Segoe UI", Inter, Arial, sans-serif; font-size: 14px; letter-spacing: 0; }
*, *::before, *::after { letter-spacing: 0; }
[hidden] { display: none !important; }
a { color: var(--dsib-primary); text-decoration: none; }
a:hover { color: var(--dsib-primary); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #5788f0; outline-offset: 3px; }
.dsib-shell { display: grid; grid-template-columns: var(--dsib-sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.dsib-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--dsib-surface); border-right: 1px solid var(--dsib-line); padding: 28px 18px 16px; z-index: 1010; overflow: auto; }
.dsib-brand { display: flex; align-items: center; gap: 14px; min-height: 42px; padding: 0 12px; margin-bottom: 28px; color: var(--dsib-muted); }
.dsib-brand img, .dsib-account-header img { width: 88px; height: 36px; object-fit: cover; }
.dsib-module-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dsib-module-heading h1 { font-size: 24px; margin: 0; }
.dsib-brand-caption { font-size: 9px; font-weight: 700; border-left: 1px solid var(--dsib-line); padding-left: 12px; }
.dsib-brand-name { color: var(--dsib-ink); font-size: 19px; font-weight: 650; overflow-wrap: anywhere; }
.dsib-product-name { color: var(--dsib-ink); font-size: 16px; font-weight: 650; }
.dsib-workspace { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border: 1px solid var(--dsib-line); border-radius: 6px; margin-bottom: 27px; }
.dsib-workspace-mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--dsib-primary-soft); color: var(--dsib-primary); border-radius: 6px; flex-shrink: 0; }
.dsib-workspace > span:last-child { min-width: 0; }
.dsib-workspace strong, .dsib-sidebar-bottom strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.dsib-workspace small, .dsib-sidebar-bottom small { display: block; font-size: 10px; color: var(--dsib-muted); margin-top: 4px; }
.dsib-nav-label { padding: 0 12px 12px; font-size: 10px; color: var(--dsib-muted); font-weight: 600; }
.dsib-navigation { flex: 1; padding-bottom: 24px; }
.dsib-nav-link, .dsib-nav-group > summary { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 10px 12px; font-size: 13px; border-radius: 5px; color: var(--dsib-muted); margin: 3px 0; cursor: pointer; }
.dsib-nav-link > i:first-child, .dsib-nav-group > summary > i:first-child { width: 16px; text-align: center; font-size: 14px; flex-shrink: 0; }
.dsib-nav-link span, .dsib-nav-group > summary span { overflow-wrap: anywhere; }
.dsib-nav-link:hover, .dsib-nav-group > summary:hover { background: var(--dsib-subtle); color: var(--dsib-ink); }
.dsib-nav-link.is-active { background: var(--dsib-primary-soft); color: var(--dsib-primary); font-weight: 600; }
.dsib-nav-group > summary { list-style: none; }
.dsib-nav-group > summary::-webkit-details-marker { display: none; }
.dsib-chevron { margin-left: auto; font-size: 11px; transition: transform .15s; }
.dsib-nav-group:not([open]) > summary .dsib-chevron { transform: rotate(-90deg); }
.dsib-nav-children { margin-left: 15px; padding-left: 8px; border-left: 1px solid var(--dsib-line); }
.dsib-nav-children .dsib-nav-link { font-size: 12px; min-height: 36px; }
.dsib-nav-children .dsib-nav-link > i { font-size: 10px; }
.dsib-sidebar-bottom { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--dsib-line); padding: 18px 5px 0; }
.dsib-avatar { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; background: #e9f3f0; color: #256956; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.dsib-presence { width: 6px; height: 6px; background: #38a77a; border-radius: 50%; margin-left: auto; }
.dsib-workarea { min-width: 0; display: flex; flex-direction: column; }
.dsib-topbar { background: var(--dsib-surface); border-bottom: 1px solid var(--dsib-line); min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; gap: 16px; }
.dsib-topbar-left, .dsib-topbar-actions { display: flex; align-items: center; gap: 16px; min-width: 0; }
.dsib-header-name { font-size: 12px; color: var(--dsib-muted); }
.dsib-topbar-divider { color: #b8c1cc; }
.dsib-header-page { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.dsib-icon-button { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid transparent; border-radius: 5px; background: transparent; color: var(--dsib-muted); flex-shrink: 0; cursor: pointer; }
.dsib-icon-button:hover { background: var(--dsib-subtle); border-color: var(--dsib-line); color: var(--dsib-ink); }
.dsib-search-trigger { display: flex; align-items: center; gap: 10px; border: 1px solid var(--dsib-line); background: var(--dsib-subtle); color: var(--dsib-muted); padding: 8px 12px; font-size: 11px; border-radius: 5px; min-height: 34px; cursor: pointer; }
.dsib-language, .dsib-user-menu { font-size: 12px; }
.dsib-user-menu .dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid var(--dsib-line); border-radius: 6px; background: var(--dsib-subtle); color: var(--dsib-ink); cursor: pointer; }
.dsib-user-menu .dropdown-toggle:hover, .dsib-user-menu .dropdown-toggle[aria-expanded="true"] { background: var(--dsib-primary-soft); border-color: var(--dsib-primary); }
.dsib-user-menu .dropdown-toggle::after { display: none !important; }
.dsib-user-menu .user-full-name { min-width: 0; max-width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsib-account-icon { font-size: 17px; color: var(--dsib-primary); flex-shrink: 0; }
.dsib-account-chevron { font-size: 10px; flex-shrink: 0; transition: transform .15s; }
.dsib-user-menu [aria-expanded="true"] .dsib-account-chevron { transform: rotate(180deg); }
.dsib-user-menu .dropdown-menu { min-width: 196px; }
.dsib-language .dropdown-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 10px; border: 1px solid var(--dsib-line); border-radius: 6px; background: var(--dsib-subtle); color: var(--dsib-ink); cursor: pointer; }
.dsib-language .dropdown-toggle::after { display: none !important; }
.dsib-language .dropdown-toggle:hover, .dsib-language [aria-expanded="true"] { background: var(--dsib-primary-soft); border-color: var(--dsib-primary); }
.dsib-language .lpx-icon { color: var(--dsib-primary) !important; }
.dsib-language .dropdown-menu { min-width: 210px; max-height: min(420px, 70vh); overflow-y: auto; }
.dsib-language [aria-expanded="true"] .dsib-account-chevron { transform: rotate(180deg); }
.dsib-main { width: 100%; max-width: 1600px; margin: 0 auto; padding: 30px 32px 42px; flex: 1; outline: none; }
.dsib-breadcrumbs:empty { display: none; }
.dsib-breadcrumbs .breadcrumb { margin: 0 0 16px; font-size: 11px; }
.dsib-footer { display: flex; justify-content: space-between; gap: 16px; padding: 18px 32px; color: var(--dsib-muted); font-size: 10px; border-top: 1px solid var(--dsib-line); }
.dsib-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 26px; }
.dsib-eyebrow { color: var(--dsib-muted); font-size: 10px; font-weight: 600; margin: 0 0 9px; }
.dsib-page-heading h1 { font-size: 26px; line-height: 1.25; font-weight: 650; margin: 0 0 8px; }
.dsib-muted { color: var(--dsib-muted); font-size: 12px; }
.dsib-page-heading p:last-child { margin: 0; }
.dsib-heading-actions { display: flex; gap: 10px; align-items: center; }
.dsib-scope { border: 1px solid var(--dsib-line); border-radius: 5px; padding: 8px 11px; background: var(--dsib-surface); display: flex; align-items: center; gap: 8px; color: var(--dsib-muted); font-size: 11px; }
.dsib-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.dsib-metric { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border: 1px solid var(--dsib-line); background: var(--dsib-surface); box-shadow: var(--dsib-shadow); border-radius: 7px; padding: 22px; min-height: 145px; }
.dsib-metric-label { display: block; font-size: 12px; color: var(--dsib-muted); margin-bottom: 9px; }
.dsib-metric strong { display: block; font-size: 31px; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.dsib-metric-meta { display: block; font-size: 10px; color: var(--dsib-muted); margin-top: 12px; }
.dsib-metric-icon { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 7px; flex-shrink: 0; }
.dsib-blue { background: #edf3ff; color: #3263d8; }
.dsib-teal { background: #eaf6f2; color: #208873; }
.dsib-amber { background: #fff5e8; color: #b67a21; }
.dsib-overview-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--dsib-line); margin-bottom: 28px; }
.dsib-chart-section { min-width: 0; }
.dsib-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dsib-section-heading h2 { font-size: 15px; line-height: 1.4; font-weight: 650; margin: 0; }
.dsib-section-heading p { margin: 5px 0 0; font-size: 10px; }
.dsib-live-badge { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--dsib-muted); white-space: nowrap; }
.dsib-live-badge > span { width: 5px; height: 5px; border-radius: 50%; background: #319c77; }
.dsib-chart-wrap { position: relative; height: 246px; }
.dsib-chart-wrap canvas { max-width: 100%; }
.dsib-chart-empty { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--dsib-muted); }
.dsib-workspace-section { border-left: 1px solid var(--dsib-line); padding-left: 28px; min-width: 0; }
.dsib-details { margin: 0; }
.dsib-details > div { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--dsib-line); font-size: 11px; }
.dsib-details dt { color: var(--dsib-muted); font-weight: 400; flex-shrink: 0; }
.dsib-details dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.dsib-status { display: inline-block; background: #eaf6ef; color: #267b51; border-radius: 4px; padding: 4px 7px; font-size: 10px; font-weight: 500; }
.dsib-status.is-inactive { background: var(--dsib-subtle); color: var(--dsib-muted); }
.dsib-profile-link { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; font-size: 11px; }
.dsib-directory-section { min-width: 0; }
.dsib-table-scroll, .dataTables_wrapper, .dt-container { overflow-x: auto; }
.dsib-directory-table { margin: 0; }
.dsib-directory-table td, .dsib-directory-table th { padding: 14px 16px !important; }
.dsib-person { display: flex; align-items: center; gap: 10px; min-width: 140px; }
.dsib-person strong { display: block; font-size: 12px; font-weight: 600; }
.dsib-person small { display: block; font-size: 10px; color: var(--dsib-muted); margin-top: 3px; }
.dsib-directory-footer { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 15px; color: var(--dsib-muted); font-size: 10px; }
.dsib-text-link, .dsib-text-button { font-size: 11px; font-weight: 500; }
.dsib-text-link i, .dsib-text-button i { margin-left: 6px; }
.dsib-text-button { border: 0; background: none; padding: 4px; color: var(--dsib-primary); cursor: pointer; }
.dsib-empty { text-align: center; padding: 36px !important; color: var(--dsib-muted); font-size: 12px; }
.dsib-welcome { padding: 50px 0; }
.dsib-welcome h2 { font-size: 22px; margin: 20px 0; }
.dsib-skip { position: fixed; left: 12px; top: -80px; z-index: 1100; background: var(--dsib-surface); padding: 12px; }
.dsib-skip:focus { top: 12px; }
.dsib-backdrop { display: none; }
.dsib-sidebar-collapsed { grid-template-columns: 0 minmax(0, 1fr); }
.dsib-sidebar-collapsed .dsib-sidebar { visibility: hidden; overflow: hidden; padding: 0; }
.dsib-search-dialog { width: min(540px, calc(100% - 32px)); max-height: min(560px, 80vh); padding: 20px; background: var(--dsib-surface); color: var(--dsib-ink); border: 1px solid var(--dsib-line); border-radius: 8px; box-shadow: 0 20px 70px #0003; }
.dsib-search-dialog::backdrop { background: #10182077; }
.dsib-search-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dsib-search-heading h2 { font-size: 16px; margin: 0; }
.dsib-search-dialog input { width: 100%; border: 1px solid var(--dsib-line); background: var(--dsib-bg); color: var(--dsib-ink); padding: 12px; border-radius: 5px; margin-bottom: 12px; }
#dsib-search-results a { display: block; color: var(--dsib-ink); padding: 12px; border-bottom: 1px solid var(--dsib-line); }
#dsib-search-results a:hover { background: var(--dsib-primary-soft); }
#dsib-search-empty { font-size: 12px; color: var(--dsib-muted); padding: 16px 0; }
/* Bootstrap and ABP module surfaces share the same palette; their behavior is untouched. */
.card, .modal-content, .dropdown-menu { background: var(--dsib-surface); color: var(--dsib-ink); border: 1px solid var(--dsib-line); border-radius: 7px; box-shadow: var(--dsib-shadow); }
.card-header, .card-footer { background: transparent; border-color: var(--dsib-line); padding: 20px 22px; }
.card-body { padding: 22px; }
.card-header h2, .card-header h3, .card-title, .modal-title { font-size: 17px; font-weight: 600; margin-bottom: 0; }
.form-control, .form-select, .select2-container--default .select2-selection--single { background: var(--dsib-surface); color: var(--dsib-ink); border: 1px solid var(--dsib-line); border-radius: 5px; min-height: 38px; font-size: 13px; }
.form-control:focus, .form-select:focus { background: var(--dsib-surface); color: var(--dsib-ink); border-color: #6089e3; box-shadow: 0 0 0 3px #285ee81a; }
.form-control::placeholder { color: var(--dsib-muted); }
.form-label, label { color: var(--dsib-ink); font-size: 12px; }
.btn { border-radius: 5px; font-size: 12px; font-weight: 500; padding: 9px 14px; white-space: normal; }
.btn-primary { --bs-btn-bg: #285ee8; --bs-btn-border-color: #285ee8; --bs-btn-hover-bg: #1d4dc4; --bs-btn-hover-border-color: #1d4dc4; --bs-btn-active-bg: #1d4dc4; color: #fff; background: #285ee8; }
.btn-secondary { color: var(--dsib-ink); background: var(--dsib-surface); border-color: var(--dsib-line); }
.table { --bs-table-bg: var(--dsib-surface); --bs-table-color: var(--dsib-ink); --bs-table-border-color: var(--dsib-line); --bs-table-striped-bg: var(--dsib-subtle); --bs-table-hover-bg: var(--dsib-subtle); color: var(--dsib-ink); font-size: 12px; }
.table > thead > tr > th { background: var(--dsib-subtle); color: var(--dsib-muted); font-size: 10px; font-weight: 600; border-color: var(--dsib-line); padding: 14px 12px; white-space: nowrap; }
.table > tbody > tr > td { vertical-align: middle; border-color: var(--dsib-line); padding: 14px 12px; }
.table-hover > tbody > tr:hover > * { color: var(--dsib-ink); }
.modal-header, .modal-footer { border-color: var(--dsib-line); padding: 18px 22px; }
.modal-body { padding: 22px; }
.dropdown-item { color: var(--dsib-ink); font-size: 12px; padding: 9px 16px; }
.dropdown-item:hover { background: var(--dsib-subtle); color: var(--dsib-ink); }
.page-link { background: var(--dsib-surface); border-color: var(--dsib-line); color: var(--dsib-muted); font-size: 12px; }
.nav-tabs { border-color: var(--dsib-line); }
.nav-tabs .nav-link { color: var(--dsib-muted); font-size: 12px; }
.nav-tabs .nav-link.active { color: var(--dsib-primary); background: var(--dsib-surface); border-color: var(--dsib-line); }
.text-muted, .form-text { color: var(--dsib-muted) !important; }
/* A compact work-focused grid, with no dependency on an application's column order. */
.dsib-main .dsib-grid-surface { border-radius: 8px; overflow: visible; box-shadow: 0 3px 12px #1d2b3a06; }
.dsib-grid-surface .card-body { padding: 0; }
.dsib-grid { overflow: visible; padding: 0; }
.dsib-grid .dataTable_filters { margin: 0 !important; padding: 20px 24px; border-bottom: 1px solid var(--dsib-line); }
.dsib-grid .dt-search { position: relative; display: flex; align-items: center; width: min(360px, 100%); margin: 0 !important; }
.dsib-grid .dt-search label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.dsib-grid .dt-search input { width: 100% !important; height: 42px; padding: 9px 14px 9px 40px; margin: 0 !important; background: var(--dsib-subtle); border-color: var(--dsib-line); }
.dsib-grid-search-icon { position: absolute; left: 15px; color: var(--dsib-muted); pointer-events: none; }
.dsib-grid .dt-scroll-head { background: var(--dsib-subtle); }
.dsib-grid .dt-scroll-body { min-height: 112px !important; border-bottom: 1px solid var(--dsib-line); }
.dsib-grid .dt-scroll-body:has(.dropdown-menu.show) { min-height: 180px !important; }
.dsib-grid table.dataTable { margin: 0 !important; border-collapse: collapse !important; }
.dsib-grid table.dataTable > thead > tr > th { font-size: 11px; color: var(--dsib-muted); font-weight: 600; padding: 16px 22px; background: var(--dsib-subtle); border-bottom: 1px solid var(--dsib-line); }
.dsib-grid table.dataTable > tbody > tr > td { font-size: 13px; padding: 18px 22px; border-bottom: 1px solid var(--dsib-line); box-shadow: none; }
.dsib-grid table.dataTable > tbody > tr:hover > td { background: var(--dsib-subtle); }
.dsib-grid table.dataTable > tbody > tr > td:empty::after { content: '\2014'; color: var(--dsib-muted); }
.dsib-grid-person { display: flex; align-items: center; gap: 12px; }
.dsib-grid-person-label, .dsib-grid-primary-cell { font-weight: 600; color: var(--dsib-ink); }
.dsib-grid .abp-action-button > .btn { background: var(--dsib-surface); color: var(--dsib-muted); border: 1px solid var(--dsib-line); padding: 7px 10px; font-size: 12px; }
.dsib-grid .abp-action-button > .btn:hover { border-color: var(--dsib-primary); color: var(--dsib-primary); }
.dsib-grid .dataTable_footer { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0 !important; padding: 18px 24px; }
.dsib-grid .dataTable_footer > * { width: auto; padding: 0; flex: 0 0 auto; }
.dsib-grid .dt-length { display: flex; align-items: center; gap: 10px; margin: 0 !important; }
.dsib-grid .dt-length label, .dsib-grid .dt-info { font-size: 12px; color: var(--dsib-muted); margin: 0; padding: 0; }
.dsib-grid .dt-length select { width: 76px !important; min-height: 36px; padding: 6px 24px 6px 12px !important; appearance: auto; background-color: var(--dsib-surface); color: var(--dsib-ink); border: 1px solid var(--dsib-line); }
.dsib-grid .dt-paging { margin-left: auto; }
.dsib-grid .pagination { gap: 5px; margin: 0; }
.dsib-grid .page-link { min-width: 34px; min-height: 34px; display: grid; place-items: center; padding: 7px 9px; border-radius: 5px !important; background: var(--dsib-surface); color: var(--dsib-muted); box-shadow: none; }
.dsib-grid .page-item.active .page-link { background: #285ee8 !important; border-color: #285ee8 !important; color: #fff !important; }
.dsib-grid .page-item.disabled .page-link { background: var(--dsib-subtle); color: var(--dsib-muted); opacity: .55; border-color: var(--dsib-line); }
.form-check-input:checked { background-color: #285ee8 !important; border-color: #285ee8 !important; }
.nav-tabs .nav-link.active { border-bottom: 2px solid var(--dsib-primary) !important; }
/* Form drawers keep Bootstrap's dialog semantics, focus trap, backdrop and Escape behavior. */
.modal.dsib-drawer { padding: 0 !important; overflow: hidden; }
.dsib-drawer .modal-dialog { position: absolute; inset: 0 0 0 auto; width: min(640px, 100%); max-width: 100%; height: 100%; min-height: 0; margin: 0; display: flex; align-items: stretch; }
.dsib-drawer.fade .modal-dialog { transform: translateX(100%); transition: transform .22s ease-out; }
.dsib-drawer.show .modal-dialog { transform: translateX(0); }
.dsib-drawer .modal-content { height: 100%; max-height: 100dvh; border: 0; border-left: 1px solid var(--dsib-line); border-radius: 0; box-shadow: -12px 0 50px #10182018; overflow: hidden; }
.dsib-drawer .modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; flex-shrink: 0; padding: 24px 28px; background: var(--dsib-subtle); }
.dsib-drawer .modal-title { font-size: 20px; color: var(--dsib-ink) !important; }
.dsib-drawer .btn-close { width: 18px; height: 18px; padding: 10px; margin: 0 0 0 auto; flex-shrink: 0; border: 1px solid var(--dsib-line); border-radius: 6px; background-color: var(--dsib-surface); opacity: .75; }
body:has(.dsib-drawer.show) .modal-backdrop.show { opacity: 1; background: #18212d55; backdrop-filter: blur(2px); }
.dsib-drawer .modal-body { padding: 24px 28px; flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.dsib-drawer .modal-footer { padding: 18px 28px; min-height: 78px; flex-shrink: 0; background: var(--dsib-surface); box-shadow: 0 -5px 20px #10182004; }
.dsib-drawer .btn-outline-secondary { color: var(--dsib-ink) !important; border-color: var(--dsib-line) !important; background: var(--dsib-surface); }
html[data-dsib-theme="dark"] .dsib-drawer .btn-close { background-color: #edf1f5; opacity: 1; }
.dsib-drawer .form-control, .dsib-drawer .form-select { min-height: 44px; font-size: 14px; }
.dsib-drawer .form-label { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.dsib-drawer .nav-tabs { margin-bottom: 24px; }
.dsib-drawer .nav-tabs .nav-link { padding: 12px 14px; font-size: 13px; }
.dsib-drawer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; row-gap: 4px; }
.dsib-drawer-grid > .mb-3 { min-width: 0; }
.dsib-drawer-grid > .mb-3:has(.form-check) { grid-column: 1 / -1; }
.dsib-drawer .field-validation-error { display: block; padding-top: 6px; font-size: 12px; }
.dsib-account { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.dsib-account-header { display: flex; justify-content: flex-end; align-items: center; width: 100%; padding: 10px 32px; min-height: 54px; }
.dsib-account-header .dsib-icon-button { border-color: var(--dsib-line); background: var(--dsib-surface); }
.dsib-account-main { width: min(460px, calc(100% - 32px)); margin: auto; padding: 12px 0 20px; }
.dsib-auth-identity { text-align: center; margin-bottom: 24px; }
.dsib-auth-product { display: inline-block; color: var(--dsib-ink); font-size: 25px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.dsib-auth-product:hover { color: var(--dsib-ink); }
.dsib-auth-identity p { margin: 8px 0 0; color: var(--dsib-muted); font-size: 14px; }
.dsib-account-intro { margin-bottom: 28px; }
.dsib-account-intro h1 { font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0; }
.dsib-account-form .card { margin: 0 !important; padding: 32px 36px !important; border: 1px solid var(--dsib-line) !important; border-radius: 8px !important; background: var(--dsib-surface); box-shadow: 0 12px 36px #18212d08, 0 2px 5px #18212d03 !important; }
.dsib-account-form .card-body { padding: 0 !important; }
.dsib-account-form h2, .dsib-account-form h3, .dsib-account-form h4 { font-size: 24px; font-weight: 600; color: var(--dsib-ink) !important; margin-bottom: 12px; }
.dsib-account-form .form-control { min-height: 48px; font-size: 14px; padding: 11px 14px; background-color: var(--dsib-subtle); border-radius: 6px; }
.dsib-account-form .form-control:focus { background-color: var(--dsib-surface); border-color: var(--dsib-primary); box-shadow: 0 0 0 3px #285ee815; }
.dsib-account-form .form-label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.dsib-account-form .btn { min-height: 48px; font-size: 14px; font-weight: 600; border-radius: 6px; }
.dsib-account-form .input-group .btn { border-color: var(--dsib-line); background: var(--dsib-subtle); color: var(--dsib-muted); }
.dsib-account-form .btn-primary { box-shadow: 0 4px 12px #285ee81c; }
.dsib-account-form .mb-3 { margin-bottom: 20px !important; }
.dsib-account-form form { margin-top: 24px !important; }
.dsib-account-form .d-grid { margin-top: 24px !important; }
.dsib-account-form .d-grid > .btn { margin-top: 0 !important; }
.dsib-account-form .form-check-input { margin-bottom: 0 !important; }
.dsib-account-form a { font-size: 13px; color: var(--dsib-primary) !important; }
.dsib-account-form .form-check-label { color: var(--dsib-ink) !important; font-size: 12px; }
.dsib-account .dsib-footer { border: 0; font-size: 12px; justify-content: center; padding: 14px 20px; }
.dsib-login-view .card-body { display: flex; flex-direction: column; }
.dsib-login-view .card-body > h4 { text-align: center; font-size: 22px; line-height: 1.4; margin: 0; order: 0; }
.dsib-login-view .card-body > form { order: 1; }
.dsib-login-view .card-body > strong { order: 2; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--dsib-line); text-align: center; color: var(--dsib-muted); font-size: 12px; font-weight: 400; }
.dsib-login-view .card-body > strong a { font-weight: 600; margin-left: 4px; }
@media (max-width: 1199px) { .dsib-topbar, .dsib-main { padding-left: 24px; padding-right: 24px; } .dsib-search-trigger span { display: none; } .dsib-topbar-actions { gap: 8px; } }
@media (max-width: 991px) {
    .dsib-shell, .dsib-sidebar-collapsed { grid-template-columns: minmax(0, 1fr); }
    .dsib-sidebar { position: fixed; left: 0; top: 0; width: 252px; transform: translateX(-100%); transition: transform .18s; visibility: hidden; }
    .dsib-mobile-open .dsib-sidebar { transform: translateX(0); visibility: visible; }
    .dsib-mobile-open .dsib-backdrop { display: block; position: fixed; inset: 0; border: 0; background: #10182088; z-index: 1009; }
    .dsib-sidebar-collapsed .dsib-sidebar { padding: 28px 18px 16px; }
    .dsib-overview-grid { grid-template-columns: minmax(0, 1.4fr) minmax(220px, 1fr); gap: 20px; }
    .dsib-workspace-section { padding-left: 20px; }
}
@media (max-width: 640px) {
    .dsib-topbar { padding: 10px 16px; min-height: 62px; gap: 8px; }
    .dsib-topbar-left { gap: 8px; }
    .dsib-header-name, .dsib-topbar-divider { display: none; }
    .dsib-topbar-actions { gap: 3px; }
    .dsib-user-menu { max-width: 110px; overflow-wrap: anywhere; }
    .dsib-language .dropdown-toggle { gap: 5px; padding: 8px; }
    .dsib-language .dropdown-toggle > .lpx-icon { display: none; }
    .dsib-topbar-left { flex: 1; }
    .dsib-header-page { max-width: 90px; }
    .dsib-grid .dataTable_filters, .dsib-grid .dataTable_footer { padding: 16px; }
    .dsib-grid .dt-info { flex-basis: 100%; }
    .dsib-grid .dt-paging { margin-left: 0; }
    .dsib-grid .dataTable_footer { gap: 12px; }
    .dsib-drawer .modal-header, .dsib-drawer .modal-body, .dsib-drawer .modal-footer { padding-left: 20px; padding-right: 20px; }
    .dsib-drawer-grid { grid-template-columns: minmax(0, 1fr); }
    .dsib-main { padding: 24px 18px 30px; }
    .dsib-page-heading { align-items: flex-start; gap: 12px; }
    .dsib-page-heading h1 { font-size: 24px; }
    .dsib-heading-actions .dsib-scope { display: none; }
    .dsib-metrics { gap: 10px; grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; }
    .dsib-metric { padding: 18px; min-height: 118px; }
    .dsib-metric strong { font-size: 28px; }
    .dsib-overview-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .dsib-workspace-section { border-left: 0; padding-left: 0; border-top: 1px solid var(--dsib-line); padding-top: 24px; }
    .dsib-footer { padding: 16px 18px; }
    .dsib-directory-table { min-width: 440px; }
    .card-header, .card-body, .modal-body { padding: 16px; }
    .dsib-account-header { padding: 16px 20px; }
    .dsib-account-main { padding-top: 8px; }
    .dsib-auth-identity { margin-bottom: 22px; }
    .dsib-auth-product { font-size: 23px; }
    .dsib-account-form .card { padding: 28px 24px !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
