.engine-chain-visual {
  margin: 2.5rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.engine-chain-converge {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.engine-chain-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  flex-wrap: wrap;
}

/* Removed converge-arrows-row and converge-arrow styles */

/* --- Cloud Health Summary Card --- */
.cloudhealth-summary-card,
.cloudhealth-summary-header,
.cloudhealth-summary-title,
.cloudhealth-summary-row,
.cloudhealth-summary-hash,
.cloudhealth-summary-report {
  display: none !important;
}

.master-state-status {
  font-size: 0.98rem;
  color: #00e6d0;
  background: rgba(0, 230, 208, 0.10);
  border-radius: 0.5rem;
  padding: 0.12rem 1.1rem;
  font-weight: 700;
  border: 1.5px solid #00e6d0cc;
  margin-left: 1.2rem;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 2px 0 #00e6d022;
  text-transform: uppercase;
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  opacity: 0.92;
}

/* Remove old master-state-row, master-state-label, master-state-hash */
.master-state-row,
.master-state-label,
.master-state-hash {
  display: none !important;
}

.master-state-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a2233;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.master-state-desc {
  font-size: 1.01rem;
  color: #1a2233;
  font-weight: 500;
  text-align: center;
}

#master-state-hash {
  font-size: 1.05rem;
  color: #223a4d;
  background: #e6faff;
  border-radius: 0.5rem;
  padding: 0.18rem 0.7rem;
  margin-top: 0.3rem;
  display: inline-block;
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  letter-spacing: 0.04em;
}

.engine-card {
  background: rgba(14, 24, 32, 0.858);
  border-radius: 1.2rem;
  box-shadow: 0 2px 12px 0 rgba(0, 230, 208, 0.06), 0 1.5px 0 0 #3a8dde22;
  min-width: 220px;
  min-height: 180px;
  margin: 0 0.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(0, 230, 208, 0.18);
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
  padding: 20px !important;
}

.engine-card:hover {
  box-shadow: 0 4px 20px 0 #00e6d033, 0 1.5px 0 0 #3a8dde;
  border: 2px solid #00e6d0;
  background: rgba(34, 58, 77, 0.32);
}

.engine-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a8dde;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

.engine-status {
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 0.7rem;
  padding: 0.2rem 0.8rem;
  margin-bottom: 0.5rem;
  margin-top: 0.1rem;
  display: inline-block;
  background: rgba(58, 141, 222, 0.18);
  color: #00e6d0;
  box-shadow: 0 1px 4px 0 rgba(0, 230, 208, 0.06), 0 1.5px 0 0 #3a8dde22;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(0, 230, 208, 0.25);
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.engine-status.live {
  background: rgba(0, 200, 90, 0.22);
  color: #00c85a;
  border: 1.5px solid #00c85acc;
  box-shadow: 0 1px 6px 0 #00c85a33;
}

.engine-status.offline {
  background: rgba(176, 176, 176, 0.18);
  color: #b0b0b0;
  border: 1.5px solid #b0b0b0cc;
  box-shadow: 0 1px 6px 0 #b0b0b033;
}

.engine-status.recovering {
  background: rgba(255, 224, 102, 0.18);
  color: #ffe066;
  border: 1.5px solid #ffe066cc;
  box-shadow: 0 1px 6px 0 #ffe06633;
}

.engine-hash-label {
  font-size: 0.92rem;
  margin-top: 0.7rem;
  margin-bottom: 0.1rem;
  font-weight: 500;
}

.engine-hash {
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  font-size: 1.08rem;
  color: #ffffff;
  background: #16202b;
  border-radius: 0.5rem;
  padding: 0.18rem 0.7rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.engine-meta {
  font-size: 0.85rem;
  color: #b0c4d8;
  margin-top: 0.3rem;
}

.engine-arrow-group {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  max-width: 70px;
  z-index: 1;
  position: relative;
}

.engine-chain-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  max-width: 60px;
  height: 100%;
  margin: 0 0.1rem;
  position: relative;
}

.engine-chain-arrow svg {
  display: block;
  margin: 0 auto;
  width: 60px;
  height: 32px;
  filter: drop-shadow(0 0 6px #00e6d055);
}

.chain-hash {
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  font-size: 0.95rem;
  color: #3a8dde;
  margin-top: 0.1rem;
  text-align: center;
  letter-spacing: 0.04em;
}

.engine-timeline-label {
  margin-top: 1.5rem;
  text-align: center;
}

.engine-timeline-title {
  font-size: 1.08rem;
  color: #3a8dde;
  font-family: 'Fira Mono', 'Menlo', 'Consolas', monospace;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.engine-timeline-legend {
  color: #3a8dde;
  font-size: 0.98rem;
  margin-top: 0.5rem;
}

.engine-timeline-graph-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  width: 100%;
  max-width: 900px;
  background: rgba(34, 58, 77, 0.22);
  border-radius: 1rem;
  box-shadow: 0 1px 8px 0 #00e6d022;
  padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  border: 2px solid rgba(0, 230, 208, 0.18);
  backdrop-filter: blur(8px);
}

.engine-timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-block;
  margin: 0 2px;
  border: 2.5px solid #e6faff;
  box-shadow: 0 2px 8px 0 #00e6d055;
  transition: background 0.3s, border 0.3s;
  vertical-align: middle;
}

.engine-timeline-dot.live {
  background: rgba(0, 200, 90, 0.85);
  border-color: #00c85a;
  box-shadow: 0 1px 3px 0 #00c85a33;
}

.engine-timeline-dot.offline {
  background: rgba(176, 176, 176, 0.85);
  border-color: #b0b0b0;
  box-shadow: 0 1px 3px 0 #b0b0b033;
}

.engine-timeline-dot.recovering {
  background: rgba(255, 224, 102, 0.85);
  border-color: #ffe066;
  box-shadow: 0 1px 3px 0 #ffe06633;
}

.engine-timeline-status {
  font-size: 0.97rem;
  font-weight: 600;
  display: inline-block;
  padding: 0.13rem 0.7rem;
  border-radius: 0.6rem;
  margin: 0.1rem 0;
}

.engine-timeline-status.live {
  background: rgba(0, 200, 90, 0.22);
  color: #00c85a;
  border: 1.5px solid #00c85acc;
  box-shadow: 0 1px 6px 0 #00c85a33;
  backdrop-filter: blur(8px);
}

.engine-timeline-status.offline {
  background: rgba(176, 176, 176, 0.18);
  color: #b0b0b0;
  border: 1.5px solid #b0b0b0cc;
  box-shadow: 0 1px 6px 0 #b0b0b033;
  backdrop-filter: blur(8px);
}

.engine-timeline-status.recovering {
  background: rgba(255, 224, 102, 0.18);
  color: #ffe066;
  border: 1.5px solid #ffe066cc;
  box-shadow: 0 1px 6px 0 #ffe06633;
  backdrop-filter: blur(8px);
}

@media (max-width: 900px) {

  .engine-timeline-table th,
  .engine-timeline-table td {
    padding: 0.4rem 0.2rem;
    font-size: 0.93rem;
  }

  .engine-timeline-table-wrap {
    max-width: 100vw;
    overflow-x: auto;
  }
}

@media (max-width: 1200px) {
  .engine-chain-row {
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .engine-card {
    min-width: 200px;
    font-size: 0.97rem;
  }

  .engine-arrow-group {
    min-width: 40px;
    max-width: 40px;
  }

  .engine-chain-arrow svg {
    width: 40px;
    height: 22px;
  }
}

@media (max-width: 900px) {
  .engine-chain-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .engine-arrow-group {
    min-width: 0;
    max-width: 100vw;
  }

  .engine-chain-arrow svg {
    width: 36px;
    height: 18px;
  }
}


.status-indicator,
.status-indicator.operational,
.status-indicator.checking,
.status-indicator.syncing,
.status-indicator.issue {
  border-radius: 50%;
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.5em;
  vertical-align: middle;
  background: #b0b0b0;
  box-shadow: 0 0 6px #b0b0b099;
}

.status-indicator.operational {
  background: #00c85a;
  box-shadow: 0 0 6px #00c85aaa;
}

.status-indicator.checking,
.status-indicator.syncing {
  background: #ffe066;
  box-shadow: 0 0 6px #ffe06699;
}

.status-indicator.issue {
  background: #ff3a3a;
  box-shadow: 0 0 6px #ff3a3a99;
}

.status-explanation {
  margin-top: 20px !important;
  color: #fff !important;
}

.central-explanation-card {
  background: rgba(34, 58, 77, 0.22);
  color: #fff !important;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px 0 rgba(0, 230, 208, 0.06), 0 1.5px 0 0 #3a8dde22;
  padding: 2em 2em 1.5em 2em;
  margin-top: 1.2em;
  font-size: 1.13rem;
  font-weight: 400;
  line-height: 1.7;
  border: 2px solid rgba(0, 230, 208, 0.18);
  width: 100%;
  max-width: 500px;
  min-width: 220px;
  box-sizing: border-box;
  position: relative;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
  backdrop-filter: blur(8px);
}

.central-explanation-card:hover {
  box-shadow: 0 4px 20px 0 #00e6d033, 0 1.5px 0 0 #3a8dde;
  border: 2px solid #00e6d0;
  background: rgba(34, 58, 77, 0.32);
}

.central-explanation-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #00e6d0;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px #00e6d033;
}

.central-explanation-cards-row {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
  flex-wrap: wrap;
}