/* The type scale - after the frontier scan of 2026-09-22.
   What the top products share: one sans for the whole interface at 14 to
   16 px, three weights, mono only where the text is code, faces served
   from their own disk. This file is loaded last and sets exactly that;
   the files before it keep their layout. */
:root {
  --t-xs: 12px;      /* times, counts, small labels */
  --t-sm: 13px;      /* meta lines, chips, secondary */
  --t-md: 14px;      /* rows, buttons, tabs, menus */
  --t-ui: 14.5px;    /* the interface's own size */
  --t-lg: 15.5px;    /* what you typed, the bot's short notes */
  --t-read: 16.5px;  /* what the bot wrote, in the serif */
}
body { font-size: var(--t-ui); line-height: 1.5; }
b, strong { font-weight: 600; }

/* the sidebar */
.nav-item { font-size: var(--t-ui); }
.session-row { font-size: var(--t-md); }
.session-row .meta, .chat-row .meta { font-size: var(--t-xs); }
.chat-row .who { font-size: var(--t-ui); font-weight: 500; }
.chat-row .last { font-size: var(--t-sm); }
.repo-row .name { font-size: var(--t-md); }
.side-more { font-size: var(--t-sm); }
.topbar .title, .topbar .title-fixed, .topbar input { font-size: var(--t-ui); }

/* the chat */
.says, .answer { font-size: var(--t-read); line-height: 1.65; letter-spacing: 0; }
.step.assistant .body { font-size: var(--t-lg); }
.msg-user { font-size: var(--t-lg); line-height: 1.5; }
.w-said { font-size: var(--t-ui); }
.w-thought-body { font-size: var(--t-md); }
.answer code, .says code, .w-said code, .w-thought-body code, .w-code-inline { font-size: 14px; }
.bot-intro .bi-does { font-size: var(--t-lg); }
.hint { font-size: var(--t-sm); }

/* controls */
.btn { font-size: var(--t-md); }
.btn.sm { font-size: var(--t-sm); }
.sel { font-size: var(--t-sm); }
.tab, .panel-tabs .tab { font-size: var(--t-md); }
.menu-item, .popover .item { font-size: var(--t-md); }
.card h2 { font-size: var(--t-ui); }
.field label { font-size: var(--t-sm); }
.machine-head { font-size: var(--t-md); }
.machine-note, .try-empty { font-size: var(--t-md); }
.rs-head { font-size: var(--t-md); }
.rs-head b, .tr-kpi .value, .tr-tele .tm .value, .tr-table .live, .session-row.bot .who { font-weight: 600; }

/* mono only where the text is code: paths, commands, output, diffs, hashes.
   Times, states, counts and labels are interface text. */
.chip, .step .kind, .act-head .agent, .act-head .aside, .checkline .aside, .flow-live .elapsed, .flow-lane > span b,
.w-chip-head .meta, .w-chip-head .sigil, .w-agent, .w-status .aside, .w-pill .elapsed, .tr-when, .w-counts, .num-add, .num-del,
.browser-bar .url, .changes-card .row .lang, .file-row .st, .w-out-tag, .flow-bar .live-count, .step.cmd .folded .fold-btn {
  font-family: var(--sans); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.changes-card .row .lang, .file-row .st, .w-agent, .act-head .agent { font-size: 11px; }
/* and the code itself, a size a person can read */
.w-cmd, .w-file, .w-diff-head .w-path, .file-row .path, .env-secret-row .name { font-size: 13px; }
.w-out, .diff, .file-view, .w-code, .env-editor, .step .body { font-size: 12.5px; line-height: 1.55; }
