/* Portable Tailwind v4 theme. Import after Tailwind; add your app's @source. */
@theme {
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-control: 0.5rem;
  --radius-card: 0.75rem;
  --radius-preview: 1.125rem;
  --color-forest: #1f7558;
  --color-forest-hover: #195f47;
  --color-forest-active: #173e30;
  --color-mint: #edf6f1;
}
@theme inline {
  --color-brand: var(--ivr-brand);
  --color-brand-hover: var(--ivr-brand-hover);
  --color-brand-active: var(--ivr-brand-active);
  --color-brand-link: var(--ivr-brand-link);
  --color-on-brand: var(--ivr-on-brand);
  --color-ink: var(--ivr-ink);
  --color-muted: var(--ivr-muted);
  --color-canvas: var(--ivr-canvas);
  --color-surface: var(--ivr-surface);
  --color-tint: var(--ivr-tint);
  --color-line: var(--ivr-line);
  --color-control: var(--ivr-control);
  --color-focus: var(--ivr-focus);
  --color-success: var(--ivr-success);
  --color-success-soft: var(--ivr-success-soft);
  --color-warning: var(--ivr-warning);
  --color-warning-soft: var(--ivr-warning-soft);
  --color-danger: var(--ivr-danger);
  --color-danger-soft: var(--ivr-danger-soft);
  --color-info: var(--ivr-info);
  --color-info-soft: var(--ivr-info-soft);
}
@custom-variant dark (&:where([data-theme=dark], [data-theme=dark] *));
:root {
  color-scheme: light;
  --ivr-brand: #1f7558;
  --ivr-brand-hover: #195f47;
  --ivr-brand-active: #173e30;
  --ivr-brand-link: #1f7558;
  --ivr-on-brand: #ffffff;
  --ivr-ink: #14231f;
  --ivr-muted: #65726c;
  --ivr-canvas: #fbfcfa;
  --ivr-surface: #ffffff;
  --ivr-tint: #edf6f1;
  --ivr-line: #e4ebe7;
  --ivr-control: #829088;
  --ivr-focus: #1f7558;
  --ivr-success: #1f7558;
  --ivr-success-soft: #edf6f1;
  --ivr-warning: #8a4b0f;
  --ivr-warning-soft: #fff4df;
  --ivr-danger: #b42318;
  --ivr-danger-soft: #fef3f2;
  --ivr-info: #245e91;
  --ivr-info-soft: #edf4fc;
}
/* Proposed dark companion: semantic roles change; identity artwork stays fixed. */
[data-theme=dark] {
  color-scheme: dark;
  --ivr-brand: #8bdbb5;
  --ivr-brand-hover: #a6e8c7;
  --ivr-brand-active: #74caa1;
  --ivr-brand-link: #8bdbb5;
  --ivr-on-brand: #14231f;
  --ivr-ink: #edf6f1;
  --ivr-muted: #a6b9ae;
  --ivr-canvas: #101c17;
  --ivr-surface: #192b23;
  --ivr-tint: #223d30;
  --ivr-line: #344a3f;
  --ivr-control: #80988b;
  --ivr-focus: #8bdbb5;
  --ivr-success: #8bdbb5;
  --ivr-success-soft: #223d30;
  --ivr-warning: #f2cb87;
  --ivr-warning-soft: #3b2c19;
  --ivr-danger: #ffada4;
  --ivr-danger-soft: #452521;
  --ivr-info: #a8d0f2;
  --ivr-info-soft: #1b3349;
}
