/* =========================================================
   Home Page
   externalized from inline style
   2026-03-18
   ========================================================= */

/* =========================
   Hero / top
========================= */
.home-hero {
  margin-bottom: 12px;
}

/* =========================
   Global status shell
========================= */
.status-shell {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(120,160,220,.18);
  background: linear-gradient(180deg, rgba(10,16,30,.66), rgba(7,12,24,.48));
  box-shadow:
    0 12px 30px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.status-title {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .82;
}

/* =========================
   Status cards
========================= */
.status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}

.status-item {
  min-width: 0;
  border: 1px solid rgba(120,160,220,.12);
  border-radius: 14px;
  padding: 10px 11px 9px;
  background: rgba(8,14,28,.22);
}

.status-label {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 5px;
}

.status-value {
  font-size: 17px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #eef4ff;
}

.status-sub {
  margin-top: 3px;
  font-size: 11px;
  opacity: .72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================
   KPI cards
========================= */
.home-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}

.home-kpi {
  border: 1px solid rgba(120,160,220,.16);
  border-radius: 16px;
  padding: 11px 13px;
  background: rgba(8,14,28,.18);
  min-height: 74px;
}

.home-kpi .value {
  font-size: 22px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #eef4ff;
}

/* =========================
   Text body
========================= */
.home-pre {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.55;
  font-size: 12px;
  color: #cfd9f8;
}

.home-pre strong {
  color: #ffffff;
}

/* =========================
   Utility blocks replacing inline style
========================= */
.home-grid-section {
  margin-top: 10px;
}

.home-pillrow-top {
  margin-top: 10px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1100px) {
  .status-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .home-kpis {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 700px) {
  .status-grid {
    grid-template-columns: 1fr;
  }

  .home-kpis {
    grid-template-columns: 1fr;
  }

  .status-shell {
    padding: 11px 12px;
  }

  .home-kpi {
    min-height: 68px;
    padding: 10px 12px;
  }

  .home-kpi .value {
    font-size: 20px;
  }
}