.purchase-thanks { max-width: 760px; margin-block: 12px 32px; }
.purchase-thanks p { font-size: 18px; line-height: 1.65; margin-block: 20px; }
.purchase-thanks h2 { margin-block: 28px 16px; }
.purchase-thanks a, .support-page a:not(.button) { color: #083e55; text-decoration: underline; text-underline-offset: 3px; }
.commerce-dialog { box-sizing: border-box; border: 1px solid #c7d2d8; border-radius: 5px; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; background: #f7f4ed; color: #083e55; overflow: auto; overscroll-behavior: contain; font-family: inherit; }
.commerce-dialog::backdrop { background: rgb(3 28 39 / .68); }
.commerce-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.commerce-dialog__header h2 { margin: 0; font-size: 26px; }
.commerce-dialog .button, .support-page .button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid #083e55; border-radius: 5px; font: inherit; font-weight: 700; color: #083e55; background: transparent; cursor: pointer; text-decoration: none; }
.commerce-dialog .button.primary, .support-page .button.primary { background: #083e55; color: #fff; }
.commerce-dialog .button:disabled, .support-page .button:disabled { opacity: .55; cursor: wait; }
.commerce-dialog .button:focus-visible, .support-page .button:focus-visible { outline: 3px solid #40a0c9; outline-offset: 3px; }
.support-form { display: grid; gap: 20px; }
.support-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.support-form legend { margin-bottom: 8px; font-weight: 700; }
.support-frequency { display: flex; gap: 8px; flex-wrap: wrap; }
.support-frequency label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #c7d2d8; border-radius: 5px; background: #fff; cursor: pointer; }
.support-frequency label:has(input:checked) { border-color: #083e55; background: #edf4f7; }
.support-form input[type=radio], .support-form input[type=checkbox] { accent-color: #083e55; width: 18px; height: 18px; }
.support-amount { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.support-amount label { display: grid; gap: 6px; font-weight: 700; }
.support-amount input, .support-amount select { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; font-size: 20px; color: #083e55; padding: 10px 12px; min-height: 48px; border: 1px solid #bbcbd2; border-radius: 5px; background: #fff; }
.support-form p { margin: 0; line-height: 1.5; }
.support-form__consent { display: flex; align-items: start; gap: 10px; }
.support-form__consent input { flex-shrink: 0; }
.support-note { font-size: 14px; color: #57676e; }
.support-page { width: min(760px, calc(100% - 40px)); margin: 110px auto 70px; min-height: 40vh; }
.support-page #support-status { line-height: 1.6; margin-block: 24px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.commerce-dialog .contact-form-wrapper { padding: 0; max-width: none; text-align: start; }
.commerce-dialog #contact-form { margin: 0; width: 100%; }
.commerce-dialog #contact-form :is(input:not([type=checkbox]), textarea) { width: 100%; box-sizing: border-box; }
.commerce-dialog .thankyou-modal { position: static; transform: none; width: auto; max-width: none; box-shadow: none; padding: 16px; margin-top: 16px; }
.commerce-dialog .thankyou-modal.show { display: block; }
@media (max-width: 480px) {
  .commerce-dialog { padding: 20px; }
  .commerce-dialog__header { gap: 10px; }
  .commerce-dialog__header h2 { font-size: 23px; }
  .purchase-thanks p { font-size: 17px; }
  .support-page { margin-top: 100px; }
}
:is(.commerce-dialog, .support-page, .shop-checkout) [hidden] { display: none !important; }

.purchase-thanks h1 { font-size: clamp(28px, 3.5vw, 36px); line-height: 1.2; margin-block: 0 28px; }
.support-page h1 { font-size: clamp(28px, 3.5vw, 36px); line-height: 1.2; }

.support-introduction { margin-bottom: 24px; line-height: 1.6; }
.support-introduction p { margin-block: 0 14px; }
.support-page #support-status p { font-size: 18px; margin-block: 0 20px; }
