.measurement-preferences {
    padding: 1rem 5%;
    background: var(--paper, #f6f3ee);
    color: var(--ink, #302c30);
}
.measurement-preferences summary { cursor: pointer; }
.measurement-preferences p { max-width: 62ch; }
.statistics-dates, .statistics-totals {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 1rem;
    margin-block: 1.5rem;
}
.statistics-dates label { display: grid; gap: .25rem; }
.statistics-totals div {
    align-self: stretch;
    flex: 1 1 10rem;
    border: 1px solid currentColor;
    padding: 1rem;
}
.statistics-totals dd {
    margin: .25rem 0 0;
    font-size: 1.6rem;
    font-variant-numeric: tabular-nums;
}
.statistics-table { overflow-x: auto; }
.statistics-table table { width: 100%; }
.statistics-table th, .statistics-table td { padding: .6rem; }
.statistics-table td { text-align: center; font-variant-numeric: tabular-nums; }
.statistics-table th:first-child { text-align: left; }
#statistics-legend dt { margin-block-start: .6rem; font-weight: 700; }
#statistics-legend dd { margin-inline-start: 0; }
