/* Swapalto colours, taken from the shopper app's AppColors (lib/core/theme/app_colors.dart),
   so the site and the app match. Where the app has no text-safe green, the app's own
   secondaryDarkText (#166534) is used for text and button fills. Light values are the
   default; dark values follow the phone's setting, or data-theme. */
:root {
  --sw-surface: #f0fdf4;
  --sw-raised: #ffffff;
  --sw-sunken: #f3f4f6;
  --sw-line: #d1d5db;
  --sw-line-soft: #e5e7eb;
  --sw-text: #111827;
  --sw-text-2: #4b5563;
  --sw-brand: #22c55e;
  --sw-brand-deep: #059669;
  --sw-brand-soft: #dcfce7;
  --sw-link: #166534;
  --sw-button: #166534;
  --sw-on-button: #ffffff;
  --sw-ink: #0f172a;
  --sw-on-ink: #e2e8f0;
  --sw-on-ink-2: #9ca3af;
  --sw-flag: #b91c1c;
  --sw-score-1: #ef4444;
  --sw-score-2: #f97316;
  --sw-score-3: #eab308;
  --sw-score-4: #84cc16;
  --sw-score-5: #22c55e;
  --sw-space-1: 4px;
  --sw-space-2: 8px;
  --sw-space-3: 12px;
  --sw-space-4: 16px;
  --sw-space-5: 20px;
  --sw-space-6: 24px;
  --sw-space-8: 32px;
  --sw-space-10: 40px;
  --sw-space-12: 48px;
  --sw-space-16: 64px;
  --sw-type-display: 44px;
  --sw-type-h1: 30px;
  --sw-type-h2: 22px;
  --sw-type-h3: 17px;
  --sw-type-body: 16px;
  --sw-type-small: 14px;
  --sw-type-caption: 12px;
  --sw-radius-sm: 8px;
  --sw-radius-md: 12px;
  --sw-radius-lg: 18px;
  --sw-radius-pill: 999px;
  --sw-font: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sw-surface: #0f172a;
    --sw-raised: #1e293b;
    --sw-sunken: #0b1220;
    --sw-line: #334155;
    --sw-line-soft: #243247;
    --sw-text: #e2e8f0;
    --sw-text-2: #9ca3af;
    --sw-brand: #22c55e;
    --sw-brand-deep: #4ade80;
    --sw-brand-soft: #14532d;
    --sw-link: #4ade80;
    --sw-button: #4ade80;
    --sw-on-button: #052e16;
    --sw-ink: #0b1220;
    --sw-on-ink: #e2e8f0;
    --sw-on-ink-2: #9ca3af;
    --sw-flag: #fca5a5;
    --sw-score-1: #f87171;
    --sw-score-2: #fb923c;
    --sw-score-3: #facc15;
    --sw-score-4: #a3e635;
    --sw-score-5: #4ade80;
  }
}
:root[data-theme="dark"] {
  --sw-surface: #0f172a;
  --sw-raised: #1e293b;
  --sw-sunken: #0b1220;
  --sw-line: #334155;
  --sw-line-soft: #243247;
  --sw-text: #e2e8f0;
  --sw-text-2: #9ca3af;
  --sw-brand: #22c55e;
  --sw-brand-deep: #4ade80;
  --sw-brand-soft: #14532d;
  --sw-link: #4ade80;
  --sw-button: #4ade80;
  --sw-on-button: #052e16;
  --sw-ink: #0b1220;
  --sw-on-ink: #e2e8f0;
  --sw-on-ink-2: #9ca3af;
  --sw-flag: #fca5a5;
  --sw-score-1: #f87171;
  --sw-score-2: #fb923c;
  --sw-score-3: #facc15;
  --sw-score-4: #a3e635;
  --sw-score-5: #4ade80;
}
