@layer components {
  /* The verdict is the first thing under the name, so the name keeps only a little room below it. */
  .page-header:has(+ .verdict) {
    margin-block-end: var(--block-space-half);
  }

  .verdict {
    display: flex;
    flex-direction: column;
    gap: var(--block-space);

    > * {
      margin-block: 0;
    }
  }

  /* The verdict and, right under it, the one thing to do next: both on a phone's first screen, under the thumb. */
  .verdict__head {
    display: flex;
    flex-direction: column;
    gap: var(--block-space-half);
  }

  .verdict__decision {
    display: block;
    padding-block: clamp(var(--block-space), 3vw, var(--block-space-double));
    padding-inline: var(--inline-space-double);
    border-radius: var(--radius-lg);
    font-size: clamp(2rem, 6vw, var(--text-xx-large));
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-align: center;
    text-wrap: balance;
    white-space: normal;
  }

  /* Focused on load so Tab goes straight to the action; it is no Tab stop of its own, so it draws no ring. */
  .verdict__decision:focus {
    outline: none;
  }

  /* A form around its button, or the link itself: as wide as the verdict over it, at every width. */
  .verdict__action {
    display: flex;
  }

  :is(.verdict__action .btn, .btn.verdict__action) {
    --btn-font-weight: 600;

    flex: 1 1 auto;
    font-size: var(--text-medium);
    min-block-size: 3.5rem;                           /* 56px */

    @media (min-width: 100ch) {
      min-block-size: 2.95rem;                        /* 56px */
    }
  }

  /* Letting someone out is quiet until pointed at or focused: the colours on this page are the verdict's. */
  .verdict__action .btn--negative:not(:hover, :focus-visible) {
    --btn-background: var(--color-canvas);
    --btn-border-color: var(--color-ink-medium);
    --btn-color: var(--color-ink);
  }

  /* Confirming it on the form that asks why: as tall as a fingertip. */
  .verdict__confirm {
    min-block-size: 2.75rem;
  }

  .verdict__summary {
    font-size: var(--text-row);
    text-wrap: pretty;
  }

  .verdict__byline {
    font-size: var(--text-row);
  }

  /* Each fact is its label over its value at every width, from the edge the name, the verdict and what is missing start at. */
  .verdict__parties {
    .details__row {
      grid-template-columns: minmax(0, 1fr);
    }

    .details__label {
      text-align: start;
    }

    .details__value {
      padding-block: 0;
    }
  }

  /* Who it is, with its own verdict at the end of the line and anything more about it under the name. */
  .verdict__party {
    column-gap: var(--inline-space-double);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .verdict__party-meta {
    color: var(--color-meta);
    flex: 1 0 100%;
    font-size: var(--text-pill);
  }

  .verdict__reasons {
    display: flex;
    flex-direction: column;
    gap: var(--block-space-half);

    > * {
      margin-block: 0;
    }
  }

  .verdict__note {
    font-size: var(--text-row);
    text-wrap: pretty;
  }
}
