/* Public /comparative/ page: 16 tool columns beside one feature column. */
.k-compare-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 18px; padding: 0; list-style: none;
  font: 400 14px/1.4 var(--font); color: var(--slate-text); }
.k-compare-stars { color: var(--blue-deep); letter-spacing: .02em; white-space: nowrap; }
.k-compare-none { color: var(--slate-text); opacity: .55; }
.k-compare-planned { font-size: 11px; font-weight: 800; color: var(--slate-text); }
.k-compare-note { max-width: 80ch; margin: 18px 0 0; font: 400 14px/1.5 var(--font); color: var(--slate-text); }

.k-compare { min-width: 1120px; table-layout: fixed; font-size: 13px; }
.k-compare__feature-col { width: 270px; }
.k-compare th, .k-compare td { padding: 8px 4px; text-align: center; vertical-align: middle; }
.k-compare .k-compare__feature { position: sticky; left: 0; z-index: 2; padding: 8px 12px;
  background: var(--white); font-weight: 600; text-align: start; white-space: normal; color: var(--navy);
  border-top: 1px solid var(--rule); box-shadow: 1px 0 0 var(--rule); }

/* Column headers: names read bottom to top so 16 columns fit. */
.k-compare__groups th { padding: 8px 4px; border-inline-start: 2px solid var(--white); font-size: 12px; white-space: normal; }
.k-compare__groups td { padding: 0; background: var(--row-tint); border-top: 0; }
.k-compare__corner { position: sticky; left: 0; z-index: 3; }
.k-compare__tools th { height: 92px; vertical-align: bottom; }
.k-compare__tools th span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); }
.k-compare__tools .k-compare__feature { background: var(--row-tint); border-top: 0; vertical-align: bottom; }

.k-compare__family th { padding: 0; background: var(--row-tint); font-weight: 900; text-align: start; }
.k-compare__family span { position: sticky; left: 0; display: inline-block; padding: 10px 12px; }

/* AkOOre's own column stands out without leaning on a single colour word. */
.k-compare .k-compare__own { background: var(--row-tint); font-weight: 800; }

.k-compare tfoot td { font-size: 12px; font-weight: 700; }
.k-compare tfoot th, .k-compare tfoot td { border-top: 2px solid var(--rule); }

@media (max-width: 720px) {
  .k-compare { min-width: 1000px; }
  .k-compare__feature-col { width: 150px; }
  .k-compare .k-compare__feature { padding: 8px; font-size: 12px; }
}
