
.incident-escalation.open {
  border-color: #f59e0b;
  background: #fff9e8;
}

.incident-escalation.acknowledged {
  border-color: #9fc5f8;
  background: #f3f8ff;
}

.incident-escalation.resolved {
  border-color: #7cc8a8;
  background: #effaf4;
}

.incident-escalation.cancelled {
  opacity: 0.72;
}

.incident-escalation strong,
.incident-escalation span,
.incident-escalation small {
  display: block;
  overflow-wrap: anywhere;
}

.incident-escalation span,
.incident-escalation small {
  color: var(--muted);
  font-size: 12px;
}

.incident-action.sla-overdue {
  border-color: #f2a5a5;
  background: #fff6f6;
}
@media (max-width: 760px) {
  .tour-map-metrics,
  .tour-map-board {
    grid-template-columns: 1fr;
  }

  .tour-map-toolbar,
  .tour-map-day-head {
    display: grid;
  }

  .tour-map-frame {
    min-height: 320px;
  }
}
.tour-map-side {
  display: grid;
  gap: 16px;
}

.tour-incident-command {
  margin-bottom: 0;
}

.tour-incident-form textarea {
  min-height: 104px;
  resize: vertical;
}

.tour-incident-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
}

.tour-incident {
  padding: 12px;
  background: #f8fbfc;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: var(--radius);
}

.tour-incident.severity-low {
  border-left-color: #7cc8a8;
}

.tour-incident.severity-medium {
  border-left-color: #e3c56b;
}

.tour-incident.severity-high {
  border-left-color: #f59e0b;
  background: #fff9e8;
}

.tour-incident.severity-critical {
  border-left-color: var(--red);
  background: #fff3f3;
}

.tour-incident.done {
  opacity: 0.76;
}

.tour-incident h3 {
  margin: 0;
  font-size: 16px;
}

.tour-incident p,
.tour-incident small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.incident-action-timeline {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.incident-action-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.incident-action-form {
  background: #fbfdff;
}

.incident-action-list {
  display: grid;
  gap: 8px;
}

.incident-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.incident-action.done {
  background: #effaf4;
  border-color: #7cc8a8;
}

.incident-action.blocked {
  background: #fff3f3;
  border-color: #f2a5a5;
}

.incident-action strong,
.incident-action span,
.incident-action small {
  display: block;
  overflow-wrap: anywhere;
}

.incident-action span,
.incident-action small {
  color: var(--muted);
  font-size: 12px;
}

.tour-journal-panel {
  margin-bottom: 0;
}

.tour-journal-form textarea {
  min-height: 104px;
  resize: vertical;
}

.tour-journal-list {
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.tour-journal-entry {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #9fc5f8;
  border-radius: var(--radius);
}

.tour-journal-entry.published {
  border-left-color: #7cc8a8;
  background: #f5fbf7;
}

.tour-journal-entry.archived {
  opacity: 0.72;
}

.tour-journal-entry h3 {
  margin: 0;
  font-size: 16px;
}

.tour-journal-entry p,
.tour-journal-entry small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.incident-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.sla-pill.sla-ok {
  background: #effaf4;
  color: #256c49;
}

.sla-pill.sla-warning {
  background: #fff7d6;
  color: #8a5f00;
}

.sla-pill.sla-overdue,
.tour-incident.sla-overdue .sla-pill {
  background: #fff0f0;
  color: #b42318;
}

.tour-incident.sla-overdue {
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.12);
}

.incident-escalation-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.incident-escalation-form {
  background: #fbfdff;
}

.incident-escalation-list {
  display: grid;
  gap: 8px;
}

.incident-escalation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.incident-escalation.open {
  border-color: #f59e0b;
  background: #fff9e8;
}

.incident-escalation.acknowledged {
  border-color: #9fc5f8;
  background: #f3f8ff;
}

.incident-escalation.resolved {
  border-color: #7cc8a8;
  background: #effaf4;
}

.incident-escalation.cancelled {
  opacity: 0.72;
}

.incident-escalation strong,
.incident-escalation span,
.incident-escalation small {
  display: block;
  overflow-wrap: anywhere;
}

.incident-escalation span,
.incident-escalation small {
  color: var(--muted);
  font-size: 12px;
}

.incident-action.sla-overdue {
  border-color: #f2a5a5;
  background: #fff6f6;
}
@media (max-width: 760px) {
  .incident-action,
  .incident-escalation {
    grid-template-columns: 1fr;
  }

  .tour-journal-panel {
  margin-bottom: 0;
}

.tour-journal-form textarea {
  min-height: 104px;
  resize: vertical;
}

.tour-journal-list {
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.tour-journal-entry {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid #9fc5f8;
  border-radius: var(--radius);
}

.tour-journal-entry.published {
  border-left-color: #7cc8a8;
  background: #f5fbf7;
}

.tour-journal-entry.archived {
  opacity: 0.72;
}

.tour-journal-entry h3 {
  margin: 0;
  font-size: 16px;
}

.tour-journal-entry p,
.tour-journal-entry small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.incident-card-badges {
    justify-content: flex-start;
  }
}
.tour-closeout-panel {
  display: grid;
  gap: 12px;
}

.tour-closeout-form textarea {
  min-height: 96px;
  resize: vertical;
}

.closeout-snapshot,
.tour-closeout-report {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.closeout-snapshot {
  display: grid;
  gap: 6px;
  border-left: 4px solid #7cc8a8;
  background: #f7fcf9;
}

.closeout-snapshot > span,
.closeout-snapshot small {
  color: var(--muted);
  font-size: 12px;
}

.tour-closeout-list {
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.tour-closeout-report {
  border-left: 4px solid #9fc5f8;
}

.tour-closeout-report.approved,
.tour-closeout-report.shared {
  border-left-color: #7cc8a8;
  background: #f5fbf7;
}

.tour-closeout-report.archived {
  opacity: 0.72;
}

.tour-closeout-report h3,
.tour-closeout-report p,
.tour-closeout-report small {
  overflow-wrap: anywhere;
}

.closeout-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.closeout-kpis b,
.closeout-kpis span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.closeout-kpis b {
  font-size: 16px;
}

.closeout-kpis span {
  color: var(--muted);
  font-size: 12px;
}

.closeout-kpis.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 10px 0;
}

@media (max-width: 760px) {
  .closeout-kpis,
  .closeout-kpis.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
