/* Fault overview metrics use the same illustrated glass-card language as the dashboard. */
.faults-page .fault-summary-strip {
  gap: 12px;
}

.faults-page .fault-summary-strip > button {
  --fault-tile-wash: rgba(223, 239, 246, .78);
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 100px;
  height: 100px;
  padding: 13px 18px 13px 14px;
  overflow: hidden;
  color: var(--sh-ink);
  text-align: left;
  background: linear-gradient(118deg, rgba(255, 255, 255, .84), var(--fault-tile-wash));
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74), 0 7px 20px rgba(47, 83, 101, .055);
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.faults-page .fault-summary-strip > .fault-summary--active,
.faults-page .fault-summary-strip > .fault-summary--critical {
  --fault-tile-wash: rgba(245, 222, 228, .8);
}

.faults-page .fault-summary-strip > .fault-summary--unassigned {
  --fault-tile-wash: rgba(255, 240, 209, .82);
}

.faults-page .fault-summary-strip > .fault-summary--aged,
.faults-page .fault-summary-strip > .fault-summary--oldest {
  --fault-tile-wash: rgba(255, 243, 218, .78);
}

.faults-page .fault-summary-strip > button::after {
  display: none;
}

.faults-page .fault-summary-strip > button > i,
.faults-page .fault-summary-strip > button > i.conaire-unassigned-engineer {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  overflow: visible;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 12px;
}

.faults-page .fault-summary-strip > button > i > .fault-summary-art {
  position: relative;
  z-index: 1;
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  opacity: 1;
  filter: drop-shadow(0 4px 5px rgba(22, 69, 83, .12));
}

.faults-page .fault-summary-strip > button > i.has-portal-icon > svg {
  display: none;
}

.faults-page .fault-summary-strip > button > div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.faults-page .fault-summary-strip > button strong {
  order: 1;
  margin: 0;
  color: var(--sh-ink);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.faults-page .fault-summary-strip > button span {
  order: 2;
  margin: 0;
  color: var(--sh-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.faults-page .fault-summary-strip > button:hover,
.faults-page .fault-summary-strip > button.is-selected {
  z-index: 1;
  background: linear-gradient(118deg, rgba(255, 255, 255, .95), var(--fault-tile-wash));
  border-color: rgba(93, 155, 137, .4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 10px 24px rgba(47, 83, 101, .1);
  transform: translateY(-2px);
}

.faults-page .fault-summary-strip > button.is-selected {
  box-shadow: inset 0 0 0 1px rgba(9, 137, 94, .2), 0 9px 22px rgba(47, 83, 101, .09);
}

@media (max-width: 1100px) {
  .faults-page .fault-summary-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .faults-page .fault-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faults-page .fault-summary-strip > button {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 88px;
    height: 88px;
    padding: 11px 12px;
  }

  .faults-page .fault-summary-strip > button > i,
  .faults-page .fault-summary-strip > button > i.conaire-unassigned-engineer,
  .faults-page .fault-summary-strip > button > i > .fault-summary-art {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faults-page .fault-summary-strip > button {
    transition: none;
  }
}
