.billing-choice { margin: 24px 0 16px; padding: 16px; border: 1px solid var(--border, #d1d5db); border-radius: 10px }
.billing-choice legend { font-weight: 700; font-size: 16px; padding: 0 4px }
.billing-option, .billing-consent { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 8px; line-height: 1.5; font-weight: 400 }
.billing-option:has(input:checked) { background: #eff6ff }
.billing-option input, .billing-consent input { flex: 0 0 auto; margin: 5px 0 0; width: 18px; height: 18px }
.billing-option small { display: block; color: var(--muted, #4b5563); font-size: 13px }
.billing-notice, .billing-quote { margin: 18px 0; padding: 16px; border: 1px solid var(--border, #d1d5db); border-radius: 10px; background: #f8fafc; line-height: 1.5 }
.billing-quote h2 { font-size: 18px; margin: 0 0 12px }
.billing-quote table { width: 100%; border-collapse: collapse; font-size: 14px }
.billing-quote th, .billing-quote td { padding: 8px 4px; text-align: left; border-bottom: 1px solid #e5e7eb; overflow-wrap: anywhere }
.billing-quote th:last-child, .billing-quote td:last-child { text-align: right }
.billing-quote tfoot { font-weight: 700 }
.billing-secondary { background: #fff; color: #1d4ed8; border: 1px solid #2563eb; margin-top: 8px }
.billing-secondary:hover { background: #eff6ff }
.billing-link { display: inline-block; margin: 12px 8px 0 0; padding: 12px 16px; border-radius: 8px; background: #2563eb; color: #fff; font-weight: 600; text-decoration: none }
.billing-link:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px }
.billing-status { padding: 12px 0; line-height: 1.5 }
.billing-panel { background: #fff; border: 1px solid #d1d5db; border-radius: 12px; padding: 24px; margin: 24px 0 }
.billing-panel h2 { font-size: 20px; margin: 0 0 12px }
.billing-panel h3 { font-size: 16px; margin: 16px 0 8px }
.billing-panel ul { padding-left: 20px }
.billing-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px }
.billing-actions button { white-space: normal; margin: 0; min-height: 44px }
.billing-protected { padding: 12px; background: #f0fdf4; border-left: 4px solid #15803d; line-height: 1.5 }
.billing-subscription { padding: 16px 0; border-top: 1px solid #e5e7eb }
.billing-muted { color: #4b5563; font-size: 14px }
.billing-error { color: #b91c1c }
[hidden] { display: none !important }
@media (max-width: 560px) {
  .billing-panel { padding: 18px }
  .billing-choice { padding: 12px }
  .billing-option { padding: 12px 4px }
  .billing-quote { padding: 12px }
  .billing-panel input, .billing-panel select { font-size: 16px; min-height: 44px; max-width: 100% }
  .billing-panel .row { flex-wrap: wrap }
  .billing-panel .row input { flex-basis: 100%; min-width: 0 }
}
.billing-product { padding: 8px 0; border-bottom: 1px solid #e5e7eb }
.billing-product > label:not(.billing-option) { display: block; font-size: 14px; margin: 4px 0 }
.billing-product input[type=number] { width: 100%; max-width: 240px; padding: 10px; border: 1px solid #9ca3af; border-radius: 8px; font: inherit }
.billing-panel summary { cursor: pointer; font-weight: 600; color: #1d4ed8; padding: 14px 0 }
.billing-panel p { line-height: 1.5; overflow-wrap: anywhere }
.billing-panel button { white-space: normal; min-height: 44px; max-width: 100% }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }
