/* FTAQUIO Admin styles. Brand-matched with the marketing page. */

:root {
  --navy: #1877f2;
  --navy-deep: #0d5dc9;
  --navy-soft: #4293f5;
  --gold: #4293f5;
  --gold-light: #b3d4ff;
  --cream: #f0f2f5;
  --cream-2: #e4e6eb;
  --text: #1c1e21;
  --text-soft: #65676b;
  --muted: #8a8d91;
  --line: #dadde1;
  --bg: #ffffff;
  --danger: #d92d20;
  --success: #15803d;
  --warning: #b45309;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text); background: var(--cream);
  font-size: 14px; line-height: 1.55;
}
a { color: var(--navy); }

.muted { color: var(--text-soft); }
.small { font-size: 0.85rem; }

/* ---------- Login page ---------- */
.login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream) 0%, #d6e4ff 100%);
  padding: 1.5rem;
}
.login-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 10px 40px rgba(13, 93, 201, 0.12);
  border: 1px solid var(--line);
}
.login-brand {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.brand-mark {
  width: 46px; height: 46px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700; font-size: 1.5rem; font-style: italic;
  border-radius: 6px;
}
.brand-mark.small { width: 36px; height: 36px; font-size: 1.15rem; border-radius: 5px; }
.brand-name { font-weight: 800; color: var(--navy); letter-spacing: 0.5px; }
.brand-tag { color: var(--text-soft); font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; }
.login-card h1 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.35rem; font-weight: 700; }
.login-card form { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.login-card label { font-size: 0.85rem; font-weight: 600; color: var(--text-soft); margin-top: 0.6rem; }
.login-card input {
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.login-card input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}
button.btn-primary, .btn-primary {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  font-family: inherit;
}
button.btn-primary:hover { background: var(--navy-deep); }
button.btn-primary:active { transform: translateY(1px); }
button.btn-primary[disabled] { background: var(--muted); cursor: not-allowed; }
.error {
  margin-top: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: #fef0f0;
  border: 1px solid #f5c2c2;
  color: var(--danger);
  border-radius: 6px;
  font-size: 0.9rem;
}

/* ---------- App layout ---------- */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 1.25rem 0;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.sidebar .brand {
  display: flex; gap: 0.7rem; align-items: center;
  text-decoration: none; padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.sidebar nav {
  display: flex; flex-direction: column;
  padding: 1rem 0.75rem;
  flex: 1;
}
.sidebar nav a {
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.12s, color 0.12s;
}
.sidebar nav a:hover { background: var(--cream); color: var(--navy); }
.sidebar nav a.active { background: var(--navy); color: #fff; }
.sidebar nav a.external { color: var(--muted); font-weight: 500; margin-top: auto; }
.sidebar-foot {
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem;
}
.sidebar-foot .logout {
  display: inline-block; margin-top: 0.5rem;
  font-size: 0.85rem; color: var(--danger); text-decoration: none;
}
.sidebar-foot .logout:hover { text-decoration: underline; }

.content { flex: 1; padding: 1.75rem 2rem 3rem; max-width: 1280px; }

/* ---------- Cards / page header ---------- */
.page-header {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-header h1 { font-size: 1.5rem; color: var(--navy); font-weight: 700; }
.page-header .actions { display: flex; gap: 0.5rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.card h2 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.85rem; font-weight: 700; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.stat .label { color: var(--text-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.stat .value { font-size: 2rem; font-weight: 700; color: var(--navy); margin-top: 0.25rem; }

/* ---------- Filing compliance panel ---------- */
.compliance-card { padding: 0; overflow: hidden; }
.compliance-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.4rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.compliance-head h2 { margin: 0; }
.compliance-asof { color: var(--text-soft); font-size: 0.8rem; white-space: nowrap; }
.compliance-asof strong { color: var(--text); font-weight: 600; }

/* 1px grid gap over a line-colored backing draws clean dividers that also work
   when the strip wraps to two columns on narrower screens. */
.compliance-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--line);
}
@media (max-width: 960px) { .compliance-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .compliance-strip { grid-template-columns: 1fr; } }

.compliance-cell {
  position: relative; text-align: left;
  background: #fff; border: 0; margin: 0; font: inherit; color: inherit;
  padding: 1.05rem 1.3rem 1.15rem;
  display: flex; flex-direction: column; gap: 0.32rem;
  cursor: pointer; transition: background 0.12s;
}
.compliance-cell:hover { background: var(--cream); }
.compliance-cell:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.cc-label {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 600;
}
.cc-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.cc-dot.ok   { background: var(--success); }
.cc-dot.warn { background: var(--warning); }
.cc-dot.bad  { background: var(--danger); }
.cc-value {
  font-size: 1.95rem; font-weight: 700; color: var(--text);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.cc-note { font-size: 0.74rem; color: var(--muted); }
.cc-arrow {
  position: absolute; top: 1rem; right: 1.05rem;
  color: var(--muted); font-size: 1rem; line-height: 1;
  opacity: 0; transition: opacity 0.12s;
}
.compliance-cell:hover .cc-arrow, .compliance-cell:focus-visible .cc-arrow { opacity: 1; }

/* ---------- Filing preview (friendly XML view) ---------- */
.row-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.fp-section { margin-bottom: 1.4rem; }
.fp-section h3 { font-size: 0.95rem; color: var(--navy); font-weight: 700; margin-bottom: 0.55rem; }
.fp-summary {
  background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
  padding: 0.85rem 1.1rem; margin-bottom: 1rem;
}
.fp-summary .fp-form { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.fp-summary .fp-period { color: var(--text-soft); font-size: 0.85rem; margin-top: 0.15rem; }
.fp-dl {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem; align-items: baseline;
}
.fp-dl dt { color: var(--text-soft); font-weight: 600; font-size: 0.82rem; }
.fp-dl dd { color: var(--text); word-break: break-word; }
@media (max-width: 600px) {
  .fp-dl { grid-template-columns: 1fr; gap: 0.05rem; }
  .fp-dl dt { margin-top: 0.55rem; }
}
.fp-details > summary {
  cursor: pointer; color: var(--navy); font-weight: 600; font-size: 0.9rem;
  padding: 0.35rem 0; user-select: none;
}
.fp-details[open] > summary { margin-bottom: 0.35rem; }

/* ---------- Tables ---------- */
table.data {
  width: 100%; border-collapse: collapse;
  background: #fff;
}
table.data th, table.data td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}
table.data th {
  background: var(--cream);
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--line);
}
table.data tbody tr:hover { background: #fafbfc; }
table.data tbody tr.clickable { cursor: pointer; }
table.data .mono { font-family: 'SF Mono', Menlo, monospace; font-size: 0.82rem; }
table.data .badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--cream-2); color: var(--text-soft);
}
table.data .badge.success { background: #dcfce7; color: var(--success); }
table.data .badge.danger  { background: #fef0f0; color: var(--danger); }
table.data .badge.warn    { background: #fef3c7; color: var(--warning); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.25rem; }
.field label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.field input, .field select, .field textarea {
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.12);
}
.field input[readonly] { background: var(--cream); color: var(--text-soft); }
.field .hint {
  font-size: 0.72rem; color: var(--muted); line-height: 1.4;
  text-transform: none; letter-spacing: 0; font-weight: 400;
}
.field input.invalid { border-color: var(--danger, #d93025); background: #fff8f7; }
.field input.invalid:focus { box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.14); }
.field .field-err { font-size: 0.74rem; color: var(--danger, #d93025); font-weight: 600; }
.field-row { grid-column: 1 / -1; }
.field-row textarea { min-height: 200px; font-family: 'SF Mono', Menlo, monospace; font-size: 0.78rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.12s, transform 0.05s, color 0.12s;
}
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--navy); color: #fff; }
.btn.primary:hover { background: var(--navy-deep); }
.btn.secondary { background: var(--cream-2); color: var(--text); }
.btn.secondary:hover { background: var(--line); }
.btn.danger { background: #fef0f0; color: var(--danger); }
.btn.danger:hover { background: #fde0e0; }
.btn.small { padding: 0.35rem 0.65rem; font-size: 0.82rem; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- Search bar ---------- */
.searchbar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.searchbar input, .searchbar select {
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  font-size: 0.92rem;
  font-family: inherit;
  background: #fff;
}
.searchbar input.q { flex: 2; min-width: 220px; }
.searchbar input.tin { flex: 1; min-width: 130px; }
.searchbar input.rdo { width: 90px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 1rem; right: 1rem; z-index: 999;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--text); color: #fff;
  font-size: 0.9rem; font-weight: 500;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  max-width: 320px;
}
.toast.success { background: var(--success); }
.toast.danger  { background: var(--danger); }

/* ---------- Modal ---------- */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(28, 30, 33, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 1rem;
}
.modal {
  background: #fff;
  border-radius: 10px;
  max-width: 540px; width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 32px; height: 32px;
  border: none; background: transparent;
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  color: var(--text-soft);
  border-radius: 4px;
}
.modal-close:hover { background: var(--cream); }
.modal h2 { color: var(--navy); margin-bottom: 0.85rem; font-size: 1.15rem; }
.modal .key-display {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.95rem;
  background: var(--cream);
  padding: 0.85rem;
  border-radius: 6px;
  word-break: break-all;
  border: 1px solid var(--line);
  margin: 0.75rem 0;
}
.modal .warn-box {
  padding: 0.7rem 0.9rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  color: var(--warning);
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem;
}

.empty { padding: 2rem; text-align: center; color: var(--text-soft); }

/* Transactions modal */
.modal.modal-wide { max-width: 960px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0.15rem 0; }
.radio-group label {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.85rem; color: var(--text); cursor: pointer; font-weight: 400;
  text-transform: none; letter-spacing: 0;
}
.radio-group input { width: auto; margin: 0; }
.txn-summary {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 0.75rem 1rem; margin: 0.75rem 0;
}
.txn-summary .item { display: flex; flex-direction: column; }
.txn-summary .item .label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-soft);
}
.txn-summary .item .value { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.txn-toolbar { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.75rem; }
.txn-toolbar .spacer { flex: 1; }
.txn-preview { font-size: 0.82rem; color: var(--text-soft); margin-top: 0.25rem; }
.amount { text-align: right; font-variant-numeric: tabular-nums; }

/* Detail page two-column layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; }
  .sidebar nav { flex-direction: row; overflow-x: auto; }
}

/* ---------- Reports & Chart of Accounts ---------- */
.modal.modal-report { max-width: 1480px; width: 97vw; }

.tabbar { display: inline-flex; gap: 0.25rem; }
.tab {
  border: 1px solid var(--line); background: var(--bg); color: var(--text-soft);
  padding: 0.35rem 0.8rem; border-radius: 6px; cursor: pointer; font-size: 0.85rem;
}
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.report-body { margin-top: 0.75rem; }
.report-title { text-align: center; margin: 0.5rem 0 1rem; }
.report-title .rt-name { font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }

.table-scroll { overflow-x: auto; max-width: 100%; }
/* 14 columns (Jan–Dec + label + TOTAL) sized to fit the wide modal in one
   glance; only scrolls on genuinely narrow screens. */
table.report-matrix { width: 100%; min-width: 760px; font-size: 0.74rem; table-layout: fixed; }
table.report-matrix th, table.report-matrix td { padding: 4px 5px; }
table.report-matrix th.rowlbl, table.report-matrix td.rowlbl { width: 168px; }
table.report-matrix th.rowlbl, table.report-matrix td.rowlbl {
  text-align: left; white-space: nowrap; position: sticky; left: 0;
  background: var(--bg); z-index: 1;
}
table.report-matrix td.cell.clickable, table.report-matrix tr.acct td.cell { cursor: pointer; }
table.report-matrix tr.acct td.cell:hover { background: var(--gold-light); }
table.report-matrix tr.sec-head td {
  font-weight: 700; color: var(--navy); background: var(--cream);
  text-transform: none; letter-spacing: 0;
}
table.report-matrix tr.subtot td { font-weight: 600; border-top: 1px solid var(--line); }
table.report-matrix tr.grandtot td,
table.report-list tr.grandtot td {
  font-weight: 700; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
}
.total-col { border-left: 1px solid var(--line); }

table.report-list { max-width: 640px; }
table.report-list td.clickable, table.report-list tr.clickable td:first-child { cursor: pointer; }
table.report-list tr.clickable:hover { background: var(--gold-light); }
table.report-list tr.muted td { color: var(--muted); }

.journal-box {
  margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.75rem 1rem; background: var(--cream);
}
.journal-box .jb-title { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; color: var(--text-soft); margin-bottom: 0.4rem; }
table.journal { max-width: 560px; margin-bottom: 0.6rem; background: transparent; }
table.journal td { border: none; padding: 0.15rem 0.6rem; }
table.journal td.jno { width: 1.5rem; color: var(--text-soft); }
table.journal tr.memo td { font-style: italic; }

.coa-section { margin-bottom: 1.1rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.coa-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream); padding: 0.5rem 0.85rem; font-weight: 700; color: var(--navy);
}
.coa-list { padding: 0.25rem 0.5rem; }
.coa-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.35rem 0.4rem; border-bottom: 1px solid var(--cream-2);
}
.coa-row:last-child { border-bottom: none; }
.coa-name { font-size: 0.9rem; }
/* Print: landscape, and print ONLY the report being viewed. The report modal
   gets .print-target; body gets .printing so everything else is hidden. */
@media print {
  @page { size: A4 landscape; margin: 9mm; }
  body.printing .layout { display: none !important; }
  body.printing .modal-bg:not(.print-target) { display: none !important; }
  body.printing .print-target {
    position: static !important; inset: auto !important; background: none !important;
    display: block !important; padding: 0 !important;
  }
  body.printing .print-target .modal {
    position: static !important; box-shadow: none !important; border: none !important;
    max-width: 100% !important; width: 100% !important; max-height: none !important;
    overflow: visible !important; padding: 0 !important; transform: none !important;
  }
  body.printing .print-target .modal-close,
  body.printing .print-target .tabbar,
  body.printing .print-target .searchbar { display: none !important; }
  body.printing .print-target .table-scroll { overflow: visible !important; }
  body.printing .print-target table.report-matrix { min-width: 0 !important; font-size: 8.5pt; }
  body.printing .print-target .charts-row { break-inside: avoid; }
  body.printing .print-target table { break-inside: auto; }
}

/* ---------- Report charts (dependency-free SVG) ---------- */
.charts-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0.5rem 0 1.5rem; }
.chart-card {
  flex: 1 1 420px; min-width: 300px; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.85rem 1rem; background: var(--bg);
}
.chart-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.chart-title { font-weight: 600; color: var(--navy); font-size: 0.88rem; }
.chart { width: 100%; height: auto; display: block; }
.chart .c-bar { transition: opacity 0.12s; }
.chart .c-bar:hover { opacity: 0.78; }
.c-axis { fill: var(--text-soft); font-size: 11px; font-family: inherit; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
.chart-legend.col { flex-direction: column; gap: 0.3rem; }
.lg-item { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: var(--text); }
.lg-dot { width: 0.7rem; height: 0.7rem; border-radius: 3px; display: inline-block; flex: none; }
.lg-name { white-space: nowrap; }
.lg-val { margin-left: auto; }
.donut-wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.donut { flex: none; }
.donut-total { fill: var(--navy); font-size: 20px; font-weight: 700; font-family: inherit; }
.donut-wrap .chart-legend.col { flex: 1; min-width: 160px; }

/* editable Cash in Bank value in journal entries */
input.jcash {
  font: inherit; color: var(--navy); background: #fff7e6;
  border: 1px dashed var(--gold); border-radius: 4px; padding: 1px 5px;
  width: 8.5rem; max-width: 100%; text-align: right;
  font-variant-numeric: tabular-nums;
}
input.jcash.overridden { background: #fef3c7; border-style: solid; border-color: var(--warning); font-weight: 600; }
input.jcash:focus { outline: none; background: #fff; border-color: var(--navy); }
table.report-matrix tr.acct td.cell { cursor: pointer; }
table.report-matrix tr.acct td.rowlbl.clickable:hover { background: var(--gold-light); }
