/* ConversionHub UI v2. Tabler is the component foundation; these are brand tokens. */
body.ch-ui-v2 {
  --ch-primary: #1767e8; --ch-ink: #182338; --ch-muted: #69758b;
  --ch-border: #e5eaf2; --ch-canvas: #f5f7fb; --ch-surface: #fff;
  --bs-primary: #1767e8; --bs-primary-rgb: 23,103,232;
  --bs-body-color: #182338; --bs-body-bg: #f5f7fb; --bs-border-color: #e5eaf2;
  --tblr-primary: #1767e8; --tblr-primary-rgb: 23,103,232;
  --tblr-body-color: #182338; --tblr-body-bg: #f5f7fb; --tblr-border-color: #e5eaf2;
  --tblr-font-sans-serif: Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-family: var(--tblr-font-sans-serif); font-size: 14px; line-height: 1.55;
  color: var(--ch-ink); background: var(--ch-canvas);
}
.ch-ui-v2 *, .ch-ui-v2 *::before, .ch-ui-v2 *::after { box-sizing: border-box; }
.ch-ui-v2 h1,.ch-ui-v2 h2,.ch-ui-v2 h3,.ch-ui-v2 h4,.ch-ui-v2 h5 { color: var(--ch-ink); letter-spacing: -.025em; }
.ch-ui-v2 h1.h3,.ch-ui-v2 h1.h4,.ch-ui-v2 .ch-page-title { font-size: clamp(22px,2vw,28px); font-weight: 650; line-height: 1.25; }
.ch-ui-v2 .text-muted,.ch-ui-v2 .text-body-secondary { color: var(--ch-muted) !important; }
.ch-ui-v2 .small,.ch-ui-v2 small { font-size: 12px; }
.ch-ui-v2 a { text-underline-offset: 3px; }
.ch-ui-v2 :focus-visible { outline: 3px solid #91b8ff; outline-offset: 3px; }
.ch-ui-v2 .ch-skip-link { position: fixed; top: -70px; left: 20px; z-index: 2000; padding: 10px 16px; background: #fff; border-radius: 8px; }
.ch-ui-v2 .ch-skip-link:focus { top: 12px; }
.ch-ui-v2 #appRoot { --sb-w: 244px; --sb-w-collapsed: 76px; min-width: 0; padding-left: var(--sb-w); }
.ch-ui-v2 #appRoot > .sidebar { width: var(--sb-w); padding: 24px 14px 16px !important; background: #111d32 !important; color: #dce5f4; border-right: 1px solid #1e2d45; z-index: 1040; }
.ch-ui-v2 #appRoot > .sidebar > a.d-flex { padding: 0 10px 24px; margin-bottom: 0 !important; min-height: 58px; }
.ch-ui-v2 #appRoot > .sidebar > a.d-flex .label { font-size: 19px !important; font-weight: 650 !important; letter-spacing: -.6px; }
.ch-ui-v2 #appRoot > .sidebar > a.d-flex img { max-width: 150px; }
.ch-ui-v2 #sidebar .nav { gap: 3px; }
.ch-ui-v2 #sidebar .nav-link { gap: 11px; min-height: 43px; padding: 10px 13px; border-radius: 9px; color: #a9b8cf !important; font-size: 13px; font-weight: 500; }
.ch-ui-v2 #sidebar .nav-link i { margin: 0 !important; font-size: 19px; width: 20px; color: #8ea4c5; }
.ch-ui-v2 #sidebar .nav-link:hover { background: #1b2a43; color: #fff !important; }
.ch-ui-v2 #sidebar .nav-link.active { background: #233f68 !important; color: #fff !important; box-shadow: inset 3px 0 #65a0ff; }
.ch-ui-v2 #sidebar .nav-link.active i { color: #83b5ff; }
.ch-ui-v2 .ch-nav-section { padding: 22px 13px 8px; font-size: 10px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; color: #7087a8; white-space: nowrap; }
.ch-ui-v2 #sidebar hr { margin: 16px 6px; border-color: #30415d; opacity: .6; }
.ch-ui-v2 #sidebar > div:last-child .nav-link { border-color: #30415d !important; }
.ch-ui-v2 #appRoot > .flex-grow-1 { min-width: 0; width: 100%; }
.ch-ui-v2 .topbar { min-height: 70px; background: #fff; border-bottom: 1px solid var(--ch-border); box-shadow: none; backdrop-filter: none; z-index: 1030; }
.ch-ui-v2 .topbar > .container-fluid { min-height: 70px; padding: 12px 32px !important; gap: 12px; }
.ch-ui-v2 .ch-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--ch-muted); }
.ch-ui-v2 .ch-breadcrumb strong { color: var(--ch-ink); font-weight: 600; }
.ch-ui-v2 .ch-version-label { display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid #dce8fc; border-radius: 5px; background: #f3f7ff; color: #1767e8; font-size: 10px; font-weight: 650; letter-spacing: .03em; }
.ch-ui-v2 .btn-circle { width: 36px; height: 36px; border-radius: 9px; }
.ch-ui-v2 .topbar .dropdown-toggle { gap: 4px; font-size: 13px; font-weight: 550; }
.ch-ui-v2 .topbar .dropdown-menu { max-width: calc(100vw - 24px); min-width: min(340px,calc(100vw - 24px)) !important; padding: 8px; border-color: var(--ch-border); box-shadow: 0 12px 40px #18233818; border-radius: 12px; }
.ch-ui-v2 .topbar .noti-menu { padding: 0; }
.ch-ui-v2 .dropdown-item { font-size: 13px; border-radius: 6px; padding: 9px 12px; }
.ch-ui-v2 .content { background: var(--ch-canvas); }
.ch-ui-v2 .content > .container-fluid { padding: 28px 32px 40px !important; max-width: 1800px; margin-inline: auto; min-width: 0; }
.ch-ui-v2 .ch-page { min-width: 0; }
.ch-ui-v2 .ch-page > .container-fluid { padding: 0 !important; }
.ch-ui-v2 .ch-page-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.ch-ui-v2 .ch-page-eyebrow { display: block; margin-bottom: 6px; color: #8390a5; font-size: 10px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.ch-ui-v2 .ch-page-description { margin-top: 8px; color: var(--ch-muted); max-width: 720px; font-size: 13px; }
.ch-ui-v2 .card { border: 1px solid var(--ch-border) !important; border-radius: 13px; background: #fff; box-shadow: 0 2px 3px #18233802; min-width: 0; }
.ch-ui-v2 .card-header { min-height: 55px; padding: 17px 20px; border-bottom: 1px solid var(--ch-border); background: #fff; border-radius: 13px 13px 0 0; font-size: 14px; font-weight: 600; }
.ch-ui-v2 .card-body { padding: 20px; }
.ch-ui-v2 .card-footer { background: #fafbfd; padding: 14px 20px; border-top-color: var(--ch-border); }
.ch-ui-v2 .btn { font-size: 13px; font-weight: 550; border-radius: 8px; min-height: 36px; padding: 8px 13px; gap: 6px; transition: background .15s,border-color .15s; }
.ch-ui-v2 .btn-sm { min-height: 31px; padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.ch-ui-v2 .btn-primary { --bs-btn-bg: #1767e8; --bs-btn-border-color: #1767e8; --bs-btn-hover-bg: #1257c6; --bs-btn-hover-border-color: #1257c6; --tblr-btn-bg: #1767e8; --tblr-btn-border-color: #1767e8; --tblr-btn-hover-bg: #1257c6; --tblr-btn-hover-border-color: #1257c6; background: #1767e8; border-color: #1767e8; color: #fff; box-shadow: 0 1px 2px #1767e81a; }
.ch-ui-v2 .btn-outline-secondary { border-color: #dce2ec; color: #53617a; background: #fff; }
.ch-ui-v2 .btn-outline-secondary:hover { background: #f3f6fb; color: #182338; border-color: #bcc9db; }
.ch-ui-v2 .btn-secondary { background: #eef2f7; border-color: #e3e8f0; color: #44536b; }
.ch-ui-v2 .btn-secondary:hover { background: #e2e8f2; color: #182338; }
.ch-ui-v2 .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; min-height: 32px; padding: 0; border-radius: 7px; }
.ch-ui-v2 .btn-ghost { padding: 0; min-height: 36px; }
.ch-ui-v2 .form-control,.ch-ui-v2 .form-select { min-height: 39px; font-size: 13px; border: 1px solid #dce3ef; border-radius: 8px; background-color: #fff; color: #23314a; padding: 9px 12px; box-shadow: none; }
.ch-ui-v2 .form-select { padding-right: 32px; }
.ch-ui-v2 .form-control:focus,.ch-ui-v2 .form-select:focus { border-color: #78a8f5; box-shadow: 0 0 0 3px #1767e812; }
.ch-ui-v2 .form-control-sm,.ch-ui-v2 .form-select-sm { min-height: 32px; padding-top: 5px; padding-bottom: 5px; font-size: 12px; }
.ch-ui-v2 .form-label { font-size: 12px; font-weight: 600; color: #48566c; }
.ch-ui-v2 .form-text { font-size: 12px; color: var(--ch-muted); }
.ch-ui-v2 .form-check-input { border-color: #b8c6da; }
.ch-ui-v2 .form-check-input:checked { background-color: #1767e8; border-color: #1767e8; }
.ch-ui-v2 .form-control.is-invalid,.ch-ui-v2 .form-select.is-invalid { border-color: #d63939; }
.ch-ui-v2 .input-group > .form-control { min-width: 0; }
.ch-ui-v2 .badge { font-size: 10px; line-height: 1.35; font-weight: 600; letter-spacing: 0; border-radius: 5px; padding: 4px 7px; text-transform: none; }
.ch-ui-v2 .badge.bg-success { background: #e7f7ef !important; color: #15734b !important; }
.ch-ui-v2 .badge.bg-danger { background: #ffeded !important; color: #c13434 !important; }
.ch-ui-v2 .badge.bg-warning { background: #fff3d9 !important; color: #99620b !important; }
.ch-ui-v2 .badge.bg-secondary { background: #edf1f7 !important; color: #606c80 !important; }
.ch-ui-v2 .badge.bg-primary { background: #eaf2ff !important; color: #1767e8 !important; }
.ch-ui-v2 .alert { border-radius: 10px; font-size: 13px; padding: 13px 16px; border-width: 1px; box-shadow: none; }
.ch-ui-v2 .alert-light { background: #fff; color: #53617a; border-color: var(--ch-border); }
.ch-ui-v2 .alert-info { background: #eff6ff; border-color: #dae9ff; color: #255287; }
.ch-ui-v2 .alert-warning { background: #fff8e9; border-color: #fae8be; color: #826221; }
.ch-ui-v2 .alert-danger { background: #fff1f1; border-color: #f6d4d4; color: #a13232; }
.ch-ui-v2 .alert-success { background: #edf9f2; border-color: #cfeedd; color: #1b7049; }
.ch-ui-v2 .table { --bs-table-color: #33415a; --bs-table-border-color: #edf0f5; --bs-table-hover-bg: #f7faff; --tblr-table-color: #33415a; font-size: 13px; margin-bottom: 0; }
.ch-ui-v2 .table thead th { color: #728097; font-size: 10px; font-weight: 650; letter-spacing: .045em; text-transform: uppercase; background: #fafbfd; padding: 14px 16px; border-bottom: 1px solid var(--ch-border); white-space: nowrap; }
.ch-ui-v2 .table tbody td { padding: 14px 16px; border-bottom: 1px solid #edf0f5; vertical-align: middle; }
.ch-ui-v2 .table tbody tr:last-child td { border-bottom: 0; }
.ch-ui-v2 .table-responsive { border-radius: 12px; overscroll-behavior-inline: contain; }
.ch-ui-v2 .ch-table-scroll { overflow-x: auto; max-width: 100%; border-radius: 12px; }
.ch-ui-v2 .ch-table-scroll .table { min-width: 650px; }
.ch-ui-v2 .table-responsive > .table { min-width: 650px; }
.ch-ui-v2.ch-admin .ch-table-scroll .table,.ch-ui-v2.ch-admin .table-responsive > .table { min-width: 850px; }
.ch-ui-v2 .dt-container { min-width: 0; }
.ch-ui-v2 .dt-container .dt-layout-row { padding-inline: 12px; gap: 12px; flex-wrap: wrap; }
.ch-ui-v2 .dt-container .dt-layout-table { padding: 0; }
.ch-ui-v2 .dt-container .dt-search input { border: 1px solid #dce3ef; border-radius: 7px; min-height: 34px; font-size: 12px; padding: 7px 11px; }
.ch-ui-v2 .dt-container .dt-info { font-size: 12px; color: #728097; }
.ch-ui-v2 .dt-container .dt-paging .dt-paging-button { border-radius: 7px !important; font-size: 12px; min-width: 32px; padding: 5px 9px !important; border-color: transparent !important; }
.ch-ui-v2 .dt-container .dt-paging .dt-paging-button.current { background: #1767e8 !important; color: #fff !important; }
.ch-ui-v2 .nav-tabs { border-bottom: 1px solid var(--ch-border); gap: 8px; }
.ch-ui-v2 .nav-tabs .nav-link { padding: 11px 16px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; color: #728097; background: transparent !important; font-size: 13px; font-weight: 550; }
.ch-ui-v2 .nav-tabs .nav-link.active { border-bottom-color: #1767e8; color: #1767e8; background: transparent !important; }
.ch-ui-v2 .modal-dialog:not(.modal-fullscreen) { margin-block: 24px; max-height: calc(100dvh - 48px); }
.ch-ui-v2 .modal-content { border: 1px solid #e1e8f3; border-radius: 15px; box-shadow: 0 24px 70px #17243c30; max-height: calc(100dvh - 48px); }
.ch-ui-v2 .modal-header { position: relative; padding: 18px 58px 18px 22px; border-bottom: 1px solid var(--ch-border); flex: 0 0 auto; }
.ch-ui-v2 .modal-header > div { min-width: 0; }
.ch-ui-v2 .modal-header .btn-close { position: absolute; top: 16px; right: 16px; margin: 0 !important; width: 28px; height: 28px; padding: 6px; z-index: 2; }
.ch-ui-v2 .modal-title { font-size: 16px; font-weight: 650; }
.ch-ui-v2 .modal-body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.ch-ui-v2 .modal-footer { flex: 0 0 auto; padding: 14px 22px; background: #fafbfd; border-top: 1px solid var(--ch-border); border-radius: 0 0 15px 15px; }
.ch-ui-v2 .offcanvas-header { border-bottom: 1px solid var(--ch-border); padding: 20px 24px; }
.ch-ui-v2 .offcanvas-body { padding: 24px; }
.ch-ui-v2 .rb-canvas { --bs-offcanvas-width: 860px; --tblr-offcanvas-width: 860px; width: min(860px,100vw) !important; max-width: 100vw; background: #fff; }
.ch-ui-v2 .rb-canvas .rb-footer { position: sticky; bottom: -24px; background: #fff; padding: 16px 0; gap: 8px; margin-top: auto !important; z-index: 2; }
.ch-ui-v2 .rb-step-pill { background: #edf4ff; color: #1767e8; border-radius: 6px; font-size: 11px; padding: 5px 8px; }
.ch-ui-v2 .toast { border-radius: 10px; font-size: 13px; }
.ch-ui-v2 .ch-toolbar { background: #fff; border: 1px solid var(--ch-border); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.ch-ui-v2 .ch-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.ch-ui-v2 .ch-summary { padding: 16px 18px; display: flex; flex-direction: row; align-items: center; gap: 12px; }
.ch-ui-v2 .ch-summary-icon { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px; background: #eef4ff; color: #1767e8; display: grid; place-items: center; font-size: 19px; }
.ch-ui-v2 .ch-summary-value { font-size: 20px; font-weight: 650; line-height: 1.3; }
.ch-ui-v2 .ch-summary-caption { font-size: 11px; color: #728097; }
.ch-ui-v2 .ch-note { display: flex; gap: 12px; padding: 16px 18px; background: #edf4ff; border: 1px solid #dae7fd; border-radius: 10px; color: #3b5d8b; font-size: 12px; margin-bottom: 20px; }
.ch-ui-v2 .ch-note > i { font-size: 19px; color: #1767e8; }
.ch-ui-v2 .ch-note strong { display: block; color: #25436d; margin-bottom: 3px; }
.ch-ui-v2 .ch-empty { padding: 46px 24px; text-align: center; color: #728097; }
.ch-ui-v2 .ch-empty i { font-size: 28px; color: #95afd7; }
.ch-ui-v2 .ch-empty strong { display: block; color: #40516e; font-size: 14px; margin: 10px 0 5px; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-blue,
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-green,
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-cyan,
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-red { background: #fff !important; color: #182338 !important; animation: none; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-blue { border-top: 3px solid #1767e8 !important; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-green { border-top: 3px solid #20a66b !important; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-cyan { border-top: 3px solid #d09b29 !important; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-red { border-top: 3px solid #df6262 !important; }
.ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .opacity-75 { color: #728097; opacity: 1 !important; }
.ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .text-white { color: #182338 !important; }
.ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .fs-3 { font-size: 30px !important; letter-spacing: -.04em; }
.ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .bg-white { background: #edf4ff !important; color: #1767e8; width: 42px; height: 42px; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-green .bg-white { background: #eaf8f0 !important; color: #1b8e5c; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-cyan .bg-white { background: #fff6e2 !important; color: #b78018; }
.ch-ui-v2[data-ui-page="dashboard"] .bg-gradient-red .bg-white { background: #fff0f0 !important; color: #d35252; }
.ch-ui-v2 #historyFilterForm { background: #fff; border: 1px solid var(--ch-border); border-radius: 12px; padding: 18px; gap: 14px !important; }
.ch-ui-v2 #historyFilterForm .filters-row1-grid { gap: 10px; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.ch-ui-v2 #historyFilterForm .filters-row2 { padding-top: 12px; border-top: 1px solid #edf0f5; gap: 14px; }
.ch-ui-v2 #historyFilterForm .history-quick .btn { border-radius: 6px !important; }
.ch-ui-v2 #settingsTabs { margin-bottom: 20px; }
.ch-ui-v2[data-ui-page="settings"] .tab-content { padding: 0 !important; border: 0 !important; background: transparent; }
.ch-ui-v2[data-ui-page="settings"] .source-add-card { min-height: 216px; border: 1px dashed #b9cce9; border-radius: 13px; background: #f0f5ff; color: #1767e8; font-size: 14px; font-weight: 550; }
.ch-ui-v2[data-ui-page="settings"] .source-add-card:hover { background: #e8f0ff; border-color: #78a8f5; }
.ch-ui-v2[data-ui-page="settings"] [data-secret] { overflow-wrap: anywhere; font-family: ui-monospace,monospace; }
.ch-ui-v2[data-ui-page="settings"] [data-source-id] .card-body > .d-flex { flex-wrap: wrap; gap: 8px; }
.ch-ui-v2 .profile-hero.pro { background: #fff; box-shadow: none; }
.ch-ui-v2 .profile-hero .ph-backdrop { display: none; }
.ch-ui-v2 .plan-chip { background: #edf4ff; color: #1767e8; border-color: #d7e6fd; }
.ch-ui-v2 .ph-stat { background: #f3f6fb; color: #53617a; }
.ch-ui-v2 .plan-card { box-shadow: none !important; border-radius: 14px; }
.ch-ui-v2 .pcard { background: #fff; border: 1px solid var(--ch-border); border-radius: 13px; box-shadow: none; }
.ch-ui-v2 .pcard.featured { border-color: #d5e1f5; box-shadow: none; border-top: 3px solid #1767e8; }
.ch-ui-v2 .pcard .head,.ch-ui-v2 .pcard.featured .head { background: #fff; padding: 20px; border-bottom-color: var(--ch-border); }
.ch-ui-v2 .pcard .name { font-size: 16px; font-weight: 650; }
.ch-ui-v2 .pcard .price { padding: 22px 20px 10px; flex-wrap: wrap; }
.ch-ui-v2 .pcard .price .cur { font-size: 26px; font-weight: 650; letter-spacing: -.035em; }
.ch-ui-v2 .pcard .cap { padding: 0 20px 16px; font-size: 12px; }
.ch-ui-v2 .pcard ul.feats { padding-inline: 20px; font-size: 12px; gap: 12px; }
.ch-ui-v2 .pcard ul.feats li:first-child { display: none; } /* Same limit is already shown by .cap. */
.ch-ui-v2 .pcard .cta { padding: 22px 20px 20px; }
.ch-ui-v2 .pricing-tabs .nav { background: #fff; border: 1px solid var(--ch-border); border-radius: 10px; padding: 5px; box-shadow: none; }
.ch-ui-v2 .pricing-tabs .nav .nav-link { border-radius: 7px; padding: 9px 14px; font-size: 12px; font-weight: 550; }
.ch-ui-v2 .pricing-tabs .nav .nav-link.active { background: #1767e8 !important; color: #fff; box-shadow: none; }
.ch-ui-v2 .pricing-tabs .nav .nav-link .discount { font-size: 10px; border-radius: 5px; }
.ch-ui-v2 .topup-section .summary-card,.ch-ui-v2 .topup-card { background: #fff; border-color: var(--ch-border); border-radius: 13px; box-shadow: none; }
.ch-ui-v2.ch-admin .table { font-size: 12px; }
.ch-ui-v2.ch-admin .table tbody td { padding: 12px 14px; }
.ch-ui-v2.ch-admin .ch-page > form.row { padding: 18px; background: #fff; border: 1px solid var(--ch-border); border-radius: 12px; margin-inline: 0; }
.ch-ui-v2 #adminAiMessages { padding: 8px 4px; }
.ch-ui-v2 .aa-msg { border: 0; background: #f4f7fb; border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.ch-ui-v2 .aa-msg.user { background: #edf4ff; margin-left: 40px; }
.ch-ui-v2 .aa-msg.admin { background: #ecf8f0; }
.ch-ui-v2 .aa-msg.admin_internal { border: 1px dashed #c1cbd9; background: #fafbfd; }
.ch-ui-v2 .aa-msg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #728097; font-size: 11px; margin-bottom: 9px; }
.ch-ui-v2 .aa-msg-meta strong { color: #33415a; font-size: 12px; }
.ch-ui-v2 .ai-workspace { --ai-blue: #1767e8; }
.ch-ui-v2 .ai-page-header { margin-bottom: 20px; }
.ch-ui-v2 .ch-sidebar-backdrop { display: none; }
.ch-ui-v2 .ch-sidebar-close { display: none; }
.ch-ui-v2.modal-open #aiFabWrap,.ch-ui-v2.ch-sidebar-open #aiFabWrap,.ch-ui-v2:has(.offcanvas.show) #aiFabWrap { display: none; }
html.sb-collapsed .ch-ui-v2 #appRoot > .sidebar { width: 76px; }
html.sb-collapsed .ch-ui-v2 .ch-nav-section { padding: 15px 0 4px; font-size: 0; height: 25px; }
html.sb-collapsed .ch-ui-v2 .ch-nav-section::after { content: ''; display: block; width: 22px; height: 1px; background: #30415d; margin-inline: auto; }
html.sb-collapsed .ch-ui-v2 #sidebar .nav-link { width: 46px; margin-inline: auto; }
html.sb-collapsed .ch-ui-v2 #appRoot > .sidebar > a.d-flex { padding: 0 0 24px; }
.ch-ui-v2.ch-auth { min-height: 100dvh; background: #f5f7fb; }
.ch-ui-v2.ch-auth > main { display: grid; grid-template-columns: minmax(300px,1fr) minmax(360px,1fr); max-width: 1120px; gap: 70px; padding: 40px 32px; align-items: center; }
.ch-ui-v2 .ch-auth-story { max-width: 460px; }
.ch-ui-v2 .ch-auth-brand { display: flex; align-items: center; gap: 10px; color: #182338; font-size: 21px; font-weight: 650; margin-bottom: 55px; text-decoration: none; }
.ch-ui-v2 .ch-auth-brand i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #1767e8; color: #fff; font-size: 21px; }
.ch-ui-v2 .ch-auth-story .h1 { font-size: 36px; line-height: 1.25; margin-bottom: 18px; font-weight: 650; }
.ch-ui-v2 .ch-auth-story p { font-size: 14px; color: #728097; line-height: 1.8; }
.ch-ui-v2 .ch-auth-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0; }
.ch-ui-v2 .ch-auth-flow span { background: #fff; padding: 9px 12px; border: 1px solid var(--ch-border); border-radius: 8px; font-size: 12px; }
.ch-ui-v2 .ch-auth-content { min-width: 0; }
.ch-ui-v2 .ch-auth-mobile-brand { display: none; }
.ch-ui-v2 .auth-page { min-height: 0; padding: 0; background: none; display: block; }
.ch-ui-v2 .auth-page .page-bg { display: none; }
.ch-ui-v2 .auth-card { width: 100%; max-width: 460px; padding: 0; }
.ch-ui-v2 .auth-card .card { box-shadow: 0 8px 35px #18233807; }
.ch-ui-v2 .auth-card .card-body { padding: 32px; }
.ch-ui-v2 .auth-title { font-size: 23px; font-weight: 650; }
.ch-ui-v2 .auth-subtle { font-size: 13px; color: #728097; }
.ch-ui-v2 .kt-btn { min-height: 42px; font-size: 13px; border-radius: 8px; font-weight: 550; box-shadow: none; }
.ch-ui-v2 .kt-btn-primary { background: #1767e8; border-color: #1767e8; }
.ch-ui-v2 .kt-btn-outline { background: #fff; border-color: #dce3ef !important; color: #40516c !important; }
@media (max-width: 1200px) {
  .ch-ui-v2 .content > .container-fluid { padding: 24px !important; }
  .ch-ui-v2 .topbar > .container-fluid { padding-inline: 24px !important; }
}
@media (max-width: 767.98px) {
  .ch-ui-v2 #appRoot,html.sb-collapsed .ch-ui-v2 #appRoot { padding-left: 0; }
  .ch-ui-v2 #appRoot > .sidebar,html.sb-collapsed .ch-ui-v2 #appRoot > .sidebar { width: 244px; transform: translateX(-100%); transition: transform .2s ease; }
  .ch-ui-v2.ch-sidebar-open #appRoot > .sidebar { transform: translateX(0); }
  .ch-ui-v2 .ch-sidebar-close { display: grid; place-items: center; position: absolute; top: 20px; right: 10px; width: 28px; height: 28px; color: #a9b8cf; background: #1b2a43; border: 0; border-radius: 6px; }
  .ch-ui-v2 #appRoot > .sidebar > a.d-flex .label { font-size: 17px !important; }
  .ch-ui-v2.ch-sidebar-open { overflow: hidden; }
  .ch-ui-v2.ch-sidebar-open .ch-sidebar-backdrop { display: block; position: fixed; inset: 0; background: #0e1b3290; z-index: 1035; border: 0; padding: 0; width: 100%; }
  html.sb-collapsed .ch-ui-v2 #sidebar .label { opacity: 1; visibility: visible; max-width: 200px; }
  html.sb-collapsed .ch-ui-v2 #sidebar .nav-link { justify-content: flex-start; gap: 11px; width: auto; padding: 10px 13px; margin: 0; }
  html.sb-collapsed .ch-ui-v2 .ch-nav-section { padding: 22px 13px 8px; font-size: 10px; height: auto; }
  html.sb-collapsed .ch-ui-v2 .ch-nav-section::after { display: none; }
  html.sb-collapsed .ch-ui-v2 #appRoot > .sidebar > a.d-flex { justify-content: flex-start; padding: 0 10px 24px; }
  .ch-ui-v2 .topbar,.ch-ui-v2 .topbar > .container-fluid { min-height: 60px; }
  .ch-ui-v2 .topbar > .container-fluid { padding: 10px 14px !important; }
  .ch-ui-v2 .ch-breadcrumb > span:not(.ch-version-label),.ch-ui-v2 .ch-breadcrumb > i { display: none; }
  .ch-ui-v2 .ch-breadcrumb { gap: 6px; font-size: 12px; }
  .ch-ui-v2 .ch-version-label { display: none; }
  .ch-ui-v2 .content > .container-fluid { padding: 20px 14px 32px !important; }
  .ch-ui-v2 .ch-page-header { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
  .ch-ui-v2 .ch-page-header .btn { white-space: nowrap; }
  .ch-ui-v2 .ch-summary-grid { gap: 8px; }
  .ch-ui-v2 .ch-summary { padding: 12px 10px; gap: 7px; }
  .ch-ui-v2 .ch-summary-icon { display: none; }
  .ch-ui-v2 .ch-summary-value { font-size: 18px; }
  .ch-ui-v2 .ch-summary-caption { font-size: 10px; }
  .ch-ui-v2 .card-body,.ch-ui-v2 .card-header { padding: 16px; }
  .ch-ui-v2 #historyFilterForm { grid-template-columns: minmax(0,1fr); padding: 14px; }
  .ch-ui-v2 #historyFilterForm .filters-row1-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ch-ui-v2 #historyFilterForm .filters-action { justify-self: stretch; }
  .ch-ui-v2 #historyFilterForm .filters-action .btn { width: 100%; }
  .ch-ui-v2 #historyFilterForm .filters-row2 { gap: 10px; }
  .ch-ui-v2 .modal-dialog:not(.modal-fullscreen) { margin: 10px; max-height: calc(100dvh - 20px); }
  .ch-ui-v2 .modal-content { max-height: calc(100dvh - 20px); border-radius: 12px; }
  .ch-ui-v2 .modal-header,.ch-ui-v2 .modal-body,.ch-ui-v2 .modal-footer { padding: 16px; }
  .ch-ui-v2 .modal-header { padding-right: 54px; }
  .ch-ui-v2 .offcanvas-body,.ch-ui-v2 .offcanvas-header { padding: 18px; }
  .ch-ui-v2 .rb-canvas .rb-footer { bottom: -18px; }
  .ch-ui-v2 .ch-page .alert .form-select[style] { min-width: 0 !important; max-width: 100%; width: 100% !important; }
  .ch-ui-v2 .ch-page .alert .d-flex { min-width: 0; max-width: 100%; flex-wrap: wrap; }
  .ch-ui-v2 .ch-page > .d-flex { flex-wrap: wrap; gap: 12px; }
  .ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .bg-white { width: 30px; height: 30px; }
  .ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .bg-white i { font-size: 19px !important; }
  .ch-ui-v2[data-ui-page="dashboard"] [class*="bg-gradient-"] .fs-3 { font-size: 25px !important; }
  .ch-ui-v2 .aa-msg.user { margin-left: 14px; }
  .ch-ui-v2 .pricing-tabs .nav { width: 100%; flex-wrap: nowrap; gap: 3px; }
  .ch-ui-v2 .pricing-tabs .nav .nav-item { flex: 1; min-width: 0; }
  .ch-ui-v2 .pricing-tabs .nav .nav-link { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 100%; padding: 9px 6px; white-space: nowrap; }
  .ch-ui-v2 .pricing-tabs .nav .nav-link .discount { margin-left: 0; padding: 2px 5px; }
  .ch-ui-v2 #adminAiAsk,.ch-ui-v2 #adminAiReply { flex-wrap: wrap; }
  .ch-ui-v2 .ch-auth-story { display: none; }
  .ch-ui-v2 .ch-auth-mobile-brand { display: flex; justify-content: center; gap: 9px; align-items: center; margin-bottom: 24px; color: #182338; font-size: 19px; font-weight: 650; text-decoration: none; }
  .ch-ui-v2 .ch-auth-mobile-brand i { display: grid; place-items: center; width: 32px; height: 32px; color: #fff; background: #1767e8; border-radius: 9px; }
  .ch-ui-v2.ch-auth > main { display: block; padding: 22px 14px; margin-block: 0 !important; }
  .ch-ui-v2 .auth-card .card-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ch-ui-v2 *, .ch-ui-v2 *::before,.ch-ui-v2 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
