* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Arial, sans-serif;
  color: #e5edf5;
  background: #111827;
}

.analysis-dashboard {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.analysis-header {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 24px;
  font-weight: 700;
}

h2 {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 13px;
  color: #e5edf5;
}

p {
  max-width: 760px;
  font-size: 13px;
  line-height: 1.5;
  color: #cbd5e1;
}

.back-link {
  width: fit-content;
  color: #bfdbfe;
  font-size: 13px;
}

.analysis-status {
  min-height: 18px;
  font-size: 13px;
  color: #cbd5e1;
}

.panel {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #334155;
}

.status-grid,
.area-grid {
  display: grid;
  gap: 12px;
  margin: 0;
}

.status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.area-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-grid div,
.area-grid article {
  min-width: 0;
  padding: 12px;
  border: 1px solid #334155;
  border-radius: 4px;
  background: #1f2937;
}

.status-grid dt {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.35;
  color: #cbd5e1;
}

.status-grid dd {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .analysis-dashboard {
    padding: 16px;
  }

  .status-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }
}
