.incidents-view { display: grid; gap: 18px; min-width: 0; color: #283e4c; }
.incidents-view [hidden] { display: none; }
.incident-intro, .incident-status, .incident-source, .incident-result-status { margin: 0; }
.incident-intro { text-align: center; }
.incident-controls { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 16px; background: #edf5fc; border: 1px solid #c9ddeb; border-radius: 12px; }
.incidents-view label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; min-width: 0; }
.incident-controls label { flex: 1 1 240px; }
.incidents-view select, .incidents-view input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #bbcdda; border-radius: 8px; background: #fff; color: #283e4c; font-size: 16px; }
.incidents-view button { min-height: 44px; padding: 8px 16px; border: 1px solid #b8d0e1; border-radius: 8px; background: #fff; color: #155c8b; font-weight: 700; }
.incidents-view button:hover { background: #e6f0f8; }
.incidents-view button:disabled { opacity: .6; cursor: wait; }
.incident-status { min-height: 24px; font-size: 13px; color: #536b79; }
.incident-status.is-stale { padding: 10px 12px; border-left: 3px solid #b95000; border-radius: 4px; background: #fff3e7; color: #814000; }
.incident-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.incident-stat { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #d4dfe6; border-radius: 10px; background: #fff; }
.incident-stat strong { font-size: 30px; line-height: 1.2; color: #155c8b; }
.incident-stat span { font-size: 13px; }
.incident-grid { display: grid; grid-template-columns: minmax(0, 434px) minmax(0, 1fr); align-items: start; gap: 20px; }
.incident-map-card, .incident-list-card { min-width: 0; padding: 16px; border: 1px solid #d4dfe6; border-radius: 12px; background: #fff; }
.incident-map-card { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.incidents-view h2 { margin: 0; font: 700 18px/1.4 Source Sans Pro, Arial, sans-serif; color: #283e4c; }
.incidents-view h3 { margin: 6px 0; font: 700 16px/1.4 Source Sans Pro, Arial, sans-serif; color: #172c39; }
.incident-map-link { display: block; width: 100%; max-width: 400px; align-self: center; }
.incident-map-image { display: block; width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 3; }
.incident-link { color: #155c8b; text-decoration: underline; text-underline-offset: 3px; }
.incident-map-card > .incident-link:not(.incident-map-link) { display: block; padding: 10px 12px; min-height: 44px; border: 1px solid #c9ddeb; border-radius: 8px; background: #f1f7fb; font-weight: 700; text-align: center; text-decoration: none; }
.incident-caption, .incident-map-error, .incident-source { font-size: 12px; line-height: 1.6; color: #536b79; margin: 0; }
.incident-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; margin: 16px 0 10px; }
.incident-result-status { font-size: 13px; color: #536b79; }
.incident-list { list-style: none; padding: 0; margin: 8px 0 0; }
.incident-item { padding: 16px 0; border-top: 1px solid #e1e8ec; }
.incident-item-top { display: flex; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.incident-kind { font-size: 13px; font-weight: 700; color: #536b79; }
.incident-state { font-size: 11px; padding: 2px 8px; border-radius: 12px; background: #edf0f2; white-space: nowrap; }
.incident-state.ongoing { color: #8a3a00; background: #fff0dd; }
.incident-meta, .incident-alarm { margin: 4px 0; font-size: 12px; color: #536b79; }
.incident-crews { margin-top: 8px; font-size: 13px; }
.incident-crews summary { min-height: 36px; padding: 6px 0; color: #155c8b; }
.incident-crews ul { padding-left: 20px; }
.incident-more { width: 100%; }
@media (max-width: 1000px) { .incident-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .incident-controls, .incident-map-card, .incident-list-card { padding: 12px; }
  .incident-controls label { flex-basis: 100%; }
  .incident-filters { grid-template-columns: minmax(0, 1fr); }
  .incident-stat { flex-direction: column; align-items: start; gap: 4px; padding: 12px; }
}
