.nav {
  transition: background-color 200ms ease, color 200ms ease;
}

.nav:active {
  transform: translateY(1px);
}

.rail-bottom {
  display: grid;
  gap: 6px;
  padding-top: 20px;
}

.rail-status-label {
  display: flex;
  align-items: center;
  color: var(--gray);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rail-bottom strong {
  font-size: 13px;
  font-weight: 650;
}

.rail-bottom small {
  line-height: 1.45;
}

.service-dot {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: #aeb7c3;
  box-shadow: 0 0 0 3px #eef1f5;
}

.service-dot.ready {
  background: #20825d;
  box-shadow: 0 0 0 3px #e7f4ee;
}

.service-dot.warning {
  background: #c89236;
  box-shadow: 0 0 0 3px #fff3da;
}

.service-dot.offline {
  background: #b33443;
  box-shadow: 0 0 0 3px #fff0f1;
}

.activity-block {
  padding: 0 24px 26px;
}

.activity-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--soft);
}

.activity-summary > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid var(--border);
}

.activity-summary > div:last-child {
  border-right: 0;
}

.activity-summary span {
  color: var(--gray);
  font-size: 10px;
}

.activity-summary strong {
  font-size: 24px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.activity-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.activity-panel > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 20px 17px;
  background: var(--soft);
}

.activity-panel > header .eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
}

.activity-panel > header h3 {
  margin: 0;
  font-size: 15px;
}

.activity-panel > header > span {
  color: var(--gray);
  font-size: 9px;
  white-space: nowrap;
}

.activity-list {
  display: grid;
}

.activity-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  align-items: start;
  gap: 15px;
  padding: 16px 18px;
  border-top: 1px solid var(--border);
}

.activity-row:first-child {
  border-top: 0;
}

.activity-row time {
  color: var(--gray);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
}

.activity-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.activity-copy strong {
  overflow-wrap: anywhere;
  font-size: 11px;
}

.activity-copy span,
.activity-copy small {
  color: var(--gray);
  font-size: 9px;
}

.activity-copy code {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #7b8796;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-result {
  justify-self: end;
  white-space: nowrap;
}

.activity-recorded {
  color: var(--gray);
  font-size: 9px;
}

.activity-panel > .empty {
  padding: 44px 22px;
}

@media (max-width: 1300px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .activity-block {
    padding: 0 12px 18px;
  }

  .activity-summary {
    grid-template-columns: 1fr;
  }

  .activity-summary > div {
    grid-template-columns: 1fr auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .activity-summary > div:last-child {
    border-bottom: 0;
  }

  .activity-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .activity-row time {
    grid-column: 1 / -1;
  }
}
