/* =========================================================================
   Receipt page (/account/receipt/:id) — screen layout + print sheet. Loaded via
   pageCss:'receipt'. Every value is a tokens.css custom property (no raw hex).
   ========================================================================= */

.receipt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.receipt__grid {
  display: flex;
  flex-direction: column;
}
.receipt__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-block-end: 1px solid var(--color-border);
}
.receipt__row:last-child {
  border-block-end: none;
}
.receipt__label {
  flex: 0 0 auto;
  color: var(--color-text-muted);
  font-size: var(--text-sm-size);
}
.receipt__value {
  flex: 1 1 auto;
  min-width: 0;
  text-align: end;
  word-break: break-word;
}

.receipt__business p {
  margin: 0;
}

/* Print / Save-as-PDF: drop the site chrome and the on-screen actions so the sheet is
   just the receipt card. The card itself sheds its shadow/border for a clean page. */
@media print {
  .site-header,
  .site-footer,
  .skip-link,
  [data-receipt-actions] {
    display: none !important;
  }
  .receipt {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}
