/* Shared comparison styles are scoped to the commercial page feature. */
.commercial-landing .edition-comparison {
  --edition-border: var(--vp-c-divider);
  --edition-pro-bg: #f8faff;
  --edition-highlight: #fffbef;
  --edition-band: #e4ebf5;
  --edition-blue: #355b94;
  margin: 18px 0 44px;
}
.commercial-landing .edition-intro { margin: 0 0 14px; color: var(--vp-c-text-2); line-height: 1.9; }
.commercial-landing .edition-download { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.commercial-landing .edition-download a { display: inline-block; padding: 8px 15px; border: 1px solid var(--edition-border); border-radius: 6px; color: var(--vp-c-brand-1); font-size: 14px; font-weight: 600; text-decoration: none; }
.commercial-landing .edition-download a:hover { border-color: var(--vp-c-brand-1); }
.commercial-landing .edition-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0 18px; color: var(--vp-c-text-2); font-size: 12px; }
.commercial-landing .edition-legend strong { margin-right: 6px; color: var(--vp-c-text-1); }
.commercial-landing .edition-legend .edition-gold { color: #976318; }
.commercial-landing .edition-scroll-hint { display: none; }
.commercial-landing .edition-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--edition-border); border-bottom: 0; border-radius: 7px 7px 0 0; background: var(--vp-c-bg-soft); }
.commercial-landing .edition-jump { display: flex; align-items: center; gap: 18px; }
.commercial-landing .edition-jump a { color: var(--vp-c-brand-1); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.commercial-landing .edition-search { margin-left: auto; }
.commercial-landing .edition-search input { width: 225px; padding: 7px 10px; border: 1px solid var(--edition-border); border-radius: 4px; background: var(--vp-c-bg); color: var(--vp-c-text-1); font: inherit; font-size: 12px; }
.commercial-landing .edition-checkbox { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.commercial-landing .edition-checkbox input { width: 15px; height: 15px; margin: 0; accent-color: var(--vp-c-brand-1); }
.commercial-landing .edition-reset { padding: 7px 10px; border: 1px solid var(--edition-border); border-radius: 4px; background: var(--vp-c-bg); color: var(--vp-c-text-2); cursor: pointer; font-size: 12px; }
.commercial-landing .edition-general-toggle { padding: 7px 10px; border: 1px solid var(--vp-c-brand-1); border-radius: 4px; background: var(--vp-c-bg); color: var(--vp-c-brand-1); cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.commercial-landing .edition-general-toggle:hover,
.commercial-landing .edition-general-toggle[aria-expanded="true"] { background: var(--vp-c-brand-soft); }
.commercial-landing .edition-comparison :is(a, button, input):focus-visible,
.commercial-landing .edition-table-wrap:focus-visible { outline: 2px solid var(--vp-c-brand-1); outline-offset: 3px; }
.commercial-landing .edition-table-wrap { overflow-x: auto; border: 1px solid var(--edition-border); border-radius: 0 0 7px 7px; }
.commercial-landing .edition-table { display: table; width: 100%; min-width: 740px; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.85; }
.commercial-landing .edition-feature-col { width: 26%; }
.commercial-landing .edition-oss-col { width: 28%; }
.commercial-landing .edition-pro-col { width: 46%; }
.commercial-landing .edition-table tr { border: 0; background: var(--vp-c-bg); }
.commercial-landing .edition-table th,
.commercial-landing .edition-table td { padding: 13px 16px; border: 0; border-right: 1px solid var(--edition-border); border-bottom: 1px solid var(--edition-border); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.commercial-landing .edition-table th:first-child,
.commercial-landing .edition-table td:first-child { min-width: 0; white-space: normal; }
.commercial-landing .edition-table tr > :last-child { border-right: 0; }
.commercial-landing .edition-table thead th { background: #25364e; color: #fff; font-size: 15px; font-weight: 600; }
.commercial-landing .edition-table thead th:last-child { background: #365b91; }
.commercial-landing .edition-table thead small { display: block; margin-top: 2px; color: #d3dfef; font-size: 10px; font-weight: 400; }
.commercial-landing .edition-table .edition-end th { padding: 18px 16px; background: var(--edition-band); color: var(--vp-c-text-1); font-size: 22px; font-weight: 600; }
.commercial-landing .edition-end tr { scroll-margin-top: 90px; }
.commercial-landing .edition-end-number { display: inline-block; width: 32px; color: var(--vp-c-text-2); font-size: 12px; font-weight: 400; }
.commercial-landing .edition-end small { display: inline-block; margin-left: 17px; color: var(--vp-c-text-2); font-size: 12px; font-weight: 400; }
.commercial-landing .edition-table .edition-group th { padding: 9px 16px; background: var(--vp-c-bg-soft); color: var(--vp-c-text-2); font-size: 13px; font-weight: 600; }
.commercial-landing .edition-feature > th { font-size: 14px; font-weight: 600; }
.commercial-landing .edition-scope { display: block; margin-top: 4px; color: var(--vp-c-text-2); font-size: 11px; font-weight: 400; line-height: 1.7; }
.commercial-landing .edition-table .edition-commercial { background: var(--edition-pro-bg); }
.commercial-landing .edition-table .edition-support { color: var(--edition-blue); font-weight: 600; }
.commercial-landing .edition-table .edition-unavailable { color: var(--vp-c-text-2); }
.commercial-landing .edition-table .edition-selling { background: var(--edition-highlight); }
.commercial-landing .edition-table .edition-highlight > th { border-left: 3px solid #cfad61; padding-left: 13px; }
.commercial-landing .edition-feature:target { outline: 2px solid #bc9a51; outline-offset: -2px; }
.commercial-landing .edition-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--vp-c-text-2); font-size: 11px; }
.commercial-landing .edition-empty { padding: 26px; border: 1px solid var(--edition-border); text-align: center; font-size: 13px; color: var(--vp-c-text-2); }
.commercial-landing .edition-notes { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--edition-border); }
.commercial-landing .edition-notes h3 { margin: 0 0 12px; font-size: 18px; }
.commercial-landing .edition-notes p { margin: 8px 0; color: var(--vp-c-text-2); font-size: 13px; line-height: 1.9; }
.commercial-landing .edition-notes strong { margin-right: 7px; color: var(--vp-c-text-1); }
.commercial-landing .edition-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.dark .commercial-landing .edition-comparison { --edition-pro-bg: #202b3c; --edition-highlight: #3b3322; --edition-band: #26364f; --edition-blue: #a8c7f8; }
.dark .commercial-landing .edition-legend .edition-gold { color: #ddbc7e; }
/* The site theme uses important dark table overrides; keep the comparison legible. */
.dark .commercial-landing .edition-table td { color: var(--vp-c-text-1) !important; }
.dark .commercial-landing .edition-table .edition-support { color: var(--edition-blue) !important; }
.dark .commercial-landing .edition-table .edition-unavailable { color: var(--vp-c-text-2) !important; }
.dark .commercial-landing .edition-table thead th { background: #25364e !important; color: #fff !important; }
.dark .commercial-landing .edition-table thead th:last-child { background: #365b91 !important; }
.dark .commercial-landing .edition-table .edition-end th { background: var(--edition-band) !important; }
.dark .commercial-landing .edition-table .edition-highlight > th { border-left-color: #cfad61 !important; }

@media (max-width: 1100px) {
  .commercial-landing .edition-search { margin-left: 0; flex: 1; }
  .commercial-landing .edition-search input { width: 100%; }
}
@media (max-width: 800px) {
  .commercial-landing .edition-table { min-width: 800px; }
  .commercial-landing .edition-scroll-hint { display: block; margin: 0 0 8px; color: var(--vp-c-text-2); font-size: 12px; }
  .commercial-landing .edition-jump { width: 100%; justify-content: space-between; }
  .commercial-landing .edition-search { flex-basis: 100%; }
  .commercial-landing .edition-toolbar { gap: 10px; }
  .commercial-landing .edition-reset { margin-left: auto; }
  .commercial-landing .edition-end small { display: block; margin: 5px 0 0 32px; }
  .commercial-landing .edition-meta { flex-wrap: wrap; font-size: 10px; }
}
@media print {
  .commercial-landing .edition-comparison { --edition-pro-bg: #f8faff; --edition-highlight: #fffbef; --edition-band: #e4ebf5; --edition-blue: #355b94; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .commercial-landing .edition-download,
  .commercial-landing .edition-toolbar,
  .commercial-landing .edition-meta,
  .commercial-landing .edition-scroll-hint,
  .commercial-landing .edition-empty { display: none; }
  .commercial-landing .edition-table-wrap { overflow: visible; }
  .commercial-landing .edition-table { min-width: 0; font-size: 10px; }
  .commercial-landing .edition-table thead { display: table-header-group; }
  .commercial-landing .edition-table th,
  .commercial-landing .edition-table td { padding: 8px; }
  .commercial-landing .edition-feature > th { font-size: 11px; }
  .commercial-landing .edition-scope { font-size: 9px; }
  .commercial-landing .edition-table .edition-end th { font-size: 17px; padding: 12px 8px; }
  .commercial-landing .edition-table .edition-highlight > th { padding-left: 5px; }
  .commercial-landing .edition-table tr { break-inside: avoid; }
  .commercial-landing .edition-group,
  .commercial-landing .edition-end tr { break-after: avoid; }
  .commercial-landing .edition-notes { break-inside: avoid; }
}
