
:root:not(#myalbert-theme-default),
:host {
  color-scheme: light;
  --app-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-size-xs: 12px;
  --app-font-size-sm: 14px;
  --app-radius-md: 6px;
  --app-radius-lg: 8px;
  --app-radius-xl: 12px;
  --app-radius-full: 999px;
  --app-control-sm: 32px;
  --app-control-md: 40px;
  --app-border-width: 1px;
  --app-transition-duration: 200ms;
  --app-shadow-dialog: 0 20px 60px color-mix(in srgb, var(--app-text) 14%, transparent);
  --app-bg: #eef2f7;
  --app-surface: #ffffff;
  --app-surface-muted: #f6f8fb;
  --app-surface-strong: #e7edf5;
  --app-border: #b9c4d3;
  --app-border-strong: #8ea0b7;
  --app-text: #111827;
  --app-text-muted: #334155;
  --app-text-subtle: #64748b;
  --app-hover: #e3eaf3;
  --app-selected: #dbeafe;
  --app-brand: #3b82f6;
  --app-brand-hover: #60a5fa;
  --app-brand-text: #0f2f5f;
  --app-brand-contrast: #ffffff;
  --app-link: #2563eb;
  --app-link-hover: #1d4ed8;
  --app-focus: #60a5fa;
  --app-danger-surface: #fef2f2;
  --app-danger-border: #fecaca;
  --app-danger-text: #991b1b;
  --bots-bg: #eef2f7;
  --bots-surface: #ffffff;
  --bots-surface-muted: #f6f8fb;
  --bots-border: #b9c4d3;
  --bots-text: #111827;
  --bots-text-muted: #334155;
  --bots-accent: #d95500;
  --bots-accent-hover: #c94b00;
  --bots-accent-contrast: #ffffff;
  --bots-user-message: #ffffff;
  --bots-user-message-text: #b84200;
  --widget-bg: #eef2f7;
  --widget-surface: #ffffff;
  --widget-surface-muted: #f6f8fb;
  --widget-border: #b9c4d3;
  --widget-text: #111827;
  --widget-text-muted: #334155;
  --widget-accent: #eb7d00;
  --widget-accent-hover: #ffb98a;
  --widget-accent-contrast: #ffffff;
  --widget-user-message: #a84c00;
  --widget-user-message-text: #ffffff;
}

:root:not(#myalbert-theme-default)[data-theme='dark'],
:host([data-theme='dark']) {
  color-scheme: dark;
  --app-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-size-xs: 12px;
  --app-font-size-sm: 14px;
  --app-radius-md: 6px;
  --app-radius-lg: 8px;
  --app-radius-xl: 12px;
  --app-radius-full: 999px;
  --app-control-sm: 32px;
  --app-control-md: 40px;
  --app-border-width: 1px;
  --app-transition-duration: 200ms;
  --app-shadow-dialog: 0 20px 60px color-mix(in srgb, var(--app-text) 18%, transparent);
  --app-bg: #262626;
  --app-surface: #1a1a1a;
  --app-surface-muted: #111111;
  --app-surface-strong: #252525;
  --app-border: #2a2a2a;
  --app-border-strong: #444444;
  --app-text: #f2f2f2;
  --app-text-muted: #b2b2b2;
  --app-text-subtle: #8a8a8a;
  --app-hover: #252525;
  --app-selected: #12314a;
  --app-brand: #5a9fd4;
  --app-brand-hover: #6dacdf;
  --app-brand-text: #ffffff;
  --app-brand-contrast: #ffffff;
  --app-link: #8bb5ff;
  --app-link-hover: #b7d0ff;
  --app-focus: #7fb2ff;
  --app-danger-surface: #2f1518;
  --app-danger-border: #7f1d1d;
  --app-danger-text: #fca5a5;
  --bots-bg: #262626;
  --bots-surface: #1a1a1a;
  --bots-surface-muted: #111111;
  --bots-border: #2a2a2a;
  --bots-text: #f2f2f2;
  --bots-text-muted: #b2b2b2;
  --bots-accent: #d95500;
  --bots-accent-hover: #c94b00;
  --bots-accent-contrast: #ffffff;
  --bots-user-message: #ffd2a8;
  --bots-user-message-text: #7f3000;
  --widget-bg: #262626;
  --widget-surface: #1a1a1a;
  --widget-surface-muted: #111111;
  --widget-border: #2a2a2a;
  --widget-text: #f2f2f2;
  --widget-text-muted: #b2b2b2;
  --widget-accent: #c76000;
  --widget-accent-hover: #ffa424;
  --widget-accent-contrast: #ffffff;
  --widget-user-message: #d37912;
  --widget-user-message-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :host(:not([data-theme='light'])) {
    color-scheme: dark;
  --app-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --app-font-size-xs: 12px;
  --app-font-size-sm: 14px;
  --app-radius-md: 6px;
  --app-radius-lg: 8px;
  --app-radius-xl: 12px;
  --app-radius-full: 999px;
  --app-control-sm: 32px;
  --app-control-md: 40px;
  --app-border-width: 1px;
  --app-transition-duration: 200ms;
  --app-shadow-dialog: 0 20px 60px color-mix(in srgb, var(--app-text) 18%, transparent);
  --app-bg: #262626;
  --app-surface: #1a1a1a;
  --app-surface-muted: #111111;
  --app-surface-strong: #252525;
  --app-border: #2a2a2a;
  --app-border-strong: #444444;
  --app-text: #f2f2f2;
  --app-text-muted: #b2b2b2;
  --app-text-subtle: #8a8a8a;
  --app-hover: #252525;
  --app-selected: #12314a;
  --app-brand: #5a9fd4;
  --app-brand-hover: #6dacdf;
  --app-brand-text: #ffffff;
  --app-brand-contrast: #ffffff;
  --app-link: #8bb5ff;
  --app-link-hover: #b7d0ff;
  --app-focus: #7fb2ff;
  --app-danger-surface: #2f1518;
  --app-danger-border: #7f1d1d;
  --app-danger-text: #fca5a5;
  --bots-bg: #262626;
  --bots-surface: #1a1a1a;
  --bots-surface-muted: #111111;
  --bots-border: #2a2a2a;
  --bots-text: #f2f2f2;
  --bots-text-muted: #b2b2b2;
  --bots-accent: #d95500;
  --bots-accent-hover: #c94b00;
  --bots-accent-contrast: #ffffff;
  --bots-user-message: #ffd2a8;
  --bots-user-message-text: #7f3000;
  --widget-bg: #262626;
  --widget-surface: #1a1a1a;
  --widget-surface-muted: #111111;
  --widget-border: #2a2a2a;
  --widget-text: #f2f2f2;
  --widget-text-muted: #b2b2b2;
  --widget-accent: #c76000;
  --widget-accent-hover: #ffa424;
  --widget-accent-contrast: #ffffff;
  --widget-user-message: #d37912;
  --widget-user-message-text: #ffffff;
  }
}
