/* Official project palette. Shared by the landing and authenticated workspace.
   Other experiments and Partner Program keep their independent palettes. */
body.discover-theme-original-2,
body.is-authenticated:not(.legacy-marketing-page),
body.detail-page:not(.legacy-marketing-page),
body.catalog-page:not(.legacy-marketing-page) {
  --bg: #f9f9f8;
  --surface: #ffffff;
  --text: #2c2d30;
  --muted: #65666b;
  --dark: #181818;
  --border: #dededc;
  --border-strong: #b5b5b2;
  --discover-neutral: #f1f1f0;
  --discover-card-contrast: #e5e5e3;
  --discover-sage: #e5e5e3;
  --palette-feature: #ebebea;
  --palette-accent: #696a70;
  --palette-hover: #303030;
  --palette-deep: #27282e;
  --palette-on-dark: #cecfd8;
  --palette-dark-muted: #d1d2d7;
  --palette-dark-line: #51525c;
  --palette-hero-fade: var(--palette-deep);
  --palette-hero-text: #ffffff;
}
body.catalog-page:not(.legacy-marketing-page),
body.detail-page:not(.legacy-marketing-page),
body.is-authenticated:not(.legacy-marketing-page) {
  /* Product-only variant: approximately 30% less contrast against white.
     Owner and client views deliberately share the exact same token. */
  --workspace-bg: #f5f5f4;
  --bg: var(--workspace-bg);
  --subtle: var(--workspace-bg);
  --lightgray: var(--discover-card-contrast);
  --avatar-empty-surface: var(--discover-card-contrast);
  --avatar-empty-foreground: var(--muted);
  --border-light-hover: var(--border-strong);
  --surface-dark: var(--palette-deep);
  --muted-on-dark: var(--palette-dark-muted);
}

/* Workspace chrome follows the same product variant, not a separate auth color. */
body.is-authenticated:not(.legacy-marketing-page) {
  --workspace-divider: var(--border);
  --workspace-card-border: var(--border);
}
body.is-authenticated :is(.button-light, .button-outline):hover {
  background-color: var(--subtle);
}
body.is-authenticated :is(.modal-close, .account-fullscreen-menu-header button) {
  background-color: var(--surface);
}
body.is-authenticated .property-locked-action { background-color: var(--subtle); }
body.is-authenticated .account-catalog-progress { background-color: var(--discover-card-contrast); }
body.is-authenticated .account-catalog-progress i { background-color: var(--muted); }
