/* Billing-specific layout. Preserves existing site theme and business logic. */
.noema-internal-page .noema-checkout-panel,
.noema-internal-page .noema-billing-history{max-width:920px;padding:clamp(22px,4vw,38px);margin-top:22px}
.noema-internal-page .noema-checkout-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;row-gap:22px;align-items:start}
.noema-internal-page .noema-checkout-form>.field{min-width:0;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.5}
.noema-internal-page .noema-checkout-form select,
.noema-internal-page .noema-checkout-form input:not([type=hidden]){
 display:block;width:100%;min-width:0;max-width:100%;min-height:50px;
 padding:12px 15px;margin:0;border:1px solid #426074;border-radius:12px;
 background:#0b1c2a;color:#f2f6f9;font:inherit;line-height:1.4;box-sizing:border-box;
}
.noema-internal-page .noema-checkout-form select:focus-visible,
.noema-internal-page .noema-checkout-form input:focus-visible{outline:2px solid #c9a875;outline-offset:3px}
.noema-internal-page .noema-checkout-form .wide{min-width:0;grid-column:1/-1}
.noema-internal-page .noema-payment-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.noema-internal-page .noema-payment-methods>.muted{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
.noema-internal-page .noema-payment-methods>.panel{min-width:0;margin:0;padding:clamp(18px,3vw,26px);height:100%}
.noema-internal-page .noema-payment-methods>.panel strong{display:block;margin-bottom:14px;font-size:17px}
.noema-internal-page .noema-payment-methods>.panel p{margin:0;line-height:1.8;overflow-wrap:anywhere}
.noema-internal-page .noema-payment-methods img{display:block;width:min(100%,310px)!important;max-width:100%;height:auto;padding:12px!important;margin:12px auto 0;background:#fff;border-radius:14px;object-fit:contain}
.noema-internal-page .noema-checkout-form button,
.noema-internal-page .noema-proof-form button{min-height:50px;padding:13px 22px;border-radius:12px;line-height:1.4}
.noema-internal-page .noema-billing-history h2{margin-bottom:24px}
.noema-internal-page .noema-payment-summary{line-height:1.85;overflow-wrap:anywhere;margin:18px 0}
.noema-internal-page .noema-billing-history .noema-proof-form{margin:18px 0 26px;padding:clamp(18px,3vw,26px);gap:18px;align-items:stretch}
.noema-internal-page .noema-billing-history .noema-proof-form label{display:block;line-height:1.75;font-size:15px}
.noema-internal-page .noema-billing-history .noema-proof-form input[type=file]{display:block;width:100%;margin-top:14px;min-width:0;padding:10px;border:1px solid #426074;border-radius:10px;background:#0b1c2a;color:#fff;font:inherit}
.noema-internal-page .noema-billing-history>.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;margin-top:8px}
@media(max-width:720px){
 .noema-internal-page .noema-checkout-form{grid-template-columns:minmax(0,1fr);gap:22px}
 .noema-internal-page .noema-payment-methods{grid-template-columns:minmax(0,1fr);gap:16px}
 .noema-internal-page .noema-checkout-panel,
 .noema-internal-page .noema-billing-history{padding:22px 19px;margin-top:20px}
 .noema-internal-page .noema-checkout-form>.field{gap:9px}
 .noema-internal-page .noema-checkout-form select{font-size:16px}
 .noema-internal-page .noema-checkout-form .wide>button{width:100%}
 .noema-internal-page .noema-billing-history .noema-proof-form{display:grid;grid-template-columns:minmax(0,1fr);padding:18px;gap:16px}
 .noema-internal-page .noema-billing-history .noema-proof-form button{width:100%}
}
