/* Larger primary room actions; the other room controls keep their existing size. */
.tenant-page .tenant-main-action{min-height:50px;min-width:124px;padding:12px 22px;border-radius:12px;font-size:16px;line-height:1.5;font-weight:600;text-decoration:none;transition:background-color .15s,border-color .15s}
.tenant-page .tenant-pay-action{background:var(--leaf);border-color:var(--leaf);color:#fff;box-shadow:0 3px 10px #6e543818}
.tenant-page .tenant-pay-action:hover{background:var(--leaf-dark);border-color:var(--leaf-dark)}
.tenant-page .tenant-parking-action{background:var(--leaf-soft);border-color:var(--leaf-line);color:var(--leaf-dark)}
.tenant-page .tenant-parking-action:hover{background:#eadfce;border-color:var(--leaf)}
.tenant-main-action:focus-visible{outline:3px solid var(--leaf);outline-offset:3px}
/* The summary no longer contains a payment form; do not stretch it to the facts card. */
.tenant-page .tenant-balance{align-self:start;justify-content:flex-start}
/* This page reuses the existing payment form and checks, outside the balance card. */
.room-payment-page{font-size:15px;line-height:1.65;letter-spacing:normal;word-spacing:normal}
.room-payment-page h1{font-size:26px;line-height:1.4;font-weight:600}
.room-payment-page h2{font-size:20px;font-weight:600;line-height:1.45;margin:0 0 14px}
.room-payment-page .bw-muted{font-size:13px;line-height:1.6}
.room-payment-page .bw-grid{align-items:start;gap:20px;margin:22px 0;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}
.room-payment-page .bw-card{min-width:0;overflow-wrap:anywhere;margin:0}
.room-payment-page .tenant-payment{font-size:15px;gap:14px;color:var(--ink)}
.room-payment-page .tenant-transfer{grid-template-columns:minmax(0,1fr);gap:18px}
.room-payment-page .tenant-qr{display:grid;place-items:center;background:var(--leaf-soft);border:1px solid var(--leaf-line);padding:16px;width:100%;min-width:0}
.room-payment-page .tenant-qr img{width:220px;max-width:100%;height:auto}
.room-payment-page .tenant-payment form{gap:10px;min-width:0}
.room-payment-page .tenant-payment form>p{margin:0}
.room-payment-page .tenant-payment small,.room-payment-page .tenant-payment #tenantPayMessage{color:var(--muted);font-size:13px;line-height:1.6}
.room-payment-page #tenantTransferAmount{font-size:23px;font-weight:600;color:var(--leaf-dark);font-variant-numeric:tabular-nums}
.room-payment-page #tenantReceiver{overflow-wrap:anywhere}
.room-payment-page .tenant-payment input,.room-payment-page .tenant-payment select{min-height:46px;font:inherit}
.room-payment-page .tenant-pay{background:var(--leaf);color:white;font-size:15px;min-height:48px;padding:12px 20px;white-space:normal}
.room-payment-page .tenant-pay:hover:not(:disabled){background:var(--leaf-dark)}
.room-payment-page .tenant-payment [hidden]{display:none!important}
.room-payment-page #tenantSlipPreview{max-height:260px;justify-self:center}
.room-payment-page #tenantSlipStatus{background:var(--leaf-soft);color:var(--ink-2)}
.room-payment-page #tenantSlipStatus[data-result=error]{background:#fff0ed;color:#9a3329}
.room-payment-page #tenantSlipStatus[data-result=ok]{background:#eaf4ed;color:#285339}
.room-payment-page .tenant-test-preview{padding:18px;background:var(--leaf-soft);color:var(--ink)}
.room-payment-page .tenant-test-preview .tenant-qr{padding:0;border:0;background:#fff}
.room-payment-page .room-bill{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.room-payment-page .room-bill:last-child{border-bottom:0}
.room-payment-page .room-bill strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.room-payment-page .room-bill-total{display:flex;justify-content:space-between;gap:12px;padding:16px;background:var(--leaf-soft);border-radius:10px;margin-top:14px;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:700px){.room-payment-page .bw-grid{grid-template-columns:minmax(0,1fr);gap:16px}.room-payment-page h1{font-size:24px}.room-payment-page .bw-card{padding:20px}}
@media(max-width:520px){.tenant-page .tenant-actions{width:100%;align-items:center}.tenant-page .tenant-main-action{min-width:128px}.room-payment-page .bw-head{flex-wrap:wrap}}
