/* Recent reports layer — scoped so it can sit beside the existing map styles. */
.reports-ui {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #1c2420;
  font-size: 13px;
  line-height: 1.45;
}
.reports-ui-head { margin: 0 0 8px; }
.reports-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}
.reports-swatch,
.reports-ui .reports-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9a227;
  box-shadow: 0 0 0 2px #c9a22744;
  flex: 0 0 auto;
}
.reports-filter {
  border: 1px solid rgba(28, 36, 32, 0.14);
  border-radius: 6px;
  margin: 0 0 10px;
  padding: 6px 8px 8px;
}
.reports-filter legend {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 4px;
  color: #3d4a44;
}
.reports-filter-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.reports-filter-opts label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  cursor: pointer;
}
.reports-list {
  max-height: 220px;
  overflow: auto;
  margin: 0 0 12px;
  padding-right: 2px;
}
.reports-empty { margin: 0; color: #3d4a44; font-size: 12px; }
.reports-card {
  background: #fffdf7;
  border: 1px solid rgba(28, 36, 32, 0.14);
  border-radius: 6px;
  padding: 8px 9px 7px;
  margin: 0 0 8px;
}
.reports-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.reports-card-top time { font-size: 11px; color: #3d4a44; }
.reports-type {
  display: inline-block;
  color: #f4efe4;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
}
.reports-card h3 {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 0.95rem;
  margin: 0 0 4px;
  font-weight: 600;
  line-height: 1.25;
}
.reports-card p { margin: 0 0 6px; font-size: 12.5px; }
.reports-card-meta { font-size: 11px; color: #3d4a44; margin: 0 0 4px; }
.reports-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
  font-size: 11px;
  color: #3d4a44;
}
.reports-original { font-weight: 600; white-space: nowrap; }
.reports-trends h3 {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1rem;
  margin: 0 0 4px;
}
.reports-fine { font-size: 11px; color: #3d4a44; margin: 0 0 6px; }
.reports-chart {
  display: block;
  width: 100%;
  height: auto;
  background: #fffdf7;
  border: 1px solid rgba(28, 36, 32, 0.14);
  border-radius: 6px;
  margin: 0 0 8px;
}
.reports-submit {
  font-size: 12px;
  margin: 8px 0 6px;
  padding: 8px;
  background: rgba(27, 79, 94, 0.06);
  border-radius: 6px;
}
.reports-credit { margin-bottom: 0; }

/* Map pins */
.reports-divicon { background: none; border: 0; }
.reports-pin {
  display: block;
  width: 18px;
  height: 18px;
  margin: 2px;
  border-radius: 50%;
  background: var(--pin, #1b4f5e);
  border: 2px solid #f4efe4;
  box-shadow: 0 1px 4px rgba(18, 32, 28, 0.35);
  box-sizing: border-box;
  position: relative;
}
.reports-pin-count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4efe4;
  font: 700 10px/1 "Segoe UI", system-ui, sans-serif;
}
.reports-leaflet-popup .leaflet-popup-content { margin: 10px 12px; }
.reports-popup { max-height: 320px; overflow: auto; }
.reports-popup-title {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.reports-control {
  width: min(300px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: rgba(244, 239, 228, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(28, 36, 32, 0.14);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(18, 32, 28, 0.12);
  padding: 10px;
  border-radius: 8px !important;
}
