
:is(#crime-2026-jan-sep, #crime-data-topics) { scroll-margin-block-start: 6rem; }
.national-period figure { margin-inline: 0; }
.national-period-plot { margin-block: .6rem 0; max-width: 42rem; }
.national-period-plot dt { font-weight: 700; margin-block-start: .6rem; }
.national-period-plot dd {
  display: grid;
  grid-template-columns: 4.3em minmax(0, 1fr) minmax(0, 1fr) 6.75ch;
  align-items: center;
  gap: .25em;
  margin: .22em 0;
}
.national-period-plot progress { display: block; width: 100%; height: .65em; accent-color: #146c65; }
.national-period-plot .down { direction: rtl; accent-color: #97472a; }
.national-period-plot progress[value="0"] { visibility: hidden; }
.national-period-plot dd > span:nth-child(2) { border-inline-end: 1px solid #758c8b; padding-inline-end: .13em; }
.national-period-plot strong { text-align: end; font-variant-numeric: tabular-nums; }
.national-period th { white-space: normal; }
.national-period th:first-child { position: static; white-space: nowrap; }
.national-period td { white-space: nowrap; }
.national-period summary { cursor: pointer; }
@media (max-width: 860px) {
  html:has(.national-period, #current-national-crime) .site-header { position: static; }
  :is(#crime-2026-jan-sep, #crime-data-topics) { scroll-margin-block-start: 1rem; }
}
@media (max-width: 640px) {
  html:has(.national-period) :is(.statline, .statline > div) { padding-inline: min(.8rem, 2.5vw); }
  html:has(.national-period) .statline strong { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .national-period-plot dd { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .national-period-plot strong { grid-column: 2; grid-row: 1; }
  .national-period-plot dd > span:nth-child(2) { grid-column: 1; grid-row: 2; }
  .national-period-plot dd > span:nth-child(3) { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.national-period, #current-national-crime) { scroll-behavior: auto; }
}
