/* Site-audit standard (shared with the education site): no "hangers" (a second line holding only a word or two), a sans-serif fallback, one-line chips and tables on phones.
   Zero-specificity :where() so any page rule still wins; text-wrap only changes how lines break. Not loaded on the homepage. */
:where(button, input, select, textarea) { font-family: inherit; }
:where(h1, h2, h3, h4, h5, h6, label, summary, figcaption, th, td, li, dt, dd, button, [class*="badge"], [class*="chip"], [class*="pill"], [class*="title"], [class*="note"], [class*="hint"]) { text-wrap: balance; }
:where(p, blockquote) { text-wrap: pretty; }
:where(p[class]) { text-wrap: balance; }
.nb { white-space: nowrap; }
@media (max-width: 640px) {
  table { max-width: 100%; }
  .pr-table-wrap, .pr-cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  th, td { white-space: nowrap; }
}
/* the floating chat button must never cover the last footer links */
footer { padding-bottom: max(4.5rem, env(safe-area-inset-bottom)); }
/* light theme: the gold buttons are dark gold, so their text is white; outline buttons keep the ink colour */
html[data-theme="light"] a.pr-btn, html[data-theme="light"] a.skip { color: #fff; }
html[data-theme="light"] a.pr-btn.pr-btn-alt, html[data-theme="light"] .pro a.pr-btn.pr-btn-alt { color: var(--ink); background: transparent; }
.pr-price { font-variant-numeric: tabular-nums; }
.usd-note { font-size: .85rem; opacity: .85; margin: .4rem 0 0; }
