/* A shared run (/runs/:id): one title block, centred on the sheet: who
   cleared what, then the time, place, CAD program and date as cells, then
   the way in for whoever followed the link. */
@layer components {
  .share {
    display: flex;
    justify-content: center;
    padding: calc(var(--block-space) * 2) calc(var(--inline-space) * 2);

    > * {
      inline-size: min(100%, 44rem);
    }
  }

  .share__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
    gap: calc(var(--block-space) * 0.75) calc(var(--inline-space) * 2);
    font-variant-numeric: tabular-nums;

    dd {
      font-weight: var(--weight-bold);
    }
  }

  .share__time {
    font-size: var(--text-xl);
    font-stretch: var(--stretch-condensed);
    font-weight: var(--weight-heavy);
    line-height: var(--leading-tight);
  }

  .share__record {
    color: var(--color-accent);
  }

  .share__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: calc(var(--block-space) * 0.75) calc(var(--inline-space) * 2.5);
    font-size: var(--text-sm);
  }
}
