* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
#map { height: 60vh; width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 10px; }
.header { padding: 15px 0; border-bottom: 1px solid #ddd; }
.feed { height: 40vh; overflow-y: auto; padding: 15px 0; }
.incident { padding: 10px; border-left: 4px solid #d32f2f; margin: 10px 0; background: #fafafa; cursor: pointer; }
.incident:hover { background: #f0f0f0; }
.incident-type { font-weight: bold; color: #d32f2f; }
.incident-time { font-size: 0.9em; color: #666; }
.incident-location { font-size: 0.9em; color: #666; }

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.modal.open { display: flex; }
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-close {
  float: right;
  font-size: 24px;
  cursor: pointer;
  border: none;
  background: none;
}
.modal h2 { margin-bottom: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.form-group textarea { min-height: 100px; }
.preview { margin: 10px 0; }
.preview img, .preview video { max-width: 100%; height: auto; border-radius: 4px; }
.btn { padding: 10px 15px; background: #1976d2; color: white; border: none; border-radius: 4px; cursor: pointer; }
.btn:hover { background: #1565c0; }