/* The approval tap under each line of the draft (U14, point-choice.js), after
   the canvas's TakeApprove board: chips for what a point is about, two
   options for who can see it, then who reads it. Its own file: interview.css
   and paper.css are both past their size budget.

   ⚠ NO --card OR --sunk HERE. Both stay light in the dark theme while --ink
   turns light, which put light text on a light box. Every surface below is
   the draft's own, tinted with --ink, so it follows either theme. */

/* ⚠ ONE SCROLL, as on a phone (paper.css, N32). The draft's 40vh inner
   scrollport holds about one point once each has its controls, a scroll
   inside the column's scroll; the sticky approve bar stays in reach. */
#draft:has(.point-choice) {
  max-height: none;
  overflow-y: visible;
}

.draft-list > li.has-choice {
  flex-wrap: wrap;
}

.point-choice {
  flex: 1 0 100%;
  margin: 0.35rem 0 0.9rem 1.1rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: var(--fs-small);
  line-height: 1.45;
  white-space: normal;
}

.point-choice__set {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.point-choice__legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--ink-soft);
}

.point-choice__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.point-choice__set--release .point-choice__options {
  flex-direction: column;
}

.point-choice__chip {
  min-height: 2.25rem;
  padding: 0 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.point-choice__opt {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-input);
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.point-choice__chip.is-on,
.point-choice__opt.is-on {
  border: 1.5px solid var(--ink);
  font-weight: 500;
}

.point-choice__chip:focus-visible,
.point-choice__opt:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.point-choice__ring {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink-soft);
  box-sizing: border-box;
}

.point-choice__opt.is-on .point-choice__ring {
  border: 0.35rem solid var(--ink);
}

.point-choice__words {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.point-choice__title {
  font-weight: 500;
}

.point-choice__sub {
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.45;
}

.point-choice__reads {
  margin: 0;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-input);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  line-height: 1.5;
}

.point-choice__small {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Said once above the points, and the apply-to-all control under a point's
   "Who can see it". Text in --ink tints on the draft's own surface. */
.point-choice__defaults {
  margin: 0 0 0.6rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink-soft);
  white-space: normal;
}

.point-choice__all {
  align-self: flex-start;
  min-height: 2.25rem;
  padding: 0 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.point-choice__all:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.point-choice__said {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

@media (max-width: 40rem) {
  .point-choice {
    margin-left: 0;
  }
}
