/* ——— Projects' bands ———
   The other reading of a day (Wrap-up in code): a project's name, and under it
   one band per kind of thing that moved — the glyph in the gutter, the list
   beside it. Layout is utilities, and the text filter takes an emptied band
   down by its `data-filter-group` (utilities.css), so all this file owns is
   the glyph's seat, the to-do's tick at the row's size, and the titles' rest.

   Everything else the band shows belongs elsewhere: the tick and its done
   strike to todos.css, the rows to rows.css. */
@layer components {
  .wrap-up__kind {
    /* Half a line down, so the mark meets the middle of the first row's text
       rather than the top of its box — the same arithmetic the trail's glyph
       uses, and for the same reason: it is answering to a line, not to a
       container. Its colour is its kind's (marks.css). */
    margin-block-start: calc(0.5lh - 0.5em);
  }

  .wrap-up__band + .wrap-up__band {
    margin-block-start: var(--block-space-half);
  }

  /* The to-do's own circle at the line's size, shown and never pressed: this
     is a report, and the to-do's page is where you tick it. */
  .wrap-up__item {
    --check-size: 1em;

    .todo-check {
      pointer-events: none;
    }

    /* A list of titles is not running text: each waits for the pointer to
       underline (rows.css), as the trail's subjects do. */
    a {
      text-decoration: none;
    }
  }
}
