.dashboard-card {
  max-width: 980px;
}

.status-meta {
  display: grid;
  gap: 6px;
  color: #eef1f4;
  font-size: 0.85rem;
  text-align: right;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.dashboard-main {
  min-height: 270px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  border: 2px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.air-icon {
  width: 160px;
  height: 160px;
  flex: 0 0 160px;
}

.quality-summary {
  text-align: center;
}

.quality-summary p {
  margin-bottom: 12px;
  color: #f1f1f1;
}

.quality-summary strong {
  display: block;
  max-width: 330px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.dashboard-box {
  min-height: 125px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: var(--card);
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.dashboard-box p {
  color: #ececec;
}

.dashboard-box strong {
  font-size: 1.8rem;
}

.dashboard-box > span {
  color: #f4f4f4;
}

.scenario-box {
  gap: 10px;
  text-align: left;
}

.scenario-box p {
  text-align: center;
  font-weight: 700;
}

.scenario-box label:not(.error-toggle) {
  font-size: 0.8rem;
  color: #f1f1f1;
}

.error-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.2;
}

.error-toggle input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

  .dashboard-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .status-meta {
    text-align: left;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-main {
    flex-direction: column;
    text-align: center;
  }
}
