/* Payment-owned controls. No global overrides or competing overlay lifecycle. */
.tv-receipt-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.tv-receipt-detail-actions > .btn {
  min-height: 44px;
}
.tv-receipt-detail-actions > .tv-receipt-action-note {
  flex-basis: 100%;
}
.payment-entry-edit-form {
  max-width: 680px;
  margin-inline: auto;
  min-width: 0;
  font-size: 15px;
}
.payment-entry-edit-form .modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.payment-entry-edit-form label {
  min-width: 0;
}
.payment-entry-edit-form input:not([type="checkbox"]),
.payment-entry-edit-form select,
.payment-entry-edit-form textarea {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 44px;
  font-size: 15px;
}
.payment-entry-edit-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.payment-entry-edit-form small {
  font-size: 13px;
  line-height: 1.5;
}
.payment-entry-edit-form .tv-payment-edit-advanced {
  padding-block: 12px;
  border-block: 1px solid #d2dde5;
}
.payment-entry-edit-form .tv-payment-edit-advanced > summary {
  cursor: pointer;
  padding-block: 8px;
}
.payment-entry-edit-form :focus-visible {
  outline: 3px solid #0875bb;
  outline-offset: 3px;
}
@media (max-width: 540px) {
  .payment-entry-edit-form .modal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-receipt-detail-actions > .btn {
    flex: 1 1 auto;
  }
}
/* Customer-owned allocation workspace: one money source, no competing shell. */
.tv-allocation-workspace { padding:24px; color:#17344a; font-size:15px; }
/* Adapted from Stitch ad03828d882d4d8daa89e450176b344c HTML:
   bg-surface, rounded-xl, border-outline-variant/60, gap-space-lg.
   Scoped locally: no CDN Tailwind runtime or global reset enters Accounts. */
.tv-allocation-stitch {
  --allocation-surface:var(--tv-surface-muted,#f3f7fb);
  --allocation-ink:var(--tv-text,#122c46);
  --allocation-muted:var(--tv-text-muted,#4d6178);
  --allocation-line:var(--tv-border,#c7d4e2);
  --allocation-primary:var(--tv-brand,#006cba);
  display:grid; gap:20px; background:var(--allocation-surface);
  color:var(--allocation-ink); font-family:inherit;
  line-height:1.5; min-width:0;
}
.tv-allocation-stitch[data-stitch-screen="8afb8594ecfa4c76a4368b9056850fab"] {
  --allocation-surface:#f8f9ff;
  border:1px solid var(--allocation-line);
  border-radius:12px;
  padding:24px;
}
.tv-allocation-stitch .tv-allocation-introduction h1 {font-size:28px;letter-spacing:-.025em;margin:6px 0 8px;}
.tv-allocation-stitch .tv-allocation-introduction p {margin:0;max-width:78ch;color:var(--allocation-muted);}
.tv-allocation-stitch .tv-allocation-eyebrow {font-size:12px;font-weight:600;letter-spacing:.075em;text-transform:uppercase;color:var(--allocation-muted);}
.tv-allocation-stitch .tv-allocation-customer-focus {background:#fff;border:1px solid var(--allocation-line);border-radius:12px;padding:20px;min-width:0;}
.tv-allocation-stitch .tv-allocation-customer-identity {font-size:17px;font-weight:600;overflow-wrap:anywhere;margin:8px 0 16px;}
.tv-allocation-stitch .tv-allocation-search {max-width:760px;}
.tv-allocation-stitch .tv-allocation-steps {display:flex;flex-wrap:wrap;gap:12px 32px;margin:0;padding:0;list-style-position:inside;color:var(--allocation-muted);font-size:14px;}
.tv-allocation-stitch .tv-allocation-grid {gap:16px;grid-template-columns:minmax(0,3fr) minmax(0,5fr) minmax(0,4fr);}
.tv-allocation-stitch .tv-allocation-grid > section {border-color:var(--allocation-line);border-radius:12px;padding:20px;}
.tv-allocation-stitch .tv-allocation-grid h2 {font-size:18px;letter-spacing:-.015em;}
.tv-allocation-stitch .tv-allocation-hint {font-size:14px;color:var(--allocation-muted);min-height:3em;}
.tv-allocation-stitch .tv-allocation-card {display:grid;border:1px solid var(--allocation-line);background:var(--allocation-surface);padding:16px;gap:10px;margin:0 0 12px;border-radius:8px;}
.tv-allocation-stitch .tv-allocation-card strong {font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.tv-allocation-stitch .btn {border-radius:8px;min-height:44px;line-height:1.4;}
.tv-allocation-stitch .btn-primary {background:var(--allocation-primary);color:#fff;}
.tv-allocation-stitch .tv-allocation-capacity {background:#f0faf8;border-color:#b6d8d2;}
.tv-allocation-stitch .tv-allocation-status:empty {display:none;}
.tv-allocation-stitch .tv-allocation-pager {border-top:1px solid var(--allocation-line);padding-top:16px;}
.tv-allocation-stitch .tv-allocation-record-actions {display:grid;gap:10px;}
.tv-allocation-stitch .tv-allocation-summary {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;}
.tv-allocation-stitch .tv-allocation-summary[hidden] {display:none;}
.tv-allocation-stitch .tv-allocation-summary-card {display:grid;gap:8px;align-content:start;background:#fff;border:1px solid var(--allocation-line);padding:16px;border-radius:12px;min-width:0;}
.tv-allocation-stitch .tv-allocation-summary-card strong {font-size:21px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.tv-allocation-stitch .tv-allocation-summary-card:last-child strong {color:#006a61;}
.tv-allocation-stitch .tv-allocation-summary-card small {color:var(--allocation-muted);font-size:13px;}
.tv-allocation-stitch .tv-allocation-plan {display:grid;gap:6px;margin:14px 0 4px;padding:16px 18px;border:1px solid var(--allocation-line);border-left:4px solid var(--tv-brand,#006cba);border-radius:10px;background:#fff;}
.tv-allocation-stitch .tv-allocation-plan-total {font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.tv-allocation-stitch .tv-allocation-plan-copy {margin:0;color:var(--allocation-muted);font-size:13px;line-height:1.5;}
.tv-allocation-stitch .tv-allocation-card input {font-variant-numeric:tabular-nums;text-align:right;}
.tv-allocation-stitch .tv-allocation-card .btn:not(.btn-primary) {background:#fff;}
.tv-allocation-stitch .tv-allocation-capacity {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin:0;padding:0;border:0;border-radius:10px;background:#fff;overflow:hidden;}
.tv-allocation-stitch .tv-allocation-capacity dt,.tv-allocation-stitch .tv-allocation-capacity dd {padding:9px 12px;border-bottom:1px solid var(--allocation-line);}
.tv-allocation-stitch .tv-allocation-capacity dd {text-align:right;font-variant-numeric:tabular-nums;}
.tv-allocation-stitch .tv-allocation-capacity dt:last-of-type,.tv-allocation-stitch .tv-allocation-capacity dd:last-of-type {font-weight:700;background:var(--tv-success-soft,#edf9f1);}
.tv-allocation-stitch [aria-invalid="true"] {border-color:var(--tv-danger,#b42318);}
@media(max-width:900px) {.tv-allocation-stitch .tv-allocation-summary {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:1100px) {.tv-allocation-stitch .tv-allocation-grid {grid-template-columns:minmax(0,1fr);}}
@media(max-width:540px) {
  .tv-allocation-stitch {padding:12px;gap:16px;}
  .tv-allocation-stitch .tv-allocation-introduction h1 {font-size:24px;}
  .tv-allocation-stitch .tv-allocation-customer-focus,.tv-allocation-stitch .tv-allocation-grid > section {padding:16px;}
  .tv-allocation-stitch .tv-allocation-search {align-items:stretch;flex-direction:column;}
  .tv-allocation-stitch .tv-allocation-summary {grid-template-columns:minmax(0,1fr);}
}
.tv-allocation-workspace h1 { font-size:26px; margin:0 0 8px; }
.tv-allocation-workspace p { line-height:1.5; }
.tv-allocation-search,.tv-allocation-pager,.tv-allocation-dialog-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.tv-allocation-search input { flex:1; min-width:160px; }
.tv-allocation-flow { padding:14px 18px; background:#edf5fb; border:1px solid #b7d2e5; border-radius:8px; font-weight:700; }
.tv-allocation-grid { display:grid; grid-template-columns:minmax(220px,1fr) minmax(280px,1.3fr) minmax(220px,1fr); gap:18px; align-items:start; }
.tv-allocation-grid > section { min-width:0; border:1px solid #ced8e2; border-radius:10px; padding:18px; background:#fff; }
.tv-allocation-grid h2 { font-size:19px; margin:0 0 8px; }
.tv-allocation-grid h3 { font-size:15px; margin:0; overflow-wrap:anywhere; }
.tv-allocation-hint { color:#516679; font-size:14px; }
.tv-allocation-card { display:grid; gap:8px; margin:14px 0; padding:14px; background:#f7f9fb; border:1px solid #d8e1e9; border-radius:8px; }
.tv-allocation-card p { margin:0; font-size:14px; }
.tv-allocation-card strong { font-size:18px; font-variant-numeric:tabular-nums; }
.tv-allocation-card small { color:#516679; }
.tv-allocation-workspace input,.tv-allocation-confirm textarea { width:100%; min-width:0; min-height:44px; padding:10px; border:1px solid #8298ad; border-radius:6px; font:inherit; }
.tv-allocation-workspace .btn,.tv-allocation-confirm .btn { min-height:44px; white-space:normal; }
.tv-allocation-workspace :focus-visible,.tv-allocation-confirm :focus-visible { outline:3px solid #0875bd; outline-offset:3px; }
.tv-allocation-capacity { display:grid; grid-template-columns:1fr auto; gap:8px; border:1px solid #bfd3de; padding:12px; border-radius:6px; background:#eff8f6; }
.tv-allocation-capacity dt,.tv-allocation-capacity dd { margin:0; }
.tv-allocation-capacity strong { font-size:14px; font-variant-numeric:tabular-nums; }
.tv-allocation-customer-results { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.tv-allocation-status { color:#9f301b; }
.tv-allocation-confirm { max-width:600px; }
@media(max-width:1100px) { .tv-allocation-grid { grid-template-columns:1fr; } }
@media(max-width:540px) { .tv-allocation-workspace { padding:12px; } .tv-allocation-capacity { grid-template-columns:1fr; } .tv-allocation-grid > section { padding:12px; } }
/* Stitch payment detail 2f300161f4044ef0ab1de17f7e392472.
   Existing amounts, section loaders and authorized controls retain ownership. */
.tv-stitch-payment-detail { color:#0f172a; background:#fff; font-family:Inter,system-ui,sans-serif; }
.tv-stitch-payment-detail .tv-receipt-detail-head { background:#fff; border:0; padding:20px 0 0; display:block; box-shadow:none; }
.tv-stitch-payment-detail .tv-receipt-detail-copy h2 { color:#102338; font-size:26px; margin:8px 0; line-height:1.25; }
.tv-stitch-payment-detail .tv-receipt-detail-copy p { color:#64748b; font-size:14px; line-height:1.6; margin:8px 0 12px; }
.tv-stitch-payment-detail .tv-receipt-kicker { color:#64748b; font-size:12px; letter-spacing:.04em; }
.tv-stitch-payment-detail .tv-receipt-badges { display:flex; flex-wrap:wrap; gap:8px; }
.tv-stitch-payment-detail .tv-payment-detail-tabs { display:flex; gap:16px; overflow-x:auto; border-bottom:1px solid #e2e8f0; padding:0; background:#fff; }
.tv-stitch-payment-detail .tv-payment-detail-tabs button { border:0; border-bottom:3px solid transparent; background:#fff; color:#64748b; padding:12px 4px; min-height:44px; font-size:14px; white-space:nowrap; }
.tv-stitch-payment-detail .tv-payment-detail-tabs button[aria-selected=true] { color:#2563eb; border-bottom-color:#2563eb; }
.tv-stitch-payment-detail .tv-payment-detail-panels { padding:20px 0; }
.tv-stitch-payment-detail .tv-payment-detail-panels [hidden] { display:none; }
.tv-stitch-payment-detail .tv-receipt-section { margin:0 0 20px; border:0; background:#fff; }
.tv-stitch-payment-detail .tv-receipt-section-head { margin:0 0 16px; background:#fff; border:0; padding:0; }
.tv-stitch-payment-detail .tv-receipt-section-head h3 { font-size:14px; color:#475569; margin:0 0 8px; }
.tv-stitch-payment-detail .tv-receipt-section-head p { font-size:13px; color:#64748b; margin:0; }
.tv-stitch-payment-detail .tv-receipt-evidence-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 24px; padding:16px; border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; }
.tv-stitch-payment-detail .tv-receipt-evidence-grid > * { display:grid; gap:6px; padding:12px 0; border:0; border-bottom:1px solid #e2e8f0; border-radius:0; min-width:0; background:transparent; }
.tv-stitch-payment-detail .tv-receipt-evidence-grid :is(dt,span) { color:#64748b; font-size:13px; }
.tv-stitch-payment-detail .tv-receipt-evidence-grid :is(dd,strong) { margin:0; color:#102338; font-size:14px; overflow-wrap:anywhere; }
.tv-stitch-payment-detail .tv-receipt-detail-command { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.tv-stitch-payment-detail .tv-receipt-decision-metric { display:grid; gap:8px; padding:16px; border:1px solid #e2e8f0; border-radius:8px; }
.tv-stitch-payment-detail .tv-receipt-decision-metric > span { font-size:12px; color:#64748b; }
.tv-stitch-payment-detail .tv-receipt-decision-metric > small { font-size:12px; color:#64748b; line-height:1.5; }
.tv-stitch-payment-detail .tv-receipt-decision-metric > strong { font-size:18px; color:#102338; }
.tv-stitch-payment-detail .tv-receipt-detail-actions { display:flex; flex-wrap:wrap; gap:12px; padding:16px; border:1px solid #e2e8f0; border-radius:10px; background:#f8fafc; }
.tv-stitch-payment-detail .tv-receipt-detail-actions > small { flex-basis:100%; color:#64748b; line-height:1.5; }
.tv-stitch-payment-detail .tv-stitch-payment-money {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  padding:18px; gap:16px; margin:20px 0; border:1px solid #e2e8f0;
  border-radius:10px; background:#f8fafc;
}
.tv-stitch-payment-detail .tv-stitch-payment-money > * {
  margin:0; padding:0 12px 0 0; min-width:0; border:0; border-right:1px solid #e2e8f0;
  background:transparent; box-shadow:none; display:flex; flex-direction:column; gap:8px;
}
.tv-stitch-payment-detail .tv-stitch-payment-money > :last-child { border-right:0; }
.tv-stitch-payment-detail .tv-stitch-payment-money strong {
  font-size:20px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; color:#102338;
}
.tv-stitch-payment-detail .tv-stitch-payment-money small { font-size:12px; color:#64748b; line-height:1.5; }
.tv-stitch-payment-detail .tv-stitch-payment-actions { margin-top:24px; padding-top:20px; border-top:1px solid #e2e8f0; }
.tv-stitch-payment-detail .tv-stitch-payment-actions h3 { font-size:14px; color:#475569; margin:0 0 12px; }
.tv-stitch-proof {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start;}
.tv-stitch-proof > * {min-width:0;padding:20px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;}
.tv-stitch-proof h3 {margin:0 0 8px;color:#102338;font-size:16px;}
.tv-stitch-proof p {line-height:1.6;color:#475569;}
.tv-stitch-proof .tv-receipt-attachments {display:grid;gap:12px;}
.tv-stitch-proof .tv-receipt-attachment {padding:16px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;display:grid;gap:12px;}
.tv-stitch-proof .tv-receipt-attachment-copy {display:grid;gap:6px;overflow-wrap:anywhere;}
.tv-stitch-proof .tv-receipt-attachment-actions {display:flex;flex-wrap:wrap;gap:8px;}
.tv-stitch-proof .tv-receipt-attachment-unavailable {color:#92400e;font-weight:600;}
@media(max-width:800px){.tv-stitch-proof {grid-template-columns:1fr;}}
.tv-stitch-payment-detail .tv-stitch-payment-actions .tv-receipt-detail-actions { margin:0; }

/* Stitch detail variants are explicit owners, not visual aliases. Keep the
   reversed receipt visibly historical, and give proof/reversal work its own
   restrained panel treatment without changing action availability. */
.tv-stitch-payment-workspace[data-stitch-screen="f44b5fb4116e4d2eac85a446a8610a31"] {
  border-top:4px solid #0754c7;
}
.tv-stitch-payment-workspace[data-stitch-screen="0fea293987f744a288354a553ae1acc6"] {
  border:1px solid #e7b7b7;
  border-top:4px solid #b42318;
  background:#fffafa;
}
.tv-stitch-payment-workspace[data-stitch-screen="6992e0ce9621408d9fdcb5f949946a62"] .tv-stitch-proof {
  gap:16px;
  align-items:stretch;
}
.tv-stitch-payment-workspace[data-stitch-screen="6992e0ce9621408d9fdcb5f949946a62"] .tv-stitch-proof > * {
  box-shadow:none;
}
[data-stitch-screen="2f300161f4044ef0ab1de17f7e392472"] {
  display:grid;
  gap:12px;
  min-width:0;
  padding:16px;
  border:1px solid var(--tv-payment-line,#cbd6e7);
  border-radius:10px;
  background:var(--tv-payment-surface,#f4f7ff);
}
[data-stitch-screen="2f300161f4044ef0ab1de17f7e392472"] .tv-receipt-detail-copy h2 {margin-top:0;}
.tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] {
  display:grid;
  gap:16px;
  padding:20px;
  border:1px solid #e7b7b7;
  border-top:4px solid #b42318;
  border-radius:12px;
  background:#fffafa;
  color:#102338;
}
.tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] :is(h2,h3) { margin:0; }
.tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] :is(p,small) { color:#586b82; line-height:1.55; }
.tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] :is(textarea,input,select) { min-height:44px; max-width:100%; }
.tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] :focus-visible { outline:3px solid #005fcc; outline-offset:3px; }
@media(max-width:540px) {
  .tv-stitch-reversal[data-stitch-screen="4c9e47f50f924d4aa80a6e2a83e5ab61"] { padding:14px; }
}

/* Full payment workspace and reversed-receipt screens from Stitch.
   Every rule is rooted at this renderer-owned boundary so the redesign cannot
   leak into other registers, drawers, or report pages. */
.tv-stitch-payment-workspace[data-stitch-screen] {
  --tv-payment-ink:#102338;
  --tv-payment-muted:#586b82;
  --tv-payment-line:#cbd6e7;
  --tv-payment-surface:#f4f7ff;
  display:grid;
  gap:16px;
  min-width:0;
  padding:20px;
  color:var(--tv-payment-ink);
  background:#f8f9ff;
  border:1px solid var(--tv-payment-line);
  border-radius:14px;
  font-family:Inter,system-ui,sans-serif;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-head {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:12px;
  padding:0;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-copy { min-width:0; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-copy h2 {
  font-size:clamp(21px,2vw,28px);
  letter-spacing:-.025em;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-actions {
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px;
  border:1px solid var(--tv-payment-line);
  border-radius:10px;
  background:#fff;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-actions {
  margin:0;
  padding:0;
  border:0;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-actions h3 {
  margin:0 0 8px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--tv-payment-muted);
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--tv-payment-line);
  border-radius:12px;
  background:#fff;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > * {
  min-width:0;
  min-height:98px;
  padding:16px;
  border:0;
  border-right:1px solid var(--tv-payment-line);
  background:#fff;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :last-child { border-right:0; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :is(:nth-child(2),:nth-child(3)) strong {
  color:#0754c7;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :nth-child(3) strong { color:#b54708; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-payment-detail-tabs {
  gap:6px;
  padding:0 8px;
  border:1px solid var(--tv-payment-line);
  border-radius:10px 10px 0 0;
  background:var(--tv-payment-surface);
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-payment-detail-tabs button {
  padding:12px 14px;
  border-bottom-width:3px;
  font-weight:600;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-payment-detail-panels {
  min-width:0;
  margin-top:-16px;
  padding:16px;
  border:1px solid var(--tv-payment-line);
  border-top:0;
  border-radius:0 0 10px 10px;
  background:#fff;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-payment-detail-panels [role=tabpanel] { min-width:0; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-section {
  min-width:0;
  margin:0 0 16px;
  padding:16px;
  border:1px solid var(--tv-payment-line);
  border-radius:10px;
  background:#fff;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-section:last-child { margin-bottom:0; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-section-head {
  padding:0 0 12px;
  border-bottom:1px solid var(--tv-payment-line);
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-section-head h3 { color:var(--tv-payment-ink); }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-evidence-grid {
  padding:12px 16px;
  border:0;
  border-radius:0;
  background:transparent;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-evidence-table {
  max-width:100%;
  overflow:auto;
  border:1px solid var(--tv-payment-line);
  border-radius:8px;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-evidence-table table { min-width:680px; }
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-unresolved-invoice {
  display:grid; gap:3px; min-width:0; color:var(--tv-text-muted,#526579);
  font-size:12px; line-height:1.45; overflow-wrap:anywhere;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-unresolved-invoice strong {
  color:#7b4b00; font-size:12px; font-weight:700;
}
.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-unresolved-invoice span {
  color:var(--tv-text,#19364a); font-weight:600;
}
.tv-stitch-payment-workspace[data-stitch-screen][data-payment-state="reversed"] {
  border-top:4px solid #c73535;
}
.tv-stitch-payment-workspace[data-stitch-screen][data-payment-state="reversed"] .tv-stitch-payment-money > :first-child strong {
  color:#7b8798;
  text-decoration:line-through;
}
.tv-stitch-payment-workspace[data-stitch-screen][data-payment-state="reversed"] .tv-receipt-retry-banner,
.tv-stitch-payment-workspace[data-stitch-screen][data-payment-state="reversed"] .tv-payment-reversed-allocation-note {
  border-color:#f1b8b8;
  background:#fff5f5;
}
@media(max-width:860px) {
  .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :nth-child(2) { border-right:0; }
  .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :nth-child(-n+2) { border-bottom:1px solid var(--tv-payment-line); }
}
@media(max-width:540px){
 .tv-stitch-payment-workspace[data-stitch-screen] { padding:12px; }
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-evidence-grid,.tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-command {grid-template-columns:1fr;}
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money {grid-template-columns:1fr;}
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > * {border-right:0;border-bottom:1px solid var(--tv-payment-line);}
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-stitch-payment-money > :last-child {border-bottom:0;}
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-receipt-detail-actions {display:grid;grid-template-columns:1fr;}
 .tv-stitch-payment-workspace[data-stitch-screen] .tv-payment-detail-panels { padding:10px; }
}
