:root {
  color-scheme: light;
  --p-bg: #ffffff;
  --p-sidebar: #f4f4f5;
  --p-surface: #fafafa;
  --p-raised: #ffffff;
  --p-hover: #e4e4e7;
  --p-text: #1a1a1e;
  --p-muted: #71717a;
  --p-extra-muted: #a1a1aa;
  --p-border: #e4e4e7;
  --p-accent: #20744a;
  --p-accent-strong: #239956;
  --p-accent-ink: #ffffff;
  --p-user: #e4e4e7;
  --p-code: #f4f4f5;
  --p-soft: #e4e4e7;
  --p-error: #b04138;
  --p-error-soft: #fff0ef;
  --p-success: #20744a;
  --p-success-soft: #e8f3eb;
  --p-warning: #7b5d39;
  --p-warning-soft: #fff2cf;
  --p-link: #176c5a;
  --p-info: #174fa3;
  --p-info-soft: #deebff;
}

html[data-theme='dark'] {
  color-scheme: dark;
  --p-bg: #181b1a;
  --p-sidebar: #141716;
  --p-surface: #1e2120;
  --p-raised: #272a29;
  --p-hover: #434645;
  --p-text: #fafafa;
  --p-muted: #a1a5a4;
  --p-extra-muted: #717574;
  --p-border: #2f3534;
  --p-accent: #7ccba0;
  --p-accent-strong: #7ccba0;
  --p-accent-ink: #13231a;
  --p-user: #434645;
  --p-code: #272a29;
  --p-soft: #272a29;
  --p-error: #e89090;
  --p-error-soft: #482724;
  --p-success: #7ecf9a;
  --p-success-soft: #193c29;
  --p-warning: #e0be6e;
  --p-warning-soft: #4a3c20;
  --p-link: #8edac0;
  --p-info: #b1d2ff;
  --p-info-soft: #243d5d;
}

html[data-palette='zinc'] {
  --p-bg: #18181b; --p-sidebar: #131316; --p-surface: #1f1f22; --p-raised: #27272a;
  --p-hover: #3f3f46; --p-text: #fafafa; --p-muted: #a1a1aa; --p-border: #303036;
  --p-accent: #e4e4e7; --p-accent-strong: #fafafa; --p-accent-ink: #18181b;
  --p-user: #3f3f46; --p-code: #27272a; --p-soft: #303036; --p-link: #c4c4cc;
}
html[data-palette='midnight'] {
  --p-bg: #161820; --p-sidebar: #121420; --p-surface: #1c1e27; --p-raised: #252731;
  --p-hover: #3c3e4c; --p-text: #f4f5fa; --p-muted: #9a9db0; --p-border: #2e3040;
  --p-accent: #7eaaeb; --p-accent-strong: #7eaaeb; --p-accent-ink: #101726;
  --p-user: #3c3e4c; --p-code: #252731; --p-soft: #252d40; --p-link: #9bc5ff;
}
html[data-palette='claude'] {
  --p-bg: #1f1f1e; --p-sidebar: #1a1918; --p-surface: #262523; --p-raised: #2f2d2b;
  --p-hover: #4a4745; --p-text: #f5f0eb; --p-muted: #ada9a5; --p-border: #36332f;
  --p-accent: #e89a7f; --p-accent-strong: #e89a7f; --p-accent-ink: #271a15;
  --p-user: #4a4745; --p-code: #2f2d2b; --p-soft: #3a2e29; --p-link: #f1ae91;
}
html[data-palette='ghostty'] {
  --p-bg: #282c34; --p-sidebar: #21252d; --p-surface: #2f333d; --p-raised: #383c48;
  --p-hover: #4a4f5e; --p-text: #f1f3f8; --p-muted: #c8ccd8; --p-border: #3f4454;
  --p-accent: #8caaee; --p-accent-strong: #8caaee; --p-accent-ink: #151b28;
  --p-user: #4a4f5e; --p-code: #383c48; --p-soft: #343e54; --p-link: #b4d0fc;
}
html[data-palette='pure-black'] {
  --p-bg: #000000; --p-sidebar: #000000; --p-surface: #0a0a0a; --p-raised: #181818;
  --p-hover: #202020; --p-text: #f5f5f5; --p-muted: #a1a1aa; --p-border: #242424;
  --p-accent: #7ccba0; --p-accent-strong: #7ccba0; --p-accent-ink: #07130b;
  --p-user: #202020; --p-code: #181818; --p-soft: #18251b; --p-link: #8edac0;
}

