/* OpenSquilla Prism.js theme — adapted to OpenSquilla palette */

code[class*="language-"],
pre[class*="language-"] {
  color: var(--text);
  text-shadow: none;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.6;
  tab-size: 2;
  hyphens: none;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: var(--text-dim);
  font-style: italic;
}

.token.punctuation {
  color: var(--text-muted);
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
  color: var(--text);
}

.token.boolean,
.token.number {
  color: var(--info);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: var(--ok);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string {
  color: var(--text-muted);
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: var(--accent);
}

.token.function,
.token.class-name {
  color: var(--accent-secondary);
}

.token.regex,
.token.important,
.token.variable {
  color: var(--accent-hover);
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

/* Light theme overrides */
[data-theme="light"] .token.comment,
[data-theme="light"] .token.prolog,
[data-theme="light"] .token.doctype,
[data-theme="light"] .token.cdata {
  color: #6e5c4e;
}

[data-theme="light"] .token.keyword {
  color: #b87010;
}

[data-theme="light"] .token.function,
[data-theme="light"] .token.class-name {
  color: #c04a2a;
}

[data-theme="light"] .token.string,
[data-theme="light"] .token.char,
[data-theme="light"] .token.builtin {
  color: #1a8a4a;
}

[data-theme="light"] .token.number,
[data-theme="light"] .token.boolean {
  color: #2060b0;
}
