/* solutions.css: small additions to desk.css for the /solutions/ guides.
   Load after desk.css. The guides put class="dk sx" on <main>.
   Every colour comes from the desk.css tokens. */

/* Guide kind label on a guide card ("Solution guide", "Comparison", "Guide"). */
.sx-kind { align-self: flex-start; font-size: 12.5px; line-height: 1.45; font-weight: 650; color: var(--dk-muted); letter-spacing: .02em; }

/* Checklist: a list of things to prepare or to check. The box is drawn, not ticked. */
.dk ul.sx-checklist { list-style: none; max-width: 820px; margin: 0 0 20px; padding: 6px 18px; background: var(--dk-panel); border: 1px solid var(--dk-line); border-radius: var(--dk-radius); color: var(--dk-ink-2); }
.dk ul.sx-checklist li { position: relative; margin: 0; padding: 11px 0 11px 30px; font-size: 15px; }
.dk ul.sx-checklist li + li { border-top: 1px solid var(--dk-line); }
.dk ul.sx-checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 16px; height: 16px; border: 1.5px solid #a3a99f; border-radius: 4px; background: var(--dk-paper); }

/* Long words in a table cell (file names, part codes) wrap and never widen the page. */
.sx .dk-data th, .sx .dk-data td, .sx .dk-kv th, .sx .dk-kv td { overflow-wrap: anywhere; }
.sx .dk-data tbody th { min-width: 9ch; }
.sx .dk-data thead th { white-space: normal; }
.sx .dk-card h3 { overflow-wrap: anywhere; }

/* Sections after the first one get a quiet rule, so a long guide scans as parts. */
.sx .dk-section + .dk-section { margin-top: 12px; }
.sx .dk-section > h3 { margin: 26px 0 10px; }
.sx .dk-stat .v { font-size: clamp(21px, 2.4vw, 28px); overflow-wrap: anywhere; }

@media (max-width: 520px) {
  .dk ul.sx-checklist { padding: 4px 14px; }
  .sx .dk-data.dk-stack tbody th { min-width: 0; }
}
@media print {
  .dk ul.sx-checklist { break-inside: avoid; }
}
