/* The checklist for both vendors on a frost panel, a thing to take away (sections/comparison_checklist.py): its head
   and Copy the checklist at the left; at the right the questions on hairlines, each the label of a box to tick (the
   kit's Choice), with no numbers (they can be asked in any order; the copied text numbers its lines). Questions alone
   stand in two columns down (as many rows as half of them, --rows). Questions with their answers stand as rows
   under the two names (.cv-check-heads): from 900 px the answer beside its question, a column each; narrower, the
   answer under its question after its own name, and the names' row keeps the questions' name alone. Under 1200 px
   the head stands over the questions. A ticked question steps back to the secondary ink. */
.cmp-check-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--space-8);
  padding: var(--fr-band); border-radius: var(--radius-lg); background: var(--surface-sunken); }
.cmp-check-head { display: grid; align-content: start; justify-items: start; row-gap: var(--space-4); }
.cmp-check-head > * { margin: 0; }
.cmp-check-head .t-lead { color: var(--ink-primary); }
.cmp-check-copy { display: grid; justify-items: start; row-gap: var(--space-2); margin-top: var(--space-3); }
.cmp-check-status { margin: 0; min-height: 21px; }
.cv-check-body { display: grid; align-content: start; min-width: 0; }
.cv-check-heads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); margin: 0 0 var(--space-3); color: var(--ink-secondary); font: var(--t-label); }
.cmp-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows, 4), auto);
  grid-auto-flow: column; gap: 0 var(--space-6); margin: 0; padding: 0; list-style: none; }
.cmp-check-list--answers { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
.cmp-check-list > li { padding-block: var(--space-3); border-top: 1px solid var(--border-subtle); color: var(--ink-primary); }
.cmp-check-list > li > .choice { min-block-size: 0; }
.cmp-check-list > li:has(.choice-input:checked) > .choice > .cv-check-ask { color: var(--ink-secondary); }
/* what answers a question: under it, in line with its words (past the box and its gap), after the answer's name */
.cmp-check-list--answers > li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); align-items: start; }
.cmp-check-list > li > .cv-check-why { margin: 0; padding-block: 1px; color: var(--ink-primary); font: var(--t-body); text-wrap: pretty; overflow-wrap: break-word; }
.cv-check-why > .cv-check-name { display: none; }
.cmp-check-panel > .fr-note { margin-top: var(--space-5); }

@media (max-width: 1199px) {
  .cmp-check-panel { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-6); }
}
@media (max-width: 899px) {
  .cmp-check-list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .cv-check-heads { grid-template-columns: minmax(0, 1fr); }
  .cv-check-heads > :nth-child(2) { display: none; }
  .cmp-check-list--answers > li { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
  .cmp-check-list > li > .cv-check-why { margin-left: calc(24px + var(--space-3)); font: var(--t-small); }   /* in line with the question's words, past its box */
  .cv-check-why > .cv-check-name { display: block; color: var(--ink-secondary); font: var(--t-label-s); }
}
@media (max-width: 599px) {
  .cmp-check-copy, .cmp-check-copy .btn { justify-self: stretch; }
}
