/* The doctor report. The same markup is the on-screen preview and the printed page, so the layout
   rules live here for every medium; print.css only strips the app around it and sets the page. */
.report {
  padding: var(--space-4);
  color: #000;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-m);
  line-height: 1.4;
}

.report h2,
.report h3,
.report p,
.report ul,
.report ol {
  margin: 0;
}

.report h2 {
  font-size: 1.35em;
}

.report h3 {
  margin-bottom: 0.3em;
  padding-bottom: 0.15em;
  font-size: 1.05em;
  border-bottom: 1px solid #000;
}

.report p + p {
  margin-top: 0.2em;
}

.report__header {
  margin-bottom: 0.9em;
}

.report__name {
  font-weight: 700;
}

.report__block {
  margin-bottom: 0.9em;
  break-inside: avoid;
}

.report__table {
  width: 100%;
  border-collapse: collapse;
}

.report__table th,
.report__table td {
  padding: 0.2em 0.4em;
  text-align: left;
  border-bottom: 1px solid #999;
}

.report__weeks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11em, 1fr));
  gap: 0.1em 1em;
  margin-top: 0.4em;
  padding: 0;
  list-style: none;
}

.report__list {
  padding-left: 1.4em;
}

.report__entry {
  margin-bottom: 0.5em;
  break-inside: avoid;
}

.report__entry-date {
  font-weight: 700;
}

.report__entry-text {
  white-space: pre-wrap;
}

.report__footer {
  margin-top: 0.9em;
  padding-top: 0.4em;
  font-size: 0.9em;
  border-top: 1px solid #000;
}
