/* "How was it paid?" tick boxes — shared by the sign-off pad and both Xero
   payment sheets (pay-split.js). Self-contained under .ps so it renders the same
   inside the phone app, the contact card and the diary. */

.ps { display: flex; flex-direction: column; gap: 6px; }

/* Every row is a 44px fingertip target — the touch-target audit in GBU Scheduler
   measures the sign-off sheet in a real browser and fails anything smaller. The
   whole label is the hit area, not just the 22px box. */
.ps-row {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
}
.ps-tick {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  flex: 0 0 auto; min-width: 150px; padding: 0 12px;
  border: 1px solid #d9e0e6; border-radius: 8px; background: #fff;
  font: inherit; font-weight: 600; color: #111827; cursor: pointer;
  box-sizing: border-box;
}
.ps-check { width: 22px; height: 22px; margin: 0; accent-color: #006aac; cursor: pointer; flex: 0 0 auto; }
.ps-row:has(.ps-check:checked) .ps-tick { border-color: #006aac; background: #f0f7fc; }

.ps-amt {
  display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; min-height: 44px;
  padding: 0 10px; border-radius: 8px; border: 1px solid #d9e0e6; background: #fff;
  box-sizing: border-box;
}
.ps-amt.is-hidden { display: none; }
.ps-cur { color: #6b7280; font-weight: 600; }
.ps-amount { flex: 1; min-width: 0; border: 0; outline: none; padding: 10px 0; font: inherit; background: transparent; }

/* The running line. The ✓ / ⚠ in the text carries the meaning; colour only
   backs it up. */
.ps-line { font-size: 13px; line-height: 1.4; padding: 2px 2px 0; color: #475569; }
.ps-line.is-empty { display: none; }
.ps-line--ok { color: #166534; font-weight: 600; }
.ps-line--warn { color: #92400e; font-weight: 600; }

@media (max-width: 380px) {
  .ps-tick { min-width: 128px; padding: 0 10px; }
}
