/* Energy Logic identity: official EL mark, orange and warm neutral surfaces.
   Product measurements keep their existing series colors. */
:root {
  --brand-orange:#f15f24;
  --ink:#282424; --muted:#736d68; --subtle:#938a82;
  --accent:#b94b18; --accent-soft:#fff0e8;
  --line:#e7e2dc; --canvas:#f7f5f2;
  --surface-soft:#faf8f5; --surface-hover:#f2eee9;
  --input-border:#e0d9d2;
  --chart-selection:#f15f241a; --chart-selection-border:#db632f;
}
:root[data-theme=dark] {
  --ink:#f1eeeb; --muted:#b2a79f; --subtle:#8f837b;
  --accent:#ffad85; --accent-soft:#3c2a22;
  --line:#3b3531; --canvas:#171717; --surface:#22201f;
  --surface-soft:#292624; --surface-hover:#332e2a;
  --input:#2b2724; --input-border:#50443c;
  --tooltip:#29231ff7; --overlay:#22201fe8;
  --chart-grid:#3b3531; --chart-text:#b2a79f;
  --chart-selection:#f15f2426; --chart-selection-border:#ffad85;
}

.brand::before,.auth-brand::before,.startup-brand::before {
  content:""; display:inline-block; width:34px; height:34px;
  vertical-align:-8px; margin-right:10px; border-radius:8px;
  background:#fff url('./assets/energy-logic-mark.svg') center/100% no-repeat;
  box-shadow:0 0 0 1px #231f2008;
}
.parcours .brand { align-items:center; gap:0; font-size:24px; }
.parcours .brand span { margin-left:4px; }
.auth-brand::before,.startup-brand::before {
  width:48px; height:48px; vertical-align:-14px; margin-right:13px; border-radius:12px;
}
.console-topbar .auth-brand { white-space:nowrap; font-size:24px; }
.console-topbar .auth-brand::before { width:34px; height:34px; vertical-align:-8px; margin-right:10px; border-radius:8px; }
html[data-theme=dark] .brand::before,html[data-theme=dark] .auth-brand::before,html[data-theme=dark] .startup-brand::before { box-shadow:0 0 0 1px #ffffff14; }

.auth-screen { background:radial-gradient(ellipse at 18% 16%,#f15f240b 0,transparent 55%),var(--canvas); }
html[data-theme=dark] .auth-screen { background:radial-gradient(ellipse at 18% 16%,#f15f2412 0,transparent 55%),var(--canvas); }
.auth-card { border-top:3px solid var(--brand-orange); }
html[data-theme=dark] .auth-card { background:var(--surface); color:var(--ink); }
html[data-theme=dark] .auth-card input,html[data-theme=dark] .account-body input:not([type=checkbox]) { background:var(--input); }
html[data-theme=dark] .auth-theme-toggle { background:var(--surface); color:var(--muted); }
html[data-theme=dark] .account-dropdown { background:var(--surface); color:var(--ink); }
html[data-theme=dark] .account-dropdown a,html[data-theme=dark] .account-dropdown button { color:var(--ink); }
.console-page,html[data-theme=dark] .console-page { --console-surface:var(--surface); background:var(--canvas); color:var(--ink); }
html[data-theme=dark] .console-tabs:not(.enterprise-tabs),html[data-theme=dark] .console-panel th { background:var(--surface-soft); }
html[data-theme=dark] .tab-indicator { background:var(--accent-soft); }
.button-dark { background:#b94b18; border-color:#b94b18; color:#fff; box-shadow:0 2px 5px #b94b1814; }
.button-dark:hover:enabled { background:#9d3b0f; border-color:#9d3b0f; box-shadow:0 3px 10px #b94b1826; }
.auth-card input:focus,.account-body input:focus,.console-page input:focus,.console-page select:focus,.console-dialog textarea:focus { outline-color:var(--accent); }
.console-page input[type=checkbox] { accent-color:var(--accent); }
.auth-card .auth-eyebrow { color:var(--accent); }

@media(max-width:1180px) and (min-width:801px) {
  .parcours .brand { font-size:21px; }
  .parcours .brand::before { width:28px; height:28px; vertical-align:-7px; margin-right:8px; }
}
@media(max-width:500px) {
  .console-topbar .auth-brand { font-size:21px; }
  .console-topbar .auth-brand::before { width:29px; height:29px; vertical-align:-7px; margin-right:7px; }
}
