/* Shared light/dark theme for the Business dashboard pages.
   Load AFTER the page's own <style>. Light is the default palette in each page;
   this file only overrides the shared variables for dark. */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --green:#17a314; --green-dark:#128a10; --green-light:#112a14; --green-mid:#1f5a22;
    --red:#ff6b5e; --red-light:#2c1513; --red-dark:#ff6b5e;
    --ink:#eef2f0; --ink-2:#d9e0dc; --ink-3:#b6c0ba; --muted:#9aa5ae; --muted-2:#707b84;
    --border:#2a343b; --border-2:#222b31;
    --surface:#12171a; --surface-2:#0b0f0c; --surface-3:#1b2227;
    --shadow-sm:0 1px 3px rgba(0,0,0,.5); --shadow:0 4px 12px rgba(0,0,0,.5); --shadow-lg:0 12px 32px rgba(0,0,0,.6);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --green:#17a314; --green-dark:#128a10; --green-light:#112a14; --green-mid:#1f5a22;
  --red:#ff6b5e; --red-light:#2c1513; --red-dark:#ff6b5e;
  --ink:#eef2f0; --ink-2:#d9e0dc; --ink-3:#b6c0ba; --muted:#9aa5ae; --muted-2:#707b84;
  --border:#2a343b; --border-2:#222b31;
  --surface:#12171a; --surface-2:#0b0f0c; --surface-3:#1b2227;
  --shadow-sm:0 1px 3px rgba(0,0,0,.5); --shadow:0 4px 12px rgba(0,0,0,.5); --shadow-lg:0 12px 32px rgba(0,0,0,.6);
  color-scheme:dark;
}
:root[data-theme="light"]{color-scheme:light}

.skeleton{background:linear-gradient(90deg,var(--surface-3) 25%,var(--border) 50%,var(--surface-3) 75%);background-size:200% 100%}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .ai-tip{background:linear-gradient(135deg,var(--green-light),var(--surface-3))}
  :root:not([data-theme="light"]) .ai-btn{background:linear-gradient(135deg,var(--green-light),var(--surface-3))}
}
:root[data-theme="dark"] .ai-tip,:root[data-theme="dark"] .ai-btn{background:linear-gradient(135deg,var(--green-light),var(--surface-3))}
