/* Keep the document on one surface so eyes can follow a row past shared cells. */
.decal-desktop-shell.receipt-month-sheet.decal-document-page {
  /* Match the mold receipt heading and use lighter tints of its focus and total colors. */
  --decal-detail-surface: #eff8fe;
  --decal-heading-surface: #ebf3f8;
  --decal-total-surface: #e6f2f6;
  --decal-sheet-divider: #c8dce7;
}

body .business-collaboration .decal-desktop-shell.receipt-month-sheet.decal-document-page
  .decal-desktop-table > thead > tr > th {
  background: var(--decal-heading-surface);
  color: #344f63;
}

body .business-collaboration .decal-desktop-shell.receipt-month-sheet.decal-document-page
  .decal-desktop-table > tbody.decal-receipt-document > tr:not(.receipt-document-total):not([data-fee-drop-target='true']) > td {
  background: var(--decal-detail-surface) !important;
}

body .business-collaboration .decal-desktop-shell.receipt-month-sheet.decal-document-page
  .decal-desktop-table > tbody.decal-receipt-document > tr.receipt-document-total > td {
  background: var(--decal-total-surface) !important;
  border-top-color: var(--decal-sheet-divider);
}

body .business-collaboration .decal-desktop-shell.receipt-month-sheet.decal-document-page
  .receipt-document-total > .receipt-document-total-status {
  color: #81552c;
}

body .business-collaboration .decal-document-page .decal-undo-redo > .business-history-error {
  position: fixed;
  inset-inline-end: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border: 1px solid #e9cdd1;
  border-radius: 12px;
  background: #fff6f7;
  color: #9f3440;
  box-shadow: 0 4px 16px rgb(73 45 50 / 12%);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 1240px) {
  body .business-collaboration .decal-document-page .decal-undo-redo > .business-history-error {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}
