/* Analyse på forsiden: tal-bokse + ofte/sjældent-lister (rækker genbruger status-row-top/status-bar) */
.analysis-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.analysis-tile {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 12px 12px 10px;
  min-width: 0;
}

.analysis-tile .value {
  font-size: 22px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.analysis-tile .value.analysis-day {
  font-size: 17px;
  line-height: 26px;
  text-transform: capitalize;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.analysis-tile .label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 1px;
}

.analysis-worst {
  margin: -2px 0 10px;
}

.analysis-list {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 10px 16px 6px;
  margin-bottom: 10px;
}

.analysis-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.analysis-list-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.analysis-list-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.analysis-row {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
}

.analysis-row + .analysis-row {
  border-top: 1px solid var(--border);
}

.analysis-row:hover .status-name {
  text-decoration: underline;
}

.analysis-row .status-count strong {
  color: var(--text-primary);
}

.analysis-empty {
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 380px) {
  .analysis-tile .value { font-size: 19px; }
  .analysis-tile .value.analysis-day { font-size: 15px; }
}
