/* GENERATED by scratchpad/gen_dark_mode.py from the stylesheets in this folder. Do not edit by hand:
   re-run the generator after changing any of them. Every rule that hard-codes a light background,
   a dark text colour or a light border gets the same selector under html[data-theme="dark"] with the
   colour flipped (hue kept, lightness inverted). Token-based rules flip through cmms-tokens.css. */

/* ---- app.css ---- */
html[data-theme="dark"] .boot-ring {
    border-top-color: #295260;
}
html[data-theme="dark"] .boot-progress-bar {
    background: linear-gradient(90deg, #4a90a4, #10252b, #4a90a4);
}
html[data-theme="dark"] .mgmt-page,
html[data-theme="dark"] .identity-card {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .mgmt-page h1,
html[data-theme="dark"] .identity-card h1 {
    color: #d6d6d6;
}
html[data-theme="dark"] .mgmt-note,
html[data-theme="dark"] .mgmt-hint {
    color: #c7c7c7;
}
html[data-theme="dark"] .mgmt-ok {
    color: #ade1af;
}
html[data-theme="dark"] .mgmt-table th,
html[data-theme="dark"] .mgmt-table td {
    border-bottom: 1px solid #233843;
}
html[data-theme="dark"] .mgmt-table th {
    color: #c7c7c7;
}
html[data-theme="dark"] .field-label {
    color: #c7c7c7;
}
html[data-theme="dark"] .field-input {
    border: 1px solid #2e3b4a;
}
html[data-theme="dark"] .modal {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .btn-text {
    color: #aecbd8;
}

/* ---- asset-management.css ---- */
html[data-theme="dark"] .asset-no-warranty-cell {
    background-color: #301221 !important;
}
html[data-theme="dark"] .asset-legend {
    color: var(--cmms-muted, #acb5c3);
}
html[data-theme="dark"] .asset-legend-swatch {
    background-color: #301221;
}
html[data-theme="dark"] .asset-linked-pill {
    background: #142836;
    color: #88baf2;
}
html[data-theme="dark"] .asset-downtime-pill {
    background: #352914;
    color: #ffa574;
}
html[data-theme="dark"] .asset-downtime-table thead th {
    background: #12232e;
}
html[data-theme="dark"] .asset-cost-kpi {
    border: 1px solid var(--cmms-line-soft, #233144);
    background: #172736;
}
html[data-theme="dark"] .asset-cost-kpi-label {
    color: var(--cmms-muted, #acb5c3);
}
html[data-theme="dark"] .asset-cost-kpi-value {
    color: var(--cmms-ink, #d0d8e6);
}
html[data-theme="dark"] .asset-cost-row {
    border-bottom: 1px solid var(--cmms-line-soft, #233144);
}
html[data-theme="dark"] .asset-shell-note {
    border: 1px dashed var(--cmms-line, #293747);
    background: #1a2734;
    color: var(--cmms-muted, #acb5c3);
}
html[data-theme="dark"] .asset-icon-preview {
    border: 1px solid #303b45;
    background: #1f2830;
}
html[data-theme="dark"] .cmms-asset-identity {
    background: var(--cmms-surface, #1f2830);
}
html[data-theme="dark"] .asset-identity-photo {
    border: 2px solid #303b45;
    background: #1f2830;
}
html[data-theme="dark"] .cmms-form-page .cmms-long-tabs .mud-tabs-tabbar {
    background: var(--cmms-surface, #1f2830);
}
html[data-theme="dark"] .cmms-muted {
    color: var(--cmms-muted, #acb5c3);
}

/* ---- cmms-enterprise.css ---- */
html[data-theme="dark"] .cmms-sticky-action-bar {
    background: rgba(31, 40, 48, 0.96);
}
html[data-theme="dark"] .work-summary-card.is-selected {
    background: linear-gradient(145deg, var(--summary-soft), #1f2830 82%);
}
html[data-theme="dark"] .content-wrapper input[readonly],
html[data-theme="dark"] .content-wrapper textarea[readonly],
html[data-theme="dark"] .content-wrapper .mud-input-root.mud-disabled {
    background: #1a2733;
}
html[data-theme="dark"] .content-wrapper .mud-table-head .mud-table-cell {
    background: #1a2733 !important;
}
html[data-theme="dark"] .content-wrapper .mud-table-body .mud-table-row:hover {
    background: color-mix(in srgb, var(--cmms-primary) 6%, #1f2830) !important;
}
html[data-theme="dark"] .content-wrapper .mud-table-pagination {
    background: #1a2734;
}
html[data-theme="dark"] .cmms-dashboard-welcome {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cmms-primary) 9%, #1f2830), #1f2830 66%) !important;
}
html[data-theme="dark"] .cmms-announcement-item {
    background: #1a2734;
}
html[data-theme="dark"] .cmms-filter-panel {
    background: #1a2734 !important;
}
html[data-theme="dark"] .wo-rpt-table th {
    background: #12232e;
    color: #dedede;
    border: 1px solid #254357;
}
html[data-theme="dark"] .wo-rpt-table td {
    border: 1px solid #2d3640;
}
html[data-theme="dark"] .wo-rpt-table tbody tr:nth-child(even) {
    background: #152738;
}
html[data-theme="dark"] .wo-summary-table th {
    background: #12232e;
    color: #dedede;
    border: 1px solid #254357;
}
html[data-theme="dark"] .wo-summary-table td {
    border: 1px solid #2d3640;
}
html[data-theme="dark"] .filter-chip {
    background: #152836;
    color: #88baf2;
    border: 1px solid #223e4f;
}
html[data-theme="dark"] .fdd-title-pill {
    background: #172736;
    border: 1px solid #233144;
}
html[data-theme="dark"] .fdd-title-pill__primary {
    color: #d2daef;
}
html[data-theme="dark"] .fdd-title-pill__meta {
    color: #bac4d1;
}
html[data-theme="dark"] .fdd-title-pill__rec {
    color: #c2ccdb;
}
html[data-theme="dark"] .fdd-section-label {
    color: #f088b1;
}
html[data-theme="dark"] .fdd-insight-left {
    background: linear-gradient(90deg, #371528 0%, #172736 100%);
    border: 1px solid #451e34;
}
html[data-theme="dark"] .fdd-analytics-insight {
    background: linear-gradient(145deg, #172736 0%, #172635 55%, #151d37 100%);
    border: 1px solid #233144;
}
html[data-theme="dark"] .cmms-about-version-card {
    background: #1a2734;
}
html[data-theme="dark"] .login-form-container {
    background: rgba(31, 40, 48, 0.97);
}
html[data-theme="dark"] .cmms-wordmark-text b {
    color: #b4cadf;
}
html[data-theme="dark"] .cmms-login-suite-band {
    background: linear-gradient(135deg, var(--cmms-primary-tint), #1f2830 72%);
}
html[data-theme="dark"] .cmms-layout-public-links {
    background: rgba(31, 40, 48, 0.94);
}
html[data-theme="dark"] .cmms-public-product-lockup {
    background: rgba(31, 40, 48, 0.94);
}
html[data-theme="dark"] .cmms-public-surface .license-required-container,
html[data-theme="dark"] .cmms-public-surface .license-generator-container {
    background: radial-gradient(circle at 20% 15%, rgba(74, 144, 164, 0.15), transparent 28rem),
        linear-gradient(135deg, var(--cmms-canvas), #1b282f) !important;
}
html[data-theme="dark"] .cmms-public-surface .license-required-card,
html[data-theme="dark"] .cmms-public-surface .license-generator-card,
html[data-theme="dark"] .cmms-public-surface .login-card {
    background: rgba(31, 40, 48, 0.97) !important;
}
html[data-theme="dark"] .cmms-public-page {
    background: radial-gradient(circle at 15% 8%, rgba(74, 144, 164, 0.16), transparent 25rem),
        linear-gradient(135deg, var(--cmms-canvas), #1a292f);
}
html[data-theme="dark"] .cmms-public-page-card {
    background: rgba(31, 40, 48, 0.97) !important;
}
html[data-theme="dark"] .cmms-privacy-hosting > div {
    background: #1f2830;
}
@media (min-width: 1100px) and (orientation: landscape) {
    html[data-theme="dark"] .cmms-login-page {
        background: #1f2830;
    }
    html[data-theme="dark"] .cmms-login-page .login-right-panel {
        background: #1f2830 !important;
        box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
    }
    html[data-theme="dark"] .cmms-login-page .login-form-container {
        background: #1f2830;
    }
}

/* ---- cmms-v4-map.css ---- */
html[data-theme="dark"] .app-content .um-table thead th {
    background: #172736;
}
html[data-theme="dark"] .app-content .um-table tbody tr:hover {
    background: color-mix(in srgb, var(--cmms-primary) 6%, #1f2830);
}
html[data-theme="dark"] .dash-card.cmms-dashboard-welcome {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cmms-primary) 9%, #1f2830), #1f2830 66%) !important;
}

/* ---- faq.css ---- */
html[data-theme="dark"] .faq-content-paper {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .faq-search-box {
    background: #1f2830;
}
html[data-theme="dark"] .faq-search-box .faq-search-icon {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .faq-search-box input::placeholder {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .faq-search-summary {
    color: #acb5c3;
}
html[data-theme="dark"] .faq-category-header {
    border-bottom: 2px solid #2c363f;
}
html[data-theme="dark"] .faq-category-title {
    color: #aecbd8;
}
html[data-theme="dark"] .faq-item {
    border: 1px solid #2c363f;
    background: #1e272f;
}
html[data-theme="dark"] .faq-item-header {
    color: #b9d4e0;
}
html[data-theme="dark"] .faq-item-question mark {
    background: #302b12;
}
html[data-theme="dark"] .faq-item-chevron {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .faq-item-body {
    background: #1f2830;
    color: #c7c7c7;
}
html[data-theme="dark"] .faq-nav-dot {
    background: #1f2830;
}

/* ---- fdd.css ---- */
html[data-theme="dark"] .fdd-title-pill {
    background: #172736;
    border: 1px solid #233144;
    color: #d2daef;
}
html[data-theme="dark"] .fdd-title-pill__primary {
    color: #d2daef;
}
html[data-theme="dark"] .fdd-title-pill__meta {
    color: #bac4d1;
}
html[data-theme="dark"] .fdd-title-pill__rec {
    color: #c2ccdb;
}
html[data-theme="dark"] .fdd-section-label {
    color: #f088b1;
}
html[data-theme="dark"] .fdd-table-wrap {
    border: 1px solid #2d313a;
}
html[data-theme="dark"] .fdd-pass {
    color: #ade1af !important;
}
html[data-theme="dark"] .fdd-fail {
    color: #e78888 !important;
}
html[data-theme="dark"] .fdd-insight-left {
    background: linear-gradient(90deg, #371528 0%, #172736 100%);
    border: 1px solid #451e34;
}
html[data-theme="dark"] .fdd-analytics-insight {
    background: linear-gradient(145deg, #172736 0%, #172635 55%, #151d37 100%);
    border: 1px solid #233144;
}
html[data-theme="dark"] .fdd-analytics-insight ul {
    color: #c2ccdb;
}
html[data-theme="dark"] .fdd-viz-panel {
    border: 1px solid #233144;
    background: linear-gradient(165deg, #1f2830 0%, #172736 45%, #172635 100%);
}
html[data-theme="dark"] .fdd-viz-panel__title {
    color: #acb5c3;
}
html[data-theme="dark"] .fdd-viz-panel--asset {
    background: linear-gradient(165deg, #152a37 0%, #1f2830 38%, #172736 100%);
}
html[data-theme="dark"] .fdd-viz-panel--cause {
    background: linear-gradient(165deg, #381518 0%, #1f2830 40%, #1e272f 100%);
}
html[data-theme="dark"] .fdd-viz-panel--remedy {
    background: linear-gradient(165deg, #153727 0%, #1f2830 40%, #172736 100%);
}
html[data-theme="dark"] .fdd-viz-kind-head--asset .mud-icon-root {
    color: #82d4fe !important;
}
html[data-theme="dark"] .fdd-viz-kind-head--cause .mud-icon-root {
    color: #ee7a94 !important;
}
html[data-theme="dark"] .fdd-viz-kind-head--remedy .mud-icon-root {
    color: #99fcdd !important;
}
html[data-theme="dark"] .fdd-asset-card {
    background: #1f2830;
    border: 1px solid #213e4d;
}
html[data-theme="dark"] .fdd-asset-card__pin {
    color: #82d4fe;
}
html[data-theme="dark"] .fdd-remedy-card {
    background: #1f2830;
    border: 1px solid #23523c;
}
html[data-theme="dark"] .fdd-remedy-steps {
    color: #bdefd1;
}
html[data-theme="dark"] .fdd-remedy-share {
    color: #acb5c3;
    border-top: 1px dashed #1f4934;
}
html[data-theme="dark"] .fdd-dist-legend {
    border: 1px solid #233144;
    background: #1f2830;
}
html[data-theme="dark"] .fdd-dist-legend-title {
    color: #acb5c3;
}
html[data-theme="dark"] .fdd-dist-legend-chip {
    color: #c2ccdb;
}
html[data-theme="dark"] .fdd-legend-asset {
    border-color: #213e4d !important;
    background: linear-gradient(180deg,#152a37 0%,#1f2830 100%) !important;
}
html[data-theme="dark"] .fdd-legend-cause {
    border-color: #491f24 !important;
    background: linear-gradient(180deg,#381518 0%,#1f2830 100%) !important;
}
html[data-theme="dark"] .fdd-legend-remedy {
    border-color: #23523c !important;
    background: linear-gradient(180deg,#153727 0%,#1f2830 100%) !important;
}
html[data-theme="dark"] .fdd-family-metric {
    background: linear-gradient(135deg, #371528 0%, #172736 100%);
    border: 1px solid #451e34;
}
html[data-theme="dark"] .fdd-dist-block {
    background: #1f2830;
    border: 1px solid #233144;
}
html[data-theme="dark"] .fdd-dist-label {
    color: #d2daef;
}
html[data-theme="dark"] .fdd-dist-badge {
    background: #172635;
    color: #c2ccdb;
}
html[data-theme="dark"] .fdd-dist-bar-wrap {
    background: #18222f;
}
html[data-theme="dark"] .fdd-dist-meta {
    color: #acb5c3;
}
html[data-theme="dark"] .fdd-fault-line {
    color: #cdd6e5;
}
html[data-theme="dark"] .fdd-fault-line:hover {
    background: #172635;
    border-color: #293747;
}
html[data-theme="dark"] .fdd-fault-line:active {
    background: #18222f;
}
html[data-theme="dark"] .fdd-fault-line--on {
    background: #142836;
    border-color: #28455d;
}

/* ---- login-split.css ---- */
html[data-theme="dark"] .login-footer {
    border-top: 1px solid var(--cmms-line-soft, #233241);
}
html[data-theme="dark"] .login-footer-right {
    color: #bfbfbf;
}
html[data-theme="dark"] .login-ai-open {
    border: 1px solid rgba(36, 64, 84, 0.90);
}
html[data-theme="dark"] .cmms-login-page .cmms-login-footer-links {
    border-top: 1px solid var(--cmms-line-soft, #233241);
}
html[data-theme="dark"] .outlined-input {
    background: #1f2830 !important;
    color: rgba(237, 237, 237, 0.87);
}
html[data-theme="dark"] .outlined-label {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .outlined-field:focus-within .outlined-label,
html[data-theme="dark"] .outlined-field.has-value .outlined-label {
    color: #aecbd8;
    background: #1f2830;
}
html[data-theme="dark"] .password-toggle {
    color: #aecbd8;
}
html[data-theme="dark"] .password-toggle:hover {
    color: #b9d4e0;
}
html[data-theme="dark"] .login-alert-error {
    background: #361515;
    color: #eb9a9a;
    border: 1px solid #4e2121;
}
html[data-theme="dark"] .login-alert-success {
    background: #1a2f1c;
    color: #bce9bf;
    border: 1px solid #284a2c;
}
html[data-theme="dark"] .login-alert-info {
    background: #152836;
    color: #b0e6fe;
    border: 1px solid #213b4d;
}
@media (min-width: 1100px) {
    html[data-theme="dark"] .cmms-login-page.login-split-container {
        background: #1f2830;
    }
    html[data-theme="dark"] .cmms-login-page .login-right-panel {
        background: #1f2830 !important;
        box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
    }
    html[data-theme="dark"] .cmms-login-page .login-form-container {
        background: #1f2830;
    }
}

/* ---- pm.css ---- */
html[data-theme="dark"] .pm-linked-parent {
    background: #172736;
}
html[data-theme="dark"] .pm-schedule-date {
    border: 1px solid #303b45;
}
html[data-theme="dark"] .pm-assign-select {
    border: 1px solid #303b45;
    background-color: #333313;
}

/* ---- public-pages.css ---- */
html[data-theme="dark"] .cmms-public-footer-link {
    color: #b9d4e0 !important;
}
html[data-theme="dark"] .cmms-public-footer-link:hover {
    color: #aecbd8 !important;
}
html[data-theme="dark"] .cmms-layout-public-links {
    background: rgba(31, 40, 48, 0.94);
}
html[data-theme="dark"] .cmms-public-product-lockup {
    background: rgba(31, 40, 48, 0.94);
}
html[data-theme="dark"] .cmms-public-page {
    background: radial-gradient(circle at 15% 8%, rgba(74, 144, 164, 0.16), transparent 25rem),
        linear-gradient(135deg, #1b2431, #1a292f);
}
html[data-theme="dark"] .cmms-public-page-card {
    background: rgba(31, 40, 48, 0.97);
}
html[data-theme="dark"] .cmms-public-page-header {
    border-bottom: 1px solid #233241;
}
html[data-theme="dark"] .cmms-public-page-heading h1 {
    color: #d3dbe6;
}
html[data-theme="dark"] .cmms-public-page-heading p {
    color: #b4bcc6;
}
html[data-theme="dark"] .cmms-public-page-icon,
html[data-theme="dark"] .cmms-contact-row-icon {
    color: #b9d4e0;
    background: #182b32;
}
html[data-theme="dark"] .cmms-public-alert {
    border: 1px solid #21394d;
    background: #152836;
    color: #b6d5e9;
}
html[data-theme="dark"] .cmms-privacy-content section {
    border: 1px solid #233241;
    background: #1c2a31;
}
html[data-theme="dark"] .cmms-privacy-content h2 {
    color: #b9d4e0;
}
html[data-theme="dark"] .cmms-privacy-content h3 {
    color: #b9d4e0;
}
html[data-theme="dark"] .cmms-privacy-content p,
html[data-theme="dark"] .cmms-privacy-content li,
html[data-theme="dark"] .cmms-contact-intro {
    color: #c9d2dc;
}
html[data-theme="dark"] .cmms-privacy-content a {
    color: #aecbd8;
}
html[data-theme="dark"] .cmms-privacy-hosting > div {
    border: 1px solid #233241;
    background: #1f2830;
}
html[data-theme="dark"] .cmms-contact-row {
    border: 1px solid #233241;
    background: #1c2a31;
}
html[data-theme="dark"] .cmms-contact-row strong,
html[data-theme="dark"] .cmms-contact-email-list a {
    color: #b9d4e0;
}
html[data-theme="dark"] .cmms-contact-company-footer {
    border-top: 1px solid #233241;
}
html[data-theme="dark"] .cmms-contact-company-footer strong {
    color: #b9d4e0;
}
html[data-theme="dark"] .cmms-btn-outlined {
    color: #b9d4e0;
    background: #1f2830;
    border: 1px solid #2e3b4a;
}
html[data-theme="dark"] .cmms-btn-outlined:hover {
    color: #aecbd8;
}
html[data-theme="dark"] .cmms-about-header {
    border-bottom: 1px solid #233241;
}
html[data-theme="dark"] .cmms-about-product-copy {
    border-left: 1px solid #263946;
}
html[data-theme="dark"] .cmms-about-product-copy span {
    color: #aecbd8;
}
html[data-theme="dark"] .cmms-about-product-copy strong {
    color: #b4bcc6;
}
html[data-theme="dark"] .cmms-about-description {
    color: #c9d2dc;
}
html[data-theme="dark"] .cmms-about-version-card {
    border: 1px solid #263946;
    background: #1a2734;
}
html[data-theme="dark"] .cmms-about-version-grid > div + div {
    border-left: 1px solid #233241;
}
html[data-theme="dark"] .cmms-about-version-grid span {
    color: #b4bcc6;
}
html[data-theme="dark"] .cmms-about-version-grid strong {
    color: #d3dbe6;
}
html[data-theme="dark"] .cmms-about-footer {
    border-top: 1px solid #233241;
}
html[data-theme="dark"] .cmms-about-suite span {
    color: #b4bcc6;
}
html[data-theme="dark"] .cmms-about-company strong {
    color: #b9d4e0;
}
@media (max-width: 720px) {
    html[data-theme="dark"] .cmms-about-product-copy {
        border-top: 1px solid #263946;
    }
    html[data-theme="dark"] .cmms-about-version-grid > div + div {
        border-top: 1px solid #233241;
    }
}

/* ---- service-request.css ---- */
html[data-theme="dark"] .sr-card {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sr-card-title {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-welcome-title {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-welcome-subtitle {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-stat-box {
    background: #20272d;
    border: 1px solid #2b333b;
}
html[data-theme="dark"] .sr-stat-number {
    color: var(--cmms-primary, #b9cee9);
}
html[data-theme="dark"] .sr-stat-label {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-access-item {
    background: #20272d;
}
html[data-theme="dark"] .sr-access-label {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-access-item strong {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-btn-admin {
    color: var(--cmms-primary, #b9cee9);
}
html[data-theme="dark"] .sr-form-heading {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-text-muted {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-status-tab {
    border: 1px solid #293646;
    background: #20272d;
    color: #b9cee9;
}
html[data-theme="dark"] .sr-status-tab:hover {
    background: #162535;
}
html[data-theme="dark"] .sr-mobile-date-range label {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-column-filter-row th {
    background: #1b2630;
    border-bottom: 1px solid #2e353c;
}
html[data-theme="dark"] .sr-column-filter-input {
    border: 1px solid #293646;
    color: #d6d6d6;
    background: #1f2830;
}
html[data-theme="dark"] .sr-table thead {
    background: #20272d;
    border-bottom: 2px solid #2e353c;
}
html[data-theme="dark"] .sr-table th {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-table td {
    border-bottom: 1px solid #2e353c;
    color: #c7c7c7;
}
html[data-theme="dark"] .sr-line-secondary {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-no-results {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-no-results-cell {
    color: #bfbfbf;
    background: #1f2830;
}
html[data-theme="dark"] .sr-status-badge {
    background-color: #0e1216;
}
html[data-theme="dark"] .sr-status-new {
    background-color: #0a171b;
}
html[data-theme="dark"] .sr-status-to-do {
    background-color: #190b1d;
}
html[data-theme="dark"] .sr-status-in-progress {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-status-on-hold {
    background-color: #24130e;
}
html[data-theme="dark"] .sr-status-cancelled {
    background-color: #241b0e;
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-approved-waiting {
    background-color: #192633;
    color: #b0bac5;
    border: 1px solid #2a3747;
}
html[data-theme="dark"] .sr-approved-meta {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-page-btn {
    border: 1px solid #293646;
    background: #20272d;
    color: #b9cee9;
}
html[data-theme="dark"] .sr-page-btn:hover:not(:disabled) {
    background: #162535;
}
html[data-theme="dark"] .sr-page-info {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-export-field label {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-form-control {
    border: 1px solid #2e353c;
}
html[data-theme="dark"] .sr-form-text {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-mobile-card {
    background: #1f2830;
    border: 1px solid #2e353c;
}
html[data-theme="dark"] .sr-mobile-card-header {
    border-bottom: 1px solid #2b333b;
}
html[data-theme="dark"] .sr-mobile-card-id {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-mobile-label {
    color: #bfbfbf;
}
html[data-theme="dark"] .sr-mobile-value {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-mobile-card-footer {
    border-top: 1px solid #2b333b;
}
html[data-theme="dark"] .sr-form-header h2 {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-status-indicator-closed {
    background-color: #1c0b0c;
}
html[data-theme="dark"] .sr-status-indicator-in-progress {
    background-color: #1b170a;
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-form {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sr-form-loading {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-form-section {
    background: #1f2830;
    border: 1px solid #2c363f;
}
html[data-theme="dark"] .sr-section-title {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-form-group label,
html[data-theme="dark"] .sr-field-label {
    color: #c7c7c7;
}
html[data-theme="dark"] .sr-form .sr-form-control {
    border: 1px solid #2e353c;
    background: #1f2830;
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-form .sr-form-control:disabled,
html[data-theme="dark"] .sr-form .sr-form-control[readonly] {
    background-color: #1e262e;
}
html[data-theme="dark"] .sr-form .sr-form-control.sr-input-error {
    border-color: #6a2d33 !important;
}
html[data-theme="dark"] .sr-form-note {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-building-picker .sr-form-control {
    background: #1f2830 !important;
}
html[data-theme="dark"] .sr-btn-pick-secondary {
    background: #1f2830;
    color: #b9cee9;
}
html[data-theme="dark"] .sr-btn-remove-item {
    background: #1c0b0c;
}
html[data-theme="dark"] .sr-detail-row {
    background: #20272d;
}
html[data-theme="dark"] .sr-file-list-title {
    color: #97e6a9;
}
html[data-theme="dark"] .sr-file-table th {
    border-bottom: 1px solid #2e353c;
    color: #c7c7c7;
}
html[data-theme="dark"] .sr-file-table td {
    border-bottom: 1px solid #293139;
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-file-pending {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-btn-link {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-signature-area {
    border: 2px dashed #2e353c;
    background: #20272d;
}
html[data-theme="dark"] .sr-signature-text {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-signature-link {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-signature-pending-badge {
    color: #fce5a0;
    background: #332c13;
    border: 1px solid #6c5c2e;
}
html[data-theme="dark"] .sr-serviced-by-names-container {
    border: 1px solid #2e353c;
    background: #1d2731;
}
html[data-theme="dark"] .sr-serviced-by-chip {
    background: linear-gradient(135deg, #152136 0%, #142234 100%);
    border: 1px solid #22374f;
    color: #bad2eb;
}
html[data-theme="dark"] .sr-chip-remove:hover {
    background: #1d0b0b;
}
html[data-theme="dark"] .sr-assign-search {
    border: 1px solid #2e353c;
}
html[data-theme="dark"] .sr-serviced-by-search-results {
    border: 1px solid #2d3239;
    background: #1f2830;
}
html[data-theme="dark"] .sr-serviced-by-search-empty {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-serviced-by-search-item {
    border-bottom: 1px solid #283139;
}
html[data-theme="dark"] .sr-serviced-by-search-item:hover {
    background: #182633;
}
html[data-theme="dark"] .sr-serviced-by-search-item.selected {
    background: linear-gradient(135deg, #152136 0%, #142234 100%);
}
html[data-theme="dark"] .sr-serviced-by-search-check {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-serviced-by-search-info strong {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-assign-selected label {
    color: #c4c9ce;
}
html[data-theme="dark"] .sr-dialog-text {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-closed-warning {
    background-color: #332c13;
    border: 1px solid #6c5c2e;
    color: #fce5a0;
}
html[data-theme="dark"] .sr-form-actions {
    border-top: 1px solid #2b333b;
}
html[data-theme="dark"] .sr-btn-review-close {
    background: #1c130b;
}
html[data-theme="dark"] .sr-btn-lg.sr-btn-export-pdf {
    background: #100a1a;
}
html[data-theme="dark"] .sr-btn-spinner {
    border-top-color: #262e36;
}
html[data-theme="dark"] .sr-submission-spinner {
    border-top-color: #262e36;
}
html[data-theme="dark"] .sr-sign-container {
    background: linear-gradient(135deg, #1a2433 0%, #151d2b 100%);
}
html[data-theme="dark"] .sr-sign-card {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sr-sign-message {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-sign-header {
    background: linear-gradient(135deg, #20272d 0%, #1f242a 100%);
    border-bottom: 1px solid #2e353c;
}
html[data-theme="dark"] .sr-sign-report-title {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-sign-report-subtitle {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-sign-form .sr-form-group label {
    color: #d6d6d6;
}
html[data-theme="dark"] .sr-sign-form .sr-form-control {
    border: 2px solid #2c363f;
}
html[data-theme="dark"] .sr-sign-form .sr-form-control.sr-input-error {
    border-color: #6a2d33;
}
html[data-theme="dark"] .sr-sign-pad {
    background: #20272d;
}
html[data-theme="dark"] .sr-sign-pad-error {
    border-color: #6a2d33;
    background: #381515;
}
html[data-theme="dark"] .sr-sign-state-icon-error {
    background: linear-gradient(135deg, #1c0b0c 0%, #c82333 100%);
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sr-sign-state-title {
    color: #b9cee9;
}
html[data-theme="dark"] .sr-sign-state-message-success {
    color: #a4eecc;
}
html[data-theme="dark"] .sr-sign-state-detail {
    color: #b4b9be;
}
html[data-theme="dark"] .sr-sending-note {
    color: #c4c9ce;
}
html[data-theme="dark"] .sr-btn-download-pdf {
    background: #1f2830;
    color: #b9cee9;
}

/* ---- stock-inventory.css ---- */
html[data-theme="dark"] .si-dash-welcome-paper,
html[data-theme="dark"] .si-dash-access-paper {
    background: #1f2830;
}
html[data-theme="dark"] .si-dash-welcome-title {
    color: #c2d7e8;
}
html[data-theme="dark"] .si-dash-welcome-email {
    color: #afbcc8;
}
html[data-theme="dark"] .si-dash-access-title {
    color: #d6d6d6;
}
html[data-theme="dark"] .si-dash-access-label {
    color: #bfbfbf;
}
html[data-theme="dark"] .si-dash-access-value {
    color: #d6d6d6;
}
html[data-theme="dark"] .si-dash-tile {
    border: 1px solid #283441;
}
html[data-theme="dark"] .si-dash-tile-label {
    color: #afbcc8;
}
html[data-theme="dark"] .si-dash-tile-value {
    color: #aecbd8;
}
html[data-theme="dark"] .sim-stock-paper {
    background: linear-gradient(180deg, #1d3131 0%, #1f2830 48%);
}
html[data-theme="dark"] .sim-stock-toolbar-row {
    background: linear-gradient(180deg, #163838 0%, #1f2830 100%);
}
html[data-theme="dark"] .sim-stock-table.mud-table-root {
    background: #1f2830;
}
html[data-theme="dark"] .sim-stock-table .mud-table-head {
    background: linear-gradient(180deg, #1c2f2f 0%, #1b2c2c 100%);
}
html[data-theme="dark"] .sim-stock-table .mud-table-head .mud-table-cell {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-table .mud-table-head .mud-icon-button {
    color: #badee0 !important;
}
html[data-theme="dark"] .sim-stock-desc-text {
    color: #d1dadf;
}
html[data-theme="dark"] .sim-stock-family-pill {
    color: #c4e7ea;
}
html[data-theme="dark"] .sim-stock-num-pill {
    background: linear-gradient(180deg, #153138 0%, #192e30 100%);
    color: #c4e7ea;
}
html[data-theme="dark"] .sim-stock-num-pill--low {
    background: linear-gradient(180deg, #362e14 0%, #2a2310 100%);
    color: #ffa574;
}
html[data-theme="dark"] .sim-stock-num-pill--out {
    background: linear-gradient(180deg, #37151a 0%, #331317 100%);
    color: #ee8e8e;
}
html[data-theme="dark"] .sim-stock-num-pill--ok {
    background: linear-gradient(180deg, #163318 0%, #142d15 100%);
    color: #b9ebbd;
}
html[data-theme="dark"] .sim-stock-thresh-pill {
    background: #1f282d;
    color: #b3c3cb;
}
html[data-theme="dark"] .sim-stock-cost {
    color: #ade1af;
}
html[data-theme="dark"] .sim-stock-td-supplier {
    color: #c6d2d8;
}
html[data-theme="dark"] .sim-stock-table .mud-table-pagination-toolbar {
    background: #1d3131;
}
html[data-theme="dark"] .sim-inventory-tabs,
html[data-theme="dark"] .sim-part-tabs {
    background: #1f2830;
}
html[data-theme="dark"] .sim-inventory-tabs .mud-tabs-tabbar,
html[data-theme="dark"] .sim-part-tabs .mud-tabs-tabbar {
    background: linear-gradient(180deg, #163137 0%, #1c2f2f 100%);
}
html[data-theme="dark"] .sim-inventory-tabs .mud-tab.mud-tab-active,
html[data-theme="dark"] .sim-part-tabs .mud-tab.mud-tab-active {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-inventory-tab-panel,
html[data-theme="dark"] .sim-part-tab-panel {
    background: #1f2830;
}
html[data-theme="dark"] .sim-part-empty {
    background: linear-gradient(180deg, #1d3131 0%, #1e2a2d 100%);
}
html[data-theme="dark"] .sim-part-footer {
    background: linear-gradient(180deg, #1d3131 0%, #1d3030 100%);
}
html[data-theme="dark"] .sim-coming-soon {
    color: #b3c3cb;
}
html[data-theme="dark"] .sim-part-section {
    background: #1f2830;
}
html[data-theme="dark"] .sim-part-section-head {
    background: linear-gradient(180deg, #1c2f2f 0%, #1b2c2c 100%);
    color: #c4e7ea;
}
html[data-theme="dark"] .sim-stock-in-sub {
    color: #bdcbd1 !important;
}
html[data-theme="dark"] .sim-stock-in-stepper-kicker {
    color: #abbdc5 !important;
}
html[data-theme="dark"] .sim-stock-in-stepper-wrap {
    background: linear-gradient(165deg, #1f2830 0%, #153338 42%, #192f32 100%);
}
html[data-theme="dark"] .sim-stock-in-step-circle {
    background: #1f2830;
    color: #b3c3cb;
}
html[data-theme="dark"] .sim-stock-in-step--current .sim-stock-in-step-glyph {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-in-step--next-available .sim-stock-in-step-glyph {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-in-step--current .sim-stock-in-step-circle {
    color: #c4e7ea;
    background: linear-gradient(180deg, #153838 0%, #163032 100%);
}
html[data-theme="dark"] .sim-stock-in-step--current .sim-stock-in-step-label {
    color: #badee0;
}
html[data-theme="dark"] .sim-stock-in-step--done .sim-stock-in-step-label {
    color: #ade1af;
}
html[data-theme="dark"] .sim-stock-in-step--completed-focus .sim-stock-in-step-label {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-in-wizard-form--readonly {
    background: linear-gradient(180deg, #1f2f2f 0%, #163137 100%) !important;
}
html[data-theme="dark"] .sim-stock-in-signoff-summary {
    background: linear-gradient(180deg, #1d3131 0%, #1f2830 100%) !important;
}
html[data-theme="dark"] .sim-stock-in-signoff-summary-table .sim-stock-in-signoff-summary-k {
    color: #b3c3cb;
}
html[data-theme="dark"] .sim-stock-in-teal-em {
    color: #badee0 !important;
}
html[data-theme="dark"] .sim-stock-in-signature-readonly {
    background: #1f2830;
}
html[data-theme="dark"] .sim-stock-in-step--locked .sim-stock-in-step-circle {
    background: #1f262a;
    border-color: #2f3c41;
}
html[data-theme="dark"] .sim-stock-in-step--next-available .sim-stock-in-step-circle {
    background: linear-gradient(180deg, #1f2830 0%, #183434 100%);
    color: #c4e7ea;
}
html[data-theme="dark"] .sim-stock-in-step--next-available .sim-stock-in-step-label {
    color: #badee0;
}
html[data-theme="dark"] .sim-stock-in-card {
    background: linear-gradient(180deg, #1f2830 0%, #1d3131 100%);
}
html[data-theme="dark"] .sim-stock-in-title {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-in-card-heading {
    color: #c4e7ea !important;
}
html[data-theme="dark"] .sim-stock-in-card-icon {
    color: #badee0 !important;
}
html[data-theme="dark"] .sim-stock-in-field .mud-input-adornment .mud-icon-root {
    color: #badee0 !important;
}
html[data-theme="dark"] .sim-stock-in-wizard-form {
    background: #1f2830;
}
html[data-theme="dark"] .sim-srr-editor-scroll {
    background: #1f2830;
}
html[data-theme="dark"] .sim-srr-editor-table thead th {
    background: #1c2f2f;
    color: #c4e7ea;
}
html[data-theme="dark"] .sim-stock-receiving-report {
    background: #1f2830;
    color: #ededed;
    border: 1px solid #3a4653;
}
html[data-theme="dark"] .sim-srr-store-mark {
    color: #e1e1e1;
}
html[data-theme="dark"] .sim-srr-right-meta th {
    background: #1e262f;
}
html[data-theme="dark"] .sim-srr-service-label {
    color: #c6d2d8;
}
html[data-theme="dark"] .sim-srr-service-val {
    color: #d1dadf;
}
html[data-theme="dark"] .sim-srr-main-table th {
    background: #1c242c;
}
html[data-theme="dark"] .sim-srr-main-table tbody td {
    background-color: #1f2830;
}
html[data-theme="dark"] .sim-stock-out-edit-line {
    background: linear-gradient(180deg, #1f2f2f 0%, #1f2830 100%);
}
html[data-theme="dark"] .sim-public-stock-out.login-split-container .login-right-panel {
    background: #1f2d2d !important;
}
html[data-theme="dark"] .sim-public-so-sign-page .login-footer.sim-public-so-sign-footer {
    border-top: 1px solid #2c363f;
}
html[data-theme="dark"] .sim-warehouse-so-record .sim-warehouse-so-line-card {
    background: linear-gradient(180deg, rgba(44, 95, 98, 0.03) 0%, #1f2830 100%);
}
html[data-theme="dark"] .sim-warehouse-so-record .sim-warehouse-so-line-label {
    color: #c5e5e7;
}
html[data-theme="dark"] .sim-report-print .rpt-meta-table td {
    border: 1px solid #303b45;
}
html[data-theme="dark"] .sim-report-print .rpt-meta-label {
    color: #d6d6d6;
    background: #1e262e;
}
html[data-theme="dark"] .sim-report-print .wo-rpt-table th {
    background: #12232e;
    color: #dedede;
    border: 1px solid #254357;
}
html[data-theme="dark"] .sim-report-print .wo-rpt-table td {
    border: 1px solid #2d3640;
}
html[data-theme="dark"] .sim-report-print .wo-rpt-table tbody tr:nth-child(even) {
    background: #152738;
}
html[data-theme="dark"] .sim-report-print .wo-rpt-table tbody tr:hover {
    background: #152836;
}
html[data-theme="dark"] .sim-report-print .totals-row {
    background: #11272e !important;
}
html[data-theme="dark"] .sim-report-print .totals-row td {
    border: 1px solid #254357;
}
html[data-theme="dark"] .smv-sheet-wrap {
    border: 1px solid #333e4a;
    background: #1f2830;
}
html[data-theme="dark"] .smv-sheet thead th {
    background: #131d33;
    color: #ededed;
    border: 1px solid #384450;
}
html[data-theme="dark"] .smv-sheet tbody td {
    border: 1px solid #2e3943;
}
html[data-theme="dark"] .smv-sheet tbody tr.smv-group-start:first-child td {
    border-top: 1px solid #2e3943;
}
html[data-theme="dark"] .smv-sheet .smv-item-code {
    color: #ededed;
}
html[data-theme="dark"] .smv-sheet td.smv-qty-out {
    color: #ededed;
}
html[data-theme="dark"] .smv-title-bar h2 {
    color: #ededed;
}

/* ---- system-modules.css ---- */
html[data-theme="dark"] .map-panel-divider {
    background: linear-gradient(90deg, transparent, #19202b, transparent);
}
html[data-theme="dark"] .map-panel-title {
    color: #cfd9e4;
}
html[data-theme="dark"] .map-panel-hint {
    color: #b2b6bf;
}
html[data-theme="dark"] .map-card {
    border: 1px solid #2d313a;
    background: linear-gradient(145deg, #1f2830 0%, #172736 100%);
}
html[data-theme="dark"] .map-card--active {
    background: linear-gradient(145deg, #152537 0%, #152336 100%);
}
html[data-theme="dark"] .map-card-name {
    color: #d5dced;
}
html[data-theme="dark"] .map-badge--default {
    background: #322c13;
    color: #f6be9d;
}
html[data-theme="dark"] .map-badge--missing {
    background: #361414;
    color: #ed9c9c;
}
html[data-theme="dark"] .map-btn-default {
    background: #1f2830;
}
html[data-theme="dark"] .usm-empty {
    border: 1px dashed #293747;
    color: #b2b6bf;
}

/* ---- toast.css ---- */
html[data-theme="dark"] .mud-snackbar-error {
    background: #1a0a0a;
}

/* ---- user-management.css ---- */
html[data-theme="dark"] .um-title {
    color: rgba(237, 237, 237, 0.87);
}
html[data-theme="dark"] .um-subtitle {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-section-title {
    color: rgba(237, 237, 237, 0.87);
}
html[data-theme="dark"] .um-section-subtitle {
    color: rgba(237, 237, 237, 0.87);
}
html[data-theme="dark"] .um-checkbox-field {
    color: rgba(237, 237, 237, 0.87);
}
html[data-theme="dark"] .um-btn-text {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-btn-danger {
    background: #1f0d0c;
}
html[data-theme="dark"] .um-progress {
    background: #182b32;
}
html[data-theme="dark"] .um-table thead th {
    background: #1a2733;
}
html[data-theme="dark"] .um-table tbody tr:nth-child(even) {
    background: #1d2731;
}
html[data-theme="dark"] .um-table tbody tr:hover {
    background: color-mix(in srgb, var(--cmms-primary) 6%, #1f2830);
}
html[data-theme="dark"] .um-icon-btn {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-icon-btn.danger {
    color: #e78888;
}
html[data-theme="dark"] .um-chip-default {
    background: #1d252d;
}
html[data-theme="dark"] .um-empty {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-pager {
    background: #1a2734;
}
html[data-theme="dark"] .um-field label {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-field input,
html[data-theme="dark"] .um-field select {
    background: #1f2830;
}
html[data-theme="dark"] .um-field input:disabled {
    background: #1e262e;
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-tabs {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .um-tab {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-tab.active {
    color: #aecbd8;
}
html[data-theme="dark"] .um-field-hint,
html[data-theme="dark"] .um-scope-note {
    color: rgba(237, 237, 237, 0.72);
}
html[data-theme="dark"] .um-dialog {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ---- wo-request-index.css ---- */
html[data-theme="dark"] .sff-form-container {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sff-form-header h2 {
    color: #c3d4ea;
}
html[data-theme="dark"] .sff-form-header p {
    color: #acb5c3;
}
html[data-theme="dark"] .sff-form-group label {
    color: #c2ccdb;
}
html[data-theme="dark"] .sff-input {
    background: #373015;
    border: 1.5px solid #605329;
}
html[data-theme="dark"] .sff-input:focus {
    border-color: #6d562f;
}
html[data-theme="dark"] .sff-btn-yellow {
    background: linear-gradient(180deg, #231e0d 0%, #1a140a 100%);
    color: #c3d4ea;
}
html[data-theme="dark"] .sff-btn-danger {
    background: #200c0c;
}
html[data-theme="dark"] .sff-btn-remove {
    background: #270f0f;
}
html[data-theme="dark"] .sff-btn-submit {
    background: linear-gradient(180deg, #0b101c 0%, #1d4ed8 100%);
}
html[data-theme="dark"] .sff-hint {
    color: #acb5c3;
}
html[data-theme="dark"] .sff-modal {
    background: #1f2830;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .sff-modal-header {
    background: linear-gradient(180deg, #231e0d 0%, #1a140a 100%);
    color: #c3d4ea;
}
html[data-theme="dark"] .sff-modal-footer {
    border-top: 1px solid #233144;
}
html[data-theme="dark"] .sff-table th,
html[data-theme="dark"] .sff-table td {
    border: 1px solid #233144;
}
html[data-theme="dark"] .sff-table th {
    background: #172736;
    color: #c2ccdb;
}

/* ---- work-order.css ---- */
html[data-theme="dark"] .chat-messages-area {
    background: #1e262e;
    border: 1px solid #2c363f;
}
html[data-theme="dark"] .chat-bubble-me {
    background: #142934;
    color: #d6d6d6;
}
html[data-theme="dark"] .chat-bubble-me .chat-name {
    color: #c7c7c7;
}
html[data-theme="dark"] .chat-bubble-me .chat-text {
    color: #d6d6d6;
}
html[data-theme="dark"] .wo-downtime-table thead tr {
    background: #12232e;
}
html[data-theme="dark"] .wo-print-section-title {
    color: #b9d4e0;
}
html[data-theme="dark"] .wo-print-meta-table td,
html[data-theme="dark"] .wo-print-table td,
html[data-theme="dark"] .wo-print-table th {
    border: 1px solid #293747;
}
html[data-theme="dark"] .wo-print-label {
    background: #172635;
}
html[data-theme="dark"] .wo-print-table th {
    background: #142836;
}
html[data-theme="dark"] .wo-print-total-row td {
    background: #152337;
}
html[data-theme="dark"] .wo-print-empty {
    color: #acb5c3;
}
html[data-theme="dark"] .wo-assignee-chip {
    background: #142836;
    color: #96bcf6;
    border: 1px solid #21394d;
}
html[data-theme="dark"] .wo-print-sig-caption {
    border-top: 1px solid #364252;
}
html[data-theme="dark"] .wo-sig-shown {
    background: #1f2830;
}
html[data-theme="dark"] .wo-sig-pad {
    background: #1f2830;
}

/* ---- work-request.css ---- */
html[data-theme="dark"] .title-list-item {
    border-bottom: 1px solid var(--cmms-line-soft, #233144);
}

/* ---- Pages/Analytics.razor <style> ---- */
html[data-theme="dark"] .rec-critical {
    border-left-color: #652f2b;
}
html[data-theme="dark"] .rec-info {
    border-left-color: #2d4f69;
}
html[data-theme="dark"] .analytics-portfolio-mix-bar {
    background: #18222f;
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .analytics-portfolio-seg-open {
    background: linear-gradient(180deg, #0c1821 0%, #1976d2 100%);
}
html[data-theme="dark"] .analytics-portfolio-seg-closed {
    background: linear-gradient(180deg, #0d1d0e 0%, #2e7d32 100%);
}
html[data-theme="dark"] .analytics-portfolio-seg-cancel {
    background: linear-gradient(180deg, #161c23 0%, #12171c 100%);
}
html[data-theme="dark"] .analytics-portfolio-mix-legend {
    color: #acb5c3;
}

/* ---- Pages/AuditTrail.razor <style> ---- */
html[data-theme="dark"] .audit-table th {
    background: #1a2733;
    color: #acb5c3;
    border-bottom: 2px solid #233144;
}
html[data-theme="dark"] .audit-table td {
    border-bottom: 1px solid #223140;
}
html[data-theme="dark"] .audit-table tbody tr:nth-child(even) {
    background: #162139;
}
html[data-theme="dark"] .audit-table tbody tr:hover {
    background: #152737;
}
html[data-theme="dark"] .audit-scroll {
    border: 1px solid #233144;
}
html[data-theme="dark"] .audit-clip--values {
    color: #acb5c3;
}
html[data-theme="dark"] .audit-chip--default {
    background: #1f262a;
    color: #c6d2d8;
}
html[data-theme="dark"] .audit-chip--primary {
    background: #142836;
    color: #88baf2;
}
html[data-theme="dark"] .audit-chip--success {
    background: #163318;
    color: #ade1af;
}
html[data-theme="dark"] .audit-chip--info {
    background: #142b35;
    color: #87d1fe;
}
html[data-theme="dark"] .audit-chip--warning {
    background: #352914;
    color: #ffb070;
}
html[data-theme="dark"] .audit-chip--error {
    background: #37151a;
    color: #e78888;
}
html[data-theme="dark"] .audit-pager__label {
    color: #acb5c3;
}
html[data-theme="dark"] .audit-pager__size {
    border: 1px solid #293747;
}
html[data-theme="dark"] .audit-empty {
    color: #acb5c3;
}

/* ---- Pages/WoSchedule.razor <style> ---- */
html[data-theme="dark"] .wo-cal-grid {
    border: 1px solid #2c363f;
    background: #1f2830;
}
html[data-theme="dark"] .wo-cal-cell {
    border-right: 1px solid #2c363f;
    border-bottom: 1px solid #2c363f;
    background: #1f2830;
}
html[data-theme="dark"] .wo-cal-other-month {
    background: #1e262e;
}
html[data-theme="dark"] .wo-cal-today {
    background: #163318 !important;
}
html[data-theme="dark"] .wo-cal-day-num {
    color: #c7c7c7;
}
html[data-theme="dark"] .wo-cal-more {
    color: #81b9f0;
}
html[data-theme="dark"] .wo-cal-more:hover {
    color: #96bcf6;
}

/* ---- Components/FddLibraryDetailDialog.razor <style> ---- */
html[data-theme="dark"] .fdd-detail-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 48%, #0b101c 100%);
    box-shadow: 0 0 0 1px var(--cmms-line), 0 6px 20px rgba(0, 0, 0, 0.45);
}

/* ---- Components/ReportPageCss.razor <style> ---- */
html[data-theme="dark"] .wo-rpt-table th {
    background: #12232e;
    color: #dedede;
    border: 1px solid #254357;
}
html[data-theme="dark"] .wo-rpt-table td {
    border: 1px solid #2d3640;
}
html[data-theme="dark"] .wo-rpt-table tbody tr:nth-child(even) {
    background: #152738;
}
html[data-theme="dark"] .wo-rpt-table tbody tr:hover {
    background: #152836;
}
html[data-theme="dark"] .wo-rpt-table th.th-todo {
    background: #1b0c1f;
}
html[data-theme="dark"] .wo-rpt-table th.th-inprog {
    background: #1b1b0a;
    color: #d6d6d6;
}
html[data-theme="dark"] .wo-rpt-table th.th-onhold {
    background: #26140e;
}
html[data-theme="dark"] .totals-row {
    background: #11272e !important;
}
html[data-theme="dark"] .totals-row td {
    border: 1px solid #254357;
}
html[data-theme="dark"] .wo-summary-table th {
    background: #12232e;
    color: #dedede;
    border: 1px solid #254357;
}
html[data-theme="dark"] .wo-summary-table td {
    border: 1px solid #2d3640;
}
html[data-theme="dark"] .rpt-meta-table td {
    border: 1px solid #303b45;
}
html[data-theme="dark"] .rpt-meta-label {
    color: #d6d6d6;
    background: #1e262e;
}
html[data-theme="dark"] .cmms-report-page .rpt-card {
    border: 1px solid #2c363f;
    background: #1f2830;
}
html[data-theme="dark"] .cmms-report-page .rpt-card:hover,
html[data-theme="dark"] .cmms-report-page .rpt-card:focus-visible {
    border-color: #2c363f !important;
}
html[data-theme="dark"] .filter-chip {
    background: #152836;
    color: #88baf2;
    border: 1px solid #223e4f;
}
html[data-theme="dark"] .staff-header-row td {
    border: 1px solid #254357;
}
html[data-theme="dark"] .staff-totals-row td {
    border: 1px solid #303b45;
}
html[data-theme="dark"] .remarks2-text {
    color: #bfbfbf;
}

