/* Footprint estimator page only. Everything else comes from site.css. */
.estimator__group { display: grid; gap: var(--space-5); }
.estimator__group > * { margin-top: 0; }
.estimator__group > legend { margin-bottom: var(--space-4); }

/* Plant-food slider in muted sage, matching the chart color for plant food */
.range-field--plant input[type="range"]::-webkit-slider-thumb { background: var(--turmeric); box-shadow: 0 0 0 1.5px var(--turmeric); }
.range-field--plant input[type="range"]::-moz-range-thumb { background: var(--turmeric); box-shadow: 0 0 0 1.5px var(--turmeric); }
.range-field--plant input[type="range"]::-moz-range-progress { background: var(--turmeric); }
.range-field--plant input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--turmeric), 0 0 0 6px var(--turmeric-wash); }
.range-field--plant input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--turmeric), 0 0 0 6px var(--turmeric-wash); }
.range-field--animal input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1.5px var(--beet), 0 0 0 6px var(--beet-wash); }
.range-field--animal input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 1.5px var(--beet), 0 0 0 6px var(--beet-wash); }

.footprint-result { display: grid; gap: var(--space-5); min-width: 0; }
.footprint-result > * { margin-top: 0; }
.footprint-sentences { max-width: var(--measure); }
.footprint-sentences > p:first-child { font-size: var(--step-1); line-height: 1.4; color: var(--ink); }
.footprint-sentences > * + * { margin-top: var(--space-2); }
.footprint-sentences > p + p, .footprint-energy { color: var(--ink-2); }
.footprint-energy:empty, .footprint-sentences:empty { display: none; }

/* Flat paper results; the labels and values identify the colored series. */
.estimator .form-panel { background: var(--surface-2); border-radius: var(--radius-m); box-shadow: none; }
.footprint-result .chart { background: var(--surface); border-radius: var(--radius-m); box-shadow: none; }
.estimator input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--line-strong); }
.estimator input[type="range"]::-moz-range-track,
.estimator input[type="range"]::-moz-range-progress { height: 4px; }
.estimator input[type="range"]::-webkit-slider-thumb { margin-top: calc(2px - 0.75rem); }
.estimator__group, .footprint-result > *, .estimator .field > * { min-width: 0; }
@media (max-width: 39.99rem) {
  .estimator .compare__sides { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
}
