@layer blocks {
  /* An empty box drawn in ink, ticked in Caveat. The box never fills: the
     tick is a handwritten glyph in decorative red. A non-input box (the
     roadmap) ticks with data-state="checked". */
  .checkbox {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    inline-size: var(--form-control-toggle-size);
    aspect-ratio: 1;
    background: transparent;
    border: var(--stroke-m) solid var(--color-text);
    border-radius: var(--radius-s);
  }

  .checkbox:checked::after,
  .checkbox[data-state="checked"]::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hand);
    font-weight: var(--weight-bold);
    font-size: var(--text-base);
    line-height: var(--leading-none);
    color: var(--color-decorative);
  }
}
