/* Administrator themes: light inherits the original stylesheet; dark changes colors only. */
html[data-admin-theme="dark"]{--tl-white:#1B1D21;--tl-bg:#101113;--tl-bg-subtle:#25272C;--tl-bg-muted:#2A2D32;--tl-surface:#1B1D21;--tl-surface-2:#202226;--tl-border:#30333A;--tl-border-strong:#484C54;--tl-border-dark:#484C54;--tl-divider:#30333A;--tl-text:#F0F0F1;--tl-text-2:#CDD0D5;--tl-text-muted:#A1A6AF;--tl-text-soft:#7D8490;--tl-text-faint:#7D8490;--tl-primary:#C9AC77;--tl-primary-rgb:201,172,119;--tl-primary-100:#322D24;--tl-primary-200:#484C54;--tl-primary-300:#C9AC77;--tl-primary-400:#C9AC77;--tl-primary-500:#C9AC77;--tl-primary-600:#E0C99D;--tl-primary-700:#E0C99D;--tl-primary-800:#F0F0F1;--tl-primary-soft:#322D24;--tl-success:#67d6ab;--tl-success-soft:#193b34;--tl-info:#90b7ff;--tl-info-soft:#243b5f;--tl-warning:#edc16d;--tl-warning-soft:#453820;--tl-danger:#f19aa4;--tl-danger-soft:#492a36;--tl-purple:#c6afff;--tl-purple-soft:#392c53}
html[data-admin-theme="dark"] .tl-sidebar{background:#151619}html[data-admin-theme="dark"] .tl-sidebar__brand-mark{background:linear-gradient(135deg,#FE9F43,#C76E12);box-shadow:0 4px 12px rgba(254,159,67,.35)}html[data-admin-theme="dark"]{color-scheme:dark;--tl-success:#72C6A4;--tl-success-soft:#20372E;--tl-info:#8CAEDB;--tl-info-soft:#253346;--tl-warning:#D8B571;--tl-warning-soft:#3B3222;--tl-danger:#DD909B;--tl-danger-soft:#3D2930;--tl-purple:#B19DD6;--tl-purple-soft:#322B40;--bs-body-color:#CDD0D5;--bs-body-bg:#1B1D21;--bs-border-color:#34383F;--bs-secondary-color:#9DA5AF}
html[data-admin-theme="dark"] .tl-stat__icon{background:#332E25;color:#D4B982;border-color:#514937}
html[data-admin-theme="dark"] .tl-stat__icon--success,html[data-admin-theme="dark"] .tl-u-23{background:#20372E;color:#72C6A4;border-color:#345548}
html[data-admin-theme="dark"] .tl-stat__icon--info,html[data-admin-theme="dark"] .tl-u-20{background:#253346;color:#8CAEDB;border-color:#3A4D68}
html[data-admin-theme="dark"] .tl-stat__icon--warning,html[data-admin-theme="dark"] .tl-u-21{background:#3B3222;color:#D8B571;border-color:#625332}
html[data-admin-theme="dark"] .tl-stat__icon--danger{background:#3D2930;color:#DD909B;border-color:#65404B}
html[data-admin-theme="dark"] .tl-stat__icon--purple,html[data-admin-theme="dark"] .tl-u-22{background:#322B40;color:#B19DD6;border-color:#514264}
html[data-admin-theme="dark"] .tl-badge--success{background:#20372E;color:#72C6A4;border-color:#345548}
html[data-admin-theme="dark"] .tl-badge--info{background:#253346;color:#8CAEDB;border-color:#3A4D68}
html[data-admin-theme="dark"] .tl-badge--warning,html[data-admin-theme="dark"] .tl-u-15,html[data-admin-theme="dark"] .tl-u-35{background:#3B3222;color:#D8B571;border-color:#625332}
html[data-admin-theme="dark"] .tl-badge--danger{background:#3D2930;color:#DD909B;border-color:#65404B}
html[data-admin-theme="dark"] .tl-badge--purple{background:#322B40;color:#B19DD6;border-color:#514264}
html[data-admin-theme="dark"] .tl-badge--primary{background:#332E25;color:#D4B982;border-color:#514937}
html[data-admin-theme="dark"] .tl-avatar,html[data-admin-theme="dark"] .tl-avatar--primary,html[data-admin-theme="dark"] .tl-u-26{background:#343027;color:#DBC397;border-color:#544B3B}
html[data-admin-theme="dark"] .tl-avatar-status::after{background:#72C6A4;border-color:#1B1D21}
html[data-admin-theme="dark"] .tl-icon-btn,html[data-admin-theme="dark"] .tl-navbar__search-kbd,html[data-admin-theme="dark"] .tl-kbd{background:#22252A;color:#B8C0CB;border-color:#363B43}
html[data-admin-theme="dark"] .tl-icon-btn__dot{background:#D4B982;border-color:#22252A}
html[data-admin-theme="dark"] .btn-light,html[data-admin-theme="dark"] .btn-group .btn-light{background:#23262C;color:#CBD0D8;border-color:#3A3F47}
html[data-admin-theme="dark"] .btn-light:hover,html[data-admin-theme="dark"] .tl-icon-btn:hover{background:#30353D;color:#F2F3F4;border-color:#535A66}
html[data-admin-theme="dark"] .btn-outline-primary{background:transparent;color:#D4B982;border-color:#66583C}
html[data-admin-theme="dark"] .btn-primary,html[data-admin-theme="dark"] .page-item.active .page-link{background:#C5A773;color:#151619;border-color:#C5A773}
html[data-admin-theme="dark"] .btn:disabled{background:#202328;color:#737C87;border-color:#31353C}
html[data-admin-theme="dark"] .tl-navbar__search input,html[data-admin-theme="dark"] .form-control,html[data-admin-theme="dark"] .form-select,html[data-admin-theme="dark"] .input-group{background:#171A1F;color:#D5DBE3;border-color:#363D47}
html[data-admin-theme="dark"] .input-group__addon{background:#22262C;color:#8F9BAA;border-color:#363D47}
html[data-admin-theme="dark"] .form-control::placeholder,html[data-admin-theme="dark"] .tl-navbar__search input::placeholder{color:#7F8997}
html[data-admin-theme="dark"] .tl-table{--bs-table-bg:#1B1D21;--bs-table-color:#C6CDD7;--bs-table-border-color:#30363E;--bs-table-striped-bg:#20242A;--bs-table-hover-bg:#272D35;color:#C6CDD7}
html[data-admin-theme="dark"] .tl-table thead th{background:#22262D;color:#AEB8C6;border-color:#353C46}
html[data-admin-theme="dark"] .tl-table tbody td{background:#1B1D21;color:#C6CDD7;border-color:#30363E}
html[data-admin-theme="dark"] .tl-table-pager{background:#20242A;color:#98A4B3;border-color:#343B45}
html[data-admin-theme="dark"] .tl-table-pager .btn{background:#262C34;color:#A9B5C4;border-color:#3A4552}
html[data-admin-theme="dark"] .tl-table-pager .btn:disabled{background:#20252C;color:#667384;border-color:#303945}
html[data-admin-theme="dark"] .tl-dropdown__menu,html[data-admin-theme="dark"] .tl-dropdown__head,html[data-admin-theme="dark"] .tl-dropdown__foot{background:#20242A;color:#C8D0DA;border-color:#353C46}
html[data-admin-theme="dark"] [style*="background-color: rgb(254, 159, 67)"]{background-color:#D0B177!important}
html[data-admin-theme="dark"] [style*="background-color: rgb(184, 184, 184)"]{background-color:#8493A8!important}

/* One accessible native chooser is shared by authenticated and auth screens. */
.admin-theme-picker{position:relative;display:inline-flex;align-items:center;gap:6px;flex:none;min-height:38px;margin:0;padding:0 8px;background:var(--tl-white);border:1px solid var(--tl-border);border-radius:var(--tl-radius-sm);color:var(--tl-text-2)}
.admin-theme-picker [hidden]{display:none!important}
.admin-theme-trigger{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 2px;border:0;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:20px;white-space:nowrap;cursor:pointer}
.admin-theme-trigger:focus-visible{outline:2px solid var(--tl-primary);outline-offset:3px;border-radius:4px}
.admin-theme-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:12001;min-width:152px;padding:6px;background:var(--tl-white);color:var(--tl-text-2);border:1px solid var(--tl-border);border-radius:8px;box-shadow:0 8px 24px #0003}
.admin-theme-menu button{display:block;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:22px;text-align:left;white-space:nowrap;cursor:pointer}
.admin-theme-menu button:hover,.admin-theme-menu button:focus-visible,.admin-theme-menu button[aria-checked="true"]{background:var(--tl-primary-soft,#fff3e6);color:var(--tl-primary-700,#b95700);outline:0}
.admin-theme-picker svg{flex:none}.admin-theme-picker select{width:auto;max-width:132px;min-width:0;min-height:36px;margin:0;padding:4px 2px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.admin-theme-picker select:focus-visible{outline:2px solid var(--tl-primary);outline-offset:2px}.admin-theme-moon{display:none}
html[data-admin-theme="dark"] .admin-theme-sun{display:none}html[data-admin-theme="dark"] .admin-theme-moon{display:block}
.admin-auth-theme{position:fixed;top:24px;right:76px;z-index:80}
@media(max-width:575px){.admin-auth-theme{top:16px;right:66px}.admin-theme-picker{gap:4px;padding-inline:6px}.admin-theme-picker select{max-width:100px;font-size:12px}.tl-navbar__right{gap:6px}}
html[data-admin-theme="light"]{color-scheme:light}
html[data-admin-theme="dark"]{--tl-ring:0 0 0 3px rgba(201,172,119,.2);--bs-tertiary-bg:#20242a;--bs-secondary-bg:#252a31;--bs-heading-color:#f0f0f1;--bs-emphasis-color:#f0f0f1;--bs-link-color:#d4b982;--bs-link-hover-color:#e7d5b1}
html[data-admin-theme="dark"] .tl-auth,html[data-admin-theme="dark"] .tl-auth__panel{background:#101113}
html[data-admin-theme="dark"] .tl-auth__side{background:linear-gradient(145deg,#242426,#181a1f);border-color:#34383f}
html[data-admin-theme="dark"] :is(.tl-u-456,.tl-u-458){background:#202226;border-color:#403c34}
html[data-admin-theme="dark"] :is(.tl-u-447,.tl-u-4){background:linear-gradient(135deg,#fe9f43,#c76e12);color:#fff}
html[data-admin-theme="dark"] .tl-alert--danger{background:#3d2930;color:#eea7b1;border-color:#65404b}
html[data-admin-theme="dark"] .tl-alert--success{background:#20372e;color:#85d4b4;border-color:#345548}
html[data-admin-theme="dark"] .tl-alert--warning{background:#3b3222;color:#e3c486;border-color:#625332}
html[data-admin-theme="dark"] .tl-alert--info{background:#253346;color:#a6c3e8;border-color:#3a4d68}
html[data-admin-theme="dark"] :is(.modal-content,.offcanvas,.popover,.dropdown-menu,.tl-dropdown__menu,.agent-tree-popup,.agent-action-panel,.member-profile-menu){background:#202226;color:#cdd0d5;border-color:#3a3f47}
html[data-admin-theme="dark"] :is(.modal-header,.modal-footer,.popover-header,.offcanvas-header){background:#202226;color:#f0f0f1;border-color:#34383f}
html[data-admin-theme="dark"] .btn-close{filter:invert(1) grayscale(1)}
html[data-admin-theme="dark"] :is(.dropdown-item,.nav-link){color:#cdd0d5}
html[data-admin-theme="dark"] :is(.dropdown-item:hover,.dropdown-item:focus){background:#30353d;color:#fff}
html[data-admin-theme="dark"] :is(.form-select,.form-control,.searchable-select-trigger,.searchable-select-menu,.searchable-select-search){background-color:#171a1f;color:#d5dbe3;border-color:#363d47}
html[data-admin-theme="dark"] :is(.form-control,.form-select):focus{background-color:#171a1f;color:#e8edf4;border-color:#c9ac77}
html[data-admin-theme="dark"] input:autofill{box-shadow:0 0 0 1000px #171a1f inset;color:#d5dbe3}
html[data-admin-theme="dark"] input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #171a1f inset;-webkit-text-fill-color:#d5dbe3;caret-color:#d5dbe3}
html[data-admin-theme="dark"] :is(.is-invalid,[aria-invalid="true"]){border-color:#cf7d89!important}
html[data-admin-theme="dark"] :is(.invalid-feedback,.field-error,.server-field-errors){color:#eea7b1}
html[data-admin-theme="dark"] :is(.form-check-input,.form-switch){background-color:#30353d;border-color:#596371}
html[data-admin-theme="dark"] .form-check-input:checked{background-color:#b69a67;border-color:#d4b982}
html[data-admin-theme="dark"] :is(.security-codes code,.security-secret,.otp-code__input,.profile-avatar-action,.agent-point-summary){background:#20242a;color:#d8dce2;border-color:#3a414b}
html[data-admin-theme="dark"] :is(.tl-u-860,.tl-u-876,.tl-u-908){background:linear-gradient(135deg,#332e25,#202226);border-color:#514937}
html[data-admin-theme="dark"] :is(.tl-u-789,.tl-u-799,.tl-u-801,.tl-u-891,.tl-u-911,.tl-u-915,.tl-u-918){background:#202226;border-color:#34383f}
html[data-admin-theme="dark"] .security-codes code{background:#20242a;color:#d8dce2}
html[data-admin-theme="dark"] :is(.context-help-panel,.help-guide-panel,.help-popup,.searchable-select__menu){background:#1b1d21;color:#cdd0d5;border-color:#3a414b}
html[data-admin-theme="dark"] :is(.page-link,.tl-pagination button){background:#262c34;color:#a9b5c4;border-color:#3a4552}
html[data-admin-theme="dark"] .page-item.disabled .page-link{background:#20252c;color:#667384;border-color:#303945}
html[data-admin-theme="dark"] .page-item.active .page-link{background:#c5a773;color:#151619;border-color:#c5a773}
html[data-admin-theme="dark"] .apexcharts-tooltip{background:#20242a!important;color:#d5dbe3;border-color:#3a414b!important}
html[data-admin-theme="dark"] .apexcharts-tooltip-title{background:#292f37!important;border-color:#3a414b!important}
html[data-admin-theme="dark"] :is(.apexcharts-xaxistooltip,.apexcharts-yaxistooltip){background:#292f37;color:#d5dbe3;border-color:#3a414b}
html[data-admin-theme="dark"] :is(.tl-modal__card,.tl-modal__title,.tl-modal__foot,.tl-modal__body,.context-help-dialog,.context-help-header,.context-help-footer,.context-help-search,.help-directory,.help-workflow){background:#202226;color:#cdd0d5;border-color:#3a414b}
html[data-admin-theme="dark"] .help-directory__link{background:#262c34;color:#cdd0d5;border-color:#3a4552}
html[data-admin-theme="dark"] :is(.help-snippet,.help-entry__intro){color:#b6c2d2}
html[data-admin-theme="dark"] .help-hit{background:#5b4a25;color:#f5dfaa}
html[data-admin-theme="dark"] .tl-u-426{background:#8493a8}
html[data-admin-theme="dark"] .tl-u-60{color:#c9ac77}
html[data-admin-theme="dark"] .tl-event--warning{color:#d8b571}
html[data-admin-theme="dark"] .btn-primary:hover{background:#e0c99d;color:#151619;border-color:#e0c99d}
html[data-admin-theme="dark"] .btn-success{background:#326e59;color:#fff;border-color:#47896e}
html[data-admin-theme="dark"] .btn-success:hover{background:#3d8067;border-color:#72c6a4}
html[data-admin-theme="dark"] .btn-danger{background:#904653;color:#fff;border-color:#b36472}
html[data-admin-theme="dark"] .btn-danger:hover{background:#a55160;border-color:#dd909b}
html[data-admin-theme="dark"] .btn-dark{background:#30353d;color:#e5e8ed;border-color:#535a66}
html[data-admin-theme="dark"] .btn-dark:hover{background:#414853;border-color:#737e8d}
html[data-admin-theme="dark"] .btn-soft-success{background:#20372e;color:#72c6a4;border-color:#345548}
html[data-admin-theme="dark"] .btn-soft-danger{background:#3d2930;color:#dd909b;border-color:#65404b}
html[data-admin-theme="dark"] .btn-soft-warning{background:#3b3222;color:#d8b571;border-color:#625332}
html[data-admin-theme="dark"] .btn-soft-info{background:#253346;color:#8caedb;border-color:#3a4d68}
@media(min-width:993px) and (max-width:1199px){.tl-navbar__search{display:none}.tl-navbar__user-meta{white-space:nowrap}}

.date-range-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;grid-column:1/-1;width:100%;min-width:0}.date-range-shortcuts .btn{min-height:34px;white-space:nowrap}
