/* LangChain SmithDB vs BigQuery Agent Analytics: page styles. Copied from the Foundry Insights vs BQAA
   study pattern. System fonts only; no external assets. Colour is used sparingly: steel blue for links
   and structure. No caveat or status is ever shown as a coloured word, tile, or label; a judgement
   differs from a fact only by its italic lead-in, and UNVERIFIED is plain bold text. */
:root {
  --ink: #1b2129;
  --ink-2: #333d48;
  --muted: #5a6470;
  --faint: #66707b;
  --paper: #ffffff;
  --wash: #f3f5f7;
  --line: #dde2e7;
  --line-2: #c3cbd3;
  --steel: #1f5f8b;
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.7 var(--serif); overflow-wrap: break-word; }
a { color: var(--steel); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
code { font: 0.86em/1.5 var(--mono); overflow-wrap: anywhere; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Skip link */
.skip { position: absolute; left: 12px; top: -120px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; font: 600 15px/1.2 var(--sans); border: 2px solid var(--steel); border-radius: 4px; }
.skip:focus { top: 12px; }

/* Study top bar (sits under the shared site navigation) */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 5vw; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark rect { fill: var(--ink); }
.brand-mark path { fill: none; stroke-width: 3; }
.brand-mark .bm-a { stroke: #91c3e8; }
.brand-mark .bm-cut { stroke: #f2622e; stroke-width: 2.6; }
.brand-name { font-weight: 700; white-space: nowrap; }
.brand-sub { color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line-2); }
.top-actions { font-size: 15px; white-space: nowrap; }
.top-actions a { color: var(--ink); text-decoration: none; }
.top-actions a:hover { text-decoration: underline; }
.source-count { color: var(--muted); margin-left: 4px; }

/* Hero */
.hero { max-width: 1296px; margin: 0 auto; padding: 56px 5vw 44px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 5vw; align-items: end; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0; font: 600 15px/1.4 var(--sans); color: var(--steel); }
h1 { font: 800 clamp(34px, 4.3vw, 56px)/1.06 var(--sans); letter-spacing: -0.03em; margin: 18px 0 22px; max-width: 20ch; }
.deck { font-size: 22px; line-height: 1.45; margin: 0; max-width: 36ch; }
.hero-notes { font-family: var(--sans); max-width: 60ch; }
.hero-notes p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; }
.hero-notes .citation-key { font-size: 15.5px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }
.hero-notes .hero-meta { margin: 0; font-size: 14px; color: var(--muted); }

/* Study layout and contents */
.study-layout { max-width: 1296px; margin: 0 auto; padding: 40px 5vw 0; display: grid; grid-template-columns: 224px minmax(0, 860px); gap: 64px; }
.contents { position: sticky; top: 78px; align-self: start; max-height: calc(100vh - 96px); overflow-y: auto; padding-bottom: 12px; font-family: var(--sans); }
.small-label { margin: 0; font: 700 12.5px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.contents ol { list-style: none; margin: 14px 0 0; padding: 0; }
.contents a { display: flex; gap: 12px; padding: 6px 0; font-size: 14.5px; line-height: 1.35; color: var(--muted); text-decoration: none; }
.contents a:hover { color: var(--ink); text-decoration: underline; }
.toc-num { width: 20px; flex: none; color: var(--faint); font-variant-numeric: tabular-nums; }
.study { min-width: 0; }

/* Chapters */
.chapter { padding: 8px 0 40px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.chapter > p, .chapter > ul, .chapter > ol, .chapter > h3 { max-width: 720px; }
.chapter-number { font: 700 12.5px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin: 0 0 10px; }
h2 { font: 750 clamp(28px, 3.2vw, 40px)/1.15 var(--sans); letter-spacing: -0.02em; margin: 0 0 20px; }
h3 { font: 700 21px/1.3 var(--sans); letter-spacing: -0.01em; margin: 34px 0 10px; }
h2 + h3 { margin-top: 0; }
p { margin: 0 0 16px; }
.judge { font-style: italic; font-weight: 700; }
.chapter ol, .chapter ul { margin: 0 0 18px; padding-left: 1.5em; }
.chapter li { margin: 0 0 12px; padding-left: 0.3em; }
.borrow li::marker { font: 700 0.9em var(--sans); color: var(--steel); }
.gaps li::marker { color: var(--muted); }

/* Plain-terms box: a short, friendly summary at the top of a chapter.
   It only restates points made with citations in the chapter below it. */
.plain-box { max-width: 720px; margin: 0 0 24px; padding: 16px 18px 6px; background: var(--wash); border: 1px solid var(--line); border-radius: 4px; font-family: var(--sans); }
.plain-box .plain-title { margin: 0 0 8px; font: 700 16px/1.35 var(--sans); color: var(--ink); }
.plain-box p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.plain-box ul { margin: 0 0 10px; padding-left: 1.4em; }
.plain-box li { margin: 0 0 6px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.plain-box .plain-note { font-size: 14px; color: var(--muted); }
.hero .plain-box { margin-top: 22px; }

/* New visuals. Every visual is paired in the page with a plain-text list beside it.
   Length, position and the printed word carry the meaning; a colour never does on its own. */
.viz { margin: 6px 0 26px; max-width: 860px; font-family: var(--sans); }
.viz figcaption { padding: 0 0 10px; font: 650 15px/1.45 var(--sans); color: var(--ink-2); }
.viz-text { margin: 12px 0 0; padding-left: 1.5em; font-size: 15px; line-height: 1.6; max-width: 720px; }
.viz-text li { margin: 0 0 8px; }
.viz .viz-note { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 720px; }
/* Which tool fits which job: one row per job. */
.job-fit { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.job-row { display: grid; grid-template-columns: minmax(0, 1.1fr) 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 14px 16px; background: var(--paper); }
.job-row + .job-row { border-top: 1px solid var(--line); }
.job-row:nth-child(even) { background: #f7f9fb; }
.job-name { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.job-name strong { display: block; color: var(--ink); }
.job-arrow { text-align: center; color: var(--steel); font-weight: 700; }
.job-tool { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.job-tool strong { display: block; font-size: 16px; color: var(--ink); }
/* Evidence map: a grid like a heat map, but the word in each cell is the status.
   Border style repeats the word (solid = Documented, dashed = Announced,
   dotted = UNVERIFIED or not documented in the sources reviewed). */
.ev-scroll { overflow-x: auto; max-width: 100%; }
.ev-map { display: grid; grid-template-columns: 150px repeat(3, minmax(150px, 1fr)); gap: 6px; min-width: 680px; font-size: 14px; line-height: 1.45; }
.ev-head, .ev-dim { padding: 9px 10px; font-weight: 700; color: var(--ink); background: var(--wash); border: 1px solid var(--line-2); border-radius: 3px; }
.ev-cell { padding: 9px 10px; color: var(--ink-2); background: var(--paper); border-radius: 3px; }
.ev-cell strong { display: block; color: var(--ink); }
.ev-doc { border: 2px solid var(--ink-2); }
.ev-ann { border: 2px dashed var(--ink-2); }
.ev-unv { border: 2px dotted var(--ink-2); }
/* Simple labelled bars (retention). Bar length plus the printed value both show the size. */
.bars { border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px 6px; background: var(--paper); }
.bar-row { display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 1fr) minmax(110px, auto); gap: 6px 14px; align-items: center; margin: 0 0 12px; }
.bar-label { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.bar-track { background: var(--wash); border: 1px solid var(--line); border-radius: 3px; min-height: 26px; display: flex; align-items: center; }
.bar-fill { display: block; flex: none; min-height: 24px; background: var(--steel); border-radius: 2px 0 0 2px; }
.bar-value { padding: 2px 0; font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bar-row.no-bar .bar-value { padding: 2px 8px; font-weight: 600; }
.bar-row.no-bar .bar-track { background: var(--paper); border-style: dashed; }
/* SmithDB latency chart (numbers are also in the table above it). The chart keeps its
   designed width and scrolls sideways on narrow screens, so its labels stay readable. */
.latency-scroll { overflow-x: auto; max-width: 100%; }
.latency-chart { display: block; width: 100%; min-width: 860px; height: auto; border: 1px solid var(--line); background: var(--paper); }
.latency-chart text { fill: var(--ink); font-family: var(--sans); font-size: 13px; }
.latency-chart .lc-bar { fill: var(--steel); }
.latency-chart .lc-grid { stroke: var(--line); stroke-width: 1; }
.latency-chart .lc-axis { fill: var(--muted); font-size: 12px; font-weight: 600; }
.latency-chart .lc-value { font-weight: 700; font-variant-numeric: tabular-nums; }
@media screen and (max-width: 760px) {
  .job-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .job-arrow { text-align: left; }
  .bar-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .plain-box { padding: 14px 14px 4px; }
}

/* Comparison table: scrolls sideways inside its own focusable region when the column is narrow.
   The border and the hint text make the scroll area easy to spot on a small screen. */
.table-wrap { overflow-x: auto; overflow-y: visible; max-width: 100%; margin: 6px 0 26px; border: 1px solid var(--line); border-radius: 4px; }
.table-hint { margin: 0 0 8px; font: 13.5px/1.5 var(--sans); color: var(--muted); max-width: 720px; }
.compare { width: 100%; min-width: 680px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font: 15px/1.6 var(--sans); }
.compare caption { caption-side: top; text-align: left; padding: 12px 12px 10px; font: 650 15px/1.45 var(--sans); color: var(--ink-2); background: var(--paper); }
.compare .c-dim { width: 18%; }
.compare .c-a { width: 38%; }
.compare .c-b { width: 44%; }
/* Published-latency table: same chrome, narrower numeric columns */
.compare.perf { min-width: 520px; }
.compare.perf .c-w { width: 52%; }
.compare.perf .c-p50 { width: 24%; }
.compare.perf .c-p99 { width: 24%; }
.compare.perf td { font-variant-numeric: tabular-nums; }
/* Code blocks for DDL and SQL recipes */
pre { margin: 0 0 18px; padding: 14px 16px; background: var(--wash); border: 1px solid var(--line); border-radius: 4px; overflow-x: auto; font: 13.5px/1.55 var(--mono); max-width: 720px; }
pre code { overflow-wrap: normal; }
/* Three-way matrix: one dimension column plus three system columns */
.compare.three { min-width: 760px; }
.compare.three .c-dim { width: 19%; }
.compare.three .c-sys { width: 27%; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
/* Zebra rows: a light wash on alternate rows so a long row is easy to follow across.
   The wash never carries meaning by itself; row headings stay in plain bold text. */
.compare tbody tr:nth-child(even) th, .compare tbody tr:nth-child(even) td { background: #f7f9fb; }
.compare thead th { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--ink-2); background: var(--wash); border-bottom: 2px solid var(--line-2); border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 650; color: var(--ink); }
/* Sticky header row. On wide screens the table fits the column, so the header can stick
   to the top of the page (below the site bar). On narrow screens the wrap becomes its
   own scroll box and the header sticks to the top of that box instead. */
@media screen and (min-width: 1024px) {
  /* Tables that fit the column need no sideways scroll, so let the page be the scroll box.
     This only applies once the study column is wider than the table minimum width. */
  .table-wrap:has(> .compare:not(.three):not(.price-estimates)) { overflow: visible; }
}
@media screen and (min-width: 901px) and (max-width: 1023px) {
  /* In this range the study column is not yet wide enough to drop the scroll ancestor,
     so ordinary tables get the same bounded scroll box as the wide tables. */
  .table-wrap:has(> .compare:not(.three):not(.price-estimates)) { overflow: auto; max-height: 85vh; }
  .table-wrap:has(> .compare:not(.three):not(.price-estimates)) .compare thead th { top: 0; }
}
@media screen and (min-width: 901px) {
  /* Wide tables keep their own scroll box; the header sticks inside that box. */
  .table-wrap:has(> .compare.three), .table-wrap:has(> .compare.price-estimates) { overflow: auto; max-height: 85vh; }
  .table-wrap:has(> .compare.three) .compare thead th, .table-wrap:has(> .compare.price-estimates) .compare thead th { top: 0; }
  .compare thead th { position: sticky; top: 76px; z-index: 3; }
  /* Keep the row heading in view when a wide table scrolls sideways. */
  .compare.three tbody th[scope="row"], .compare.price-estimates tbody th[scope="row"] { position: sticky; left: 0; z-index: 2; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
  .compare.three tbody tr:nth-child(even) th[scope="row"], .compare.price-estimates tbody tr:nth-child(even) th[scope="row"] { background: #f7f9fb; }
}
@media screen and (max-width: 900px) {
  .table-wrap { overflow: auto; max-height: 78vh; }
  .compare thead th { position: sticky; top: 0; z-index: 3; }
  .compare caption { position: sticky; left: 0; }
}
.compare .num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Learning visuals: timeline and architecture (text-first; colour never carries meaning alone) */
.figure { margin: 6px 0 26px; max-width: 860px; }
.figure figcaption { padding: 0 0 10px; font: 600 14.5px/1.4 var(--sans); color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0; font-family: var(--sans); border-top: 1px solid var(--line-2); }
.timeline li { display: grid; grid-template-columns: 118px 150px minmax(0, 1fr); gap: 6px 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.timeline time { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline .tl-sys { font-weight: 650; color: var(--steel); }
.arch-scroll { overflow-x: auto; max-width: 100%; }
.arch-svg { width: 100%; min-width: 860px; height: auto; display: block; border: 1px solid var(--line); background: var(--paper); }
.scroll-hint { margin: 8px 0 0; font: 13px/1.5 var(--sans); color: var(--muted); }
.arch-notes { margin: 12px 0 0; padding-left: 1.5em; font-family: var(--sans); font-size: 14.5px; line-height: 1.55; max-width: 720px; }
.arch-notes li { margin: 0 0 8px; }
@media screen and (max-width: 760px) {
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .timeline time { font-size: 13px; }
}

/* Sourcebook */
.chapter .source-list { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.chapter .source-list li { margin: 0; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.chapter .source-list li:last-child { border-bottom: 1px solid var(--line); }
.source-list a { overflow-wrap: anywhere; }

/* Footer */
.footer { max-width: 1296px; margin: 0 auto; padding: 0 5vw 64px; display: grid; grid-template-columns: 224px minmax(0, 860px); gap: 64px; font-family: var(--sans); }
.footer-inner { grid-column: 2; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 8px 18px; }
.footer .brand-mark { width: 36px; height: 36px; }
.footer p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.footer .footer-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.footer a { overflow-wrap: anywhere; }
.back-top { font-size: 14px; white-space: nowrap; }
time { white-space: nowrap; }

/* Responsive */
@media (max-width: 1100px) {
  .study-layout, .footer { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 36px 5vw 32px; gap: 26px; align-items: start; }
  .study-layout { display: block; padding-top: 22px; }
  .contents { position: static; max-height: none; overflow: visible; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
  .contents ol { margin-top: 8px; }
  .contents a { padding: 5px 0; }
  .footer { display: block; }
}
/* Narrow screens: tables stay tables and scroll sideways inside their bounded wrapper.
   Their base minimum widths stay in force, and the header row sticks to the top of the wrapper. */
@media screen and (max-width: 760px) {
  .table-wrap { overflow: auto; max-height: 78vh; }
  .compare { display: table; min-width: 680px; table-layout: fixed; }
  .compare caption { display: table-caption; }
  .compare colgroup { display: table-column-group; }
  .compare thead { display: table-header-group; }
  .compare tbody { display: table-row-group; }
  .compare tr { display: table-row; }
  .compare th, .compare td { display: table-cell; }
  .compare.perf { min-width: 520px; }
  .compare.three { min-width: 760px; }
  .compare.price-units { min-width: 980px; }
  .compare.price-estimates { min-width: 900px; }
  .compare thead th { position: sticky; top: 0; z-index: 3; }
  .compare td::before { content: none; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .topbar { padding: 12px 5vw; }
  .brand-sub { display: none; }
  .deck { font-size: 19px; }
  h3 { font-size: 19px; }
  .footer-inner { grid-template-columns: 36px minmax(0, 1fr); align-items: start; }
  .back-top { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Print: black on white, no navigation chrome, the table kept as a table and fitted to the page */
@media print {
  @page { margin: 16mm 14mm; }
  .skip, .topbar, .contents, .back-top, .brand-mark { display: none !important; }
  html { scroll-padding-top: 0; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.45; }
  a, .eyebrow, .chapter-number, .small-label, .source-count, .hero-notes .citation-key, .hero-notes .hero-meta,
  .compare caption, .compare thead th, .footer p, .footer .footer-title, .borrow li::marker, .gaps li::marker { color: #000; }
  a { text-decoration: underline; }
  .hero { display: block; max-width: none; padding: 0 0 10pt; border-bottom: 1px solid #999; }
  h1 { font-size: 24pt; max-width: none; margin: 6pt 0 10pt; }
  .deck { font-size: 13pt; max-width: none; margin-bottom: 10pt; }
  .hero-notes { max-width: none; }
  .hero-notes p, .hero-notes .citation-key, .hero-notes .hero-meta { font-size: 10pt; }
  .hero-notes .citation-key { border-top-color: #999; }
  .study-layout { display: block; max-width: none; padding: 12pt 0 0; }
  .chapter { padding: 0 0 8pt; margin: 0 0 12pt; border-bottom-color: #999; }
  .chapter > p, .chapter > ul, .chapter > ol, .chapter > h3 { max-width: none; }
  h2 { font-size: 17pt; margin-bottom: 8pt; }
  h3 { font-size: 12.5pt; margin: 12pt 0 4pt; }
  .chapter-number, h2, h3, .compare caption { break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  .table-wrap { overflow: visible; max-height: none; margin-bottom: 12pt; border: 0; }
  .table-hint { display: none; }
  .compare { min-width: 0; font-size: 8.5pt; line-height: 1.4; }
  .compare caption { position: static; padding: 0 0 6pt; }
  .compare thead th, .compare tbody th[scope="row"] { position: static; }
  .compare tbody tr:nth-child(even) th, .compare tbody tr:nth-child(even) td { background: none; }
  .plain-box { background: none; border: 0.75pt solid #999; padding: 6pt 8pt 2pt; max-width: none; }
  .plain-box p, .plain-box li { font-size: 9pt; color: #000; }
  .viz { max-width: none; break-inside: avoid; page-break-inside: avoid; }
  .viz figcaption, .viz-text, .viz .viz-note { font-size: 8.5pt; color: #000; }
  .job-row:nth-child(even) { background: none; }
  .ev-scroll { overflow: visible; }
  .ev-map { min-width: 0; font-size: 8pt; }
  .latency-scroll { overflow: visible; }
  .latency-chart { border-color: #999; min-width: 0; }
  .compare.three { min-width: 0; }
  .compare thead { display: table-header-group; }
  .compare thead th { background: none; }
  .compare th, .compare td { padding: 4pt 5pt; border-bottom: 0.75pt solid #999; }
  .compare tr { break-inside: avoid; page-break-inside: avoid; }
  .figure { max-width: none; margin-bottom: 12pt; }
  .figure figcaption { font-size: 9pt; color: #000; }
  .timeline li { grid-template-columns: 70pt 90pt minmax(0, 1fr); font-size: 8.5pt; padding: 3pt 0; }
  .timeline .tl-sys { color: #000; }
  .arch-scroll { overflow: visible; }
  .arch-svg { min-width: 0; border-color: #999; }
  .scroll-hint { display: none; }
  .arch-notes { font-size: 8.5pt; max-width: none; }
  .chapter .source-list li { padding: 3pt 0; font-size: 9pt; border-color: #bbb; }
  .footer { display: block; max-width: none; padding: 8pt 0 0; }
  .footer-inner { display: block; }
}

.compare.price-units { min-width: 980px; }
.compare.price-estimates { min-width: 900px; }
.compare.price-estimates .c-volume { width: 12%; }
.compare.price-estimates .c-ingest { width: 18%; }
.compare.price-estimates .c-cost { width: 23.333%; }
.price-chart-figure { margin-top: 8px; overflow-x: auto; }
.price-chart { display: block; width: 100%; min-width: 640px; height: 540px; border: 1px solid var(--line); background: var(--paper); }
.price-chart text { fill: var(--ink); font-family: var(--sans); font-size: 13px; }
.price-chart .chart-grid-lines line { stroke: var(--line); stroke-width: 1; }
.price-chart .chart-axis { fill: var(--muted); font-size: 12px; font-weight: 600; }
.price-chart .chart-heading { font-size: 14px; font-weight: 700; }
.price-chart .chart-label { font-weight: 600; }
.price-chart .chart-value { text-anchor: end; font-variant-numeric: tabular-nums; }
.price-chart .chart-ticks text { fill: var(--muted); text-anchor: middle; font-size: 12px; }
.price-chart .bar-ls { fill: #1f5f8b; }
.price-chart .bar-obs { fill: #66707b; }
.price-chart .bar-bq { fill: #91c3e8; stroke: #1f5f8b; stroke-width: 1; }

/* Price tables keep their base minimum widths on phones and scroll sideways in their wrapper. */
@media (max-width: 700px) {
  .price-chart text { font-size: 12px; }
  .price-chart .chart-heading { font-size: 12px; }
  .price-chart .chart-axis { font-size: 11px; }
  .price-chart .chart-ticks text { font-size: 10px; }
}
@media print {
  .compare.price-units, .compare.price-estimates { min-width: 0; }
  .price-chart-figure { break-inside: avoid; page-break-inside: avoid; overflow: visible; }
  .price-chart { border-color: #999; min-width: 0; }
  .price-chart text, .price-chart .chart-axis, .price-chart .chart-ticks text { fill: #000; }
  .price-chart .chart-grid-lines line { stroke: #bbb; }
  .price-chart .bar-ls { fill: #1f5f8b; }
  .price-chart .bar-obs { fill: #66707b; }
  .price-chart .bar-bq { fill: #cce6f5; stroke: #1b2129; }
}
