/* Simple modes compared (23 Nov 2026): a real table on wide screens; on phones each phone becomes its own card,
   every answer under its column name. The roles keep it a table for screen readers once display changes. */
.sv-compare-table { width: 100%; margin-top: 1.5rem; border-collapse: collapse; font-size: 1.125rem; line-height: 1.5; }
.sv-compare-table caption { text-align: left; font-weight: 600; margin-bottom: .75rem; }
.sv-compare-table th, .sv-compare-table td { text-align: left; vertical-align: top; padding: .9rem 1rem; }
.sv-compare-table thead th { background: var(--sage); }
.sv-compare-table tbody th { color: var(--pine); }
.sv-compare-table tbody tr { border-top: 1px solid var(--rule); }
.sv-compare-source { margin-top: 1.25rem; color: var(--ink-soft); }
@media (max-width: 899px) {
  .sv-compare-table, .sv-compare-table caption, .sv-compare-table tbody, .sv-compare-table tr, .sv-compare-table th, .sv-compare-table td { display: block; }
  .sv-compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sv-compare-table tbody tr { margin-top: 1rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
  .sv-compare-table tbody th { padding-bottom: .25rem; font-size: 1.25rem; }
  .sv-compare-table td { padding-top: .5rem; }
  /* SVWD-35: the column name is already in the cell for screen readers (data-label); the second content line hides it from them, as /privacy does. Chrome 78, which has no alt text on content, keeps the first line and still shows the word. */
  .sv-compare-table td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-weight: 600; }
}
/* SVWD-33: with enlarged text the table is too wide for a laptop screen (1024px with 200% text needed 229px more), so
   it shows as the phone's cards whenever its column is narrower than 32rem. Standard text never is (the column is at
   least 829px, 47rem, wherever the table shows). Browsers without container queries keep the table. */
.sv-compare { container-type: inline-size; }
@container (max-width: 32rem) {
  .sv-compare-table, .sv-compare-table caption, .sv-compare-table tbody, .sv-compare-table tr, .sv-compare-table th, .sv-compare-table td { display: block; }
  .sv-compare-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sv-compare-table tbody tr { margin-top: 1rem; border: 1px solid var(--rule); border-radius: 16px; background: var(--card); }
  .sv-compare-table tbody th { padding-bottom: .25rem; font-size: 1.25rem; }
  .sv-compare-table td { padding-top: .5rem; }
  /* SVWD-35: the column name is already in the cell for screen readers (data-label); the second content line hides it from them, as /privacy does. Chrome 78, which has no alt text on content, keeps the first line and still shows the word. */
  .sv-compare-table td::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-weight: 600; }
}
@media print {
  .sv-compare-table tbody tr { break-inside: avoid; }
}
