/* ==========================================================================
   K2TP Mono — Self-hosted woff2
   Weights: 300, 400, 500, 700 | font-display: swap
   ========================================================================== */
@font-face {
  font-family: 'K2TP Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/static/fonts/K2TPMono-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'K2TP Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/K2TPMono-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'K2TP Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/K2TPMono-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'K2TP Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/K2TPMono-Bold.woff2') format('woff2');
}

:root {
  /* ==========================================================================
     UNIFIED TYPOGRAPHY TOKENS (Source of Truth)
     ========================================================================== */

  /* Font Families: Strictly 1 font family — K2TP Mono across the entire site */
  --font-mono: 'K2TP Mono', monospace;
  --font-ui: var(--font-mono);
  --font-read: var(--font-mono);
  --font-note: var(--font-mono);

  /* Font Size Scale (Desktop) — strictly unified steps */
  --fs-2xs: 10px;    /* notes, captions, footnotes, timestamps, sources, disclaimers */
  --fs-note: var(--fs-2xs);
  --fs-xs: 11px;     /* chart axis labels, small badges, explore link */
  --fs-sm: 12px;     /* labels, badges, dense table data, nav, tabs */
  --fs-read: 12px;   /* long-form prose reading body (desktop: 12px) */
  --fs-md: 13px;     /* UI chrome text, body default, pulse card values, section heading */
  --fs-base: var(--fs-md);   /* UI chrome alias */
  --fs-lg: 14px;     /* panel titles, modal titles */
  --fs-xl: 18px;     /* page/section titles, large indicator cards */
  --fs-2xl: 22px;    /* article / page main titles */

  /* Weights */
  --fw-light: 300;   /* notes, fine print, captions */
  --fw-normal: 400;  /* regular text, numbers, menu, buttons, reading prose */
  --fw-medium: 500;  /* emphasized numbers, KPI values */
  --fw-bold: 700;    /* headings, active tabs, hero metrics, tickers, card labels, boxes */
  --fw-read: 400;
  --fw-label: 700;
  --fw-title: 700;
  --fw-num: 400;
  --fw-num-strong: 500;

  /* Boxed & Action Tokens (EXPLORE standard) */
  --box-fs: var(--fs-xs);
  --box-fw: 700;
  --box-ls: .04em;
  --box-h: 20px;
  --box-px: 8px;
  --box-r: 4px;

  /* Line Heights */
  --lh-read: 1.6;    /* long-form reading prose */
  --lh-ui: 1.45;     /* multi-line UI text, notes */
  --lh-tight: 1.2;   /* single-line labels, metrics, titles, tickers */

  /* --------------------------------------------------------------------------
     Legacy Aliases
     -------------------------------------------------------------------------- */
  --fs-chart: var(--fs-xs);
  --fs-meta: var(--fs-note);
  --fs-article-note: var(--fs-note);
  --fs-article-meta: var(--fs-note);
  --fs-th: var(--fs-2xs);
  --fs-btn-sm: var(--fs-xs);
  --fs-secondary-value: var(--fs-xs);

  --fs-label: var(--fs-sm);
  --fs-nav: var(--fs-sm);
  --fs-tab: var(--fs-sm);
  --fs-btn: var(--fs-base);
  --fs-footer: var(--fs-note);
  --fs-ui: var(--fs-sm);
  --fs-article-caption: var(--fs-note);

  --fs-body: var(--fs-base);
  --fs-ticker: var(--fs-base);
  --fs-card-sub: var(--fs-note);
  --fs-section-title: var(--fs-xl);
  --fs-card-title: var(--fs-lg);
  --fs-h4: var(--fs-base);
  --fs-h3: var(--fs-lg);
  --fs-state-value: var(--fs-base);

  --fs-art-read: var(--fs-read);
  --fs-library-read: var(--fs-read);
  --fs-lib-read: var(--fs-read);
  --fs-art-lead: var(--fs-read);
  --fs-lead: var(--fs-read);
  --fs-subtitle: var(--fs-read);

  --fs-lesson-title: var(--fs-lg);
  --fs-art-h3: var(--fs-lg);

  --fs-h2: var(--fs-xl);
  --fs-art-h2: var(--fs-xl);
  --fs-metric2: var(--fs-xl);

  --fs-page-title: var(--fs-2xl);
  --fs-h1: var(--fs-2xl);
  --fs-metric: var(--fs-2xl);
}

/* ==========================================================================
   PHONE OVERRIDES (≤ 767px) — ONE SINGLE MEDIA QUERY
   - Notes: 9px (desktop 10px & phone 9px)
   - Regular text: -1px (xs 10, sm 11, base 12, read 11)
   - Headings: -2px (lg 13, xl 16, 2xl 18)
   ========================================================================== */
@media (max-width: 767px) {
  :root {
    --fs-2xs: 9px;
    --fs-note: 9px;
    --fs-xs: 10px;
    --fs-sm: 11px;
    --fs-read: 11px;
    --fs-md: 12px;
    --fs-base: 12px;
    --fs-lg: 13px;
    --fs-xl: 16px;
    --fs-2xl: 18px;
  }
}

/* ==========================================================================
   BASE & DEFAULT RULES
   Site default font is K2TP Mono (--font-mono).
   ========================================================================== */
html {
  font-family: var(--font-mono);
  line-height: var(--lh-ui);
  font-synthesis-weight: none;
}

body {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-ui);
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Common UPPERCASE & Number utilities */
.k-caps {
  text-transform: uppercase !important;
  letter-spacing: .04em;
}

.k-num {
  font-weight: var(--fw-num) !important;
  font-variant-numeric: tabular-nums;
}

.k-num-strong {
  font-weight: var(--fw-num-strong) !important;
  font-variant-numeric: tabular-nums;
}

:is(.k-type-note, th, b, strong) .k-num {
  font-weight: var(--fw-num) !important;
}

/* Boxed elements (badge, chip, pill, tag, status) — EXPLORE standard */
.k-box {
  font: var(--box-fw) var(--box-fs)/1 'K2TP Mono', monospace;
  letter-spacing: var(--box-ls);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: var(--box-h);
  padding: 0 var(--box-px);
  box-sizing: border-box;
  border: 1px solid var(--box-bd, var(--k-line-2));
  border-radius: var(--box-r);
  color: var(--box-fg, var(--k-t2));
  background: var(--box-bg, transparent);
  white-space: nowrap;
}
.k-box--info { --box-fg: var(--accent); --box-bd: rgba(52,108,232,.35); --box-bg: rgba(52,108,232,.10); }
.k-box--up   { --box-fg: var(--k-up);   --box-bd: color-mix(in srgb, var(--k-up) 45%, transparent);   --box-bg: color-mix(in srgb, var(--k-up) 12%, transparent); }
.k-box--down { --box-fg: var(--k-down); --box-bd: color-mix(in srgb, var(--k-down) 45%, transparent); --box-bg: color-mix(in srgb, var(--k-down) 12%, transparent); }
.k-box--warn { --box-fg: var(--k-warn); --box-bd: color-mix(in srgb, var(--k-warn) 45%, transparent); --box-bg: color-mix(in srgb, var(--k-warn) 12%, transparent); }
.k-box--muted { --box-fg: var(--k-t3);  --box-bd: var(--k-line); --box-bg: transparent; }
.k-box--lg   { --box-h: 28px; --box-px: 12px; }

/* Unified Action Button & Tab (.k-act) — matches EXPLORE standard */
.k-act {
  font: 700 var(--fs-xs)/1 'K2TP Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px;
  box-sizing: border-box;
  white-space: nowrap;
  border: 1px solid var(--act-bd, var(--k-line));
  border-radius: 4px;
  color: var(--act-fg, var(--k-t2));
  background: var(--act-bg, transparent);
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.k-act__ico { font-size: 1em; line-height: 1; }
.k-act:hover { --act-fg: var(--k-t1); --act-bg: var(--k-raise); --act-bd: var(--k-line-2); }
.k-act.active, .k-act[aria-selected="true"], .k-act[aria-pressed="true"] {
  --act-fg: #fff; --act-bg: var(--btn-fill, #346ce8); --act-bd: var(--btn-fill, #346ce8);
}
.k-act.active:hover { --act-bg: var(--btn-fill-hover, #5986ec); --act-bd: var(--btn-fill-hover, #5986ec); }
.k-act:focus-visible { outline: 2px solid var(--accent, #346ce8); outline-offset: 1px; }
.k-act:disabled { opacity: .45; cursor: default; }
.k-act--primary { --act-fg: #fff; --act-bg: var(--btn-fill, #346ce8); --act-bd: var(--btn-fill, #346ce8); }
.k-act--info    { --act-fg: var(--accent, #346ce8); --act-bg: rgba(52,108,232,.10); --act-bd: #346ce8; }
.k-act--pos, .k-act--up { --act-fg: var(--k-pos); --act-bg: rgba(17,166,142,.10); --act-bd: var(--k-pos); }
.k-act--neg, .k-act--down, .k-act--danger { --act-fg: var(--k-neg); --act-bg: rgba(237,41,57,.10); --act-bd: var(--k-neg); }
.k-act--warn    { --act-fg: var(--k-warn); --act-bg: rgba(227,165,52,.10); --act-bd: var(--k-warn); }
.k-act--lg      { height: 28px; padding: 0 12px; }

/* Lowercase override in UPPERCASE labels */
.k-lc {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Tabbar container */
.k-tabbar {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--k-line);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.k-tabbar::-webkit-scrollbar { display: none; }
.k-act-group {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--k-line);
  border-radius: 5px;
  background: var(--k-deep, #000b13);
}
.k-act-group .k-act { --act-bd: transparent; }

/* Tabular figures for all financial & numerical data */
table, .price, .num, input, .metric, .metric2, .val, .stat,
[class*="metric"], [class*="price"], [class*="num"], [class*="strike"],
[class*="delta"], [class*="pnl"], [class*="value"], th, td,
.tabular, .rr-num, .is-spot, .mc-curr-val, .tape-prem, .tape-size {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   K2TP MONO UI CHROME & DATA RULES
   Headings, buttons, menus, tabs, labels, badges, numbers, tables, ticker tape
   Word-spacing: normal (browser default with K2TP Mono proportional spaces)
   ========================================================================== */

/* Headings & Titles (K2TP Mono 700, UPPERCASE) */
h1, h2, h3, h4, h5, h6,
.head-title, .page-head h1, .art-head h1,
.panel-title, .card-title, .section-title, .sec-title,
.box-title, .widget-title, .tile-title,
.d2-panel-head h2, .d2-panel-head h3,
.id-sec-head h2, .ue-sec h2,
.lib-block h1, .lib-block h2, .lib-block h3,
.lib-article-title, .art-title, .post-title,
.k-type-chart-title, .k-type-card-title,
.d2-report-module-head h3, .res-card-head h3,
.page-title, .admin-title, .login-title, .acc-title {
  font-family: var(--font-mono);
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

h1, .head-title, .page-head h1, .art-head h1, .page-title, .lib-block h1 {
  font-size: var(--fs-2xl);
  font-weight: 700;
}
h2, .id-sec-head h2, .ue-sec h2, .section-title, .sec-title, .lib-block h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
}
h3, .panel-title, .card-title, .d2-panel-head h2, .d2-panel-head h3, .lib-block h3,
.lib-article-title, .art-title, .post-title, .d2-report-module-head h3, .res-card-head h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
}
h4, h5, h6 {
  font-size: var(--fs-base);
  font-weight: 700;
}

/* Panel & Section titles: always English, UPPERCASE */
.d2-panel-head h2, .panel-title, .card-title, .id-sec-head h2, .ue-sec h2 {
  text-transform: uppercase;
}

/* Top Pulse Strip Indicator Cards (BIAS, US 10Y, MARKET REGIME, US ECONOMY) */
.d2-pulse-card .label {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs); /* R7: 10px desktop / 9px mobile */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* Primary metric values: NEUTRAL = 5.24% = STAGFLATION = SLOWDOWN */
.d2-pulse-card .val, #d2MarketBiasBand, #d2Us10yVal, #d2MarketRegime, #d2MeiBand {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-lg) !important; /* Panel title token: 14px desktop / 13px mobile */
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

/* Secondary companion values / scores / badges: +2 = HEADWIND = 46 */
#d2MarketBiasScore, #d2Us10yBand, #d2MeiVal {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-2xs) !important; /* Secondary badge/note token: 10px desktop / 9px mobile */
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.d2-pulse-card .sub, #d2Us10ySub, #d2MarketRegimeSub, #d2MeiSub, #d2MarketBiasSub {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-2xs) !important; /* R12: 10px desktop / 9px mobile */
  font-weight: 300 !important;
  text-transform: uppercase !important;
  line-height: 1.25 !important;
}

/* Header, Navigation & Brand */
.site-head, header, .k-nav, .k-nav-wrap, .k-links, .k-links a, .k-brand, nav,
.header-row-top, .header-row-bottom, .brand {
  font-family: var(--font-mono);
}
.k-links a {
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: var(--lh-tight);
}
.k-links a.on {
  font-weight: 700;
}

/* Tabs & Bottom Tabbar (uppercase) */
.tab, .tabs, .k-tab, .k-lbl, .d2-tab, .notif-tab, .lib-tab, .lib-tab-link,
.d2-tab-btn, .tab-btn {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}
.k-tab.on, .d2-tab-btn.active, .tab-btn.active, .notif-tab.active, .notif-tab[aria-selected="true"] {
  font-weight: 700;
}

/* Buttons & Button-like Links (uppercase) */
button, .btn, .d2-preset-btn, .preset-btn, a.btn, a.chip, .k-type-btn,
.d2-act-btn, .res-wait-retry, .more-link, a.more-link {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}
.btn-sm, .d2-preset-btn, .d2-act-btn {
  font-size: var(--fs-sm);
}

/* Unified Navigation Link (.more-link) */
.more-link, button.more-link, a.more-link {
  font-family: var(--font-mono) !important;
  font-size: var(--fs-xs) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--k-link, #346ce8) !important;
  background: rgba(52, 108, 232, 0.10) !important;
  border: 1px solid rgba(52, 108, 232, 0.35) !important;
  border-radius: 4px !important;
  padding: 3px 9px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s !important;
}
.more-link:hover, button.more-link:hover, a.more-link:hover {
  background: rgba(52, 108, 232, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(52, 108, 232, 0.6) !important;
  text-decoration: none !important;
}

/* Quick Scroll Nav & Dropdown Utility Menus (UPPERCASE) */
.v2-nav, .d2-quick-nav, .quick-nav, .v2-nav a, .d2-quick-nav a,
.k-rail-item, a.k-rail-item, button.k-rail-item {
  text-transform: uppercase !important;
}

/* Labels, Badges & Status Chips (uppercase) */
label, .label, .lbl, .k-type-label, .k-type-field-label, .fset, .ov-label,
.badge, .k-badge, .w-badge, .dr-badge, .ol-badge, .ol-ai-badge, .pill, .ov-pill,
.id-status-pill, .tag, .ue-chip, .w-grp-tag, .lang-pill, .level-chip, .metric-chip,
.d2-tone-badge, .d2-provider-badge, .er-badge, .v2-badge, .quote-badge,
.k-market-tag, .status-badge, .live-badge, .tape-live-status, .d2-cat-impact {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

/* Tables & Data Grid */
table {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  line-height: var(--lh-ui);
}
table th, th, .table-th, .col-head, .w-th, .rot-th {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}
table td, td {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: var(--lh-ui);
  text-transform: none;
}
th.num, td.num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
table td strong, table td b, table .bold, table .highlight, table .val,
td.price, td.delta, td.pnl, td.strike, td.return,
.price, .delta, .pnl, .strike, .col-price, .col-delta, .col-pnl, .col-strike {
  font-weight: 500 !important;
}

/* All Ticker Symbols across site (SPX, NDX, LRCX, KLAC...) */
.ticker, .tape, #tickerTape, .market-strip, .ticker-tape, .ticker-tape *,
.w-tk, .is-sym, .dr-sym, .rot-ticker, .ticker-chip, .k-ticker, .rr-ticker,
.d2-res-recent-chip, .chip-ticker, [class*="ticker"] {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
}
.w-tk, .is-sym, .dr-sym, .rot-ticker {
  font-size: var(--fs-base);
  font-weight: 700;
}

/* Hero Metrics & Value Cards */
.metric, .k-type-metric, .mc-curr-val {
  font-family: var(--font-mono);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  font-variant-numeric: tabular-nums;
}
.metric2, .k-type-metric2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: var(--lh-tight);
  font-variant-numeric: tabular-nums;
}

/* Utility class for explicit K2TP Mono */
.k-type-mono, .k-type-ui {
  font-family: var(--font-mono) !important;
}

/* ==========================================================================
   LONG-FORM PROSE & EDITORIAL READING (--font-read: K2TP Mono 400)
   Market brief, Research reports, Library (VI & EN), Explorer ideas
   Line-height: 1.6, max ~70ch.
   ========================================================================== */

/* Utility class for explicit reading prose */
.k-type-read {
  font-family: var(--font-read) !important;
  font-size: var(--fs-read);
  font-weight: 400;
  line-height: var(--lh-read);
  max-width: none;
  text-transform: none;
}
.k-type-read :is(p, li, blockquote) {
  font-family: var(--font-read);
  font-size: var(--fs-read);
  font-weight: 400;
  line-height: var(--lh-read);
  max-width: none;
  text-transform: none;
}

/* Long reading prose containers */
:is(
  .body, article > .body, .ol-prose-content, .ol-card-body,
  .d2-sec-brief, #d2BriefContainer, .notif-brief-prose, .d2-report-module-body,
  .brief-body, .brief-content,
  #researchModalBody, .res-main, .res-detail, .res-card-body, .res-prose, #mThesisText,
  .rr-v, .rr-p, .rr-ul, .rr-ol,
  .lib-block p, .lib-block li, .lib-path p, .lib-path li, .lib-guide p, .lib-guide li, .lib-ref p, .lib-ref li,
  .explorer-body, .idea-text, .ov-takeaway-text, .ov-sub
) {
  font-family: var(--font-read);
  text-transform: none;
}

/* Paragraphs & bullets inside long reading prose */
:is(
  .body, article > .body, .ol-prose-content, .ol-card-body,
  .d2-sec-brief, #d2BriefContainer, .notif-brief-prose, .d2-report-module-body,
  .brief-body, .brief-content,
  #researchModalBody, .res-main, .res-detail, .res-card-body, .res-prose,
  .lib-block, .lib-path, .lib-guide, .lib-ref
) :is(p, li) {
  font-family: var(--font-read);
  font-size: var(--fs-read);
  font-weight: 400;
  line-height: var(--lh-read);
  max-width: none;
  text-transform: none;
}

/* Bold text inside reading prose: keep 400, distinguish by brighter color (no faux-bold) */
:is(
  .k-type-read, .body, article > .body, .ol-prose-content, .ol-card-body,
  .d2-sec-brief, #d2BriefContainer, .notif-brief-prose, .d2-report-module-body,
  .brief-body, .brief-content, #researchModalBody, .res-main, .res-detail,
  .res-card-body, .res-prose, .lib-block, .lib-path, .lib-guide, .lib-ref
) :is(b, strong) {
  font-family: var(--font-read);
  font-weight: 400 !important;
  color: var(--k-t1, #ffffff);
}

/* Headings INSIDE reading prose remain K2TP Mono 700 and UPPERCASE */
:is(.body, article > .body, .ol-prose-content, .ol-card-body, .d2-report-module-body, #researchModalBody, .lib-block, .k-type-read) :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-mono) !important;
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}

/* Ticker chips / badges INSIDE reading prose retain K2TP Mono */
:is(.k-type-read, .body, .ol-prose-content, .d2-report-module-body, #researchModalBody) :is(.k-ticker, .ticker-chip, .badge, .chip, .rr-ticker, .k-type-mono) {
  font-family: var(--font-mono) !important;
  font-weight: 700;
}

/* ==========================================================================
   NOTES, FINE PRINT, CAPTIONS, TIMESTAMPS, FOOTER
   Font: K2TP Mono 300 (Light), Size: var(--fs-2xs), Color: var(--k-t3)
   ========================================================================== */
.k-type-note,
:is(
  .dr-note, .rot-hint, .ue-method, .id-foot-note,
  .helper, .hint, .popup-note, .tip-note, .tooltip-note, .rp-sub, .macro-note,
  .art-meta, .disclosure, .footnote, .footnotes, .art-caption, figcaption, .caption,
  .note, .notes, .wheels-hint, .k-type-explanatory-read,
  .panel-desc, .k-type-section-desc, .vs-summary-read,
  .card-sub, .card-subtitle,
  #d2BiasSub, #d2GexDetails, #d2EventRiskSub,
  footer, .site-foot, .timestamp, .source, .disclaimer, .foot-note, .foot-copy,
  .rr-note, .rr-muted, .rr-disclaimer
) {
  font-family: var(--font-note) !important;
  font-size: var(--fs-note) !important;
  font-weight: 300 !important;
  line-height: var(--lh-ui);
  color: var(--k-t3);
  text-transform: none;
}

/* Active Wheels table layout preservation */
.wheels-table th {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: var(--lh-tight);
  text-transform: uppercase;
}
.wheels-table td {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: var(--lh-ui);
}

/* Footer */
footer, .site-foot {
  font-family: var(--font-note);
  font-size: var(--fs-note);
  font-weight: 300;
  line-height: var(--lh-ui);
  text-align: center;
  color: var(--k-t3);
}

/* Admin console */
body.admin-page {
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  line-height: var(--lh-ui);
}
body.admin-page * {
  font-family: var(--font-mono);
}
body.admin-page textarea, body.admin-page .admin-prose {
  font-family: var(--font-read);
  word-spacing: normal;
}
