/* ── Per-company themes ─────────────────────────────────────────────
   Each body[data-theme] re-skins the shared shell. We change palette,
   sidebar treatment, accent, radii, and display font to give each
   company a distinct identity while keeping the same structure.
*/

/* ════ MERIDIAN — Audit / Advisory (corporate, navy, conservative) ════ */
body[data-theme="meridian"]{
  --accent:#1e3a5f;
  --bg:#f4f6f9;--surface:#ffffff;--surface-2:#eef2f7;
  --text:#0f1c2e;--text-soft:#3a4760;--text-faint:#6a7890;
  --line:#e1e7ef;--line-soft:#eef2f7;
  --sidebar-bg:#0f2138;--sidebar-text:#b9c6d8;--sidebar-active:#1c3656;
  --switch-bg:#0a1626;--switch-text:#e7eef7;
  --font-display:'Fraunces',Georgia,serif;
  --radius:10px;--radius-sm:7px;
}
body[data-theme="meridian"] .page-title,
body[data-theme="meridian"] .sec-head h2{font-family:'Fraunces',serif;font-weight:600;letter-spacing:-.01em}
body[data-theme="meridian"] .sb-app-name{font-family:'Fraunces',serif}
body[data-theme="meridian"] .stat-value{font-family:'Fraunces',serif}
body[data-theme="meridian"] .badge-accent{background:#e9eef5;color:#1e3a5f;border-color:#c9d6e6}

/* ════ SUMMIT — E-commerce (bold, energetic, modern) ════════════════ */
body[data-theme="summit"]{
  --accent:#ff5a1f;
  --bg:#f7f7f8;--surface:#ffffff;--surface-2:#f2f3f5;
  --text:#16181d;--text-soft:#4a4f5a;--text-faint:#9298a4;
  --line:#e7e8ec;--line-soft:#f0f1f3;
  --sidebar-bg:#16181d;--sidebar-text:#b7bcc7;--sidebar-active:#26292f;
  --switch-bg:#0e0f12;--switch-text:#f2f3f5;
  --font-display:'Archivo',system-ui,sans-serif;
  --radius:16px;--radius-sm:11px;
}
body[data-theme="summit"] .page-title,
body[data-theme="summit"] .sec-head h2,
body[data-theme="summit"] .sb-app-name,
body[data-theme="summit"] .stat-value{font-family:'Archivo',sans-serif;font-weight:800;letter-spacing:-.02em}
body[data-theme="summit"] .sb-item.active{background:linear-gradient(90deg,color-mix(in srgb,#ff5a1f 22%,transparent),transparent)}
body[data-theme="summit"] .stat{border-top:2px solid transparent}
body[data-theme="summit"] .ui-btn-primary{box-shadow:0 8px 20px color-mix(in srgb,#ff5a1f 35%,transparent)}

/* ════ LUMIÈRE — Fine dining (warm, editorial, dark + gold) ═════════ */
body[data-theme="lumiere"]{
  --accent:#b8893f;
  --bg:#1a1614;--surface:#221d1a;--surface-2:#2a2420;
  --text:#f3ece1;--text-soft:#cabba6;--text-faint:#a0917d;
  --line:#352d27;--line-soft:#2a2420;
  --sidebar-bg:#14100e;--sidebar-text:#cbbda9;--sidebar-active:#2a221c;
  --switch-bg:#100d0b;--switch-text:#f3ece1;
  --font-display:'Manrope','Inter',system-ui,sans-serif;
  --radius:8px;--radius-sm:6px;
  --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.4);
  --shadow-lg:0 24px 70px rgba(0,0,0,.6);
}
body[data-theme="lumiere"] .page-title,
body[data-theme="lumiere"] .sec-head h2,
body[data-theme="lumiere"] .card-head h3,
body[data-theme="lumiere"] .stat-value{font-family:'Manrope','Inter',sans-serif;font-weight:700;letter-spacing:-.01em}
body[data-theme="lumiere"] .eyebrow{color:#cda35e}
body[data-theme="lumiere"] .tbl th{background:#2a2420;color:#9b8b76}
body[data-theme="lumiere"] .tbl.zebra tbody tr:nth-child(even){background:rgba(255,255,255,.018)}
body[data-theme="lumiere"] .tbl tbody tr:hover{background:rgba(184,137,63,.08)}
body[data-theme="lumiere"] .badge-success{background:rgba(16,185,129,.14);color:#5fd2a4;border-color:rgba(16,185,129,.3)}
body[data-theme="lumiere"] .badge-warning{background:rgba(245,158,11,.14);color:#e0b060;border-color:rgba(245,158,11,.3)}
body[data-theme="lumiere"] .badge-danger{background:rgba(239,68,68,.14);color:#f08a8a;border-color:rgba(239,68,68,.3)}
body[data-theme="lumiere"] .badge-neutral{background:#2a2420;color:#c4b6a4;border-color:#352d27}
body[data-theme="lumiere"] .ai-input,
body[data-theme="lumiere"] .ui-select select{background:#2a2420;color:#f3ece1}
body[data-theme="lumiere"] .ai-chip{background:#2a2420;color:#c4b6a4}
body[data-theme="lumiere"] .sb-avatar,
body[data-theme="lumiere"] .uavatar{color:#1a1614}

/* ════ KEYSTONE — CRE developer (architectural, stone + forest) ═════ */
body[data-theme="keystone"]{
  --accent:#3f5e4e;
  --bg:#f5f4f1;--surface:#ffffff;--surface-2:#edece7;
  --text:#1f2420;--text-soft:#4c534c;--text-faint:#8a8f86;
  --line:#e3e1da;--line-soft:#eceae4;
  --sidebar-bg:#252a26;--sidebar-text:#bcc3bb;--sidebar-active:#333a33;
  --switch-bg:#1a1e1a;--switch-text:#eef0ec;
  --font-display:'Manrope',system-ui,sans-serif;
  --radius:6px;--radius-sm:4px;
}
body[data-theme="keystone"] .page-title,
body[data-theme="keystone"] .sec-head h2,
body[data-theme="keystone"] .sb-app-name{font-family:'Manrope',sans-serif;font-weight:700;letter-spacing:-.01em}
body[data-theme="keystone"] .eyebrow{color:#6b8a76}
body[data-theme="keystone"] .stat{border-radius:6px}
body[data-theme="keystone"] .badge-accent{background:#e8eee9;color:#3f5e4e;border-color:#cdd9d0}
body[data-theme="keystone"] .card{border-left:2px solid color-mix(in srgb,var(--accent) 30%,transparent)}
