.commerce-dialog{width:min(720px,calc(100vw - 32px));max-height:88vh;border:1px solid #e4e4e4;border-radius:24px;padding:26px;color:var(--text,#222);background:var(--surface,#fff);box-sizing:border-box}.commerce-dialog::backdrop{background:#0005;backdrop-filter:blur(6px)}.commerce-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}.commerce-dialog h2{margin:0;font-size:24px}.commerce-dialog button{cursor:pointer;border:1px solid #ddd;border-radius:12px;background:transparent;color:inherit;padding:10px 16px;font:inherit}.commerce-dialog button:disabled{opacity:.45;cursor:default}.commerce-dialog header button{font-size:22px;line-height:1}.commerce-body{margin-top:24px;line-height:1.6}.commerce-body label{display:block}.commerce-body input:not([type=radio]){box-sizing:border-box;width:100%;margin:8px 0 16px;border:1px solid #ddd;border-radius:12px;padding:12px;font:inherit;color:inherit;background:transparent}.commerce-body input[type=radio]{accent-color:#b72121}.commerce-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.commerce-plans label{border:1px solid #ddd;border-radius:14px;padding:12px;cursor:pointer}.commerce-plans label:has(input:checked){border-color:#b72121;background:#b7212108}.commerce-plans strong,.commerce-plans b,.commerce-plans small{display:block}.commerce-plans b{font-size:26px}.commerce-note{font-size:14px;color:#777}.commerce-form fieldset{border:0;padding:0;margin:4px 0 20px}.commerce-form fieldset label{display:inline-flex;gap:6px;margin-right:24px}.commerce-dialog .commerce-primary{color:white;background:#171717;border-color:#171717}.commerce-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.commerce-payment-qr{display:block;max-height:430px;max-width:100%;width:auto;margin:22px auto}.commerce-admin-qr{width:220px;max-width:100%}.commerce-receipt{text-align:center}.commerce-receipt>strong{font-size:40px}.commerce-body code{font-size:12px;overflow-wrap:anywhere}.commerce-body .commerce-code{display:block;font-size:14px;padding:12px;background:#8881;border-radius:12px;user-select:all}.commerce-orders article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #ddd}.commerce-orders small,.commerce-orders code{display:block}.commerce-milestones{display:flex;gap:12px;flex-wrap:wrap}.commerce-milestones span{padding:8px;border-radius:10px;background:#8881}.auth-remember{display:flex!important;align-items:center;gap:8px;font-size:14px}.auth-remember input{width:16px!important;height:16px;margin:0!important}.commerce-body [role=status]{font-size:14px;color:#a82424;min-height:20px}@media(max-width:540px){.commerce-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-dialog{padding:20px}.commerce-orders article{align-items:flex-start;flex-direction:column}}

.commerce-body textarea{box-sizing:border-box;width:100%;font:13px monospace;border:1px solid #ddd;border-radius:12px;padding:12px;margin:8px 0 16px;resize:vertical;background:transparent;color:inherit}

.commerce-checkout{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;margin:12px 0;padding:14px 20px;border-radius:14px;background:#111;color:#fff}
.commerce-form fieldset label{display:inline-flex!important;align-items:center;white-space:nowrap;min-width:100px;font-size:15px}.commerce-form input[type=radio],.commerce-plans input[type=radio]{width:18px!important;min-height:18px;height:18px;margin:0 7px 0 0;padding:0;flex:none}.commerce-orders,.commerce-grants-scroll{max-height:360px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding-right:10px}.commerce-orders article{padding:12px 0}.commerce-orders h3{position:sticky;top:0;background:var(--surface,#fff);margin:0;padding:8px 0;z-index:1}.commerce-orders::-webkit-scrollbar,.commerce-grants-scroll::-webkit-scrollbar{width:10px}.commerce-orders::-webkit-scrollbar-thumb,.commerce-grants-scroll::-webkit-scrollbar-thumb{background:#bbb;border:2px solid #fff;border-radius:8px}.saved-login-controls .auth-remember{display:flex!important;flex-direction:row;align-items:center}.saved-login-controls input[type=checkbox]{width:16px!important;height:16px!important;min-height:16px;margin:0;padding:0}.saved-login-controls small{font-size:12px;color:#777}.saved-login-controls .text-button{background:transparent;border:0;padding:4px 0;color:#777;font-size:12px}.saved-login-controls [hidden]{display:none!important}
