/* MIT-only MVC bridge. No licensed blocks or full premium template sources. */
/* Native ABP inputs keep their labels, keyboard behavior, validation and form values. */
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check) {
  appearance:none; -webkit-appearance:none; box-sizing:border-box;
  width:18px; height:18px; min-width:18px; flex-shrink:0; padding:0;
  border:1.5px solid #7c899b; border-radius:5px;
  background-color:var(--dsib-surface,#fff); background-image:none;
  background-position:center; background-repeat:no-repeat; background-size:14px 14px;
  vertical-align:middle; cursor:pointer; accent-color:var(--dsib-primary,#295cf0);
  box-shadow:none; transition:background-color .15s,border-color .15s,box-shadow .15s;
}
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-check-input,.form-switch input,[role="switch"],.btn-check) { margin-inline-end:8px; }
body:has(.reui-page-shell,.reui-account) .form-check:not(.form-switch):has(> .form-check-input:is([type="checkbox"],[type="radio"]):not([role="switch"],.btn-check)) { padding-inline-start:28px; }
body:has(.reui-page-shell,.reui-account) .form-check:not(.form-switch) > .form-check-input:is([type="checkbox"],[type="radio"]):not([role="switch"],.btn-check) { margin-inline-start:-28px; margin-top:2px; }
body:has(.reui-page-shell,.reui-account) input[type="radio"]:not(.form-switch input,[role="switch"],.btn-check) { border-radius:50%; }
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check):enabled:hover { border-color:var(--dsib-primary,#295cf0); }
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check):checked,
body:has(.reui-page-shell,.reui-account) input[type="checkbox"]:not(.form-switch input,[role="switch"],.btn-check):indeterminate { background-color:var(--dsib-primary,#295cf0); border-color:var(--dsib-primary,#295cf0); }
body:has(.reui-page-shell,.reui-account) input[type="checkbox"]:not(.form-switch input,[role="switch"],.btn-check):checked { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body:has(.reui-page-shell,.reui-account) input[type="radio"]:not(.form-switch input,[role="switch"],.btn-check):checked { background-image:radial-gradient(circle,#fff 0 3px,transparent 3.5px); }
body:has(.reui-page-shell,.reui-account) input[type="checkbox"]:not(.form-switch input,[role="switch"],.btn-check):indeterminate { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8h8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check):focus-visible { outline:2px solid var(--dsib-primary,#295cf0); outline-offset:3px; box-shadow:0 0 0 3px color-mix(in srgb,var(--dsib-primary,#295cf0) 14%,transparent); }
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check):is(.is-invalid,[aria-invalid="true"]) { border-color:#dc3545; }
body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check):disabled { opacity:.5; cursor:not-allowed; }
@media(prefers-reduced-motion:reduce) { body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]) { transition:none; } }
@media(forced-colors:active) {
  body:has(.reui-page-shell,.reui-account) input:is([type="checkbox"],[type="radio"]):not(.form-switch input,[role="switch"],.btn-check) { appearance:auto; -webkit-appearance:auto; background-image:none; forced-color-adjust:auto; }
}
.reui-account .reui-tenant-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; margin-bottom:20px; background:var(--dsib-surface); border:1px solid var(--dsib-line); border-radius:8px; }
.reui-account .reui-tenant-switch-context { display:flex; flex-direction:column; gap:4px; min-width:0; }
.reui-account .reui-tenant-switch-label { font-size:12px; color:var(--dsib-muted); }
.reui-account .reui-tenant-switch strong { font-size:14px; font-weight:600; color:var(--dsib-ink); overflow-wrap:anywhere; }
.reui-account .reui-tenant-switch .btn { flex-shrink:0; min-height:38px; padding:8px 14px; font-size:13px; color:var(--dsib-ink); border-color:var(--dsib-line); background:var(--dsib-surface); }
/* Keep ABP notifications and SweetAlert's behavior; adapt presentation to ReUI. */
body:has(.reui-page-shell,.reui-account) .abp-toast-container { z-index:2000; min-width:0; max-width:calc(100vw - 32px); right:24px!important; bottom:24px!important; left:auto!important; gap:8px; }
body:has(.reui-page-shell,.reui-account) .abp-toast { width:min(380px,calc(100vw - 32px)); margin:0; padding:14px 16px; grid-template-columns:28px minmax(0,1fr); gap:12px; border-radius:8px; font-size:14px; line-height:1.5; box-shadow:0 8px 28px #10182824; animation:reui-toast-in .25s ease-out; }
body:has(.reui-page-shell,.reui-account) .abp-toast-success { background:#26874b; border-color:#26874b; }
body:has(.reui-page-shell,.reui-account) .abp-toast-error { background:#c43248; border-color:#c43248; }
body:has(.reui-page-shell,.reui-account) .abp-toast-info { background:#285ee8; border-color:#285ee8; }
body:has(.reui-page-shell,.reui-account) .abp-toast-warning { background:#8c5b08; border-color:#8c5b08; }
body:has(.reui-page-shell,.reui-account) .abp-toast-icon .icon { font-size:24px; }
body:has(.reui-page-shell,.reui-account) .abp-toast-content { min-width:0; padding:0 28px 0 0; }
body:has(.reui-page-shell,.reui-account) .abp-toast-message { max-width:none; overflow-wrap:anywhere; }
body:has(.reui-page-shell,.reui-account) .abp-toast-title { font-size:14px; margin-bottom:2px; }
body:has(.reui-page-shell,.reui-account) .abp-toast-close-button { width:24px; min-height:24px; padding:0; border-radius:4px; }
body:has(.reui-page-shell,.reui-account) .abp-toast-close-button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
body:has(.reui-page-shell,.reui-account) .abp-toast.toast-removing { animation:reui-toast-out .25s ease-in forwards; }
@keyframes reui-toast-in { from { transform:translateX(calc(100% + 24px)); opacity:0; } to { transform:translateX(0); opacity:1; } }
@keyframes reui-toast-out { to { transform:translateX(calc(100% + 24px)); opacity:0; } }
body:has(.reui-page-shell,.reui-account) .swal2-container { z-index:1990; padding:20px; }
body:has(.reui-page-shell,.reui-account) .swal2-popup { width:440px; max-width:100%; padding:28px; border:1px solid var(--dsib-line); border-radius:12px; background:var(--dsib-surface); color:var(--dsib-ink); box-shadow:0 20px 64px #10182829; font-family:inherit; }
body:has(.reui-page-shell,.reui-account) .swal2-icon { margin:0 auto 20px; }
body:has(.reui-page-shell,.reui-account) .swal2-icon:is(.swal2-warning,.swal2-info,.swal2-question) { width:48px; height:48px; border-width:2px; font-size:12px; }
body:has(.reui-page-shell,.reui-account) .swal2-icon.swal2-warning { color:#b7791f; border-color:#edca88; background:#fff8eb; }
body:has(.reui-page-shell,.reui-account) .swal2-title { padding:0; color:var(--dsib-ink); font-size:20px; font-weight:600; line-height:1.4; }
body:has(.reui-page-shell,.reui-account) .swal2-html-container { margin:12px 0 0; padding:0; color:var(--dsib-muted); font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
body:has(.reui-page-shell,.reui-account) .swal2-actions { width:100%; justify-content:flex-end; gap:10px; margin:24px 0 0; padding:20px 0 0; border-top:1px solid var(--dsib-line); }
body:has(.reui-page-shell,.reui-account) .swal2-actions button { min-height:40px; margin:0; padding:9px 18px; border:1px solid transparent; border-radius:6px; font-family:inherit; font-size:13px; font-weight:600; line-height:20px; box-shadow:none; }
body:has(.reui-page-shell,.reui-account) .swal2-confirm { background:var(--dsib-primary)!important; color:#fff!important; }
body:has(.reui-page-shell,.reui-account) .swal2-cancel { background:var(--dsib-surface)!important; color:var(--dsib-ink)!important; border-color:var(--dsib-line)!important; }
body:has(.reui-page-shell,.reui-account) .swal2-actions button:focus-visible { outline:2px solid var(--dsib-primary); outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { body:has(.reui-page-shell,.reui-account) .abp-toast,body:has(.reui-page-shell,.reui-account) .abp-toast.toast-removing { animation:none; } }
@media(max-width:575px) { body:has(.reui-page-shell,.reui-account) .abp-toast-container { right:16px!important; bottom:16px!important; } body:has(.reui-page-shell,.reui-account) .swal2-popup { padding:24px 20px; } }
html { --reui-sidebar-width:248px; }
html { scrollbar-gutter:auto; background-color:var(--dsib-bg,#f5f7fa); color-scheme:light; scrollbar-color:var(--dsib-muted,#667085) var(--dsib-bg,#f5f7fa); }
html:has(.reui-page-shell),body:has(.reui-page-shell) { height:100%; overflow:hidden; }
html[data-dsib-theme="dark"] { color-scheme:dark; }
html[data-reui-starting] body { visibility:hidden; }
html[data-reui-starting]::after { content:""; position:fixed; inset:0; z-index:2147483646; background:var(--dsib-bg,#f5f7fa); cursor:progress; }
html[data-reui-starting]::before { content:""; position:fixed; top:50%; left:50%; width:24px; height:24px; margin:-12px; border:2px solid var(--dsib-line,#dce2eb); border-top-color:var(--dsib-primary,#295af0); border-radius:50%; z-index:2147483647; animation:reui-startup-spin .7s linear infinite; }
@keyframes reui-startup-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { html[data-reui-starting]::before { animation:none; } }
html[data-reui-collapsed] { --reui-sidebar-width:0px; }
#reui-shell { display:contents; }
.reui-page-shell.dsib-shell { display:block; box-sizing:border-box; height:100dvh; min-height:0; overflow:hidden; padding-top:72px; padding-inline-start:var(--reui-sidebar-width); }
.reui-page-shell .dsib-workarea { height:100%; min-height:0; margin:0; display:flex; flex-direction:column; min-width:0; }
.reui-page-shell .dsib-main { flex:1; min-height:0; overflow-y:auto; scrollbar-gutter:stable; width:100%; max-width:1600px; margin-inline:auto; padding:28px; }
.reui-page-shell .dsib-footer { flex-shrink:0; }
.reui-page-shell .dsib-footer { padding:18px 28px; }
.reui-page-shell .dsib-breadcrumbs { margin-bottom:20px; }
.reui-page-shell .card { border-radius:8px; box-shadow:none; }
.reui-page-shell .card:has(table.dataTable) > .card-body { padding:24px; min-width:0; }
/* One table frame; toolbar and pagination are spaced outside it. Keep the
   frame overflow visible so action menus are not clipped by rounded corners. */
.reui-page-shell .dsib-grid .dt-scroll,
.reui-page-shell .dsib-grid table.dataTable:not(.dt-scroll table) { border:1px solid var(--dsib-line); border-radius:8px; background:var(--dsib-surface); }
.reui-page-shell .dsib-grid table.dataTable { border-collapse:separate!important; border-spacing:0; }
.reui-page-shell .dsib-grid .dt-scroll-head { border-radius:7px 7px 0 0; }
.reui-page-shell .dsib-grid table.dataTable > thead > tr > th { text-transform:none; font-size:12px; font-weight:600; height:44px; padding:12px 16px; background:var(--dsib-subtle); }
.reui-page-shell .dsib-grid table.dataTable > thead > tr > th:first-child { border-start-start-radius:7px; }
.reui-page-shell .dsib-grid table.dataTable > thead > tr > th:last-child { border-start-end-radius:7px; }
.reui-page-shell .dsib-grid table.dataTable > tbody > tr:last-child > td { border-bottom:0; }
.reui-page-shell .dsib-grid table.dataTable > tbody > tr:last-child > td:first-child { border-end-start-radius:7px; }
.reui-page-shell .dsib-grid table.dataTable > tbody > tr:last-child > td:last-child { border-end-end-radius:7px; }
.reui-page-shell .dsib-grid .dataTable_filters { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; padding:0 0 20px; margin:0; border:0; }
.reui-page-shell .dataTable_filters > .reui-grid-heading { width:auto; flex:1; margin:0; font-size:16px; font-weight:600; }
.reui-page-shell .dataTable_filters > div { width:auto; flex:0 1 288px; }
.reui-page-shell .dsib-grid .dt-search { position:relative; border:1px solid var(--dsib-line); border-radius:6px; background:var(--dsib-surface); transition:border-color .15s,box-shadow .15s; }
.reui-page-shell .dsib-grid .dt-search:focus-within { border-color:var(--dsib-primary); box-shadow:0 0 0 2px var(--dsib-primary-soft); }
.reui-page-shell .dsib-grid .dt-search input { height:40px; padding:9px 12px; padding-inline-start:38px; border:0; border-radius:inherit; background:transparent; color:var(--dsib-ink); box-shadow:none; outline:none; font-size:13px; line-height:20px; }
.reui-page-shell .dsib-grid .dt-search input::placeholder { color:var(--dsib-muted); opacity:1; }
.reui-page-shell .dsib-grid .dsib-grid-search-icon { left:auto; inset-inline-start:13px; top:50%; transform:translateY(-50%); font-size:14px; line-height:1; }
.reui-page-shell .dsib-grid .dt-scroll-body:has(.dropdown-menu.show) { min-height:180px!important; }
.reui-page-shell .dsib-grid .dataTable_footer { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; padding:20px 0 0; border:0; }
.reui-page-shell .dsib-grid .dataTable_footer > :has(.dt-info) { margin-inline:auto; }
.reui-page-shell .dsib-grid .dt-processing { position:absolute!important; top:50%!important; left:50%!important; width:180px!important; transform:translate(-50%,-50%); z-index:2; }
.reui-page-shell :is(.form-control,.form-select),.reui-account :is(.form-control,.form-select) { border-radius:6px; font-size:14px; }
.reui-page-shell .btn,.reui-account .btn { border-radius:6px; }
/* Shared Bootstrap tab presentation. Bootstrap retains switching and keyboard behavior. */
.reui-page-shell .dsib-main :is(.nav-tabs,.nav-pills) { gap:4px; --bs-nav-link-color:var(--dsib-muted); --bs-nav-link-hover-color:var(--dsib-ink); --bs-nav-pills-link-active-bg:var(--dsib-primary-soft); --bs-nav-pills-link-active-color:var(--dsib-primary); }
.reui-page-shell .dsib-main :is(.nav-tabs,.nav-pills) .nav-link { display:flex; align-items:center; gap:8px; min-height:44px; padding:11px 16px; color:var(--dsib-muted); font-size:14px; font-weight:500; line-height:20px; text-align:start; transition:background-color .15s,color .15s,border-color .15s; }
.reui-page-shell .dsib-main :is(.nav-tabs,.nav-pills) .nav-link:hover:not(.disabled):not(:disabled):not(.active) { color:var(--dsib-ink); background:var(--dsib-subtle); }
.reui-page-shell .dsib-main :is(.nav-tabs,.nav-pills) .nav-link:focus-visible { outline:2px solid var(--dsib-primary); outline-offset:2px; }
.reui-page-shell .dsib-main :is(.nav-tabs,.nav-pills) .nav-link:is(.disabled,:disabled,[aria-disabled="true"]) { color:var(--dsib-muted); opacity:.5; cursor:default; }
.reui-page-shell .dsib-main .nav-pills { padding:6px; border:1px solid var(--dsib-line); border-radius:8px; background:var(--dsib-subtle); }
.reui-page-shell .dsib-main .nav-pills .nav-link { border:1px solid transparent; border-radius:6px; background:transparent; }
.reui-page-shell .dsib-main .nav-pills .nav-link.active { color:var(--dsib-primary); background:var(--dsib-primary-soft); border-color:var(--dsib-primary-soft); }
.reui-page-shell .dsib-main .nav-pills:is(.flex-column,[aria-orientation="vertical"]) .nav-link { width:100%; border-inline-start-width:3px; }
.reui-page-shell .dsib-main .nav-pills:is(.flex-column,[aria-orientation="vertical"]) .nav-link.active { border-inline-start-color:var(--dsib-primary); }
.reui-page-shell .dsib-main .nav-tabs { padding:0; border:0; border-bottom:1px solid var(--dsib-line); }
.reui-page-shell .dsib-main .nav-tabs .nav-link { margin-bottom:-1px; border:0; border-bottom:2px solid transparent!important; border-radius:6px 6px 0 0; background:transparent; }
.reui-page-shell .dsib-main .nav-tabs .nav-link.active { color:var(--dsib-primary); background:transparent; border-bottom-color:var(--dsib-primary)!important; }
.reui-account.dsib-account { min-height:100vh; padding-top:72px; display:flex; flex-direction:column; background:var(--dsib-bg); }
.reui-account .dsib-account-main { flex:1; width:min(100%,460px); margin:0 auto; padding:40px 18px; }
.reui-account .dsib-auth-identity { text-align:center; margin-bottom:24px; }
.reui-account .dsib-account-form .card { border-radius:8px!important; }
.reui-account .dsib-footer { width:100%; padding:18px 28px; }
.reui-fallback { position:fixed; inset-block:72px 0; inset-inline-start:0; width:var(--reui-sidebar-width); padding:16px; background:var(--dsib-surface); overflow:auto; z-index:1010; display:block; }
.reui-fallback > a { display:block; padding:10px; }
#reui-shell:not([data-chrome-ready])::before { content:""; position:fixed; inset-block-start:0; inset-inline:0; height:72px; background:var(--dsib-surface); border-bottom:1px solid var(--dsib-line); z-index:1011; }
#reui-shell[data-anonymous] .reui-fallback { inset-block:0 auto; height:72px; width:auto; padding:12px 24px; z-index:1012; }
html[data-reui-collapsed] .reui-fallback { visibility:hidden; }
#dsib-ui-workspace { min-height:490px; }
.reui-home { display:grid; gap:24px; }
.reui-home-welcome { display:grid; grid-template-columns:minmax(0,1fr) 260px; align-items:center; gap:40px; padding:36px; border:1px solid var(--dsib-line); border-radius:12px; background:var(--dsib-surface); }
.reui-home-eyebrow { display:block; color:var(--dsib-muted); font-size:12px; font-weight:600; letter-spacing:.04em; }
.reui-home-copy h1 { margin:12px 0 20px; color:var(--dsib-ink); font-size:clamp(24px,3vw,34px); font-weight:650; line-height:1.2; letter-spacing:-.025em; overflow-wrap:anywhere; }
.reui-home-greeting { margin:0 0 8px; color:var(--dsib-ink); font-size:16px; }
.reui-home-description { max-width:540px; margin:0; color:var(--dsib-muted); font-size:14px; line-height:1.7; }
.reui-home-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.reui-home-actions .btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:42px; padding:10px 16px; font-size:13px; }
.reui-home-actions .btn-outline-secondary { color:var(--dsib-ink); border-color:var(--dsib-line); background:var(--dsib-surface); }
.reui-home-actions .btn-outline-secondary:hover { color:var(--dsib-ink); border-color:var(--dsib-muted); background:var(--dsib-subtle); }
.reui-home-context { display:flex; flex-direction:column; align-items:flex-start; gap:10px; padding:24px; border:1px solid var(--dsib-line); border-radius:10px; background:var(--dsib-subtle); overflow-wrap:anywhere; }
.reui-home-context-icon,.reui-home-link-icon { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border-radius:10px; background:var(--dsib-primary-soft); color:var(--dsib-primary); font-size:18px; }
.reui-home-context strong { color:var(--dsib-ink); font-size:15px; }
.reui-home-context > span:last-child { color:var(--dsib-muted); font-size:12px; }
.reui-home-section-title { margin:8px 0 -8px; color:var(--dsib-ink); font-size:16px; font-weight:600; }
.reui-home-links { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; }
.reui-home-link { display:flex; align-items:center; gap:16px; padding:24px; border:1px solid var(--dsib-line); border-radius:10px; background:var(--dsib-surface); color:var(--dsib-ink); text-decoration:none; transition:border-color .15s,background-color .15s; }
.reui-home-link:hover { border-color:var(--dsib-primary); background:var(--dsib-subtle); color:var(--dsib-ink); }
.reui-home-link > span:nth-child(2) { flex:1; min-width:0; }
.reui-home-link strong { display:block; margin-bottom:5px; font-size:14px; font-weight:600; }
.reui-home-link > span > span { display:block; color:var(--dsib-muted); font-size:12px; line-height:1.6; }
.reui-home-link > i { color:var(--dsib-muted); font-size:11px; }
@media(max-width:767px) { .reui-home-welcome { grid-template-columns:minmax(0,1fr); gap:24px; padding:24px; } .reui-home-context { padding:20px; } .reui-home-link { padding:20px; } }
.reui-mobile-sort { display:none; }
@media(max-width:767px) {
  .reui-page-shell .card:has(table.dataTable) > .card-body { padding:16px; }
  .reui-page-shell .dsib-grid { min-width:0; max-width:100%; }
  .reui-page-shell .dsib-grid .dataTable_filters { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; min-height:0; padding:0 0 16px; }
  .reui-page-shell .dataTable_filters > div { width:100%; min-width:0; }
  .reui-page-shell .dsib-grid .dt-search { width:100%; }
  .reui-page-shell .reui-mobile-sort { display:block; width:100%; min-height:40px; }
  .reui-page-shell .dsib-grid-person { min-width:0; gap:8px; }
  .reui-page-shell .dsib-grid-person-label { min-width:0; overflow-wrap:anywhere; }
  .reui-page-shell .dsib-grid .abp-action-button { justify-self:start; }
  .reui-page-shell .dsib-grid .abp-action-button > .btn { white-space:nowrap; }
  .reui-page-shell .dsib-grid .dataTable_footer { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; min-height:0; padding:16px 0 0; }
  .reui-page-shell .dsib-grid .dataTable_footer > * { width:100%; min-width:0; margin:0!important; text-align:start!important; }
  .reui-page-shell .dsib-grid .dt-length { justify-content:flex-start; }
  .reui-page-shell .dsib-grid .dt-info { padding:0; }
  .reui-page-shell .dsib-grid .dt-paging { margin:0; }
  .reui-page-shell .dsib-grid .pagination { justify-content:flex-start; flex-wrap:wrap; gap:4px; }
}
@media(max-width:991px) {
  .reui-fallback { display:none; }
  #reui-shell:not([data-chrome-ready])::before { height:64px; }
  .reui-page-shell.dsib-shell { padding-top:64px; padding-inline-start:0; }
  .reui-page-shell .dsib-main { padding:22px 18px; }
  .reui-account.dsib-account { padding-top:64px; }
}
@media(max-width:520px) {
  .reui-page-shell .dsib-main { padding:20px 14px; }
  .reui-page-shell .dsib-grid .dataTable_filters { flex-wrap:wrap; }
  .reui-page-shell .dsib-grid .dataTable_footer { flex-wrap:wrap; }
}
/* Boolean settings keep their native checkbox and ABP form binding. */
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch.form-check { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px 14px; margin-block:4px 16px; border:1px solid var(--dsib-line); border-radius:8px; background:var(--dsib-subtle); }
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input { appearance:none; -webkit-appearance:none; flex:0 0 38px; width:38px; height:22px; margin:0; float:none; border:1px solid var(--dsib-muted); border-radius:999px; background-color:var(--dsib-muted); background-image:radial-gradient(circle at 10px 50%,#fff 0 7px,transparent 7.5px); background-repeat:no-repeat; background-size:100% 100%; cursor:pointer; transition:background-color .16s,border-color .16s; }
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input:checked { background-color:var(--dsib-primary)!important; border-color:var(--dsib-primary)!important; background-image:radial-gradient(circle at 26px 50%,#fff 0 7px,transparent 7.5px); }
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input:focus-visible { outline:2px solid var(--dsib-primary); outline-offset:3px; box-shadow:0 0 0 3px var(--dsib-primary-soft); }
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input:disabled { opacity:.5; cursor:not-allowed; }
.dsib-drawer .reui-setting-switch .form-check-label { margin:0; cursor:pointer; color:var(--dsib-ink); }
/* Quiet drawer controls; retain Bootstrap markup, focus and form lifecycle. */
body:has(.reui-page-shell) .dsib-drawer .modal-header { min-height:72px; padding:18px 28px; background:var(--dsib-surface); border-bottom:1px solid var(--dsib-line); }
body:has(.reui-page-shell) .dsib-drawer .modal-title { font-size:18px; font-weight:600; }
body:has(.reui-page-shell) .dsib-drawer .btn-close { box-sizing:content-box; width:16px; height:16px; padding:9px; border-color:transparent; background-color:transparent; border-radius:6px; opacity:.65; box-shadow:none; }
body:has(.reui-page-shell) .dsib-drawer .btn-close:hover { background-color:var(--dsib-subtle); opacity:1; }
body:has(.reui-page-shell) .dsib-drawer .btn-close:focus-visible { outline:2px solid var(--dsib-primary); outline-offset:2px; opacity:1; }
body:has(.reui-page-shell) .dsib-drawer .nav-tabs { margin-bottom:20px; overflow-y:hidden; height:auto; min-height:44px; padding:0; }
body:has(.reui-page-shell) .dsib-drawer .nav-tabs .nav-link { padding:11px 14px; border:0; border-bottom:2px solid transparent!important; border-radius:0; background:transparent; font-weight:500; }
body:has(.reui-page-shell) .dsib-drawer .nav-tabs .nav-link.active { border-bottom-color:var(--dsib-primary)!important; color:var(--dsib-primary); background:transparent; }
body:has(.reui-page-shell) .dsib-drawer .dsib-tab-panel { padding-block:0; }
body:has(.reui-page-shell) .dsib-drawer :is(.form-control,.form-select):focus { outline:none; border-color:var(--dsib-primary); box-shadow:0 0 0 2px var(--dsib-primary-soft); }
body:has(.reui-page-shell) .dsib-drawer .modal-footer { min-height:72px; padding:16px 28px; border-top:1px solid var(--dsib-line); box-shadow:none; gap:8px; }
body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch.form-check { background:transparent; border-color:transparent; padding:6px 0; min-height:36px; margin-block:0 12px; }
.dsib-drawer .reui-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.dsib-drawer .reui-detail-item { min-width:0; margin:0!important; padding:16px; border:1px solid var(--dsib-line); border-radius:9px; background:var(--dsib-subtle); }
.dsib-drawer .reui-detail-label { display:block; margin-bottom:8px; color:var(--dsib-muted); font-size:12px; font-weight:500!important; line-height:1.5; }
.dsib-drawer .reui-detail-value { display:block; color:var(--dsib-ink); font-size:14px; font-weight:550; line-height:1.7; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
@media(max-width:520px) { .dsib-drawer .reui-detail-grid { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input { transition:none; } }
@media(forced-colors:active) { body:has(.reui-page-shell) .dsib-drawer .reui-setting-switch .form-check-input { appearance:auto; -webkit-appearance:auto; background-image:none; forced-color-adjust:auto; } }
.dsib-confirm { box-sizing:border-box; position:fixed; inset:0; margin:auto; width:min(600px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); padding:26px; border:1px solid var(--dsib-line,#e2e8f0); border-radius:12px; background:var(--dsib-surface,#fff); color:var(--dsib-ink,#18253b); box-shadow:0 20px 70px #10182826; overflow:auto; }
.dsib-confirm::backdrop { background:#18212d66; backdrop-filter:blur(2px); }
.dsib-confirm-header { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:16px; }
.dsib-confirm-header h2 { margin:0; font-size:18px; line-height:1.5; font-weight:600; color:inherit; }
.dsib-confirm>p { margin:0 0 24px; color:var(--dsib-muted,#68758b); font-size:14px; line-height:1.7; white-space:pre-wrap; overflow-wrap:anywhere; }
.dsib-confirm-actions { display:flex; justify-content:flex-end; gap:10px; padding-top:20px; border-top:1px solid var(--dsib-line,#e2e8f0); }
@media(max-width:575px) { .dsib-confirm { padding:20px; } }
.reui-page-shell .dsib-grid table.dsib-responsive-grid { width:100%!important; min-width:0!important; table-layout:fixed; }
.reui-page-shell .dsib-grid table.dsib-responsive-grid > colgroup { display:none; }
.reui-page-shell .dsib-grid table.dsib-responsive-grid th,.reui-page-shell .dsib-grid table.dsib-responsive-grid td { white-space:normal!important; overflow-wrap:anywhere; }
.reui-page-shell .dsib-responsive-toggle.dsib-button { float:inline-start; margin-inline-end:8px; width:28px; min-height:28px; padding:0; font-size:19px; line-height:1; }
.reui-page-shell .dsib-responsive-details { display:grid; gap:16px; margin:0; padding:8px; }
.reui-page-shell .dsib-responsive-details > div { display:grid; grid-template-columns:minmax(80px,32%) minmax(0,1fr); gap:12px; }
.reui-page-shell .dsib-responsive-details dt { font-size:12px; color:var(--dsib-muted); font-weight:600; }
.reui-page-shell .dsib-responsive-details dd { margin:0; min-width:0; overflow-wrap:anywhere; }
.reui-page-shell .dsib-grid .dsib-responsive-child > td { background:var(--dsib-subtle); height:auto; }
.reui-page-shell .dsib-grid:has(.dsib-responsive-grid) .dt-scroll-body { overflow-x:hidden!important; }
.reui-page-shell .dsib-grid .dt-scroll-body { min-height:0!important; }
.reui-page-shell .dsib-grid table.dataTable > tbody > tr:not(.dsib-responsive-child) > td { height:60px; padding:12px 16px; vertical-align:middle; background:var(--dsib-surface); }

/* Shared DSIB control styles: MVC document/shadow roots and React. */
.dsib-card,.dsib-accordion { --dsib-panel-bg:var(--dsib-surface,var(--surface,var(--background,#fff))); --dsib-panel-line:var(--dsib-line,var(--line,var(--border,#e2e8f0))); background:var(--dsib-panel-bg); color:var(--dsib-ink,var(--ink,var(--foreground,#18253b))); border:1px solid var(--dsib-panel-line); border-radius:12px; box-shadow:0 2px 6px rgb(15 23 42 / .025); min-width:0; }
.dsib-card-header,.dsib-card-body,.dsib-card-footer { padding:20px 24px; }
.dsib-card-header { border-bottom:1px solid var(--dsib-panel-line); display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.dsib-card-title { margin:0; font-size:16px; font-weight:600; line-height:1.5; }
.dsib-card-description,.dsib-widget-hint { color:var(--dsib-muted,var(--muted-foreground,#68758b)); font-size:13px; line-height:1.6; margin:6px 0 0; }
.dsib-card-footer { border-top:1px solid var(--dsib-panel-line); display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.dsib-widget-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:20px; }
.dsib-widget { padding:24px; position:relative; }
.dsib-widget-label { font-size:13px; font-weight:500; color:var(--dsib-muted,var(--muted-foreground,#68758b)); }
.dsib-widget-value { font-size:28px; line-height:1.25; font-weight:650; letter-spacing:-.025em; margin:10px 0; overflow-wrap:anywhere; }
.dsib-widget-icon { display:inline-flex; padding:10px; border-radius:10px; color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); background:var(--dsib-subtle,var(--subtle,var(--secondary,#f8fafc))); }
.dsib-tab-list { display:flex; gap:6px; overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; border-bottom:1px solid var(--dsib-line,var(--line,var(--border,#e2e8f0))); padding:0 0 1px; margin:0; flex-wrap:nowrap; }
.dsib-tab-list .dsib-tab { appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; background:transparent; border:0; border-bottom:2px solid transparent; border-radius:6px 6px 0 0; padding:12px 16px; min-height:44px; font:inherit; font-size:13px; font-weight:600; color:var(--dsib-muted,var(--muted-foreground,#68758b)); text-decoration:none; cursor:pointer; }
.dsib-tab-list .dsib-tab:is(.active,[aria-selected="true"]) { color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); border-bottom-color:currentColor; background:var(--dsib-subtle,var(--subtle,var(--secondary,#f8fafc))); }
.dsib-tabs-pills { border:0; padding:5px; border-radius:10px; background:var(--dsib-subtle,var(--subtle,var(--secondary,#f8fafc))); }
.dsib-tabs-pills .dsib-tab { border:0; border-radius:6px; }
.dsib-tabs-pills .dsib-tab:is(.active,[aria-selected="true"]) { background:var(--dsib-surface,var(--surface,var(--background,#fff))); box-shadow:0 1px 3px rgb(15 23 42 / .08); }
.dsib-tab-panel { padding-block:20px; min-width:0; }
.dsib-accordion-item { border:0; border-bottom:1px solid var(--dsib-panel-line); background:transparent; }
.dsib-accordion-item:last-child { border-bottom:0; }
.dsib-accordion-heading { margin:0; font-size:inherit; }
.dsib-accordion-trigger { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; text-align:start; background:transparent; color:inherit; font:inherit; font-size:14px; font-weight:600; padding:18px 22px; border:0; border-radius:10px; cursor:pointer; box-shadow:none; }
.dsib-accordion-trigger[aria-expanded="true"] { color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); background:var(--dsib-subtle,var(--subtle,var(--secondary,#f8fafc))); box-shadow:none; }
.dsib-accordion-body { padding:4px 22px 20px; line-height:1.7; font-size:14px; overflow-wrap:anywhere; }
.dsib-accordion-chevron { width:16px; height:16px; flex-shrink:0; transition:transform .18s; }
.dsib-accordion-trigger[aria-expanded="true"] .dsib-accordion-chevron { transform:rotate(180deg); }
:is(.dsib-tab,.dsib-accordion-trigger):focus-visible { outline:2px solid var(--dsib-primary,var(--accent,var(--primary,#295cf0))); outline-offset:-3px; }
:is(.dsib-tab,.dsib-accordion-trigger):is(:disabled,[aria-disabled="true"],.disabled) { opacity:.45; cursor:not-allowed; }
@media(max-width:575px) { .dsib-card-header,.dsib-card-body,.dsib-card-footer,.dsib-widget { padding:16px; } .dsib-tab-list .dsib-tab { padding:10px 12px; } }
@media(prefers-reduced-motion:reduce) { .dsib-accordion-chevron { transition:none; } }
@media(forced-colors:active) { .dsib-tab-list .dsib-tab[aria-selected="true"] { border-bottom:2px solid Highlight; } .dsib-card,.dsib-accordion { border-color:CanvasText; } }
.dsib-button,.dsib-account-form .btn {
  --dsib-button-bg:var(--dsib-primary,var(--accent,var(--primary,#295cf0)));
  --dsib-button-color:#fff; --dsib-button-border:var(--dsib-button-bg);
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:38px; padding:8px 14px; border:1px solid var(--dsib-button-border)!important;
  border-radius:6px; background-color:var(--dsib-button-bg)!important; color:var(--dsib-button-color)!important;
  font:inherit; font-size:13px; font-weight:600; line-height:20px; text-decoration:none; cursor:pointer;
  transition:filter .15s,box-shadow .15s;
}
.dsib-button-primary,.dsib-account-form .btn-primary { --dsib-button-bg:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); }
.dsib-button-success,.dsib-account-form .btn-success { --dsib-button-bg:#15734e; }
.dsib-button-danger,.dsib-account-form .btn-danger { --dsib-button-bg:#bd303a; }
.dsib-button-warning,.dsib-account-form .btn-warning { --dsib-button-bg:#f4c045; --dsib-button-color:#352700; }
.dsib-button-info,.dsib-account-form .btn-info { --dsib-button-bg:#075985; }
.dsib-button-secondary,.dsib-button-outline,.dsib-account-form .btn-secondary,.dsib-account-form .btn-light,.dsib-account-form .btn-dark,.dsib-account-form .btn[class*="btn-outline-"] {
  --dsib-button-bg:var(--dsib-surface,var(--surface,var(--background,#fff)));
  --dsib-button-color:var(--dsib-ink,var(--ink,var(--foreground,#18253b)));
  --dsib-button-border:var(--dsib-line,var(--line,var(--border,#e2e8f0)));
}
.dsib-button-ghost,.dsib-button-link,.dsib-account-form .btn-link { --dsib-button-bg:transparent; --dsib-button-border:transparent; --dsib-button-color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); }
.dsib-button-link { text-underline-offset:3px; }
.dsib-button-link:hover { text-decoration:underline; }
.dsib-button:not(:disabled):not([aria-disabled="true"]):hover,.dsib-account-form .btn:not(:disabled):hover { filter:brightness(.94); }
.dsib-button:focus-visible,.dsib-account-form .btn:focus-visible { outline:2px solid var(--dsib-primary,var(--accent,var(--primary,#295cf0))); outline-offset:3px; box-shadow:none; }
.dsib-button:is(:disabled,[aria-disabled="true"],.disabled),.dsib-account-form .btn:disabled { opacity:.5; cursor:not-allowed; filter:none; }
.dsib-button[aria-pressed="true"] { box-shadow:inset 0 0 0 1px currentColor; }
/* An open menu keeps a single button border; keyboard focus remains visible. */
.dsib-button[aria-expanded="true"]:not([aria-pressed="true"]) { box-shadow:none; }
.dsib-button:focus:not(:focus-visible),.dsib-account-form .btn:focus:not(:focus-visible) { outline:none; box-shadow:none; }
.dsib-button-sm { min-height:32px; padding:5px 10px; font-size:12px; }
.dsib-button-lg { min-height:44px; padding:11px 18px; font-size:14px; }
.dsib-button-icon { width:38px; padding:8px; aspect-ratio:1; }
.dsib-grid-action.dsib-button { width:32px; min-height:32px; padding:6px; border-radius:6px; --dsib-button-color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); }
.dsib-grid-action svg { width:16px; height:16px; }
.dsib-grid-action-danger.dsib-button { --dsib-button-color:#bd303a; }
.dsib-button-sort { min-height:32px; width:100%; padding:4px 0; justify-content:space-between; font-size:12px; --dsib-button-color:var(--dsib-muted,var(--muted,#68758b)); }
.dsib-input,.dsib-select,.dsib-textarea {
  box-sizing:border-box; min-height:40px; border:1px solid var(--dsib-line,var(--line,var(--border,#e2e8f0)));
  border-radius:6px; padding:9px 12px; background-color:var(--dsib-surface,var(--surface,var(--background,#fff)));
  color:var(--dsib-ink,var(--ink,var(--foreground,#18253b))); font:inherit; font-size:14px; line-height:20px;
}
.dsib-input,.dsib-textarea { width:100%; }
.dsib-select { max-width:100%; }
.dsib-textarea { min-height:100px; resize:vertical; }
.dsib-input::placeholder,.dsib-textarea::placeholder { color:var(--dsib-muted,var(--muted,#68758b)); opacity:1; }
:is(.dsib-input,.dsib-select,.dsib-textarea):focus { border-color:var(--dsib-primary,var(--accent,var(--primary,#295cf0))); outline:none; box-shadow:0 0 0 2px color-mix(in srgb,var(--dsib-primary,var(--accent,var(--primary,#295cf0))) 12%,transparent); }
:is(.dsib-input,.dsib-select,.dsib-textarea):is(:disabled,[readonly]) { background-color:var(--dsib-subtle,var(--subtle,var(--secondary,#f8fafc))); }
:is(.dsib-input,.dsib-select,.dsib-textarea):disabled { opacity:.6; cursor:not-allowed; }
:is(.dsib-input,.dsib-select,.dsib-textarea):is(.is-invalid,[aria-invalid="true"]) { border-color:#bd303a; }
.dsib-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.dsib-field-label { font-size:13px; font-weight:500; line-height:1.5; }
.dsib-field-error { color:var(--danger,#bd303a); font-size:12px; font-weight:400; line-height:1.5; }
.dsib-field :is(.dsib-input,.dsib-select,.dsib-textarea)[aria-invalid="true"] { border-color:var(--danger,#bd303a)!important; box-shadow:none; }
.dsib-field :is(.dsib-input,.dsib-select,.dsib-textarea)[aria-invalid="true"]:focus { outline:none; box-shadow:0 0 0 2px color-mix(in srgb,var(--danger,#bd303a) 14%,transparent); }
html[data-dsib-theme="dark"] .dsib-button-primary,html[data-dsib-theme="dark"] .dsib-account-form .btn-primary,:root[data-theme="dark"] .dsib-button-primary,:host([data-color-mode="dark"]) .dsib-button-primary { --dsib-button-color:#102040; }
@media(prefers-reduced-motion:reduce) { .dsib-button,.dsib-account-form .btn { transition:none; } }
@media(forced-colors:active) { .dsib-button,.dsib-account-form .btn { forced-color-adjust:auto; border-color:ButtonText!important; } }
