/* The coverage page, in the front page's look. It borrows scope.css for the colours, the
   fonts and the top bar, and adds only what a page of reading needs. Nothing here is red:
   a small share is what this kind of record is, not an alarm. */

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 40px 96px;
}

.c-main h1 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.c-headline {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink);
}

.plain.lead {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 14px;
  color: var(--ink-2);
}

.c-block {
  margin-top: 48px;
}

.c-block h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
  font-weight: 500;
}

.c-tag {
  font-weight: 400;
  color: var(--ink-3);
}

.c-sub {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
}

.c-notes {
  margin-top: 14px;
  max-width: 66ch;
  font-size: 13.5px;
  color: var(--ink-2);
}

.c-notes li + li {
  margin-top: 10px;
}

.c-foot {
  margin-top: 56px;
  max-width: 66ch;
  font-size: 13px;
  color: var(--ink-3);
}

/* Which days each count covers: one shared axis, one thin track per count. */
.t-rows {
  margin-top: 6px;
}

.t-row {
  padding-top: 18px;
}

.t-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
}

.t-name b {
  font-weight: 500;
}

.t-name span {
  color: var(--ink-3);
  font-size: 13px;
}

.t-track {
  position: relative;
  height: 10px;
  margin-top: 9px;
  background: var(--line);
  border-radius: 2px;
}

.t-track i {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 2px;
}

.t-used {
  background: var(--ink-3);
  min-width: 4px;
}

.board .t-used {
  background: var(--accent);
  min-width: 5px;
}

.t-unsettled {
  background: repeating-linear-gradient(
    135deg,
    var(--ink-3) 0 1.5px,
    transparent 1.5px 5px
  );
  opacity: 0.7;
}

.t-axis {
  position: relative;
  height: 22px;
  margin-top: 10px;
  border-top: 1px solid var(--line-2);
  font: 400 12px var(--mono);
  color: var(--ink-3);
}

.t-axis span {
  position: absolute;
  top: 6px;
  padding-left: 4px;
  border-left: 1px solid var(--line-2);
  margin-top: -7px;
  padding-top: 7px;
}

.t-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.t-key i {
  display: inline-block;
  width: 18px;
  height: 8px;
  border-radius: 2px;
}

.t-key i + i,
.t-key .t-used ~ .t-unsettled {
  margin-left: 12px;
}

/* The figures: board and official side by side, then what share the first is of the second. */
.f-row {
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}

.f-label {
  font-size: 15px;
}

.f-figs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) 96px;
  gap: 8px 28px;
  margin-top: 8px;
}

.f-figs dt {
  font-size: 12px;
  color: var(--ink-3);
}

.f-figs dd {
  margin-top: 2px;
  font: 400 20px/1.2 var(--mono);
  letter-spacing: -0.01em;
}

.f-figs dd small {
  display: block;
  margin-top: 4px;
  font: 400 12.5px/1.4 var(--sans);
  letter-spacing: 0;
  color: var(--ink-3);
}

.f-share dd {
  color: var(--accent);
  text-align: right;
}

.f-share dt {
  text-align: right;
}

.m-bar {
  display: block;
  height: 3px;
  margin-top: 12px;
  background: var(--line);
  border-radius: 2px;
}

.m-bar i {
  display: block;
  height: 100%;
  min-width: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (max-width: 820px) {
  .page {
    padding: 0 24px calc(64px + env(safe-area-inset-bottom));
  }

  /* On the front page the top bar floats over the map. Here there is no map, so it sits in the flow. */
  .page .top {
    position: static;
    height: 72px;
    padding: 0;
    pointer-events: auto;
  }

  .c-main h1 {
    font-size: 26px;
  }

  .f-figs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .f-share {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .f-share dt,
  .f-share dd {
    text-align: left;
    margin: 0;
  }
}
