/* Typography roles (loaded last).
   1) Newsreader is the ONE face of the app: every piece of ordinary text, headings, navigation, settings, buttons, greetings and AI replies. It is set globally through the font variables
      (--font-brand / --font-ui / --font-display / --font-chat / --font-sans / --font-serif / --sv-font-ui), so every screen, dialog and control inherits it, form controls included.
   2) Doto, the dot-matrix face, is reserved for TECHNICAL output and TECHNICAL NAMES: tool identifiers and tool-call rows, execution metadata and durations, technical status codes, terminal-style
      output, compact diagnostic labels, and identifiers such as tool names, endpoints, environment variables, colour codes and inline code.
   3) Code, diffs and file contents use a monospace stack (--font-code) so columns line up.
   Nothing here changes a colour, a size or a layout; it only picks the typeface (and the capitals the dot-matrix style is read in). */
html, body, button, input, select, textarea, optgroup { font-family: var(--font-newsreader); }
body { font-optical-sizing: auto; font-synthesis: none; }
.chat-message .chat-message-body, .sv-prose, .assistant-text { font-family: var(--font-newsreader); }

/* Doto: TECHNICAL output only - tool identifiers and tool-call rows, execution metadata and durations, technical status codes, terminal-style output, compact diagnostic labels and identifiers.
   It is never used for conversations, headings, navigation, billing or ordinary interface labels (the model pill, filters, plan names and buttons are Reader). */
.tool-activity-row-state, .tool-activity-summary-state, .tool-activity-row-meta, .tool-activity-row-target, .tool-activity-spinner,
.mcp-tool-name, .mcp-chip, .mcp-status,
.armour-stages, .armour-stages li,
.cl-task-state, .cl-task-sub .cl-task-state, .tm-status, .pq-status,
.badge[class*="status-"], .dv-status, .sg-status, .provider-status, .env-tag, .file-badge, .status-badge, .tool-activity-details dd.tool-activity-code {
  font-family: var(--font-doto) !important; font-weight: 500 !important; letter-spacing: .06em; font-style: normal !important; font-variant-ligatures: none;
}
/* the dot-matrix face needs a little more room than a text face to stay legible at small sizes */
.badge[class*="status-"], .cl-task-state, .status-badge { font-size: max(13px, .85em); }

/* Technical NAMES: identifiers a person reads as a name of a thing in the machine (a tool, an endpoint, a variable, a colour code, a key). Inline code is short, so the dot-matrix face stays legible;
   multi-line code, diffs and file contents (.dv-code, pre) keep the monospace stack so columns line up. */
code:not(.dv-code), kbd, samp, .mono, .ath-code, .pq-code, .tech, [data-tech],
select[aria-label="Tool to run"], select[aria-label="Tool to run"] option, .cc-tool-id, .sv-id, .sh-id, .env-name, .secret-name, .route-name, .hex-code {
  font-family: var(--font-doto) !important; font-weight: 500 !important; letter-spacing: .05em; font-style: normal !important; font-variant-ligatures: none; font-size: max(13px, .92em);
}
pre code, .dv-code, .dv-code * { font-family: var(--font-code) !important; letter-spacing: 0; font-size: inherit; }
