/* Override Prism.js Tomorrow theme to match site palette */
[data-theme="dark"] code[class*="language-"],
[data-theme="dark"] pre[class*="language-"] {
  color: #e4e4e7;
  text-shadow: none;
}

[data-theme="light"] code[class*="language-"],
[data-theme="light"] pre[class*="language-"] {
  color: #18181b;
  text-shadow: none;
  background: none;
}

[data-theme="light"] .token.comment,
[data-theme="light"] .token.prolog,
[data-theme="light"] .token.doctype,
[data-theme="light"] .token.cdata {
  color: #6b7280;
}

[data-theme="light"] .token.punctuation {
  color: #374151;
}

[data-theme="light"] .token.property,
[data-theme="light"] .token.tag,
[data-theme="light"] .token.boolean,
[data-theme="light"] .token.number,
[data-theme="light"] .token.constant,
[data-theme="light"] .token.symbol {
  color: #b45309;
}

[data-theme="light"] .token.selector,
[data-theme="light"] .token.attr-name,
[data-theme="light"] .token.string,
[data-theme="light"] .token.char,
[data-theme="light"] .token.builtin {
  color: #047857;
}

[data-theme="light"] .token.operator,
[data-theme="light"] .token.entity,
[data-theme="light"] .token.url {
  color: #4f46e5;
}

[data-theme="light"] .token.atrule,
[data-theme="light"] .token.attr-value,
[data-theme="light"] .token.keyword {
  color: #7c3aed;
}

[data-theme="light"] .token.function,
[data-theme="light"] .token.class-name {
  color: #2563eb;
}

[data-theme="light"] .token.regex,
[data-theme="light"] .token.important,
[data-theme="light"] .token.variable {
  color: #ea580c;
}

/* Dark mode - keep Tomorrow theme defaults but adjust slightly */
[data-theme="dark"] .token.comment {
  color: #71717a;
}

[data-theme="dark"] .token.keyword {
  color: #c084fc;
}

[data-theme="dark"] .token.function,
[data-theme="dark"] .token.class-name {
  color: #67e8f9;
}

[data-theme="dark"] .token.string {
  color: #86efac;
}

[data-theme="dark"] .token.number {
  color: #fbbf24;
}

/* Line numbers area override */
pre[class*="language-"] {
  tab-size: 4;
}
