/* /whizply-review, /compare/ and /compare/whizply-vs-<name> (atlas/seo/pages/whizply.py, templates/compare*.html,
   whizply_review.html). Builds on seo.css. Text is --ink; the quotes are set apart by a rule and an accent edge,
   not by a grey tone (tests/test_no_grey_text.py). */

.cp-list { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.cp-item { display: grid; gap: 12px; }
.cp-item .hm-h3, .cp-row .hm-h3 { margin: 0; }

.cp-quote { margin: 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--accent); display: grid; gap: 6px; }
.cp-quote blockquote { margin: 0; }
.cp-quote p { margin: 0; font-size: var(--fs-lead); line-height: 1.6; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.cp-quote figcaption { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.cp-quote a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.cp-edge { border-top: 1px solid var(--accent-ring); border-bottom: 1px solid var(--accent-ring); }
.cp-positioning { max-width: 900px; margin: 0 auto; font-size: var(--fs-md); line-height: 1.55; font-weight: 400; color: var(--ink); }
.cp-edge-h { max-width: 900px; margin: 22px auto 10px; font-size: var(--fs-lead); font-weight: 700; color: var(--ink); }
.cp-edge-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.cp-edge-list li { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border: 1px solid var(--accent-ring); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); }
.cp-edge-list strong { font-size: var(--fs-md); font-weight: 700; color: var(--ink); }
.cp-edge-quote { font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.cp-edge-list a { font-size: var(--fs-xs); font-weight: 600; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cp-edge-note { max-width: 900px; margin: 10px auto 0; font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
@media (max-width: 640px) { .cp-edge-list { grid-template-columns: 1fr; } }
.cp-source-links { display: flex; flex-wrap: wrap; gap: 8px 16px; max-width: 900px; margin: 14px auto 0; padding: 0; list-style: none; font-size: var(--fs-xs); font-weight: 600; }
.cp-source-links a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cp-hub-table-wrap { max-width: 1120px; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cp-hub-table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); }
.cp-hub-table caption { padding: 12px 16px; text-align: left; font-size: var(--fs-xs); font-weight: 600; }
.cp-hub-table thead th { padding: 14px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); background: var(--surface); text-align: left; font-size: var(--fs-lead); font-weight: 600; }
.cp-hub-table tbody th, .cp-hub-table tbody td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cp-hub-table tbody tr:last-child > * { border-bottom: 0; }
.cp-hub-table tbody th { width: 19%; font-size: var(--fs-md); font-weight: 600; }
.cp-hub-table tbody th a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cp-hub-table tbody td { font-size: var(--fs-md); line-height: 1.5; font-weight: 400; }
.cp-hub-table tbody td:last-child { width: 25%; white-space: nowrap; }
.cp-hub-table .xbtn { text-decoration: none; }
.cp-table-intro { max-width: 760px; margin-inline: auto; }
.cp-table-wrap { max-width: 1180px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cp-table { width: 100%; border-collapse: separate; border-spacing: 0; color: var(--ink); }
.cp-table caption { padding: 12px 16px; text-align: left; font-size: var(--fs-xs); line-height: 1.5; font-weight: 600; }
.cp-table thead th { padding: 15px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); background: var(--surface); text-align: left; font-size: var(--fs-lead); font-weight: 600; }
.cp-table tbody th, .cp-table tbody td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cp-table tbody tr:last-child > * { border-bottom: 0; }
.cp-table tbody th { width: 20%; min-width: 150px; color: var(--accent-deep); font-size: var(--fs-lead); line-height: 1.4; font-weight: 600; }
.cp-table tbody td { width: 40%; min-width: 220px; }
.cp-table__whizply { background: color-mix(in srgb, var(--accent-soft) 68%, var(--surface)); }
.cp-summary { margin: 0; color: var(--ink); font-size: var(--fs-md); line-height: 1.5; font-weight: 400; }
.cp-citations { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0 0; padding: 0; list-style: none; font-size: var(--fs-xs); line-height: 1.4; font-weight: 600; }
.cp-citations a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cp-edge-tag { display: block; width: fit-content; margin-top: 8px; padding: 4px 8px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-deep); font-size: var(--fs-xs); font-weight: 700; }
.cp-not-compared { margin: 0; color: var(--ink); font-size: var(--fs-sm); line-height: 1.45; }
.cp-faq { display: grid; gap: 12px; max-width: 960px; margin-inline: auto; }
.cp-faq article { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.cp-faq h3 { margin: 0; color: var(--ink); font-size: var(--fs-md); font-weight: 750; }
.cp-faq p { margin: 8px 0 0; color: var(--ink); font-size: var(--fs-md); line-height: 1.5; }

.sx-compare .sx-note a, .sx-compare .sx-method a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.sx-compare .sx-method a { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .cp-hub-table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .cp-hub-table { display: block; }
  .cp-hub-table caption { display: block; padding: 0 0 12px; }
  .cp-hub-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .cp-hub-table tbody { display: grid; gap: 12px; }
  .cp-hub-table tbody tr { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
  .cp-hub-table tbody th { width: auto; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
  .cp-hub-table tbody td { display: grid; grid-template-columns: minmax(72px, 96px) minmax(0, 1fr); gap: 10px; width: auto; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .cp-hub-table tbody td::before { content: attr(data-label); font-size: var(--fs-xs); line-height: 1.4; font-weight: 750; }
  .cp-hub-table tbody td:last-child { width: auto; white-space: normal; }
  .cp-hub-table tbody tr > :last-child { border-bottom: 0; }
  .cp-hub-table tbody .xbtn { width: fit-content; }
  .cp-table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .cp-table { display: block; }
  .cp-table caption { display: block; padding: 0 0 12px; }
  .cp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .cp-table tbody { display: grid; gap: 14px; }
  .cp-table tbody tr { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
  .cp-table tbody th { width: auto; min-width: 0; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
  .cp-table tbody td { display: grid; grid-template-columns: minmax(84px, 110px) minmax(0, 1fr); gap: 10px; width: auto; min-width: 0; padding: 13px 14px; border-bottom: 1px solid var(--line); }
  .cp-table tbody td::before { content: attr(data-label); align-self: start; font-size: var(--fs-xs); font-weight: 750; line-height: 1.4; }
  .cp-table tbody tr > :last-child { border-bottom: 0; }
  .cp-table__whizply { background: color-mix(in srgb, var(--accent-soft) 52%, var(--surface)); }
  .cp-summary, .cp-citations { grid-column: 2; }
  .cp-table .cp-not-compared { grid-column: 2; }
}

@media (max-width: 420px) {
  .cp-table tbody td { grid-template-columns: minmax(72px, 86px) minmax(0, 1fr); gap: 8px; padding-inline: 11px; }
}
