.payment-page { padding: 32px 0 56px; background: #f4f8ff; }
.payment-page * { letter-spacing: 0; }
.payment-shell { width: min(760px, calc(100% - 32px)); margin: 0 auto; }
.payment-heading { margin: 24px 0 28px; }
.payment-heading h1 { font-size: 30px; line-height: 1.2; }
.payment-heading p { margin: 10px 0 0; }
.payment-page h2 { font-size: 20px; line-height: 1.4; }
.payment-page p { color: var(--muted); }
.back-link, .payment-page .button, .text-button, .copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.payment-page svg { width: 20px; height: 20px; flex-shrink: 0; }
.back-link { font-size: 14px; }
.quotation-form { padding: 24px 0; border-top: 1px solid var(--line); }
.quotation-fields { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin: 20px 0; }
.quotation-fields label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
.quotation-fields input { width: 100%; min-height: 46px; border: 1px solid #b7c8df; border-radius: 6px; padding: 10px 12px; font: inherit; background: white; color: var(--ink); }
.confirmation { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 22px; font-size: 14px; }
.confirmation input { margin-top: 5px; flex-shrink: 0; }
.payment-page input { accent-color: #2563eb; }
.payment-page :focus-visible { outline: 3px solid #3b82f6; outline-offset: 3px; }
.payment-page .button { font-size: 14px; cursor: pointer; }
.quotation-summary { padding: 20px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-button { border: 0; padding: 8px; background: transparent; color: #1d4ed8; cursor: pointer; font: inherit; font-size: 14px; }
.quotation-summary dl { margin: 16px 0 0; }
.quotation-summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 12px 0; }
.quotation-summary dt { font-size: 14px; color: var(--muted); }
.quotation-summary dd { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; max-width: 60%; }
.quotation-summary .deposit-row { padding-top: 14px; border-top: 1px solid var(--line); }
.deposit-row dd { font-size: 26px; color: #1d4ed8; white-space: nowrap; }
.quotation-summary p { font-size: 13px; margin-bottom: 0; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 20px; }
.payment-method { position: relative; display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 16px; border: 1px solid #becadc; border-radius: 8px; background: white; cursor: pointer; }
.payment-method:has(input:checked) { border: 2px solid #2563eb; padding: 15px; background: #e8f2ff; }
.payment-method:focus-within { outline: 3px solid #93c5fd; outline-offset: 2px; }
.payment-method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.payment-method > svg { width: 26px; height: 26px; }
.payment-method strong { display: block; font-size: 15px; }
.payment-method small { display: block; margin-top: 3px; color: #476489; font-size: 12px; line-height: 1.5; }
.qr-panel img { display: block; width: 230px; height: auto; max-width: 100%; margin: 0 auto 14px; }
.payment-page .qr-panel > a { display: flex; width: fit-content; margin: 0 auto; }
.qr-panel p, #bankPanel > p, .payment-followup p { font-size: 14px; line-height: 1.8; }
.qr-panel p { margin-top: 20px; }
.bank-details { display: grid; gap: 20px; margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #eef5ff; }
.bank-details dt { color: #476489; font-size: 13px; margin-bottom: 5px; }
.bank-details dd { margin: 0; font-size: 19px; font-weight: 700; overflow-wrap: anywhere; }
.account-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.copy-button { padding: 8px 12px; border: 1px solid #b9d2f4; border-radius: 6px; color: #1d4ed8; background: white; cursor: pointer; font-size: 13px; }
.copy-button svg { width: 16px; height: 16px; }
.payment-followup { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 22px; }
.payment-followup .button { width: 100%; }
.payment-followup .small-note { font-size: 12px; }
.payment-page .error { color: #b91c1c; font-size: 14px; }
#copyStatus { font-size: 14px; color: #0f766e; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .payment-heading h1 { font-size: 26px; }
  .quotation-fields { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr; }
  .payment-method { min-height: 80px; }
  .quotation-summary dl > div { align-items: flex-start; }
  .quotation-summary dd { max-width: 55%; }
  .bank-details { padding: 18px; }
}
