/* Shared, opt-in dark theme. The preference is stored as ahimsTheme. */
html[data-ah-theme="dark"] {
  color-scheme: dark;
  --ah-bg: #121a27;
  --ah-surface: #1b2635;
  --ah-surface-raised: #222e3e;
  --ah-border: #3b4a5d;
  --ah-text: #d1d9e4;
  --ah-muted: #96a5b8;
  --ah-link: #aaa7ef;
  --ah-menu-icon: #69aaff;
  --ah-menu-text: #8eb6e3;
}

html[data-ah-theme="dark"] body,
html[data-ah-theme="dark"] .layout-wrapper,
html[data-ah-theme="dark"] .layout-page,
html[data-ah-theme="dark"] .content-wrapper,
html[data-ah-theme="dark"] .bg-body {
  background-color: var(--ah-bg) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .layout-menu,
html[data-ah-theme="dark"] .bg-menu-theme,
html[data-ah-theme="dark"] .layout-navbar,
html[data-ah-theme="dark"] .navbar-detached,
html[data-ah-theme="dark"] .card,
html[data-ah-theme="dark"] .modal-content,
html[data-ah-theme="dark"] .dropdown-menu,
html[data-ah-theme="dark"] .list-group-item,
html[data-ah-theme="dark"] .offcanvas,
html[data-ah-theme="dark"] .popover,
html[data-ah-theme="dark"] .ah-search-results,
html[data-ah-theme="dark"] .maintenance-summary,
html[data-ah-theme="dark"] .checkout-stat {
  background-color: var(--ah-surface) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .attention-card {
  background-color: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}
html[data-ah-theme="dark"] .attention-card:hover {
  background-color: var(--ah-surface-raised) !important;
  border-color: #60748d !important;
}
html[data-ah-theme="dark"] .attention-copy strong,
html[data-ah-theme="dark"] .attention-count { color: var(--ah-text) !important; }
html[data-ah-theme="dark"] .attention-hint,
html[data-ah-theme="dark"] .attention-arrow,
html[data-ah-theme="dark"] .attention-heading { color: var(--ah-muted) !important; }
html[data-ah-theme="dark"] .attention-icon { background-color: #29384b !important; }
html[data-ah-theme="dark"] .attention-card--warning .attention-icon { color: #f0bc62 !important; }
html[data-ah-theme="dark"] .attention-card--danger .attention-icon { color: #ef8d88 !important; }
html[data-ah-theme="dark"] .attention-card--info .attention-icon { color: #67c3d8 !important; }
html[data-ah-theme="dark"] .attention-card--success .attention-icon { color: #73c990 !important; }

html[data-ah-theme="dark"] .card-header,
html[data-ah-theme="dark"] .card-footer,
html[data-ah-theme="dark"] .modal-header,
html[data-ah-theme="dark"] .modal-footer,
html[data-ah-theme="dark"] .dropdown-header,
html[data-ah-theme="dark"] .table thead th,
html[data-ah-theme="dark"] .table-light,
html[data-ah-theme="dark"] .bg-light,
html[data-ah-theme="dark"] .ah-search-section {
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] h1,
html[data-ah-theme="dark"] h2,
html[data-ah-theme="dark"] h3,
html[data-ah-theme="dark"] h4,
html[data-ah-theme="dark"] h5,
html[data-ah-theme="dark"] h6,
html[data-ah-theme="dark"] label,
html[data-ah-theme="dark"] strong,
html[data-ah-theme="dark"] b,
html[data-ah-theme="dark"] .text-dark,
html[data-ah-theme="dark"] .text-heading,
html[data-ah-theme="dark"] .pages_title,
html[data-ah-theme="dark"] .menu-link,
html[data-ah-theme="dark"] .dropdown-item,
html[data-ah-theme="dark"] .form-check-label {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .text-muted,
html[data-ah-theme="dark"] .small,
html[data-ah-theme="dark"] small,
html[data-ah-theme="dark"] .form-text,
html[data-ah-theme="dark"] .ah-search-result-detail {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .text-muted,
html[data-ah-theme="dark"] .small,
html[data-ah-theme="dark"] small {
  color: #929fb1 !important;
}

html[data-ah-theme="dark"] .card,
html[data-ah-theme="dark"] .card-header,
html[data-ah-theme="dark"] .card-body,
html[data-ah-theme="dark"] .card-footer {
  background-image: none !important;
}

html[data-ah-theme="dark"] .asset-bulk-toolbar {
  background-color: var(--ah-surface-raised) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
html[data-ah-theme="dark"] .asset-bulk-toolbar .text-muted {
  color: var(--ah-muted) !important;
}
html[data-ah-theme="dark"] .asset-bulk-toolbar .btn-outline-danger {
  color: #ff9a9a !important;
  border-color: #b85f68 !important;
  background-color: transparent !important;
}
html[data-ah-theme="dark"] .asset-bulk-toolbar .btn-outline-danger:hover,
html[data-ah-theme="dark"] .asset-bulk-toolbar .btn-outline-danger:focus-visible {
  color: #fff !important;
  border-color: #c96a73 !important;
  background-color: #743b45 !important;
}

html[data-ah-theme="dark"] a:not(.btn):not(.menu-link) {
  color: var(--ah-link);
}

html[data-ah-theme="dark"] .form-control,
html[data-ah-theme="dark"] .form-select,
html[data-ah-theme="dark"] .input-group-text,
html[data-ah-theme="dark"] .form-control:disabled,
html[data-ah-theme="dark"] .form-select:disabled,
html[data-ah-theme="dark"] textarea,
html[data-ah-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
html[data-ah-theme="dark"] select {
  background-color: #172233 !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] input::placeholder,
html[data-ah-theme="dark"] textarea::placeholder,
html[data-ah-theme="dark"] .form-control::placeholder {
  color: #8998ad !important;
  opacity: 1;
}

html[data-ah-theme="dark"] input[type="file"].form-control::file-selector-button,
html[data-ah-theme="dark"] input[type="file"]::file-selector-button,
html[data-ah-theme="dark"] input[type="file"].form-control::-webkit-file-upload-button,
html[data-ah-theme="dark"] input[type="file"]::-webkit-file-upload-button {
  background-color: #293951 !important;
  color: var(--ah-text) !important;
  border: 0 !important;
  border-right: 1px solid var(--ah-border) !important;
  margin-inline-end: 0.65rem !important;
  padding: 0.45rem 0.8rem !important;
}

html[data-ah-theme="dark"] .table {
  --bs-table-color: var(--ah-text);
  --bs-table-bg: var(--ah-surface);
  --bs-table-border-color: var(--ah-border);
  --bs-table-hover-color: var(--ah-text);
  --bs-table-hover-bg: #29384d;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .table > :not(caption) > * > *,
html[data-ah-theme="dark"] hr,
html[data-ah-theme="dark"] .border,
html[data-ah-theme="dark"] .border-top,
html[data-ah-theme="dark"] .border-bottom,
html[data-ah-theme="dark"] .nav-tabs,
html[data-ah-theme="dark"] .nav-tabs .nav-link,
html[data-ah-theme="dark"] .page-link {
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .dropdown-item:hover,
html[data-ah-theme="dark"] .dropdown-item:focus,
html[data-ah-theme="dark"] .nav-tabs .nav-link:not(.active):hover {
  background-color: #2b3a50 !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .dropdown-divider {
  border-top-color: var(--ah-border) !important;
  opacity: 1;
}

html[data-ah-theme="dark"] .dropdown-item.active,
html[data-ah-theme="dark"] .dropdown-item:active {
  background-color: #343754 !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .nav-tabs .nav-link.active,
html[data-ah-theme="dark"] .page-link {
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .btn-light,
html[data-ah-theme="dark"] .btn-outline-secondary,
html[data-ah-theme="dark"] .btn-outline-dark {
  color: var(--ah-text) !important;
  background-color: var(--ah-surface-raised) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .content-wrapper .dropdown > .btn.bg-white:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-warning) {
  color: var(--ah-text) !important;
  background-color: var(--ah-surface-raised) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .content-wrapper .dropdown > .btn.bg-white:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-warning):hover,
html[data-ah-theme="dark"] .content-wrapper .dropdown > .btn.bg-white:not(.btn-primary):not(.btn-success):not(.btn-danger):not(.btn-warning):focus {
  background-color: #2b3a50 !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .btn-outline-primary,
html[data-ah-theme="dark"] .btn-outline-success,
html[data-ah-theme="dark"] .btn-outline-info,
html[data-ah-theme="dark"] .btn-outline-danger {
  background-color: transparent !important;
}

html[data-ah-theme="dark"] .alert-info,
html[data-ah-theme="dark"] .alert-secondary,
html[data-ah-theme="dark"] .alert-light {
  background-color: #24364b !important;
  color: #dceaff !important;
  border-color: #38516d !important;
}

html[data-ah-theme="dark"] .ah-theme-toggle {
  color: #f5c66b !important;
  background-color: var(--ah-surface-raised) !important;
  border: 1px solid var(--ah-border) !important;
}

html[data-ah-theme="dark"] .menu-item.active > .menu-link,
html[data-ah-theme="dark"] .menu-item.open > .menu-link {
  background-color: #353862 !important;
  color: #c5c1ff !important;
}

html[data-ah-theme="dark"] .ah-search-result-title {
  color: var(--ah-text) !important;
}

/* Tune template navigation: muted blue label text with clearer matching icons. */
html[data-ah-theme="dark"] .menu-link,
html[data-ah-theme="dark"] .menu-link .menu-text,
html[data-ah-theme="dark"] .menu-header-text,
html[data-ah-theme="dark"] .ah-menu-brand-title,
html[data-ah-theme="dark"] .ah-menu-brand-subtitle {
  color: var(--ah-menu-text) !important;
}

html[data-ah-theme="dark"] .menu-icon,
html[data-ah-theme="dark"] .menu-link > i,
html[data-ah-theme="dark"] .menu-link .tf-icons,
html[data-ah-theme="dark"] .ah-menu-brand-toggle {
  color: var(--ah-menu-icon) !important;
}

html[data-ah-theme="dark"] .menu-link:hover,
html[data-ah-theme="dark"] .menu-item.active > .menu-link,
html[data-ah-theme="dark"] .menu-item.open > .menu-link {
  color: #b7c8f2 !important;
}

html[data-ah-theme="dark"] .bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(var(--ah-surface) 0%, rgba(27, 38, 53, 0.72) 62%, rgba(27, 38, 53, 0) 100%) !important;
}

html[data-ah-theme="dark"] .ps__thumb-y,
html[data-ah-theme="dark"] .ps__thumb-x {
  background-color: #52647b !important;
}

html[data-ah-theme="dark"] .ps__rail-y:hover > .ps__thumb-y,
html[data-ah-theme="dark"] .ps__rail-y:focus > .ps__thumb-y,
html[data-ah-theme="dark"] .ps__rail-y.ps--clicking .ps__thumb-y,
html[data-ah-theme="dark"] .ps__rail-x:hover > .ps__thumb-x,
html[data-ah-theme="dark"] .ps__rail-x:focus > .ps__thumb-x,
html[data-ah-theme="dark"] .ps__rail-x.ps--clicking .ps__thumb-x {
  background-color: #71839b !important;
}

html[data-ah-theme="dark"] .menu-item.active > .menu-link .menu-icon,
html[data-ah-theme="dark"] .menu-item.open > .menu-link .menu-icon {
  color: #a5b4fc !important;
}

/* Dropdowns and custom pickers that use hand-written light-theme surfaces. */
html[data-ah-theme="dark"] .assignment-picker-toggle,
html[data-ah-theme="dark"] .assignment-picker-menu,
html[data-ah-theme="dark"] .assignment-picker-option,
html[data-ah-theme="dark"] .catalog-category-menu,
html[data-ah-theme="dark"] .catalog-category-option,
html[data-ah-theme="dark"] .assignment-item-thumb,
html[data-ah-theme="dark"] .catalog-category-trigger,
html[data-ah-theme="dark"] .catalog-category-search,
html[data-ah-theme="dark"] .catalog-picker-trigger,
html[data-ah-theme="dark"] .catalog-dropdown,
html[data-ah-theme="dark"] .catalog-dropdown-search,
html[data-ah-theme="dark"] .catalog-dropdown-option,
html[data-ah-theme="dark"] .inventory-description-options,
html[data-ah-theme="dark"] .inventory-description-option,
html[data-ah-theme="dark"] .inventory-description-search,
html[data-ah-theme="dark"] .inventory-description-card,
html[data-ah-theme="dark"] .inventory-form-section,
html[data-ah-theme="dark"] .workflow-step-note,
html[data-ah-theme="dark"] .workflow-signature,
html[data-ah-theme="dark"] .room-description-card,
html[data-ah-theme="dark"] .type-card,
html[data-ah-theme="dark"] .type-empty,
html[data-ah-theme="dark"] .report-building-heading,
html[data-ah-theme="dark"] .report-empty,
html[data-ah-theme="dark"] .unknown-image-preview {
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .inventory-action-card,
html[data-ah-theme="dark"] .inventory-action-icon,
html[data-ah-theme="dark"] .inventory-stepper,
html[data-ah-theme="dark"] .inventory-step-number,
html[data-ah-theme="dark"] .catalog-chip,
html[data-ah-theme="dark"] .type-heading-icon,
html[data-ah-theme="dark"] .type-code,
html[data-ah-theme="dark"] .type-stat,
html[data-ah-theme="dark"] .import-heading-icon,
html[data-ah-theme="dark"] .import-card-code,
html[data-ah-theme="dark"] .location-admin-icon,
html[data-ah-theme="dark"] .location-record-icon,
html[data-ah-theme="dark"] .room-page-icon,
html[data-ah-theme="dark"] .room-card-icon,
html[data-ah-theme="dark"] .site-admin-icon,
html[data-ah-theme="dark"] .site-record-logo,
html[data-ah-theme="dark"] .room-building-heading,
html[data-ah-theme="dark"] .room-card-button,
html[data-ah-theme="dark"] .room-empty,
html[data-ah-theme="dark"] .report-export-button,
html[data-ah-theme="dark"] .report-room-card .card-header,
html[data-ah-theme="dark"] .permission-role-tab,
html[data-ah-theme="dark"] .permission-section-note,
html[data-ah-theme="dark"] .asset-description-picker-trigger,
html[data-ah-theme="dark"] .asset-description-picker-dropdown,
html[data-ah-theme="dark"] .asset-description-picker-search,
html[data-ah-theme="dark"] .asset-description-picker-option,
html[data-ah-theme="dark"] .asset-description-picker-empty {
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .inventory-action-card {
  background-image: none !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .inventory-action-icon,
html[data-ah-theme="dark"] .type-heading-icon,
html[data-ah-theme="dark"] .import-heading-icon,
html[data-ah-theme="dark"] .location-admin-icon,
html[data-ah-theme="dark"] .room-page-icon,
html[data-ah-theme="dark"] .site-admin-icon {
  color: #91b8eb !important;
}

html[data-ah-theme="dark"] .catalog-card-title,
html[data-ah-theme="dark"] .type-heading,
html[data-ah-theme="dark"] .type-card-title,
html[data-ah-theme="dark"] .type-stat strong,
html[data-ah-theme="dark"] .import-heading,
html[data-ah-theme="dark"] .import-card-title,
html[data-ah-theme="dark"] .edit-asset-toolbar h4,
html[data-ah-theme="dark"] .room-page-title,
html[data-ah-theme="dark"] .room-building-heading,
html[data-ah-theme="dark"] .room-card-number,
html[data-ah-theme="dark"] .site-admin-title,
html[data-ah-theme="dark"] .inventory-action-title,
html[data-ah-theme="dark"] .name-des-summary-content,
html[data-ah-theme="dark"] #assetItemsTable th,
html[data-ah-theme="dark"] #assetItemsTable td,
html[data-ah-theme="dark"] .location-admin-title {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .content-wrapper [class*="page-title"],
html[data-ah-theme="dark"] .content-wrapper [class*="heading"]:not([class*="icon"]),
html[data-ah-theme="dark"] .content-wrapper [class*="card-title"] {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .catalog-meta,
html[data-ah-theme="dark"] .type-description,
html[data-ah-theme="dark"] .type-card-footer,
html[data-ah-theme="dark"] .import-description,
html[data-ah-theme="dark"] .import-card-meta,
html[data-ah-theme="dark"] .import-note,
html[data-ah-theme="dark"] .location-record-meta,
html[data-ah-theme="dark"] .room-card-caption,
html[data-ah-theme="dark"] .site-record-meta,
html[data-ah-theme="dark"] .site-current-badge,
html[data-ah-theme="dark"] .report-empty,
html[data-ah-theme="dark"] .name-des-summary-content .summary-meta {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .assignment-picker-option:hover,
html[data-ah-theme="dark"] .catalog-category-option:hover,
html[data-ah-theme="dark"] .room-card-button:hover,
html[data-ah-theme="dark"] .catalog-dropdown-option:hover,
html[data-ah-theme="dark"] .inventory-description-option:hover,
html[data-ah-theme="dark"] .asset-description-picker-option:hover {
  background-color: #2b394b !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .assignment-picker-option.is-selected {
  background-color: #353654 !important;
  border-color: #595681 !important;
}

html[data-ah-theme="dark"] .catalog-category-option.active,
html[data-ah-theme="dark"] .permission-role-tab:hover {
  background-color: #30334c !important;
  color: #b7b5f2 !important;
}

html[data-ah-theme="dark"] .permission-role-tab.active {
  background-color: #343754 !important;
  color: #c2c0f4 !important;
  box-shadow: inset 0 0 0 1px #55587d !important;
}

html[data-ah-theme="dark"] .workflow-signature {
  background-color: #d4dbe5 !important;
}

html[data-ah-theme="dark"] .assignment-picker-toggle,
html[data-ah-theme="dark"] .catalog-category-trigger,
html[data-ah-theme="dark"] .catalog-picker-trigger,
html[data-ah-theme="dark"] .catalog-dropdown-option,
html[data-ah-theme="dark"] .inventory-description-option {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .assignment-item-meta,
html[data-ah-theme="dark"] .catalog-category-trigger .text-muted {
  color: var(--ah-muted) !important;
}

/* Keep table separators visible without making the whole table glow. */
html[data-ah-theme="dark"] .table,
html[data-ah-theme="dark"] .table > :not(caption) > * > *,
html[data-ah-theme="dark"] .table-responsive,
html[data-ah-theme="dark"] .table-bordered,
html[data-ah-theme="dark"] .table-bordered > :not(caption) > * > * {
  --bs-table-border-color: #3b4a5d;
  border-color: #3b4a5d !important;
}

html[data-ah-theme="dark"] .table > tbody > tr,
html[data-ah-theme="dark"] .table > thead > tr {
  border-color: #3b4a5d !important;
}

html[data-ah-theme="dark"] .table > tbody > tr > td,
html[data-ah-theme="dark"] .table > tbody > tr > th,
html[data-ah-theme="dark"] .table > thead > tr > th,
html[data-ah-theme="dark"] .table > tfoot > tr > td,
html[data-ah-theme="dark"] #assetItemsTable td,
html[data-ah-theme="dark"] #assetItemsTable th {
  border-color: #3b4a5d !important;
}

html[data-ah-theme="dark"] .btn-close {
  filter: invert(1) grayscale(100%) brightness(1.5);
}

html[data-ah-theme="dark"] .btn-primary,
html[data-ah-theme="dark"] .btn-success,
html[data-ah-theme="dark"] .btn-danger,
html[data-ah-theme="dark"] .btn-warning {
  color: #e5e5ed !important;
}

html[data-ah-theme="dark"] .report-export-button {
  background-color: var(--ah-surface-raised) !important;
  color: #b5b3ee !important;
  border-color: #56577e !important;
}

/* Page-specific surfaces that do not use Bootstrap's .card component. */
html[data-ah-theme="dark"] .category-empty,
html[data-ah-theme="dark"] .brand-empty,
html[data-ah-theme="dark"] .category-card,
html[data-ah-theme="dark"] .brand-card,
html[data-ah-theme="dark"] .import-card,
html[data-ah-theme="dark"] .import-empty,
html[data-ah-theme="dark"] .import-note,
html[data-ah-theme="dark"] .label-workspace-card,
html[data-ah-theme="dark"] .label-results,
html[data-ah-theme="dark"] .label-result,
html[data-ah-theme="dark"] .label-result-image,
html[data-ah-theme="dark"] .selected-label-remove {
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .label-result:hover,
html[data-ah-theme="dark"] .label-result:focus {
  background-color: #2b394b !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .brand-name,
html[data-ah-theme="dark"] .category-card-title,
html[data-ah-theme="dark"] .import-card-title,
html[data-ah-theme="dark"] .import-heading,
html[data-ah-theme="dark"] .label-title,
html[data-ah-theme="dark"] .label-selected-heading {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .brand-meta,
html[data-ah-theme="dark"] .import-description,
html[data-ah-theme="dark"] .import-card-meta,
html[data-ah-theme="dark"] .import-note,
html[data-ah-theme="dark"] .label-result-meta,
html[data-ah-theme="dark"] .label-result-state,
html[data-ah-theme="dark"] .label-result-message,
html[data-ah-theme="dark"] .label-selected-empty {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .brand-logo,
html[data-ah-theme="dark"] .brand-count,
html[data-ah-theme="dark"] .label-title-icon {
  background-color: #293951 !important;
  color: #9dbcf1 !important;
}

/* Inventory entry wizard surfaces and catalog controls. */
html[data-ah-theme="dark"] .inventory-wizard-heading,
html[data-ah-theme="dark"] .inventory-stepper,
html[data-ah-theme="dark"] .inventory-description-picker,
html[data-ah-theme="dark"] .inventory-selection,
html[data-ah-theme="dark"] .inventory-description-card,
html[data-ah-theme="dark"] .inventory-description-option-image,
html[data-ah-theme="dark"] .inventory-required-badge,
html[data-ah-theme="dark"] .inventory-form-section-icon,
html[data-ah-theme="dark"] .inventory-description-search,
html[data-ah-theme="dark"] .inventory-form-field .input-group,
html[data-ah-theme="dark"] .inventory-wizard-body .input-group,
html[data-ah-theme="dark"] #inventory_create_description_modal .input-group {
  background-color: var(--ah-surface-raised) !important;
  background-image: none !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .inventory-wizard-heading h4,
html[data-ah-theme="dark"] .inventory-form-section-heading h5,
html[data-ah-theme="dark"] .inventory-description-picker-top label,
html[data-ah-theme="dark"] .inventory-selection-toolbar h5,
html[data-ah-theme="dark"] .inventory-supplier-section h5,
html[data-ah-theme="dark"] .inventory-description-copy strong,
html[data-ah-theme="dark"] .inventory-description-option-copy strong {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .inventory-wizard-kicker,
html[data-ah-theme="dark"] .inventory-wizard-heading p,
html[data-ah-theme="dark"] .inventory-form-section-heading p,
html[data-ah-theme="dark"] .inventory-supplier-section > p,
html[data-ah-theme="dark"] .inventory-description-copy small,
html[data-ah-theme="dark"] .inventory-description-option-copy small,
html[data-ah-theme="dark"] .inventory-description-options-empty,
html[data-ah-theme="dark"] .inventory-field-hint {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .inventory-step,
html[data-ah-theme="dark"] .inventory-step-number {
  color: #aab7c8 !important;
}

html[data-ah-theme="dark"] .inventory-step.is-active,
html[data-ah-theme="dark"] .inventory-step.is-complete {
  color: #a8c7ee !important;
}

html[data-ah-theme="dark"] .inventory-step.is-active .inventory-step-number {
  background-color: #355782 !important;
  border-color: #527bb0 !important;
  color: #e1e9f4 !important;
  box-shadow: 0 0 0 4px #293951 !important;
}

html[data-ah-theme="dark"] .inventory-step.is-complete .inventory-step-number {
  background-color: #263d39 !important;
  border-color: #42685b !important;
  color: #a4d4bd !important;
}

html[data-ah-theme="dark"] .inventory-step-line,
html[data-ah-theme="dark"] .inventory-supplier-section {
  border-color: var(--ah-border) !important;
  background-color: transparent !important;
}

html[data-ah-theme="dark"] .inventory-required-badge {
  background-color: #493536 !important;
  color: #e2aaa2 !important;
}

html[data-ah-theme="dark"] .inventory-description-option.is-selected,
html[data-ah-theme="dark"] .inventory-description-card.is-selected,
html[data-ah-theme="dark"] .catalog-dropdown-option.is-selected {
  background-color: #30334c !important;
  border-color: #55587d !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .inventory-description-option-image {
  color: #a7b8cc !important;
}

/* Site and school cards retain readable status and count badges. */
html[data-ah-theme="dark"] .site-record-card {
  background-color: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .site-current-badge {
  background-color: #263b33 !important;
  color: #94d4b0 !important;
}

html[data-ah-theme="dark"] .site-record-card .bg-label-primary {
  background-color: #293951 !important;
  color: #b7c9e5 !important;
}

html[data-ah-theme="dark"] .site-record-card .bg-label-info {
  background-color: #243d4a !important;
  color: #9acbdc !important;
}

html[data-ah-theme="dark"] .site-record-card .bg-label-secondary {
  background-color: #303b4a !important;
  color: #bdc6d2 !important;
}

/* Asset name/description catalog image panels and filters. */
html[data-ah-theme="dark"] .catalog-card-image {
  background: linear-gradient(145deg, #263448, #1b2635 82%) !important;
}

html[data-ah-theme="dark"] .catalog-site-tabs {
  background-color: var(--ah-surface) !important;
  border: 1px solid var(--ah-border) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab:hover {
  background-color: #2b394b !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab.active {
  background-color: var(--ah-surface-raised) !important;
  color: #c2c0f4 !important;
  box-shadow: inset 0 0 0 1px #55587d, 0 .2rem .55rem rgba(0, 0, 0, .18) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab .badge {
  background-color: #303b52 !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .catalog-claim-form .text-muted {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .content-wrapper .alert-success {
  background-color: #203b32 !important;
  color: #a9dfc0 !important;
  border-color: #37604d !important;
}

html[data-ah-theme="dark"] .content-wrapper .alert-danger {
  background-color: #492d36 !important;
  color: #f0b6bd !important;
  border-color: #72424c !important;
}

html[data-ah-theme="dark"] .catalog-card-badges .bg-white,
html[data-ah-theme="dark"] .content-wrapper .export-modal-trigger.bg-white {
  background-color: #293951 !important;
  color: #c0c5f3 !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .content-wrapper .input-group.bg-white,
html[data-ah-theme="dark"] .content-wrapper .input-group-text.bg-white {
  background-color: #172233 !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .photo-capture-preview {
  background-color: #202d3e !important;
  border-color: #52647b !important;
}

html[data-ah-theme="dark"] .photo-capture-empty {
  color: #aab7c8 !important;
}

html[data-ah-theme="dark"] #myModalPictureAdd .btn-info .bx-plus-circle {
  background-color: #263b4a !important;
  border: 1px solid #395d70;
}

html[data-ah-theme="dark"] #myModalPictureAdd .alert-warning {
  background-color: #493d2d !important;
  border-color: #665337 !important;
  color: #e0c18d !important;
}

/* Category cards preserve uploaded artwork while darkening empty image panels. */
html[data-ah-theme="dark"] .category-card-image {
  background-color: #263448 !important;
}

html[data-ah-theme="dark"] .category-card-image:not([style]) {
  background-image: linear-gradient(135deg, #263448, #1b2635) !important;
}

html[data-ah-theme="dark"] .category-card-image .category-count {
  color: #d1d9e4 !important;
}

html[data-ah-theme="dark"] .category-card-image .category-fallback {
  color: #a2b1c4 !important;
}

html[data-ah-theme="dark"] .category-card-meta {
  color: #9aa9bc !important;
}

/* Asset type thumbnails and the small stat labels inside each card. */
html[data-ah-theme="dark"] .type-image {
  background: linear-gradient(135deg, #263448, #1b2635) !important;
}

html[data-ah-theme="dark"] .type-image i {
  color: #a2b1c4 !important;
}

html[data-ah-theme="dark"] .type-stat span,
html[data-ah-theme="dark"] .type-empty {
  color: #9aa9bc !important;
}

html[data-ah-theme="dark"] .type-empty {
  border-color: var(--ah-border) !important;
}

/* Room report cards and their item detail modals. */
html[data-ah-theme="dark"] .report-title-icon {
  background-color: #293951 !important;
  color: #9dbcf1 !important;
}

html[data-ah-theme="dark"] .report-title .btn.bg-white {
  background-color: var(--ah-surface-raised) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .report-room-label {
  color: #a3b0c1 !important;
}

html[data-ah-theme="dark"] .report-room-number {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .report-room-count {
  background-color: #30334c !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .report-room-open:hover {
  background-color: #29384d !important;
}

html[data-ah-theme="dark"] .report-room-modal .modal-header {
  background-color: var(--ah-surface-raised) !important;
  border-bottom-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .report-room-modal .table th {
  background-color: var(--ah-surface-raised) !important;
  color: #b4c1d1 !important;
  border-color: var(--ah-border) !important;
}

/* Check In-Out register heading and active loan status. */
html[data-ah-theme="dark"] .checkout-card {
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .checkout-table thead th {
  background-color: var(--ah-surface-raised) !important;
  color: #b4c1d1 !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .checkout-table .bg-label-warning {
  background-color: #493d2d !important;
  color: #e0c18d !important;
}

/* Permission role tabs and checkbox matrix. */
html[data-ah-theme="dark"] .permission-role-tabs {
  background-color: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .permission-section-note {
  background-color: transparent !important;
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .permission-section-card .form-check-input {
  background-color: #172233 !important;
  border-color: #52647b !important;
}

html[data-ah-theme="dark"] .permission-section-card .form-check-input:checked {
  background-color: #696cff !important;
  border-color: #696cff !important;
}

/* Invoice register tabs, summary badges, and grouped month rows. */
html[data-ah-theme="dark"] .invoice-page-card {
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .invoice-page-card .table-light {
  --bs-table-bg: var(--ah-surface-raised);
  --bs-table-striped-bg: #263448;
  --bs-table-striped-color: var(--ah-text);
  --bs-table-active-bg: #303b50;
  --bs-table-active-color: var(--ah-text);
  --bs-table-hover-bg: #29384d;
  --bs-table-hover-color: var(--ah-text);
  --bs-table-accent-bg: transparent;
  --bs-table-color: var(--ah-text);
  background-color: var(--ah-surface-raised) !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .invoice-summary span,
html[data-ah-theme="dark"] .invoice-tab-count {
  background-color: #293951 !important;
  color: #b8c8df !important;
}

html[data-ah-theme="dark"] .invoice-register-tabs {
  border-bottom-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .invoice-register-tabs .nav-link {
  background-color: transparent !important;
  color: #aab7c8 !important;
}

html[data-ah-theme="dark"] .invoice-register-tabs .nav-link:not(.active):hover,
html[data-ah-theme="dark"] .invoice-register-tabs .nav-link:not(.active):focus {
  background-color: #293951 !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .invoice-register-tabs .nav-link.active {
  background-color: #30334c !important;
  color: #c2c0f4 !important;
  box-shadow: inset 0 -3px #7779d8 !important;
}

html[data-ah-theme="dark"] .unknown-month-row th {
  background-color: #2b3748 !important;
  color: #c6cfdb !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .unknown-item-image,
html[data-ah-theme="dark"] .unknown-creator-image {
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .unknown-creator-details time,
html[data-ah-theme="dark"] .unknown-image-preview figcaption {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .invoice-page-card .bg-label-primary {
  background-color: #293951 !important;
  color: #b7c9e5 !important;
}

html[data-ah-theme="dark"] .invoice-page-card .bg-label-warning,
html[data-ah-theme="dark"] .invoice-page-card .bg-warning-subtle {
  background-color: #493d2d !important;
  color: #e0c18d !important;
}

html[data-ah-theme="dark"] .invoice-page-card .text-warning-emphasis {
  color: #e0c18d !important;
}

html[data-ah-theme="dark"] .inventory-form-section-icon--supplier {
  background-color: #263b33 !important;
  color: #83c9a4 !important;
}

html[data-ah-theme="dark"] .inventory-form-section-icon--management {
  background-color: #293951 !important;
  color: #91b8eb !important;
}

html[data-ah-theme="dark"] .inventory-form-section-icon--details {
  background-color: #34334f !important;
  color: #b2adf0 !important;
}

/* Dashboard activity rows need their own contrast tuning. */
html[data-ah-theme="dark"] #myDIV .mycard > .card {
  background-color: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] #myDIV .mycard .card_bg {
  background-color: var(--ah-surface) !important;
  background-image: none !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] #myDIV .mycard .icon-font {
  background-color: #293b52 !important;
  border: 1px solid #3b506a !important;
  color: #79c8eb !important;
}

html[data-ah-theme="dark"] #myDIV .mycard .card-title a {
  color: #b8b5f2 !important;
}

html[data-ah-theme="dark"] #myDIV .mycard .dropdown > .btn {
  color: #a8b6c8 !important;
}

html[data-ah-theme="dark"] .activity-row {
  border-bottom-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .activity-meta {
  color: #a8b6c8 !important;
}

html[data-ah-theme="dark"] .activity-description {
  color: #c3cddd !important;
}

html[data-ah-theme="dark"] .activity-barcode {
  background-color: #2b3b51 !important;
  color: #c2d2e8 !important;
}

html[data-ah-theme="dark"] .activity-note {
  background-color: #343653 !important;
  color: #bab8f4 !important;
}

html[data-ah-theme="dark"] .activity-avatar {
  border-color: #42536a !important;
}

/* Select2 controls are used by several searchable select fields. */
html[data-ah-theme="dark"] .select2-container--default .select2-selection--single,
html[data-ah-theme="dark"] .select2-container--default .select2-selection--multiple,
html[data-ah-theme="dark"] .select2-dropdown,
html[data-ah-theme="dark"] .select2-search--dropdown .select2-search__field,
html[data-ah-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #172233 !important;
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected],
html[data-ah-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: #303b55 !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .select2-container--default .select2-selection__rendered,
html[data-ah-theme="dark"] .select2-container--default .select2-selection__placeholder {
  color: var(--ah-text) !important;
}

/* Custom inline white backgrounds should become dark surfaces too. */
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background:#fff"],
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background: #fff"],
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background-color:#fff"],
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background-color: #fff"],
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background: white"],
html[data-ah-theme="dark"] body :not(.qr-label):not(.qr-label *)[style*="background-color: white"] {
  background-color: var(--ah-surface-raised) !important;
}

html[data-ah-theme="dark"] ::-webkit-scrollbar-thumb {
  background-color: #52647b;
}

/* Site status tabs and catalog cards used by Category, Brand, and Type pages. */
html[data-ah-theme="dark"] .catalog-site-tabs {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab:hover,
html[data-ah-theme="dark"] .catalog-site-tab.active {
  background: #303b55 !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .catalog-site-tab .badge {
  background: #29384b !important;
  color: #c5d2e3 !important;
}

html[data-ah-theme="dark"] .category-card,
html[data-ah-theme="dark"] .type-card,
html[data-ah-theme="dark"] .brand-card {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .category-card-title,
html[data-ah-theme="dark"] .type-card-title,
html[data-ah-theme="dark"] .brand-name {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .category-card-meta,
html[data-ah-theme="dark"] .type-card-footer,
html[data-ah-theme="dark"] .type-description,
html[data-ah-theme="dark"] .brand-meta,
html[data-ah-theme="dark"] .brand-pagination {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .category-card .card-footer,
html[data-ah-theme="dark"] .type-card-footer,
html[data-ah-theme="dark"] .type-stat {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .category-card-image,
html[data-ah-theme="dark"] .type-image,
html[data-ah-theme="dark"] .brand-logo {
  background-color: #202e40 !important;
}

html[data-ah-theme="dark"] .type-code,
html[data-ah-theme="dark"] .brand-count {
  background: #303b55 !important;
  color: #c7c5ff !important;
}

html[data-ah-theme="dark"] .type-search,
html[data-ah-theme="dark"] .type-search .form-control,
html[data-ah-theme="dark"] .type-search .input-group-text,
html[data-ah-theme="dark"] .category-search .form-control,
html[data-ah-theme="dark"] .category-search .input-group-text,
html[data-ah-theme="dark"] .brand-search .form-control,
html[data-ah-theme="dark"] .brand-search .input-group-text {
  background-color: #172233 !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .type-empty,
html[data-ah-theme="dark"] .category-empty,
html[data-ah-theme="dark"] .brand-empty {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

@media print {
  html[data-ah-theme="dark"] {
    color-scheme: light;
  }
}

/* Site, building, and room directory tabs/cards. */
html[data-ah-theme="dark"] .site-admin-tabs,
html[data-ah-theme="dark"] .catalog-site-tabs {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .site-admin-tab,
html[data-ah-theme="dark"] .catalog-site-tab {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .site-admin-tab:hover,
html[data-ah-theme="dark"] .catalog-site-tab:hover {
  background: #2b394b !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .site-admin-tab.active,
html[data-ah-theme="dark"] .catalog-site-tab.active {
  background: #303653 !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .site-admin-tab .badge,
html[data-ah-theme="dark"] .catalog-site-tab .badge {
  background: #303b52 !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .site-admin-title,
html[data-ah-theme="dark"] .location-admin-heading {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .site-admin-icon,
html[data-ah-theme="dark"] .location-admin-icon,
html[data-ah-theme="dark"] .site-record-logo,
html[data-ah-theme="dark"] .location-record-icon {
  background: #26364b !important;
  color: #9ec5ff !important;
}

html[data-ah-theme="dark"] .site-record-card,
html[data-ah-theme="dark"] .location-record-card,
html[data-ah-theme="dark"] .room-card,
html[data-ah-theme="dark"] .room-empty,
html[data-ah-theme="dark"] .room-table-card {
  background: var(--ah-surface) !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .site-record-meta,
html[data-ah-theme="dark"] .location-record-meta,
html[data-ah-theme="dark"] .room-card-caption {
  color: var(--ah-muted) !important;
}

html[data-ah-theme="dark"] .room-card-button {
  background: var(--ah-surface) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-card-button:hover {
  background: #26364b !important;
}

html[data-ah-theme="dark"] .room-card-number {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-group-heading th,
html[data-ah-theme="dark"] .room-table-card thead th {
  background: #202e40 !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-table-card td,
html[data-ah-theme="dark"] .room-table-card th,
html[data-ah-theme="dark"] .room-table-card tr {
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-group-heading .room-building-toggle:hover,
html[data-ah-theme="dark"] .room-building-drop-cell.room-drop-target {
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .room-drag-ghost {
  background: #202e40 !important;
  border-color: var(--ah-border) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-readonly-label {
  color: #f0ca7c !important;
}

html[data-ah-theme="dark"] .room-foreign-warning {
  background: #3b3020 !important;
  border-color: #7d6334 !important;
  color: #f0d69e !important;
}

/* Room detail view: custom surfaces defined by the page-level light theme. */
html[data-ah-theme="dark"] .room-description-open,
html[data-ah-theme="dark"] .room-description-name,
html[data-ah-theme="dark"] .room-description-meta,
html[data-ah-theme="dark"] .room-description-count,
html[data-ah-theme="dark"] .room-items-modal .modal-title,
html[data-ah-theme="dark"] .room-items-modal .modal-body,
html[data-ah-theme="dark"] .room-items-modal .modal-footer,
html[data-ah-theme="dark"] #roomDescriptionListView .table {
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-description-open:hover {
  background: #29384d !important;
}

html[data-ah-theme="dark"] .room-description-image {
  background: #29384b !important;
  color: #aebbd0 !important;
}

html[data-ah-theme="dark"] .room-description-count {
  background: #353862 !important;
  color: #c2c0f4 !important;
}

html[data-ah-theme="dark"] .room-description-claim {
  background: #202e40 !important;
  border-color: #426c5b !important;
  color: #86d4a2 !important;
}

html[data-ah-theme="dark"] .room-description-claim:hover:not(:disabled) {
  background: #276447 !important;
  color: #effff4 !important;
}

html[data-ah-theme="dark"] .room-items-modal .modal-header,
html[data-ah-theme="dark"] #roomItemsTableWrap,
html[data-ah-theme="dark"] #roomItemsTableWrap .table,
html[data-ah-theme="dark"] #roomDescriptionListView .table {
  background: var(--ah-surface) !important;
  color: var(--ah-text) !important;
}

html[data-ah-theme="dark"] .room-items-table th,
html[data-ah-theme="dark"] #roomDescriptionListView .table thead th {
  background: var(--ah-surface-raised) !important;
  color: #bdc9d8 !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .room-items-table td,
html[data-ah-theme="dark"] #roomDescriptionListView .table td {
  color: var(--ah-text) !important;
  border-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] #claimRoomItemsModal .alert-warning {
  background: #3b3020 !important;
  border-color: #7d6334 !important;
  color: #f0d69e !important;
}

html[data-ah-theme="dark"] .room-sku-tabs .nav-link {
  color: var(--ah-muted) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
}

html[data-ah-theme="dark"] .room-sku-tabs .nav-link.active {
  color: #f2f2ff !important;
  background: transparent !important;
  border-bottom-color: #8587ff !important;
}

html[data-ah-theme="dark"] .room-sku-tabs .nav-link:hover {
  color: #f2f2ff !important;
  background: rgba(133, 135, 255, .1) !important;
}

html[data-ah-theme="dark"] .room-sku-tabs {
  border-bottom-color: var(--ah-border) !important;
}

html[data-ah-theme="dark"] .room-sku-tabs .badge {
  color: #e1e1ff !important;
  background: #343653 !important;
}
