/* Light cream theme for the whole Business Pro cabinet (owner request 15.11.2026: "lighter cream background,
   every text must stay readable"). Loaded last; it redefines every colour token of the earlier layers
   (workspace, premium, c1, editorial, s6) and the few backgrounds that were hard-coded dark.
   Contrast: dark ink #2b241b on cream #f8f2e7 ~ 14:1; muted #5f5649 ~ 6.6:1; deep gold #7d5c17 ~ 5.9:1. */
html:root, html:root body {
  --cream-bg: #f8f2e7; --cream-bg-2: #f3eadb; --cream-panel: #fffaf1; --cream-panel-2: #fbf4e7;
  --cream-ink: #2b241b; --cream-muted: #5f5649; --cream-line: rgba(84, 62, 28, .16); --cream-line-strong: rgba(125, 92, 23, .38);
  --cream-gold: #7d5c17; --cream-gold-2: #6a4d12; --cream-gold-soft: #f1e3c2;

  --bg: var(--cream-bg) !important; --panel: var(--cream-panel) !important; --panel-strong: var(--cream-panel-2) !important;
  --line: var(--cream-line) !important; --line-strong: var(--cream-line-strong) !important;
  --text: var(--cream-ink) !important; --muted: var(--cream-muted) !important; --soft: var(--cream-muted) !important;
  --accent: var(--cream-gold) !important; --accent-2: var(--cream-gold-2) !important; --warning: #8a5a12 !important; --ok: #2f6f50 !important;

  --premium-bg: var(--cream-bg) !important; --premium-surface: var(--cream-panel) !important; --premium-surface-raised: var(--cream-panel-2) !important;
  --premium-line: var(--cream-line) !important; --premium-gold: var(--cream-gold) !important; --premium-platinum: var(--cream-muted) !important;

  --bp-bg: var(--cream-bg) !important; --bp-bg-deep: var(--cream-bg-2) !important; --bp-surface: var(--cream-panel) !important;
  --bp-surface-raised: var(--cream-panel-2) !important; --bp-surface-soft: rgba(84, 62, 28, .05) !important;
  --bp-line: var(--cream-line) !important; --bp-line-strong: var(--cream-line-strong) !important; --bp-text: var(--cream-ink) !important; --bp-muted: var(--cream-muted) !important;

  --c1-bg: var(--cream-bg) !important; --c1-bg-deep: var(--cream-bg-2) !important; --c1-graphite: var(--cream-panel) !important;
  --c1-platinum: var(--cream-muted) !important; --c1-ivory: var(--cream-ink) !important; --c1-muted: var(--cream-muted) !important;
  --c1-gold: var(--cream-gold) !important; --c1-gold-light: var(--cream-gold-2) !important; --c1-line: var(--cream-line) !important;
  --c1-positive: #2f6f50 !important; --c1-warning: #8a5a12 !important; --c1-danger: #9b3b30 !important;

  --ed-ink: var(--cream-bg) !important; --ed-ink-soft: var(--cream-bg-2) !important; --ed-graphite: var(--cream-panel) !important; --ed-graphite-soft: var(--cream-panel-2) !important;
  --ed-gold: var(--cream-gold) !important; --ed-gold-bright: var(--cream-gold-2) !important; --ed-platinum: var(--cream-muted) !important; --ed-ivory: var(--cream-ink) !important;
  --ed-muted: var(--cream-muted) !important; --ed-line: var(--cream-line) !important; --ed-line-gold: var(--cream-line-strong) !important;

  --s6-bg: var(--cream-bg) !important; --s6-bg-elevated: var(--cream-bg-2) !important; --s6-surface: var(--cream-panel) !important;
  --s6-surface-strong: var(--cream-panel-2) !important; --s6-surface-soft: var(--cream-bg-2) !important; --s6-line: var(--cream-line) !important;
  --s6-line-strong: var(--cream-line-strong) !important; --s6-ivory: var(--cream-ink) !important; --s6-platinum: var(--cream-muted) !important;
  --s6-muted: var(--cream-muted) !important; --s6-gold: var(--cream-gold) !important; --s6-gold-light: var(--cream-gold-2) !important; --s6-gold-deep: var(--cream-gold-2) !important;

  --editorial-ink: var(--cream-bg) !important; --editorial-graphite: var(--cream-panel) !important; --editorial-graphite-2: var(--cream-panel-2) !important;
  --editorial-platinum: var(--cream-muted) !important; --editorial-ivory: var(--cream-ink) !important; --editorial-gold: var(--cream-gold) !important;
  --editorial-gold-light: var(--cream-gold-2) !important; --editorial-gold-dark: var(--cream-gold-2) !important; --editorial-muted: var(--cream-muted) !important;
  --editorial-line: var(--cream-line) !important; --editorial-line-gold: var(--cream-line-strong) !important;
  color-scheme: light;
}
html, body { background: var(--cream-bg) !important; color: var(--cream-ink) !important; }

/* surfaces that had dark colours written directly */
.hero, .workspace-sidebar, .workspace-detail-body, .workspace-intro, .workspace-masthead, .workspace-mobile-nav, .workspace-more,
.panel, .money-card, .workspace-focus, .workspace-readiness, .bp-surface, .c1-surface, .c1-settings-intro, .c1-settings-section,
.c1-product .workspace-sidebar, .c1-product .panel, .c1-product .money-card, .c1-product .workspace-focus, .c1-product .workspace-readiness,
.landing-lead-card, .organizer-request, .organizer-panel, dialog, details, .modal, [class*="card"]:not(img), [class*="panel"]:not(img) {
  background: var(--cream-panel) !important; color: var(--cream-ink) !important; border-color: var(--cream-line) !important; box-shadow: 0 1px 2px rgba(84, 62, 28, .06) !important;
}
.workspace-masthead::after { background: none !important; }
.workspace-nav-item, .c1-settings-nav-button { color: var(--cream-ink) !important; }
.workspace-nav-item:hover, .workspace-nav-item.active, .workspace-actions a:hover, .workspace-feature-link:hover, .workspace-more[open],
.c1-settings-nav-button:hover, .c1-settings-nav-button.active, .c1-product .workspace-nav-item:hover, .c1-product .workspace-nav-item.active {
  background: var(--cream-gold-soft) !important; color: var(--cream-gold-2) !important;
}
h1, h2, h3, h4, h5, strong, b, label, legend, th, td, dt, dd, p, li, span, summary { color: inherit; }
h1, h2, h3, h4 { color: var(--cream-ink) !important; }
small, .muted, .form-status, .lead-metadata dt, [class*="muted"], [class*="lead"] > p { color: var(--cream-muted) !important; }
a { color: var(--cream-gold-2); }

/* forms */
input, select, textarea, .input {
  background: #fffdf8 !important; color: var(--cream-ink) !important; border: 1px solid var(--cream-line-strong) !important;
}
input::placeholder, textarea::placeholder { color: #8a8070 !important; }
option { background: #fffdf8; color: var(--cream-ink); }

/* buttons: filled gold with dark text; secondary outline */
.button, button.button, a.button, .primary-button { background: #d9b45c !important; color: #241c0e !important; border-color: #b8913a !important; }
.button.secondary, .secondary-button, button.secondary { background: transparent !important; color: var(--cream-gold-2) !important; border: 1px solid var(--cream-line-strong) !important; }
.badge, .pill, [class*="badge"] { background: var(--cream-gold-soft) !important; color: var(--cream-gold-2) !important; border-color: var(--cream-line-strong) !important; }

/* tables */
table, .workspace-screen table { background: var(--cream-panel) !important; color: var(--cream-ink) !important; }
th { background: var(--cream-bg-2) !important; color: var(--cream-ink) !important; }
td, th { border-color: var(--cream-line) !important; }

/* notices */
.lead-notification, [role="status"] { color: var(--cream-ink) !important; }
code, pre { background: var(--cream-bg-2) !important; color: var(--cream-ink) !important; }
hr { border-color: var(--cream-line) !important; }

/* texts whose colour was written directly as light (found by the contrast probe) */
.lead-metadata dd, #landingLeadsPanel .lead-metadata dd, .organizer-panel .lead-metadata dd { color: var(--cream-ink) !important; }
.lead-metadata dt, #landingLeadsPanel .lead-metadata dt, .organizer-panel .lead-metadata dt { color: var(--cream-muted) !important; }
.organizer-panel summary, details > summary { color: var(--cream-gold-2) !important; }
.landing-lead-card span, .organizer-request span, .landing-lead-card a, .organizer-request a { color: var(--cream-muted) !important; }
.landing-lead-card strong, .organizer-request strong { color: var(--cream-ink) !important; }
.organizer-mark { color: var(--cream-gold-2) !important; }
#landingLeadsPanel .lead-status-control { color: var(--cream-ink) !important; }
#landingLeadsPanel .lead-status-trigger { background: #fffdf8 !important; color: var(--cream-ink) !important; border-color: var(--cream-line-strong) !important; }
#landingLeadsPanel .lead-status-trigger span { color: var(--cream-ink) !important; }
#landingLeadsPanel .lead-status-options button[aria-selected="true"] { background: var(--cream-gold-soft) !important; color: var(--cream-ink) !important; }
/* dark overlay over the section header picture; on sections without a picture it turned the whole header black */
.workspace-masthead::before { background: none !important; }
