.order-billing-dialog { width: min(820px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #e4ddec; border-radius: 20px; color: inherit; background: #fff; box-shadow: 0 24px 80px #25182d33; }
.order-billing-dialog::backdrop { background: #241c365c; }
.order-billing-dialog-content { padding: 24px; font: 500 17px/1.6 system-ui, sans-serif; overflow-wrap: anywhere; }
.order-billing-heading, .order-billing-toolbar, .order-billing-record header, .order-billing-amount { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.order-billing-heading h2 { margin: 0; font-size: 25px; }
.order-billing-heading button { min-width: 44px; min-height: 44px; }
.order-billing-toolbar { margin-top: 18px; justify-content: flex-start; font-size: 15px; }
.order-billing-dialog button { min-height: 44px; padding: 9px 16px; font: 650 16px/1.4 system-ui, sans-serif; }
.order-billing-dialog section { margin-top: 24px; }
.order-billing-dialog h3 { margin: 0 0 10px; font-size: 19px; }
.order-billing-dialog p { margin: 8px 0; }
.order-billing-dialog code { font-size: 15px; word-break: break-all; }
.order-billing-dialog [data-billing-status] { font-size: 16px; }
.order-billing-amount { margin: 16px 0; }
.order-billing-amount strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.order-billing-environment, .order-billing-ledger, .order-billing-fiscal p { font-size: 15px; color: #5d5669; }
.order-billing-totals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.order-billing-totals div { padding: 12px; border-radius: 12px; background: #f6f3fa; }
.order-billing-totals dt { font-size: 15px; }
.order-billing-totals dd { margin: 4px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-billing-record { padding: 14px 0; border-bottom: 1px solid #e9e3ef; }
.order-billing-invoice { padding-top: 8px; }
.order-billing-fiscal { margin-top: 18px; }
.order-billing-fiscal button:disabled { opacity: .65; cursor: not-allowed; }
@media (max-width: 600px) {
  .order-billing-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); border-radius: 16px; }
  .order-billing-dialog-content { padding: 18px; }
  .order-billing-totals { grid-template-columns: 1fr; }
  .order-billing-record header { align-items: flex-start; }
  .order-billing-invoice button { max-width: 100%; }
}
