/* ==============================================================================
   EHSCentre MY — In-app "calm light" theme (palette id: sage)
   Loaded AFTER style.css. Brings the signed-in app (sidebar, top bar, dashboard,
   modules, modals) in line with the landing page: warm off-white canvas, sage
   green brand colour, Figtree type, pill buttons, soft rounded cards.
   Applies only while <html data-palette="sage">. The other colour palettes and
   the dark theme keep working exactly as before. Delete this file's <link> and
   the app falls back to the standard light look.
   ============================================================================== */

/* ---------- Brand tokens: light ---------- */
:root[data-palette="sage"]:not([data-theme="dark"]) {
  --brand-primary: #001f1f;
  --brand-primary-glow: rgba(0, 31, 31, 0.20);
  --brand-secondary: #003d3d;
  --brand-accent: #b45309;
  --border-active: #001f1f;
  --text-accent: #001f1f;
  --primary: #001f1f;

  --bg-base: #f7f6f2;
  --bg-surface: #ffffff;
  --bg-surface-2: #f7f6f2;
  --bg-card: #ffffff;
  --bg-card-hover: #f7f6f2;
  --bg-input: #ffffff;
  --border-subtle: rgba(0, 31, 31, 0.10);

  --text-primary: #001f1f;
  --text-secondary: #5c7070;
  --text-muted: #6a7878;

  --sidebar-bg: #ffffff;
  --sidebar-border: rgba(0, 31, 31, 0.08);
  --sidebar-text: #001f1f;
  --sidebar-text-muted: #6a7878;
  --sidebar-hover: #f7f6f2;
  --sidebar-active-bg: #eff5ce;
  --sidebar-active-text: #003d3d;

  --card-shadow: 0 1px 2px rgba(0, 31, 31, 0.04), 0 6px 18px rgba(0, 31, 31, 0.05);
  --card-shadow-hover: 0 2px 4px rgba(0, 31, 31, 0.05), 0 16px 36px rgba(0, 31, 31, 0.10);
  --modal-shadow: 0 30px 70px -18px rgba(0, 31, 31, 0.28), 0 0 0 1px rgba(0, 31, 31, 0.05);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --sf-green: #001f1f;
  --sf-green-deep: #003d3d;
  --sf-sage: #cdface;
  --sf-sage-soft: #eff5ce;
  --sf-ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Brand tokens: dark theme keeps its dark surfaces, with the sage accent ---------- */
[data-theme="dark"][data-palette="sage"],
body.theme-dark[data-palette="sage"] {
  --brand-primary: #34b392;
  --brand-primary-glow: rgba(52, 179, 146, 0.32);
  --brand-secondary: #5fd0b3;
  --brand-accent: #fbbf24;
  --border-active: #5fd0b3;
  --text-accent: #8be0c8;
  --sidebar-active-bg: rgba(52, 179, 146, 0.18);
  --sidebar-active-text: #8be0c8;
}

/* Everything below is light-theme only. */

/* ---------- Type ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) body.in-app,
html[data-palette="sage"]:not([data-theme="dark"]) .app,
html[data-palette="sage"]:not([data-theme="dark"]) .modal,
html[data-palette="sage"]:not([data-theme="dark"]) .notif-panel {
  font-family: 'EmojiSafe', 'Matter', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
}
html[data-palette="sage"]:not([data-theme="dark"]) .app button,
html[data-palette="sage"]:not([data-theme="dark"]) .app input,
html[data-palette="sage"]:not([data-theme="dark"]) .app select,
html[data-palette="sage"]:not([data-theme="dark"]) .app textarea,
html[data-palette="sage"]:not([data-theme="dark"]) .modal button,
html[data-palette="sage"]:not([data-theme="dark"]) .modal input,
html[data-palette="sage"]:not([data-theme="dark"]) .modal select,
html[data-palette="sage"]:not([data-theme="dark"]) .modal textarea {
  font-family: inherit;
}
html[data-palette="sage"]:not([data-theme="dark"]) .app h1,
html[data-palette="sage"]:not([data-theme="dark"]) .app h2,
html[data-palette="sage"]:not([data-theme="dark"]) .app h3,
html[data-palette="sage"]:not([data-theme="dark"]) .modal h1,
html[data-palette="sage"]:not([data-theme="dark"]) .modal h2,
html[data-palette="sage"]:not([data-theme="dark"]) .modal h3 {
  font-family: inherit;
  letter-spacing: -0.022em;
}

/* ---------- Canvas: the landing page's soft sage wash, behind the content ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) body.in-app { background: #f7f6f2; }
html[data-palette="sage"]:not([data-theme="dark"]) .main-content {
  background:
    radial-gradient(60% 420px at 0% 0%, rgba(247, 246, 242, 0) 0%, rgba(247, 246, 242, 0) 72%),
    radial-gradient(45% 360px at 100% 0%, rgba(247, 246, 242, 0) 0%, rgba(247, 246, 242, 0) 72%),
    #f7f6f2;
}

/* ---------- Sidebar ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .sidebar-logo-icon { filter: none; }
html[data-palette="sage"]:not([data-theme="dark"]) .sidebar-logo-text { font-weight: 600; letter-spacing: -0.03em; }
html[data-palette="sage"]:not([data-theme="dark"]) .nav-item { border-radius: 10px; }
html[data-palette="sage"]:not([data-theme="dark"]) .nav-item:hover { background: var(--sidebar-hover); }
html[data-palette="sage"]:not([data-theme="dark"]) .nav-item.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-text);
  font-weight: 600;
}

/* ---------- Top bar: light frosted glass ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .topbar {
  background: rgba(247, 246, 242, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(0, 31, 31, 0.06);
  box-shadow: none;
}

/* ---------- Cards ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .card,
html[data-palette="sage"]:not([data-theme="dark"]) .stat-card {
  border-color: rgba(0, 31, 31, 0.07);
  box-shadow: var(--card-shadow);
}

/* ---------- Buttons: pills, solid sage primary ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .btn { border-radius: 29px; font-weight: 600; letter-spacing: -0.005em; }
html[data-palette="sage"]:not([data-theme="dark"]) .btn-primary {
  background: var(--sf-green);
  background-image: none;
  color: #fff;
  border: 1px solid var(--sf-green);
  box-shadow: 0 1px 2px rgba(0, 31, 31, .22), 0 6px 16px rgba(0, 31, 31, .18);
  transition: transform .22s var(--sf-ease), box-shadow .22s var(--sf-ease), background-color .2s;
}
html[data-palette="sage"]:not([data-theme="dark"]) .btn-primary:hover {
  background: var(--sf-green-deep);
  box-shadow: 0 2px 4px rgba(0, 31, 31, .24), 0 12px 26px rgba(0, 31, 31, .26);
  transform: translateY(-1px);
}
html[data-palette="sage"]:not([data-theme="dark"]) .btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(0, 31, 31, 0.12);
  color: #455252;
}
html[data-palette="sage"]:not([data-theme="dark"]) .btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(0, 31, 31, 0.24);
  color: #001f1f;
  box-shadow: 0 6px 16px rgba(0, 31, 31, 0.08);
}
/* Status-coloured buttons: darker text so they stay readable on the light canvas */
html[data-palette="sage"]:not([data-theme="dark"]) .btn-danger { color: #b91c1c; }
html[data-palette="sage"]:not([data-theme="dark"]) .btn-success { color: #15803d; }
html[data-palette="sage"]:not([data-theme="dark"]) .btn-warn { color: #b45309; }

/* ---------- Inputs ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .app input:focus,
html[data-palette="sage"]:not([data-theme="dark"]) .app select:focus,
html[data-palette="sage"]:not([data-theme="dark"]) .app textarea:focus,
html[data-palette="sage"]:not([data-theme="dark"]) .modal input:focus,
html[data-palette="sage"]:not([data-theme="dark"]) .modal select:focus,
html[data-palette="sage"]:not([data-theme="dark"]) .modal textarea:focus {
  border-color: var(--sf-green);
  box-shadow: 0 0 0 3px rgba(0, 31, 31, 0.15);
  outline: none;
}
html[data-palette="sage"]:not([data-theme="dark"]) .app input[type="checkbox"],
html[data-palette="sage"]:not([data-theme="dark"]) .app input[type="radio"],
html[data-palette="sage"]:not([data-theme="dark"]) .modal input[type="checkbox"],
html[data-palette="sage"]:not([data-theme="dark"]) .modal input[type="radio"] { accent-color: var(--sf-green); }

/* ---------- Modals ---------- */
html[data-palette="sage"]:not([data-theme="dark"]) .modal-overlay { background: rgba(0, 31, 31, 0.38); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
html[data-palette="sage"]:not([data-theme="dark"]) .modal { border-radius: 20px; border-color: rgba(0, 31, 31, 0.07); }

@media (prefers-reduced-motion: reduce) {
  html[data-palette="sage"] .btn-primary:hover { transform: none; }
}

/* ==============================================================================
   Readable status colours on every light theme (not only the sage palette).
   The original badge colours were picked for the dark theme. On a light surface
   they measured 1.7:1 to 2.2:1 contrast, which is hard to read. Same hues, darker
   text, same tinted backgrounds.
   ============================================================================== */
html:not([data-theme="dark"]) body:not(.theme-dark) .status-ok,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-compliant,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-approved,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-active,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-valid,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-open,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-pass,
html:not([data-theme="dark"]) body:not(.theme-dark) .nav-badge.ok,
html:not([data-theme="dark"]) body:not(.theme-dark) .btn-success { color: #166534; }

html:not([data-theme="dark"]) body:not(.theme-dark) .status-warn,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-review,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-expiring,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-pending,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-moderate,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-in-progress,
html:not([data-theme="dark"]) body:not(.theme-dark) .nav-badge.warn,
html:not([data-theme="dark"]) body:not(.theme-dark) .btn-warn { color: #92400e; }

html:not([data-theme="dark"]) body:not(.theme-dark) .status-danger,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-overdue,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-high,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-closed-incident,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-rejected,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-expired,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-fail,
html:not([data-theme="dark"]) body:not(.theme-dark) .nav-badge.urgent,
html:not([data-theme="dark"]) body:not(.theme-dark) .btn-danger { color: #b91c1c; }

html:not([data-theme="dark"]) body:not(.theme-dark) .status-info,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-low,
html:not([data-theme="dark"]) body:not(.theme-dark) .status-closed { color: #1d4ed8; }

html:not([data-theme="dark"]) body:not(.theme-dark) .status-purple { color: #6d28d9; }
html:not([data-theme="dark"]) body:not(.theme-dark) .dash-safe-badge-count { color: #047857; }

/* ==============================================================================
   Readable inline text colours on light themes.
   Many screens set bright text colours inline (for example color:#f59e0b) that were
   chosen for the dark theme. On light surfaces they measured about 2:1 contrast.
   These rules swap them for a darker shade of the same hue. They match only a text
   "color:" declaration (never background-color or border-color), and they skip any
   element that sits on its own dark or gradient background.
   ============================================================================== */
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#10b981"], [style^="color: #10b981"], [style*=";color:#10b981"], [style*="; color:#10b981"], [style*=";color: #10b981"], [style*="; color: #10b981"], [style^="color:#10B981"], [style^="color: #10B981"], [style*=";color:#10B981"], [style*="; color:#10B981"], [style*=";color: #10B981"], [style*="; color: #10B981"], [style^="color:#34d399"], [style^="color: #34d399"], [style*=";color:#34d399"], [style*="; color:#34d399"], [style*=";color: #34d399"], [style*="; color: #34d399"], [style^="color:#34D399"], [style^="color: #34D399"], [style*=";color:#34D399"], [style*="; color:#34D399"], [style*=";color: #34D399"], [style*="; color: #34D399"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #047857 !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#22c55e"], [style^="color: #22c55e"], [style*=";color:#22c55e"], [style*="; color:#22c55e"], [style*=";color: #22c55e"], [style*="; color: #22c55e"], [style^="color:#22C55E"], [style^="color: #22C55E"], [style*=";color:#22C55E"], [style*="; color:#22C55E"], [style*=";color: #22C55E"], [style*="; color: #22C55E"], [style^="color:#4ade80"], [style^="color: #4ade80"], [style*=";color:#4ade80"], [style*="; color:#4ade80"], [style*=";color: #4ade80"], [style*="; color: #4ade80"], [style^="color:#4ADE80"], [style^="color: #4ADE80"], [style*=";color:#4ADE80"], [style*="; color:#4ADE80"], [style*=";color: #4ADE80"], [style*="; color: #4ADE80"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #15803d !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#f59e0b"], [style^="color: #f59e0b"], [style*=";color:#f59e0b"], [style*="; color:#f59e0b"], [style*=";color: #f59e0b"], [style*="; color: #f59e0b"], [style^="color:#F59E0B"], [style^="color: #F59E0B"], [style*=";color:#F59E0B"], [style*="; color:#F59E0B"], [style*=";color: #F59E0B"], [style*="; color: #F59E0B"], [style^="color:#fbbf24"], [style^="color: #fbbf24"], [style*=";color:#fbbf24"], [style*="; color:#fbbf24"], [style*=";color: #fbbf24"], [style*="; color: #fbbf24"], [style^="color:#FBBF24"], [style^="color: #FBBF24"], [style*=";color:#FBBF24"], [style*="; color:#FBBF24"], [style*=";color: #FBBF24"], [style*="; color: #FBBF24"], [style^="color:#d97706"], [style^="color: #d97706"], [style*=";color:#d97706"], [style*="; color:#d97706"], [style*=";color: #d97706"], [style*="; color: #d97706"], [style^="color:#D97706"], [style^="color: #D97706"], [style*=";color:#D97706"], [style*="; color:#D97706"], [style*=";color: #D97706"], [style*="; color: #D97706"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #b45309 !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#ef4444"], [style^="color: #ef4444"], [style*=";color:#ef4444"], [style*="; color:#ef4444"], [style*=";color: #ef4444"], [style*="; color: #ef4444"], [style^="color:#EF4444"], [style^="color: #EF4444"], [style*=";color:#EF4444"], [style*="; color:#EF4444"], [style*=";color: #EF4444"], [style*="; color: #EF4444"], [style^="color:#f87171"], [style^="color: #f87171"], [style*=";color:#f87171"], [style*="; color:#f87171"], [style*=";color: #f87171"], [style*="; color: #f87171"], [style^="color:#F87171"], [style^="color: #F87171"], [style*=";color:#F87171"], [style*="; color:#F87171"], [style*=";color: #F87171"], [style*="; color: #F87171"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #dc2626 !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#60a5fa"], [style^="color: #60a5fa"], [style*=";color:#60a5fa"], [style*="; color:#60a5fa"], [style*=";color: #60a5fa"], [style*="; color: #60a5fa"], [style^="color:#60A5FA"], [style^="color: #60A5FA"], [style*=";color:#60A5FA"], [style*="; color:#60A5FA"], [style*=";color: #60A5FA"], [style*="; color: #60A5FA"], [style^="color:#3b82f6"], [style^="color: #3b82f6"], [style*=";color:#3b82f6"], [style*="; color:#3b82f6"], [style*=";color: #3b82f6"], [style*="; color: #3b82f6"], [style^="color:#3B82F6"], [style^="color: #3B82F6"], [style*=";color:#3B82F6"], [style*="; color:#3B82F6"], [style*=";color: #3B82F6"], [style*="; color: #3B82F6"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #2563eb !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#38bdf8"], [style^="color: #38bdf8"], [style*=";color:#38bdf8"], [style*="; color:#38bdf8"], [style*=";color: #38bdf8"], [style*="; color: #38bdf8"], [style^="color:#38BDF8"], [style^="color: #38BDF8"], [style*=";color:#38BDF8"], [style*="; color:#38BDF8"], [style*=";color: #38BDF8"], [style*="; color: #38BDF8"], [style^="color:#06b6d4"], [style^="color: #06b6d4"], [style*=";color:#06b6d4"], [style*="; color:#06b6d4"], [style*=";color: #06b6d4"], [style*="; color: #06b6d4"], [style^="color:#06B6D4"], [style^="color: #06B6D4"], [style*=";color:#06B6D4"], [style*="; color:#06B6D4"], [style*=";color: #06B6D4"], [style*="; color: #06B6D4"], [style^="color:#22d3ee"], [style^="color: #22d3ee"], [style*=";color:#22d3ee"], [style*="; color:#22d3ee"], [style*=";color: #22d3ee"], [style*="; color: #22d3ee"], [style^="color:#22D3EE"], [style^="color: #22D3EE"], [style*=";color:#22D3EE"], [style*="; color:#22D3EE"], [style*=";color: #22D3EE"], [style*="; color: #22D3EE"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #0e7490 !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#a78bfa"], [style^="color: #a78bfa"], [style*=";color:#a78bfa"], [style*="; color:#a78bfa"], [style*=";color: #a78bfa"], [style*="; color: #a78bfa"], [style^="color:#A78BFA"], [style^="color: #A78BFA"], [style*=";color:#A78BFA"], [style*="; color:#A78BFA"], [style*=";color: #A78BFA"], [style*="; color: #A78BFA"], [style^="color:#8b5cf6"], [style^="color: #8b5cf6"], [style*=";color:#8b5cf6"], [style*="; color:#8b5cf6"], [style*=";color: #8b5cf6"], [style*="; color: #8b5cf6"], [style^="color:#8B5CF6"], [style^="color: #8B5CF6"], [style*=";color:#8B5CF6"], [style*="; color:#8B5CF6"], [style*=";color: #8B5CF6"], [style*="; color: #8B5CF6"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #6d28d9 !important; }
html:not([data-theme="dark"]) body:not(.theme-dark) :is(#app, .modal, .notif-panel) :is([style^="color:#ec4899"], [style^="color: #ec4899"], [style*=";color:#ec4899"], [style*="; color:#ec4899"], [style*=";color: #ec4899"], [style*="; color: #ec4899"], [style^="color:#EC4899"], [style^="color: #EC4899"], [style*=";color:#EC4899"], [style*="; color:#EC4899"], [style*=";color: #EC4899"], [style*="; color: #EC4899"]):not([style*="background:#0"]):not([style*="background:#0"] *):not([style*="background:#1"]):not([style*="background:#1"] *):not([style*="background: #0"]):not([style*="background: #0"] *):not([style*="background: #1"]):not([style*="background: #1"] *):not([style*="background-color:#0"]):not([style*="background-color:#0"] *):not([style*="background-color:#1"]):not([style*="background-color:#1"] *):not([style*="gradient"]):not([style*="gradient"] *) { color: #be185d !important; }

html:not([data-theme="dark"]) body:not(.theme-dark) .ptw-source-pill.contractor,
html:not([data-theme="dark"]) body:not(.theme-dark) .ptw-type-pill.badge-elec { color: #b45309; }
