/* ═══════════════════════════════════════════════════════════════════════
   STATE TREASURY — dashboard components.

   TOKEN STRATEGY. The shared Oceanview design tokens (oceanview.css) are
   authored separately, so nothing here hardcodes a colour. Every visual
   value resolves through a local `--tr-*` alias whose fallback chain is:

       var(--ov-<token>,  ← the shared Oceanview token, once it lands
           var(--<legacy>, ← the portal's existing law.styles.css token, so
                             this file renders correctly today
               <literal>)) ← the authoritative loadscreen palette from
                             FiveM-Main/server.cfg, as a last resort

   That means: drop oceanview.css in and this whole file re-skins with it;
   leave it out and the page still looks right. Restyling the treasury is a
   matter of editing the alias block below and nothing else.
   ═══════════════════════════════════════════════════════════════════════ */

:root{
  /* surfaces */
  --tr-bg:          var(--ov-bg,          var(--bg,           #11151C));
  --tr-surface:     var(--ov-surface,     var(--surface,      #1A2029));
  --tr-surface-2:   var(--ov-surface-2,   var(--surface-wash, #1E2530));
  --tr-border:      var(--ov-border,      var(--border,       #2E3744));
  --tr-border-soft: var(--ov-border-soft, var(--border-soft,  #242C38));

  /* text */
  --tr-text:        var(--ov-text,        var(--ink,   rgb(236, 238, 243)));
  --tr-text-2:      var(--ov-text-2,      var(--body,  rgb(236, 238, 243)));
  --tr-muted:       var(--ov-text-muted,  var(--mute,  #8A93A3));

  /* accent + status */
  --tr-accent:      var(--ov-accent,      var(--accent, rgb(47, 111, 237)));
  --tr-accent-soft: var(--ov-accent-soft, rgba(47, 111, 237, 0.14));
  --tr-on-accent:   var(--ov-on-accent,   #FFFFFF);
  --tr-pos:         var(--ov-positive,    var(--t-mb, #1A6E58));
  --tr-neg:         var(--ov-negative,    var(--t-f1, #B5341E));
  --tr-warn:        var(--ov-warning,     var(--t-f2, #A8590F));

  --tr-shadow:      var(--ov-shadow,      var(--shadow-1, 0 1px 2px rgba(4, 5, 7, 0.35)));
  --tr-shadow-lg:   var(--ov-shadow-lg,   var(--shadow-2, 0 12px 32px rgba(4, 5, 7, 0.45)));

  /* type */
  --tr-sans:  var(--ov-sans,  var(--sans,  'Inter', -apple-system, sans-serif));
  --tr-serif: var(--ov-serif, var(--serif, 'Source Serif 4', Georgia, serif));
  --tr-mono:  var(--ov-mono,  var(--mono,  'IBM Plex Mono', 'Courier New', monospace));

  /* categorical ramp. Anchored on the accent; the remaining hues exist only
     because a categorical scale needs separable hues, and each is overridable
     from the shared token set. */
  --tr-cat-1: var(--ov-chart-1, var(--tr-accent));
  --tr-cat-2: var(--ov-chart-2, #4FA8E0);
  --tr-cat-3: var(--ov-chart-3, var(--tr-neg));
  --tr-cat-4: var(--ov-chart-4, #8B6CF0);
  --tr-cat-5: var(--ov-chart-5, #D08A3A);
  --tr-cat-6: var(--ov-chart-6, var(--tr-muted));

  --tr-radius: 12px;
}

/* ── sidebar note (markup lives in index.html) ────────────────────────── */
.sidebar-note{
  font-family: var(--tr-sans); font-size: 11.5px; color: var(--tr-muted);
  line-height: 1.6; padding: 10px 14px; margin-top: 4px;
}

/* ── shared page furniture ────────────────────────────────────────────── */
.t-eyebrow{
  font-family: var(--tr-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tr-accent);
}
.t-page-head{ max-width: 780px; margin: 0 0 26px; }
.t-page-title{
  font-family: var(--tr-serif); font-size: clamp(26px, 3.4vw, 34px); font-weight: 600;
  color: var(--tr-text); margin: 6px 0 10px; letter-spacing: -0.01em;
}
.t-page-desc{ font-family: var(--tr-serif); font-size: 15px; color: var(--tr-muted); line-height: 1.65; }
.t-page-desc b, .t-page-desc code{ color: var(--tr-text); font-weight: 700; }

.t-section{
  font-family: var(--tr-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted);
  margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--tr-border-soft);
}
.t-section--in{ color: var(--tr-pos); }
.t-section--out{ color: var(--tr-neg); }

.t-note{
  font-family: var(--tr-sans); font-size: 12.5px; line-height: 1.65;
  color: var(--tr-muted); margin-top: 14px; padding-left: 12px;
  border-left: 2px solid var(--tr-border);
}
.t-note b{ color: var(--tr-text); }
.t-note--warn{ border-left-color: var(--tr-warn); color: var(--tr-warn); }

.t-card{
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius); padding: 18px 20px; box-shadow: var(--tr-shadow);
  overflow-x: auto;
}

.t-two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

.t-actions{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.t-btn{
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--tr-sans); font-size: 13px; font-weight: 600;
  color: var(--tr-text); background: var(--tr-surface);
  border: 1px solid var(--tr-border); border-radius: 9px;
  padding: 9px 16px; cursor: pointer; text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.t-btn:hover:not(:disabled){ background: var(--tr-surface-2); border-color: var(--tr-accent); }
.t-btn:disabled{ opacity: 0.38; cursor: default; }
.t-btn--primary{
  background: var(--tr-accent); border-color: var(--tr-accent); color: var(--tr-on-accent);
  margin-top: 18px;
}
.t-btn--primary:hover:not(:disabled){
  background: color-mix(in srgb, var(--tr-accent) 84%, black); color: var(--tr-on-accent);
}

.t-callout{
  font-family: var(--tr-serif); font-size: 14.5px; line-height: 1.65;
  color: var(--tr-text-2); background: var(--tr-surface);
  border: 1px solid var(--tr-border); border-left: 3px solid var(--tr-accent);
  border-radius: 10px; padding: 16px 20px; margin: 22px 0;
}
.t-callout--warn{ border-left-color: var(--tr-warn); }
.t-callout b{ color: var(--tr-text); font-weight: 700; }

.t-prose{ max-width: 720px; font-family: var(--tr-serif); font-size: 15px; line-height: 1.72; color: var(--tr-text-2); }
.t-prose p{ margin: 0 0 14px; }
.t-prose code, .t-page-desc code, .t-note code, .t-error-body code, .t-empty-body code, .t-provenance code{
  font-family: var(--tr-mono); font-size: 0.88em;
  background: var(--tr-surface-2); border: 1px solid var(--tr-border-soft);
  border-radius: 4px; padding: 1px 5px;
}

.t-provenance{
  font-family: var(--tr-sans); font-size: 11.5px; line-height: 1.7; color: var(--tr-muted);
  margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--tr-border-soft);
}

.t-pos{ color: var(--tr-pos); }
.t-neg{ color: var(--tr-neg); }
.t-dim{ color: var(--tr-muted); opacity: 0.7; }

/* ── scope (fiscal period) selector ───────────────────────────────────── */
.t-scope-bar{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
}
.t-scope-label{
  font-family: var(--tr-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted);
}
.t-pill-group{
  display: flex; gap: 3px; padding: 3px;
  background: var(--tr-surface-2); border: 1px solid var(--tr-border); border-radius: 10px;
}
.t-pill{
  font-family: var(--tr-sans); font-size: 12px; font-weight: 600; color: var(--tr-muted);
  background: none; border: none; border-radius: 7px; padding: 6px 13px; cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease;
}
.t-pill:hover{ color: var(--tr-text); }
.t-pill.is-active{ background: var(--tr-accent); color: var(--tr-on-accent); }

.t-scope-jump{ display: flex; align-items: center; gap: 8px; }
.t-scope-jump-label{
  font-family: var(--tr-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted);
}
.t-scope-jump select, .t-filter select{
  font-family: var(--tr-sans); font-size: 12.5px; color: var(--tr-text);
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-radius: 8px; padding: 7px 10px; cursor: pointer;
}
.t-scope-jump select:focus, .t-filter select:focus{
  outline: none; border-color: var(--tr-accent);
  box-shadow: 0 0 0 3px var(--tr-accent-soft);
}

/* ── fiscal period card ───────────────────────────────────────────────── */
.t-period-card{
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius); padding: 18px 22px; margin-bottom: 20px;
  box-shadow: var(--tr-shadow);
}
.t-period-eyebrow{
  font-family: var(--tr-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tr-accent);
}
.t-period-name{
  font-family: var(--tr-serif); font-size: 21px; font-weight: 600;
  color: var(--tr-text); margin: 5px 0 3px;
}
.t-period-window{ font-family: var(--tr-mono); font-size: 11.5px; color: var(--tr-muted); }
.t-period-track{
  height: 5px; border-radius: 999px; background: var(--tr-surface-2);
  border: 1px solid var(--tr-border-soft); overflow: hidden; margin: 14px 0 8px;
}
.t-period-fill{ height: 100%; background: var(--tr-accent); border-radius: 999px; }
.t-period-meta{ font-family: var(--tr-mono); font-size: 11px; color: var(--tr-muted); }
.t-period-note{
  font-family: var(--tr-sans); font-size: 11.5px; line-height: 1.65;
  color: var(--tr-muted); margin-top: 12px; padding-top: 11px;
  border-top: 1px solid var(--tr-border-soft);
}
.t-period-card--unknown{ border-left: 3px solid var(--tr-warn); }
.t-period-card--unknown .t-period-name{ color: var(--tr-muted); font-style: italic; }

/* ── hero balance ─────────────────────────────────────────────────────── */
.t-hero{
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-top: 3px solid var(--tr-accent); border-radius: var(--tr-radius);
  padding: 26px 28px 24px; margin-bottom: 26px; box-shadow: var(--tr-shadow-lg);
}
/* A deficit is the interesting case, not an error state — it gets its own
   accent rather than being buried in the same blue as a surplus. */
.t-hero--deficit{ border-top-color: var(--tr-neg); }
.t-hero-label{
  font-family: var(--tr-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--tr-muted);
}
.t-hero-value{
  font-family: var(--tr-serif); font-size: clamp(38px, 6vw, 60px); font-weight: 600;
  color: var(--tr-text); margin: 8px 0 6px; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.t-hero--deficit .t-hero-value{ color: var(--tr-neg); }
.t-hero-sub{ font-family: var(--tr-sans); font-size: 12.5px; color: var(--tr-muted); }

/* ── fiscal position gauge ────────────────────────────────────────────── */
.t-gauge{ margin-top: 22px; }
.t-gauge-track{
  position: relative; height: 26px; border-radius: 7px;
  background: var(--tr-surface-2); border: 1px solid var(--tr-border); overflow: hidden;
}
.t-gauge-fill{
  position: absolute; top: 0; bottom: 0; min-width: 2px; border-radius: 3px;
  background: var(--tr-accent); transition: width 0.4s ease, left 0.4s ease;
}
.t-gauge--deficit .t-gauge-fill{ background: var(--tr-neg); }
/* Zero sits dead centre by construction — see fiscalGauge() in treasury.app.js. */
.t-gauge-zero{
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: var(--tr-text); opacity: 0.55; z-index: 2;
}
.t-gauge-limit{
  position: absolute; top: 0; bottom: 0; width: 0;
  border-left: 2px dashed var(--tr-warn); z-index: 2;
}
.t-gauge-scale{
  display: flex; justify-content: space-between; margin-top: 7px;
  font-family: var(--tr-mono); font-size: 10.5px; color: var(--tr-muted);
}
.t-gauge-scale-mid{ color: var(--tr-text); }
.t-gauge-key{
  display: flex; align-items: center; gap: 8px; margin-top: 9px;
  font-family: var(--tr-sans); font-size: 11px; color: var(--tr-muted);
}
.t-gauge-key-dash{
  width: 16px; height: 0; flex: none; border-top: 2px dashed var(--tr-warn);
}
.t-gauge-readout{
  font-family: var(--tr-serif); font-size: 14px; line-height: 1.65;
  color: var(--tr-text-2); margin-top: 14px;
}
.t-gauge-readout b{ color: var(--tr-text); font-weight: 700; }
.t-gauge-missing{
  font-family: var(--tr-sans); font-size: 12px; line-height: 1.6; color: var(--tr-muted);
  margin-top: 18px; padding-left: 12px; border-left: 2px solid var(--tr-warn);
}

/* ── stat grid ────────────────────────────────────────────────────────── */
.t-stat-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 8px; }
.t-stat{
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-left: 3px solid var(--tr-border); border-radius: 10px;
  padding: 15px 17px; box-shadow: var(--tr-shadow);
}
.t-stat--in{ border-left-color: var(--tr-pos); }
.t-stat--out{ border-left-color: var(--tr-neg); }
.t-stat-label{
  font-family: var(--tr-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--tr-muted);
}
.t-stat-value{
  font-family: var(--tr-serif); font-size: 23px; font-weight: 600; color: var(--tr-text);
  margin-top: 6px; font-variant-numeric: tabular-nums;
}
.t-stat-sub{ font-family: var(--tr-sans); font-size: 11px; color: var(--tr-muted); margin-top: 3px; }

/* ── horizontal category bars ─────────────────────────────────────────── */
.t-bars{ display: flex; flex-direction: column; gap: 18px; }
.t-bar-row{ display: block; }
.t-bar-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.t-bar-label{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--tr-sans); font-size: 13px; font-weight: 600; color: var(--tr-text);
}
.t-bar-value{
  font-family: var(--tr-mono); font-size: 13px; font-weight: 600;
  color: var(--tr-text); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.t-bars--out .t-bar-value{ color: var(--tr-neg); }
.t-bar-track{
  height: 9px; border-radius: 5px; background: var(--tr-surface-2);
  border: 1px solid var(--tr-border-soft); overflow: hidden;
}
.t-bar-fill{ height: 100%; border-radius: 5px; background: var(--c, var(--tr-accent)); transition: width 0.4s ease; }
/* Spending reads by direction, not by category — a red bar is a debit. */
.t-bars--out .t-bar-fill{ background: var(--tr-neg); }
.t-bar-meta{ font-family: var(--tr-sans); font-size: 11.5px; color: var(--tr-muted); margin-top: 6px; }

/* categorical colour slots — assigned in treasury.app.js by categorySlot() */
.t-cat-1{ --c: var(--tr-cat-1); }
.t-cat-2{ --c: var(--tr-cat-2); }
.t-cat-3{ --c: var(--tr-cat-3); }
.t-cat-4{ --c: var(--tr-cat-4); }
.t-cat-5{ --c: var(--tr-cat-5); }
.t-cat-6{ --c: var(--tr-cat-6); }

.t-swatch{
  width: 9px; height: 9px; border-radius: 2px; flex: none; display: inline-block;
  background: var(--c, var(--tr-accent));
}
.t-swatch--in{ background: var(--tr-pos); }
.t-swatch--out{ background: var(--tr-neg); }

.t-tag{
  display: inline-block; font-family: var(--tr-sans); font-size: 10px; font-weight: 700;
  letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  color: var(--c, var(--tr-accent));
  background: color-mix(in srgb, var(--c, var(--tr-accent)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--tr-accent)) 32%, transparent);
}

/* ── inline SVG charts ────────────────────────────────────────────────── */
.t-svg{ width: 100%; height: auto; display: block; min-width: 520px; }
.t-axis-line{ stroke: var(--tr-text); stroke-width: 1; opacity: 0.45; }
.t-axis-limit{ stroke: var(--tr-warn); stroke-width: 1; stroke-dasharray: 5 4; }
.t-axis-text{ font-family: var(--tr-mono); font-size: 9px; fill: var(--tr-muted); }
.t-col{ fill: var(--tr-muted); }
.t-col--in{ fill: var(--tr-pos); }
.t-col--out{ fill: var(--tr-neg); }
.t-line-path{ fill: none; stroke: var(--tr-accent); stroke-width: 2; stroke-linejoin: round; }
.t-line-area{ fill: var(--tr-accent); opacity: 0.13; stroke: none; }
.t-line-dot{ fill: var(--tr-accent); }
.t-line-dot--neg{ fill: var(--tr-neg); }

.t-legend{ display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.t-legend-item{
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--tr-sans); font-size: 11.5px; color: var(--tr-muted);
}
.t-legend-note{ font-style: italic; opacity: 0.8; }

/* ── tables ───────────────────────────────────────────────────────────── */
/* Wide content scrolls inside its own container so the page body never does. */
.t-table-wrap{ overflow-x: auto; border: 1px solid var(--tr-border); border-radius: var(--tr-radius); }
.t-table{ width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.t-table thead th{
  text-align: left; font-family: var(--tr-sans); font-weight: 700; font-size: 10px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--tr-muted);
  padding: 11px 14px; background: var(--tr-surface-2);
  border-bottom: 1px solid var(--tr-border);
}
.t-table tbody td{
  padding: 11px 14px; border-bottom: 1px solid var(--tr-border-soft);
  font-family: var(--tr-sans); color: var(--tr-text-2); vertical-align: top;
}
.t-table tbody tr:last-child td{ border-bottom: none; }
.t-table tbody tr:hover td{ background: var(--tr-surface-2); }
.t-th-num, .t-td-num{ text-align: right; }
.t-td-num{
  font-family: var(--tr-mono); font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums; color: var(--tr-text);
}
.t-td-date{ font-family: var(--tr-mono); font-size: 11px; color: var(--tr-muted); white-space: nowrap; }
.t-td-name{ font-weight: 600; color: var(--tr-text); white-space: nowrap; }
.t-td-detail{ min-width: 220px; }
.t-ref{
  display: block; font-family: var(--tr-mono); font-size: 10.5px;
  color: var(--tr-muted); margin-top: 3px; word-break: break-all;
}

/* ── ledger toolbar + pager ───────────────────────────────────────────── */
.t-toolbar{
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.t-filter{ display: flex; align-items: center; gap: 8px; }
.t-filter-label{
  font-family: var(--tr-sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--tr-muted);
}
.t-toolbar-status{ font-family: var(--tr-mono); font-size: 11.5px; color: var(--tr-muted); }

.t-pager{ display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.t-pager-status{
  font-family: var(--tr-mono); font-size: 11.5px; color: var(--tr-muted); padding: 0 6px;
  font-variant-numeric: tabular-nums;
}

/* ── loading / empty / error states ───────────────────────────────────── */
.t-skel-wrap{ display: flex; flex-direction: column; gap: 14px; }
.t-skel{
  border-radius: 10px;
  background: linear-gradient(90deg,
    var(--tr-surface) 0%, var(--tr-surface-2) 50%, var(--tr-surface) 100%);
  background-size: 200% 100%;
  animation: t-shimmer 1.4s ease-in-out infinite;
  border: 1px solid var(--tr-border-soft);
}
.t-skel-hero{ height: 168px; }
.t-skel-title{ height: 18px; width: 220px; }
.t-skel-row{ height: 44px; }
.t-skel-card{ height: 84px; }
.t-skel-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@keyframes t-shimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce){
  .t-skel{ animation: none; }
}

.t-empty{
  background: var(--tr-surface); border: 1px dashed var(--tr-border);
  border-radius: var(--tr-radius); padding: 26px 28px;
}
.t-empty-title{
  font-family: var(--tr-serif); font-size: 17px; font-weight: 600;
  color: var(--tr-text); margin-bottom: 9px;
}
.t-empty-body{
  font-family: var(--tr-sans); font-size: 13px; line-height: 1.7;
  color: var(--tr-muted); max-width: 640px;
}

.t-error{
  background: var(--tr-surface); border: 1px solid var(--tr-border);
  border-left: 3px solid var(--tr-neg); border-radius: var(--tr-radius);
  padding: 24px 26px; max-width: 720px; box-shadow: var(--tr-shadow);
}
.t-error-title{
  font-family: var(--tr-serif); font-size: 19px; font-weight: 600;
  color: var(--tr-text); margin-bottom: 10px;
}
.t-error-body{ font-family: var(--tr-sans); font-size: 13.5px; line-height: 1.7; color: var(--tr-text-2); }
.t-error-detail{
  font-family: var(--tr-mono); font-size: 11px; line-height: 1.6; color: var(--tr-muted);
  background: var(--tr-surface-2); border: 1px solid var(--tr-border-soft);
  border-radius: 8px; padding: 12px 14px; margin: 14px 0 0;
  white-space: pre-wrap; word-break: break-all; overflow-x: auto;
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px){
  .t-two-col{ grid-template-columns: 1fr; gap: 28px; }
  .t-stat-grid, .t-skel-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .t-stat-grid, .t-skel-grid{ grid-template-columns: 1fr; }
  .t-scope-bar{ align-items: flex-start; flex-direction: column; gap: 10px; }
  .t-pill-group{ width: 100%; }
  .t-pill{ flex: 1; padding: 7px 8px; }
  .t-hero{ padding: 20px 18px; }
  .t-gauge-scale{ font-size: 9.5px; }
  .t-toolbar{ flex-direction: column; align-items: flex-start; }
  .t-pager{ gap: 6px; }
  .t-pager .t-btn{ padding: 8px 11px; font-size: 12px; }
}

/* ── governments & agencies ─────────────────────────────────────────── */

.t-gov-bar { margin-bottom: 6px; }

.t-subhead {
  margin: 26px 0 10px;
  font-size: 15px;
  letter-spacing: .02em;
}

.t-gov-pick {
  background: none; border: 0; padding: 0;
  color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}
.t-gov-pick:hover { text-decoration-style: solid; }

.t-gov-current td { background: rgba(122, 156, 255, .07); }

.t-gov-tier {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .05em;
  border: 1px solid currentColor;
  opacity: .85;
}
.t-gov-tier--0 { color: #8ab4ff; }
.t-gov-tier--1 { color: #7fd7a8; }
.t-gov-tier--2 { color: #e6b566; }

.t-num { text-align: right; font-variant-numeric: tabular-nums; }
