/* Existing G15/G16 project-gate continuity panel, readable on desktop and 375px. */
.operation-panel {
  border: 1px solid #cbd5df;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
  background: #fff;
  color: #253446;
}
.operation-panel h2 {
  font-size: 1.32rem;
  margin: 4px 0 8px;
  line-height: 1.38;
}
.operation-panel p {
  line-height: 1.55;
  margin: 8px 0;
}
.operation-panel .operation-note {
  font-size: 0.9rem;
  color: #45556b;
}
.operation-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.operation-actions button {
  cursor: pointer;
  min-height: 38px;
}
.operation-actions label {
  font-size: 0.85rem;
  color: #43556d;
  display: flex;
  gap: 6px;
  align-items: center;
}
.operation-actions select {
  max-width: 270px;
  min-height: 38px;
  border: 1px solid #bac8d5;
  border-radius: 5px;
  background: #fff;
  padding: 6px;
  color: #243446;
}
.operation-status {
  background: #f4f6f9;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.operation-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}
.operation-metric {
  border: 1px solid #dae0e7;
  border-radius: 9px;
  padding: 12px;
  min-width: 0;
  background: #fbfcfe;
}
.operation-metric small {
  display: block;
  font-size: 0.8rem;
  color: #586479;
}
.operation-metric strong {
  display: block;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.operation-compact {
  border: 1px solid #dce2e9;
  border-radius: 9px;
  margin: 12px 0;
  background: #fff;
  overflow: hidden;
}
.operation-compact summary {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 650;
}
.operation-compact summary strong {
  font-weight: 500;
  color: #526277;
}
.operation-compact .operation-scroll {
  overflow: auto;
  max-height: 470px;
  overscroll-behavior: contain;
}
.operation-compact table {
  width: 100%;
  min-width: 710px;
  border-collapse: collapse;
  font-size: 0.83rem;
}
#operation-continuity-details > .operation-compact:first-child table {
  min-width: 2250px;
}
#operation-continuity-details > .operation-compact:first-child th,
#operation-continuity-details > .operation-compact:first-child td {
  min-width: 130px;
  max-width: 280px;
  word-break: normal;
  overflow-wrap: anywhere;
}
.operation-compact th,
.operation-compact td {
  text-align: left;
  padding: 10px 12px;
  border-top: 1px solid #e7ecf1;
  white-space: normal;
  word-break: break-word;
  vertical-align: top;
  max-width: 255px;
}
.operation-compact th {
  position: sticky;
  top: 0;
  background: #f6f8fb;
  font-weight: 600;
}
.operation-compact tr:nth-child(even) td {
  background: #fbfcfe;
}
.operation-compact .operation-empty {
  padding: 6px 14px 14px;
  color: #64748b;
}
.operation-boundary {
  border-top: 1px solid #dce2e9;
  padding-top: 14px;
  font-size: 0.84rem;
  color: #425268;
}
@media (max-width: 600px) {
  .operation-panel {
    padding: 12px;
    margin: 16px 0;
    border-radius: 9px;
  }
  .operation-panel h2 {
    font-size: 1.13rem;
  }
  .operation-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .operation-metric {
    padding: 9px;
  }
  .operation-metric strong {
    font-size: 0.9rem;
  }
  .operation-actions button {
    flex: 1 1 44%;
  }
  .operation-compact summary {
    padding: 10px;
    font-size: 0.88rem;
  }
  .operation-compact table {
    font-size: 0.78rem;
  }
}
