@font-face { font-family: "EMS Source Sans"; src: url("./assets/source-sans-3-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EMS Source Sans"; src: url("./assets/source-sans-3-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EMS Source Sans"; src: url("./assets/source-sans-3-black-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ems-canvas: #fbfaf8;
  --ems-surface: #fff;
  --ems-control: #fff;
  --ems-ink: #18181b;
  --ems-body: #27272a;
  --ems-muted: #666a73;
  --ems-line: #e7e4df;
  --ems-input-border: #d4d4d8;
  --ems-focus: #99b9e0;
  --ems-soft: #f7f6f3;
  --ems-subtle: #eeece8;
  --ems-accent: #004899;
  --ems-on-accent: #fff;
  --ems-danger: #b42318;
  --ems-radius: 1rem;
  background: var(--ems-canvas);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ems-canvas: #10151d;
  --ems-surface: #181f2a;
  --ems-control: #121a25;
  --ems-ink: #f3f7ff;
  --ems-body: #e3eaf6;
  --ems-muted: #b4c2d7;
  --ems-line: #323f51;
  --ems-input-border: #6a7b94;
  --ems-focus: #a7d6ff;
  --ems-soft: #1e2836;
  --ems-subtle: #273447;
  --ems-accent: #a7d6ff;
  --ems-on-accent: #10243a;
  --ems-danger: #ffb4ab;
}

[data-theme="dark"] .ems-store-header img { filter: brightness(0) invert(1); }
