/* Square Ibis — payout requests, schedules, compensations, invoices (v2.2) */

/* ---------- merchant: payout request card ---------- */
.pay-request .pr-state { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pay-request .pr-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 0; }
.pay-request .pr-main > b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pay-request .pr-main .muted { font-size: 13px; }
.pay-request .pr-declined { display: flex; align-items: center; gap: 8px; flex-basis: 100%; font-size: 12.5px; color: var(--text-2); }

/* ---------- claims: compensation box ---------- */
.tk-comp { display: flex; align-items: center; gap: 12px; margin: 12px 18px 0; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid color-mix(in srgb, var(--green) 30%, transparent); background: color-mix(in srgb, var(--green) 7%, transparent); }
.tk-comp > svg { color: var(--green); flex: none; }
.tk-comp .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tk-comp small { color: var(--text-3); font-size: 12px; }

/* ---------- parcel drawer: compensation ---------- */
.mc-list { display: flex; flex-direction: column; gap: 6px; }
.mc-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface-2); font-size: 13px; }
.mc-row .grow { min-width: 0; }
.mc-row small { font-size: 11.5px; }
.mc-row b { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- messaging: merchant templates ---------- */
.msg-group { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.msg-vars.is-static { position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- printed invoice (black on white, like the other documents) ---------- */
.doc .inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.doc .inv-party { display: flex; flex-direction: column; gap: .7mm; padding: 2.5mm 3mm; border: .3mm solid #000; font-size: 8.6pt; min-width: 0; }
.doc .inv-party > b { font-size: 10.5pt; font-weight: 800; }
.doc .inv-party-title { font-size: 6.8pt; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #333; }
.doc .inv-id { display: flex; gap: 2mm; font-size: 8pt; }
.doc .inv-id span { width: 9mm; font-weight: 700; color: #333; }
.doc .inv-words { font-size: 9pt; font-weight: 600; margin: 1mm 0 0; padding: 2mm 3mm; border-inline-start: .8mm solid #000; background: #f2f2f2; }
.doc .inv-cancelled { align-self: center; padding: 1.5mm 6mm; border: .6mm solid #000; font-size: 13pt; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; transform: rotate(-3deg); }

@media (max-width: 720px) {
  .pay-request .pr-state > .btn { width: 100%; justify-content: center; }
  .tk-comp { margin: 10px 14px 0; flex-wrap: wrap; }
  .tk-comp .btn { width: 100%; justify-content: center; }
}
