:root {
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  color: #173d37;
  background: #f6f7f2;
  --ink: #153e37;
  --muted: #52645c;
  --line: #d8dfd4;
  --green: #185746;
  --accent: #d4ed96;
  --paper: #fff;
  --serif: "Baskervville", "Iowan Old Style", Baskerville, Georgia, serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.45;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #327cba;
  outline-offset: 3px;
}
button {
  border: 0;
  color: inherit;
}
a:hover {
  text-decoration-thickness: 2px;
}
.shell {
  width: min(1350px, 100%);
  padding: 0 clamp(18px, 4.5vw, 72px);
  margin: 0 auto;
}
.site-head {
  background: #fcfdf9;
  border-bottom: 1px solid var(--line);
}
.head-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 740;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand-ca {
  font-size: 17px;
  color: #607267;
  letter-spacing: -0.8px;
  align-self: center;
}
.brand-mark {
  position: relative;
  display: inline-block;
  isolation: isolate;
  width: 32px;
  height: 35px;
  background: var(--ink);
  clip-path: polygon(
    50% 0,
    97% 17%,
    92% 58%,
    78% 81%,
    50% 100%,
    22% 81%,
    8% 58%,
    3% 17%
  );
  margin-right: 8px;
}
.brand-mark i {
  position: absolute;
  width: 4px;
  background: var(--accent);
  transform: skewY(-27deg);
  border-radius: 1px;
}
.brand-mark i:nth-child(1) {
  left: 8px;
  top: 15px;
  height: 8px;
}
.brand-mark i:nth-child(2) {
  left: 14px;
  top: 11px;
  height: 13px;
}
.brand-mark i:nth-child(3) {
  left: 20px;
  top: 9px;
  height: 9px;
}
nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 27px;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.nav-current {
  align-content: center;
  height: 100%;
  border-bottom: 2px solid var(--green);
}
.nav-scan {
  color: var(--green);
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 308px;
  align-items: end;
  gap: 30px;
  padding: clamp(30px, 4vw, 54px) 0 clamp(26px, 3.1vw, 42px);
}
h1,
h2,
h3,
p {
  margin: 0;
}
.locality,
.field-title,
legend {
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #52685d;
}
.locality {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #526d5a;
  margin-bottom: 9px;
}
.pin {
  height: 11px;
  width: 11px;
  border: 2px solid #34735c;
  border-radius: 50% 50% 0 50%;
  transform: rotate(45deg);
  display: inline-block;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(39px, 4.4vw, 66px);
  letter-spacing: -0.055em;
  line-height: 1.03;
  margin-bottom: 12px;
}
.lead {
  font-size: clamp(15px, 1.36vw, 19px);
  color: #4b6257;
}
.search-card {
  padding: 0 0 1px;
}
.search-card > label {
  font-weight: 650;
  font-size: 13px;
}
.search-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.search-row input {
  min-width: 0;
  width: 100%;
  height: 40px;
  border: 1px solid #b7c7ba;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  padding: 0 12px;
}
.search-button {
  color: white;
  background: var(--green);
  border-radius: 5px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.search-button:hover,
.nav-scan:hover {
  filter: brightness(0.9);
}
.small,
.preset {
  font-size: 12px;
  color: var(--muted);
}
.search-card .small {
  margin-top: 6px;
}
.preset,
.text-button {
  padding: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-error {
  color: #973923;
  font-size: 13px;
  margin-top: 5px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 17px;
  align-items: stretch;
}
.map-card,
.filter-card,
.status-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  gap: 12px;
}
.area-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.area-code {
  font-weight: 770;
  color: #255143;
  background: #e8efdf;
  border-radius: 4px;
  padding: 6px 8px;
  letter-spacing: 0.055em;
  font-size: 15px;
}
.area-title h2 {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.radius-text {
  color: var(--muted);
  font-size: 12px;
}
.view-tabs {
  display: flex;
  background: #f0f3ec;
  border: 1px solid #dce3d7;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.view-tabs button {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 9px;
  color: var(--muted);
  border-radius: 4px;
  background: transparent;
}
.view-tabs [aria-pressed="true"] {
  box-shadow: 0 1px 3px #193a3020;
  background: #fff;
  color: var(--ink);
}
.view-tabs button span {
  font-size: 15px;
  line-height: 1;
}
.mobile-coverage {
  display: none;
}
@media (max-width: 740px) {
  .mobile-coverage {
    display: block;
    padding: 5px 12px;
    background: #edf2e8;
    color: #365c48;
    font-size: 12px;
    text-underline-offset: 2px;
  }
}
.map-wrap {
  position: relative;
  border-block: 1px solid var(--line);
}
#map {
  isolation: isolate;
  z-index: 0;
  width: 100%;
  height: clamp(325px, 40.5vh, 530px);
  min-height: 335px;
  background: #e7ecdf;
}
.north {
  z-index: 1;
  position: absolute;
  top: 12px;
  right: 13px;
  display: grid;
  justify-items: center;
  color: #183f39;
  background: #ffffffdf;
  font-weight: 750;
  font-size: 10px;
  border: 1px solid #cbd4c7;
  border-radius: 4px;
  padding: 4px 7px;
  pointer-events: none;
}
.north i {
  width: 9px;
  height: 15px;
  background: linear-gradient(90deg, #29483d 50%, #92a099 50%);
  clip-path: polygon(50% 0, 100% 100%, 50% 74%, 0 100%);
}
.leaflet-container {
  font-family: inherit;
}
.leaflet-control-zoom.leaflet-bar {
  border: 1px solid #b8c5b7;
  box-shadow: 0 2px 6px #223d3214;
}
.leaflet-bar a {
  color: var(--ink);
}
.leaflet-control-scale-line {
  font-size: 10px;
  background: #ffffffce;
  border-color: #496856;
}
.leaflet-container .leaflet-control-attribution {
  background: #fffffff2;
  color: #334e45;
  font-size: 10px;
}
.leaflet-control-attribution a {
  color: var(--green);
}
.map-tools {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 44px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--muted);
}
.map-tools label {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-left: auto;
}
.map-tools select {
  font-size: 12px;
  padding: 3px;
  border: 0;
  background: none;
  color: var(--ink);
  max-width: 120px;
}
.map-tools .text-button {
  font-size: 12px;
  white-space: nowrap;
  color: var(--ink);
}
.radius-key {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.radius-key i {
  width: 14px;
  height: 14px;
  border: 1.5px dashed #36765c;
  background: #d4ebc1;
  border-radius: 50%;
}
.map-message {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  background: #fffce9;
  color: #5b4c22;
  border: 1px solid #e2d7aa;
  border-radius: 5px;
  padding: 5px 10px;
  z-index: 2;
  font-size: 12px;
  max-width: 60%;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.filter-card {
  padding: 18px;
}
.filter-card h2 {
  font-size: 19px;
  letter-spacing: -0.035em;
  line-height: 1.18;
  margin-bottom: 15px;
}
.field-title,
legend {
  display: block;
  margin-bottom: 5px;
}
.days {
  width: 100%;
  border: 1px solid #c8d4c9;
  border-radius: 4px;
  padding: 7px 10px;
  background: #fbfcf8;
  color: var(--ink);
  font-size: 14px;
}
.filter-card fieldset {
  margin: 14px 0 0;
  border: 0;
  padding: 0;
}
.filter-card legend {
  padding: 0;
}
.category {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 550;
  padding: 7px 0;
  border-bottom: 1px solid #edf0e9;
}
.category:last-child {
  border: 0;
  padding-bottom: 0;
}
.category input {
  margin-left: auto;
  accent-color: #246349;
  width: 17px;
  height: 17px;
}
.cat-symbol {
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}
.auto_theft {
  background: #ae502b;
  border-radius: 50%;
}
.break_enter {
  background: #594c90;
  border-radius: 1px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  margin: 1px;
}
.theft_from_vehicle {
  background: #27777d;
  border-radius: 1px;
}
.status-card {
  padding: 16px 18px;
  background: #edf2e6;
  flex: 1;
  border-color: #d7e0ce;
}
.status-card h2 {
  font-size: 17px;
  letter-spacing: -0.025em;
  line-height: 1.26;
  margin: 4px 0;
}
.status-card p:not(.field-title) {
  font-size: 13px;
  line-height: 1.45;
  color: #4b5f50;
}
.status-card #freshness {
  font-size: 11px;
  margin-top: 5px;
}
.example {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
  margin-top: 7px;
  text-underline-offset: 2px;
}
.scan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: #164d40;
  border-radius: 7px;
  margin-top: 18px;
  color: #f9fbf3;
}
.scan-card h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 37px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.scan-card p {
  color: #d4e4d6;
  font-size: 14px;
  margin-top: 4px;
}
.scan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--accent);
  color: #183c2a;
  text-decoration: none;
  padding: 12px 17px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
}
.scan-button:hover {
  background: #e4f7bd;
}
.sources {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 22px 0 30px;
  color: #52645a;
}
.sources > div {
  max-width: 780px;
}
.sources strong {
  font-size: 12px;
  color: var(--ink);
}
.sources p {
  font-size: 11px;
  margin-top: 3px;
  line-height: 1.5;
}
.sources a {
  text-underline-offset: 2px;
}
.official {
  font-size: 13px;
  font-weight: 630;
  color: var(--green);
  white-space: nowrap;
  align-self: flex-start;
}
.list-panel {
  height: calc(clamp(325px, 40.5vh, 530px) + 46px);
  min-height: 381px;
  overflow: auto;
  padding: 20px;
  border-top: 1px solid var(--line);
}
.list-panel h3 {
  font-size: 17px;
}
.list-panel .small {
  margin-top: 4px;
}
.list-panel ul {
  padding: 0;
  margin: 15px 0 0;
  list-style: none;
}
.list-panel li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.list-panel time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}
.centre-marker {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #285e4c;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #476e57;
}
.incident-icon {
  display: grid;
  place-items: center;
}
.incident-icon i {
  width: 13px;
  height: 13px;
  box-shadow:
    0 0 0 2px white,
    0 1px 5px 2px #18352744;
}
.demo-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff5d9;
  border: 1px solid #e0c578;
  color: #51421d;
  border-radius: 6px;
  padding: 10px 15px;
  margin-bottom: 13px;
  font-size: 13px;
}
.demo-banner a {
  margin-left: auto;
}
.skip,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  left: 12px;
  top: 8px;
  z-index: 1000;
  background: white;
  padding: 5px;
}
.text-button {
  font-size: inherit;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  #map {
    height: 460px;
  }
  .list-panel {
    height: 506px;
  }
}
@media (max-width: 1000px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 12px;
  }
  .intro {
    grid-template-columns: minmax(0, 1fr) 258px;
    gap: 17px;
  }
  .map-tools {
    gap: 9px;
    padding: 7px 10px;
  }
  .filter-card,
  .status-card {
    padding: 14px;
  }
  .sources {
    gap: 12px;
  }
  .official {
    white-space: normal;
  }
}
@media (max-width: 760px) {
  .head-inner {
    height: 59px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-mark {
    width: 27px;
    height: 30px;
  }
  .brand-mark i:nth-child(1) {
    left: 6px;
  }
  .brand-mark i:nth-child(2) {
    left: 12px;
  }
  .brand-mark i:nth-child(3) {
    left: 18px;
  }
  nav {
    gap: 14px;
  }
  nav a {
    font-size: 12px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0 19px;
  }
  h1 {
    font-size: clamp(38px, 8vw, 52px);
  }
  .search-row {
    max-width: 460px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
  }
  .side {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: stretch;
    text-align: left;
  }
  .map-header {
    padding: 10px 12px;
  }
  #map {
    min-height: 292px;
    height: 38vh;
    max-height: 365px;
  }
  .list-panel {
    height: calc(38vh + 46px);
    min-height: 338px;
  }
  .scan-card {
    flex-wrap: wrap;
    gap: 12px;
    padding: 17px;
  }
  .sources {
    display: block;
  }
  .official {
    display: inline-block;
    margin-top: 11px;
  }
  .demo-banner {
    align-items: start;
    flex-wrap: wrap;
    gap: 3px 10px;
  }
  .demo-banner a {
    margin-left: 0;
  }
  .field-title,
  legend {
    font-size: 10px;
  }
}
@media (max-width: 445px) {
  .shell {
    padding-inline: 14px;
  }
  .side {
    display: flex;
  }
  .filter-card {
    padding: 13px;
  }
  .filter-card h2 {
    margin-bottom: 10px;
  }
  .filter-card fieldset {
    margin-top: 10px;
  }
  .status-card {
    padding: 13px;
  }
  .nav-current {
    display: none;
  }
  .scan-button {
    width: 100%;
    justify-content: space-between;
  }
  .map-tools {
    font-size: 11px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .map-tools label {
    font-size: 0;
  }
  .map-tools select {
    font-size: 11px;
    max-width: 108px;
  }
  .area-title h2 {
    font-size: 15px;
  }
  .demo-banner {
    font-size: 12px;
  }
}
.extent-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 17px 10px;
  flex-wrap: wrap;
}
.extent-controls button {
  padding: 5px 11px;
  border: 1px solid #ced9cb;
  background: #fff;
  color: #355444;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
}
.extent-controls button[aria-pressed="true"] {
  border-color: #35684e;
  background: #e6eedf;
  color: #204b37;
}
#period-control,
#basis-control {
  margin-bottom: 12px;
}
.category-counts {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  margin: 10px 0;
  padding: 6px 0;
  border-block: 1px solid #cbd7c4;
}
.category-counts dt,
.category-counts dd {
  margin: 0;
  padding: 3px 0;
  font-size: 12px;
}
.category-counts dt {
  display: flex;
  align-items: center;
  gap: 7px;
}
.category-counts dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.source-line {
  display: block;
  margin-top: 3px;
}
.status-card .example {
  display: block;
  width: fit-content;
}
.annual-card {
  margin-top: 18px;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  scroll-margin: 18px;
}
.annual-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: end;
  gap: 16px;
}
.annual-heading h2 {
  font: 500 clamp(26px, 2.6vw, 36px)/1.1 var(--serif);
  letter-spacing: -.035em;
}
.annual-heading p, .annual-note, .annual-status {
  color: var(--muted);
  font-size: 13px;
}
.annual-heading p { margin-top: 6px; }
.annual-search-label { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.annual-search-label label { font-weight: 650; }
.annual-status:not(:empty), #annual-detail { margin-top: 18px; }
.annual-pages { display: flex; gap: 18px; margin-top: 10px; }
.annual-pages button { font-size: 13px; color: var(--green); }
.annual-pages button:disabled { opacity: .55; }
#annual-options { list-style: none; margin: 8px 0 0; padding: 0; max-height: 18em; overflow: auto; }
#annual-options a { display: block; padding: 7px 4px; color: var(--green); text-underline-offset: 3px; font-size: 14px; }
#annual-options a:focus-visible { outline-offset: -3px; }
#annual-area { font-size: 18px; }
.annual-note { margin-top: 5px; }
.annual-table-wrap { overflow-x: auto; }
#annual-table {
  border-collapse: collapse;
  width: 100%;
  margin: 12px 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
#annual-table th, #annual-table td {
  padding: 9px 7px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  vertical-align: top;
}
#annual-table th:first-child { text-align: left; }
#annual-table thead { color: var(--muted); font-size: 12px; }
#annual-table tbody th { font-weight: 550; }
#annual-sources a { text-underline-offset: 2px; }
@media (max-width: 700px) {
  .annual-heading { grid-template-columns: 1fr; }
  #annual-table th, #annual-table td { padding: 7px 3px; font-size: 12px; }
}
.cluster-marker {
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  background: #1b5947e8;
  color: white;
  border: 2px solid #fcfff2;
  box-shadow: 0 0 0 3px #4e825c75;
  font: 700 12px/1 system-ui;
  font-variant-numeric: tabular-nums;
}
.group-key {
  background: #1b5947 !important;
  border: 1px solid white !important;
  box-shadow: 0 0 0 1px #53866c;
}
.auto_theft {
  background: #b53531;
}
.break_enter {
  background: #c05b16;
}
.theft_from_vehicle {
  background: #dba91b;
  outline: 1px solid #8a6915;
  outline-offset: -1px;
}
@media (max-width: 760px) {
  .extent-controls {
    padding: 0 12px 9px;
  }
}
