/* GRID theme: light blue background, light-blue table and statement headings, navy heading text,
   one font across the site. Loaded last on every page. */
:root {
  --bg: #f2f5fa;
  --grid: rgba(36, 56, 91, 0.05);
  --card-line: #dde4ee;
  --slate-soft: #eef2f8;
  --muted: #56627a;
  --faint: #8691a3;
  --head-bg: #eef2f8;
  --head-bg-2: #f6f8fc;
  --head-sec: #e6ecf5;
  --head-ink: #24385b;
  --sans: "Plus Jakarta Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
body, button, input, select, textarea { font-family: var(--sans); }

/* Table headings (ledger tables, TB tables, statements, cap table) */
.ltable th, .grid-table th, .st-table th, .cap-table th, .tbm thead th,
.tbm th.g-pdf, .tbm th.g-tally, .tbm th.g-act {
  background: var(--head-bg); color: var(--head-ink);
}
.tbm th.g-pdf2, .tbm th.g-tally2, .tbm th.g-act2 { background: var(--head-bg-2); color: var(--head-ink); }
.tbm th.g-tally { background: #ecf3f9; }
.ltable th, .grid-table th { border-bottom-color: var(--card-line); }

/* Section rows inside tables and statements */
#comparison tr.sec td, .tbm tr.sec td, .st-table tr.section td {
  background: var(--head-sec); color: var(--head-ink);
}

/* Cards and statement headings */
.pcard, .ledger-card, .statement { border-color: var(--card-line); }
.st-head h2, .pcard h2, .compare summary { color: var(--head-ink); }
.st-company { color: var(--head-ink); }
.fy-box { background: var(--head-bg-2); }
