/* Private DR.YS theme. Derived from the supplied Warm Science strategy and
   latest packaging; see docs/DRYS_CI_APPLICATION.md. Layout stays in chassis. */
:root.theme-drys {
  color-scheme: light;
  --bg: #f4f0e8;
  --surface: #fffcf7;
  --surface-2: #e8ebe4;
  --ink: #142d32;
  --ink-2: #465957;
  --ink-3: #52635e;
  --muted: #52635e;
  --line: #c9d0c5;
  --line-2: #788980;
  --brand: #eab84e;
  --brand-600: #dba735;
  --brand-700: #214b48;
  --brand-50: #e1e8dc;
  --brand-100: #adbdb0;
  --brand-ink: #214b48;
  --on-brand: #142d32;
  --grad-brand: #eab84e;
  --accent: #214b48;
  --green: #256046; --green-soft: #e0eee2; --green-line: #91b29c;
  --red: #a3283d; --red-soft: #f9e8e8; --red-line: #d69aa2;
  --orange: #805006; --orange-soft: #f8edd0; --orange-line: #c6a562;
  --purple: #672f37; --purple-soft: #f4e5e6; --purple-line: #cfa4ab;
  --hot: #b54b2e; --hot-ink: #94391f; --hot-soft: #f9e7df; --hot-track: #e8b8a3;
  --warm: #9c700b; --warm-ink: #715007; --warm-soft: #f5e9c8; --warm-track: #ddc78a;
  --cold: #5e7874; --cold-ink: #355951; --cold-soft: #e3ece7; --cold-track: #b5ccc1;
  --bubble-ai: #e3eadd;
  --opoff-soft: #f8edd0; --opoff-line: #c6a562;
  --neutral-soft: #e8ebe4; --neutral-strong: #142d32;
  --chart-inbound: #68704d;
  --chart-revenue: #672f37;
  --shadow-1: 0 1px 3px rgb(20 45 50 / 8%);
  --shadow-2: 0 4px 8px rgb(20 45 50 / 12%);
  --shadow-sheet: -8px 0 24px rgb(20 45 50 / 18%);
}

:root.theme-drys.theme-dark {
  color-scheme: dark;
  --bg: #0c2024;
  --surface: #142d32;
  --surface-2: #203e40;
  --ink: #f4f0e8;
  --ink-2: #c6d3c9;
  --ink-3: #acbeb3;
  --muted: #acbeb3;
  --line: #355451;
  --line-2: #6b877c;
  --brand: #eab84e;
  --brand-600: #f2c865;
  --brand-700: #f0cc79;
  --brand-50: #344638;
  --brand-100: #6d8059;
  --brand-ink: #f0cc79;
  --on-brand: #142d32;
  --accent: #eab84e;
  --green: #83d1a4; --green-soft: #1d4439; --green-line: #4c8b6e;
  --red: #ffa1ac; --red-soft: #4c2831; --red-line: #a4606b;
  --orange: #f1c372; --orange-soft: #493c25; --orange-line: #998050;
  --purple: #e7b1ba; --purple-soft: #492d38; --purple-line: #9e6576;
  --hot: #ee9b78; --hot-ink: #ffd4bf; --hot-soft: #4c3028; --hot-track: #87513b;
  --warm: #eab84e; --warm-ink: #f6d999; --warm-soft: #4a4026; --warm-track: #8a7742;
  --cold: #9fb8ad; --cold-ink: #d4e5dc; --cold-soft: #284740; --cold-track: #577f6f;
  --bubble-ai: #294638;
  --opoff-soft: #493c25; --opoff-line: #998050;
  --neutral-soft: #27423f; --neutral-strong: #f4f0e8;
  --chart-inbound: #eab84e;
  --chart-revenue: #dca3af;
  --shadow-1: 0 1px 3px rgb(0 0 0 / 20%);
  --shadow-2: 0 4px 8px rgb(0 0 0 / 24%);
  --shadow-sheet: -8px 0 24px rgb(0 0 0 / 32%);
}

:root.theme-drys {
  --danger: var(--red); --danger-soft: var(--red-soft); --danger-line: var(--red-line);
  --chart-inbound-fill: color-mix(in srgb, var(--chart-inbound) 18%, transparent);
  --chart-revenue-muted: color-mix(in srgb, var(--chart-revenue) 24%, transparent);
}
:root.theme-drys :focus-visible { outline-color: var(--accent); }
:root.theme-drys .login-body { background: var(--bg); }
:root.theme-drys .brand-mark,
:root.theme-drys .login-mark {
  background: var(--brand); color: var(--on-brand);
  box-shadow: none; text-shadow: none;
}
:root.theme-drys .brand-mark::after { display: none; }
:root.theme-drys .brand:hover .brand-mark { transform: none; }
:root.theme-drys .topnav-link.is-active { background: var(--brand-50); color: var(--brand-ink); }
:root.theme-drys .theme-toggle { color: var(--ink-2); }
:root.theme-drys .btn-primary,
:root.theme-drys .fchip-branch.is-active,
:root.theme-drys .btn-resume { color: var(--on-brand); border-color: var(--brand-ink); }
:root.theme-drys .fchip-branch.is-active { background: var(--brand); }
:root.theme-drys .convo-row.is-active:hover { background: var(--brand-50); }
:root.theme-drys .btn-primary:active { background: var(--brand-600); }
:root.theme-drys .convo-search-input:hover { background: var(--surface-2); }
:root.theme-drys .badge-gray { background: var(--neutral-soft); }
:root.theme-drys .toast { background: var(--surface-2); color: var(--ink); }
:root.theme-drys .kpi-hero,
:root.theme-drys .roas-hero { background: var(--surface); border-color: var(--line-2); box-shadow: none; }
:root.theme-drys .kpi-hero-title,
:root.theme-drys .kpi-hero-link { color: var(--brand-ink); }
:root.theme-drys .roas-hero .kpi-hero-title { color: var(--green); }
:root.theme-drys .kpi-hero-cell,
:root.theme-drys .roas-big,
:root.theme-drys .roas-split-cell { box-shadow: none; }
:root.theme-drys .kpi-hero-cell.is-alert .kpi-hero-value,
:root.theme-drys .roas-big.is-bad .roas-big-value { color: var(--red); }
:root.theme-drys .kpi-hero-broken { background: var(--red-soft); border-color: var(--red-line); }
