.fm-stats-page { padding-bottom: 0; }
.fm-stats-page main { padding: 16px 0 32px; }
.fm-stats-back { display: inline-flex; align-items: center; min-height: 44px; }
.fm-stats-lead { max-width: 44rem; color: var(--fm-ink-2); }
.fm-stats-filter { margin: 24px 0; max-width: 32rem; }
.fm-stats-filter label { display: block; font-weight: 700; margin-bottom: 8px; }
.fm-stats-filter select { width: 100%; min-height: 48px; border: 1px solid var(--fm-line-strong); border-radius: var(--fm-r-sm); background: var(--fm-surface); color: var(--fm-ink); font: inherit; padding: 10px 38px 10px 12px; }
.fm-stats-context { margin: 0 0 12px; color: var(--fm-ink-2); }
.fm-stats-totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; }
.fm-stats-totals > div { padding: 16px; border: 1px solid var(--fm-line); border-radius: var(--fm-r-md); background: var(--fm-surface); }
.fm-stats-totals > .fm-stats-total { grid-column: 1/-1; background: var(--fm-verify-bg); border-color: var(--fm-verify-ink); }
.fm-stats-totals dt { font-size: .9rem; color: var(--fm-ink-2); }
.fm-stats-totals dd { margin: 4px 0 0; font-size: 1.8rem; font-weight: 750; font-variant-numeric: tabular-nums; line-height: 1.25; }
.fm-stats-total dd { font-size: 2.65rem; color: var(--fm-verify-ink); }
.fm-stats-note { font-size: .875rem; color: var(--fm-ink-2); }
.fm-stats-method { margin: 20px 0 28px; border-block: 1px solid var(--fm-line); }
.fm-stats-method summary { padding: 14px 0; cursor: pointer; min-height: 48px; font-weight: 700; }
.fm-stats-method ul { padding-left: 1.4rem; font-size: .9rem; }
.fm-stats-method li { margin: 9px 0; }
.fm-stats-meta { font-size: .85rem; color: var(--fm-ink-2); }
.fm-stats-meta > div { margin: 12px 0; }
.fm-stats-meta dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.fm-stats-pref-title { margin-top: 28px; }
.fm-stats-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fm-stats-table th, .fm-stats-table td { padding: 12px 6px; border-bottom: 1px solid var(--fm-line); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fm-stats-table th:first-child { width: 30%; text-align: left; }
.fm-stats-table caption { text-align: left; padding-bottom: 10px; font-size: .85rem; color: var(--fm-ink-2); }
.fm-stats-table thead { background: var(--fm-bg-sunk); }
.fm-stats-table tbody th { font-weight: 500; }
.fm-stats-table a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fm-link); text-decoration: underline; text-underline-offset: 3px; }
.fm-stats-table-wrap { max-width: 100%; overflow-x: auto; }
.fm-stats-table { min-width: 34rem; }
.fm-stats-page :focus-visible { outline: 3px solid var(--fm-focus); outline-offset: 3px; }
@media (min-width: 650px) {
  .fm-stats-totals { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .fm-stats-totals dd { font-size: 2.65rem; }
  .fm-stats-table th, .fm-stats-table td { padding: 13px 16px; }
}
