/*
 * OASIS Online dark theme. Loaded alongside the existing light styles.
 * Activated by oasis-theme.js: <html data-oasis-theme="dark">.
 * Change the semantic palette below to tune the entire theme.
 * Neutral surfaces sampled from the supplied Codex dark-mode screenshot;
 * OASIS blue and green remain the brand and selection accents.
 * Screen-only so printed reports and document previews retain their colors.
 */
@media screen {
  html[data-oasis-theme="dark"] {
    color-scheme: dark;
    --oasis-bg: #181818;
    --oasis-sidebar: #222222;
    --oasis-shell: #343434;
    --oasis-surface: #242424;
    --oasis-surface-raised: #363636;
    --oasis-surface-alt: #2c2c2c;
    --oasis-text: #dedede;
    --oasis-text-muted: #b4b4b4;
    --oasis-border: #474747;
    --oasis-input-border: #858585;
    --oasis-primary: #116daf;
    --oasis-primary-hover: #0e578c;
    --oasis-accent: #79c7ff;
    --oasis-accent-green: #85ddb5;
    --oasis-hover: #334957;
    --oasis-selected: #2a526f;
    --oasis-danger: #ffb4ab;
    --oasis-danger-bg: #502624;
    --oasis-warning: #f2ce79;
    --oasis-warning-bg: #45391e;
    --oasis-success-bg: #1d3c31;
    --oasis-shadow: 0 4px 16px rgb(0 0 0 / 20%);
    /* Preserve BOM business hues from ColumnDefinition.java, RowMixin.js,
       and the Orders/Payments Util.java color registries. */
    --oasis-bom-different-bg: #484219;
    --oasis-bom-different-text: #fff09a;
    --oasis-bom-blank-price-bg: #37351c;
    --oasis-bom-blank-price-text: #e9e2b0;
    --oasis-bom-error-bg: #4b2428;
    --oasis-bom-error-text: #ffb4b8;
    --oasis-bom-dispute-bg: #472a3b;
    --oasis-bom-dispute-text: #fac1dd;
    --oasis-bom-ordered-bg: #203c59;
    --oasis-bom-ordered-text: #bed6ff;
    --oasis-bom-shipped-bg: #3d3329;
    --oasis-bom-shipped-text: #e5cdb1;
    --oasis-bom-invoiced-bg: #3f3c1c;
    --oasis-bom-invoiced-text: #f1eaa0;
    --oasis-bom-customer-specific-bg: #143d42;
    --oasis-bom-customer-specific-text: #94e1e6;
    --oasis-bom-configured-text: #9abfff;
    --oasis-bom-confirmed-text: #8ad7a2;
    --oasis-bom-out-of-date-text: #ffc078;
    --oasis-bom-alternate-bg: #21372a; /* Original pale-green alternating rows. */
    /* Canvas BOM renderers read these tokens without changing saved layouts. */
    --oasis-bom-background-white: var(--oasis-surface);
    --oasis-bom-background-fff: var(--oasis-surface);
    --oasis-bom-background-ffffff: var(--oasis-surface);
    --oasis-bom-background-rgb255255255: var(--oasis-surface);
    --oasis-bom-background-eeffee: var(--oasis-bom-alternate-bg);
    --oasis-bom-background-f4f4f4: var(--oasis-surface-alt);
    --oasis-bom-background-c0c0c0: var(--oasis-surface-raised);
    --oasis-bom-background-dcdcdc: var(--oasis-surface-alt);
    --oasis-bom-background-e8e8e8: var(--oasis-surface-alt);
    --oasis-bom-background-e9e9e9: var(--oasis-surface-alt);
    --oasis-bom-background-yellow: var(--oasis-bom-different-bg);
    --oasis-bom-background-ffff00: var(--oasis-bom-different-bg);
    --oasis-bom-background-rgb2552550: var(--oasis-bom-different-bg);
    --oasis-bom-background-fffba6: var(--oasis-bom-blank-price-bg);
    --oasis-bom-background-rgb255251166: var(--oasis-bom-blank-price-bg);
    --oasis-bom-background-ffffaa: var(--oasis-bom-blank-price-bg);
    --oasis-bom-background-rgb255255170: var(--oasis-bom-blank-price-bg);
    --oasis-bom-background-red: var(--oasis-bom-error-bg);
    --oasis-bom-background-ff0000: var(--oasis-bom-error-bg);
    --oasis-bom-background-rgb25500: var(--oasis-bom-error-bg);
    --oasis-bom-background-ffc4c4: var(--oasis-bom-error-bg);
    --oasis-bom-background-rgb255196196: var(--oasis-bom-error-bg);
    --oasis-bom-background-pink: var(--oasis-bom-dispute-bg);
    --oasis-bom-background-ffc0cb: var(--oasis-bom-dispute-bg);
    --oasis-bom-background-rgb255192203: var(--oasis-bom-dispute-bg);
    --oasis-bom-background-bed6ff: var(--oasis-bom-ordered-bg);
    --oasis-bom-background-rgb190214255: var(--oasis-bom-ordered-bg);
    --oasis-bom-background-c0a788: var(--oasis-bom-shipped-bg);
    --oasis-bom-background-rgb192167136: var(--oasis-bom-shipped-bg);
    --oasis-bom-background-dfceb9: var(--oasis-bom-shipped-bg);
    --oasis-bom-background-rgb223206185: var(--oasis-bom-shipped-bg);
    --oasis-bom-background-f6ef78: var(--oasis-bom-invoiced-bg);
    --oasis-bom-background-rgb246239120: var(--oasis-bom-invoiced-bg);
    --oasis-bom-background-fef19a: var(--oasis-bom-invoiced-bg);
    --oasis-bom-background-rgb254241154: var(--oasis-bom-invoiced-bg);
    --oasis-bom-background-cyan: var(--oasis-bom-customer-specific-bg);
    --oasis-bom-background-00ffff: var(--oasis-bom-customer-specific-bg);
    --oasis-bom-background-rgb0255255: var(--oasis-bom-customer-specific-bg);
    --oasis-bom-foreground-red: var(--oasis-bom-error-text);
    --oasis-bom-foreground-ff0000: var(--oasis-bom-error-text);
    --oasis-bom-foreground-rgb25500: var(--oasis-bom-error-text);
    --oasis-bom-foreground-blue: var(--oasis-bom-configured-text);
    --oasis-bom-foreground-0000ff: var(--oasis-bom-configured-text);
    --oasis-bom-foreground-rgb00255: var(--oasis-bom-configured-text);
    --oasis-bom-foreground-1c9340: var(--oasis-bom-confirmed-text);
    --oasis-bom-foreground-rgb2814764: var(--oasis-bom-confirmed-text);
    --oasis-bom-foreground-008000: var(--oasis-bom-confirmed-text);
    --oasis-bom-foreground-rgb01280: var(--oasis-bom-confirmed-text);
    --oasis-bom-foreground-green: var(--oasis-bom-confirmed-text);
    --oasis-bom-foreground-orange: var(--oasis-bom-out-of-date-text);
    --oasis-bom-foreground-ffa500: var(--oasis-bom-out-of-date-text);
    --oasis-bom-foreground-rgb2551650: var(--oasis-bom-out-of-date-text);
    --oasis-bom-foreground-pink: var(--oasis-bom-dispute-text);
    --oasis-bom-foreground-ffc0cb: var(--oasis-bom-dispute-text);
    --oasis-bom-foreground-rgb255192203: var(--oasis-bom-dispute-text);
    --oasis-bom-foreground-black: var(--oasis-text);
    --oasis-bom-foreground-000000: var(--oasis-text);
    --oasis-bom-foreground-000: var(--oasis-text);
    --oasis-bom-foreground-rgb000: var(--oasis-text);
    --oasis-bom-border-white: var(--oasis-border);
    --oasis-bom-border-ffffff: var(--oasis-border);
    --oasis-bom-border-f4f4f4: var(--oasis-border);
    --oasis-bom-border-000000: var(--oasis-border);
    --oasis-bom-border-69c2ff: var(--oasis-accent);
    background: var(--oasis-bg);
    color: var(--oasis-text);
    scrollbar-color: var(--oasis-input-border) var(--oasis-bg);
  }


  /* Platform palette aliases: keep component defaults in their source files. */
  /* OASIS_Web3/css/calendar-vue.css */
  html[data-oasis-theme="dark"] .online-calendar {
    --calendar-primary: var(--oasis-primary);
    --calendar-primary-dark: var(--oasis-primary-hover);
    --calendar-text: var(--oasis-text);
    --calendar-muted: var(--oasis-text-muted);
    --calendar-border: var(--oasis-border);
    --calendar-hover: var(--oasis-hover);
  }

  /* OASIS_Web3/css/reassign-sales-dialog.css */
  html[data-oasis-theme="dark"] .reassign-sales-popup {
    --reassign-primary: var(--oasis-primary);
    --reassign-primary-dark: var(--oasis-primary-hover);
    --reassign-primary-hover: var(--oasis-hover);
    --reassign-text: var(--oasis-text);
    --reassign-text-secondary: var(--oasis-text-muted);
    --reassign-border: var(--oasis-border);
    --reassign-divider: var(--oasis-border);
    --reassign-error: var(--oasis-danger);
    --reassign-error-bg: var(--oasis-danger-bg);
  }

  /* OASIS_Web3/css/send-message.css */
  html[data-oasis-theme="dark"] .SendMessage_app,
  html[data-oasis-theme="dark"] .SendMessage_dialog-backdrop {
    --sm-primary-dark: var(--oasis-primary-hover);
    --sm-primary: var(--oasis-primary);
    --sm-hover: var(--oasis-hover);
    --sm-selected: var(--oasis-selected);
    --sm-text: var(--oasis-text);
    --sm-secondary: var(--oasis-text-muted);
    --sm-placeholder: var(--oasis-text-muted);
    --sm-muted: var(--oasis-text-muted);
    --sm-divider: var(--oasis-border);
    --sm-surface: var(--oasis-surface);
    --sm-page: var(--oasis-bg);
    --sm-panel: var(--oasis-surface);
  }

  /* OASIS_Web3/src/ingen/oasis/addons/av/avalara-integration.css */
  html[data-oasis-theme="dark"] .qbo-authorization,
  html[data-oasis-theme="dark"] .qbo-customerLinkDialog_backdrop {
    --qbo-bg: var(--oasis-bg);
    --qbo-surface: var(--oasis-surface);
    --qbo-surface-muted: var(--oasis-surface-alt);
    --qbo-border: var(--oasis-border);
    --qbo-border-strong: var(--oasis-input-border);
    --qbo-modal-border: var(--oasis-border);
    --qbo-input-border: var(--oasis-input-border);
    --qbo-text: var(--oasis-text);
    --qbo-text-muted: var(--oasis-text-muted);
    --qbo-title: var(--oasis-text);
    --qbo-primary: var(--oasis-primary);
    --qbo-primary-strong: var(--oasis-primary-hover);
    --qbo-primary-soft: var(--oasis-selected);
    --qbo-focus-shadow: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/addons/qbo/qbo-integration.css */
  html[data-oasis-theme="dark"] .qbo-authorization,
  html[data-oasis-theme="dark"] .qbo-customerLinkDialog_backdrop {
    --qbo-bg: var(--oasis-bg);
    --qbo-surface: var(--oasis-surface);
    --qbo-surface-muted: var(--oasis-surface-alt);
    --qbo-border: var(--oasis-border);
    --qbo-border-strong: var(--oasis-input-border);
    --qbo-modal-border: var(--oasis-border);
    --qbo-input-border: var(--oasis-input-border);
    --qbo-text: var(--oasis-text);
    --qbo-text-muted: var(--oasis-text-muted);
    --qbo-title: var(--oasis-text);
    --qbo-primary: var(--oasis-primary);
    --qbo-primary-strong: var(--oasis-primary-hover);
    --qbo-primary-soft: var(--oasis-selected);
    --qbo-focus-shadow: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/addons/settings/online-addons.css */
  html[data-oasis-theme="dark"] .feature-settings-page {
    --feature-page: var(--oasis-bg);
    --feature-surface: var(--oasis-surface);
    --feature-surface-muted: var(--oasis-surface-alt);
    --feature-border: var(--oasis-border);
    --feature-border-subtle: var(--oasis-border);
    --feature-input-border: var(--oasis-input-border);
    --feature-text: var(--oasis-text);
    --feature-text-secondary: var(--oasis-text-muted);
    --feature-text-muted: var(--oasis-text-muted);
    --feature-primary: var(--oasis-primary);
    --feature-primary-hover: var(--oasis-primary-hover);
    --feature-primary-soft: var(--oasis-selected);
    --feature-focus-shadow: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/attachments/awi/nww/css/AttachmentsTable.css */
  html[data-oasis-theme="dark"] .attachments-workspace {
    --att-blue: var(--oasis-primary);
    --att-blue-hover: var(--oasis-primary-hover);
    --att-blue-pale: var(--oasis-selected);
    --att-blue-focus: var(--oasis-primary);
    --att-border: var(--oasis-border);
    --att-border-strong: var(--oasis-input-border);
    --att-bg: var(--oasis-bg);
    --att-text: var(--oasis-text);
    --att-muted: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/batch/awi/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/contacts/awi/nww/css/QuickAddContact.css */
  html[data-oasis-theme="dark"] .contact-quickcreate {
    --contact-quick-primary: var(--oasis-primary);
    --contact-quick-primary-dark: var(--oasis-primary-hover);
    --contact-quick-hover: var(--oasis-hover);
    --contact-quick-text: var(--oasis-text);
    --contact-quick-text-secondary: var(--oasis-text-muted);
    --contact-quick-border: var(--oasis-border);
    --contact-quick-panel-stroke: var(--oasis-border);
    --contact-quick-tool-panel: var(--oasis-surface-raised);
    --contact-quick-error: var(--oasis-danger);
    --contact-quick-error-bg: var(--oasis-danger-bg);
  }

  /* OASIS_Web3/src/ingen/oasis/customers/awi/editor/history/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
  }

  /* OASIS_Web3/src/ingen/oasis/customers/awi/editor/statistics/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --background-soft: var(--oasis-surface-alt);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
    --shadow-soft: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/global/awi/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/manufacturers/awi/editor/products/catalogs/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/manufacturers/awi/editor/statistics/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-shell: var(--oasis-surface);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --background-muted: var(--oasis-surface-alt);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --shadow-panel: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/manufacturers/awi/reports/product_sales/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
  }

  /* OASIS_Web3/src/ingen/oasis/p2p/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --background-page: var(--oasis-bg);
    --background-surface: var(--oasis-surface);
    --background-panel: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --color-primary-100: var(--oasis-selected);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-success-100: var(--oasis-success-bg);
    --color-danger-100: var(--oasis-danger-bg);
    --shadow-panel: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/pat/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-muted: var(--oasis-surface-alt);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --color-primary: var(--oasis-primary);
    --color-primary-hover: var(--oasis-primary-hover);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --shadow-panel: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/plu/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --page: var(--oasis-bg);
    --surface: var(--oasis-surface);
    --surface-soft: var(--oasis-surface-alt);
    --line: var(--oasis-border);
    --line-soft: var(--oasis-border);
    --text: var(--oasis-text);
    --muted: var(--oasis-text-muted);
    --blue: var(--oasis-primary);
    --blue-dark: var(--oasis-primary-hover);
    --blue-soft: var(--oasis-selected);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/awi/batch/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/awi/tile/scorecard/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/mosr/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/topdown/awi/invoices/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/topdown/awi/orders/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/topdown/awi/payments/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/reports/topdown/awi/quotes/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* OASIS_Web3/src/ingen/oasis/users/codex/user_groups.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --bg: var(--oasis-bg);
    --panel: var(--oasis-surface);
    --border: var(--oasis-border);
    --text: var(--oasis-text);
    --muted: var(--oasis-text-muted);
    --accent: var(--oasis-primary);
    --accent-soft: var(--oasis-selected);
    --shadow: var(--oasis-shadow);
  }

  /* OASIS_Web3/src/ingen/oasis/vue/component/address/AddressControl.css */
  html[data-oasis-theme="dark"] .address-control {
    --ac-primary: var(--oasis-primary);
    --ac-primary-dark: var(--oasis-primary-hover);
    --ac-text: var(--oasis-text);
    --ac-secondary: var(--oasis-text-muted);
    --ac-border: var(--oasis-border);
    --ac-panel-stroke: var(--oasis-border);
    --ac-hover: var(--oasis-hover);
    --ac-warning-text: var(--oasis-text);
  }

  /* OASIS_Web3/src/ingen/oasis/wf/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --bg: var(--oasis-bg);
    --panel: var(--oasis-surface);
    --panel-strong: var(--oasis-surface-raised);
    --panel-soft: var(--oasis-surface-alt);
    --border: var(--oasis-border);
    --border-soft: var(--oasis-border);
    --text: var(--oasis-text);
    --muted: var(--oasis-text-muted);
    --accent: var(--oasis-primary);
    --accent-strong: var(--oasis-primary-hover);
    --accent-soft: var(--oasis-selected);
  }

  /* Orders/css/multiple-commissioned-entry.css */
  html[data-oasis-theme="dark"] .multiple-commissioned-entry {
    --mce-primary: var(--oasis-primary);
    --mce-primary-dark: var(--oasis-primary-hover);
    --mce-hover: var(--oasis-hover);
    --mce-selection: var(--oasis-selected);
    --mce-border: var(--oasis-border);
    --mce-panel-stroke: var(--oasis-border);
    --mce-required: var(--oasis-danger);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/aged_commissions/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/aged_invoices/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/collected_tax/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/days_to_paid/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/invoiceable/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Orders/src/ingen/oasis/invoices/awi/reports/pat_aging/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --bg: var(--oasis-bg);
    --panel: var(--oasis-surface);
    --text: var(--oasis-text);
    --muted: var(--oasis-text-muted);
    --border: var(--oasis-border);
    --current-col: var(--oasis-selected);
    --current-col-border: var(--oasis-border);
  }

  /* Orders/src/ingen/oasis/orders/awi/reports/shipping_performance/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
  }

  /* Quotes/css/create-pos.css */
  html[data-oasis-theme="dark"] #quoteCreatePOs {
    --qto-primary: var(--oasis-primary);
    --qto-primary-hover: var(--oasis-primary-hover);
    --qto-text: var(--oasis-text);
    --qto-muted: var(--oasis-text-muted);
    --qto-border: var(--oasis-border);
    --qto-field-border: var(--oasis-input-border);
    --qto-surface: var(--oasis-surface);
    --qto-page: var(--oasis-bg);
    --qto-hover: var(--oasis-hover);
    --qto-selected: var(--oasis-selected);
  }

  /* Quotes/src/ingen/oasis/projects/awi/backlog/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --bg: var(--oasis-bg);
    --panel: var(--oasis-surface);
    --ink: var(--oasis-text);
    --muted: var(--oasis-text-muted);
    --accent: var(--oasis-primary);
    --accent-soft: var(--oasis-selected);
    --border: var(--oasis-border);
  }

  /* Quotes/src/ingen/oasis/projects/awi/editor/bom/codex/General.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --general-background: var(--oasis-surface);
    --general-surface: var(--oasis-surface);
    --general-border: var(--oasis-border);
    --general-text: var(--oasis-text);
    --general-muted: var(--oasis-text-muted);
  }

  /* Quotes/src/ingen/oasis/projects/awi/editor/bom/codex/Overview.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --overview-bg: var(--oasis-bg);
    --surface: var(--oasis-surface);
    --border-soft: var(--oasis-border);
    --border-control: var(--oasis-input-border);
    --text-main: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-subtle: var(--oasis-text-muted);
    --accent: var(--oasis-primary);
  }

  /* Quotes/src/ingen/oasis/projects/awi/editor/bom/views/history/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
  }

  /* Quotes/src/ingen/oasis/quotes/awi/reports/followup/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-strong: var(--oasis-input-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
  }

  /* Quotes/src/ingen/oasis/quotes/awi/reports/winloss/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
  }

  /* Payments/src/ingen/oasis/payments/awi/reports/c4a/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
    --text-danger: var(--oasis-danger);
    --disabled-bg: var(--oasis-bg);
    --disabled-text: var(--oasis-text-muted);
    --button-secondary-hover-bg: var(--oasis-bg);
  }

  /* Payments/src/ingen/oasis/payments/awi/reports/inside_spr/codex/styles.css */
  html[data-oasis-theme="dark"][data-oasis-embedded] {
    --color-primary-100: var(--oasis-selected);
    --color-primary-500: var(--oasis-primary);
    --color-primary-600: var(--oasis-primary);
    --color-primary-700: var(--oasis-primary-hover);
    --color-danger-100: var(--oasis-danger-bg);
    --background-page: var(--oasis-bg);
    --background-panel: var(--oasis-surface);
    --background-surface: var(--oasis-surface);
    --border-default: var(--oasis-border);
    --border-subtle: var(--oasis-border);
    --border-focus: var(--oasis-accent);
    --text-primary: var(--oasis-text);
    --text-muted: var(--oasis-text-muted);
    --text-inverse: #fff;
  }

  /* Platform surface audit, grouped by source component. :where() preserves
     the component cascade; oasis-theme.js keeps this sheet after page CSS.
     Document artboards, paired business colors, and chart series remain intact. */
  /* OASIS_Web3/css/about-page.css */
  :where(html[data-oasis-theme="dark"]) .about-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .about-website { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .about-database-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .about-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .about-data { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .token-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .token-button { background: var(--oasis-primary); color: #fff; }

  /* OASIS_Web3/css/calendar-vue.css */
  :where(html[data-oasis-theme="dark"]) .online-calendar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-legend { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-view-trigger { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-view-popup { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-view-control button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .online-calendar-view-control input:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-saved-view-name { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-saved-view-default:hover,
  :where(html[data-oasis-theme="dark"]) .online-calendar-saved-view-default.is-default { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-saved-views-error button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-popup { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-fields select { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-facet-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-facet-search { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-clear-filters { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-popup button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-popup select:focus-visible,
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-popup input:focus-visible,
  :where(html[data-oasis-theme="dark"]) .online-calendar-filter-button:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-title-picker:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-title-picker:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-popover { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-header button { background: var(--oasis-surface-raised); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-header input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-months button:hover,
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-header button:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-months button.is-selected { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-popover button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .online-calendar-month-year-popover input:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-heading-icon-button:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-icon-button,
  :where(html[data-oasis-theme="dark"]) .online-calendar-secondary-button,
  :where(html[data-oasis-theme="dark"]) .online-calendar-views a { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-views a.is-active { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .online-calendar-icon-button:hover,
  :where(html[data-oasis-theme="dark"]) .online-calendar-secondary-button:hover,
  :where(html[data-oasis-theme="dark"]) .online-calendar-views a:not(.is-active):hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar a:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-weekday { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-cell.is-outside { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-cell.is-outside .online-calendar-date { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-cell.is-today { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-cell.is-today .online-calendar-date { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .online-calendar-today-badge { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .online-calendar-date:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-event { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-show-more { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-show-more:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-show-more:focus-visible { outline: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-detail { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-day-header { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .online-calendar-day-header.is-today { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog.popup-container { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-input:focus-visible,
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-note:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tabs button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tabs button.active { border-bottom-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tabs button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tabs button:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-tab-count { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-option-list { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-calendar-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-calendar-link:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-option-list p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-help { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-attachment-panel { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-loading { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-dialog-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-close,
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-nav button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-grid { border-top: 1px solid var(--oasis-border); border-left: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-weekday,
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-day { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-weekday { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-day.outside-month { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-day.is-today > span { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .calendar-event-related-item { background: var(--oasis-surface); color: var(--oasis-text); }

  /* OASIS_Web3/css/configuration-page.css */
  :where(html[data-oasis-theme="dark"]) .cfg_container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cfg_outer { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cfg_outer:hover { border: 1px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cfg_label { color: var(--oasis-text); }

  /* OASIS_Web3/css/lead.css */
  :where(html[data-oasis-theme="dark"]) #lead-control { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-editor { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-loading-overlay { background: color-mix(in srgb, var(--oasis-surface) 42%, transparent); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-loading-overlay__spinner { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__header { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__back,
  :where(html[data-oasis-theme="dark"]) .lead-editor__menu { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__back:hover,
  :where(html[data-oasis-theme="dark"]) .lead-editor__back:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__back:active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__title-input:hover,
  :where(html[data-oasis-theme="dark"]) .lead-editor__title-input:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-editor__label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__button:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__option { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__option:hover,
  :where(html[data-oasis-theme="dark"]) .lead-editor-status-control__option.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-tabs,
  :where(html[data-oasis-theme="dark"]) .lead-general-tabs { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-tab,
  :where(html[data-oasis-theme="dark"]) .lead-general-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-footer { background: var(--oasis-surface-raised); border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-footer__status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-editor-footer__unsaved { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-field input,
  :where(html[data-oasis-theme="dark"]) .lead-convert-field select { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-field input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-radio-group label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-dialog__footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-secondary-button,
  :where(html[data-oasis-theme="dark"]) .lead-convert-dialog__footer .nbutton { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-confirm-backdrop { background: color-mix(in srgb, var(--oasis-surface) 48%, transparent); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-confirm-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-confirm-close-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-confirm-close-button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-confirm-close-button:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-confirm-dialog__body p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-convert-confirm-dialog__body .lead-confirm-dialog__detail { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-backdrop { background: color-mix(in srgb, var(--oasis-surface) 62%, transparent); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-option { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-option:hover,
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-option.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-option__radio { border: 2px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-option__copy > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-status-decision-dialog__footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-card__title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-field label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-field input,
  :where(html[data-oasis-theme="dark"]) .lead-field select,
  :where(html[data-oasis-theme="dark"]) .lead-field textarea { background-color: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-general__placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-control-pane,
  :where(html[data-oasis-theme="dark"]) .lead-repeat-card,
  :where(html[data-oasis-theme="dark"]) .lead-search-tag-card { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-control-pane__header h2,
  :where(html[data-oasis-theme="dark"]) .lead-control-section-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-control-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-control-empty--card { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-specifier-group h3 { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-specifier-list-item { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-specifier-detail-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-specifier-detail-card__header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-specifier-detail-card__header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-control-menu-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-select__button { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-select__chevron { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-select__menu,
  :where(html[data-oasis-theme="dark"]) .lead-autocomplete__menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .lead-select__menu li,
  :where(html[data-oasis-theme="dark"]) .lead-autocomplete__menu li { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-select__menu li:hover,
  :where(html[data-oasis-theme="dark"]) .lead-select__menu li.is-selected,
  :where(html[data-oasis-theme="dark"]) .lead-autocomplete__menu li.is-active,
  :where(html[data-oasis-theme="dark"]) .lead-autocomplete__menu li:hover { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-sales-account-total { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-sales-account-total strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-secondary-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-search-tag-card { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-search-tag-card header button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) select.lead-search-tag-input { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .lead-search-tags-add { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-search-tags-add:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-empty { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-empty__icon { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-empty h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-empty p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-secondary-button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__header h2,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-panel__header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__header button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-panel__header button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__summary { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-chip { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-detail-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-detail-header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__summary strong,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-field label,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__meta strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__summary span,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__meta span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-date-input { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-field { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-sample-field label em { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select input { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select__menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select__menu button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select__menu button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select__menu button:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-sample-search-select__menu p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row select,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row input,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row input:disabled,
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-input-row button:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-field textarea { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-notes-field textarea { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-readonly { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-checkbox { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-modal__actions { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-email-upload label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-email-dropzone { background: var(--oasis-surface); border: 2px dashed var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-email-dropzone:hover,
  :where(html[data-oasis-theme="dark"]) .lead-activity-email-dropzone:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-email-dropzone strong { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-log-multiselect-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-multiselect { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-multiselect input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__header h2,
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-type__title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-search { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-search svg { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-search input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__group { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__group h3,
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-type__field span,
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-type__icons h3 { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__group h3 { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-option { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-option:hover,
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-option:focus,
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-option.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-option__icon { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-type-picker__footer,
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-type__footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-secondary-button--outline { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-secondary-button:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-type__field input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-custom-icon-grid button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-sidebar,
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-sidebar__header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contacts-sidebar__header span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-group h3 { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-list-item { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-list-item.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-list-item small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-star { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail__header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail__header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail__star { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions button:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions-menu { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions-menu--copy button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions-menu--copy button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-contact-actions-menu--copy button:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail-tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail-tabs button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-detail-tabs .is-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-checkbox-field { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-history h3 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-history__summary { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-history__summary strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline li::before { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline time { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline__marker { border: 2px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline__icon { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-timeline p strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes__header span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-source button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-source select { background-color: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes__divider { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes-list-header { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes-empty { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes-empty h4 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-notes-empty p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card header button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card__text { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card__text:hover,
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card__text:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .lead-contact-note-card footer { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-empty-action-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-empty-action-card__icon { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-empty-action-card h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-empty-action-card p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-action-card-rule { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-timeline-panel,
  :where(html[data-oasis-theme="dark"]) .lead-tasks-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-panel-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-panel-header span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-filter-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-panel-rule { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-month h3 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list li:hover,
  :where(html[data-oasis-theme="dark"]) .lead-activity-list li:focus,
  :where(html[data-oasis-theme="dark"]) .lead-activity-list li.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list li::before { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list time { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list__marker { border: 2px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list__icon { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-list p strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-pill--task,
  :where(html[data-oasis-theme="dark"]) .lead-pill--open { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-task-tabs button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-tabs .is-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-card.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-task-card__meta span:first-child { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-card__owner { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-icon-button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-icon-button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-icon-button:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-title-edit span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-title-edit input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-edit-form .lead-field > span { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-field > span:first-child,
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-section h3,
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-meta div > span:first-child { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-field strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-rule { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-section p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-notes { border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-task-required-activity { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-meta strong,
  :where(html[data-oasis-theme="dark"]) .lead-task-detail-meta small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-create-task-button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-create-task-button:hover,
  :where(html[data-oasis-theme="dark"]) .lead-activity-create-task-button:focus { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-create-task-button:active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .lead-activity-task-dialog .lead-field input:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .lead-rank-select__button { color: var(--oasis-text); }

  /* OASIS_Web3/css/mfg/manufacturer-price-list-editor-control.css */
  :where(html[data-oasis-theme="dark"]) .price-list-header { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .back-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .back-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .price-list-name-input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .price-list-name-input:hover,
  :where(html[data-oasis-theme="dark"]) .price-list-name-input:focus { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .context-code { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .header-loading-indicator { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tab-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .draggable-column-header:active,
  :where(html[data-oasis-theme="dark"]) .draggable-column-header.dragging { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .app-action-bar { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .footer-left { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .footer-pagination { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .footer-pagination-range { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .footer-pagination input,
  :where(html[data-oasis-theme="dark"]) .footer-pagination select { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .footer-pagination button { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .footer-pagination button:disabled { border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .footer-status-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .unsaved-text { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .footer-close-button { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .footer-close-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .eyebrow { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .secondary-button { border-color: var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .icon-button.ghost,
  :where(html[data-oasis-theme="dark"]) .text-button { border-color: var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .summary-band { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tab-placeholder { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tab-placeholder p:last-child { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .overview-details-panel,
  :where(html[data-oasis-theme="dark"]) .overview-audit-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .overview-panel-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .overview-details-panel label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .field-with-count span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .overview-details-panel input,
  :where(html[data-oasis-theme="dark"]) .overview-details-panel textarea { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .overview-status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .overview-audit-panel dt { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .overview-audit-panel dd { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .active-check { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .overview-tab label,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell label,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab label,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab label,
  :where(html[data-oasis-theme="dark"]) .levels-tab label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .overview-tab input,
  :where(html[data-oasis-theme="dark"]) .overview-tab select,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell input,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell select,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab input,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab select,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab input,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab select,
  :where(html[data-oasis-theme="dark"]) .levels-tab input,
  :where(html[data-oasis-theme="dark"]) .levels-tab select { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stat-grid article { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .stat-grid span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .prices-toolbar { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .toolbar-icon-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .toolbar-icon-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .prices-search::before { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .prices-search::after { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .toolbar-divider { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tool-menu-button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tool-menu-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .tools-menu-popover { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tools-menu-popover button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tools-menu-popover button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .confirm-backdrop { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .confirm-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .confirm-detail { border-left: 3px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .confirm-close-button { background: var(--oasis-surface); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .confirm-primary-button,
  :where(html[data-oasis-theme="dark"]) .confirm-cancel-button { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-backdrop { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .preferences-dialog { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .preferences-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .preferences-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .preferences-close-button { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .preferences-content { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .preferences-panel h3 { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-search { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-search input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .preferences-check-all { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-list { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .preference-field-row,
  :where(html[data-oasis-theme="dark"]) .preference-available-row { background: var(--oasis-surface-raised); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preference-field-row.selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .preference-drag-icon { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-reorder-buttons { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .preferences-reorder-buttons button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .preferences-reorder-buttons button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .preferences-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .preferences-cancel-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .prices-table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .loading-spinner { border: 2px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .prices-table th,
  :where(html[data-oasis-theme="dark"]) .prices-table td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .prices-table td.cell-range-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .prices-table th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .prices-table tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .prices-table .part-column,
  :where(html[data-oasis-theme="dark"]) .prices-table .description-column,
  :where(html[data-oasis-theme="dark"]) .prices-table .text-column { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .unit-input span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .exceptions-table-card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .exceptions-empty-row td { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .exceptions-table input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .exception-customer-options { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .exception-customer-option { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .exception-customer-option:hover,
  :where(html[data-oasis-theme="dark"]) .exception-customer-option:focus,
  :where(html[data-oasis-theme="dark"]) .exception-customer-option.active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .exception-customer-option small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .exception-customer-option.muted { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .workgroup-filter-buttons button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .workgroup-filter-buttons button:hover,
  :where(html[data-oasis-theme="dark"]) .workgroup-filter-buttons button.active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .levels-subtab-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .levels-card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .levels-table th { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .levels-table td { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .levels-table input,
  :where(html[data-oasis-theme="dark"]) .levels-table select { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .levels-table input:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .levels-percent-input span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .levels-paths-card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .paths-grid select { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .paths-grid option:disabled { color: var(--oasis-text-muted); background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .paths-note { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .paths-note strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tools-panel,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell .table-stage,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab .table-stage,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab .table-stage,
  :where(html[data-oasis-theme="dark"]) .levels-tab .table-stage { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .panel-section { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .save-panel p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell .table-toolbar,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab .table-toolbar,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab .table-toolbar,
  :where(html[data-oasis-theme="dark"]) .levels-tab .table-toolbar { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell th,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab th,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab th,
  :where(html[data-oasis-theme="dark"]) .levels-tab th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .levels-tab th { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell tbody tr,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab tbody tr,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab tbody tr,
  :where(html[data-oasis-theme="dark"]) .levels-tab tbody tr { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell td input:hover,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell td select:hover,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell td input:focus,
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell td select:focus,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab td input:hover,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab td select:hover,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab td input:focus,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab td select:focus,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab td input:hover,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab td select:hover,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab td input:focus,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab td select:focus,
  :where(html[data-oasis-theme="dark"]) .levels-tab td input:hover,
  :where(html[data-oasis-theme="dark"]) .levels-tab td select:hover,
  :where(html[data-oasis-theme="dark"]) .levels-tab td input:focus,
  :where(html[data-oasis-theme="dark"]) .levels-tab td select:focus { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td input,
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td select { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td input:hover,
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td select:hover { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td input:focus,
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td select:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .levels-tab .levels-table td input:disabled { border-color: var(--oasis-border); background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .prices-grid-shell .calculated,
  :where(html[data-oasis-theme="dark"]) .customer-exceptions-tab .calculated,
  :where(html[data-oasis-theme="dark"]) .workgroups-tab .calculated,
  :where(html[data-oasis-theme="dark"]) .levels-tab .calculated { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .panel-section { border-right: 1px solid var(--oasis-border); }

  /* OASIS_Web3/css/mfg/manufacturer-specialization-dialog.css */
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-header { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-close { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-close:hover,
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-close:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-state { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tab-header-container { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tab-header { color: var(--oasis-text); background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tab-header:hover,
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tab-header:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tab-header[data-selected="true"] { background: var(--oasis-selected); border-color: var(--oasis-accent); border-bottom-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog .tabs-container > #tabsContentContainer { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-footer-option label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-nested-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-child-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-action-guidance { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-section h3 { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-section-description { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-transfer-workgroup h4 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-transfer-test { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-section-title { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-inherited-note { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-form-grid label > span,
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-url-field > span,
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-readonly-field > span { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog input[type="text"],
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog input[type="password"],
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog input[type="url"],
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog select { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-readonly-field strong { background: var(--oasis-surface-alt); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-prompt-field > span { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-forecast-send { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-forecast-send p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-forecast-progress { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-table-wrap { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-table th,
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-table td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-table thead th { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .mfg-specialization-dialog-actions { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }

  /* OASIS_Web3/css/mfg/manufacturer-warehouses-control.css */
  :where(html[data-oasis-theme="dark"]) .warehouse-table-shell { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table-toolbar { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .toolbar-button { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .toolbar-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table td { border-right: 2px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table tbody tr:nth-child(even) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table tbody tr.selected-row { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .cell-input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .warehouse-table-footer p { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .local-inventory-config { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .local-inventory-config h3 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .local-inventory-config label { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/css/oasis-bom.css */
  :where(html[data-oasis-theme="dark"]) .oasis-bom-th { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .oasis-bom-td { border: 2px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .oasis-bom-resize:hover,
  :where(html[data-oasis-theme="dark"]) .oasis-bom-resizing { border-right: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .bom-preferences-selected-column { background: var(--oasis-primary) 0% 0% no-repeat padding-box; border: 1px solid var(--oasis-accent); }

  /* OASIS_Web3/css/oasis-main.css */
  :where(html[data-oasis-theme="dark"]) .OASISStickyHeaderRow { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-pagenumber-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .ts-view-big-text { border: 5px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .oasis_nav_selected { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .oasis_nav_notselected { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .oasis_nav_gap { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .disabled-field { background-color: var(--oasis-surface-alt) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiselect-container { background: var(--oasis-surface-raised); color: var(--oasis-text); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .multiselect-li { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiselect-li-sel { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .oasis_standard { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .pill { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .blue_pill { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .powder_blue_pill { background: var(--oasis-surface); }

  /* OASIS_Web3/css/plu-upload.css */
  :where(html[data-oasis-theme="dark"]) .plu-upload-body { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-endpoint { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-status { border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-status-dot { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-panel-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-file-input { border: 1px dashed var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-file-input-hint { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-button--secondary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-active-field,
  :where(html[data-oasis-theme="dark"]) .plu-upload-apply-field { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-text-input { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-date-input { background: var(--oasis-surface-raised); border-color: var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-mapping-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-mapping-select { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-preview-header,
  :where(html[data-oasis-theme="dark"]) .plu-upload-preview-cell { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-preview-header { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-row-id { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .plu-upload-empty { color: var(--oasis-text-muted); }

  /* OASIS_Web3/css/reassign-sales-dialog.css */
  :where(html[data-oasis-theme="dark"]) .reassign-sales-dialog__errors { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"]) .reassign-sales-dialog__select-wrap .ncombobox { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .reassign-sales-confirmation__backdrop { background: rgb(0 0 0 / 65%); }

  /* OASIS_Web3/css/send-message.css */
  :where(html[data-oasis-theme="dark"]) .SendMessage_recipient-field[readonly],
  :where(html[data-oasis-theme="dark"]) .SendMessage_message-body[disabled] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_button:disabled { color: var(--oasis-text-muted); background: var(--oasis-surface-alt); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-editor { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-editor-header { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-menubar { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-menu-wrap > button:hover,
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-menu-wrap > button[aria-expanded=true] { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup button:not(:disabled):hover,
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup button:focus-visible { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup button:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup kbd { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-popup hr { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-pages { border-right: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-page-row { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-thumbnail { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-drawing-tools { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-drawing-tools button:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-drawing-tools button[aria-pressed=true] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-zoom { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-canvas-scroll { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-page-status { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-editor-footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-editor-footer span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties > header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties fieldset { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties label output { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties input:not([type=checkbox]):not([type=radio]),
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties select,
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties textarea { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-geometry summary { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties > footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-properties > footer span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-page-dropzone { border-top: 1px dashed var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .SendMessage_pdf-selection-dialog { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }

  /* OASIS_Web3/css/software-index.css */
  :where(html[data-oasis-theme="dark"]) .software-index-option { border: 1px solid var(--oasis-primary); background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .software-index-option:hover { background: var(--oasis-primary-hover); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .software-index-option-selected { border: 1px solid var(--oasis-accent); background: var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .software-index-bottom-container { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .software-index-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .software-index-nav { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .software-index-nav-selected { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .software-index-setting-odd { border-top: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .software-index-setting-even { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .software-index-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .software-index-textfield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .software-index-textfield-label { color: var(--oasis-text-muted); }

  /* OASIS_Web3/css/specifier-control.css */
  :where(html[data-oasis-theme="dark"]) .SpecifierView_search-field-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .SpecifierView_search-field-remove-item-btn { color: var(--oasis-text); }

  /* OASIS_Web3/css/sso-pages.css */
  :where(html[data-oasis-theme="dark"]) .sso-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .sso-card input { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .sso-card button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .sso-card .sso-hint { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .sso-provider-row { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .sso-provider-state { color: var(--oasis-text-muted); }

  /* OASIS_Web3/css/tiles/create-tile.css */
  :where(html[data-oasis-theme="dark"]) .tile-listing-banner-container { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tile-listing-banner-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-listing-banner-text { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-listing-banner-Tiles { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-listing-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-search-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .placeholder-search-text { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .selected-tile-filter { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-filter { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-name { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-description { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-checkbox { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-checkbox-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-textfield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-multiselect { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-combobox { background-color: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-subtext { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-subtext-bold { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-bottom-container { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-button-primary { background: var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .tile-editor-button-primary:disabled { background-color: color-mix(in srgb, var(--oasis-surface) 57%, transparent); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-currencyfield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tile-editor-date-range { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-edit-listing-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .tile-edit-listing-header { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .tile-edit-listing-name { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-edit-listing-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tile-edit-listing-data { color: var(--oasis-text-muted); }

  /* OASIS_Web3/css/tooltip.css */
  :where(html[data-oasis-theme="dark"]) .tippy-box[data-theme~='oasis'] { background-color: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .tippy-box[data-theme~='oasis'][data-placement^='top'] > .tippy-arrow::before { border-top-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tippy-box[data-theme~='oasis'][data-placement^='bottom'] > .tippy-arrow::before { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tippy-box[data-theme~='oasis'][data-placement^='left'] > .tippy-arrow::before { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .tippy-box[data-theme~='oasis'][data-placement^='right'] > .tippy-arrow::before { border-right-color: var(--oasis-border); }

  /* OASIS_Web3/css/user/user-listing-no-related-emails.css */
  :where(html[data-oasis-theme="dark"]) .email-table-panel { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .email-table-toolbar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .email-table-toolbar p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .email-table-actions button { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .email-table-messages { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .email-table-messages label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .email-table-messages input { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .email-table th,
  :where(html[data-oasis-theme="dark"]) .email-table td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .email-table th { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .sort-indicator { background: var(--oasis-surface); color: var(--oasis-text-muted); }

  /* OASIS_Web3/addons/av/avalara-integration.css */
  :where(html[data-oasis-theme="dark"]) .access-item { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-authorization_card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-authorization_statusNeutral { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-access_status { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_feedback { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_stat { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_statLabel { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_group { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_groupCounts span { background: color-mix(in srgb, var(--oasis-surface) 16%, transparent); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_columnTitle { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerCard { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerMeta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_tab { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_tab:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_filterInput { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_control { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_controlDisabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_clear:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_dropdown { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_optionSelected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .qbo-settingsHero_eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .qbo-uiButtonPrimary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_actionButtonPrimary { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qbo-uiButtonSecondary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_actionButtonSecondary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_filterInput,
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_input input,
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_input select,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerActions select,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerActions input { background: var(--oasis-surface-raised); }

  /* OASIS_Web3/addons/qbo/qbo-integration.css */
  :where(html[data-oasis-theme="dark"]) .access-item { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-authorization_card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-authorization_statusNeutral { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-access_status { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_feedback { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_stat { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_statLabel { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_group { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_groupCounts span { background: color-mix(in srgb, var(--oasis-surface) 16%, transparent); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_columnTitle { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerCard { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerMeta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_tab { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .qbo-settings_tab:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_bulkTableWrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_actionBadge { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_filterInput { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_control { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_controlDisabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_clear:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_dropdown { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSearch_optionSelected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .qbo-settingsHero_eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .qbo-uiButtonPrimary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_actionButtonPrimary { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qbo-uiButtonSecondary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_actionButtonSecondary,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_toggleButton { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_filterInput,
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_input input,
  :where(html[data-oasis-theme="dark"]) .qbo-transmit_input select,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerActions select,
  :where(html[data-oasis-theme="dark"]) .qbo-customerSetup_customerActions input { background: var(--oasis-surface-raised); }

  /* OASIS_Web3/addons/settings/online-addons.css */
  :where(html[data-oasis-theme="dark"]) .feature-settings-eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .feature-card-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .feature-card-link:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .feature-card-button-secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .feature-card-button-secondary:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .feature-settings-page .customer-portal-settings-setting-even { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .customer-portal-settings-bottom-container { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .customer-portal-settings-save-message-success { color: var(--oasis-accent-green); }
  :where(html[data-oasis-theme="dark"]) .customer-portal-settings-save-message-error { color: var(--oasis-danger); }

  /* OASIS_Web3/attachments/awi/nww/AddAttachmentControl.css */
  :where(html[data-oasis-theme="dark"]) .nflupdiv { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .nflupfile { background: var(--oasis-surface); border: solid var(--oasis-border) 1px; }
  :where(html[data-oasis-theme="dark"]) .nfluppb-wrp { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .nfluppb-wrp .status { color: var(--oasis-text); }

  /* OASIS_Web3/attachments/awi/nww/css/AttachmentsMobile.css */
  :where(html[data-oasis-theme="dark"]) .att-mobile-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-upload-ctr { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-nflupfile { background: var(--oasis-surface); border: solid var(--oasis-border) 1px; }
  :where(html[data-oasis-theme="dark"]) .att-mobile-nfluppb-bar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-filter-area--show { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-filter-area--hide { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-viewer-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-rules-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-context-menu { background: var(--oasis-surface-raised); border: solid 1pxvar(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-edit-color-dropdown { border: 1px solidvar(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-edit-category-dropdown { border: 1px solidvar(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-edit-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-delete-menu { background: var(--oasis-surface-raised); }

  /* OASIS_Web3/attachments/awi/nww/css/AttachmentsMobileViewer.css */
  :where(html[data-oasis-theme="dark"]) .att-mobile-viewer-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-mobile-viewer-msg-att { border-color: var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/attachments/awi/nww/css/AttachmentsTable.css */
  :where(html[data-oasis-theme="dark"]) .att-sidebar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-link { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-link--danger { color: var(--oasis-danger) !important; }
  :where(html[data-oasis-theme="dark"]) .att-tree-node { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-tree-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-save-filter { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-filter-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-filter-options,
  :where(html[data-oasis-theme="dark"]) .att-saved-filters { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-empty-filter { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-toolbar { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-icon-button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-preferences-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-refresh-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-search-field { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-split-button > span + span { border-left: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-split-button--secondary { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-split-button--secondary > span + span { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-dropdown { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-dropdown button:hover,
  :where(html[data-oasis-theme="dark"]) .att-context-menu button:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-dropdown--selection-actions { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-bulk-action { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-dropdown--new-actions { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-new-action { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-summary-bar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-showing-pill { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-filter-chip { background: var(--oasis-surface); color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-table-shell { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-data-table th { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-data-table td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-data-table tbody tr:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .att-column-resizer:hover::after,
  :where(html[data-oasis-theme="dark"]) .att-column-resizing .att-column-resizer::after { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .att-group-count { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-color-value > span { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-table-state { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-empty-icon { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-drop-overlay { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-button--secondary { background: var(--oasis-surface); color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-context-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"]) .att-edit-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-field input,
  :where(html[data-oasis-theme="dark"]) .att-field select,
  :where(html[data-oasis-theme="dark"]) .att-field textarea { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-field input:disabled,
  :where(html[data-oasis-theme="dark"]) .att-field select:disabled,
  :where(html[data-oasis-theme="dark"]) .att-field textarea:disabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .att-color-select-trigger { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-color-select-trigger:disabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .att-color-select-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-color-select-option:hover,
  :where(html[data-oasis-theme="dark"]) .att-color-select-option--selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .att-color-select-option--selected { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-preview-toolbar { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-preview-internal-icon { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-tab { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-tab:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .att-preview-tool-button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .att-preview-page-input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-preview-download { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-preview-download:hover { background: var(--oasis-hover); color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-frame { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-table { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-cell,
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-row-number { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-preview-excel-row-number { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-text-frame { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-text { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .att-preview-canvas--internal { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-internal-card { border-color: var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-internal-header { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-preview-internal-kicker { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-preview-internal-footer { border-top-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-preview-reminder-details > div { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-reminder-message { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-preview-message { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-message-header { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-message-attachment-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-message-attachment-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .att-message-file-icon { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-message-body { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-preview-frame { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-edit-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-small-dialog,
  :where(html[data-oasis-theme="dark"]) .att-confirm-dialog,
  :where(html[data-oasis-theme="dark"]) .att-rule-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-group-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-group-table th,
  :where(html[data-oasis-theme="dark"]) .att-group-table td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-group-table tbody tr:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .att-note-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .att-note-content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-rule-dialog > header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .att-upload-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-upload-panel header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .att-upload-clear:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-upload-item { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-upload-file-icon { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-upload-item-actions button:hover { background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .att-upload-progress { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-upload-item--cancelled .att-upload-status i,
  :where(html[data-oasis-theme="dark"]) .att-upload-item--cancelled .att-upload-progress > span { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-focus-container { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .att-context-menu__link { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .att-context-menu__link:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"]) .att-rule-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-scrollcontainer::-webkit-scrollbar-track { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-scrollcontainer::-webkit-scrollbar-thumb { background: var(--oasis-surface); }

  /* OASIS_Web3/attachments/awi/nww/css/AttachmentsViewer.css */
  :where(html[data-oasis-theme="dark"]) .att-viewer-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .att-viewer-msg-att { border-color: var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/batch/awi/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--neutral { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--danger { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--info { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tabs { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button.active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-item { background: var(--oasis-surface); }

  /* OASIS_Web3/contacts/awi/nww/css/QuickAddContact.css */
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__close:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__grid input,
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__grid .ntextfield { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__grid input:disabled { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate .nbutton { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate .nbutton:not(:disabled):hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate .nbutton:disabled { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-quickcreate__loading { background: var(--oasis-surface); }

  /* OASIS_Web3/conversations/awi/nww/css/Button.css */
  :where(html[data-oasis-theme="dark"]) .conv-btn { color: var(--oasis-text) !important; }

  /* OASIS_Web3/conversations/awi/nww/css/Card.css */
  :where(html[data-oasis-theme="dark"]) .conv-card { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-card-message { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-card-preview { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-card-subject { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-msg-card-meta { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-msg-card-body { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-msg-card-body-content { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .conv-msg-card-info { background: var(--oasis-surface); color: var(--oasis-text); }

  /* OASIS_Web3/conversations/awi/nww/css/FollowerPanel.css */
  :where(html[data-oasis-theme="dark"]) .conv-info-transaction { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .conv-info-panel { background-color: var(--oasis-surface); }

  /* OASIS_Web3/conversations/awi/nww/css/MainContent.css */
  :where(html[data-oasis-theme="dark"]) .conv-maincontent { background-color: var(--oasis-surface); }

  /* OASIS_Web3/conversations/awi/nww/css/Navigation.css */
  :where(html[data-oasis-theme="dark"]) .conv-navbar { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .conv-link { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) div.conv-link:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .conv-link[data-active='true'] { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .conv-navbaritem.conv-link:hover { border-bottom-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) span.conv-navbaritem.conv-link { border-bottom-color: var(--oasis-border); }

  /* OASIS_Web3/conversations/awi/nww/css/NewConversation.css */
  :where(html[data-oasis-theme="dark"]) .new-conv-message { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .new-conv-field-container { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .new-conv-field { background-color: var(--oasis-surface-raised); }

  /* OASIS_Web3/conversations/awi/nww/css/NewMessage.css */
  :where(html[data-oasis-theme="dark"]) .new-message { background-color: var(--oasis-surface); }

  /* OASIS_Web3/conversations/awi/nww/css/Sidebar.css */
  :where(html[data-oasis-theme="dark"]) .conv-sidebar { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .search-bar { background-color: var(--oasis-surface); }

  /* OASIS_Web3/conversations/awi/nww/css/bubbleItem.css */
  :where(html[data-oasis-theme="dark"]) .bubbleItem { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/conversations/awi/nww/css/dropdown.css */
  :where(html[data-oasis-theme="dark"]) .conv-dropdown { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }

  /* OASIS_Web3/core/awi/editor/Editor.css */
  :where(html[data-oasis-theme="dark"]) .Editor_card { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .Editor_nav-container { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .Editor_field-meta { color: var(--oasis-text-muted); }

  /* OASIS_Web3/core/awi/nww/controls/HoverContainer.css */
  :where(html[data-oasis-theme="dark"]) .hovctr { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .hovctr_show { background: var(--oasis-surface); }

  /* OASIS_Web3/core/awi/nww/controls/ImageGallery.css */
  :where(html[data-oasis-theme="dark"]) .numberText { color: #fff; background-color: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .prev,
  :where(html[data-oasis-theme="dark"]) .next { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .prev:hover,
  :where(html[data-oasis-theme="dark"]) .next:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .caption-container { background-color: var(--oasis-surface); color: #fff; }

  /* OASIS_Web3/core/awi/nww/controls/LabeledMultiSelect.css */
  :where(html[data-oasis-theme="dark"]) .nms_outer { background-color: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .nms_found { color: var(--oasis-text); border-color: var(--oasis-border); background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .nms_button { background: var(--oasis-surface); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .nms_selectable { border: solid var(--oasis-border) 1px; }
  :where(html[data-oasis-theme="dark"]) .nms_filters { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .nms_popup_outer { background: var(--oasis-surface-raised); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .multiselect-deleteButton { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .multiselect-add-all { color: var(--oasis-accent); }

  /* OASIS_Web3/core/awi/nww/controls/LoadingSpinner.css */
  :where(html[data-oasis-theme="dark"]) .loader-spinner { border: solid 5px var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .loader-spinner-background { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .vue-spinner-contained { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .vue-spinner-contained > .loader-spinner { border-bottom-color: var(--oasis-primary); }
  /* Vue and older editor loaders also write their white backdrops inline. */
  html[data-oasis-theme="dark"] :is(.vue-spinner-contained, .loader-spinner-background,
    .centered-column-container:has(> .loader-spinner)) {
    background-color: color-mix(in srgb, var(--oasis-surface) 92%, transparent) !important;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .loader-spinner {
    border-color: var(--oasis-border);
    border-bottom-color: var(--oasis-accent);
  }

  /* OASIS_Web3/core/awi/nww/folio/FolioMenu.css */
  :where(html[data-oasis-theme="dark"]) .folio-sheets-menu:hover { color: #fff !important; }

  /* OASIS_Web3/core/awi/nww/login/LoginDialog.css */
  :where(html[data-oasis-theme="dark"]) .login-outer-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .login-field-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .login-button:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .login-button:disabled:hover { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .login-field { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .login-change-password-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .login-sso-divider { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .login-sso-divider::before,
  :where(html[data-oasis-theme="dark"]) .login-sso-divider::after { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .login-sso-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .login-sso-microsoft { border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .login-sso-microsoft:not(:disabled):hover { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .login-sso-google { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .login-sso-google:not(:disabled):hover { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .login-progress { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .login-progress-spinner { border-top-color: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .login-sso-check { border: 1px solid var(--oasis-primary); background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .login-sso-cancel { color: var(--oasis-accent); }

  /* OASIS_Web3/core/awi/nww/login/password/ChangePassword.css */
  :where(html[data-oasis-theme="dark"]) .changepasswordrectangle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .changepasswordrectangle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .changepasswordtf { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .changepasswordemailtf { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .changepasswordbutton:disabled { background-color: color-mix(in srgb, var(--oasis-surface) 57%, transparent); }
  :where(html[data-oasis-theme="dark"]) .changepasswordbutton:disabled:hover { color: var(--oasis-text); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .changepasswordellipse { background: var(--oasis-surface); }

  /* OASIS_Web3/core/awi/nww/login/twofactor/TwoFactor.css */
  :where(html[data-oasis-theme="dark"]) .twofactorrectangle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .twofactorcodetf { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .twofactorbutton:disabled { background-color: color-mix(in srgb, var(--oasis-surface) 57%, transparent); }
  :where(html[data-oasis-theme="dark"]) .twofactorbutton:disabled:hover { color: var(--oasis-text); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .twofactorellipse { background: var(--oasis-surface); }

  /* OASIS_Web3/core/awi/nww/widgets/Who.css */
  :where(html[data-oasis-theme="dark"]) .whodiv p { color: #fff; }

  /* OASIS_Web3/core/awi/portal/portal.css */
  :where(html[data-oasis-theme="dark"]) .portal_card_header { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .portal_dark_border { background-color: var(--oasis-surface); }

  /* OASIS_Web3/core/awi/usage/APIUsage.css */
  :where(html[data-oasis-theme="dark"]) .api-usage-page { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .api-usage-header { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .api-usage-icon-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .api-usage-icon-button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-tabs button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-list-tabs button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-page button:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-page input:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-page select:focus-visible,
  :where(html[data-oasis-theme="dark"]) .api-usage-table tbody tr:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .api-usage-title-separator { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-subtitle { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-beta { color: var(--oasis-text-muted); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-tabs button,
  :where(html[data-oasis-theme="dark"]) .api-usage-list-tabs button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-tabs button.active,
  :where(html[data-oasis-theme="dark"]) .api-usage-list-tabs button.active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .api-usage-tabs button.active::after,
  :where(html[data-oasis-theme="dark"]) .api-usage-list-tabs button.active::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .api-usage-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-initial-loading-status { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-initial-loading-status span:last-child { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-initial-metric-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-initial-filter-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-initial-content-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-section-heading p,
  :where(html[data-oasis-theme="dark"]) .api-usage-card-heading p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-card-heading select { color: var(--oasis-text-muted); background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-metric-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-clickable-metric:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .api-usage-metric-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-metric-icon { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-report { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-global-filters { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-global-filter-heading p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-global-filter-fields label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .api-usage-global-filter-fields select,
  :where(html[data-oasis-theme="dark"]) .api-usage-global-filter-fields .api-usage-filter-select { color: var(--oasis-text-muted); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-card,
  :where(html[data-oasis-theme="dark"]) .api-usage-table-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-state { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-spinner { border-top-color: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-legend { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-y-axis { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-line-labels { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-grid-line { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-chart-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-loading-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-table-loading { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-table th { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-table tbody tr:nth-child(even) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .api-usage-table tbody tr { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-table tbody .api-usage-clickable-row:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .api-usage-empty-cell { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-loading-status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-search { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-search:focus-within { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .api-usage-search input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .api-usage-search input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-primary-button { background: var(--oasis-primary); border: 1px solid var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .api-usage-secondary-button { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-button-spinner { border-color: var(--oasis-border); border-top-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-table th { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-table tbody tr:nth-child(even) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-table tbody tr:nth-child(odd) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-table tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .api-usage-pagination { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog > h2 { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-dialog-heading p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-skeleton-row { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"]) .api-usage-skeleton { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-dialog .api-usage-table thead th { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-details > div { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-details pre { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-details dl > div { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-copy-control input { color: var(--oasis-text); background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-token-form input,
  :where(html[data-oasis-theme="dark"]) .api-usage-token-form .api-usage-owner-select { color: var(--oasis-text); background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-confirmation { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .api-usage-dialog-actions { background: var(--oasis-surface-raised); border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .api-usage-call-pagination-label { color: var(--oasis-text-muted); }

  /* OASIS_Web3/customers/awi/editor/history/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .section-kicker { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .feedback.error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeline-date { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeline-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-value.is-highlighted { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-value-link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-value-link:focus-visible { color: var(--oasis-accent); }

  /* OASIS_Web3/customers/awi/editor/statistics/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-pill--soft { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-banner { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .up { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .down { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .axis-label { fill: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .dot.last { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .pill { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ghost { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr.selected td { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr.contractorTop td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr:hover .sticky-col,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr.selected .sticky-col { background: var(--oasis-selected); }

  /* OASIS_Web3/folio/scope/awi/FolioScope.css */
  :where(html[data-oasis-theme="dark"]) .folio-scope-dialog-overlay { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-dialog-shell { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-search-sticky { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-catalog-search { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-result-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-result-image { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-detail-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-detail-image { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .folio-scope-detail-separator { background: var(--oasis-surface); }

  /* OASIS_Web3/folio/select/awi/FolioSelect.css */
  :where(html[data-oasis-theme="dark"]) .folio-select-dialog-overlay { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-dialog-shell { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-dialog-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-search-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-search-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-catalog-search { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-general-search { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-view:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .folio-select-filter:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mini-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mfg-mini-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mfg-mini-inner-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mini-picture-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mfg-container-inner-label { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .folio-select-mini-container-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mini-container-see-all { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-underline-text { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-grid-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-add-container { border: 4px dashed var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-list-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-product-image-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-select-product-mini-image-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .folio-select-manufacturer-image-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-product-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-mfg-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-pricing-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-pricing-data { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-description { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-sub-notes-data { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-selected-button:hover { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-row-bc { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-row-wc { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-attribute-row-bc { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-attribute-row-wc { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-catalog-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-catalog-field { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-catalog { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-option { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-option:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-option-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-option-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-builder-option-data { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-top { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-home-page-section-btn { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-home-page-section-btn:hover { border: 1px solid var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .folio-select-home-page-section-btn:active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .arrow-button { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .arrow-button:hover { border: 1px solid var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .arrow-button:active { border: 1px solid var(--oasis-accent); background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-add-product-container { border: 4px dashed var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .folio-select-compare-add-product-container:hover { border: 4px dashed var(--oasis-accent); background: var(--oasis-hover); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .folio-select-import-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .folio-select-import-label.import-label-loading { color: var(--oasis-text-muted); }

  /* OASIS_Web3/global/awi/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lock-row:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-list dt,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-list dd { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-list dt { color: var(--oasis-accent); background: var(--oasis-surface); border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-list dd { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-lock-title { color: var(--oasis-accent); }

  /* OASIS_Web3/home/awi/Notifications.css */
  :where(html[data-oasis-theme="dark"]) .notifications-header { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-search-field { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-area { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-area:hover { border: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-area-unread { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-title-unread { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-message { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-message-unread { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-date { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-item-date-unread { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .notifications-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/home/awi/VueSearch.css */
  :where(html[data-oasis-theme="dark"]) .search-item-area { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .search-container { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/manufacturers/awi/editor/products/catalogs/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--danger { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-row,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .catalog-row { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-row:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .catalog-row:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quiet-input:hover { background: color-mix(in srgb, var(--oasis-surface) 28%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-photo,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-photo-placeholder { background: var(--oasis-surface); }

  /* OASIS_Web3/manufacturers/awi/editor/products/ple/ManufacturerPriceListEditor.css */
  :where(html[data-oasis-theme="dark"]) .ple-button { border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/manufacturers/awi/editor/statistics/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-banner { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .up { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .down { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .pill { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ghost { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .dot.last { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr.selected td { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr:hover .sticky-col,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .matrix-table tbody tr.selected .sticky-col { background: var(--oasis-selected); }

  /* OASIS_Web3/manufacturers/awi/reports/effort/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .muted { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .controls { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-sub-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) select,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .secondary-button,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .download-button { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .secondary-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .download-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .download-button:disabled { color: var(--oasis-text-muted); background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-popup { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tabs { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-year-list { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-month-heading,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-help { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) fieldset { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token-field { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-options { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option:hover { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .toggle-slider { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .toggle-slider::before { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tab-shell { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tabs { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tab { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tab:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tab.is-active { background: var(--oasis-selected); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-tab-count { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .section-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .section-header { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) thead th { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-dialog-header { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-detail-grid { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-detail-grid dt,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .object-field-list dt { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-list-section { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-object-list li { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .dialog-table-wrap { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .dialog-lines-table th { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-year-list { border-bottom: 1px solid var(--oasis-border); }

  /* OASIS_Web3/manufacturers/awi/reports/product_sales/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-status { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-status.is-warning { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-drill-trigger:hover .truncate { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .group-list-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .group-list-value { color: var(--oasis-accent); }

  /* OASIS_Web3/p2p/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .sort-indicator { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--success { color: var(--oasis-accent-green); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .activity-accent { border-left: 6px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .switch-row { background: var(--oasis-surface); }

  /* OASIS_Web3/pat/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .brand p.is-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .conversation-panel.is-document-dragging .composer { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-message.is-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .message__copy:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .message__copy:focus-visible { background: color-mix(in srgb, var(--oasis-surface) 12%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .document-picker { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .document-chip__remove:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .document-chip__remove:focus-visible { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .icon-button:hover { background: var(--oasis-hover); }

  /* OASIS_Web3/pi/awi/PIProductInformation.css */
  :where(html[data-oasis-theme="dark"]) .pim-container { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/plu/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .app-header h1 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button.is-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .secondary-button { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-controls-card { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-control-field { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .optional-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-checkbox { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-checkbox input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-controls-card { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .text-search-input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .text-search-input input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .text-search-input input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tool-form input,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tool-form select { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-field { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-token { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-token__remove { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-token__remove:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .lookup-options { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .message { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .sort-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .sort-button:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .sort-indicator { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .data-table tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-action-button { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .list-panel,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-detail-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .series-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .series-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .series-button.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .series-button strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .series-button span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .option-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .option-card h3 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .option-choice { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .option-values > input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-title strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-title span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-estimate { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-catalog-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-catalog-top { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-catalog-top em.is-valid { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-catalog-value { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }

  /* OASIS_Web3/reports/awi/batch/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--danger { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .report-row:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .state-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-link:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-item { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .cycle-row:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--neutral { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--danger { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge--info { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .email-row:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .message-meta { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .message-attachment-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option.is-active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token__remove { color: var(--oasis-accent); }

  /* OASIS_Web3/reports/awi/tile/scorecard/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button { color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .secondary { color: var(--oasis-accent); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .danger { color: var(--oasis-danger); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #message.error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token-field { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token__remove { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token__remove:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token-options { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .previous-cell { border-left: 3px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .no-value { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #historyDialog { background: var(--oasis-surface-raised); }
  html:where([data-oasis-theme="dark"][data-oasis-embedded]).tile,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body.tile { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tile-summary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #definitionTable tbody tr { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.metric-type-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.metric-type-label:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editor-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #metricSetupError { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editor-tabs [role=tab] { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editor-tabs [aria-selected=true] { color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editor-callout { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editor-settings { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/reports/mosr/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-row-head { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-row-head.clickable-filter:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card.clickable-filter:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card--total { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-title { color: var(--oasis-accent); }

  /* OASIS_Web3/reports/topdown/awi/invoices/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .split-action__arrow { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-report-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }

  /* OASIS_Web3/reports/topdown/awi/orders/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .split-action__arrow { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-report-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }

  /* OASIS_Web3/reports/topdown/awi/payments/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .split-action__arrow { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-report-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }

  /* OASIS_Web3/reports/topdown/awi/quotes/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .split-action__arrow { border-left-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-report-error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }

  /* OASIS_Web3/salesaccounts/vue/opportunity/component/open-accounts.css */
  :where(html[data-oasis-theme="dark"]) .open-accounts,
  :where(html[data-oasis-theme="dark"]) .account-editor { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .account-menu { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .account-menu .is-disabled > a { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .account-toolbar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .account-toolbar-separator { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .account-list-frame { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .account-count { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .account-notice--success { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .account-table-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .account-editor__footer { border-top: 1px solid var(--oasis-border); }

  /* OASIS_Web3/software/awi/components/agreement/service-agreement.css */
  :where(html[data-oasis-theme="dark"]) .pdf-wrapper { border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/software/awi/components/email/EmailConfiguration.css */
  :where(html[data-oasis-theme="dark"]) .email-config-action-bar { background: var(--oasis-surface); }

  /* OASIS_Web3/users/codex/user_groups.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis_standard { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .page-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .summary-chip { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .summary-chip strong { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-panel { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .group-id { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-trigger { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th { color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .members-empty { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .danger-btn { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .add-user-input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .picker-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .picker-option:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .create-field input { background: var(--oasis-surface-raised); }

  /* OASIS_Web3/vue/component/AccountIDSearchField.css */
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-options { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-options button { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-options button:hover,
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-options button.active { background: var(--oasis-selected); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .account-id-combobox-message { color: var(--oasis-text-muted); }

  /* OASIS_Web3/vue/component/AnnouncementBanner.css */
  :where(html[data-oasis-theme="dark"]) .announcement-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .announcement-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .announcement-message { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .announcement-button { background: var(--oasis-primary); color: #fff; }

  /* OASIS_Web3/vue/component/BasePDFViewer.css */
  :where(html[data-oasis-theme="dark"]) .PDF_attachment-pagenumber-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }

  /* OASIS_Web3/vue/component/ErrorDialog.css */
  :where(html[data-oasis-theme="dark"]) .error-dialog__content { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .error-dialog__title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .error-dialog__message { color: var(--oasis-text-muted); }

  /* OASIS_Web3/vue/component/PDFViewerDialog.css */
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-overlay { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-file { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-toolbar { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-icon-button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-icon-button:hover:not(:disabled) { background: var(--oasis-surface-alt); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-page-input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-page-total,
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-zoom-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-loading-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-loading-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-progress-track { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-progress-bar { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .pdf-viewer-empty-state { color: var(--oasis-text-muted); }

  /* OASIS_Web3/vue/component/PhoneKindSearch.css */
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-options { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-options button { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-options button:hover,
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-options button.active { background: var(--oasis-selected); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .phone-kind-combobox-message { color: var(--oasis-text-muted); }

  /* OASIS_Web3/vue/component/SendFeedbackDialog.css */
  :where(html[data-oasis-theme="dark"]) .send-feedback-button { border: 1px solid var(--oasis-primary); background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .send-feedback-button-active { background: var(--oasis-primary); color: #fff; }

  /* OASIS_Web3/vue/component/address/AddressControl.css */
  :where(html[data-oasis-theme="dark"]) input.address-control-field,
  :where(html[data-oasis-theme="dark"]) .address-control-csz input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) input.address-control-field:disabled,
  :where(html[data-oasis-theme="dark"]) .address-control-csz input:disabled { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-control-postal-help { color: var(--oasis-warning); }
  :where(html[data-oasis-theme="dark"]) .address-control-postal-message-warning { color: var(--oasis-warning); }
  :where(html[data-oasis-theme="dark"]) .address-control-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-control-link:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-control-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .address-control-postal-options button { background: var(--oasis-surface-raised); }

  /* OASIS_Web3/vue/component/address/AddressSelect.css */
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-close:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-body { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-summary { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .address-select__dialog-summary span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__card { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .address-select__card--selected { background: var(--oasis-selected); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__business-choice { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .address-select__business-choice:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .address-select__business-details > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__business-details small,
  :where(html[data-oasis-theme="dark"]) .address-select__contacts small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__business-choice em,
  :where(html[data-oasis-theme="dark"]) .address-select__contacts em { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__selection-indicator { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .address-select__card--selected > .address-select__business-choice .address-select__selection-indicator,
  :where(html[data-oasis-theme="dark"]) .address-select__contact--selected .address-select__selection-indicator { border: 5px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__show-contacts { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__show-contacts:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__contacts-heading { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__contacts button { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .address-select__contacts button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .address-select__contacts button.address-select__contact--selected { background: var(--oasis-selected); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__search-panel { background: var(--oasis-surface-raised); border-left: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .address-select__search-row input { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .address-select__search-row input:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__filter span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__categories button:focus { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__selection-count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__search-panel { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .address-select__show-contacts:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .address-select__show-contacts:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .address-select__add-contact:hover { color: var(--oasis-accent); }

  /* OASIS_Web3/vue/component/businessselector/BusinessSelector.css */
  :where(html[data-oasis-theme="dark"]) .business-selector--readonly .business-selector__role { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-input,
  :where(html[data-oasis-theme="dark"]) .business-selector__contact-input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__contact-input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-input:focus { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .business-selector__contact-input:focus { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .business-selector__clear { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__clear:hover { border-color: var(--oasis-accent); background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-wrap--readonly .business-selector__business-input { border-color: var(--oasis-border); background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-wrap--readonly .business-selector__contact-input { border-color: var(--oasis-border); background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-wrap--readonly .business-selector__business-input::placeholder { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-wrap--readonly .business-selector__contact-input::placeholder { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__browse { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .business-selector__menu,
  :where(html[data-oasis-theme="dark"]) .business-selector__role-menu { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-menu { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .business-selector__menu-option,
  :where(html[data-oasis-theme="dark"]) .business-selector__role-menu button { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-menu .business-selector__menu-option { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__autocomplete-menu .business-selector__menu-status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__menu-option:hover,
  :where(html[data-oasis-theme="dark"]) .business-selector__menu-option--active,
  :where(html[data-oasis-theme="dark"]) .business-selector__role-menu button:hover { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .business-selector__menu-option small,
  :where(html[data-oasis-theme="dark"]) .business-selector__card small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__menu-status,
  :where(html[data-oasis-theme="dark"]) .business-selector__empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__dialog-body { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__dialog-result-summary { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__dialog-result-summary span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__search-panel { border-left: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__search-panel-section span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .business-selector__search-panel-find input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__search-panel-find input:focus { border-color: var(--oasis-accent); background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .business-selector__search-panel-category:focus { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .business-selector__card { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-choice,
  :where(html[data-oasis-theme="dark"]) .business-selector__business-heading { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-choice:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-choice-heading em { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .business-selector__business-choice--selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .business-selector__show-contacts { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .business-selector__contacts button { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .business-selector__contacts button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .business-selector__add-contact:hover { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .business-selector__truncated { color: var(--oasis-text-muted); }

  /* OASIS_Web3/vue/component/contactselector/ContactSelector.css */
  :where(html[data-oasis-theme="dark"]) .contact-selector__input { border: 1px solid var(--oasis-border) !important; background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .contact-selector__input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__input:focus { border-color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"]) .contact-selector__input:disabled { border-color: var(--oasis-border) !important; background: var(--oasis-surface-alt) !important; }
  :where(html[data-oasis-theme="dark"]) .contact-selector__clear { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__clear:hover { border-color: var(--oasis-accent); background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__browse { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__browse:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-option { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-option:hover,
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-option--active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-option span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-option small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__menu-status,
  :where(html[data-oasis-theme="dark"]) .contact-selector__empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__dialog-header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__dialog-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__dialog-body { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__dialog-summary { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__dialog-summary span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card--selected { border-color: var(--oasis-accent); background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card-heading em { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__card small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__search-panel { border-left: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__search-panel input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .contact-selector__search-panel input:focus { border-color: var(--oasis-accent); }

  /* OASIS_Web3/vue/component/reminder/ReminderDialog.css */
  :where(html[data-oasis-theme="dark"]) .reminder-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .reminder-textarea { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .reminder-datefield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .reminder-combobox { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .reminder-reply { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .reminder-reply:hover { color: var(--oasis-text); }

  /* OASIS_Web3/vue/component/user/UserColorIconSelector.css */
  :where(html[data-oasis-theme="dark"]) .user-icon-color-container:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .user-color-picker-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .user-color-picker-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .user-color-picker-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .user-color-picker-option { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .user-color-picker-checkbox { border: 1.5px solid var(--oasis-border); background: var(--oasis-surface); }

  /* OASIS_Web3/vue/configurator/Configurator.css */
  :where(html[data-oasis-theme="dark"]) #configuratorSeriesDialog.popup-container,
  :where(html[data-oasis-theme="dark"]) #configuratorOptionDialog.popup-container,
  :where(html[data-oasis-theme="dark"]) #configuratorRoutingDialog.popup-container { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) #configuratorSeriesDialog .popup-container-label,
  :where(html[data-oasis-theme="dark"]) #configuratorOptionDialog .popup-container-label,
  :where(html[data-oasis-theme="dark"]) #configuratorRoutingDialog .popup-container-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-routing-body { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .configurator-field-panel,
  :where(html[data-oasis-theme="dark"]) .configurator-catalog-panel { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .configurator-field-label,
  :where(html[data-oasis-theme="dark"]) .configurator-section-heading,
  :where(html[data-oasis-theme="dark"]) .configurator-option-heading { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-series-row { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-series-row:hover,
  :where(html[data-oasis-theme="dark"]) .configurator-series-row-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .configurator-empty-state { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .configurator-input-action .ntextfield,
  :where(html[data-oasis-theme="dark"]) .configurator-option-input .ntextfield,
  :where(html[data-oasis-theme="dark"]) .configurator-option-input .ncombobox { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-input-action .ntextfield:focus,
  :where(html[data-oasis-theme="dark"]) .configurator-option-input .ntextfield:focus,
  :where(html[data-oasis-theme="dark"]) .configurator-option-input .ncombobox:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .configurator-status { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .configurator-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .configurator-tab:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .configurator-tab-active { border-bottom-color: var(--oasis-primary); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-option-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .configurator-choice input:disabled + label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .configurator-configurations th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .configurator-secondary-action.nbutton { background: var(--oasis-surface); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .configurator-secondary-action.nbutton:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .configurator-primary-action.nbutton { background: var(--oasis-primary); border: 1px solid var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .configurator-primary-action.nbutton:hover { background: var(--oasis-primary-hover); border-color: var(--oasis-accent); }

  /* OASIS_Web3/vue/envelopeviewer/EnvelopeViewerDialog.css */
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-results { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-card + .envelope-comparison-card { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-card-header { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-status.is-unsupported { color: var(--oasis-text-muted); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-line { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .envelope-comparison-line.is-unsupported .envelope-comparison-line-marker { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-dialog-status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .envelope-message-content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-content-dialog { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .envelope-content-frame { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-content-text { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-content-footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-search-field label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-table-frame { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-table { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-table th { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-table td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-table tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .envelope-po-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .envelope-progress-message { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .envelope-progress-track { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .envelope-progress-stats { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .envelope-mapper-dialog section > .nvcp .nvcp { border-color: var(--oasis-border) !important; }

  /* OASIS_Web3/vue/stockStatus/StockStatus.css */
  :where(html[data-oasis-theme="dark"]) .stock-status-popup > .nvcp > div:first-of-type label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-filter-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .stock-status-form-field > label,
  :where(html[data-oasis-theme="dark"]) .stock-status-output-field > label,
  :where(html[data-oasis-theme="dark"]) .stock-status-notes-panel > label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-input-action .ntextfield,
  :where(html[data-oasis-theme="dark"]) .stock-status-manufacturer-field .ncombobox,
  :where(html[data-oasis-theme="dark"]) .stock-status-output-field .ncombobox { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-input-action .ntextfield:focus,
  :where(html[data-oasis-theme="dark"]) .stock-status-manufacturer-field .ncombobox:focus,
  :where(html[data-oasis-theme="dark"]) .stock-status-output-field .ncombobox:focus,
  :where(html[data-oasis-theme="dark"]) .stock-status-notes:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .stock-status-update-action.nbutton,
  :where(html[data-oasis-theme="dark"]) .stock-status-secondary-action.nbutton { background: var(--oasis-surface); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .stock-status-update-action.nbutton:hover,
  :where(html[data-oasis-theme="dark"]) .stock-status-secondary-action.nbutton:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .stock-status-primary-action.nbutton { background: var(--oasis-primary); border: 1px solid var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .stock-status-primary-action.nbutton:hover { background: var(--oasis-primary-hover); border-color: var(--oasis-accent); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .stock-status-selected-catalog { background: var(--oasis-selected); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .stock-status-selected-catalog strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-empty-state { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .stock-status-default-warehouse { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-loading-overlay { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"]) .stock-status-loading-ring { border: solid 5px var(--oasis-border); border-bottom-color: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .stock-status-loading-overlay span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .stock-status-tab-header { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .stock-status-tab-header:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .stock-status-tab-header.tab-header-selected { border-bottom-color: var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .stock-status-checkbox-field { color: var(--oasis-text-muted); }

  /* OASIS_Web3/wf/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis_standard { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:disabled { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-text.success { color: var(--oasis-accent-green); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-text.error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-text { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th { color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .task-list-table .column-resizer::after { background: color-mix(in srgb, var(--oasis-surface) 58%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .task-list-table th:hover .column-resizer::after,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .task-list-table .column-resizer:hover::after { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .cell-input:disabled,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .cell-select:disabled,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .cell-date:disabled,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .notes-preview:disabled { color: var(--oasis-text-muted); background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .type-find-option:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .type-find-option:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkmark-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkmark-toggle.checked { color: var(--oasis-accent-green); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .notes-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .notes-preview.empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checklist-remove-button { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .link-button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .new-task-row td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .template-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #templateModal .modal-table-wrap th + th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #templateModal .modal-table-wrap td + td { border-left: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #templateModal .modal-table-wrap tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-tab { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-tab.active { color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .cell-textarea:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-year-list { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-help { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-year-list { border-bottom: 1px solid var(--oasis-border); }

  /* OASIS_Web3/workgroup/awi/nww/js/components/WorkgroupSelect.css */
  :where(html[data-oasis-theme="dark"]) .workgroup-selector .business-selector__search-panel { border-bottom: 1px solid var(--oasis-border); }

  /* Orders/css/invoice-editor.css */
  :where(html[data-oasis-theme="dark"]) .invoice-editor-nav { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .invoice-editor-resolved-dispute { background: var(--oasis-surface) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .invoice-editor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .invoiceeditor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .router-link-active { color: var(--oasis-text); background: padding-box var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .qeheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qetotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedtotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .invoice-bom-quick-lot-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-toggle { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-toggle:hover { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab-active::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-card-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row span:last-child { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row-strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-general-resell-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .invoice-general-resell-field .Editor_field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .invoice-general-resell-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .invoice-general-resell-flags { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tabs { border-bottom: 1px solid var(--oasis-border); }

  /* Orders/css/multiple-commissioned-entry.css */
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__menu-bar { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__settings input:not([type="checkbox"]),
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__settings select,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table input:not([type="checkbox"]) { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__settings input:not([type="checkbox"]):disabled,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__settings select:disabled,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table input:not([type="checkbox"]):disabled { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table-frame { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table-frame--disabled .multiple-commissioned-entry__table tbody tr:hover td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table-frame--disabled .multiple-commissioned-entry__table tbody tr:hover td.multiple-commissioned-entry__cell--readonly { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table td { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table tbody tr { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table tbody tr td.multiple-commissioned-entry__cell--readonly,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table tbody tr:hover td.multiple-commissioned-entry__cell--readonly,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table tbody tr.multiple-commissioned-entry__row--selected td.multiple-commissioned-entry__cell--readonly { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table td > input[readonly]:not([type="checkbox"]),
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table td > input[readonly]:not([type="checkbox"]):hover,
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__table td > input[readonly]:not([type="checkbox"]):focus { background: var(--oasis-surface-alt); border-color: var(--oasis-accent); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__count { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__context-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__context-menu button { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__loading { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .multiple-commissioned-entry__log { color: var(--oasis-text-muted); }

  /* Orders/css/order-editor.css */
  :where(html[data-oasis-theme="dark"]) .ordereditor-nav { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .ordereditor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .router-link-active { color: var(--oasis-text); background: padding-box var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .vendorpo-option { background: color-mix(in srgb, var(--oasis-surface) 32%, transparent); }
  :where(html[data-oasis-theme="dark"]) .rma-request-dialog-instructions { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .rma-request-table-scroll { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .rma-request-table .oasis-bom-th { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .rma-request-table .oasis-bom-td { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .rma-request-table tbody:nth-of-type(even) .oasis-bom-td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"]) .rma-request-table tbody:hover .oasis-bom-td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .rma-request-reason-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-request-reason-input { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .rma-request-dialog-footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .rma-request-format label { color: var(--oasis-text-muted); }

  /* Orders/css/order-email.css */
  :where(html[data-oasis-theme="dark"]) .OrderEmail_header-poNumber { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_email-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_email-option-container:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_email-option-container-disabled { border: 1px solid var(--oasis-border); color: light-dark(graytext, var(--oasis-text-muted)); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_header-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_dialog { border: 1px var(--oasis-border) solid; border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_eyebrow,
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_panel-eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_target-count { border-left: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_format { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_status { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_status-dot { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_status--sending { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_preview-panel { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachments-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_panel-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_selected-file { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_preview { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_preview-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachments-hint { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachment { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachment:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachment--selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_file-icon { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_file-name { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_file-type { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_remove { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_attachments-empty { border: 1px dashed var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_note { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_note strong { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .OrderSendDirect_preview-panel { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_CustomerOption_quoted-price { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_customer-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_customer-contact-email { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_separator { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-card-recipients { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-card-header { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-card { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-field { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_message-body { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_bottom-border { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_search-field-selected-item { color: var(--oasis-text); background: var(--oasis-selected); border: 1px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_search-field-remove-item-btn { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_search-field-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_dropdown { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_dropdown_item { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_sent-status { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-pagenumber-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-card-header { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .OrderEmail_attachment-download-menu { background: var(--oasis-surface-raised); }

  /* Orders/css/rma-response.css */
  :where(html[data-oasis-theme="dark"]) .rma-response-dialog { color: var(--oasis-text); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .rma-response-tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .rma-response-tab { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-response-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .rma-response-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-response-select,
  :where(html[data-oasis-theme="dark"]) .rma-response-cell,
  :where(html[data-oasis-theme="dark"]) .rma-response-restock-input,
  :where(html[data-oasis-theme="dark"]) .rma-response-terms-input { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .rma-response-select { border-color: var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-response-table-wrap { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .rma-response-th,
  :where(html[data-oasis-theme="dark"]) .rma-response-td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .rma-response-th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-response-table tbody tr:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .rma-response-td:focus-within { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .rma-response-checkbox { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .rma-response-checkbox:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .rma-response-unit>span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .rma-response-table .rma-response-cell:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .rma-restock-value { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .rma-restock-value>span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .rma-response-footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .rma-response-field-control.ntextfield,
  :where(html[data-oasis-theme="dark"]) .rma-response-date-input.datefield-input { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .rma-response-field-control.ntextfield:hover,
  :where(html[data-oasis-theme="dark"]) .rma-response-select:hover { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .rma-response-field-control.ntextfield:focus,
  :where(html[data-oasis-theme="dark"]) .rma-response-select:focus { border-color: var(--oasis-accent); outline: 2px solid var(--oasis-accent); }

  /* Orders/invoices/awi/editor/Invoices.css */
  :where(html[data-oasis-theme="dark"]) .qeheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qetotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedtotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .invoice-bom-quick-lot-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-toggle,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-toggle:hover,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-toggle:hover { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-panel,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-tab,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-tab-active,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-tab-active::after,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tab-active::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-total-card,
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-total-card-title,
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-card-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-total-row,
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-total-row span:last-child,
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row span:last-child { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-total-row-strong,
  :where(html[data-oasis-theme="dark"]) .invoice-red-total-row-strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .resell-invoice-totals-tabs,
  :where(html[data-oasis-theme="dark"]) .invoice-red-totals-tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-toggle:hover { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-tab-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-tab-active::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-total-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-total-card-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-total-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-total-row span:last-child { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-total-row-strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .commissioned-invoice-totals-tabs { border-bottom: 1px solid var(--oasis-border); }

  /* Orders/invoices/awi/listing/vue/invoices-listing.css */
  :where(html[data-oasis-theme="dark"]) .listing-dialog__selection-summary { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__tabs > button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__tabs > button[aria-selected="true"] { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__bom th { color: var(--oasis-text); background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__resize-handle::after { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__bom tbody { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__row-action { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__panel { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .listing-dialog__report-save-choice { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }

  /* Orders/invoices/awi/reports/aged_commissions/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status:not(:empty) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning:not(:empty) { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-card strong { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }

  /* Orders/invoices/awi/reports/aged_invoices/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status:not(:empty) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning:not(:empty) { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-card strong { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }

  /* Orders/invoices/awi/reports/collected_tax/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-choice:has(input[type="radio"]:checked) .mode-option { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status:not(:empty) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning:not(:empty) { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-card strong { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }

  /* Orders/invoices/awi/reports/days_to_paid/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status:not(:empty) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning:not(:empty) { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }

  /* Orders/invoices/awi/reports/invoiceable/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:hover:not(:disabled) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab:hover:not(:disabled),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .transaction-link:focus-visible { color: var(--oasis-accent); }

  /* Orders/invoices/awi/reports/pat_aging/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis_standard { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .header-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .summary-card.next { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .summary-card-month { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) table { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) thead th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-key { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) thead .row-key { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .source-col { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) thead .source-col { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover .row-key { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:hover .source-col { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .total-row td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .total-row .row-key { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .total-row .source-col { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-header { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .close-btn { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tx-summary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tx-section summary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tx-table th { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tx-table tr.clickable:hover td { background: var(--oasis-hover); }

  /* Orders/orders/awi/editor/Orders.css */
  :where(html[data-oasis-theme="dark"]) .qesection { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qeheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qetotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedheader { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .qedtotal { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .order-editor-totals-toggle { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .order-editor-totals-toggle:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .order-editor-totals-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .order-editor-totals-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .order-editor-total-row { color: var(--oasis-text-muted); }

  /* Orders/orders/awi/editor/create/NewSubmittalLike.css */
  :where(html[data-oasis-theme="dark"]) .optionBubble { border: var(--oasis-border); background: var(--oasis-surface); }

  /* Orders/orders/awi/reports/shipping_performance/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status:not(:empty),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-status:not(:empty) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status.is-warning:not(:empty),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-status.is-warning:not(:empty) { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .autocomplete-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .autocomplete-empty { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-cell:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-weekday:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th button:hover:not(:disabled) { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .product-drill-trigger:hover .truncate { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .metric-chip { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .group-list-value { color: var(--oasis-accent); }

  /* Payments/css/payment-editor.css */
  :where(html[data-oasis-theme="dark"]) .paymenteditor-nav { color: var(--oasis-text); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .paymenteditor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .paymenteditor-dispute { background-color: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .router-link-active { color: var(--oasis-text); background: padding-box var(--oasis-surface); }

  /* Payments/css/payment-email.css */
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_header-checkNumber { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_email-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_email-option-container:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_email-option-container-disabled { border: 1px solid var(--oasis-border); color: light-dark(graytext, var(--oasis-text-muted)); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_header-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_dialog { border: 1px var(--oasis-border) solid; border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_CustomerOption_quoted-price { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_customer-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_customer-contact-email { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_separator { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-card-recipients { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-card-header { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-card { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-field { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_message-body { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_bottom-border { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_search-field-selected-item { color: var(--oasis-text); background: var(--oasis-selected); border: 1px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_search-field-remove-item-btn { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_search-field-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_dropdown { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_dropdown_item { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_sent-status { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-pagenumber-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-card-header { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .PaymentEmail_attachment-download-menu { background: var(--oasis-surface-raised); }

  /* Payments/payments/awi/accounting/component/accounting-periods.css */
  :where(html[data-oasis-theme="dark"]) .accounting-periods { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__menu { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__menu .is-disabled > a { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__toolbar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__separator { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__table-frame { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__count { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .accounting-periods__notice--status { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .accounting-period-form__field { color: var(--oasis-text-muted); }

  /* Payments/payments/awi/batch/batch-editor.css */
  :where(html[data-oasis-theme="dark"]) #listing-batch-editor .listing-dialog__batch-tabs { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) #listing-batch-editor .listing-dialog__batch-tabs button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) #listing-batch-editor .listing-dialog__batch-tabs button[aria-selected="true"] { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) #listing-batch-editor .listing-dialog__batch-table th { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) #listing-batch-editor .listing-dialog__batch-row-actions button { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }

  /* Payments/payments/awi/editor/PaymentDownloadDialog.css */
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__spinner { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__description { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__details,
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__options { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__details span,
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__options label > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__message,
  :where(html[data-oasis-theme="dark"]) .payment-download-dialog__warnings { background: var(--oasis-surface-raised); }

  /* Payments/payments/awi/reports/c4a/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .running-status { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .running-status__text { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button.is-active { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tab-button:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr:nth-child(even) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .sort-indicator { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { color: var(--oasis-accent); }

  /* Payments/payments/awi/reports/inside_spr/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button.download:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-panel { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tfoot td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .table-total-label { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr.data-row:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) tbody tr.data-row.is-selected td { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ncal { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-tabs { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-tab.is-active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-year-list { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-rel,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-prev-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-next-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-weekend,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-weekday { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-rel:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-prev-month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-next-month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-weekday:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-prev-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-next-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-today { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token__remove { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .token__remove:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-option:hover { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal-year-list { border-bottom: 1px solid var(--oasis-border); }

  /* Quotes/css/create-pos.css */
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .quote-to-order-tab-link:hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .nbutton,
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .quote-to-order-dialog-actions .nbutton { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .nbutton:not(:disabled):hover { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .nbutton:disabled { border-color: var(--oasis-border); background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs .quote-to-order-mfg-orders a,
  :where(html[data-oasis-theme="dark"]) #quoteToOrderOpenDialog .quote-to-order-open-links a { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) #quoteCreatePOs #quoteCustomer-table td { border-bottom: 1px solid var(--oasis-border); }

  /* Quotes/css/project-editor.css */
  :where(html[data-oasis-theme="dark"]) .ProjectEditor_totals { background-color: var(--oasis-surface); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .ProjectEditor_bom-filter-message { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .ProjectOverview_phase-card { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .ProjectOverview_phase-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .ProjectOverview_phase-card-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .ProjectOverview_phase-card-header-meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .ProjectOverview_phase-card-meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .projecteditor-textarea { color: var(--oasis-text); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .projecteditor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .router-link-active { color: var(--oasis-text); background: padding-box var(--oasis-surface); }

  /* Quotes/css/quote-email.css */
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_header-quotename { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_email-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_email-option-container:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_header-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_manual-contact-section { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_manual-contact-section legend { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_dialog { border: 1px var(--oasis-border) solid; border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteForecast_result { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_card { border: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_eyebrow,
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_panel-eyebrow { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_status { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_status-dot { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_status--sending { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_result { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_preview-panel { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_attachments-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_panel-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_selected-file { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_preview { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_preview-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_attachments-hint { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_attachment { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_attachment:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_file-icon { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_file-name { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_file-type { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_remove { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_attachments-empty { border: 1px dashed var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_note { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_note strong { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_footer { border-top: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .QuoteSendDirect_preview-panel { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_CustomerOption_quoted-price { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_customer-option-container { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_customer-contact-email { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_separator { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-card-recipients { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-card-header { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-card { color: var(--oasis-text); background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-field { background-color: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_message-body { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_bottom-border { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_search-field-selected-item { color: var(--oasis-text); background: var(--oasis-selected); border: 1px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_search-field-remove-item-btn { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_search-field-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_dropdown { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_dropdown_item { border-bottom-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_sent-status { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-pagenumber-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-card-header { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-card.router-link-active { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .QuoteEmail_attachment-download-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) #quoteJustQuotedDialog .popup-container-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) #quoteJustQuotedDialog .QuoteEmail_just-quoted-body { color: var(--oasis-text); }

  /* Quotes/css/salesview-bom.css */
  :where(html[data-oasis-theme="dark"]) .QuoteSVBom_header { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .QuoteSVBom_row-meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .QuoteSVBom_row { border: 2px solidvar(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .QuoteSVBom_option-row { background: var(--oasis-surface); color: #fff; }
  :where(html[data-oasis-theme="dark"]) .QuoteSVBom_totals-row { background: var(--oasis-surface); color: #fff; }

  /* Quotes/projects/awi/backlog/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-group { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-group-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .toggle .slider { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .toggle .slider::before { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .toggle .toggle-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .item { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .backlog-table { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .backlog-table thead th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .backlog-table tbody th { background: var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-total { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .close-btn { background: var(--oasis-surface); }

  /* Quotes/projects/awi/editor/Common.css */
  :where(html[data-oasis-theme="dark"]) .card2-inner { background: var(--oasis-surface); border: var(--oasis-border); }

  /* Quotes/projects/awi/editor/bom/codex/ChatGPTDialog.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chatgpt-dialog-overlay { background-color: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chatgpt-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chatgpt-dialog-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chatgpt-dialog-rule { background: var(--oasis-surface-raised); }

  /* Quotes/projects/awi/editor/bom/codex/Configurator.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-direct-dialog { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-direct-close::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-direct-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-direct-loading { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup .popup-container-content,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup .popup-content,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup [class*="popup-content"] { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup > .popup-container { background: var(--oasis-surface-raised) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup .popup-container-label { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-popup .popup-container-close:hover { background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-dialog { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-control-panel { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-section-title,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-option-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-manufacturer-selection { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-section { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-section-title { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-option-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-choice { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-choice:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-choice { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-choice:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-choice:focus-visible { background: var(--oasis-hover); border-color: var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-series-choice-selected { background: var(--oasis-selected); border-color: var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-catalog-input { background: var(--oasis-surface-raised) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-spec-preview-overlay { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-spec-preview-header { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-spec-preview-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-spec-preview-close { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-spec-preview-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-actions { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-actions .nbutton,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-control-panel .nbutton { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-actions .nbutton:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .configurator-control-panel .nbutton:hover { background: var(--oasis-hover) !important; }

  /* Quotes/projects/awi/editor/bom/codex/CustomerTab.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #customertab { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .customer-tab-saving-status { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .customer-tab-action-row { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .customer-tab-action-row > label:not(.oasis_nav_gap) { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .customer-tab-action-row > label:not(.oasis_nav_gap):first-child { border-bottom: 3px solid var(--oasis-primary) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .customer-tab-action-row > label:not(.oasis_nav_gap):hover { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-list { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-list::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customercustomer,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-counts { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer[style*="background-color: rgb(235, 236, 243)"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customercustomer[style*="background-color: rgb(235, 236, 243)"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-counts[style*="background-color: rgb(235, 236, 243)"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer[style*="background-color: #ebecf3"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customercustomer[style*="background-color: #ebecf3"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-counts[style*="background-color: #ebecf3"] { background: var(--oasis-surface) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer h3 { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_container-header,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_field-label { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_field-data,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer label:not(.Editor_container-header):not(.Editor_field-label) { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > .nvcp > .nhcp,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > .nhcp > .nvcp,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .nvcp[style*="border"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .nhcp[style*="border"] { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextarea { border: 1px solid var(--oasis-border) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomer-table .tableheader { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomer-table .tabledata { border-bottom: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > div > .nhcp:has(> .tabs-container) { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > div > .nhcp:has(> .nvcp) > .nvcp { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > div > .nhcp:has(> .nvcp) > .nvcp > .nhcp:first-child { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer > div > .nhcp:has(> .nvcp) > .nvcp > .nlbl:first-child { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_field-label { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_field-data { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .Editor_field-data[style*="font-size: 18px"] { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ncombobox { background: var(--oasis-surface-raised) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextfield:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ncombobox:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextarea:focus { border-color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .tabs-container > div:first-child { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .tab-header { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .tab-header[data-selected="true"] { border-bottom-color: var(--oasis-accent); color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer .ntextarea { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomer-table,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomerCounts-table { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomerCounts-table .tableheader { background: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotecustomer-viewer #quoteCustomerCounts-table .tabledata { border-bottom: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quoteCustomerCounts-table .counts-customer-column .ntextfield { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quoteCustomerCounts-table .counts-customer-column .ntextfield:hover { border-color: var(--oasis-accent) !important; background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quoteCustomerCounts-table .counts-customer-column .ntextfield:focus { background: var(--oasis-hover) !important; border-color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-action { background: var(--oasis-surface-alt) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer > div,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor > div,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer > div,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor > div,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker) { background: var(--oasis-surface) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer > div::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor > div::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker)::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer > div::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor > div::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker)::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer .Editor_field-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor .Editor_field-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker) .Editor_field-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer .Editor_field-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor .Editor_field-label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker) .Editor_field-label { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer > div > div:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor > div > div:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer > div > div:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor > div > div:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer > div > div:last-child .nbutton:first-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor > div > div:last-child .nbutton:first-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child .nbutton:first-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer > div > div:last-child .nbutton:first-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor > div > div:last-child .nbutton:first-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child .nbutton:first-child { background: var(--oasis-primary) !important; border-color: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeCustomer > div > div:last-child .nbutton:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-removeContractor > div > div:last-child .nbutton:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child .nbutton:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeCustomer > div > div:last-child .nbutton:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-removeContractor > div > div:last-child .nbutton:last-child,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent #quotenav-addContractor > div:not(.quote-customer-picker) > div:last-child .nbutton:last-child { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker { background: var(--oasis-surface) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-title,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter { background: var(--oasis-surface); border: 1px solid var(--oasis-border) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter .nlbl,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter .nlbl { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter .ntextfield { border: 1px solid var(--oasis-border) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter .ntextfield:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter .ntextfield:focus { border-color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-card,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-card { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-card .nlbl,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-results > div > .nlcblbl .nlbl,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-card .nlbl,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-results > div > .nlcblbl .nlbl { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-card > .nvcp > label:not(.nlcblbl .nlbl),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-card .nlcb + label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-card .nlcb ~ label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-card > .nvcp > label:not(.nlcblbl .nlbl),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-card .nlcb + label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-card .nlcb ~ label { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker input.link,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker input.link { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter input.link,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter input.link { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-filter input.link:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-filter input.link:hover { background: var(--oasis-hover) !important; color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-footer,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-footer .nbutton-primary,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-footer .nbutton-primary { background: var(--oasis-primary) !important; border-color: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker-footer .nbutton:not(.nbutton-primary),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker-footer .nbutton:not(.nbutton-primary) { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action .quote-customer-picker .centered-column-container,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #CustomerTabContent .quote-customer-picker .centered-column-container { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav { background: var(--oasis-surface-alt) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav > div { background: var(--oasis-surface) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav > div > .nvcp > .nvcp:first-child > .nlbl:first-child { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .nlbl[style*="25px"] { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav > div > .nvcp > .nvcp:first-child > .nhcp > .nvcp { background: var(--oasis-surface); border: 1px solid var(--oasis-border) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav > div > .nvcp > .nvcp:first-child > .nhcp > .nvcp > .nlbl:first-child { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .nhcp[style*="align-items: center"] .nlbl { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .ntextfield { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .ntextfield:focus { border-color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .Editor_nav-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .Editor_nav-container .nbutton-primary { background: var(--oasis-primary) !important; border-color: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav .Editor_nav-container .nbutton:not(.nbutton-primary) { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quotenav-action #contact-quickcreate-nav #qcc-save { background: var(--oasis-surface) !important; }

  /* Quotes/projects/awi/editor/bom/codex/FilterMaterial.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup-close { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-option { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-option.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-option-type { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup-footer .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .filter-material-popup-footer .nbutton-primary { background: var(--oasis-primary); }

  /* Quotes/projects/awi/editor/bom/codex/General.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .details-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .details-card .general-control,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .details-card .general-display-value { background: var(--oasis-surface-raised); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .details-person-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-section { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-control,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-display-value { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-rank-select-list { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-rank-select-option { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-rank-select-option:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-rank-select-option[aria-selected="true"] { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-list-pane,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-list-role { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-list-item { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-list-item-selected { background: var(--oasis-selected); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-badge-3 { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-menu-trigger,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-menu-trigger:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-menu-trigger:focus { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-name { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-id { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-fields .general-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-fields .general-control { border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-detail-empty { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-card,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-card .general-control,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-card .general-control { background: var(--oasis-surface-raised); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-remove,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-remove { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-add,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-add { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-specifier-add:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-add:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-sales-account-total { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-confirm-dialog { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-confirm-message { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-action-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-action-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-action-secondary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-action-secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-card { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-card .general-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-card .general-control { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-remove,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-remove:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-specifiers .general-specifier-remove:focus { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-card { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-card .general-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-card .general-control { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-remove,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-remove:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-remove:focus { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-add,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-add:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .general-phase-content-sales-accounts .general-sales-account-add:focus { background: var(--oasis-primary-hover); color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-dropdown-button,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-dropdown-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-dropdown-button:focus { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-dropdown-button:hover::before,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-dropdown-button:focus::before { border-top-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-results { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-result { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-result:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-find-result:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-phase-content-search-tags { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-close:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-close:focus { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-close:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-input { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-input:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-check { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-check input { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tag-check input:disabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tags-add { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .general-search-tags-add:disabled { color: var(--oasis-text-muted); }

  /* Quotes/projects/awi/editor/bom/codex/Manufacturers.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #bidEditorManufacturerTab > div > .nhcp:first-child { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #bidEditorManufacturerTab > div > .nhcp:first-child label:not(.oasis_nav_gap) { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #bidEditorManufacturerTab > div > .nhcp:first-child label.router-link-active { border-bottom: 3px solid var(--oasis-primary) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotemanufacturertab,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotebyoptiontab { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent table { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .tableheader,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent th { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .tabledata,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent td { background: var(--oasis-surface) !important; border-bottom: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent tbody tr:hover .tabledata,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent tbody tr:hover td { background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent select,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent input[type="text"] { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .nbutton,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent input[type="button"].nbutton { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotemanufacturer-WWW { background: var(--oasis-surface-alt) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-www-dialog { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-www-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-www-dialog .popup-container-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-www-content > div { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-www-content a.link { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotemanufacturer-Spec { background: var(--oasis-surface-alt) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-dialog { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-dialog .popup-container-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-content th { background: var(--oasis-surface) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-content td { border-bottom: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-footer .nbutton { background: var(--oasis-primary) !important; border-color: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent .quote-manufacturer-spec-footer .nbutton:disabled { background: var(--oasis-surface-alt) !important; border-color: var(--oasis-border) !important; color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay { background: rgb(0 0 0 / 65%) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-www-dialog,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-dialog { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-www-title,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .popup-container-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-www-content > div { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-www-content a.link { color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-content th { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-content td { border-bottom: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay select,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay input[type="text"] { background: var(--oasis-surface-raised) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-footer .nbutton { background: var(--oasis-primary) !important; border-color: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-manufacturer-dialog-overlay .quote-manufacturer-spec-footer .nbutton:disabled { background: var(--oasis-surface-alt) !important; border-color: var(--oasis-border) !important; color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotebyoptiontab .nstc { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ManufacturersContent #quotebyoptiontab .tcIcon label { color: var(--oasis-text); }

  /* Quotes/projects/awi/editor/bom/codex/Notes.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-tab.is-active { border-bottom: 3px solid var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-info-icon { border: 1.5px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-info-icon:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-info-icon:focus-visible,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-info-icon.is-active { border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-help-popover { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-help-popover::before { border-bottom: 6px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-rewrite-action { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-rewrite-action.is-rewriting { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-clipboard-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-clipboard-button::before { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-message-select { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-textarea { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesContent .notes-textarea:focus { border-color: var(--oasis-accent); }

  /* Quotes/projects/awi/editor/bom/codex/NotesClipboard.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-editor,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-list-panel { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .ntextarea { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-icon-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-icon-button:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-list { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-actions { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #NotesClipboard .notes-clipboard-loading p { color: var(--oasis-text); }

  /* Quotes/projects/awi/editor/bom/codex/Overview.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav .oasis_nav_selected { border-bottom: 2px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav .oasis_nav_notselected { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav .oasis_nav_gap::after { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav label[data-oasis-phase-tab="true"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav .oasis_phase_count_link { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav label[data-oasis-phase-tab="true"]:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .overview-project-nav .overview-nav .oasis_phase_count_link:hover { border-color: var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) main > .overview-nav a.is-active { border-bottom: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-details-value:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-details-notes:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-details-value:disabled,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-details-notes:disabled { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-remove { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-remove:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-remove:focus-visible { border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-input { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-input:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-alias-add { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-table th { background: var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-sort-button:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-table tbody tr:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-table tbody tr:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-table tbody tr.is-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-popup-backdrop { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-title a:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .phase-title a:focus-visible { color: var(--oasis-accent); }

  /* Quotes/projects/awi/editor/bom/codex/PriceLookup.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-controls { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-context { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-table { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid th { background: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-sort-button:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid tr:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-grid tr.is-selected td { background: var(--oasis-selected) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceLookupDialog.direct-price-lookup .price-lookup-direct-empty { color: var(--oasis-text-muted); }

  /* Quotes/projects/awi/editor/bom/codex/ProjectEditor.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectEditor_totals { background-color: var(--oasis-surface); color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectEditor_bom-filter-message { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectOverview_phase-card { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectOverview_phase-card:hover { background-color: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectOverview_phase-card-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectOverview_phase-card-header-meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ProjectOverview_phase-card-meta { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .projecteditor-textarea { color: var(--oasis-text); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .projecteditor-textarea { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .router-link-active { color: var(--oasis-text); background: padding-box var(--oasis-surface); }

  /* Quotes/projects/awi/editor/bom/codex/RFQResponse.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-rfq-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-rfq-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-rfq-button:focus-visible { background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-dialog { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-header h2 { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-header p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-icon-button,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-back { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-icon-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-icon-button:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-back:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-back:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-status { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-status[data-state="loading"] { background: var(--oasis-surface); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-list-toolbar,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-line-toolbar { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-count,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-line-toolbar { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-table-wrap { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-table th { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-table td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-table tbody tr:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-list-table tbody tr[aria-selected="true"] td { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-empty strong { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-detail-view { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-card,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-notes { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-card h3,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-notes h3 { color: var(--oasis-text); background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-card dt { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-card dd { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-field span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse select { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse select:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-card label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-line-toolbar label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-check-grid label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-wide-option,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-mode-options label,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-option-list label { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-check-grid label:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-wide-option:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-mode-options label:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-option-list label:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-mode-options { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-notes p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-lines-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-child-line td { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-match-child { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-match-new { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .rfq-response-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .nbutton { background: var(--oasis-surface) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RFQResponse .nbutton:hover { background: var(--oasis-hover) !important; }

  /* Quotes/projects/awi/editor/bom/codex/RepriceLines.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .reprice-lines-section { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .reprice-lines-section-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #RepriceLines .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .reprice-lines-manufacturer-selector-dialog,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .reprice-lines-message-card { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .reprice-lines-manufacturer-selector-row { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .reprice-lines-manufacturer-selector-count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .reprice-lines-manufacturer-selector-empty { color: var(--oasis-text-muted); }

  /* Quotes/projects/awi/editor/bom/codex/SpreadProfitDialog.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .spread-profit-control-card { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .bom-selected-row-count-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ntextfield { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ncombobox:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .ntextfield:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog .nbutton-primary,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #SpreadProfitDialog input[name="TF_Spread"] { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .spread-profit-manufacturer-selector-titlebar .nlbl { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .popup-container-close { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .popup-container-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .spread-profit-manufacturer-selector-row:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .spread-profit-manufacturer-selector-count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #spreadProfitManufacturerSelector .spread-profit-manufacturer-selector-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .charge-manager-control-card { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .bom-selected-row-count-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ntextfield { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ncombobox:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .ntextfield:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog .nbutton-primary,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChargeManagerDialog input[name="TF_ChargeManagerUpdate"] { background: var(--oasis-primary); }

  /* Quotes/projects/awi/editor/bom/codex/StockStatusDialog.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .stock-status-controls { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .stock-status-bom-container { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .ncombobox { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .ncombobox:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusDialog .stock-status-loading p { color: var(--oasis-text); }

  /* Quotes/projects/awi/editor/bom/codex/StockStatusOneItem.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .stock-status-one-controls { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ntextfield { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ncombobox:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .ntextfield:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .stock-status-one-bom-container { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #StockStatusOneItem .stock-status-one-loading p { color: var(--oasis-text); }

  /* Quotes/projects/awi/editor/bom/codex/Workgroup.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .workgroup-section { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .workgroup-section-title { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .ncombobox { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Workgroup .ncombobox:focus { border-color: var(--oasis-accent); }

  /* Quotes/projects/awi/editor/bom/codex/bom.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tippy-box { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tippy-arrow { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis-webgl-bom { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis-webgl-bom-loading { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis-bom-cell-editor input,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .oasis-bom-cell-editor textarea { outline: 1px solid var(--oasis-border); caret-color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #Content,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #drop-drag-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomcontainer { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-build-loading-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-build-loading-card p { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-build-loading-spinner { border: 3px solid var(--oasis-border); border-top-color: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-checkpoint-field { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-checkpoint-field .ntextfield { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .save-checkpoint-field .ntextfield:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-table { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-grid th { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-grid td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-grid tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .checkpoint-direct-row:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .checkpoint-direct-row:focus td { background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .price-history-direct-message { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .checkpoint-dialog.direct-price-history .nbutton-primary { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent { background: var(--oasis-surface); color: var(--oasis-text); }
  html:where([data-oasis-theme="dark"][data-oasis-embedded]),
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body.bom-contained-scroll #Content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent form { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .oasis_top.oasis_standard { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .nbc_west .nhcp:first-child .oasis_top { color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .nbc_west .nhcp:nth-child(2) .oasis_top { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child::before { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child .oasis_nav_notselected { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child .oasis_nav_gap::after { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child .oasis_nav_selected { border-bottom: 2px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child .oasis_quote_type_label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2)::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) .oasis_nav_gap[data-oasis-bid-list-divider="true"] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) .oasis_nav_notselected,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) .oasis_nav_selected { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) label:first-child { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) .oasis_nav_selected { border-bottom: 2px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) .oasis_nav_notselected:hover { background: var(--oasis-surface-alt); border-color: var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .bid-editor-local-tabs .oasis_nav_notselected,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .bid-editor-local-tabs .oasis_nav_selected { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .bid-editor-local-tabs label:first-child { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .bid-editor-local-tabs .oasis_nav_selected { border-bottom: 2px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .bid-editor-local-tabs .oasis_nav_notselected:hover { background: var(--oasis-selected); border-color: var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:not(:first-child) .oasis_nav_selected { border-bottom: 2px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-phase-tab="true"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-bid-tab="true"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_phase_count_link { background: var(--oasis-surface) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-phase-tab="true"].oasis_nav_selected,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-bid-tab="true"].oasis_nav_selected { background: var(--oasis-selected) !important; border: 1.5px solid var(--oasis-accent) !important; color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-phase-tab="true"]:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav label[data-oasis-bid-tab="true"]:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_phase_count_link:hover { border-color: var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child label[data-oasis-phase-tab="true"].oasis_nav_selected { background: var(--oasis-selected) !important; border: 1.5px solid var(--oasis-accent) !important; color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child label[data-oasis-phase-tab="true"],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child .oasis_phase_count_link,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) label[data-oasis-bid-tab="true"] { background: var(--oasis-surface-alt) !important; border: 1px solid var(--oasis-border) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:first-child label[data-oasis-phase-tab="true"].oasis_nav_selected,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_nav .oasis_nav:nth-child(2) label[data-oasis-bid-tab="true"].oasis_nav_selected { background: var(--oasis-surface-alt) !important; border: 1.5px solid var(--oasis-accent) !important; color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_editor-data { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-title-main { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-title-project { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-control { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-control:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-control:focus { background-color: var(--oasis-primary-hover); }
  html:where([data-oasis-theme="dark"][data-oasis-embedded]).oasis-bom-readonly #TopContent .topcontent-summary-control,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-control[readonly],
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-control:disabled { color: var(--oasis-text); }
  html:where([data-oasis-theme="dark"][data-oasis-embedded]).oasis-bom-readonly #TopContent .topcontent-readonly-field:not([type="hidden"]) { background: var(--oasis-surface-alt); border-color: var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-summary-value { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-popup-close { background: var(--oasis-surface-raised); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent #null-tab-0 { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_editor-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .form-control.input { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-date-display { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-date-footer,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .flatpickr-calendar .topcontent-date-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .topcontent-date-apply,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .flatpickr-calendar .topcontent-date-apply { background: var(--oasis-primary); border: 1px solid var(--oasis-primary); color: #fff; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_totals { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_totals .totals-summary-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_totals label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_totals .nvcp:first-child label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .ProjectEditor_totals .nvcp label:first-child { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-row-hit { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-row-hit:hover { background: var(--oasis-primary-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-row-remove { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-row-remove:hover { border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-settings-button { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-settings-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .totals-settings-button[aria-expanded="true"] { background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .totals-settings-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .totals-settings-panel .totals-settings-option { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent > form > .nhcp.oasis_nav { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent > form > .nhcp.oasis_nav label { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent > form > .nhcp.oasis_nav .oasis_nav_selected { border-bottom: 3px solid var(--oasis-accent) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent #null-tab-1 { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-toolbar-strip { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent #bom-readonly-toolbar { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-readonly-edit-button { background: var(--oasis-surface-alt); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-readonly-edit-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-readonly-edit-button:focus-visible { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-trigger { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-trigger:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-trigger[aria-expanded="true"] { background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-panel { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-item { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-item:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-dropdown-item:focus-visible { background: var(--oasis-hover); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .toolbar-formula-inline .nbutton { background: var(--oasis-surface-raised); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-focus-toggle { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-focus-toggle:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #TopContent .bom-focus-toggle[aria-pressed="true"] { background: var(--oasis-hover); border-color: var(--oasis-accent); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body.bom-focus-mode #TopContent { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) body.bom-focus-mode #Content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.popup-container { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-controls { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-manufacturer { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-search label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-table { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid th { background: var(--oasis-primary) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-sort-button:focus-visible { outline: 2px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid td:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-grid td.is-selected { background: var(--oasis-selected) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-menu { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-menu a { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .price-history-direct-menu a:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #priceHistoryDialog.direct-price-history .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-table { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-grid th { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-grid td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-grid tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .price-history-direct-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .crossover-history-grid tbody tr:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .crossover-history-grid tbody tr:focus td { background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #crossoverHistoryDialog.direct-crossover-history .crossover-history-status-dot { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-status-dialog.popup-container { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quoteWinFollowupDialog .quote-win-followup-prompt { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quoteWinFollowupDialog .quote-win-followup-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quoteWinFollowupDialog .quote-win-followup-select,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #quoteWinFollowupDialog .quote-win-followup-note { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-status-dialog .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-status-dialog .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-status-dialog .price-history-direct-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .quote-status-dialog .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog.bom-cancel-confirm-dialog { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .bom-cancel-confirm-body { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomCancelConfirmDialog .nbutton-primary { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog.bom-find-dialog { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .price-history-direct-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .price-history-direct-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .bom-find-body { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .bom-find-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .nbutton { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #bomFindDialog .nbutton-primary { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type .copy-type-titlebar { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type .copy-type-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #copyTypeDialog.direct-copy-type .copy-type-message { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog label { color: var(--oasis-text-muted) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .ntextfield,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .ncombobox { background: var(--oasis-surface-raised) !important; color: var(--oasis-text) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .nbutton-primary { background: var(--oasis-surface-raised) !important; color: var(--oasis-accent) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .nbutton-primary:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .layout-dialog .nbutton-primary:focus-visible { background: var(--oasis-hover) !important; }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-list-shell { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-item { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-item:nth-child(even) { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-item:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-item:focus-visible,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ChangeLayout .change-layout-item[aria-selected="true"] { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .popup-container-close,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .popup-container-close:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .popup-container-close:hover { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table-container,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .kit-history-results { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table th { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table td { border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table tr:nth-child(even) td { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table tbody tr:hover td,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-table tbody tr.is-selected td { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #typeHistoryDialog .type-history-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .kit-history-bubble { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .kit-history-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #kitHistoryDialog .kit-history-line { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ndialogcontent { background: var(--oasis-surface-raised) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions_form > .nvcp > .nvcp:first-of-type { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .nlbl { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .bom-selected-row-count-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ncombobox,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ntextfield { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ncombobox:focus,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .ntextfield:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .nbutton { background: var(--oasis-surface); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions .nbutton-primary,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #MathFunctions input[name="TF_Ok"] { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .math-functions-manufacturer-selector-titlebar .nlbl { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .popup-container-close { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .math-functions-manufacturer-selector-row { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .math-functions-manufacturer-selector-row:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .math-functions-manufacturer-selector-count { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #mathFunctionsManufacturerSelector .math-functions-manufacturer-selector-empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question #nbq_ca { background: var(--oasis-surface) !important; color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question #nbq_ca::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question #nbq_content { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question #nbq_content p { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question .nbutton { background: var(--oasis-surface); border: 1px solid var(--oasis-primary); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #nbquestion.oasis-remove-row-question #nbq_3 { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .ndialogcontent { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .ndialogcontent::before { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .ndialog-close:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab:focus-visible { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab-active,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab-active:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-tab-active:focus-visible { border-bottom-color: var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-other-panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-section + .bom-preferences-section { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-section-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-toggle-option { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-field-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .bom-preferences-select { background-color: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .bom-preferences-select:focus-visible { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-dialog-body { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-panel-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-list-shell { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-icon-button { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-icon-button:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-preferences-icon-button:focus-visible { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .Listing-preferences-column.bom-preferences-drop-target { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .bom-preferences-checkbox { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .Listing-preferences-column-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .Listing-preferences-selected-column { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .nbutton { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #BOMPreferences .nbutton-primary { border-color: var(--oasis-primary); background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-save-footer { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-save-footer-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-save-footer-button-primary { background: var(--oasis-primary); border: 1px solid var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bom-save-footer-button-secondary { background: var(--oasis-surface-raised); color: var(--oasis-accent); }

  /* Quotes/projects/awi/editor/bom/views/history/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .section-kicker { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .feedback.error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeline-date { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeline-pill,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-value.is-highlighted { color: var(--oasis-accent); }

  /* Quotes/projects/awi/editor/create/NewSubmittalLike.css */
  :where(html[data-oasis-theme="dark"]) .optionBubble { border: var(--oasis-border); background: var(--oasis-surface); }

  /* Quotes/quotes/awi/reports/followup/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) button:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); border-color: var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .pending-hint { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error-panel { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-picker-panel,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .status-options { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tabs { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-tab.is-active { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-option,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-help { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-option:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-nav,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .timeframe-today { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-table-wrap { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-row:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-row:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-card { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-title { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-link,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-link { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .meta-value { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editable-item:hover .editable-input,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .editable-input:focus { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .project-notes__content { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty-state { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .dialog__panel { background: var(--oasis-surface-raised); }

  /* Quotes/quotes/awi/reports/winloss/codex/styles.css */
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ncal { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_tabs { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_ntab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_ntab.is-active { background: var(--oasis-selected); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_year_list { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_rel,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekend,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekday,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_help { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_rel:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekday:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_today { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_year_list { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .topbar-section { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .panel { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .input[readonly] { background: var(--oasis-surface-alt); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--secondary:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .button--outline:hover { background: color-mix(in srgb, var(--oasis-surface) 50%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .error { color: var(--oasis-danger); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-right: 1px solid var(--oasis-border); border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .row-head { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .empty { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-row-link:hover td { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .chart-card-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item { color: var(--oasis-accent); border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .legend-item.inactive { border-color: var(--oasis-border); background: color-mix(in srgb, var(--oasis-surface) 35%, transparent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .scale-row { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-chart-groups { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .bar-value { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .modal-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .detail-summary-total { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-row-head { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-row-head.clickable-filter:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card.clickable-filter:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-card--total { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .mobile-column-title { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #ncal { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_tabs { background: var(--oasis-surface); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_ntab { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_ntab.is-active { background: var(--oasis-selected); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_year_list { border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_rel,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekend,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekday,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_help { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_rel:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekend:hover,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_weekday:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_prev_month,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_next_month { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_today { background: var(--oasis-surface); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .ncal_year_list { border-bottom: 1px solid var(--oasis-border); }

  /* Quotes/quotes/awi/tile/job_watch/codex/styles.css */
  :root:where([data-oasis-theme="dark"][data-oasis-embedded]) { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .eyebrow { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #subtitle,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .hint,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) small { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) #message { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) fieldset,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) details { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) input,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) select { background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .rules > span { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th,
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) td { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) th { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .secondary { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .danger { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .job { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .job .metadata { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .badge { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"][data-oasis-embedded]) .tile { background: var(--oasis-surface); }

  /* Reports/css/customizable-report.css */
  :where(html[data-oasis-theme="dark"]) .cr-header-container { border-bottom: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .cr-nav-label { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-builder-tabs .oasis_nav_gap { background: var(--oasis-surface) !important; }
  :where(html[data-oasis-theme="dark"]) .cr-nav-label:hover,
  :where(html[data-oasis-theme="dark"]) .cr-nav-label.router-link-active,
  :where(html[data-oasis-theme="dark"]) .cr-nav-label.router-link-exact-active { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-nav-label.router-link-active,
  :where(html[data-oasis-theme="dark"]) .cr-nav-label.router-link-exact-active { border-bottom-color: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .cr-container { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-container-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-page-error-close { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-container-show-totals-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-data-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-data-value { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-only-you-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-visibility-icon { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-combo-box { border: 1px solid var(--oasis-border); background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-textfield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-searchfield { border: 1px solid var(--oasis-border); background: var(--oasis-surface-raised); }
  :where(html[data-oasis-theme="dark"]) .cr-searchfield input { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-searchfield input::placeholder { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-category-selected { border-bottom: 3px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-category-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-category-label-selected { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-field-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-group-applied-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-group-applied-container:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .cr-group-applied-container-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .cr-group-available-container { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-group-available-container:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .cr-group-available-container-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .cr-group-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-group-label:hover { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-group-description { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-group-description:hover { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-drag-handle { background-color: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-filter-value-input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-filter-value-input:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-empty-state-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-summary-icon { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-orientation-option,
  :where(html[data-oasis-theme="dark"]) .cr-orientation-option-selected { background: var(--oasis-selected); border: 1px solid var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-orientation-option:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-orientation-option-selected { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-width-stat { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-list-actions .cr-transfer-action-icon { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-list-actions .cr-transfer-action-icon:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-list-actions .cr-transfer-action-icon-disabled:hover { background: var(--oasis-surface-alt); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-width-input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-width-input:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-drop-target-top.cr-drag-over-top,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target.cr-drag-over-top,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target-top.cr-drag-over,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target.cr-drag-over { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-drop-target-top.cr-drag-over-top::after,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target.cr-drag-over-top::after,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target-top.cr-drag-over::after,
  :where(html[data-oasis-theme="dark"]) .cr-drop-target.cr-drag-over::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .cr-drag-over-row-before::before,
  :where(html[data-oasis-theme="dark"]) .cr-drag-over-row-after::after { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .cr-drag-over-row-before,
  :where(html[data-oasis-theme="dark"]) .cr-drag-over-row-after { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-layout-screen .cr-drop-target.cr-drag-over,
  :where(html[data-oasis-theme="dark"]) .cr-layout-screen .cr-drop-target.cr-drag-over-top { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .report-preview-overlay { background: rgb(0 0 0 / 65%); }
  :where(html[data-oasis-theme="dark"]) .report-preview-dialog { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-preview-file { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-preview-toolbar { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-icon-button { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-icon-button:hover:not(:disabled) { background: var(--oasis-surface-alt); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .report-preview-page-input { border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-preview-page-total,
  :where(html[data-oasis-theme="dark"]) .report-preview-zoom-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-preview-content { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .report-preview-loading-card { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-loading-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-preview-progress-track { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .report-preview-progress-bar { background: var(--oasis-primary); }
  :where(html[data-oasis-theme="dark"]) .report-preview-sheet-tab { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-preview-sheet-tab:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .report-preview-sheet-tab-selected { border-color: var(--oasis-accent); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-preview-excel-table { background: var(--oasis-surface); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-preview-excel-cell,
  :where(html[data-oasis-theme="dark"]) .report-preview-excel-row-number { border-bottom: 1px solid var(--oasis-border); border-right: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-preview-excel-row-number { background: var(--oasis-surface); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-preview-empty-state { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-options-header { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-options-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-options-subtitle { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-options-field-label,
  :where(html[data-oasis-theme="dark"]) .report-options-section-title { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-leave-confirm-message,
  :where(html[data-oasis-theme="dark"]) .cr-confirm-message { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-options-access-table-wrap { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .report-options-access-table .tableheader { background: var(--oasis-surface-raised); border-bottom: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .report-options-empty-cell { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .report-options-footer { border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-compare-selected-panel,
  :where(html[data-oasis-theme="dark"]) .cr-compare-available-panel { border: 1px solid var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-select-field { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-select-field:focus { border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-revision-list { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-revision-list-item { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-revision-list-item:hover,
  :where(html[data-oasis-theme="dark"]) .cr-revision-list-item-selected { background: var(--oasis-selected); }
  :where(html[data-oasis-theme="dark"]) .cr-print-option-check-row { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-print-option-example-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-print-option-example { background: var(--oasis-surface); border: 1px solid var(--oasis-border); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-actions { background: var(--oasis-surface-raised); border-top: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-link-action { color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-link-action:hover { background: var(--oasis-hover); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-link-action:disabled { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-print-format-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-print-format-select { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-print-format-select:disabled { background: var(--oasis-surface-alt); color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-secondary-action { background: var(--oasis-surface-raised); border: 1px solid var(--oasis-border); color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-footer-secondary-action:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  :where(html[data-oasis-theme="dark"]) .cr-builder-nav { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-builder-tabs { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .cr-money-pair { border-bottom: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-money-pair-label { color: var(--oasis-text); }
  :where(html[data-oasis-theme="dark"]) .cr-money-pair-control-label { color: var(--oasis-text-muted); }
  :where(html[data-oasis-theme="dark"]) .cr-transfer-actions img { background: var(--oasis-surface); border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cr-transfer-actions img:hover { background: var(--oasis-hover); }

  /* Submittals/css/submittals.css */
  :where(html[data-oasis-theme="dark"]) .submittals_popup { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cat-m-h { background: var(--oasis-surface); }
  :where(html[data-oasis-theme="dark"]) .catalog_control_outer { border: 1px solid var(--oasis-border); }
  :where(html[data-oasis-theme="dark"]) .cat-mfg-display-id { color: #fff; }
  :where(html[data-oasis-theme="dark"]) .cat-mfg-name { color: #fff; }

  /* Submittals/submittals/awi/editor/create/NewSubmittalLike.css */
  :where(html[data-oasis-theme="dark"]) .optionBubble { border: var(--oasis-border); background: var(--oasis-surface); }

  html[data-oasis-theme="dark"] body {
    background: var(--oasis-bg) !important; /* reset.css declares !important. */
    color: var(--oasis-text);
  }

  html[data-oasis-theme="dark"] ::selection { background: var(--oasis-selected); color: #fff; }
  html[data-oasis-theme="dark"] ::-webkit-scrollbar-track { background: var(--oasis-bg); }
  html[data-oasis-theme="dark"] ::-webkit-scrollbar-thumb { background: var(--oasis-input-border); }
  html[data-oasis-theme="dark"] :is(a, .link, .Listing-link),
  html[data-oasis-theme="dark"] #search a { color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(a, .link, .click-cursor):hover { color: #a7dcff; }
  html[data-oasis-theme="dark"] :is(h1, h2, h3, h4, .Listing-label, .popup-container-label,
    .listing-dialog__title, .Editor_container-header, .oasis_standard) { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.Editor_field-meta, .listing-table-empty p,
    .listing-table-empty-icon, .listing-mobile-values dt, .listing-mobile-caption,
    .listing-mobile-field small, .listing-dialog--legacy > p) { color: var(--oasis-text-muted); }

  /* Shell, navigation, and both legacy and Vue menus. */
  html[data-oasis-theme="dark"] :is(.top-menubar, #search, #TopContent, #LeftContent,
    #BottomContent, .oasis_nav, .sticky-nav) {
    background: var(--oasis-surface);
    color: var(--oasis-text);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] #MenubarForm.top-menubar { background: var(--oasis-shell); }
  html[data-oasis-theme="dark"] .oasis_standard {
    background: var(--oasis-sidebar);
    border-color: var(--oasis-border);
    box-shadow: none;
  }
  /* Legacy page titles render their text colors inline. */
  html[data-oasis-theme="dark"] .oasis_top,
  html[data-oasis-theme="dark"] .oasis_top .nlbl { color: var(--oasis-text) !important; }
  /* Record editors also carry local gray panels outside their page CSS. */
  html[data-oasis-theme="dark"] .oasis_payment { background: var(--oasis-surface) !important; }
  html[data-oasis-theme="dark"] .oasis_payment .nvcp {
    background: var(--oasis-surface-raised) !important;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .oasis_payment .nbutton[style*="background-color: rgb(255, 255, 255)"] {
    background: var(--oasis-surface-raised) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-td:is(
    [style*="background: rgb(209, 209, 209)"], [style*="background: rgb(204, 204, 204)"]) {
    background: var(--oasis-surface-alt) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-td[style*="color: red"] { color: var(--oasis-danger) !important; }
  /* HTML BOM colors: explicit original-to-dark pairs, not blanket recoloring.
     Unknown/custom colors keep their original presentation. */
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: yellow" i], [style*="background-color: yellow" i],
    [style*="background: #ffff00" i], [style*="background-color: #ffff00" i],
    [style*="background: rgb(255, 255, 0)" i], [style*="background-color: rgb(255, 255, 0)" i]) {
    background: var(--oasis-bom-different-bg) !important;
    color: var(--oasis-bom-different-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: #fffba6" i], [style*="background-color: #fffba6" i],
    [style*="background: rgb(255, 251, 166)" i], [style*="background-color: rgb(255, 251, 166)" i],
    [style*="background: #ffffaa" i], [style*="background-color: #ffffaa" i],
    [style*="background: rgb(255, 255, 170)" i], [style*="background-color: rgb(255, 255, 170)" i]) {
    background: var(--oasis-bom-blank-price-bg) !important;
    color: var(--oasis-bom-blank-price-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: red" i], [style*="background-color: red" i],
    [style*="background: #ff0000" i], [style*="background-color: #ff0000" i],
    [style*="background: rgb(255, 0, 0)" i], [style*="background-color: rgb(255, 0, 0)" i],
    [style*="background: #ffc4c4" i], [style*="background-color: #ffc4c4" i],
    [style*="background: rgb(255, 196, 196)" i], [style*="background-color: rgb(255, 196, 196)" i]) {
    background: var(--oasis-bom-error-bg) !important;
    color: var(--oasis-bom-error-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: pink" i], [style*="background-color: pink" i],
    [style*="background: #ffc0cb" i], [style*="background-color: #ffc0cb" i],
    [style*="background: rgb(255, 192, 203)" i], [style*="background-color: rgb(255, 192, 203)" i]) {
    background: var(--oasis-bom-dispute-bg) !important;
    color: var(--oasis-bom-dispute-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: #bed6ff" i], [style*="background-color: #bed6ff" i],
    [style*="background: rgb(190, 214, 255)" i], [style*="background-color: rgb(190, 214, 255)" i]) {
    background: var(--oasis-bom-ordered-bg) !important;
    color: var(--oasis-bom-ordered-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: #c0a788" i], [style*="background-color: #c0a788" i],
    [style*="background: rgb(192, 167, 136)" i], [style*="background-color: rgb(192, 167, 136)" i],
    [style*="background: #dfceb9" i], [style*="background-color: #dfceb9" i],
    [style*="background: rgb(223, 206, 185)" i], [style*="background-color: rgb(223, 206, 185)" i]) {
    background: var(--oasis-bom-shipped-bg) !important;
    color: var(--oasis-bom-shipped-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: #f6ef78" i], [style*="background-color: #f6ef78" i],
    [style*="background: rgb(246, 239, 120)" i], [style*="background-color: rgb(246, 239, 120)" i],
    [style*="background: #fef19a" i], [style*="background-color: #fef19a" i],
    [style*="background: rgb(254, 241, 154)" i], [style*="background-color: rgb(254, 241, 154)" i]) {
    background: var(--oasis-bom-invoiced-bg) !important;
    color: var(--oasis-bom-invoiced-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-td, tr):is(
    [style*="background: cyan" i], [style*="background-color: cyan" i],
    [style*="background: #00ffff" i], [style*="background-color: #00ffff" i],
    [style*="background: rgb(0, 255, 255)" i], [style*="background-color: rgb(0, 255, 255)" i]) {
    background: var(--oasis-bom-customer-specific-bg) !important;
    color: var(--oasis-bom-customer-specific-text) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style*="background: #f4f4f4" i], [style*="background: rgb(244, 244, 244)"]) {
    background: var(--oasis-surface-alt) !important;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style^="color: red" i], [style*="; color: red" i], [style*=";color: red" i], [style^="color: #ff0000" i], [style*="; color: #ff0000" i], [style*=";color: #ff0000" i],
    [style^="color: rgb(255, 0, 0)" i], [style*="; color: rgb(255, 0, 0)" i], [style*=";color: rgb(255, 0, 0)" i]) { color: var(--oasis-bom-error-text) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style^="color: blue" i], [style*="; color: blue" i], [style*=";color: blue" i], [style^="color: #0000ff" i], [style*="; color: #0000ff" i], [style*=";color: #0000ff" i],
    [style^="color: rgb(0, 0, 255)" i], [style*="; color: rgb(0, 0, 255)" i], [style*=";color: rgb(0, 0, 255)" i]) { color: var(--oasis-bom-configured-text) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style^="color: #1c9340" i], [style*="; color: #1c9340" i], [style*=";color: #1c9340" i], [style^="color: rgb(28, 147, 64)" i], [style*="; color: rgb(28, 147, 64)" i], [style*=";color: rgb(28, 147, 64)" i],
    [style^="color: #008000" i], [style*="; color: #008000" i], [style*=";color: #008000" i], [style^="color: rgb(0, 128, 0)" i], [style*="; color: rgb(0, 128, 0)" i], [style*=";color: rgb(0, 128, 0)" i],
    [style^="color: green" i], [style*="; color: green" i], [style*=";color: green" i]) { color: var(--oasis-bom-confirmed-text) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style^="color: orange" i], [style*="; color: orange" i], [style*=";color: orange" i], [style^="color: #ffa500" i], [style*="; color: #ffa500" i], [style*=";color: #ffa500" i],
    [style^="color: rgb(255, 165, 0)" i], [style*="; color: rgb(255, 165, 0)" i], [style*=";color: rgb(255, 165, 0)" i]) { color: var(--oasis-bom-out-of-date-text) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(
    [style^="color: pink" i], [style*="; color: pink" i], [style*=";color: pink" i], [style^="color: #ffc0cb" i], [style*="; color: #ffc0cb" i], [style*=";color: #ffc0cb" i],
    [style^="color: rgb(255, 192, 203)" i], [style*="; color: rgb(255, 192, 203)" i], [style*=";color: rgb(255, 192, 203)" i]) { color: var(--oasis-bom-dispute-text) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(span, a):is(
    [style^="color: blue" i], [style*="; color: blue" i], [style*=";color: blue" i]) { color: var(--oasis-accent) !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(span, a):is(
    [style^="color: blue" i], [style*="; color: blue" i], [style*=";color: blue" i]):hover { color: #a7dcff !important; }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-textfield, .oasis-bom-currencyfield,
    .oasis-bom-numberfield, .oasis-bom-percentfield, .oasis-bom-datefield) {
    background: transparent !important;
    color: inherit !important;
    caret-color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .oasis-bom-table .oasis-bom-td:is(.bom-col-selected, .oasis-bom-td-selected, :focus-within) {
    border-color: var(--oasis-accent) !important;
  }
  html[data-oasis-theme="dark"] .oasis-bom-table :is(.oasis-bom-textfield, .oasis-bom-currencyfield,
    .oasis-bom-numberfield, .oasis-bom-percentfield, .oasis-bom-datefield):focus {
    background: var(--oasis-surface-raised) !important;
    color: inherit !important;
  }
  html[data-oasis-theme="dark"] .oasis-webgl-bom { background: var(--oasis-surface) !important; }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent :is(.phase-selector-trigger, .totals-options-button) {
    background: var(--oasis-surface-alt);
    color: var(--oasis-text);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent .phase-selector-prefix { color: var(--oasis-text-muted) !important; }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent .toolbar-folio-button { background: var(--oasis-surface-alt); }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent :is(.toolbar-folio-button img, .toolbar-dropdown-icon) { filter: brightness(0) invert(.85); }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent .totals-row-hit {
    background: transparent !important;
    border: 0;
  }
  html[data-oasis-theme="dark"][data-oasis-embedded] #TopContent .totals-row-hit:hover { background: rgb(121 199 255 / 8%) !important; }
  html[data-oasis-theme="dark"] :is(.top-left-menubar, .top-right-menubar, .menubar) :is(ul, li > ul li) {
    background: var(--oasis-surface-raised);
    border-color: var(--oasis-border);
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] :is(.top-left-menubar, .top-right-menubar, .menubar) :is(a, p) {
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] :is(.top-left-menubar, .top-right-menubar, .menubar) :is(a, p):hover {
    color: var(--oasis-accent);
  }
  /* Keep the border space reserved without outlining every resting item. */
  html[data-oasis-theme="dark"] :is(.top-left-menubar, .top-right-menubar, .menubar) ul > li:not(:hover) {
    border-color: transparent;
  }
  html[data-oasis-theme="dark"] :is(.top-left-menubar, .top-right-menubar, .menubar) ul > li:hover {
    background: var(--oasis-hover);
    border-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .top-right-menubar img:hover { background: var(--oasis-hover); }
  /* Legacy AWI navigation writes foreground colors inline on each label.
     Older quote/customer and database screens also use the mixed-case class. */
  html[data-oasis-theme="dark"] :is(.oasis_nav_notselected, .oasis_nav_Notselected, .oasis_nav_gap) { color: var(--oasis-text-muted) !important; }
  html[data-oasis-theme="dark"] .oasis_nav_selected { color: var(--oasis-text) !important; border-color: var(--oasis-accent) !important; }
  html[data-oasis-theme="dark"] :is(.oasis_nav_notselected, .oasis_nav_Notselected):hover { color: var(--oasis-accent) !important; }
  /* Vue variants use inline styles/handlers instead of the shared state
     classes. Keep specificity low so semantic warning/error tabs still win. */
  html[data-oasis-theme="dark"] :where(.oasis_nav > label[onmouseout*="style.color"]) {
    background: var(--oasis-surface) !important;
    color: var(--oasis-text-muted) !important;
  }
  html[data-oasis-theme="dark"] :where(.oasis_nav > label:is(.router-link-active, .software-index-nav-selected)) {
    color: var(--oasis-text) !important;
    border-color: var(--oasis-accent) !important;
  }
  html[data-oasis-theme="dark"] :where(.oasis_nav > label[onmouseout*="style.color"]:hover) { color: var(--oasis-accent) !important; }
  /* Quote sub-tabs can carry their own white/light-gray AWI backgrounds. */
  html[data-oasis-theme="dark"] :is(.oasis_nav_selected, .oasis_nav_notselected, .oasis_nav_Notselected) {
    background: var(--oasis-surface) !important;
  }
  /* Preserve the untransmitted vendor-order warning with a readable pair. */
  html[data-oasis-theme="dark"] :is(.oasis_nav_selected, .oasis_nav_notselected):is(
    [style*="background: yellow" i], [style*="background-color: yellow" i],
    [style*="background:yellow" i], [style*="background-color:yellow" i],
    [style*="background: #ffff00" i], [style*="background-color: #ffff00" i],
    [style*="background:#ffff00" i], [style*="background-color:#ffff00" i],
    [style*="background: rgb(255, 255, 0)"], [style*="background-color: rgb(255, 255, 0)"],
    [style*="background:rgb(255,255,0)"], [style*="background-color:rgb(255,255,0)"]) {
    background: var(--oasis-warning-bg) !important;
    color: var(--oasis-warning) !important;
  }

  /* Cards and dialogs. Override known inline sidebar backgrounds only. */
  html[data-oasis-theme="dark"] :is(.card, .card-grey, .tile, .OASISCardContainer,
    .Editor_card, .popup-container, .ndialog > div, .listing-dialog,
    .multiselect-container, .atwho-view, .listing-table-context, .listing-mobile-preferences) {
    background: var(--oasis-surface);
    color: var(--oasis-text);
    border-color: var(--oasis-border);
    box-shadow: var(--oasis-shadow);
  }
  html[data-oasis-theme="dark"] :is(.SideBar, .SideBar-content > div > button[style*="background-color"], .listing-layout-sidebar) {
    background-color: var(--oasis-sidebar) !important;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .SideBar-box {
    background: linear-gradient(var(--oasis-surface), var(--oasis-surface)) padding-box,
      linear-gradient(to right, #85ddb5, #ade6f3, #7ebbe7) border-box;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] :is(.ndialog, .popup-container-background, .listing-dialog-backdrop) {
    background: rgb(0 0 0 / 65%) !important;
  }
  html[data-oasis-theme="dark"] .listing-dialog {
    --listing-dialog-primary: var(--oasis-primary);
    --listing-dialog-primary-dark: var(--oasis-primary-hover);
    --listing-dialog-hover: var(--oasis-hover);
    --listing-dialog-border: var(--oasis-border);
  }

  /* Dialog-specific light styles have more specificity than generic buttons. */
  html[data-oasis-theme="dark"] .listing-dialog__surface { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] .listing-dialog .nbutton {
    background: var(--oasis-primary);
    color: #fff;
    border-color: var(--oasis-primary);
  }
  html[data-oasis-theme="dark"] .listing-dialog .nbutton:hover {
    background: var(--oasis-primary-hover);
    color: #fff;
    border-color: var(--oasis-primary-hover);
  }
  html[data-oasis-theme="dark"] .listing-dialog .nbutton:is(.listing-dialog__button--secondary, [value="Cancel" i], [value="Close" i], [value="Back" i], [value="Done" i]) {
    background: var(--oasis-surface-raised);
    color: var(--oasis-accent);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] .listing-dialog .nbutton:is(.listing-dialog__button--secondary, [value="Cancel" i], [value="Close" i], [value="Back" i], [value="Done" i]):hover {
    background: var(--oasis-hover);
    color: var(--oasis-accent);
    border-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .listing-dialog .nbutton:disabled,
  html[data-oasis-theme="dark"] .listing-dialog .nbutton:disabled:hover {
    background: var(--oasis-surface-alt);
    color: var(--oasis-text-muted);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] .listing-dialog__close { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .listing-dialog__close img { filter: brightness(0) invert(0.71); }
  html[data-oasis-theme="dark"] :is(.listing-dialog__error, .listing-dialog__errors) { color: var(--oasis-danger); }

  /* Shared multiselects own local color tokens and draw a separate input shell. */
  html[data-oasis-theme="dark"] :is(.vue-multiselect, .labeled-multiselect) {
    --multiselect-border: var(--oasis-input-border);
    --multiselect-hover: var(--oasis-accent);
    --multiselect-active: var(--oasis-accent);
    --multiselect-error: var(--oasis-danger);
    --multiselect-text: var(--oasis-text);
    --multiselect-placeholder: var(--oasis-text-muted);
  }
  html[data-oasis-theme="dark"] :is(.nms_outer, .nms_popup, .nms_popup_item),
  html[data-oasis-theme="dark"] .vue-multiselect[class],
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-container {
    background: var(--oasis-surface-raised);
    color: var(--oasis-text);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-search > .multiselect-search-input {
    background: transparent;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-pills > .selected-search-item {
    background: var(--oasis-selected) !important; /* Pill component writes its background inline. */
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .vue-multiselect .multiselect-remove {
    background: transparent;
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .vue-multiselect .multiselect-remove img { filter: brightness(0) invert(.87); }
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-container > .multiselect-ul > .multiselect-li { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-container > .multiselect-ul > .multiselect-li:hover,
  html[data-oasis-theme="dark"] .vue-multiselect > .multiselect-container > .multiselect-ul > .multiselect-li-sel {
    background: var(--oasis-selected);
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .vue-multiselect[class]:hover { border-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .vue-multiselect[class]:focus-within {
    border-color: var(--oasis-accent);
    box-shadow: 0 0 0 3px rgb(121 199 255 / 22%);
  }
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-error,
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-error:hover,
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-error:focus-within { border-color: var(--oasis-danger); box-shadow: none; }
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-readonly,
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-readonly:hover,
  html[data-oasis-theme="dark"] .vue-multiselect.vue-multiselect-readonly:focus-within {
    background: var(--oasis-surface-alt);
    border-color: var(--oasis-border);
    color: var(--oasis-text-muted);
    box-shadow: none;
  }
  html[data-oasis-theme="dark"] .labeled-multiselect-readonly > .multiselect-label-row > .multiselect-caption,
  html[data-oasis-theme="dark"] .vue-multiselect-readonly > .multiselect-pills > .selected-search-item { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .vue-multiselect-readonly > .multiselect-pills > .selected-search-item { background: var(--oasis-surface-alt) !important; }

  /* Advanced Search is shared by Contacts and the other listing pages. */
  html[data-oasis-theme="dark"] .listing-advanced-search__flags {
    background: var(--oasis-surface-raised);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] :is(.listing-advanced-search__flag,
    .listing-advanced-search__option-group legend, .listing-advanced-search__group legend,
    .listing-advanced-search__field > label, .listing-advanced-search__field > div > label,
    .listing-dialog__field > .nlbl) { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.listing-advanced-search__hint,
    .listing-advanced-search__amount-range > div > label) { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .listing-advanced-search__group { border-color: var(--oasis-border); }
  html[data-oasis-theme="dark"] .listing-advanced-search__field .ntextfield:focus {
    border-color: var(--oasis-accent);
    outline: 2px solid var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .listing-advanced-search__flag input[type="checkbox"] {
    appearance: auto;
    background: none;
    border: 1px solid var(--oasis-input-border);
    accent-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .listing-advanced-search__tabs > .tabs-header-region .tab-header { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .listing-advanced-search__tabs > .tabs-header-region .tab-header:hover { color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .listing-advanced-search__tabs > .tabs-header-region .tab-header[data-selected="true"] {
    color: var(--oasis-text);
    border-bottom-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .listing-advanced-search__tabs > .tabs-header-region .tab-header:focus-visible,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-toggle:focus-visible,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-item:focus-visible {
    outline: 2px solid var(--oasis-accent);
    outline-offset: 2px;
  }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-toggle,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-menu {
    background: var(--oasis-surface-raised);
    color: var(--oasis-text);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-item { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-item.active,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-item:hover,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-toggle:hover,
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-toggle[aria-expanded="true"] {
    background: var(--oasis-selected);
    color: var(--oasis-text);
    border-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-label small { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-check { color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-hamburger i { background: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .listing-advanced-search .tabs-mobile-nav-chevron { border-color: var(--oasis-accent); }

  /* Contacts and Customers share the customer shell; Manufacturers uses the
     same --ce-* palette in its own shell. Remap it here rather than changing
     the individual editor stylesheets or their light-mode defaults. */
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) {
    --ce-primary-darkest: var(--oasis-accent);
    --ce-primary-dark: var(--oasis-primary-hover);
    --ce-primary: var(--oasis-primary);
    --ce-hover: var(--oasis-hover);
    --ce-selection: var(--oasis-selected);
    --ce-text: var(--oasis-text);
    --ce-text-primary: var(--oasis-text);
    --ce-text-secondary: var(--oasis-text-muted);
    --ce-placeholder: var(--oasis-text-muted);
    --ce-muted: var(--oasis-text-muted);
    --ce-border: var(--oasis-input-border);
    --ce-panel-stroke: var(--oasis-border);
    --ce-panel: var(--oasis-surface);
    --ce-page: var(--oasis-bg);
    --ce-tool-panel: var(--oasis-surface-raised);
    --ce-nav: var(--oasis-sidebar);
    --ce-field-bg: var(--oasis-surface-alt);
    --ce-disabled-bg: var(--oasis-surface-alt);
    --ce-disabled-border: var(--oasis-border);
    --ce-disabled-text: var(--oasis-text-muted);
    --ce-error: var(--oasis-danger);
    --ce-error-bg: var(--oasis-danger-bg);
    --ce-warning-text: var(--oasis-warning);
    --ce-warning: var(--oasis-warning);
    --ce-warning-bg: var(--oasis-warning-bg);
    --contact-accent: var(--oasis-accent);
  }

  /* Read-only values are rendered as spans/strong elements, not inputs. */
  html[data-oasis-theme="dark"] :is(.contact-editor-field-grid > label > strong,
    .contact-editor-business-field > strong, .contact-editor-business-field > a,
    .contact-editor-token > label > strong, .contact-editor-notes-view,
    .customer-desktop-form-grid > span, .customer-desktop-form-grid > strong,
    .customer-general-summary-control > span, .customer-editor-note,
    .manufacturer-general-value, .manufacturer-notes-readonly,
    .manufacturer-desktop-form-grid > span, .manufacturer-desktop-form-grid > strong,
    .manufacturer-general-summary-control > span, .manufacturer-editor-note) {
    background: var(--oasis-surface-alt);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] .contact-editor-token code { background: var(--oasis-bg); color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.customer-logo-preview, .manufacturer-logo-preview) {
    background: var(--oasis-surface-alt);
    border-color: var(--oasis-border);
  }
  /* Logo-editing canvases retain the white artboard used by exported artwork. */
  html[data-oasis-theme="dark"] :is(.customer-logo-preview-editing, .manufacturer-logo-preview-editing) { background: #fff; }
  html[data-oasis-theme="dark"] :is(.customer-statistics-chart, .manufacturer-statistics-chart) { background: var(--oasis-surface); }
  html[data-oasis-theme="dark"] :is(.customer-statistics-total-column, .manufacturer-statistics-total-column) { background: var(--oasis-surface-raised); }
  html[data-oasis-theme="dark"] :is(.customer-editor-loading-overlay, .manufacturer-editor-loading-overlay) { background: color-mix(in srgb, var(--oasis-bg) 88%, transparent); }
  html[data-oasis-theme="dark"] :is(.customer-contact-drop-message, .manufacturer-contact-drop-message) { background: var(--oasis-hover); color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.customer-editor-error-banner, .customer-general-dialog-error,
    .customer-terms-validation, .manufacturer-editor-error-banner,
    .manufacturer-general-dialog-error, .manufacturer-terms-validation) {
    background: var(--oasis-danger-bg);
    color: var(--oasis-danger) !important; /* Some editor validation rules use !important. */
    border-color: var(--oasis-danger);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) a { color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(.contact-editor-business-field > a:hover,
    .customer-editor-shell a:hover, .manufacturer-editor-shell a:hover) {
    background-color: var(--oasis-hover);
    color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) .nbutton,
  html[data-oasis-theme="dark"] :is(.customer-desktop-icon-button, .manufacturer-desktop-icon-button,
    .customer-editor-secondary-button, .manufacturer-editor-secondary-button) {
    background: var(--oasis-surface-raised);
    color: var(--oasis-accent);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) .nbutton:not(:disabled):hover {
    background: var(--oasis-hover);
    color: var(--oasis-accent);
    border-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) .nbutton-primary,
  html[data-oasis-theme="dark"] :is(.customer-editor-primary-button, .manufacturer-editor-primary-button) {
    background: var(--oasis-primary);
    color: #fff;
    border-color: var(--oasis-primary);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) .nbutton-primary:not(:disabled):hover {
    background: var(--oasis-primary-hover);
    color: #fff;
    border-color: var(--oasis-primary-hover);
  }
  html[data-oasis-theme="dark"] :is(.customer-editor-tab, .manufacturer-editor-tab):hover { color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(.customer-editor-edit-button, .manufacturer-editor-edit-button) img { filter: brightness(0) invert(0.71); }
  html[data-oasis-theme="dark"] :is(.customer-editor-tab.active, .manufacturer-editor-tab.active,
    .customer-inner-tab.active, .manufacturer-inner-tab.active) { border-bottom-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(.customer-editor-shell, .manufacturer-editor-shell) :is(input, select, textarea, button, a):focus-visible {
    outline: 2px solid var(--oasis-accent);
    outline-offset: 2px;
  }

  /* CustomTable (including Search Tags) predates the shared listing table.
     Theme its cells as well as rows, so inline row selection backgrounds can
     be covered without changing the component's JavaScript. */
  html[data-oasis-theme="dark"] table.table { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] table.table > tbody.tablebody > tr {
    background: var(--oasis-surface);
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] table.table > tbody.tablebody > tr:nth-child(even) { background: var(--oasis-surface-alt); }
  html[data-oasis-theme="dark"] table.table > tbody.tablebody > tr > td {
    background: inherit;
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] table.table > tbody.tablebody > tr:hover > td,
  html[data-oasis-theme="dark"] table.table > tbody.tablebody > tr[style*="background-color"] > td {
    background: var(--oasis-selected);
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] table.table :is(th.tableheader, td.tabledata) { border-color: var(--oasis-border); }
  html[data-oasis-theme="dark"] table.table th.tableheader {
    background: var(--oasis-primary);
    color: #fff;
  }
  html[data-oasis-theme="dark"] table.table th.tableheader:hover {
    background: var(--oasis-hover);
    color: var(--oasis-text);
  }

  /* Form controls: preserve geometry, images, native checks, and validation. */
  html[data-oasis-theme="dark"] :is(input:where(:not([type="button"], [type="submit"], [type="reset"], [type="checkbox"], [type="radio"], [type="range"], [type="color"], [type="image"], [type="hidden"])),
    textarea, select, .ntextfield, .ncombobox, .ntextarea, .datefield-input,
    .Listing-day-field, .QuoteEmail_attachment-pagenumber-field) {
    background-color: var(--oasis-surface);
    color: var(--oasis-text);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] :is(input, textarea)::placeholder { color: var(--oasis-text-muted); opacity: 1; }
  html[data-oasis-theme="dark"] option { background: var(--oasis-surface-raised); color: var(--oasis-text); border-color: var(--oasis-border); }
  html[data-oasis-theme="dark"] select::picker(select) { background: var(--oasis-surface-raised); color: var(--oasis-text); border-color: var(--oasis-border); }
  html[data-oasis-theme="dark"] :is(option:hover, option:checked) { background: var(--oasis-selected); color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(input[type="checkbox"], input[type="radio"], input[type="range"]) { accent-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(input, textarea, select, button, a, [tabindex]):focus-visible {
    outline: 2px solid var(--oasis-accent);
    outline-offset: 2px;
  }
  html[data-oasis-theme="dark"] :is(input, textarea, select):disabled,
  html[data-oasis-theme="dark"] .disabled-field {
    background-color: var(--oasis-surface-alt) !important;
    color: var(--oasis-text-muted);
    border-color: var(--oasis-border) !important;
  }
  html[data-oasis-theme="dark"] :is(input, textarea, select)[aria-invalid="true"] { border-color: var(--oasis-danger); }
  html[data-oasis-theme="dark"] .ntextfield.freeform { background: var(--oasis-warning-bg); color: var(--oasis-warning); }

  /* Secondary, primary, destructive, and selected actions. */
  html[data-oasis-theme="dark"] :is(.nbutton, .Listing-day-button, .listing-table button,
    .listing-table-context button, .listing-layout-mobile button, .datefield-button, .datefield-option) {
    background: var(--oasis-surface-raised);
    color: var(--oasis-text);
    border-color: var(--oasis-input-border);
  }
  html[data-oasis-theme="dark"] :is(.nbutton, .Listing-day-button, .listing-table button,
    .listing-table-context button, .listing-layout-mobile button, .datefield-button, .datefield-option):hover {
    background: var(--oasis-hover);
    color: var(--oasis-accent);
    border-color: var(--oasis-accent);
  }
  html[data-oasis-theme="dark"] :is(.nbutton.nbutton-primary, .Listing-day-button.Listing-day-button-active, .listing-layout-mobile .listing-mobile-primary) {
    background: var(--oasis-primary);
    color: #fff;
    border-color: var(--oasis-primary);
  }
  html[data-oasis-theme="dark"] :is(.nbutton.nbutton-primary, .Listing-day-button.Listing-day-button-active, .listing-layout-mobile .listing-mobile-primary):hover {
    background: var(--oasis-primary-hover);
    color: #fff;
  }
  html[data-oasis-theme="dark"] :is(.nbutton.nbutton-red, .nbutton.nbutton-red:hover) { color: var(--oasis-danger); border-color: var(--oasis-danger); }
  html[data-oasis-theme="dark"] :is(.nbutton.nbutton-danger, .nbutton.nbutton-danger:hover, .card-red) { background: var(--oasis-danger-bg); color: var(--oasis-danger); border-color: var(--oasis-danger); }
  html[data-oasis-theme="dark"] :is(.nbutton, .listing-table button, .listing-table-context button, .listing-layout-mobile button):disabled {
    background: var(--oasis-surface-alt);
    color: var(--oasis-text-muted);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] :is(.Listing-link-active, .Listing-link-active:hover) { color: var(--oasis-accent-green); }

  /* Listings: legacy Norian, Grid.js, shared Vue tables, and mobile rows. */
  html[data-oasis-theme="dark"] :is(.listing-table, .listing-table-empty, .ntable, .gridjs-container) { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.listing-table-viewport, .listing-table-footer, .listing-mobile-row,
    .listing-mobile-field, .listing-mobile-tabs, .listing-table-context-separator) { border-color: var(--oasis-border); }
  html[data-oasis-theme="dark"] :is(.listing-table td, .gridjs-td, .ntable tbody tr,
    .listing-table-footer, .gridjs-footer, .listing-mobile-row, .OASISStickyHeaderRow) {
    background: var(--oasis-surface);
    color: var(--oasis-text);
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] :is(.listing-table tbody tr:nth-child(even) > td,
    .ntable tbody tr:nth-child(odd), .listing-mobile-row:nth-child(even)) { background: var(--oasis-surface-alt); }
  html[data-oasis-theme="dark"] :is(.listing-table th, .gridjs-th, .ntable th) {
    background: var(--oasis-primary);
    color: #fff;
    border-color: var(--oasis-border);
  }
  html[data-oasis-theme="dark"] .listing-table .listing-table-sort,
  html[data-oasis-theme="dark"] .listing-table .listing-table-sort:hover { background: transparent; color: inherit; }
  html[data-oasis-theme="dark"] .listing-table:not(.listing-table-typing) > .listing-table-viewport th:hover {
    background: var(--oasis-hover); color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] :is(.listing-table:not(.listing-table-typing) > .listing-table-viewport tbody tr:hover td,
    .listing-table tbody tr.listing-table-selected td, .ntable tbody tr:hover,
    .listing-table-context button:hover, .listing-table-context button:focus-visible,
    .multiselect-li-sel, .Listing-preferences-selected-column, .listing-mobile-details) {
    background: var(--oasis-selected);
    color: var(--oasis-text);
  }
  html[data-oasis-theme="dark"] .gridjs-tr-selected { background: var(--oasis-selected) !important; }
  html[data-oasis-theme="dark"] .gridjs-tr-selected .gridjs-td { background: var(--oasis-selected); }
  html[data-oasis-theme="dark"] .listing-table tr.listing-table-focused td { box-shadow: inset 0 1px var(--oasis-accent), inset 0 -1px var(--oasis-accent); }
  html[data-oasis-theme="dark"] .listing-table td.listing-table-active-cell { outline-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(.listing-table td.listing-table-cell-negative > div,
    .listing-mobile-values .listing-table-cell-negative > div) { color: var(--oasis-danger) !important; }
  html[data-oasis-theme="dark"] .listing-table-context-separator { background: var(--oasis-border); }

  /* Shared date selectors set local tokens, so override them at the component. */
  html[data-oasis-theme="dark"] :is(.datefield-control, .labeled-datefield, .labeled-date-range, .date-range-control) {
    --datefield-input-border: var(--oasis-input-border);
    --datefield-input-hover: var(--oasis-accent);
    --datefield-input-active: var(--oasis-accent);
    --datefield-input-error: var(--oasis-danger);
    --datefield-input-text: var(--oasis-text);
    --datefield-input-placeholder: var(--oasis-text-muted);
  }
  html[data-oasis-theme="dark"] .datefield-selector {
    --datefield-accent: var(--oasis-accent);
    --datefield-border: var(--oasis-border);
    --datefield-hover: var(--oasis-hover);
    --datefield-panel: var(--oasis-surface-raised);
    --datefield-text: var(--oasis-text);
    --datefield-muted: var(--oasis-text-muted);
  }
  html[data-oasis-theme="dark"] :is(.datefield-weekdays, .datefield-option.datefield-option-outside, .datefield-help-box) { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] :is(.datefield-option.datefield-option-active, .datefield-button.datefield-button-selected) { background: var(--oasis-selected); color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .datefield-year-divider { background: var(--oasis-border); }

  /* Paired business colors: custom calendar event backgrounds retain the
     existing dark foreground instead of inheriting the app's light text. */
  html[data-oasis-theme="dark"] .online-calendar-event { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] .online-calendar-event[style*="background-color"] { color: #292b31; }
  html[data-oasis-theme="dark"] .conv-msg-card-body { background: var(--oasis-surface-alt) !important; }
  html[data-oasis-theme="dark"] .conv-msg-card-body[style*="225, 242, 255"] { background: var(--oasis-selected) !important; }
  html[data-oasis-theme="dark"] :is(.bubbleItem, .conv-dropdown, .conv-dropdown > [role="listbox"]) { background: var(--oasis-surface-raised) !important; }
  html[data-oasis-theme="dark"] div[style*="background: white"]:has(> .conv-dropdown) { background: var(--oasis-surface-raised) !important; }
  html[data-oasis-theme="dark"] :is(.oasis_nav, .oasis_nav_gap, .projecteditor-nav) { background: var(--oasis-surface) !important; }
  html[data-oasis-theme="dark"] :is(.invoice-general-resell-panel, .invoice-general-resell-flags, .resell-invoice-totals-toggle) { background: var(--oasis-surface-raised) !important; }
  html[data-oasis-theme="dark"] .att-preview-text { background: var(--oasis-surface) !important; }
  html[data-oasis-theme="dark"] :is(.ntextfield, .ntextarea, .ncheckbox, .card, .oasis-bom-datefield, .nvcp, .nhcp, .nbc):is(
    [style*="background: white" i], [style*="background-color: white" i],
    [style*="background: rgb(255, 255, 255)"], [style*="background-color: rgb(255, 255, 255)"],
    [style*="background: #fff;" i], [style*="background: #ffffff;" i],
    [style*="background-color: #fff;" i], [style*="background-color: #ffffff;" i]) {
    background-color: var(--oasis-surface) !important;
  }
  html[data-oasis-theme="dark"] :is(.nvcp, .nhcp):is(
    [style*="background: #f1f4f9" i], [style*="background: #f1fbff" i],
    [style*="background: rgb(241, 244, 249)"], [style*="background: rgb(241, 251, 255)"]) {
    background: var(--oasis-surface-raised) !important;
  }
  html[data-oasis-theme="dark"] :is(.ordereditor-notes-nav, .paymenteditor-notes-nav, .invoice-editor-important-nav, .vendorpo-option-nontransmitted) {
    background: var(--oasis-warning-bg) !important;
    color: var(--oasis-warning) !important;
  }
  html[data-oasis-theme="dark"] :is(.ordereditor-problem-nav, .paymenteditor-problem-nav, .ProjectEditor_bom-notice) {
    background: var(--oasis-danger-bg) !important;
    color: var(--oasis-danger) !important;
  }
  html[data-oasis-theme="dark"] .invoice-editor-resolved-dispute {
    background: var(--oasis-surface-alt) !important;
    color: var(--oasis-text-muted) !important;
  }

  /* The Home filter widgets are legacy inline styles without component IDs. */
  html[data-oasis-theme="dark"] .nhcp[style*="border: 1px solid rgb(145, 228, 226)"] {
    background: var(--oasis-surface-raised) !important;
    border-color: var(--oasis-input-border) !important;
  }
  html[data-oasis-theme="dark"] .nhcp[style*="border: 1px solid rgb(145, 228, 226)"] label { color: var(--oasis-text) !important; }
  /* Tile search is one composite control; its inner input has no surface. */
  html[data-oasis-theme="dark"] :is(.tile-search-container,
    .nhcp:has(> input[placeholder="Search by tile name"])) > input {
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
  }
  html[data-oasis-theme="dark"] :is(.tile-search-container,
    .nhcp:has(> input[placeholder="Search by tile name"])):focus-within {
    border-color: var(--oasis-accent) !important;
    outline: 2px solid var(--oasis-accent);
    outline-offset: 2px;
  }
  html[data-oasis-theme="dark"] .tile .nlbl[style*="color: #0000EE"] { color: var(--oasis-accent) !important; }

  /* Solid primary actions keep white text, including legacy dialog-specific
     rules that otherwise override shared .nbutton-primary styles. */
  html[data-oasis-theme="dark"] :is(.nbutton-primary, .button--primary, .btn-primary):not(:disabled):not(.nbutton-danger) {
    background: var(--oasis-primary) !important;
    border-color: var(--oasis-primary) !important;
    color: #fff !important;
  }
  html[data-oasis-theme="dark"] :is(.nbutton-primary, .button--primary, .btn-primary):not(:disabled):not(.nbutton-danger):hover {
    background: var(--oasis-primary-hover) !important;
    border-color: var(--oasis-primary-hover) !important;
  }

  /* Flatpickr calendars are appended to body outside component containers. */
  html[data-oasis-theme="dark"] .flatpickr-calendar { background: var(--oasis-surface-raised); color: var(--oasis-text); box-shadow: var(--oasis-shadow); border: 1px solid var(--oasis-border); }
  html[data-oasis-theme="dark"] :is(.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-weekdays, span.flatpickr-weekday) { background: var(--oasis-surface-raised); color: var(--oasis-text); }
  html[data-oasis-theme="dark"] .flatpickr-day { color: var(--oasis-text); }
  html[data-oasis-theme="dark"] :is(.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.flatpickr-disabled) { color: var(--oasis-text-muted); }
  html[data-oasis-theme="dark"] .flatpickr-day:hover { background: var(--oasis-hover); border-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] :is(.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange) { background: var(--oasis-primary); border-color: var(--oasis-primary); color: #fff; }
  html[data-oasis-theme="dark"] .flatpickr-day.today { border-color: var(--oasis-accent); }
  html[data-oasis-theme="dark"] .flatpickr-months :is(.flatpickr-prev-month, .flatpickr-next-month) { color: var(--oasis-accent); fill: var(--oasis-accent); }
}

/* Selected appearance is also visible in light mode. */
[data-oasis-theme-mode][aria-checked="true"] { font-weight: 700; }
[data-oasis-theme-mode][aria-checked="true"]::before { content: "\2713\00a0"; }
[data-oasis-theme-mode]:focus-visible { outline: 2px solid #116daf; outline-offset: -2px; }
