.st-summary .st-kpi {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.st-summary .st-kpi i {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #2563eb;
  font-size: 18px;
  font-style: normal;
}

.st-summary .st-kpi:hover {
  border-color: #93b4f8;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .1);
  transform: translateY(-1px);
}

.st-summary .st-kpi:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .3);
  outline-offset: 2px;
}

.st-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
}

.st-filter-banner button {
  padding: 7px 10px;
  border: 1px solid #93c5fd;
  border-radius: 7px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 800;
  cursor: pointer;
}

.st-section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.st-section-title h2,
.st-section-title p {
  margin: 0 0 4px;
}

.st-section-title > strong,
.st-section-title > span {
  flex: none;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
}

.st-capacity dl {
  grid-template-columns: repeat(3, 1fr);
}

.st-capacity-volume {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.st-capacity-volume div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.st-capacity-volume span {
  color: #64748b;
  font-size: 12px;
}

.st-attention {
  margin-bottom: 18px;
  border-color: #fed7aa;
}

.st-alert-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.st-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #f59e0b;
  border-radius: 9px;
  background: #fff;
}

.st-alert h3,
.st-alert p {
  margin: 3px 0;
}

.st-alert small {
  color: #b45309;
  font-weight: 800;
  text-transform: uppercase;
}

.st-alert span,
.st-alert time {
  display: inline-block;
  margin: 4px 8px 0 0;
  color: #64748b;
  font-size: 12px;
}

.st-alert button,
.st-recent td button,
.st-recent td a {
  flex: none;
  padding: 7px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.st-recent,
.st-upcoming {
  margin-top: 18px;
}

.st-recent td:last-child {
  display: flex;
  gap: 6px;
  min-width: 210px;
}

.st-account-status {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  text-transform: capitalize;
  white-space: nowrap;
}

.st-account-status.past_due {
  background: #fef2f2;
  color: #b91c1c;
}

.st-account-status.closed {
  background: #f1f5f9;
  color: #475569;
}

.st-upcoming tbody tr {
  cursor: pointer;
}

.st-upcoming tbody tr:hover {
  background: #f8fafc;
}

.st-tab-select-wrap {
  display: none;
  margin-bottom: 14px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.st-tab-select {
  width: 100%;
  margin-top: 5px;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.st-utilization,
.st-setup {
  margin-top: 18px;
}

.st-facility-list {
  display: grid;
  gap: 8px;
}

.st-facility-list > button {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(5, minmax(90px, 1fr)) 24px;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.st-facility-list > button:hover,
.st-facility-list > button:focus-visible {
  border-color: #93b4f8;
  background: #f8fbff;
}

.st-facility-list b,
.st-facility-list small {
  display: block;
}

.st-facility-list small {
  margin-top: 3px;
  color: #64748b;
}

.st-facility-list strong {
  color: #1d4ed8;
}

.st-facility-list i {
  color: #2563eb;
  font-style: normal;
  font-weight: 800;
}

.st-setup {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(360px, 1.25fr);
  gap: 28px;
  border-color: #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #fff 55%);
}

.st-setup h2,
.st-setup p {
  margin: 4px 0 12px;
}

.st-setup > div > small {
  color: #2563eb;
  font-weight: 800;
}

.st-setup ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-setup li button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: rgba(255,255,255,.75);
  color: #334155;
  text-align: left;
  cursor: pointer;
}

.st-setup li.done button {
  color: #15803d;
}

.st-cards article > button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.st-facility-detail {
  margin-top: 14px;
}

@media (max-width: 1200px) {
  .st-tabs {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .st-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .st-facility-list > button {
    grid-template-columns: minmax(170px, 1.5fr) repeat(3, minmax(90px, 1fr)) 24px;
  }

  .st-facility-list > button span:nth-of-type(3),
  .st-facility-list > button span:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 1100px) {
  .st-alert-list {
    grid-template-columns: 1fr;
  }

  .st-capacity dl,
  .st-capacity-volume {
    grid-template-columns: repeat(2, 1fr);
  }

  .st-setup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .st-tabs {
    display: none;
  }

  .st-tab-select-wrap {
    display: block;
  }

  .st-facility-list > button {
    grid-template-columns: 1fr auto 22px;
  }

  .st-facility-list > button span,
  .st-facility-list > button strong + span {
    display: none;
  }
}

@media (max-width: 600px) {
  .st-filter-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .st-capacity dl,
  .st-capacity-volume {
    grid-template-columns: 1fr;
  }

  .st-alert {
    align-items: flex-start;
    flex-direction: column;
  }

  .st-setup ol {
    grid-template-columns: 1fr;
  }
}
