:root {
  --navy: #1F3A5F; --navy-deep: #16293F; --gold: #C9A227;
  --bg: #F4F6F9; --card: #FFFFFF; --ink: #26303B; --mute: #66788C;
  --line: #DFE6EE; --red: #A32D2D; --red-bg: #FBEDED;
  --amber: #8A6414; --amber-bg: #FCF6E3; --green: #2E6B3E; --green-bg: #E9F4EC;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--bg);
  color: var(--ink); font-size: 14px; }
.shell { display: flex; min-height: 100vh; }
.sidebar { width: 250px; background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #fff; display: flex; flex-direction: column; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 12px; align-items: center; padding: 22px 20px 26px; }
.brand-mark { width: 46px; height: 46px; display: flex; align-items: center;
  justify-content: center; flex: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.psoq { display: block; font-size: 10.5px; font-weight: 700; color: var(--gold);
  margin-top: 3px; white-space: nowrap; }
.brand-name { font-size: 16px; font-weight: 700; }
.brand-sub { font-size: 10px; color: #9FB2C8; letter-spacing: 1px; margin-top: 2px; }
nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; }
.nav-item { display: flex; align-items: center; gap: 12px; background: none;
  border: 0; color: #C5D2E0; padding: 12px 14px; border-radius: 9px;
  font-size: 14px; cursor: pointer; text-align: left; font-family: inherit; }
.nav-item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-item.active { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.badge { margin-left: auto; background: var(--gold); color: var(--navy-deep);
  font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 8px; }
.sidebar-foot { margin-top: auto; padding: 16px 20px; font-size: 11px; color: #7E93AB; }
.content { flex: 1; padding: 30px 36px 80px; max-width: 1300px; min-width: 0; }
/* the Report view needs the whole width, so it lifts the cap */
.content.wide { max-width: none; }
/* collapsible sidebar — a slim ribbon reopens it for a full-width table */
.nav-x { margin-left: auto; background: rgba(255,255,255,.1); color: #fff;
  border: 0; width: 26px; height: 26px; border-radius: 7px; cursor: pointer;
  font-size: 15px; line-height: 1; }
.nav-x:hover { background: rgba(255,255,255,.22); }
.nav-ribbon { display: none; position: fixed; top: 0; left: 0; z-index: 40;
  width: 22px; height: 100vh; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  font-size: 14px; }
.nav-ribbon:hover { width: 26px; }
body.nav-collapsed .sidebar { display: none; }
body.nav-collapsed .nav-ribbon { display: block; }
.hidden { display: none !important; }
h1 { font-size: 22px; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.sub { color: var(--mute); margin-bottom: 24px; font-size: 13px; }
h2 { font-size: 15px; color: var(--navy); margin: 26px 0 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; }
.kpi .k-label { font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.kpi .k-value { font-size: 26px; font-weight: 700; color: var(--navy); }
.kpi .k-note { font-size: 11px; color: var(--mute); margin-top: 4px; }
.kpi.alert .k-value { color: var(--red); }
.kpi.gold .k-value { color: var(--amber); }
table.grid { width: 100%; border-collapse: collapse; background: var(--card);
  border-radius: 12px; overflow: hidden; }
table.grid th { background: var(--navy); color: #fff; text-align: left;
  padding: 10px 14px; font-size: 12.5px; font-weight: 600; }
table.grid td { padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
table.grid tr:nth-child(even) td { background: #F8FAFC; }
td.num, th.num, table.grid th.num { text-align: right;
  font-variant-numeric: tabular-nums; }
/* money tables (collections): compact, ruled, statement-like */
table.coll { max-width: 720px; table-layout: fixed; }
table.coll th:first-child { width: auto; }
table.coll th.num { width: 150px; }
table.coll th.num.pct { width: 76px; }
table.coll td { font-variant-numeric: tabular-nums; }
table.coll tr.total td { border-top: 2px solid var(--navy);
  background: #F1F5FA; font-weight: 700; }
table.coll tr.total td:first-child { color: var(--navy); }
/* advances sit beside the score, not in it — greyed so the eye reads the
   collected column as the result and this as a footnote */
table.coll .adv { color: #5A6572; }
table.coll { max-width: 880px; }
.tag { padding: 2px 10px; border-radius: 10px; font-size: 11.5px; font-weight: 700;
  white-space: nowrap; display: inline-block; }
.tag.red { background: var(--red-bg); color: var(--red); }
.tag.amber { background: var(--amber-bg); color: var(--amber); }
.tag.green { background: var(--green-bg); color: var(--green); }
button.btn { background: var(--navy); color: #fff; border: 0; border-radius: 9px;
  padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; }
button.btn:hover { filter: brightness(1.15); }
button.btn:disabled { background: #B9C4D1; cursor: default; }
button.btn.gold { background: var(--gold); color: var(--navy-deep); }
button.btn.ghost { background: none; color: var(--navy); border: 1px solid var(--line); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
input, select, textarea { border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; font-size: 13px; font-family: inherit; background: #fff;
  color: var(--ink); }
.status-line { font-size: 12.5px; margin-top: 10px; color: var(--mute); white-space: pre-line; }
.status-line.ok { color: var(--green); }
.status-line.err { color: var(--red); }
.console { background: var(--navy-deep); color: #C9D6E4; border-radius: 12px;
  border-top: 3px solid var(--gold); padding: 12px 16px; margin-top: 18px;
  font: 12px/1.55 Consolas, monospace; white-space: pre-wrap; max-height: 240px;
  overflow-y: auto; }
/* ============ project cards on the form page ============ */
.proj { background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 22px 20px; margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(31,58,95,.04); transition: box-shadow .15s; }
.proj:hover { box-shadow: 0 4px 14px rgba(31,58,95,.08); }
.proj-top { display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.proj-name { font-weight: 700; color: var(--navy); font-size: 15.5px;
  line-height: 1.35; max-width: 620px; }
.proj-code { color: var(--mute); font-weight: 500; font-size: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 2px 8px; margin-left: 8px; white-space: nowrap;
  vertical-align: 2px; }
.figs { display: flex; gap: 8px; flex-wrap: wrap; }
.fig { background: #F1F5FA; border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 14px 7px; text-align: right; min-width: 96px; }
.fig span { display: block; font-size: 10px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--mute); margin-bottom: 1px; }
.fig b { font-size: 14.5px; color: var(--navy);
  font-variant-numeric: tabular-nums; }
.fig i { display: block; font-size: 10px; font-style: normal;
  color: var(--green); margin-top: 1px; white-space: nowrap; }
.fig.f-amber { background: var(--amber-bg); border-color: #EAD9A8; }
.fig.f-amber b { color: var(--amber); }
.fig.f-green { background: var(--green-bg); border-color: #BFE0C9; }
.fig.f-green b { color: var(--green); }
.fig.f-gold { background: #FBF6E7; border-color: #E7D9AE; }
.fig.f-gold b { color: #8A6414; }
/* three working zones */
.proj-zones { display: grid; grid-template-columns: 1.15fr 2.1fr 1fr; gap: 14px; }
.zone { background: #F8FAFC; border: 1px solid #E7EDF4; border-radius: 12px;
  padding: 12px 14px 14px; }
.zone-t { font-size: 10.5px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--mute); margin-bottom: 9px; }
.plan-of { float: right; text-transform: none; letter-spacing: 0;
  font-weight: 500; }
.plan-of b { color: var(--navy); font-variant-numeric: tabular-nums; }
.plan-tally { margin-top: 9px; font-size: 12px; color: var(--mute);
  font-variant-numeric: tabular-nums; }
.plan-tally.ok { color: var(--green); font-weight: 600; }
.plan-tally.over { color: var(--red); font-weight: 600; }
.zone-na { font-size: 12.5px; color: var(--mute); font-style: italic;
  margin-top: 4px; }
.zone input, .zone select, .zone textarea { width: 100%; }
.zone textarea { resize: vertical; min-height: 64px; line-height: 1.45; }
.mini { display: block; font-size: 11px; color: var(--mute); margin-bottom: 4px; }
/* "who else acts on it" — the Action By cell, as tick-able colleagues */
.who { display: flex; flex-wrap: wrap; gap: 6px; }
.whochip { display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 11px 4px 8px; font-size: 12.5px; cursor: pointer;
  user-select: none; transition: border-color .15s, background .15s; }
.whochip:hover { border-color: var(--gold, #b08a3e); }
.whochip input { width: auto; margin: 0; cursor: pointer; }
.whochip:has(input:checked) { background: var(--green-bg);
  border-color: var(--green); font-weight: 600; }
/* splitting one row into two */
.splitrow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: 8px; }
/* The collection plan is the densest thing on the card — four dropdowns and
   four money boxes — and it sat in the NARROWEST of the three columns, about
   52px per month. The chosen option rendered as a bare chevron with no text
   and the amount was unreadable. It gets a row of its own now, and "when
   will the work be finished" takes the space that leaves. */
.zone-when { grid-column: span 2; }
.zone-plan { grid-column: 1 / -1; }
/* the four month mini-cards. auto-fit + a real minimum, so they wrap rather
   than shrink — a month card narrower than its own dropdown is not a layout,
   it is a bug waiting for the next screen size. */
.months { display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.mcell { background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px 10px; border-top: 3px solid var(--line);
  transition: border-color .15s, background .15s; }
.mcell.set { border-top-color: var(--gold); background: #FFFDF4; }
.m-name { font-size: 11.5px; font-weight: 700; color: var(--navy);
  margin-bottom: 7px; letter-spacing: .3px; }
.mcell select { font-size: 13px; padding: 8px 6px; }
.mcell input { margin-top: 6px; font-variant-numeric: tabular-nums;
  text-align: right; padding: 8px 10px; font-size: 15px; font-weight: 600;
  color: var(--navy); }
.mcell input:disabled { background: #F4F6F9; color: var(--mute); border-style: dashed; }
/* new-project rows keep the simple grid */
.proj-grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 10px;
  margin-top: 10px; }
.proj-grid label { font-size: 11px; color: var(--mute); display: block; margin-bottom: 3px; }
.proj-grid input, .proj-grid select, .proj-grid textarea { width: 100%; }
.lockbar { background: var(--green-bg); color: var(--green); border-radius: 10px;
  padding: 10px 16px; font-weight: 600; margin-bottom: 16px; }
.person-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.person-tabs button { border-radius: 20px; }
.person-tabs .done::after { content: ' ✓'; color: var(--green-bg); }
/* completion board */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.board .cell { background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 14px; display: flex; flex-direction: column;
  gap: 7px; }
.board .cell-head { display: flex; justify-content: space-between; align-items: center;
  gap: 8px; }
.board .cell-head strong { color: var(--navy); font-size: 14px; font-weight: 700; }
.board .cell-count { flex: none; background: var(--navy); color: #fff; font-size: 11px;
  font-weight: 600; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.board .cell-status { font-size: 12px; color: var(--mute); }
.board .cell-status.ok { color: var(--green); font-weight: 600; }
.board .cell.yes { border-color: var(--green); background: var(--green-bg); }
.board .cell.yes .cell-count { background: var(--green); }
.board .cell.opt { opacity: .6; }
.board .cell.opt.yes { opacity: 1; }
@media (max-width: 1150px) {
  .proj-zones { grid-template-columns: 1fr; }
  /* one column: a span of 2 would invent a second one and push the card
     off the side of the screen */
  .zone-when, .zone-plan { grid-column: auto; }
}
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; flex-direction: row;
    align-items: center; overflow-x: auto; }
  nav { flex-direction: row; }
  .sidebar-foot { display: none; }
  .content { padding: 20px 14px 60px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- performer task list (technician / Zainab / Malik / Tarek) ---- */
.task { padding: 0; }
.task-row { display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px; cursor: pointer; }
.task-chk { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold);
  flex: none; cursor: pointer; }
.task-body { flex: 1; }
.task-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.task-head strong { color: var(--navy); font-size: 15px; }
.chip { font-size: 11px; padding: 2px 9px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 600; }
.gold-chip { background: var(--gold); color: var(--navy-deep); }
.task-code { color: var(--mute); font-size: 12px; margin-left: auto; }
.task-note { margin-top: 6px; color: #33475B; font-size: 14px; line-height: 1.45; }
.task-done { opacity: .55; }
.task-done .task-note { text-decoration: line-through; }

/* task progress + status controls */
.task-progress { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.task-progress b { color: var(--navy); }
.task-pct { color: var(--gold); font-weight: 700; }
.task-track { flex: 1; height: 8px; background: var(--line); border-radius: 999px;
  overflow: hidden; }
.task-track i { display: block; height: 100%; background: var(--gold); }
.seg-wrap { display: inline-flex; gap: 0; margin-top: 10px; border: 1px solid var(--line);
  border-radius: 9px; overflow: hidden; }
.seg { background: #fff; border: 0; border-right: 1px solid var(--line);
  padding: 6px 12px; font-size: 12.5px; color: var(--navy); cursor: pointer; }
.seg:last-child { border-right: 0; }
.seg.on { background: var(--navy); color: #fff; font-weight: 600; }
.task-doing .seg.on { background: var(--amber); }
.task-done .seg.on { background: var(--green); }
.task-fb { display: block; width: 100%; margin-top: 10px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.task-done { opacity: .7; }

/* active person tab (admin/manager switching) — always high contrast,
   whatever the tab's confirmed/green state, for every person clicked */
#tabs .tab.active,
#tabs .tab.active.done {
  background: var(--navy);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold) inset;
  font-weight: 700;
}
#tabs .tab.active * { color: #fff; }

/* clickable KPI tiles + CEO drill-down chart modal */
.kpi-click { cursor: pointer; transition: box-shadow .15s, transform .1s; }
.kpi-click:hover { box-shadow: 0 6px 18px rgba(31,58,95,.14); transform: translateY(-1px); }
.kpi-click .k-label { color: var(--gold); }
.modal-ov { position: fixed; inset: 0; background: rgba(22,41,63,.5);
  display: flex; align-items: center; justify-content: center; z-index: 60; padding: 24px; }
.modal { background: #fff; border-radius: 16px; max-width: 700px; width: 100%;
  max-height: 86vh; overflow: auto; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.modal-h { display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 1; }
.modal-h h2 { margin: 0; font-size: 15.5px; color: var(--navy); }
.modal-x { background: none; border: 0; font-size: 17px; color: var(--mute); cursor: pointer; }
.modal-b { padding: 8px 20px 20px; }
.modal-b h3 { font-size: 12.5px; color: var(--navy); margin: 18px 0 4px; font-weight: 700; }
.chart .c-lab { font-size: 12px; fill: var(--navy); }
.chart .c-val { font-size: 11px; fill: var(--mute); font-weight: 600; }

/* ---- Report & meeting: on-screen editable built report ---- */
.rpt-top { display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.rpt-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.alarm-pill { padding: 6px 12px; border-radius: 999px; font-size: 12.5px;
  font-weight: 700; cursor: pointer; border: 1px solid var(--line); }
.alarm-pill.red { background: var(--red-bg); color: var(--red); }
.alarm-pill.amber { background: var(--amber-bg); color: var(--amber); }
.alarm-pill.ok { background: var(--green-bg); color: var(--green); }
details.rsheet { margin-bottom: 14px; }
details.rsheet > summary { cursor: pointer; font-size: 15px; color: var(--navy);
  padding: 8px 4px; list-style: none; }
details.rsheet > summary::-webkit-details-marker { display: none; }
details.rsheet > summary::before { content: '▸'; margin-right: 8px; color: var(--gold); }
details.rsheet[open] > summary::before { content: '▾'; }
/* the whole table fits in one view (no left-right scrolling): fixed layout,
   fixed column widths, and every input fills its cell */
.rpt-scroll { overflow: auto; max-height: calc(100vh - 200px);
  border: 1px solid var(--line); border-radius: 10px; }
table.rpt { border-radius: 0; overflow: visible; table-layout: fixed;
  width: 100%; }
table.rpt thead th { font-size: 10.5px; padding: 7px 6px; position: sticky;
  top: 0; z-index: 3; box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); }
table.rpt th, table.rpt td { overflow: hidden; }
table.rpt td { padding: 4px 6px; vertical-align: top; }
/* column widths — his own layout: Sr, Code, Client, Action by, then money.
   Status (col 11) is left auto so it absorbs the remaining width. */
table.rpt th:nth-child(1), table.rpt td:nth-child(1) { width: 34px; }
table.rpt th:nth-child(2), table.rpt td:nth-child(2) { width: 62px; }
table.rpt th:nth-child(3), table.rpt td:nth-child(3) { width: 12.5%; }
table.rpt th:nth-child(4), table.rpt td:nth-child(4) { width: 78px; }
table.rpt th:nth-child(5), table.rpt td:nth-child(5),
table.rpt th:nth-child(6), table.rpt td:nth-child(6),
table.rpt th:nth-child(7), table.rpt td:nth-child(7) { width: 72px; }
table.rpt th:nth-child(8), table.rpt td:nth-child(8),
table.rpt th:nth-child(9), table.rpt td:nth-child(9) { width: 54px; }
table.rpt th:nth-child(10), table.rpt td:nth-child(10) { width: 28px; }
table.rpt th:nth-child(12), table.rpt td:nth-child(12),
table.rpt th:nth-child(13), table.rpt td:nth-child(13),
table.rpt th:nth-child(14), table.rpt td:nth-child(14),
table.rpt th:nth-child(15), table.rpt td:nth-child(15) { width: 56px; }
table.rpt th:nth-child(16), table.rpt td:nth-child(16) { width: 88px; }
.rsr { font-size: 11px; font-weight: 700; color: var(--navy); }
.rpeople { font-size: 11.5px; color: #46586c; line-height: 1.25; }
.rpeople .rown { display: block; font-style: normal; font-size: 10.5px;
  color: var(--gold); font-weight: 700; }
table.rpt td.ro { text-align: right; font-variant-numeric: tabular-nums;
  color: var(--ink); white-space: nowrap; font-size: 12px; }
table.rpt td.cBal.bad { color: var(--red); font-weight: 700; background: var(--red-bg); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
  color: var(--mute); }
.rin { width: 100%; padding: 4px 5px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 12px; text-align: right;
  font-variant-numeric: tabular-nums; }
.rin:focus, .rst:focus, .rsel:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.rst { width: 100%; padding: 4px 6px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 12px; resize: vertical; font-family: inherit; }
.rsel { width: 100%; padding: 4px 4px; border: 1px solid var(--line);
  border-radius: 6px; font-size: 11.5px; background: #fff; }
.rin.flash, .rst.flash, .rsel.flash { background: var(--green-bg);
  transition: background .1s; }
.rin.saving, .rst.saving { opacity: .55; }
.rclient { font-weight: 600; color: var(--navy); font-size: 12.5px;
  line-height: 1.25; }
.cTasks { margin-top: 4px; display: flex; gap: 4px; flex-wrap: wrap; }
.chip.move { background: var(--amber); color: #fff; margin-left: 6px; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy-deep); color: #fff; padding: 11px 20px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 80;
  border-left: 4px solid var(--gold); }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.bad { border-left-color: var(--red); }
.cResp { margin-top: 5px; display: flex; flex-direction: column; gap: 3px; }
.resp { font-size: 11.5px; line-height: 1.3; padding: 3px 8px; border-radius: 6px;
  border-left: 3px solid var(--mute); background: #F3F6FA; color: #3A4B5E; }
.resp b { color: var(--navy); }
.resp.resp-done { border-left-color: var(--green); background: var(--green-bg); }
.resp.resp-doing { border-left-color: var(--amber); background: var(--amber-bg); }
/* pending / not-yet-baked highlight (yellow until Export or Close) */
.rin.tset, .rst.tset, .rsel.tset { background: #FFF6C9; border-color: #E0C24A; }
.rin.tset:focus, .rst.tset:focus, .rsel.tset:focus { background: #FFFBE6; }
.resp.resp-pending { border-left-color: #C9A227; background: #FFF6C9; color: #5A4A16; }
.newtag { font-size: 9.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: #fff; background: var(--gold); border-radius: 4px;
  padding: 1px 5px; margin-left: 4px; vertical-align: middle; }
.pending-key { margin: 6px 0 0; font-size: 12px; color: var(--mute); }
.pk-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  background: #FFF6C9; border: 1px solid #E0C24A; vertical-align: -1px; margin-right: 3px; }
/* no number spinners on report figures — reclaims width so 6-digit values fit */
.rin::-webkit-outer-spin-button, .rin::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0; }
.rin { -moz-appearance: textfield; appearance: textfield; }
