/*
 * Full deal workspace dark mode
 * Loaded after deal-page.css and deal-workspace-simple-mode.css.
 */

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount {
  --deal-canvas: #181818;
  --deal-card-border: rgba(240, 240, 240, 0.22);
  --deal-border-hairline: rgba(240, 240, 240, 0.18);
  --deal-line-muted: rgba(240, 240, 240, 0.16);
  --deal-elev-hero: 0 14px 34px rgba(0, 0, 0, 0.3);
  --deal-elev-card: 0 10px 28px rgba(0, 0, 0, 0.24);
  --deal-elev-card-primary: 0 16px 36px rgba(0, 0, 0, 0.3);
  --deal-shadow-none: none;
  --deal-shadow-hover-calm: 0 8px 20px rgba(0, 0, 0, 0.24);
  --deal-surface-guidance-warm: #242424;
  --deal-surface-guidance-strong: #242424;
  --deal-border-guidance: rgba(250, 204, 21, 0.3);
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --text-muted: #909090;
  --gray-50: #1a1a1a;
  --gray-100: #2a2a2a;
  --gray-200: #3a3a3a;
  --gray-300: #575757;
  --gray-400: #6a6a6a;
  --gray-500: #909090;
  --gray-600: #c6c6c6;
  --gray-700: #e6e6e6;
  --gray-800: #e6e6e6;
  --gray-900: #f1f5f9;
  background: #181818 !important;
  background-image: none !important;
  color: #dcdcdc !important;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-main-content,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-main-content--workspace,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-unified-rail-layout,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-unified-rail-layout__main {
  background: #181818 !important;
  background-image: none !important;
  color: #dcdcdc !important;
}

/* Header and workspace controls. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header--workspace {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #ececec !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-title--workspace,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-context,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-context__bit {
  color: #f1f5f9 !important;
  text-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact__inner {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-back-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-back-btn--workspace,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-first-guide-entry-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-guided-tour-btn {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #f0f0f0 !important;
  -webkit-text-fill-color: #f0f0f0 !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-mode-toggle {
  background: #1a1a1a !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-mode-btn {
  background: transparent !important;
  color: #87a6c4 !important;
  border-color: transparent !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-mode-btn--active {
  background: #1e1e1e !important;
  color: #f1f5f9 !important;
  box-shadow: none !important;
}

/* Sticky completion strip and all deal tabs. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sticky-stack {
  background: #1e1e1e !important;
  background-image: none !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-complete-strip {
  background: linear-gradient(135deg, #1e1e1e, #181818) !important;
  color: #dcdcdc !important;
  border-color: rgba(136, 192, 208, 0.24) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-complete-strip__label {
  color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-complete-chip {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.34) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-playbook-rail,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-playbook-rail__row,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-related-strip {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-playbook-rail__settings-btn {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.32) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tabs {
  background: #222222 !important;
  background-image: none !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tab {
  background: transparent !important;
  background-image: none !important;
  color: #9a9a9a !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tab:hover {
  background: #1e1e1e !important;
  color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tab.is-active,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tab[aria-selected="true"] {
  background: #1e1e1e !important;
  color: #f1f5f9 !important;
  border-color: rgba(135, 166, 196, 0.36) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-tab__count {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.28) !important;
}

/* Shared tab cards, fields, tables, and empty states. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-panel,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-core-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-panel,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .detailSection,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-focused-disclosure,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-accordion-body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-contract-field,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-helper-card {
  background-color: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-helper-card__title {
  color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-helper-card__meta {
  color: #8a8a8a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-helper-card__step {
  background: #2a2a2a !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-footer-bar {
  background: #1a1a1a !important;
  background-image: none !important;
  border-top-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card-header,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-header,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-accordion-toggle {
  background: #222222 !important;
  background-image: none !important;
  color: #ececec !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-core-card__value,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-contract-field > span:first-child {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-subtitle,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card-subtitle,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-core-card__label,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-core-card__meta,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state__text {
  color: #8a8a8a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount input,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount textarea,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount select,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-modal-input,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .mm-styled-select__trigger,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-create-selector__trigger {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount input::placeholder,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount textarea::placeholder {
  color: #81a1c1 !important;
  -webkit-text-fill-color: #81a1c1 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state--inline,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-tasks-empty {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-action-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card-header-edit-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-competitors-edit-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__edit-contact {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .btn.primary,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-action-primary,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .contact-action-deck__primary {
  background: #81a1c1 !important;
  background-image: none !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  border-color: #81a1c1 !important;
}

/* Overview / focused summary. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__identity,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__metrics,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .l2c-client-journey,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .l2c-quote-analytics,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .l2c-deal-intel-banner,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-autopilot-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-autopilot-card__why-panel,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-action-center__hero,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-focused-pulse,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-focused-pulse-forecast,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-focused-forecast {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-closing-lens {
  background: linear-gradient(178deg, #222222 0%, #1a1a1a 48%, #1a1a1a 100%) !important;
  color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-closing-lens__head-sub,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-forecast-panel,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-forecast-note,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-closing-lens__chip,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-closing-lens__risk {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-track {
  background: linear-gradient(165deg, #1e1e1e, #181818) !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-track__dot,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__est-pill,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__nba-icon {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .l2c-client-journey__row-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__money,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__prob-num,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__health-num,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__metric-value,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-command-strip__next-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-closing-lens__stat-value,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-track__label {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-command-strip__next-reason,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-customer-motion__lede,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state__hint {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__money-sub,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__money-sub > span,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__prob-pct {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__stage-pill,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-core__metrics-link,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__missing-chip,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__primary-chip,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__reports-quick-add,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-comments-count {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-health-badge {
  background: #3a301c !important;
  background-image: none !important;
  color: #fde68a !important;
  border-color: rgba(245, 158, 11, 0.38) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-health-badge__label {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-forecast-seg,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-activity-tab {
  background: #222222 !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-forecast-seg.is-active,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-activity-tab.is-active {
  background: #1e1e1e !important;
  color: #222222 !important;
  border-color: rgba(135, 166, 196, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-nba-signal,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-nba-signal--risk {
  background: #242424 !important;
  background-image: none !important;
  color: #fde68a !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Persistent Snapshot and Activity side rail. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__panels,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-stack,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .momentum-timeline-sidebar {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar-header,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar-header--snapshot,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar-header--activity,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .momentum-timeline-sidebar__body {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item--tone-warning,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item--blocker {
  background: #242424 !important;
  color: #fef3c7 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__status {
  background: #1e1e1e !important;
  color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

/* Details tab. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-static-value,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-rel-map__node,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__person,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__person--primary {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-static-value--placeholder {
  color: #87a6c4 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-numbers__stage-pill {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(96, 165, 250, 0.32) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-rel-map__name,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-rel-map__ai-default {
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-comments-help-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .settings-card-help-btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .l2c-feature-help-btn {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.34) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .td-ai-badge,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .td-ai-badge__label,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .td-ai-badge svg {
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
}

/* Activity tab. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-customer-motion,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-customer-motion__band-head,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meetings-body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-portal-lists,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-portal-list-block,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-messages-body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-task-item,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

/* Financials tab. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-line-items,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-line-items-table,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-contract-basics-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-contract-grid {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount table,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount thead,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount tbody,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount tr,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount th,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount td {
  background-color: #1a1a1a !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .dli-table thead th {
  background: #222222 !important;
  color: #c6c6c6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .dli-row:hover {
  background: #222222 !important;
}

/* Deal Map tab. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-wrap,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-spine,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-pipeline-momentum,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__track {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero {
  background: linear-gradient(135deg, #1e1e1e, #181818) !important;
  color: #e6e6e6 !important;
  border-color: rgba(96, 165, 250, 0.28) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__stat {
  background: #1e1e1e !important;
  color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__stat-val,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__next-title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-aside-value {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__lede,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__stat-meta,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-hero__stat-label,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__meta,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__subtitle,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__meta {
  color: #9a9a9a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__card {
  background: linear-gradient(178deg, #1e1e1e, #181818) !important;
  color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.25) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__icon,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-task-block {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-branch,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-branch--empty {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #9a9a9a !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__next {
  background: #242424 !important;
  background-image: none !important;
  color: #fef3c7 !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-pm-flow__chip {
  background: #1e1e1e !important;
  color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__pill,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-inline-tab,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__tab-label,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-primary-contact-link {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state__title {
  color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__hint {
  color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar-card--timeline,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .mobile-action-bar {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-back-btn__kbd {
  background: #2a2a2a !important;
  background-image: none !important;
  color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-comments-help-popover,
  .deal-comments-help-popover__body,
  .deal-focus-band,
  .momentum-timeline-sidebar .timeline-list
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-comments-help-popover__arrow {
  background: #1a1a1a !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-comment__author,
  .deal-comment__text
) {
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-focus-band__label,
  .timeline-freshness
) {
  color: #a0a0a0 !important;
}

/* Client Room mirror shared by Deal Overview and Activity. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__step {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__step.is-primary {
  background: #222222 !important;
  border-color: rgba(96, 165, 250, 0.58) !important;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.08) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .staff-client-open-steps__title,
  .staff-client-open-steps__label
) {
  color: #f0f0f0 !important;
  -webkit-text-fill-color: #f0f0f0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .staff-client-open-steps__sub,
  .staff-client-open-steps__hint,
  .staff-client-open-steps__more,
  .staff-client-open-steps__analytics
) {
  color: #a0a0a0 !important;
  -webkit-text-fill-color: #a0a0a0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__count {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__num {
  background: #1e1e1e !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__step.is-primary .staff-client-open-steps__num {
  background: #2a2a2a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__icon {
  color: #c6c6c6 !important;
  filter: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn:not(.primary) {
  background: #2a2a2a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn:not(.primary):hover:not(:disabled) {
  background: #2e2e2e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(135, 166, 196, 0.5) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn.primary {
  background: #81a1c1 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #81a1c1 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn.primary:hover:not(:disabled) {
  background: #81a1c1 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn:focus-visible {
  outline: 2px solid #88c0d0 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(129, 161, 193, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .staff-client-open-steps__btn:disabled {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #7a7a7a !important;
  -webkit-text-fill-color: #7a7a7a !important;
  border-color: rgba(240, 240, 240, 0.16) !important;
  box-shadow: none !important;
  opacity: 0.78 !important;
}

/* Focused view: the compact renderer has its own late light-mode craftsmanship
   pass, so keep these overrides mode-scoped and after that component sheet. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] {
  --ds-page-bg: #181818;
  --ds-form-bg: #181818;
  --ds-border: rgba(240, 240, 240, 0.22);
  --ds-border-strong: rgba(240, 240, 240, 0.34);
  --ds-label-color: #a8a8a8;  --ds-value-color: #ececec;
  --ds-section-color: #a8a8a8;
  --ds-input-border: rgba(240, 240, 240, 0.38);
  --ds-input-bg: #1a1a1a;
  --ds-input-readonly-bg: #1e1e1e;
  --ds-empty-color: #909090;
  --ds-edit-btn-bg: #81a1c1;
  --ds-edit-btn-bg-hover: #81a1c1;
  --ds-edit-btn-border: #81a1c1;
  --ds-edit-btn-color: #f8fafc;
  --ds-card-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  --ds-focused-surface-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  color: #dcdcdc !important;
  -webkit-text-fill-color: initial;
  color-scheme: dark;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-workspace,
  .deal-workspace-body,
  .deal-main-content,
  .deal-main-content--workspace,
  .deal-unified-rail-layout,
  .deal-unified-rail-layout__main,
  .deal-unified-rail-layout__panels,
  .deal-section-panel
) {
  background: #181818 !important;
  background-image: none !important;
  color: #dcdcdc !important;
}

/* Header identity, contact summary, and Focused / Full controls. */
html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-header.deal-header--workspace {
  background: linear-gradient(180deg, #1e1e1e 0%, #181818 100%) !important;
  border-color: rgba(240, 240, 240, 0.26) !important;
  color: #ececec !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-title--workspace,
  .deal-header-pc__row--identity,
  .deal-header-pc__name,
  .deal-header-pc__company,
  .deal-workspace-mode-bar__name
) {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-header-context,
  .deal-header-pc__title,
  .deal-header-pc__row--touch,
  .deal-header-pc__meta
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-header-primary-contact__inner {
  background: linear-gradient(180deg, #222222 0%, #1e1e1e 100%) !important;
  border-color: rgba(96, 165, 250, 0.34) !important;
  color: #88c0d0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-workspace-mode-bar--simple {
  background: transparent !important;
  border-top-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-workspace-mode-toggle {
  background: #1a1a1a !important;
  border-color: rgba(240, 240, 240, 0.34) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-workspace-mode-btn {
  background: transparent !important;
  color: #8a8a8a !important;
  -webkit-text-fill-color: #8a8a8a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-workspace-mode-btn:hover:not(.deal-workspace-mode-btn--active) {
  background: #222222 !important;
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-workspace-mode-btn--active {
  background: #1e1e1e !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  box-shadow: inset 0 0 0 1px rgba(135, 166, 196, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-workspace-mode-bar__btn,
  .deal-first-guide-entry-btn
) {
  background: #1e1e1e !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.34) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-workspace-mode-bar__btn,
  .deal-first-guide-entry-btn
):hover:not(:disabled) {
  background: #2e2e2e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(135, 166, 196, 0.48) !important;
}

/* Focused identity, recommendation, pulse, and forecast. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-focused-identity,
  .deal-focused-guidance,
  .deal-focused-pulse-forecast,
  .deal-focused-disclosure,
  .deal-focused-map-affordance,
  .deal-first-guide,
  .deal-first-guide-invite
) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-identity__metric {
  background: transparent !important;
  color: #dcdcdc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-identity__metric:hover {
  background: #242424 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-focused-identity__val,
  .deal-focused-identity__trailing,
  .deal-focused-guidance__title,
  .deal-focused-pulse__title,
  .deal-focused-pulse__row-value,
  .deal-focused-pulse__healthy-title,
  .deal-first-guide__title,
  .deal-first-guide-invite__title
) {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-focused-identity__label,
  .deal-focused-guidance__eyebrow,
  .deal-focused-guidance__explain,
  .deal-focused-pulse__subtitle,
  .deal-focused-pulse__row-label,
  .deal-focused-pulse__row-detail,
  .deal-focused-pulse__row-status,
  .deal-focused-pulse__time,
  .deal-focused-pulse__healthy-detail,
  .deal-first-guide__instruction,
  .deal-first-guide__status,
  .deal-first-guide__rec-hint,
  .deal-first-guide__progress,
  .deal-first-guide-invite__text
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-identity__pill {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__why {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
  border-color: rgba(167, 139, 250, 0.42) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__why:hover {
  background: #1e1e1e !important;
  border-color: rgba(196, 181, 253, 0.6) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__coaching-wrap,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__setup {
  border-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__chip {
  background: #242424 !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__chip--warning {
  background: #3a301c !important;
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__chip--urgent {
  background: #3a2028 !important;
  color: #fecaca !important;
  -webkit-text-fill-color: #fecaca !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__chip--neutral {
  background: #222222 !important;
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.26) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance__setup-item:hover {
  background: #242424 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance--urgent {
  background: #1e1e1e !important;
  border-color: rgba(248, 113, 113, 0.34) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance--warning {
  background: #1e1e1e !important;
  border-color: rgba(245, 158, 11, 0.34) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-guidance--healthy {
  background: #1e1e1e !important;
  border-color: rgba(74, 222, 128, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse-forecast__forecast {
  background: linear-gradient(180deg, #1e1e1e 0%, #181818 100%) !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse__row:hover {
  background: #242424 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse__row--urgent {
  background: rgba(127, 29, 29, 0.16) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse__row--warning {
  background: rgba(146, 64, 14, 0.14) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse__row--urgent .deal-focused-pulse__row-status {
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-forecast-period,
  .deal-forecast-label,
  .deal-forecast-stage-bar__label
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

/* Disclosure rails, section headers, counts, and nested cards. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__toggle {
  background: transparent !important;
  color: #f0f0f0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__toggle:hover {
  background: #222222 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure.is-expanded .deal-focused-disclosure__toggle {
  background: #1e1e1e !important;
  border-bottom-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-focused-disclosure__title,
  .deal-focused-map-affordance__title
) {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-focused-disclosure__desc,
  .deal-focused-map-affordance__desc
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__count {
  background: #1e1e1e !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  box-shadow: inset 0 0 0 1px rgba(136, 192, 208, 0.26) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__chev {
  border-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__body .deal-card {
  background: transparent !important;
  border-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-disclosure__body .deal-card + .deal-card {
  border-top-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-card,
  .deal-card--primary,
  .deal-card--secondary,
  .deal-card--tertiary,
  .dli-section-card,
  .deal-contract-basics-card
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-card-header,
  .deal-card-header--spread,
  .deal-contract-basics-card > .deal-accordion-toggle,
  .deal-contract-basics-card__head
) {
  background: transparent !important;
  color: #f0f0f0 !important;
  border-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-card-title {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  #dealMeetingsCard,
  [data-section-anchor="documentsPortal"],
  [data-section-anchor="dealMessages"],
  [data-section-anchor="tasks"]
) > .deal-card-header .deal-card-title {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

/* Details fields, read values, editors, and all control states. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-core-card__label,
  .deal-simple-closing-row__label,
  .deal-contract-field > span:first-child,
  .deal-modal-field label,
  .deal-meetings-col__head,
  .deal-meetings-col__label
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-core-card__value,
  .deal-stage-static-value,
  .deal-simple-closing-row__value,
  .deal-next-step-hit,
  .deal-next-step-hit__date,
  .deal-next-step-hit__title,
  .deal-task-title,
  .dli-item-name
) {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-core-grid.deal-core-grid--deal-details-view .deal-core-card,
  .deal-pipeline-fields-stack > *,
  .deal-contract-grid > *,
  .deal-stage-numbers__stages > *,
  .deal-details-field--next-step,
  .deal-details-field--last-activity
) {
  border-color: rgba(240, 240, 240, 0.16) !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-core-card,
  .deal-workspace-pipeline-field,
  .deal-workspace-pipeline-read,
  .deal-contract-field,
  .deal-simple-closing-row
):hover {
  background: #1e1e1e !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  input,
  textarea,
  select,
  .deal-modal-input,
  .deal-modal-select,
  .deal-modal-textarea,
  .deal-percent-field__input,
  .deal-forecast-just-input,
  .deal-buying-team__role-select,
  .deal-buying-team__reports-select,
  .mm-styled-select__trigger,
  .deal-create-selector__trigger
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
  border-color: rgba(240, 240, 240, 0.38) !important;
  caret-color: #88c0d0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28) !important;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  input,
  textarea,
  .deal-modal-input,
  .deal-modal-textarea
)::placeholder {
  color: #81a1c1 !important;
  -webkit-text-fill-color: #81a1c1 !important;
  opacity: 1;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  input,
  textarea,
  select,
  .deal-modal-input,
  .deal-modal-select,
  .deal-modal-textarea,
  .deal-percent-field__input,
  .deal-forecast-just-input
):hover:not(:disabled) {
  border-color: rgba(135, 166, 196, 0.56) !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  input,
  textarea,
  select,
  .deal-modal-input,
  .deal-modal-select,
  .deal-modal-textarea,
  .deal-percent-field__input,
  .deal-forecast-just-input
):focus {
  background: #1e1e1e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(136, 192, 208, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  input,
  textarea,
  select,
  .deal-modal-input,
  .deal-modal-select,
  .deal-modal-textarea,
  button
):disabled {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #7a7a7a !important;
  -webkit-text-fill-color: #7a7a7a !important;
  border-color: rgba(240, 240, 240, 0.16) !important;
  box-shadow: none !important;
  opacity: 0.78 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  button,
  input,
  textarea,
  select,
  [tabindex]
):focus-visible {
  outline: 2px solid #88c0d0 !important;
  outline-offset: 2px !important;
}

/* Embedded competitors, buying team, playbook, sequences, comments and activity. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-buying-team__person,
  .deal-rel-map__node,
  .deal-competitor-picker,
  .deal-competitor-picker__option,
  .deal-playbook-card-body,
  .deal-playbook-step,
  .deal-sequences-embed,
  .deal-sequences-embed-row,
  .deal-comment,
  .deal-meetings-body,
  .deal-portal-lists,
  .deal-portal-list-block,
  .deal-messages-body,
  .deal-message-row,
  .deal-task-item,
  .deal-customer-motion,
  .deal-customer-motion__band,
  .deal-customer-motion__band-head
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-buying-team__person--primary {
  background: linear-gradient(180deg, #1e1e1e 0%, #181818 100%) !important;
  border-color: rgba(136, 192, 208, 0.42) !important;
  box-shadow: inset 0 0 0 1px rgba(136, 192, 208, 0.1) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-meeting-row,
  .deal-comment
) {
  background: transparent !important;
  border-color: rgba(240, 240, 240, 0.16) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-task-item.overdue {
  background: #1e1e1e !important;
  border-color: rgba(248, 113, 113, 0.36) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-task-meta,
  .deal-comment__meta,
  .deal-meeting-row__meta,
  .deal-message-row__meta,
  .dli-item-desc,
  .dli-item-sku
) {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-empty-state,
  .deal-empty-state--inline,
  .deal-tasks-empty,
  .deal-tasks-empty--rich,
  .dli-empty-state,
  .deal-sequences-embed-empty-panel
) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-empty-state__title,
  .deal-tasks-empty__copy strong,
  .dli-empty-title
) {
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-empty-state__hint,
  .dli-empty-desc
) {
  color: #87a6c4 !important;
  -webkit-text-fill-color: #87a6c4 !important;
}

/* Financials, invoice actions, tables, totals, and contract footer. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-line-items,
  .deal-line-items-table,
  .deal-line-items-table-wrap,
  .dli-table-wrap,
  .dli-totals-footer,
  .deal-contract-grid,
  .deal-contract-actions
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.2) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .dli-table,
  .dli-table thead,
  .dli-table tbody,
  .dli-table tr,
  .dli-table th,
  .dli-table td
) {
  background: #1a1a1a !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.18) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .dli-table thead th {
  background: #222222 !important;
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .dli-row:hover :is(td, th) {
  background: #242424 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .dli-total-row,
  .deal-contract-checkbox,
  .deal-contract-status
) {
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
}

/* Buttons, pills, inline actions, selected/hover/disabled states. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .btn,
  .deal-action-btn,
  .deal-card-header-edit-btn:not([data-section-save]),
  .deal-task-action-btn,
  .dli-action-btn,
  .deal-comments-help-popover__close
):not(.primary):not(.deal-action-primary) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .btn,
  .deal-action-btn,
  .deal-card-header-edit-btn,
  .deal-task-action-btn,
  .dli-action-btn,
  .deal-comments-help-popover__close
):hover:not(:disabled) {
  background: #2e2e2e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(135, 166, 196, 0.5) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .btn.primary,
  .deal-action-primary,
  .deal-card-header-edit-btn[data-section-edit],
  .deal-focused-map-affordance__btn
) {
  background: #81a1c1 !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #81a1c1 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .btn.primary,
  .deal-action-primary,
  .deal-card-header-edit-btn[data-section-edit],
  .deal-focused-map-affordance__btn
):hover:not(:disabled) {
  background: #81a1c1 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-stage-numbers__stage-pill,
  .deal-buying-team__primary-chip,
  .deal-buying-team__missing-chip,
  .deal-comments-count,
  .deal-tags-chip,
  .deal-motion-pill,
  .deal-sequences-status-pill,
  .deal-playbook-status
) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
  box-shadow: none !important;
}

/* Help panels, menus, snapshot rail, navigator, sticky/mobile chrome. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-comments-help-popover,
  .deal-comments-help-popover__header,
  .deal-comments-help-popover__body,
  .deal-comments-help-popover__section,
  .deal-health-explain-panel,
  .deal-dropdown-menu,
  .deal-strip-actions__menu
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.26) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-comments-help-popover__title,
  .deal-comments-help-popover__label
) {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-comments-help-popover__arrow {
  background: #1a1a1a !important;
  border-color: rgba(240, 240, 240, 0.26) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-tab-section-rail,
  .deal-unified-section-rail,
  .budgets-detail-tab-rail,
  .deal-tab-rail-group,
  .deal-sidebar,
  .deal-sidebar-card,
  .deal-snapshot-stack,
  .momentum-timeline-sidebar
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .budgets-rail-tab,
  .deal-sidebar__tab,
  .deal-snapshot-item
) {
  background: #1e1e1e !important;
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .budgets-rail-tab,
  .deal-sidebar__tab,
  .deal-snapshot-item
):hover {
  background: #1e1e1e !important;
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .budgets-rail-tab.is-active,
  .deal-sidebar__tab.is-active,
  .deal-sidebar__tab[aria-selected="true"]
) {
  background: #1e1e1e !important;
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
  border-color: rgba(135, 166, 196, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
  .deal-sticky-stack,
  .deal-complete-strip,
  .mobile-action-bar,
  .deal-workspace-footer
) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24) !important;
}

/* Deal-owned portaled editors. Authored document/print canvases are deliberately
   absent from this list and retain their semantic white page. */
html[data-theme="dark"] body[data-theme="momentum"] :is(
  .deal-modal,
  .deal-modal-header,
  .deal-modal-body,
  .deal-modal-footer,
  .deal-rel-map-insights-modal,
  .deal-meeting-modal .modalHead,
  .deal-meeting-modal .modalBody,
  .deal-meeting-modal .modalFoot,
  .deal-meeting-modal .dm-meeting-glass--hero,
  .deal-meeting-modal .dm-meeting-glass--tabs,
  .deal-meeting-modal .dm-meeting-glass--panel,
  .deal-meeting-modal .dm-meeting-glass--well,
  .deal-meeting-modal .dm-meeting-glass--notes,
  .deal-meeting-modal .dm-meeting-glass--link,
  .deal-meeting-modal .dm-meeting-glass--availability-sheet
) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.24) !important;
  box-shadow: none !important;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-theme="momentum"] :is(
  .deal-modal,
  .deal-meeting-modal
) :is(input, textarea, select, .deal-modal-input, .deal-modal-select, .deal-modal-textarea, .input, .select) {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
  border-color: rgba(240, 240, 240, 0.38) !important;
  color-scheme: dark;
}

html[data-theme="dark"] body[data-theme="momentum"] .deal-meeting-modal .dm-meeting-slot-btn {
  background: #222222 !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] .deal-meeting-modal .dm-meeting-slot-btn:hover {
  background: #1e1e1e !important;
  border-color: rgba(135, 166, 196, 0.48) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] .deal-meeting-modal .dm-meeting-slot-btn.is-active {
  background: #1e1e1e !important;
  color: #ffffff !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
}

@media (max-width: 920px) {
  html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-focused-pulse-forecast__forecast {
    border-top-color: rgba(240, 240, 240, 0.22) !important;
  }
}

@media (max-width: 640px) {
  html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
    .deal-header.deal-header--workspace,
    .deal-focused-identity,
    .deal-focused-guidance,
    .deal-focused-pulse-forecast,
    .deal-focused-disclosure,
    .deal-focused-map-affordance
  ) {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
    .deal-focused-guidance__actions,
    .deal-focused-map-affordance,
    .deal-contract-actions,
    .dli-header-actions
  ) > :is(button, .btn) {
    min-height: 40px !important;
  }

  html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] :is(
    input,
    textarea,
    select,
    .deal-modal-input,
    .deal-modal-select,
    .deal-modal-textarea
  ) {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Activity → Meetings: motion panel paints white list shells after deferred deal-page.css. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] :is(
  .deal-meetings-body,
  .deal-messages-body,
  .deal-portal-lists
) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] .deal-meetings-col__list,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] .deal-portal-list-block,
html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] [data-deal-section-panel="motion"] .deal-meetings-col__list,
html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] [data-deal-section-panel="motion"] .deal-portal-list-block {
  background: #1a1a1a !important;
  background-color: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border: 1px solid rgba(240, 240, 240, 0.22) !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] .deal-meetings-col__list:has(.deal-meetings-empty) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] :is(
  .deal-meetings-col__list .deal-empty-state--inline,
  .deal-meetings-col__list .deal-meetings-empty
) {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row {
  background: transparent !important;
  background-image: none !important;
  border-bottom-color: rgba(240, 240, 240, 0.16) !important;
  color: #dcdcdc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] .deal-meeting-row__title,
html[data-theme="dark"] body.deal-workspace-simple-page[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"] .deal-meeting-row__title {
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-meeting-row__when,
  .deal-meeting-row__location
),
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount [data-deal-section-panel="motion"] :is(
  .deal-meeting-row__when,
  .deal-meeting-row__location
) {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-badge--booked {
  background: #2a2a2a !important;
  color: #86efac !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-badge--manual {
  background: #1e1e1e !important;
  color: #87a6c4 !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-badge--call {
  background: #1e1e1e !important;
  color: #c6c6c6 !important;
  border-color: rgba(167, 139, 250, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__prep {
  background: #2a2a2a !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.42) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__prep:hover {
  background: #2e2e2e !important;
  background-image: none !important;
  border-color: rgba(135, 166, 196, 0.55) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__tx--recap {
  background: #242424 !important;
  background-image: none !important;
  color: #86efac !important;
  -webkit-text-fill-color: #86efac !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__tx--recap:hover {
  background: #2e2e2e !important;
  background-image: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meeting-row__email-draft {
  background: #242424 !important;
  background-image: none !important;
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meetings-recap-nudge {
  background: #242424 !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(52, 211, 153, 0.35) !important;
}

/* Deal-wide text contrast: light-mode slate/navy colors leak through deferred deal-page.css. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-map-artifact__name,
  .deal-map-artifact__kind,
  .deal-map-artifact__activity,
  .deal-map-artifact__hint,
  .deal-map-branch__label,
  .deal-map-branch__count,
  .deal-map-task-block__title,
  .deal-map-task-block__kind,
  .deal-map-task-block__stat,
  .deal-title,
  .deal-title--workspace,
  .deal-card-title,
  .deal-section-title,
  .deal-stage-static-value,
  .deal-closing-lens__value,
  .deal-hero-core__metric-value,
  .deal-hero-core__identity-name,
  .deal-buying-team__name,
  .deal-comment__author,
  .deal-task-title,
  .deal-message-row__title,
  .deal-portal-doc-name,
  .dli-item-name,
  .dli-item-total,
  .deal-empty-state__title,
  .deal-snapshot-item__title,
  .deal-snapshot-item__value,
  h1, h2, h3, h4, strong, b
) {
  color: #f0f0f0 !important;
  -webkit-text-fill-color: #f0f0f0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount :is(
  .deal-map-artifact__kind,
  .deal-map-artifact__activity,
  .deal-map-artifact__hint,
  .deal-map-branch__label,
  .deal-map-branch__count,
  .deal-map-task-block__kind,
  .deal-map-task-block__stat,
  .deal-card-subtitle,
  .muted,
  .text-muted,
  .deal-empty-state__copy,
  .deal-snapshot-item__meta,
  .deal-meeting-row__when,
  .deal-meeting-row__location,
  .dli-item-desc,
  .dli-item-sku
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__name {
  color: #f1f5f9 !important;
  -webkit-text-fill-color: #f1f5f9 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
  -webkit-text-fill-color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill--inv-sent {
  background: #1e1e1e !important;
  color: #87a6c4 !important;
  -webkit-text-fill-color: #87a6c4 !important;
  border-color: rgba(96, 165, 250, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill--inv-paid {
  background: #2a2a2a !important;
  color: #86efac !important;
  -webkit-text-fill-color: #86efac !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill--inv-partial {
  background: #3a2e14 !important;
  color: #fcd34d !important;
  -webkit-text-fill-color: #fcd34d !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill--inv-overdue {
  background: #3a1d24 !important;
  color: #fca5a5 !important;
  -webkit-text-fill-color: #fca5a5 !important;
  border-color: rgba(248, 113, 113, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__pill--inv-draft {
  background: #242424 !important;
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.3) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__icon {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #c6c6c6 !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact--estimate .deal-map-artifact__icon {
  background: #2a2a2a !important;
  color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.4) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact--invoice .deal-map-artifact__icon {
  background: #2a2a2a !important;
  color: #5eead4 !important;
  border-color: rgba(45, 212, 191, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact--doc .deal-map-artifact__icon {
  background: #3a2e14 !important;
  color: #fde68a !important;
  border-color: rgba(250, 204, 21, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-artifact__chev {
  color: #8a8a8a !important;
}

/* ---------------------------------------------------------------------------
   Full + Focused polish pass (v9): SNAPSHOT tab, activity rail, NBA AI/Actions,
   header contact links, and help/hint text — beat deferred deal-page.css.
   --------------------------------------------------------------------------- */

/* Vertical SNAPSHOT rail tab (open + collapsed). Light indigo gradient must die. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__tab,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-workspace-body--sidebar-collapsed
  .deal-sidebar__tab,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="advanced"]
  .deal-sidebar__tab,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount[data-deal-workspace-mode="simple"]
  .deal-sidebar__tab {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
  border-color: rgba(136, 192, 208, 0.42) !important;
  border-left-color: rgba(136, 192, 208, 0.55) !important;
  box-shadow: -2px 0 14px rgba(0, 0, 0, 0.35) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__tab:hover,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-workspace-body--sidebar-collapsed
  .deal-sidebar__tab:hover {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
  border-color: rgba(135, 166, 196, 0.55) !important;
  box-shadow: -3px 0 18px rgba(0, 0, 0, 0.42) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__tab-icon,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-sidebar__tab-label {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
}

/* Activity sidebar: kill light gradient wash + empty-state white shell. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .momentum-timeline-sidebar__body,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-sidebar-card--timeline
  .momentum-timeline-sidebar__body {
  background: #1e1e1e !important;
  background-color: #1e1e1e !important;
  background-image: none !important;
  color: #dcdcdc !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .deal-empty-state--timeline,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .deal-activity-empty,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .timeline-list {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #a8a8a8 !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .deal-empty-state--timeline
  .deal-empty-state__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .timeline-title {
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .deal-empty-state--timeline
  .deal-empty-state__hint,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .timeline-preview,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .timeline-time,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .momentum-timeline-sidebar
  .timeline-freshness {
  color: #9a9a9a !important;
  -webkit-text-fill-color: #9a9a9a !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .timeline-item:hover {
  background: #1e1e1e !important;
  background-image: none !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
  box-shadow: none !important;
}

/* Snapshot hint / meta — navy leaks on amber cards. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__hint,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__meta,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item__status {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item--tone-warning .deal-snapshot-item__hint,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-snapshot-item--blocker .deal-snapshot-item__hint {
  color: #fde68a !important;
  -webkit-text-fill-color: #fde68a !important;
}

/* Header contact card: name / email / phone contrast. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-pc__row--identity,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact .deal-primary-contact-link {
  color: #87a6c4 !important;
  -webkit-text-fill-color: #87a6c4 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact .deal-primary-contact-link:hover {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact .deal-primary-contact-email {
  color: #87a6c4 !important;
  -webkit-text-fill-color: #87a6c4 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact .deal-primary-contact-tel {
  color: #6ee7b7 !important;
  -webkit-text-fill-color: #6ee7b7 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-pc__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-pc__row--touch,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-pc__empty,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-header-primary-contact .deal-primary-contact-sep {
  color: #8a8a8a !important;
  -webkit-text-fill-color: #8a8a8a !important;
}

/* NBA AI coaching / draft buttons — purple-on-dark was unreadable. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai.btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai--secondary.btn,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__why.btn {
  background: #2a2a2a !important;
  background-image: none !important;
  color: #2a2a2a !important;
  -webkit-text-fill-color: #2a2a2a !important;
  border-color: rgba(135, 166, 196, 0.42) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai.btn:hover,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai--secondary.btn:hover,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__why.btn:hover {
  background: #2e2e2e !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(168, 197, 212, 0.55) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai .td-ai-badge,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__why .td-ai-badge,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .td-ai-badge--on-eyebrow {
  background: rgba(136, 192, 208, 0.22) !important;
  color: #c6c6c6 !important;
  -webkit-text-fill-color: #c6c6c6 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-hero-nba__ai-label {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* Actions > flyouts — white shells / slate text from momentum parity rules. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-hero-nba__action-deck.is-expanded
  > button.btn.ghost.contact-action-deck__flyout,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-hero-nba__action-deck
  > button.btn.ghost.contact-action-deck__flyout,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__toggle {
  background: #1e1e1e !important;
  background-image: none !important;
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.32) !important;
  box-shadow: none !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  .deal-hero-nba__action-deck.is-expanded
  > button.btn.ghost.contact-action-deck__flyout:hover:not(:disabled),
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__toggle:hover,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__toggle[aria-expanded="true"] {
  background: #2e2e2e !important;
  background-image: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: rgba(135, 166, 196, 0.45) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__menu {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #e6e6e6 !important;
  border-color: rgba(240, 240, 240, 0.28) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.48) !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__item {
  color: #e6e6e6 !important;
  -webkit-text-fill-color: #e6e6e6 !important;
  background: transparent !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__item:hover,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__item:focus-visible {
  background: #1e1e1e !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-strip-actions__label {
  color: #8a8a8a !important;
  -webkit-text-fill-color: #8a8a8a !important;
}

/* Details help / content placeholders / map node labels. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-section-subtitle,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-card-subtitle,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-buying-team__field-hint,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .dli-field-hint,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state__text,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-empty-state__copy,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-stage-static-value--placeholder,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__pill,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__meta,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__subtitle {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-node__title,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-map-aside-value {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}

/* Meetings hint card + portal list blocks still authored white in deal-page.css. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-meetings-hint-card,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  [data-deal-section-panel="motion"]
  [data-section-anchor="documentsPortal"]
  .deal-portal-lists,
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount
  [data-deal-section-panel="motion"]
  [data-section-anchor="documentsPortal"]
  .deal-portal-list-block {
  background: #1a1a1a !important;
  background-image: none !important;
  color: #dcdcdc !important;
  border-color: rgba(240, 240, 240, 0.22) !important;
  box-shadow: none !important;
}

/* Footer status strip labels that read as navy on dark. */
html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-footer {
  color: #88c0d0 !important;
  -webkit-text-fill-color: #88c0d0 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-footer :is(
  .deal-footer-stat__label,
  .deal-footer-stat__meta,
  .muted,
  .text-muted
) {
  color: #a8a8a8 !important;
  -webkit-text-fill-color: #a8a8a8 !important;
}

html[data-theme="dark"] body[data-theme="momentum"] #dealWorkspaceMount .deal-workspace-footer :is(
  strong,
  b,
  .deal-footer-stat__value
) {
  color: #ececec !important;
  -webkit-text-fill-color: #ececec !important;
}
