.price-filter { display: block; margin: 1rem 0; }
.price-filter input { margin-left: 0.5rem; padding: 0.3rem 0.5rem; min-width: 18rem; font: inherit; }
.prose table { font-size: 0.92rem; }
.prose table td { white-space: nowrap; }
.prose table th { white-space: normal; vertical-align: bottom; }
/* Model names, providers, long-prompt tiers, and dating sources wrap, so every price
   column stays in view; prices and dates keep to one line. */
.prose table td:first-child { white-space: normal; overflow-wrap: anywhere; min-width: 11rem; }
.prose table td:nth-child(2) { white-space: normal; }
.prose table td:nth-child(6), .prose table td:nth-child(7) { white-space: normal; }
.prose table { display: block; overflow-x: auto; }
.calculator fieldset { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.75rem 1.25rem; margin: 1rem 0; padding: 1rem; border: 1px solid var(--border, #8884); border-radius: 0.4rem; }
.calculator legend { padding: 0 0.4rem; font-weight: 600; }
.calculator label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.calculator label[hidden], .calculator fieldset[hidden] { display: none; }
.calculator input, .calculator select { font: inherit; padding: 0.3rem 0.4rem; }
#result table { margin-top: 1rem; }
#result .total { font-size: 1.3rem; font-weight: 600; margin: 1rem 0 0.5rem; }
#result td.number { text-align: right; font-variant-numeric: tabular-nums; }
.directory { display: none; }
.report { margin-top: 2rem; font-size: 0.9rem; }
.wrapping table td { white-space: normal; overflow-wrap: anywhere; min-width: 8rem; }
/* Tighter vertical rhythm than the theme's: less space above section headings and after
   paragraphs, and heading lines set close. */
.prose h1, .prose h2, .prose h3, article > h1 { line-height: 1.2; }
article > h1 { margin: 0 0 0.5em; }
.content { padding-top: 1.5rem; }
.breadcrumbs + h1 { margin-top: 0.3em; }
.prose h2 { margin: 1.5em 0 0.4em; }
.prose h3 { margin: 1.2em 0 0.3em; }
.prose p, .prose ul, .prose ol { margin: 0 0 0.7em; }
.prose li + li { margin-top: 0.15em; }
.prose table { margin-bottom: 1em; }
/* Links to the package, source, and data above the sidebar groups, and in the narrow-screen menu. */
.site-links { margin: 0 0 1.1rem; padding: 0 0 0.9rem; list-style: none; border-bottom: 1px solid var(--docs-border); }
.site-links li + li { margin-top: 0.25rem; }
.site-links a { font-weight: 600; }
.navigation-dialog .site-links { margin-top: 1rem; }
.bench-chart { width: 100%; height: auto; font-family: inherit; }
.bench-api { fill: Canvas; stroke-width: 1.5; }
.bench-link { fill: none; stroke-width: 1.5; opacity: 0.85; }
.bench-grid { stroke: #8886; stroke-width: 1; stroke-dasharray: 2 3; }
.bench-tick, .bench-label { font-size: 12.5px; fill: currentColor; }
.bench-axis { font-size: 12.5px; fill: currentColor; }
.bench-title { font-size: 13px; font-weight: 600; fill: currentColor; }
.bench-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-weight: 600; margin: 1rem 0 0.25rem; }
.bench-head select { font: inherit; font-weight: 400; padding: 0.15rem 0.3rem; }
.bench-scale { margin-left: auto; display: inline-flex; }
.bench-scale button { font: inherit; font-weight: 400; padding: 0.15rem 0.6rem; border: 1px solid #8886; background: none; color: inherit; cursor: pointer; }
.bench-scale button.active { background: #222; color: #fff; }
.bench-tag { font-size: 12.5px; fill: #fff; }
.bench-legend { font-size: 0.8rem; opacity: 0.8; margin-bottom: 0.75rem; }
.bench-plans { display: grid; gap: 0.4rem; margin: 0.5rem 0 1rem; padding: 0.75rem; border: 1px solid #8884; border-radius: 0.4rem; }
.bench-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; font-size: 0.92rem; }
.bench-plan select, .bench-plan input { font: inherit; padding: 0.15rem 0.3rem; margin-left: 0.3rem; }
.bench-plan input { width: 5.5rem; }
.bench-plan-note { opacity: 0.7; font-size: 0.85rem; }
