/* D27HM1 — /eltern/bericht/demo parent weekly report (HP4). */
body {
  overflow: auto;
  height: auto;
  min-height: 100vh;
}

.eltern-bericht {
  max-width: 520px;
  margin: 10px auto 24px;
  padding: calc(var(--safe-top) + 28px) 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.eltern-bericht h1 {
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.05;
}

.eltern-bericht .lede {
  color: var(--text-dim);
  max-width: 42ch;
}

.bericht-child {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.bericht-child__head h2 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.bericht-child__meta {
  margin: 0;
  color: var(--text-dim);
}

.bericht__sub {
  font-size: 0.95rem;
  margin: 4px 0 0;
  color: var(--text-dim);
  font-weight: 700;
}

.bericht-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-weight: 700;
  color: var(--text);
}

.bericht-stats span {
  white-space: nowrap;
}

.bericht-empty {
  margin: 0;
  color: var(--text-dim);
  font-weight: 600;
}

.day-bar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 140px;
}

.day-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.day-bar__day {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.day-bar__track {
  width: 100%;
  max-width: 28px;
  height: 88px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.day-bar__fill {
  display: block;
  width: 100%;
  min-height: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, #3d8bfd 100%);
  border-radius: 6px 6px 0 0;
}

.day-bar__mins {
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-dim);
  white-space: nowrap;
}

.spoken-word-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.spoken-word {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .day-bar__track {
    height: 72px;
    max-width: 22px;
  }

  .day-bar__mins {
    font-size: 0.65rem;
  }
}
