:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #17202a;
  background: #f3f5f7;
}
* { box-sizing: border-box; }
body { margin: 0; }
.topbar {
  background: white;
  padding: 20px clamp(16px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #dfe4e8;
  position: sticky;
  top: 0;
  z-index: 10;
}
h1, h2, p { margin-top: 0; }
.topbar h1 { margin-bottom: 4px; font-size: clamp(24px, 4vw, 34px); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo-banner { width: min(90vw, 460px); height: auto; display: block; }
.subtitle { margin-bottom: 0; color: #667; }
.live { text-align: right; font-weight: 700; }
.live span {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #198754;
  margin-right: 5px;
}
.live small { color: #667; font-weight: 400; }
main { width: min(980px, calc(100% - 28px)); margin: 24px auto 60px; }
.search input {
  width: 100%;
  border: 1px solid #cbd3da;
  border-radius: 12px;
  padding: 16px;
  font-size: 17px;
  background: white;
}
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0;
}
.tabs button, .actions button {
  border: 1px solid #cbd3da;
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.tabs button.active { background: #17202a; color: white; }
.summary {
  background: white;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.summary div { display: flex; gap: 14px; flex-wrap: wrap; }
.cards { display: grid; gap: 14px; }
.card, .detail-card {
  background: white;
  border-radius: 14px;
  padding: 18px;
  border-left: 7px solid #8a8f98;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.card.brandweer, .detail-card.brandweer { border-left-color: #c62828; }
.card.ambulance, .detail-card.ambulance { border-left-color: #d6a500; }
.card.politie, .detail-card.politie { border-left-color: #1565c0; }
.card-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.card-head h2, .detail-card h1 { margin-bottom: 10px; }
.status {
  background: #fff4cc;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.location { font-weight: 700; }
.meta { display: flex; gap: 22px; color: #56616b; margin-bottom: 12px; }
.services { color: #2e3943; }
.impact { font-weight: 700; }
.details, .back {
  color: #0b57d0;
  font-weight: 700;
  text-decoration: none;
}
.empty { text-align: center; background: white; padding: 30px; border-radius: 12px; }
.detail-page { max-width: 760px; }
.back { display: inline-block; margin-bottom: 14px; }
.summary-text {
  border-top: 1px solid #e0e5e9;
  border-bottom: 1px solid #e0e5e9;
  padding: 18px 0;
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.timeline { margin: 22px 0; }
details { border-top: 1px solid #e0e5e9; padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; }
@media (max-width: 620px) {
  .topbar { position: static; }
  .summary { display: block; }
  .summary div { margin-top: 10px; }
  .meta { justify-content: space-between; gap: 8px; }
}

.feed-warning { background:#fff4cc; border:1px solid #e0bf48; padding:14px 16px; border-radius:12px; }

.history-link {
  border: 1px solid #cbd3da;
  background: white;
  border-radius: 999px;
  padding: 10px 16px;
  color: #17202a;
  text-decoration: none;
  white-space: nowrap;
}
.timeline p {
  padding: 10px 0;
  border-bottom: 1px solid #e0e5e9;
}

.tabs a{border:1px solid #cbd3da;background:white;border-radius:999px;padding:10px 16px;color:#17202a;text-decoration:none;white-space:nowrap}.tabs a.active{background:#17202a;color:white}.radius-box{display:flex;justify-content:space-between;align-items:center;gap:16px;background:white;border-radius:12px;padding:14px 16px;margin-bottom:16px}.radius-box select{padding:8px 10px;border:1px solid #cbd3da;border-radius:8px;background:white}.action-link{border:1px solid #cbd3da;background:white;border-radius:999px;padding:10px 16px;color:#17202a;text-decoration:none}.map-page{width:min(1200px,calc(100% - 24px))}.map-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:12px}#map{height:calc(100vh - 100px);min-height:500px;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.08)}
abbr.jargon {
  text-decoration: underline dotted #667;
  text-decoration-thickness: 1px;
  cursor: help;
}
.site-footer {
  text-align: center;
  padding: 28px 0 12px;
  margin-top: 12px;
}
.site-footer a {
  color: #667;
  text-decoration: none;
  font-size: 14px;
}
.site-footer a:hover {
  text-decoration: underline;
}
.detail-card h2 {
  margin-top: 22px;
  font-size: 19px;
}
.detail-card ul {
  margin: 8px 0;
  padding-left: 22px;
}
.detail-card li {
  padding: 3px 0;
}
.card-summary {
  color: #445;
  font-size: 14px;
  line-height: 1.4;
  margin: 4px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
