.employment-reconciliation {
  --recon-ink: #171918;
  --recon-paper: #faf7ef;
  --recon-grid: #d8d3c8;
  margin-top: 22px;
  color: var(--recon-ink);
}

.recon-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--recon-ink);
  background: var(--recon-ink);
}

.recon-summary article {
  min-height: 122px;
  padding: 20px;
  background: var(--recon-paper);
}

.recon-summary article:last-child {
  color: var(--recon-paper);
  background: var(--recon-ink);
}

.recon-summary span,
.recon-summary small,
.recon-panel-head span,
.recon-table-head,
.recon-stack-head span,
.recon-selected span,
.recon-method strong {
  display: block;
  color: #70736c;
  font: 800 9px Arial, sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.recon-summary article:last-child span,
.recon-summary article:last-child small { color: #c7c3b8; }

.recon-summary strong {
  display: block;
  margin: 12px 0 5px;
  font: 800 clamp(27px, 3.4vw, 48px)/.92 Arial, sans-serif;
  letter-spacing: -.05em;
}

.recon-summary article:last-child strong { color: var(--acid, #a8b63f); }
.recon-summary small { font-size: 8px; letter-spacing: 0; text-transform: none; }

.recon-main {
  display: grid;
  grid-template-columns: minmax(350px, .82fr) minmax(450px, 1.18fr);
  gap: 1px;
  border: 1px solid var(--recon-ink);
  border-top: 0;
  background: var(--recon-ink);
}

.recon-pie-panel,
.recon-breakdown { background: var(--recon-paper); }
.recon-pie-panel { padding: 22px; }

.recon-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.recon-panel-head h3 {
  margin: 0;
  font: 800 clamp(24px, 3vw, 38px)/.95 Arial, sans-serif;
  letter-spacing: -.045em;
}

.recon-panel-head b {
  font: 800 14px Arial, sans-serif;
  white-space: nowrap;
}

.recon-pie {
  display: block;
  width: 100%;
  min-height: 390px;
  margin-top: 12px;
}

.recon-pie path {
  cursor: pointer;
  stroke: var(--recon-paper);
  stroke-width: 3px;
  transition: opacity .18s ease;
}

.recon-pie path.dimmed { opacity: .18; }
.recon-pie text { font-family: Arial, sans-serif; fill: var(--recon-ink); text-anchor: middle; }
.recon-pie .total { font-size: 31px; font-weight: 800; letter-spacing: -.05em; }
.recon-pie .unit { font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; fill: #777a73; }

.recon-breakdown { min-width: 0; }
.recon-table-head,
.recon-row {
  display: grid;
  grid-template-columns: minmax(175px, 1.35fr) 91px 91px 91px;
  gap: 10px;
  align-items: center;
}

.recon-table-head { padding: 14px 16px; border-bottom: 1px solid var(--recon-ink); }
.recon-table-head span:not(:first-child) { text-align: right; }

.recon-row {
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #e0dcd2;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.recon-row:last-child { border-bottom: 0; }
.recon-row:hover,
.recon-row:focus-visible,
.recon-row[aria-pressed="true"] { background: #eef0d7; outline: 0; }
.recon-row-name { min-width: 0; }
.recon-row-label { display: flex; gap: 8px; align-items: center; font: 800 10px/1.2 Arial, sans-serif; text-transform: uppercase; }
.recon-swatch { width: 9px; height: 9px; flex: 0 0 9px; }
.recon-track { height: 5px; margin-top: 6px; background: #e3dfd5; }
.recon-track i { display: block; height: 100%; }
.recon-row > strong { font: 800 11px Arial, sans-serif; text-align: right; white-space: nowrap; }
.recon-row > strong.change.negative { color: var(--coral, #c93237); }
.recon-row > strong.change.positive { color: #687329; }

.recon-zoom {
  margin-top: 18px;
  border: 1px solid var(--recon-ink);
  background: var(--recon-paper);
}

.recon-stack-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 20px;
  border-bottom: 1px solid var(--recon-ink);
}

.recon-stack-head h3 { margin: 0; font: 800 clamp(25px, 3vw, 38px)/.95 Arial, sans-serif; letter-spacing: -.045em; }
.recon-stack-head p { max-width: 460px; margin: 0; color: #5e615b; font: 13px/1.5 Arial, sans-serif; }
.recon-stacks { padding: 22px 20px; color: var(--recon-paper); background: var(--recon-ink); }

.recon-stack-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 112px;
  gap: 13px;
  align-items: center;
  margin: 9px 0;
}

.recon-stack-row > b,
.recon-stack-row > strong { font: 800 12px Arial, sans-serif; }
.recon-stack-row > strong { text-align: right; }
.recon-stack-bar { display: flex; height: 42px; background: #343733; }
.recon-stack-bar i { display: block; height: 100%; border-right: 1px solid var(--recon-ink); cursor: pointer; }
.recon-stack-bar i.dimmed { opacity: .18; }

.recon-selected {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(100px, .62fr));
  gap: 1px;
  border-top: 1px solid var(--recon-ink);
  background: var(--recon-ink);
}

.recon-selected > div { padding: 17px; background: var(--recon-paper); }
.recon-selected strong { display: block; margin-top: 7px; font: 800 17px Arial, sans-serif; }
.recon-selected p { margin: 7px 0 0; color: #5f625c; font: 12px/1.45 Arial, sans-serif; }

.recon-direct-check {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid var(--recon-grid);
  background: #eef0d7;
}

.recon-direct-check strong { font: 800 13px/1.3 Arial, sans-serif; }
.recon-direct-check p { margin: 0; font: 12px/1.5 Arial, sans-serif; }

.recon-method {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 7px solid var(--coral, #c93237);
  color: var(--recon-paper);
  background: var(--recon-ink);
}

.recon-method strong { color: var(--recon-paper); }
.recon-method p { margin: 0; color: #d7d3c9; font: 12px/1.55 Arial, sans-serif; }

.tone-recon-0 { background: #9473e6 !important; fill: #9473e6; }
.tone-recon-1 { background: #3996e6 !important; fill: #3996e6; }
.tone-recon-2 { background: #f38a37 !important; fill: #f38a37; }
.tone-recon-3 { background: #58c477 !important; fill: #58c477; }
.tone-recon-4 { background: #e469aa !important; fill: #e469aa; }
.tone-recon-5 { background: #9a7ae5 !important; fill: #9a7ae5; }
.tone-recon-6 { background: #3eb4aa !important; fill: #3eb4aa; }
.tone-recon-7 { background: #3296e8 !important; fill: #3296e8; }
.tone-recon-8 { background: #f28a37 !important; fill: #f28a37; }
.tone-recon-9 { background: #57c477 !important; fill: #57c477; }
.tone-recon-10 { background: #df68a5 !important; fill: #df68a5; }

@media (max-width: 980px) {
  .recon-main { grid-template-columns: 1fr; }
  .recon-pie { min-height: 430px; }
}

@media (max-width: 700px) {
  .recon-summary { grid-template-columns: 1fr; }
  .recon-summary article { min-height: 0; }
  .recon-pie-panel { padding: 18px; }
  .recon-pie { min-height: 320px; }
  .recon-table-head,
  .recon-row { grid-template-columns: minmax(0, 1fr) 84px; }
  .recon-table-head span:nth-child(2),
  .recon-table-head span:nth-child(3),
  .recon-row > strong:nth-of-type(1),
  .recon-row > strong:nth-of-type(2) { display: none; }
  .recon-stack-head { grid-template-columns: 1fr; }
  .recon-stacks { overflow-x: auto; }
  .recon-stack-row { min-width: 620px; }
  .recon-selected { grid-template-columns: 1fr 1fr; }
  .recon-selected > div:first-child { grid-column: 1 / -1; }
  .recon-direct-check,
  .recon-method { grid-template-columns: 1fr; }
}
