/* Compare page (compare.html), from the owner-approved mock D (2026-11-09): an "At a glance" dot
   matrix above the full side-by-side grid, both on mist so they read as one block, then the "Where
   others are stronger" box. A file, not a <style>, like the site's other styles. Both tables scroll
   sideways on small screens with the first column kept in view. */

/* Tables */
.cx-wrap { overflow-x:auto; border:1px solid var(--pw-border); border-radius:var(--pw-radius-card); background:#fff; }
.cx { border-collapse:separate; border-spacing:0; min-width:1160px; width:100%; font-size:.875rem; line-height:1.4; }
.cx th, .cx td { padding:.9rem .85rem; border-bottom:1px solid var(--pw-border); vertical-align:top; text-align:left; }
.cx thead th { position:sticky; top:0; background:var(--pw-mist); font-size:.8125rem; z-index:2; }
.cx thead th small { display:block; font-weight:500; color:var(--pw-slate); margin-top:.15rem; }
.cx th[scope=row] { position:sticky; left:0; background:#fff; font-weight:700; width:180px; z-index:1; color:var(--pw-navy-950); }
.cx thead th:first-child { left:0; z-index:3; }
.cx .cx-pw { background:#E9F7F8; font-weight:600; color:var(--pw-navy-950); border-left:2px solid var(--pw-teal-500); border-right:2px solid var(--pw-teal-500); }
.cx thead .cx-pw { background:var(--pw-navy-950); color:#fff; border-top:2px solid var(--pw-teal-500); }
.cx thead .cx-pw small { color:var(--pw-on-dark-muted); }

/* Marks: shape and text carry the meaning, colour only adds to it */
.cx-mark { font-size:1rem; margin-right:.15rem; }
.cx-y .cx-mark { color:var(--pw-success); }
.cx-p .cx-mark { color:var(--pw-warning); }
.cx-n .cx-mark, .cx-u .cx-mark { color:#8A99A8; }
.cx-legend { display:flex; gap:1.25rem; flex-wrap:wrap; font-size:.8125rem; color:var(--pw-slate); margin:1rem 0 0; }
.cx-src { font-size:.8125rem; color:var(--pw-slate); margin-top:1.25rem; max-width:70rem; }

/* At a glance */
.cx-mini { background:#fff; width:100%; min-width:1000px; border-collapse:collapse; font-size:.875rem; }
.cx-mini th, .cx-mini td { padding:.7rem .6rem; border-bottom:1px solid var(--pw-border); text-align:center; }
.cx-mini th:first-child, .cx-mini td:first-child { text-align:left; }
.cx-mini th[scope=row] { position:sticky; left:0; background:#fff; font-weight:400; z-index:1; }
.cx-mini thead th:first-child { position:sticky; left:0; background:#fff; z-index:1; }
.cx-mini .cx-pw { background:#E9F7F8; font-weight:700; border-left:2px solid var(--pw-teal-500); border-right:2px solid var(--pw-teal-500); }
.cx-mini thead .cx-pw { background:var(--pw-navy-950); color:#fff; border-top:2px solid var(--pw-teal-500); }
.cx-mini tbody tr:last-child .cx-pw { border-bottom:2px solid var(--pw-teal-500); }

/* Phones: a narrower kept-in-view first column leaves room for the vendor being read */
@media (max-width:600px) {
  .cx th[scope=row] { width:130px; min-width:130px; }
  .cx-mini th[scope=row] { max-width:150px; white-space:normal; }
}

/* The two mist sections read as one block */
.cx-joined-top { padding-bottom:1.5rem; }
.cx-joined-bottom { padding-top:1.5rem; }

/* Where others are stronger */
.cx-stronger { border-left:4px solid var(--pw-warning); background:#FFF9EC; padding:1.25rem 1.5rem; border-radius:.5rem; font-size:.95rem; }
.cx-stronger ul { margin:.5rem 0 0 1.1rem; }
.cx-limits { margin:.75rem 0 0; }
