.step4 { display: flex; flex-direction: column; align-items: center; padding: 86px 22px 100px; }
.step4-card { width: min(480px, 100%); padding: 24px 28px; margin-bottom: 18px; border-radius: var(--radius-field); background: var(--panel); text-align: center; }
.step4-emphasis { font-size: 18px; font-weight: 500; line-height: 1.2; margin: 0 0 20px; overflow-wrap: anywhere; }
.step4 .step3-document { font-size: 15px; }
.step4-payment { padding-top: 24px; padding-bottom: 44px; }
.step4-payment-columns { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; margin-top: 32px; text-align: left; }
.step4 h2 { margin: 0 0 10px; color: var(--brand); font-size: 15px; font-weight: 400; text-align: center; }
.step4-qr img { display: block; width: 116px; max-width: 100%; height: auto; }
.step4 dl { margin: 0; }
.step4 dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid #dedede; font-size: 14px; }
.step4 dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.step4 dt { flex-shrink: 0; }
.step4-other { max-width: 270px; margin: 30px auto 0; }
.step4-inactive-link { color: var(--brand); text-decoration: underline; }
.step4-farewell { margin: 18px 0 32px; text-align: center; }
.step4-mascot { display: block; width: 224px; max-width: 100%; height: auto; }
.step4-status { margin: 8px 0; font-size: 14px; overflow-wrap: anywhere; }
.step4-retry { color: var(--brand); border: 0; background: transparent; padding: 4px 0; text-decoration: underline; }
.step4 :is(button, a):focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
html:has(#step4:not([hidden])) { min-width: 0; }
@media (max-width: 780px) {
  .step4 { padding: 32px 22px 50px; }
  .step4-card { padding: 22px 16px 26px; }
  .step4-payment-columns { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 20px; }
  .step4-payment-information { width: 100%; }
  .step4-emphasis { font-size: 17px; }
  .step4-farewell { margin-top: 18px; }
}
