/* invoice page additions */
.built-for-head{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin-bottom:12px}
.built-for-head .label{margin-bottom:0!important}
.invoice-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid #ffffff2e;border-radius:999px;background:#ffffff0a;font:500 13px var(--font-mono);letter-spacing:.06em;color:#e8e9ed;white-space:nowrap}
.invoice-pill svg{color:#a4a8b2}
.checkout-btn.is-busy{opacity:.75;cursor:progress}
.checkout-status{margin-top:12px;padding:12px 14px;border-radius:12px;font-size:14px;line-height:1.5;border:1px solid #ffffff22;background:#ffffff08;color:#d5d6db}
.checkout-status.is-warn{border-color:#fbbf2466;background:#fbbf2412;color:#fde68a}
.checkout-status.is-error{border-color:#f8717166;background:#f8717112;color:#fecaca}
@media(max-width:640px){.built-for-head{margin-bottom:8px;flex-wrap:nowrap;gap:8px}.built-for-head .label{font-size:17px!important;white-space:nowrap}.invoice-pill{font-size:12px;padding:4px 9px;letter-spacing:.02em}.invoice-pill svg{display:none}}
.pay-note{align-items:flex-start;justify-content:flex-start;gap:10px;text-align:left;max-width:560px;margin:16px auto 0}
.pay-note svg{flex-shrink:0;margin-top:3px;color:#a4a8b2}
.pay-note strong{display:block;color:#e4e5e9;font-weight:600;font-size:14px}
.pay-note span{display:block;margin-top:4px;font-size:13px;line-height:1.55;color:#9a9ea8}
@media(max-width:640px){.pay-note{margin-top:12px}.pay-note strong{font-size:13px}.pay-note span{font-size:12px;line-height:1.5}}
/* invoice pages carry a longer payment note: tighten phone spacing so button + note fit one screen */
@media(max-width:640px){
  .setup-head{margin-top:12px;padding-top:11px}
  .presets{margin-top:10px;gap:6px}
  .preset{padding:7px 10px}
  .perks{margin-top:10px;gap:6px 10px}
  .checkout{margin-top:12px;padding:14px;gap:12px}
  .checkout-btn{padding:15px}
  .pay-note{margin-top:10px}
}
/* hint directly under the Checkout button */
.btn-wrap{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.btn-hint{margin:0;text-align:center;font-size:13px;color:#8d929e;letter-spacing:.01em}
@media(max-width:640px){.btn-wrap{gap:6px}.btn-hint{font-size:12px}}
/* room for the button hint on phones */
@media(max-width:640px){
  .setup-head{margin-top:10px}
  .checkout{padding:12px 14px;gap:10px}
  .checkout-btn{padding:13px}
  .pay-note{margin-top:9px}
  .pay-note span{line-height:1.45}
}
/* expired invoice: disabled button + Contact support */
.checkout-btn.is-expired{cursor:not-allowed;color:#6b6f79;background:linear-gradient(#2a2c31,#222428);border-color:#ffffff1f;box-shadow:none;transform:none}
.checkout-btn.is-expired:hover{transform:none;background:linear-gradient(#2a2c31,#222428)}
.support-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 20px;border-radius:12px;border:1px solid #ffffff40;color:#fff;background:#ffffff0d;font-size:15px;font-weight:600;letter-spacing:.02em;text-decoration:none;transition:background .15s}
.support-btn:hover{background:#ffffff1a}
.support-btn svg{color:#2aabee}
@media(max-width:640px){.support-btn{padding:10px 16px;font-size:14px}}
/* longer note + expired state: a little more phone room */
@media(max-width:640px){
  .setup-head{margin-top:8px;padding-top:9px}
  .preset{padding:6px 10px}
  .perks{margin-top:8px}
  .btn-wrap{gap:4px}
  .btn-hint{line-height:1.25}
  .pay-note{margin-top:6px}
  .pay-note span{margin-top:2px;line-height:1.38}
  .checkout-btn.is-expired{padding:10px;font-size:16px}
  .support-btn{padding:8px 14px}
}
