/* Compact price columns retain the existing Quadro navigation and table styles. */
body.mfc-quadro .mfc-credit-pricing [hidden] { display: none !important; }
body.mfc-quadro .mfc-credit-pricing { width: 100%; min-width: 0; }
body.mfc-quadro.mfc-tech .mfc-credit-pricing .mfc-rsc-panel { padding: clamp(1rem, 2%, 1.5rem); }
body.mfc-quadro.mfc-tech .mfc-credit-pricing .mfc-rsc-group-heading { flex-wrap: wrap; align-items: center; gap: .5rem; padding-top: 0; }
body.mfc-quadro .mfc-credit-pricing .mfc-rsc-group-heading > span { margin-inline-start: auto; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-tables { --mfc-price-columns: 1; display: grid; grid-template-columns: repeat(var(--mfc-price-columns), minmax(0, 1fr)); gap: 1rem; align-items: start; width: 100%; min-width: 0; }
body.mfc-quadro .mfc-credit-pricing .mfc-table-scroll { min-width: 0; }
body.mfc-quadro .mfc-module-creditspricing .mfc-credit-pricing .mfc-table-scroll > table { min-width: 0; table-layout: fixed; }
body.mfc-quadro .mfc-credit-pricing .mfc-table :is(th, td) { padding: .625rem .75rem; font-size: .875rem; line-height: 1.5; }
body.mfc-quadro .mfc-credit-pricing .mfc-table th { font-size: .8125rem; }
body.mfc-quadro .mfc-credit-pricing .mfc-table :is(th, td):last-child { width: 42%; overflow-wrap: anywhere; text-align: right; font-variant-numeric: tabular-nums; }
body.mfc-quadro .mfc-credit-pricing .mfc-table td:last-child { font-weight: 600; }
body.mfc-quadro .mfc-credit-pricing .mfc-table td:first-child { overflow-wrap: anywhere; }
body.mfc-quadro .mfc-credit-pricing .mfc-table tbody tr:last-child td { border-bottom: 0; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-free { color: #28775a; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-note { margin: 0; color: var(--mfc-muted); font-size: .875rem; line-height: 1.75; white-space: pre-line; }

body.mfc-quadro .mfc-credit-pricing .mfc-price-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .375rem; margin-top: 1.25rem; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-pagination > button { min-width: 2.25rem; min-height: 2.25rem; padding: .375rem .625rem; border: 1px solid var(--mfc-border); border-radius: var(--mfc-radius); background: #fff; color: var(--mfc-text); font: inherit; font-size: .8125rem; line-height: 1.5; cursor: pointer; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-pagination > button:is(:hover, [aria-current="page"]) { background: var(--mfc-brand); border-color: var(--mfc-brand); color: #fff; }
body.mfc-quadro .mfc-credit-pricing .mfc-price-pagination > button:disabled { background: var(--mfc-surface-soft); border-color: var(--mfc-border); color: var(--mfc-muted); opacity: .55; cursor: default; }

/* Compact navigation follows the module width, including browsers without container queries. */
body.mfc-quadro .mfc-credit-pricing.mfc-price-compact .mfc-rsc-group-heading > span { margin-inline-start: 0; }
body.mfc-quadro.mfc-tech .mfc-credit-pricing.mfc-price-compact .mfc-section-nav { gap: .25rem; padding: .5rem; }
body.mfc-quadro.mfc-tech .mfc-credit-pricing.mfc-price-compact .mfc-section-nav > span { flex-basis: 100%; }
