:root { --theme-canvas: #050b18; --theme-surface: #0b2038; --theme-line: #315b7d; --theme-text: #edf6ff; }
html[data-theme="light"] {
    --theme-canvas: #f1f5f8; --theme-surface: #fff; --theme-line: #c8d5df; --theme-text: #183247;
    --steve-black: #f1f5f8; --steve-panel: #fff; --steve-panel-2: #edf3f7;
    --steve-text: #183247; --steve-muted: #50697c; --steve-border: #c8d5df;
}
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 42px; height: 42px; flex: 0 0 42px; padding: 0;
    border: 1px solid var(--theme-line); border-radius: 6px;
    background: var(--theme-surface); color: var(--theme-text); cursor: pointer;
}
.theme-toggle i { font-size: 16px; width: 18px; text-align: center; }
.theme-toggle:hover { border-color: #1684b1; }
.theme-toggle:focus-visible { outline: 2px solid #1684b1; outline-offset: 3px; }
.theme-toggle--label { width: 100%; padding: 0 12px; justify-content: flex-start; font-size: 13px; }
html body#page-top#page-top button.theme-toggle { background: var(--theme-surface) !important; color: var(--theme-text) !important; border: 1px solid var(--theme-line) !important; border-radius: 6px !important; box-shadow: none !important; }
.ams-theme-mobile { display: none; }
@media (max-width: 767px) {
    .ams-theme-desktop { display: none !important; }
    html body#page-top#page-top .ams-theme-mobile { display: block; padding: 16px 0; }
}

html[data-theme="light"] body,
html[data-theme="light"] body#page-top#page-top,
html[data-theme="light"] body#page-top#page-top :is(#wrapper, #content-wrapper, #content) {
    background: var(--theme-canvas) !important; color: var(--theme-text) !important;
}
html[data-theme="light"] body#page-top#page-top #accordionSidebar.sidebar,
html[data-theme="light"] body#page-top#page-top #content nav.topbar {
    background: #fff !important; border-color: #cfdae3 !important; box-shadow: 0 3px 14px #18324708 !important;
}
html[data-theme="light"] body#page-top#page-top #accordionSidebar :is(.nav-link, .collapse-item, .sidebar-heading, .copyright span),
html[data-theme="light"] body#page-top#page-top :is(.topbar-page-title, #userDropdown) { color: #183247 !important; text-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #userDropdown span { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .container-fluid { background: transparent !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-toolbar span { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.asset-file-picker span,.asset-filter-count,.asset-kpi-copy > span,.asset-icon-btn span) { color: #3d5b70 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.asset-file-picker,.asset-filter-count) { background: #edf4f8 !important; color: #294b62 !important; border-color: #b8cbd9 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-icon-btn { background: #edf4f8 !important; color: #294b62 !important; border-color: #b8cbd9 !important; }
html[data-theme="light"] body#page-top#page-top .maintenance-alert-badge { background: #b82949 !important; color: #fff !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar .nav-item.active > .nav-link,
html[data-theme="light"] body#page-top#page-top #accordionSidebar .nav-link:hover,
html[data-theme="light"] body#page-top#page-top #accordionSidebar .collapse-item:hover { background: #e6f2f8 !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar .collapse-inner { background: #f4f8fb !important; }
html[data-theme] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-inner .collapse-header {
    color: #b9d8e9 !important;
    -webkit-text-fill-color: currentColor !important;
    background: #102b43 !important;
    border-left: 2px solid #4b8cae !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-inner .collapse-header {
    color: #294b62 !important;
    background: #e5eef4 !important;
    border-left-color: #7098b1 !important;
}
html[data-theme="light"] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-inner .collapse-item,
html[data-theme="light"] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-inner .collapse-item :is(span,b,strong,i) { color: #294b62 !important; text-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-item.active { background: #dceef7 !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar#accordionSidebar .collapse-item::before { color: #52738a !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar .nav-link i { color: #13789b !important; }
html[data-theme="light"] body#page-top#page-top #accordionSidebar .sidebar-brand-icon::after { color: #183247 !important; text-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top :is(#sidebarToggle, #sidebarToggleTop, #sidebarClose, #userDropdown, .maintenance-alert-button) {
    background: #f3f8fb !important; color: #176b94 !important; border-color: #bed0dd !important; box-shadow: none !important;
}

/* Structural surfaces share one neutral palette, including legacy module classes. */
html[data-theme="light"] body#page-top#page-top #content#content :is(
    .card, .card-body, .card-header, .card-footer, section, article,
    [class$="-hero"], [class*="-hero "], [class$="-panel"], [class*="-panel "],
    [class$="-toolbar"], [class*="-toolbar "], [class$="-card"], [class*="-card "],
    [class$="-workspace"], [class$="-surface"], [class$="-directory"],
    [class$="-kpi"], [class*="-kpi "], [class$="-metric"], [class*="-metric "], [class$="-overview"],
    [class*="-stat "], [class$="-stat"], .expiry-box,
    .master-panel-heading, .master-record-count, .table-responsive, .dataTables_wrapper
) {
    background: #fff !important; border-color: #cfdae3 !important;
    color: #183247 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content :is(div[class*="-heading"], div[class*="-header"], header[class*="-header"]) { background: #edf4f8 !important; border-color: #cfdae3 !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top :is(#accordionSidebar, #content) ::-webkit-scrollbar-track { background: #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top :is(#accordionSidebar, #content) ::-webkit-scrollbar-thumb { background: #a2b8c9 !important; border-color: #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.component-panel-heading,.component-table-heading) > span { color: #17644e !important; background: #e4f3ec !important; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page :is(.identity-hero h2, .identity-table-card__head h3) {
    color: #183247 !important; -webkit-text-fill-color: #183247 !important; text-shadow: none !important;
}
/* Identity workspace sections are layout layers; only their actual cards are surfaces. */
html[data-theme] body#page-top#page-top #content#content .identity-admin-page,
html[data-theme] body#page-top#page-top #content#content .identity-admin-page :is(.identity-summary-grid,.identity-hero__copy,.identity-hero__actions) {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-status-filter {
    display: inline-grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px !important;
    width: 248px; max-width: 100%; padding: 4px !important;
    background: #edf3f7 !important; border: 1px solid #c8d5df !important; border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-btn {
    justify-content: center !important; min-width: 0; min-height: 32px !important; height: 32px !important; padding: 0 6px !important;
    background: transparent !important; color: #3d5b70 !important; border: 1px solid transparent !important; border-radius: 4px !important;
    font-size: 12px !important; font-weight: 600 !important; line-height: 18px !important; letter-spacing: 0 !important;
    white-space: nowrap; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-btn:hover {
    background: #dceaf3 !important; color: #294b62 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-btn.is-active {
    background: #1763aa !important; color: #fff !important; border-color: #1763aa !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-btn:focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-dot { flex: 0 0 7px; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-dot--active { background: #16804f !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-filter-dot--inactive { background: #bd3e4e !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-hero__icon {
    background: #e5f2fa !important; color: #176b9a !important; border-color: #b9d8e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-summary-card { --identity-icon-bg: #e5f2fa; --identity-icon-fg: #176b9a; --identity-icon-line: #b9d8e8; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-summary-card--green { --identity-icon-bg: #e7f6ee; --identity-icon-fg: #176544; --identity-icon-line: #a8d8bc; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-summary-card--red { --identity-icon-bg: #ffedf1; --identity-icon-fg: #992f46; --identity-icon-line: #edb9c5; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-summary-card--violet { --identity-icon-bg: #f1edfb; --identity-icon-fg: #675094; --identity-icon-line: #d1c5e9; }
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-summary-card__icon {
    background: var(--identity-icon-bg) !important; color: var(--identity-icon-fg) !important; border-color: var(--identity-icon-line) !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-avatar {
    background: #e3eef7 !important; color: #255777 !important; border-color: #b8d0df !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page .identity-role-icon {
    background: #f1edfb !important; color: #675094 !important; border-color: #d1c5e9 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .identity-admin-page :is(.identity-hero__icon,.identity-summary-card__icon,.identity-role-icon) i { color: inherit !important; }
/* Dashboard columns and card contents are layout layers, not separate surfaces. */
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid > :is(.asset-card,.item-card),
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .custom-card .card-body {
    background: transparent !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .custom-card {
    background: #fff !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .custom-card::before {
    content: none !important; display: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .asset-metric-box {
    background: #edf4f8 !important; border-color: #c8d9e5 !important; color: #294b62 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .asset-metric-box .metric-label { color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-dashboard-grid .asset-metric-box strong { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.total-text,
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.total-text i { color: #176b9a !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.serviceable-text,
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.serviceable-text i { color: #1b7751 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.unserviceable-text,
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.unserviceable-text i { color: #b43349 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.maintenance-text,
html[data-theme="light"] body#page-top#page-top #content#content .asset-metric-box .metric-icon.maintenance-text i { color: #926014 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is([class*="-hero-copy"], [class*="-hero-content"], [class*="-hero-actions"]) { background: transparent !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.consolidation-count, .consolidation-quick-actions) { background: #e8f1f6 !important; border-color: #bfd1de !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .consolidation-count :is(span,strong) { color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.badge.bg-warning,.badge-warning) { background: #fff0bd !important; color: #715009 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.badge.bg-info,.badge-info) { background: #dceff8 !important; color: #175979 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.badge.bg-success,.badge-success) { background: #dcf1e7 !important; color: #175e41 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.badge.bg-danger,.badge-danger) { background: #ffe5eb !important; color: #912c43 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-consolidation-page .table-container { background: #fff !important; scrollbar-color: #9ab2c4 #eaf1f6; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-table th { white-space: normal !important; word-break: normal !important; overflow-wrap: normal !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-table :is(th,td):nth-child(6) { width: 130px !important; min-width: 130px !important; max-width: 130px !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-table .badge { font-size: 10px !important; padding: 4px 6px !important; }
html[data-theme="light"] body#page-top#page-top #content#content .table-container::-webkit-scrollbar-track { background: #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .table-container::-webkit-scrollbar-thumb { background: #a2b8c9 !important; border-color: #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(h1,h2,h3,h4,h5,h6,p,label,legend,dt,dd,strong,b),
html[data-theme="light"] body#page-top#page-top #content#content :is([class*="-title"], [class*="-heading"], [class*="-name"], [class*="-value"]) {
    color: #183247 !important; text-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content :is(small, [class*="-description"], [class*="-subtitle"], [class*="-muted"], .text-muted) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content span { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.master-page-hero__meta,.calibration-hero-copy,.calibration-live-state,.asset-kpi-copy,.asset-command-kpi__label,.asset-section-kicker,.corrective-kpi__label,.corrective-live-card__label,.corrective-type-filter__label,.report-suite-hero-copy,.inventory-kpi-copy,.inventory-section-kicker,.form-label,.info-text,.label) { color: #3d5b70 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.asset-command-hero__status,.fleet-insight-box,.asset-command-live,.inventory-live-pill,.calibration-live-state,.filter-section,.filter-container,.master-context-badge,.ams-assettypes-help,.access-context-note) { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.disposal-total,.disposal-empty-state,.corrective-resolution-note,.inventory-kpi-copy,.asset-command-kpi__label,.disposal-empty-state) :is(span,small,strong,b) { color: #3d5b70 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.asset-component-metric,.fleet-status-strip,.corrective-chart-legend > div,.corrective-legend > div) { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.fleet-insight-box em,.stat-card .percentage.positive) { color: #25624e !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is([class*="-badge"], [class*="-pill"], .identity-status, .dm-required, .dm-optional) { background: #e8f1f6 !important; color: #294b62 !important; border-color: #b8cfdd !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.status-active,.identity-status--active,.component-status-serviceable,.badge-success,.bg-success.badge) { background: #dcf1e7 !important; color: #175e41 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.status-inactive,.identity-status--inactive,.component-status-unserviceable,.badge-danger,.bg-danger.badge) { background: #ffe5eb !important; color: #912c43 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .nav-tabs .nav-link { color: #294b62 !important; background: #eef5f9 !important; border-color: #bfd1de !important; }
html[data-theme="light"] body#page-top#page-top #content#content .nav-tabs .nav-link.active { background: #dceef7 !important; color: #175979 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.ams-maintenance-link,.ams-component-overview,.ams-summary-chart-body,.ams-fleet-totals,.quake-info,.performance-filter-group,.performance-filter-copy) { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.ams-maintenance-link,.ams-component-overview,.quake-info,.performance-filter-copy) :is(span,strong,small,summary) { color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .ams-summary-card > header { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; }
html[data-theme="light"] body#page-top#page-top #content#content .ams-fleet-metrics > div { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.location-insight,.donut-center,.coverage-list > div,.maintenance-status-strip > div) { background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.location-insight,.donut-center,.maintenance-status-strip) :is(span,small,strong) { color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page { background: transparent !important; color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .donut-wrap { background: #fff !important; }
html[data-theme="light"] body#page-top#page-top #content#content .donut-center { background: transparent !important; }
html[data-theme="light"] body#page-top#page-top #content#content .coverage-list em { color: #3d5b70 !important; }
/* Location Summary layout layers must not become white panels behind the content. */
html[data-theme="light"] body#page-top#page-top #content#content .location-summary-redesign,
html[data-theme="light"] body#page-top#page-top #content#content .location-summary-redesign :is(.location-tab-content, .location-kpi-grid, .location-analytics-grid, .coverage-content) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-tabs {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-tabs a {
    background: #edf4f8 !important; color: #294b62 !important; border: 1px solid #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-tabs a.active {
    background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-kpi-card::before,
html[data-theme="light"] body#page-top#page-top #content#content .location-kpi-card::after { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .location-kpi-card :is(small,strong) { background: transparent !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .location-summary-redesign :is(.location-chart-wrap,.donut-wrap) {
    background: #fff !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-summary-redesign :is(.location-chart-wrap,.donut-wrap) canvas {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-summary-redesign .donut-center { background: transparent !important; }
html[data-theme="light"] body#page-top#page-top #content#content .location-state-filter {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #b8cbd9 !important; border-radius: 6px !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-state-filter select {
    background: transparent !important; color: #294b62 !important; border: 0 !important; border-radius: 0 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .location-state-filter i { color: #176b9a !important; }
html body#page-top#page-top #content#content .location-state-filter:focus-within { outline: 2px solid #1684b1 !important; outline-offset: 2px; }
@media (max-width: 620px) {
    html body#page-top#page-top #content#content .location-summary-redesign .location-kpi-card {
        grid-template-columns: 36px minmax(0, 1fr) !important; grid-template-rows: 36px 40px !important;
        height: 112px !important; min-height: 112px !important; padding: 14px !important; gap: 8px !important;
    }
    html body#page-top#page-top #content#content .location-summary-redesign .location-kpi-card .kpi-icon {
        grid-column: 1 !important; grid-row: 1 !important; width: 36px !important; height: 36px !important;
    }
    html body#page-top#page-top #content#content .location-summary-redesign .location-kpi-card strong {
        grid-column: 2 !important; grid-row: 1 !important; justify-self: end !important; font-size: 26px !important;
    }
    html body#page-top#page-top #content#content .location-summary-redesign .location-kpi-card small {
        grid-column: 1 / -1 !important; grid-row: 2 !important; align-self: start !important;
        white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
        font-size: 12px !important; line-height: 1.35 !important;
    }
}
/* Corrective Maintenance has explicit panel headings and separate layout layers. */
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page,
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-kpi-grid,.corrective-chart-grid,.corrective-table-grid,.corrective-chart-content,.corrective-chart-stage,.corrective-chart-center,.corrective-table-scroll) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-panel__head {
    background: #edf4f8 !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-panel__head :is(p,.corrective-panel__kicker) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-chart-stage canvas {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-chart-center span { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-hero__icon {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-hero::after,
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-kpi::after { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-live-card,.corrective-matrix-card) {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html body#page-top#page-top #content#content .corrective-ops-page .dataTables_wrapper::before { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-type-filter button {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-type-filter button:is(:hover,.is-active) {
    background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important;
}
html body#page-top#page-top #content#content .corrective-ops-page .corrective-type-filter button:focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-panel__badge,.corrective-table-count) {
    background: #e8f1f6 !important; color: #294b62 !important; border-color: #b8cfdd !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-panel__badge--violet,.corrective-table-count--violet) { background: #f1edfc !important; color: #5b488d !important; border-color: #cfc2eb !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-table-count--green { background: #dcf1e7 !important; color: #175e41 !important; border-color: #9ddcb8 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-panel__badge,.corrective-table-count) :is(strong,i) { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-count-pill { background: #f4f7f9 !important; color: #50697c !important; border-color: #d5e1e8 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-count-pill--active { background: #e5f1fa !important; color: #175979 !important; border-color: #accde2 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page .corrective-dot { box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .corrective-ops-page :is(.corrective-table-scroll,.dataTables_scrollBody) { scrollbar-color: #a2b8c9 #edf3f7 !important; }
@media (max-width: 620px) {
    html body#page-top#page-top #content#content .corrective-ops-page .corrective-type-filter__label { flex-basis: 100% !important; }
    html body#page-top#page-top #content#content .corrective-ops-page .corrective-type-filter button { flex: 1 1 0 !important; min-width: 0 !important; padding: 0 4px !important; font-weight: 600 !important; }
}
html[data-theme="light"] body#page-top#page-top #content#content :is([class*="-eyebrow"], [class*="-label"], .master-page-eyebrow) { color: #126a86 !important; }
html[data-theme="light"] body#page-top#page-top #content#content a:not(.btn):not(.ams-ui-action):not(.page-link) { color: #126c9a !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(table, thead, tbody, tr, td) {
    background: #fff !important; color: #183247 !important; border-color: #d7e1e8 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content :is(th, thead tr, .dataTables_scrollHead) { background: #e8f1f6 !important; color: #183247 !important; border-color: #c6d8e4 !important; }
html[data-theme="light"] body#page-top#page-top #content#content tr:nth-child(even) td { background: #f6f9fb !important; }
html[data-theme="light"] body#page-top#page-top #content#content tr:hover td { background: #eaf5fa !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.dataTables_info,.dataTables_length,.dataTables_filter) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="color"]), select, textarea, .form-control, .select2-selection, .select2-selection__rendered) {
    background: #fff !important; color: #183247 !important; border-color: #a8bece !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content :is(input, textarea)::placeholder { color: #5c7385 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.btn:not(.ams-ui-action), .page-link) {
    background: #eef5f9 !important; color: #175979 !important; border-color: #b3ccdc !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content :is(.btn-primary:not(.ams-ui-action), .page-item.active .page-link, .btn-success:not(.ams-ui-action)) {
    background: #176baf !important; color: #fff !important; border-color: #176baf !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .btn-danger:not(.ams-ui-action) { background: #fff0f3 !important; color: #a22b46 !important; border-color: #be4762 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .btn-warning:not(.ams-ui-action) { background: #fff5d9 !important; color: #79540b !important; border-color: #aa7913 !important; }
html[data-theme="light"] body#page-top#page-top #content#content :is(.btn, .page-link, .ams-ui-action) :is(span, strong, b, i) { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top :is(#content, .modal) .ams-ui-action--edit { --action-bg: #fff5d9; --action-border: #aa7913; --action-fg: #79540b; }
html[data-theme="light"] body#page-top#page-top :is(#content, .modal) .ams-ui-action--delete { --action-bg: #fff0f0; --action-border: #c85a5a; --action-fg: #a62b2b; }
html[data-theme="light"] body#page-top#page-top :is(#content, .modal) .ams-ui-action--view { --action-bg: #eaf5fb; --action-border: #3889bb; --action-fg: #14628c; }
html[data-theme="light"] body#page-top#page-top :is(.modal-content,.modal-header,.modal-body,.modal-footer,.dropdown-menu,.select2-dropdown,.maintenance-alert-dropdown,.maintenance-alert-header,.maintenance-alert-item) {
    background: #fff !important; border-color: #cfdae3 !important; color: #183247 !important;
}
html[data-theme="light"] body#page-top#page-top :is(.modal,.dropdown-menu,.maintenance-alert-dropdown) :is(h1,h2,h3,h4,h5,h6,p,label,td,th,strong,[class*="-value"],[class*="-title"],.dropdown-item) { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top .modal :is(input,select,textarea,.select2-selection) { background: #fff !important; color: #183247 !important; border-color: #a8bece !important; }
html[data-theme="light"] body#page-top#page-top .modal :is(.btn-secondary,.btn-default,.close) { background: #edf4f8 !important; color: #183247 !important; border-color: #b3ccdc !important; }
html[data-theme="light"] body#page-top#page-top .maintenance-alert-item:hover { background: #eaf5fa !important; }
html[data-theme="light"] body#page-top#page-top .maintenance-alert-item-meta { color: #50697c !important; }

/* Asset Summary separates the page layout, chart surfaces and real cards. */
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page,
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.summary-ref-shell,.asset-command-layout,.asset-summary-ref-section,.asset-command-kpi-grid,.summary-ref-chart-grid,.asset-command-operations,.asset-command-table-host,.summary-ref-card-body,.summary-ref-chart-wrap,.donut-absolute-center,.fleet-insight-grid,.asset-section-heading__copy) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.asset-command-panel__head,.summary-ref-card-head,.asset-section-heading) {
    background: #edf4f8 !important; color: #183247 !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.asset-command-hero__icon,.asset-section-heading__icon,.summary-ref-card-head > span) {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.asset-command-hero,.asset-command-kpi,.summary-ref-card)::after { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.summary-ref-card-head strong,.donut-absolute-center p,.fleet-insight-box strong,.fleet-status-strip strong,.summary-metric-pill .total) { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.summary-ref-card-head small,.asset-panel-kicker) { color: #126a86 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.summary-ref-card-head p,.fleet-status-strip small,.fleet-insight-box small,.summary-metric-pill .type) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.asset-command-panel__badge,.asset-section-heading__badge,.summary-ref-card-head > em,.summary-ref-footer) {
    background: #e8f1f6 !important; color: #294b62 !important; border-color: #b8cfdd !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.asset-command-panel__badge,.asset-section-heading__badge,.summary-ref-card-head > em,.summary-ref-footer) :is(i,small,strong) { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .summary-ref-chart-wrap canvas {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .donut-absolute-center p {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .summary-metric-pill:hover { background: #dceef7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .summary-metric-dot { box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.breakdown-container,.breakdown-list) { scrollbar-color: #a2b8c9 #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .asset-component-metric i { color: #13789b !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page #map { background: #edf4f8 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page :is(.leaflet-popup-content-wrapper,.leaflet-popup-tip,.leaflet-bar a) {
    background: #fff !important; color: #183247 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .leaflet-popup-content { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-command-page .leaflet-control-zoom a { text-indent: 0 !important; text-align: center !important; }

/* Performance Overview keeps its layout clear and its chart chrome theme-aware. */
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign,
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign :is(.performance-toolbar,.performance-kpi-grid,.performance-chart-grid,.performance-filter-copy,.chart-container) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-mode-switch {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-mode-switch .nav-link {
    background: #edf4f8 !important; color: #294b62 !important; border: 1px solid #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important; opacity: 1 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-mode-switch .nav-link:is(.active,:hover) {
    background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-mode-switch .nav-link :is(i,span) { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-mode-switch .counter {
    background: #d4e5ef !important; color: #294b62 !important; border-radius: 6px !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-chart-card header {
    background: #edf4f8 !important; color: #183247 !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .chart-container canvas {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign :is(.performance-hero,.performance-kpi-card)::after { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-hero-icon {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-live-card {
    background: #edf4f8 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-live-card > span i { color: #16804f !important; filter: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign :is(.performance-chart-card header p,.performance-kpi-card p,.performance-live-card small) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-chart-badge.badge-green { background: #e7f6ee !important; color: #176544 !important; border-color: #aed7c0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-chart-badge.badge-coral { background: #ffedf1 !important; color: #992f46 !important; border-color: #e8b8c3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-chart-badge.badge-amber { background: #fff3db !important; color: #805714 !important; border-color: #e3cc9e !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-chart-badge i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-reset-btn {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #b8cfdd !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .performance-dashboard-redesign .performance-apply-btn {
    background: #176baf !important; color: #fff !important; border-color: #176baf !important; box-shadow: none !important;
}
html body#page-top#page-top #content#content .performance-dashboard-redesign :is(.performance-mode-switch a,.performance-apply-btn,.performance-reset-btn):focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }

/* General Asset/Item dashboards share the same light surfaces and map controls. */
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard,
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard :is(.general-dashboard-tabs-wrap,.general-dashboard-grid,.general-kpi-grid,.general-tabs-shell,.general-kpi-panel) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-tabs-shell { border-radius: 0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-dashboard-tabs { padding: 0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-dashboard-tabs .nav-link {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-dashboard-tabs .nav-link:is(.active,:hover) {
    background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-dashboard-tabs .nav-link i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard :is(.general-section-title > span,.general-kpi-card .kpi-icon) {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-kpi-card.use .kpi-icon { background: #e7f6ee !important; color: #176544 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-kpi-card.faulty .kpi-icon { background: #ffedf1 !important; color: #992f46 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-kpi-card.maintenance .kpi-icon { background: #fff3db !important; color: #805714 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-kpi-card.store .kpi-icon { background: #f1edfc !important; color: #5b488d !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard :is(.general-kpi-card .kpi-icon,.general-section-title > span) i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .general-map-frame {
    background: #edf4f8 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard :is(#map,.leaflet-control-attribution) { background: #edf4f8 !important; color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard :is(.leaflet-control-zoom a,.leaflet-popup-content-wrapper,.leaflet-popup-tip) {
    background: #fff !important; color: #183247 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .leaflet-popup-content { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .asset-general-dashboard .leaflet-popup-close-button { color: #294b62 !important; }
html body#page-top#page-top #content#content .asset-general-dashboard :is(.general-dashboard-tabs a,.general-kpi-card):focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }

/* Inventory Summary keeps structural layers clear and chart chrome light. */
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page,
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-kpi-grid,.inventory-summary-section,.tab-content,.tab-pane,.inventory-chart-stage) {
    background: transparent !important; border: 0 !important; box-shadow: none !important; color: #183247 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-tabs-shell {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-tabs .nav-link {
    background: #edf4f8 !important; color: #294b62 !important; border: 1px solid #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-tabs .nav-link:is(.active,:hover) {
    background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-tabs .nav-link :is(i,span) { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-chart-frame {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    scrollbar-color: #a2b8c9 #edf3f7 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-chart-frame::-webkit-scrollbar-track { background: #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-chart-frame::-webkit-scrollbar-thumb { background: #a2b8c9 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-grid-scroll { scrollbar-color: #a2b8c9 #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-chart-stage canvas {
    background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-table-heading,.inventory-live-pill) {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-overview-copy p,.inventory-card-title p,.inventory-table-heading p,.inventory-kpi-copy small) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-eyebrow,.inventory-section-kicker) { color: #126a86 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-title-icon,.inventory-type-cell i,.inventory-kpi-icon) {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-kpi-serviceable .inventory-kpi-icon { background: #e7f6ee !important; color: #176544 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-kpi-store .inventory-kpi-icon { background: #f1edfc !important; color: #5b488d !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-kpi-attention .inventory-kpi-icon { background: #fff3db !important; color: #805714 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page :is(.inventory-title-icon,.inventory-kpi-icon) i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-type-cell { color: #183247 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-location { background: #e9f4fd !important; color: #1e5d85 !important; border-color: #b3ccdc !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-quantity { background: #e2f5f1 !important; color: #236457 !important; border-color: #b2d8ce !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-serviceable { background: #e7f6ee !important; color: #176544 !important; border-color: #aed7c0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-store { background: #f1edfc !important; color: #5b488d !important; border-color: #cdc0ea !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-corrective { background: #ffedf1 !important; color: #992f46 !important; border-color: #e8b8c3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .inventory-summary-page .inventory-metric.inventory-metric-preventive { background: #fff3db !important; color: #805714 !important; border-color: #e3cc9e !important; }
html body#page-top#page-top #content#content .inventory-summary-page .inventory-tabs a:focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }

/* Assets has legacy text-fill rules as well as ordinary text colors. */
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page,
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .asset-kpi-grid {
    background: transparent !important; border: 0 !important; box-shadow: none !important; color: #183247 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page :is(.asset-toolbar-copy h2,.asset-filter-heading h3,.asset-table-toolbar h3) {
    color: #183247 !important; -webkit-text-fill-color: #183247 !important;
    background: transparent !important; background-clip: border-box !important; text-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page :is(.asset-toolbar-copy p,.asset-filter-heading p,.asset-table-toolbar p,.asset-kpi-copy span) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .asset-table-toolbar {
    background: #edf4f8 !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .assets-grid-scroll { scrollbar-color: #a2b8c9 #edf3f7 !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page :is(.asset-action-toolbar,.asset-kpi-card)::after { content: none !important; display: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page :is(.asset-toolbar-icon,.asset-kpi-icon) {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .tone-green .asset-kpi-icon { background: #e7f6ee !important; color: #176544 !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .tone-red .asset-kpi-icon { background: #ffedf1 !important; color: #992f46 !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .tone-amber .asset-kpi-icon { background: #fff3db !important; color: #805714 !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page .tone-purple .asset-kpi-icon { background: #f1edfc !important; color: #5b488d !important; }
html[data-theme="light"] body#page-top#page-top #content#content #defaultDiv.assets-redesign-page :is(.asset-toolbar-icon,.asset-kpi-icon) i { color: inherit !important; }

/* Component List uses the same semantic snapshot colors as Assets. */
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-registry-shell .col-lg-12.mt-25 :is(.mb-4,.card-body,.d-flex,.flex-fill) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box {
    --component-accent: #1e5d85; --component-soft: #e9f4fd; --component-line: #b3ccdc;
    background: #fff !important; border-color: #cfdae3 !important; border-left: 3px solid var(--component-accent) !important;
    box-shadow: none !important;
}
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.tone-green { --component-accent: #176544; --component-soft: #e7f6ee; --component-line: #aed7c0; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.tone-purple { --component-accent: #5b488d; --component-soft: #f1edfc; --component-line: #cdc0ea; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.tone-red { --component-accent: #992f46; --component-soft: #ffedf1; --component-line: #e8b8c3; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.tone-amber { --component-accent: #805714; --component-soft: #fff3db; --component-line: #e3cc9e; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box::before,
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box::after { content: none !important; display: none !important; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box h2 { color: var(--component-accent) !important; -webkit-text-fill-color: var(--component-accent) !important; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box h4 { color: #183247 !important; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat.expiry-box p { color: #50697c !important; }
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat .component-stat-icon {
    background: var(--component-soft) !important; color: var(--component-accent) !important; border-color: var(--component-line) !important; box-shadow: none !important;
}
html.ims-components-index[data-theme="light"] body#page-top#page-top #content#content .component-stat .component-stat-icon i { color: inherit !important; }

/* Calibration separates layout layers from the real cards and table cells. */
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page,
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page :is(.calibration-summary-grid,.calibration-content,.calibration-content > .row,.calibration-content .col-12,.calibration-content .tab-content,.calibration-content .tab-pane,.calibration-table-card,#downloadForm) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-tabs-shell {
    background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-tabs .nav-link {
    background: #edf4f8 !important; color: #294b62 !important; border: 1px solid #bfd1de !important;
    border-radius: 6px !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-tabs .nav-link:is(.active,:hover) { background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-tabs .nav-link i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page :is(.calibration-hero-icon,.calibration-name-cell i) {
    background: #e4f1f8 !important; color: #13789b !important; border-color: #bdd9e8 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-hero-icon i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page :is(.calibration-hero-copy > span,.calibration-table-heading > div > span) { color: #126a86 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page :is(.calibration-hero-copy p,.calibration-table-heading p,.calibration-summary-card small) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-table-heading {
    background: #edf4f8 !important; border-color: #cfdae3 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-due { --calibration-accent: #805714; --calibration-soft: #fff3db; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-scope { --calibration-accent: #1e5d85; --calibration-soft: #e9f4fd; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-cycle { --calibration-accent: #5b488d; --calibration-soft: #f1edfc; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-card { border-top-color: var(--calibration-accent) !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-card > i {
    background: var(--calibration-soft) !important; color: var(--calibration-accent) !important; border-color: var(--calibration-accent) !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-summary-card strong { color: var(--calibration-accent) !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-live-state { background: #e7f6ee !important; color: #176544 !important; border-color: #aed7c0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-live-state i { color: #16804f !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page :is(.calibration-type-badge,.calibration-day-frequency) { background: #e9f4fd !important; color: #1e5d85 !important; border-color: #b3ccdc !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-day-reminder { background: #fff3db !important; color: #805714 !important; border-color: #e3cc9e !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-date-cell i { color: #805714 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .calibration-workspace-page .calibration-grid-scroll { scrollbar-color: #a2b8c9 #edf3f7 !important; }
html body#page-top#page-top #content#content .calibration-workspace-page .calibration-tabs .nav-link:focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }

/* Maintenance Calendar uses light surfaces throughout Month, Week and Day. */
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page :is(.maintenance-status-strip,.maintenance-content,.maintenance-content > .row,.maintenance-content .col-12,.maintenance-content .tab-content,.maintenance-content .tab-pane,.maintenance-calendar-layout) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .maintenance-calendar-body {
    background: #fff !important; border: 0 !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .maintenance-panel-heading { background: #edf4f8 !important; border-color: #cfdae3 !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page :is(.maintenance-hero-copy > span,.maintenance-panel-heading > div > span) { color: #126a86 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page :is(.maintenance-hero-copy p,.maintenance-panel-heading p) { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .maintenance-hero-icon { background: #fff3db !important; color: #805714 !important; border-color: #e3cc9e !important; box-shadow: none !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .maintenance-hero-icon i { color: inherit !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar {
    --fc-border-color: #cfdae3; --fc-page-bg-color: #fff; --fc-neutral-bg-color: #edf4f8;
    --fc-today-bg-color: #fff7e6; --fc-neutral-text-color: #50697c;
    --fc-now-indicator-color: #b82949; --fc-non-business-color: #f6f9fb;
    color: #294b62 !important; background: #fff !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar :is(table,.fc-scrollgrid,.fc-view-harness,.fc-scroller,.fc-timegrid-col,.fc-timegrid-slot) { background: #fff !important; border-color: #cfdae3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar :is(.fc-col-header-cell,.fc-timegrid-axis,.fc-scrollgrid-section-header) { background: #edf4f8 !important; border-color: #cfdae3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar :is(.fc-col-header-cell-cushion,.fc-timegrid-axis-cushion,.fc-timegrid-slot-label-cushion,.fc-daygrid-day-number,.fc-toolbar-title) { color: #294b62 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-toolbar { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-daygrid-day { background: #fff !important; border-color: #cfdae3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-daygrid-day:nth-child(even) { background: #f6f9fb !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-day-today { background: #fff7e6 !important; box-shadow: inset 0 0 0 1px #e3cc9e !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-day-other .fc-daygrid-day-top { opacity: 1 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-day-other .fc-daygrid-day-number { color: #60778a !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary {
    background: #edf4f8 !important; color: #294b62 !important; border-color: #bfd1de !important; box-shadow: none !important;
}
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary:hover { background: #dceef7 !important; color: #175979 !important; border-color: #8eb7d3 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary.fc-button-active { background: #176baf !important; color: #fff !important; border-color: #176baf !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary:disabled { opacity: .55 !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary :is(span,i) { color: inherit !important; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-planned { --maintenance-event-bg: #422333; --maintenance-event-fg: #ffc1ce; --maintenance-event-line: #9a5067; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-progress { --maintenance-event-bg: #15374c; --maintenance-event-fg: #b4e2ff; --maintenance-event-line: #3d789b; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-completed { --maintenance-event-bg: #153c32; --maintenance-event-fg: #a7edc9; --maintenance-event-line: #357e64; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-planned { --maintenance-event-bg: #ffedf1; --maintenance-event-fg: #992f46; --maintenance-event-line: #e8b8c3; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-progress { --maintenance-event-bg: #e9f4fd; --maintenance-event-fg: #1e5d85; --maintenance-event-line: #b3ccdc; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .maintenance-event-completed { --maintenance-event-bg: #e7f6ee; --maintenance-event-fg: #176544; --maintenance-event-line: #aed7c0; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-event {
    background: var(--maintenance-event-bg, #15374c) !important; color: var(--maintenance-event-fg, #b4e2ff) !important;
    border: 1px solid var(--maintenance-event-line, #3d789b) !important; border-radius: 4px !important; box-shadow: none !important;
}
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-event :is(span,div) { color: inherit !important; background: transparent !important; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-daygrid-event-dot { display: none !important; }
html body#page-top#page-top #content#content .maintenance-workspace-page #fullcalendar .fc-button-primary:focus-visible { outline: 2px solid #1684b1 !important; outline-offset: 2px; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .schedule-modal .content .wrapper .key { color: #50697c !important; }
html[data-theme="light"] body#page-top#page-top #content#content .maintenance-workspace-page .schedule-modal .content .wrapper .value { color: #183247 !important; -webkit-text-fill-color: #183247 !important; }

/* Login uses the same preference before and after authentication. */
html[data-theme="light"] .login-page .neon-login-shell { background: #f1f5f8 !important; }
html[data-theme="light"] .login-page .neon-login-card { background: #fff; border-color: #c8d5df; box-shadow: 0 8px 32px #1832470a; }
html[data-theme="light"] .login-page :is(.login-heading-block h1,.custom-steve-logo span,.login-field-group label,.hero-copy h2,.hero-copy h2 span) { color: #183247 !important; text-shadow: none !important; }
html[data-theme="light"] .login-page :is(.login-heading-block p,.hero-copy p) { color: #50697c !important; }
html[data-theme="light"] .login-page .input-shell { background: #fff; border-color: #a8bece; box-shadow: none; }
html[data-theme="light"] .login-page .input-shell :is(input,i) { color: #183247; }
html[data-theme="light"] .login-page .input-shell input::placeholder { color: #647b8e; }
html[data-theme="light"] .login-page .forgot-link { color: #116a99; }
html[data-theme="light"] .login-page .hero-features { color: #183247; }
html[data-theme="light"] .login-page .hero-features strong { color: #183247; }
html[data-theme="light"] .login-page .hero-features small { color: #50697c; }
html[data-theme="light"] .login-page .custom-steve-logo::before { display: none; }
@media (max-width: 991px) {
    html[data-theme="light"] .login-page .neon-login-card { background: transparent; border: 0; box-shadow: none; }
}

html[data-theme="light"] :is(.ai-insights, .ai-floating-widget) { --ai-text: #183247; --ai-muted: #50697c; --ai-line: #c8d5df; color: #183247; }
html[data-theme="light"] :is(.ai-floating-widget, .ai-floating-widget__header, .ai-insights__search, .ai-insights__form, .ai-insights__response, .ai-insights__chart, .ai-insights__message, .ai-insights__table-wrap) { background: #fff !important; color: #183247 !important; border-color: #c8d5df !important; }
html[data-theme="light"] .ai-insights :is(h1,h2,h3,p,td,th,input,strong,button) { color: #183247 !important; }
html[data-theme="light"] .ai-insights :is(button,th) { background: #eaf3f8; }
html[data-theme="light"] .ai-floating-widget__header :is(strong,small,button) { color: #183247; }
html[data-theme="light"] :is(.ai-message__bubble, .ai-insights__visual-body, .ai-insights table) { background: #fff !important; color: #183247 !important; border-color: #c8d5df !important; }
html[data-theme="light"] .ai-insights :is(.ai-insights__status, .ai-insights__eyebrow, .ai-message__bubble strong) { color: #325e74 !important; }
html[data-theme="light"] .ai-insights th { background: #eaf3f8 !important; }
