/* type.css — v1's type rules, kept for their layout under Nazem's names (ADR 0024).

   The faces (Kahroba, Vazirmatn), the body ground and the headings come from the design system's
   `vendor/ds/core.css` (S-5.3 as marked for v2); the Persian digits §5.3 asks for are not here
   either: they are the server-side Jinja filter (`num` / `pct` / `fa`). This file keeps v1's small
   text classes and, first, the one place v1's own variable names are pointed at Nazem's tokens —
   `OLD_TO_NEW` of `prototype/nazem-src/build.py`, the transform the prototype applies to `v8.css`.

   ds-allow: D1 — the Telegram preview keeps Telegram's own palette (§8.2; the muted tab text is
   darkened to #65696d to reach 4.5:1) and the seven folder-colour tags are Telegram's own indices
   (§3.6). They are the only literals here; every other name below points at a system token. */
:root{
  --accent:var(--pine);--accent-ink:var(--on-pine);--accent-tint:var(--pine-tint);
  --danger:var(--bad);--danger-tint:var(--bad-tint);
  --sunk:var(--surface-2);--faint:var(--muted);--line-strong:var(--line-2);--shade:var(--scrim);
  --font:var(--font-body);--mono:ui-monospace,Menlo,Consolas,monospace;
  /* ds-allow: D1 — Telegram's own palette */ --tg-bg:#ffffff;--tg-head:#f1f3f5;--tg-ink:#1c1c1e;
  /* ds-allow: D1 — Telegram's own palette */ --tg-sub:#65696d;--tg-line:#eceef0;
  /* ds-allow: D1 — Telegram's folder colour tags, by Telegram's own index */ --tgc-0:#e5534b;--tgc-1:#e8893a;--tgc-2:#9b6bdf;--tgc-3:#4fae4e;
  /* ds-allow: D1 — Telegram's folder colour tags, by Telegram's own index */ --tgc-4:#3aa6c2;--tgc-5:#4a8fe0;--tgc-6:#d6609c;
}
button,input,select,textarea{font:inherit}
p{margin:0}
.sub{font-size:13px;color:var(--muted)}
.faint{color:var(--faint);font-size:13px}
.label{font-size:13px;color:var(--muted);font-weight:500}
.big{font-size:28px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2}
.src{font-size:11px;color:var(--faint);font-weight:400;margin-inline-start:6px}
.rowcount{font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap;min-width:60px;text-align:end}
.hint{font-size:12px;color:var(--faint)}
.lock{font-size:12px;color:var(--faint)}
.err{color:var(--danger);font-size:13px}
.counter{font-size:12px;color:var(--faint);font-variant-numeric:tabular-nums;white-space:nowrap}
.counter.bad{color:var(--danger);font-weight:500}
.sect{font-size:12px;font-weight:500;color:var(--faint);letter-spacing:.02em;padding-top:6px;border-top:1px solid var(--line)}
.sect:first-child{border-top:0;padding-top:0}
.rule{font-size:15px;line-height:1.9;max-width:78ch;text-wrap:pretty}
.aitext{font-size:14px;line-height:1.9;max-width:78ch}
.vexp{display:block;max-width:82ch;line-height:1.8}
.num{text-align:center;font-variant-numeric:tabular-nums}
.asof{display:block;font-size:11px;color:var(--faint);line-height:1.6}
.warnt{color:var(--warn)}
