/* CheapestBookPrice self-hosted fonts (WEB_FONTS in lib/config.js). SIL OFL 1.1, see OFL-NOTICE.txt. Latin subsets. */
@font-face{font-family:"CBP Literata";src:url(/fonts/literata-700.woff2) format("woff2");font-weight:600 800;font-style:normal;font-display:swap}
@font-face{font-family:"CBP Literata";src:url(/fonts/literata-700i.woff2) format("woff2");font-weight:600 800;font-style:italic;font-display:swap}
@font-face{font-family:"CBP DM Sans";src:url(/fonts/dmsans-var.woff2) format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
/* html:root beats site.css :root (loaded later), so these stacks win only when this file is linked. */
/* Size-adjusted fallback faces (17 Nov 2026, CLS fix): while the web fonts load, text is drawn in a local font scaled to the same
   average width and line metrics as Literata 700 / DM Sans 400 (measured with fontTools on this sample text), so the swap barely moves
   anything. One face per local font family because each needs its own numbers: A = Mac/Windows, B = Android/Linux (Noto, Roboto),
   C = older Linux (DejaVu). A face whose local() font isn't installed is skipped. */
@font-face{font-family:"CBP Serif A";src:local("Georgia Bold"),local("Georgia-Bold"),local("Gelasio Bold"),local("Gelasio-Bold");font-weight:700;size-adjust:98.3%;ascent-override:119.8%;descent-override:31.3%;line-gap-override:0%}
@font-face{font-family:"CBP Serif B";src:local("Noto Serif Bold"),local("NotoSerif-Bold");font-weight:700;size-adjust:99.9%;ascent-override:117.9%;descent-override:30.8%;line-gap-override:0%}
@font-face{font-family:"CBP Serif C";src:local("DejaVu Serif Bold"),local("DejaVuSerif-Bold");font-weight:700;size-adjust:89.3%;ascent-override:131.9%;descent-override:34.5%;line-gap-override:0%}
@font-face{font-family:"CBP Sans A";src:local("Arial"),local("ArialMT"),local("Helvetica"),local("Arimo"),local("Arimo-Regular");size-adjust:104.3%;ascent-override:95.2%;descent-override:29.7%;line-gap-override:0%}
@font-face{font-family:"CBP Sans B";src:local("Roboto"),local("Roboto-Regular"),local("Roboto Regular");size-adjust:105.1%;ascent-override:94.4%;descent-override:29.5%;line-gap-override:0%}
@font-face{font-family:"CBP Sans C";src:local("Noto Sans"),local("NotoSans-Regular"),local("Noto Sans Regular");size-adjust:99.3%;ascent-override:99.9%;descent-override:31.2%;line-gap-override:0%}
@font-face{font-family:"CBP Sans D";src:local("DejaVu Sans"),local("DejaVuSans");size-adjust:92.3%;ascent-override:107.5%;descent-override:33.6%;line-gap-override:0%}
html:root{--serif:"CBP Literata","CBP Serif A","CBP Serif B","CBP Serif C",Georgia,serif;--sans:"CBP DM Sans","CBP Sans A","CBP Sans B","CBP Sans C","CBP Sans D",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
