.integrated-ledger { background: transparent; }
.workspace-subheader { padding: 0 0 10px; gap: 8px; }
.workspace-tabs { flex-wrap: wrap; align-items: center; padding: 4px; gap: 4px; }
.integrated-ledger .workspace-tabs button, .workspace-tabs button { color: var(--ink); white-space: nowrap; padding: 6px 10px; }
.integrated-ledger .workspace-tabs button.active, .workspace-tabs button[aria-pressed=true] {
  background: #fffaf0;
  color: #87392f;
  box-shadow: 0 1px 4px #503c3620;
}
.integrated-ledger .legacy-receipts { margin-top: 12px; padding: 8px; }
.legacy-receipts > summary { cursor: pointer; font-weight: 600; }
.account-back { margin-bottom: 8px; }
.workspace-ledger-scope { margin-bottom: 10px; }
.workspace-ledger-scope .ledger-tools { padding: 0 0 5px; }
[data-workspace-ledger-archive] .workspace-ledger-scope :is(.tabs,.ledger-info) { display: none; }
.workspace-pilot:has(> aside:not([hidden])) .pilot-main { margin-left: 240px; max-width: none; }

/* Use on numeric business tables in the main workbench and dialogs. */
[data-workspace-main] :is(#content,dialog) .table-scroll table:not(.ledger-grid),
.workspace-pilot .table-scroll table:not(.ledger-grid) { border-collapse: collapse; }
[data-workspace-main] :is(#content,dialog) .table-scroll table:not(.ledger-grid) :is(th,td),
.workspace-pilot .table-scroll table:not(.ledger-grid) :is(th,td) {
  border: 1px solid #c4b7a8;
  text-align: center;
  vertical-align: middle;
  padding: 5px 8px;
  min-height: 33px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
[data-workspace-main] :is(#content,dialog) .table-scroll table:not(.ledger-grid) thead th,
.workspace-pilot .table-scroll table:not(.ledger-grid) thead th { background: #f0e5d6; white-space: normal; }
[data-workspace-main] .table-scroll :is(.receipt-actions,.row-actions) { justify-content: center; }
@media (max-width:650px) {
  .workspace-pilot:has(> aside:not([hidden])) .pilot-main { margin: 0; }
  .workspace-tabs { max-width: 100%; }
  .workspace-subheader { align-items: start; }
}
