.comparison-page > .argus-comparison { --comparison-header: 78px; padding-top: var(--comparison-header); }

@media (max-width: 820px) {
  .comparison-page > .argus-comparison { --comparison-header: 68px; }
}

@scope (.argus-comparison) {
:scope {
  color-scheme: light;
  --ink: #112630;
  --muted: #4c6571;
  --nav: #0a1a23;
  --nav-deep: #07141c;
  --accent: #00678a;
  --cyan: #66dcff;
  --line: #d9e5ea;
  --page: #f3f7f9;
  --surface: #fff;
  --argus: #e8f6fb;
  --focus: #007bad;
  --radius: 7px;
  font: 100%/1.5 Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.masthead :focus-visible { outline-color: var(--cyan); }
input[type="checkbox"] { accent-color: var(--accent); width: 1rem; height: 1rem; margin: 0; flex: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
svg.lucide { width: 1.1rem; height: 1.1rem; flex: none; stroke-width: 1.85; }
.wrap { width: min(100% - 5rem, 90rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { color: #f5fbff; background: var(--nav); border-bottom: 3px solid #20a7ce; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-block: 35px 37px; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 750; text-transform: uppercase; }
.intro .eyebrow { color: var(--cyan); display: flex; align-items: center; gap: .65rem; }
.intro .eyebrow span { width: 1.45rem; height: 1px; background: var(--cyan); }
h1 { margin-block: .35rem .4rem; font-size: 2.875rem; line-height: 1.12; font-weight: 725; }
.intro-copy { max-width: 39rem; color: #b9d0db; }
.intro-stats { display: flex; padding-block: .55rem; }
.intro-stats > div { padding-inline: 1rem; min-width: 6.15rem; border-inline-start: 1px solid #37515f; }
.intro-stats > div:last-child { padding-inline-end: 0; }
.intro-stats dt { font-size: 1.85rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.intro-stats dd { margin-top: .3rem; color: #b9d0db; font-size: .875rem; }
.intro-stats > div:last-child dt { color: var(--cyan); }

.inline-button { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .1rem; border: 0; background: transparent; color: var(--accent); font-size: .875rem; font-weight: 650; text-align: start; }
.inline-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.inline-button svg { width: 1rem; height: 1rem; }
.quick-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 6px; background: #e0f3fa; color: var(--accent); }

.workspace { min-height: 26rem; padding-block: .8rem 2.75rem; scroll-margin-top: 88px; }
.view-bar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: .55rem; border-bottom: 1px solid #c8dae2; }
.views { display: flex; gap: .75rem; }
.views button { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .4rem .75rem; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 650; font-size: .94rem; white-space: nowrap; }
.views button:hover { background: #eaf2f6; }
.views button[aria-pressed="true"] { color: #005d7b; border-bottom-color: #007da7; }
.workspace-method { margin-inline: .2rem; }
.filters { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(10rem, .48fr) minmax(14rem, .57fr) minmax(9.8rem, .42fr) auto; gap: .75rem; align-items: end; padding-block: 1rem .75rem; }
.filter-options { display: contents; }
.button.filter-toggle { display: none; }
.field { min-width: 0; display: grid; gap: .3rem; color: #294551; font-weight: 675; font-size: .84rem; }
.field > span:first-child { padding-inline-start: .1rem; }
.input-wrap, .select-wrap { display: flex; position: relative; min-width: 0; color: var(--muted); }
.input-wrap > svg, .select-wrap > svg { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.input-wrap > svg { left: .75rem; }
.select-wrap > svg { right: .6rem; width: .95rem; height: .95rem; }
.field input, .field select, .platforms summary { width: 100%; height: 42px; border: 1px solid #b8cdd6; border-radius: 5px; background: #fff; color: var(--ink); font-size: .91rem; font-weight: 500; }
.field input { padding: .375rem .65rem .375rem 2.2rem; }
.field input::placeholder { color: #536c78; }
.field select { appearance: none; cursor: pointer; text-overflow: ellipsis; padding: .35rem 1.9rem .35rem .65rem; }
.platforms { position: relative; min-width: 0; }
.platforms summary { display: flex; align-items: center; gap: .45rem; padding: .35rem .6rem; list-style: none; }
.platforms summary::-webkit-details-marker { display: none; }
.platforms summary svg { color: var(--muted); }
.platforms summary svg:last-child { margin-left: auto; width: .95rem; height: .95rem; }
.platforms[open] summary { border-color: var(--focus); }
.platform-popover { position: absolute; z-index: 10; top: calc(100% + .45rem); right: 0; width: 17rem; max-width: calc(100vw - 2rem); border: 1px solid #afc9d5; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 28px #0a233324; }
.platform-actions { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .4rem .75rem; }
.platform-option { display: flex; align-items: center; gap: .6rem; min-height: 34px; padding: .3rem .75rem; cursor: pointer; font-weight: 500; }
.platform-option:hover { background: #eef7fa; }
.platform-option span { min-width: 0; }
.platform-option small { margin-left: auto; color: var(--muted); }
.platform-option input { margin: 0; width: 1rem; height: 1rem; }
.icon-button { display: inline-grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 5px; border: 1px solid #b8cdd6; background: #fff; color: #335361; }
.icon-button:hover:not(:disabled) { background: #e5f3f8; border-color: #80afc0; color: #005a77; }
.icon-button:disabled { opacity: .48; cursor: default; }
.reset-button { width: 42px; height: 42px; }

.matrix-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .55rem 1rem; padding-block: .25rem .65rem; }
.legend, .legend-item { display: flex; align-items: center; }
.legend { flex-wrap: wrap; gap: .6rem .9rem; }
#result-count { color: #18313e; font-size: .9rem; font-weight: 720; font-variant-numeric: tabular-nums; }
.legend-item { gap: .3rem; color: var(--muted); font-size: .8rem; }
.delivery-legend, .delivery-legend-item { display: flex; flex-wrap: wrap; align-items: center; }
.delivery-legend { gap: .3rem 1rem; margin-bottom: .55rem; color: var(--muted); font-size: .79rem; }
.delivery-legend-item { gap: .25rem .4rem; }
.delivery-badge { display: inline-block; max-width: 100%; padding: .14rem .3rem; border: 1px solid transparent; border-radius: 4px; overflow-wrap: anywhere; font-size: .75rem; font-weight: 650; line-height: 1.2; }
.delivery-module { color: #28566a; background: #e5f0f5; border-color: #c9dce6; }
.delivery-integration { color: #714605; background: #fff0dc; border-color: #ebd5b6; }
.delivery-separate { color: #813a32; background: #f9e9e5; border-color: #ebcfc8; }
.matrix-tools { display: flex; justify-content: end; align-items: center; gap: .4rem; margin-bottom: .45rem; color: var(--muted); font-size: .8rem; }
.matrix-tools .icon-button { width: 34px; height: 31px; }
.matrix-tools span { margin-right: .25rem; }
.table-scroll { border: 1px solid #b9ced8; border-radius: var(--radius); background: #fff; }
.table-scroll.overflows { overflow-x: auto; overscroll-behavior-inline: contain; }
#table { --feature-width: 16.25rem; --argus-width: 5rem; --vendor-width: 6.15rem; --alternatives: 9; width: 100%; min-width: calc(var(--feature-width) + var(--argus-width) + var(--alternatives) * var(--vendor-width)); table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.feature-col { width: var(--feature-width); }
.argus-col { width: var(--argus-width); }
thead th { position: sticky; top: var(--comparison-header); z-index: 3; height: 54px; padding: .4rem .3rem; background: #102c39; color: #edf7fb; text-align: center; font-size: .8rem; line-height: 1.14; }
.overflows thead th { top: 0; }
.overflows thead th { top: auto; }
thead th:first-child { padding-inline: .85rem; text-align: start; border-top-left-radius: 6px; }
thead th:last-child { border-top-right-radius: 6px; }
thead th.argus-cell { background: #087297; color: #fff; }
.overflows .feature-cell, .overflows .argus-cell { position: sticky; }
.overflows .feature-cell { left: 0; }
.overflows .argus-cell { left: var(--feature-width); box-shadow: 1px 0 0 #abd1e0, 5px 0 8px -6px #14354280; }
.overflows thead .feature-cell, .overflows thead .argus-cell { z-index: 4; }
.overflows tbody .feature-cell, .overflows tbody .argus-cell { z-index: 2; }
thead small { display: block; margin-top: .2rem; font-size: .68rem; color: #b9d9e7; }
tbody tr { --row-bg: #fff; --argus-row: #e8f6fb; }
tbody tr:nth-child(even) { --row-bg: #f8fbfc; --argus-row: #e1f2f8; }
tbody tr:hover, tbody tr:focus-within { --row-bg: #edf6fa; --argus-row: #d5eef8; }
tbody td, tbody th { padding: .3rem .25rem; background: var(--row-bg); border-top: 1px solid #dfebef; text-align: center; }
tbody td.argus-cell { background: var(--argus-row); }
tbody th { padding: 0; text-align: start; }
tbody tr:first-child > * { border-top: 0; }
.row-title { display: grid; align-content: center; gap: .17rem; width: 100%; min-height: 53px; padding: .4rem .7rem .4rem .8rem; border: 0; border-inline-start: 3px solid transparent; text-align: start; background: transparent; overflow-wrap: anywhere; }
.row-title:hover .row-label { color: #005a77; text-decoration: underline; text-underline-offset: 2px; }
.row-title:focus-visible, .cell-button:focus-visible { outline-offset: -2px; }
.row-label { font-size: .865rem; line-height: 1.25; font-weight: 700; }
.row-meta { flex-wrap: wrap; display: flex; align-items: center; gap: .2rem .45rem; color: var(--muted); font-size: .72rem; font-weight: 500; }
.cell-button { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: .24rem; width: 100%; min-height: 38px; padding: .18rem .08rem; border: 0; border-radius: 4px; background: transparent; }
.cell-button:hover { background: #dcecf3; }
.cell-button .delivery-badge { font-size: .69rem; }
.status { display: inline-grid; place-items: center; width: 1.78rem; height: 1.78rem; border: 1px solid transparent; border-radius: 5px; }
.status svg { width: .95rem; height: .95rem; stroke-width: 2.1; }
.status-y { background: #e2f3ec; border-color: #c5e3d5; color: #0b684e; }
.status-p, .status-c { background: #ffdfbf; border-color: #e8ac74; color: #814211; }
.status-n { background: #eef2f5; border-color: #e4eaee; color: #526673; }
.legend .status { width: 1.35rem; height: 1.35rem; }
.legend .status svg { width: .76rem; height: .76rem; }
.matrix-note { display: flex; align-items: flex-start; gap: .4rem; margin-top: .75rem; color: var(--muted); font-size: .84rem; }
.matrix-note svg { width: .92rem; height: .92rem; margin-top: .14rem; }
.empty { display: grid; place-items: center; gap: .5rem; padding: 2.5rem 1rem; border: 1px dashed #b8cdd6; border-radius: var(--radius); background: #fff; text-align: center; }
.empty h2 { font-size: 1.16rem; }
.empty > svg { color: var(--accent); width: 1.5rem; height: 1.5rem; }

.detail-view { padding-block: 1.15rem .4rem; }
.detail-index { width: min(100%, 28rem); }
.detail-panel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding-block: 1.7rem; border-bottom: 1px solid #c8dae2; scroll-margin-block-start: calc(var(--comparison-header) + .6rem); }
.detail-panel h2 { margin-block: .35rem .55rem; font-size: 1.65rem; line-height: 1.2; }
.detail-eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--accent); font-size: .8rem; font-weight: 730; }
.detail-eyebrow .quick-icon { width: 1.9rem; height: 1.9rem; }
.detail-points { margin-block: .65rem; padding-inline-start: 1.1rem; }
.detail-points li { margin-block: .25rem; }
.boundary { margin-top: .75rem; padding: .65rem .75rem; border-inline-start: 3px solid #8aafbd; background: #e8f1f5; color: #2b4a58; font-size: .9rem; }
.evidence-image { min-width: 0; padding: .65rem; display: grid; place-items: center; border: 1px solid #cddee7; background: #fff; border-radius: var(--radius); }
.evidence-image a { display: block; width: 100%; cursor: zoom-in; }
.evidence-image img { max-height: 17rem; width: 100%; object-fit: contain; border-radius: 4px; }
.evidence-image figcaption { padding-top: .35rem; color: var(--muted); font-size: .75rem; }
.detail-panel-text { grid-template-columns: minmax(0, 48rem); }
.evidence-flow { list-style: none; margin: 0; padding: .85rem 1.05rem; background: #fff; border: 1px solid #cddee7; border-radius: var(--radius); }
.evidence-flow li { display: flex; align-items: center; gap: .7rem; padding-block: .65rem; }
.evidence-flow li + li { border-top: 1px solid var(--line); }
.evidence-flow small { display: block; color: var(--muted); font-size: .85rem; }
.detail-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin-top: .8rem; }
.detail-links a, .sources a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; font-size: .9rem; text-underline-offset: .2em; }
.detail-links svg, .sources a svg { width: .85rem; height: .85rem; }
.button { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .35rem .7rem; border: 1px solid #aac8d6; border-radius: 5px; color: var(--accent); background: #fff; font-size: .875rem; font-weight: 680; }
.button:hover { background: #e3f3fa; border-color: #78aebe; }

dialog { width: min(100% - 2rem, 39rem); max-height: calc(100dvh - 2rem); padding: 0; margin: auto; border: 1px solid #acc9d5; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 16px 64px #07151c4f; }
dialog::backdrop { background: #07141cb0; }
.dialog-head { position: sticky; z-index: 1; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: #fff; }
.dialog-head h2 { font-size: 1.35rem; line-height: 1.22; margin-top: .2rem; }
.dialog-body { padding: 1rem 1.2rem 1.15rem; }
.dialog-body > p + p { margin-top: .65rem; }
.dialog-body h3 { font-size: 1rem; margin-block: .9rem .4rem; }
.dialog-body .evidence-image { margin-top: .75rem; padding: .4rem; }
.dialog-body .evidence-image img { max-height: 14rem; }
.dialog-status { display: flex; align-items: center; gap: .5rem; margin-bottom: .65rem; font-weight: 720; }
.delivery-detail { margin-block: .8rem .4rem; padding: .75rem .85rem; border: 1px solid #c9dce6; border-inline-start: 3px solid #719cb0; border-radius: 5px; background: #f5f9fb; }
.delivery-detail-integration { border-inline-start-color: #b18435; }
.delivery-detail-separate { border-inline-start-color: #ad6b60; }
.dialog-body .delivery-detail h3 { margin: 0 0 .35rem; }
.delivery-detail-label { display: flex; flex-wrap: wrap; gap: .3rem .5rem; align-items: center; margin-bottom: .35rem; }
.delivery-detail p { color: #2d4956; }
.delivery-detail .detail-links { margin-top: .3rem; }
.method-statuses { list-style: none; margin: .85rem 0 1rem; padding: 0; display: grid; gap: .4rem; }
.method-statuses li { display: flex; gap: .5rem; align-items: center; }
.method-delivery li { align-items: baseline; flex-wrap: wrap; gap: .15rem .45rem; }
.sources { margin: 0; padding-inline-start: 1.2rem; }
.sources li { margin-bottom: .25rem; }

@media (max-width: 1080px) {
  .wrap { width: min(100% - 3rem, 90rem); }
  .filters { grid-template-columns: minmax(11rem, 1fr) minmax(8rem, .65fr) minmax(11rem, .76fr) minmax(8rem, .57fr) auto; gap: .5rem; }
}

@media (max-width: 810px) {
  .wrap { width: calc(100% - 2rem); }
  .intro { gap: .85rem; }
  .intro-stats > div { min-width: 0; padding-inline: .7rem; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .search-field { grid-column: 1 / -1; }
  .platforms-field { grid-column: span 2; }
  .empty { margin-top: .3rem; }
}

@media (max-width: 580px) {
  .intro { grid-template-columns: 1fr; padding-block: 1.35rem 1.15rem; }
  h1 { font-size: 2.05rem; margin-block: .35rem; }
  .intro-copy { font-size: .94rem; }
  .intro-stats { padding-block: .25rem 0; }
  .intro-stats > div { min-width: 5.3rem; }
  .intro-stats dt { font-size: 1.42rem; }
  .intro-stats dd { margin-top: .14rem; font-size: .8rem; }
  .quick-icon { width: 1.65rem; height: 1.65rem; }
  .quick-icon svg { width: .91rem; height: .91rem; }
  .views { gap: .05rem; }
  .views button { min-height: 41px; padding: .3rem .35rem; font-size: .88rem; }
  .workspace-method { min-width: 32px; min-height: 32px; justify-content: center; }
  .workspace-method span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .filters { grid-template-columns: minmax(0, 1fr) auto; padding-top: .65rem; }
  .search-field { grid-column: 1; }
  .button.filter-toggle { display: inline-flex; min-height: 42px; }
  .filter-toggle[aria-expanded="true"] { background: #e3f3fa; border-color: #78aebe; }
  .filter-toggle span { padding: .05rem .3rem; border-radius: 4px; background: #d3edf7; }
  .filter-options { display: none; }
  .filters.is-open .filter-options { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) auto; align-items: end; gap: .5rem; }
  .coverage-field { grid-column: 2 / -1; }
  .matrix-meta { padding-top: .05rem; }
  .legend { gap: .2rem .6rem; }
  .legend-item { font-size: .75rem; }
  .delivery-legend { gap: .2rem .4rem; font-size: .73rem; }
  .delivery-legend-item { gap: .15rem .27rem; }
  .delivery-legend-item > span:not(.delivery-badge) { font-size: .71rem; }
  .delivery-legend .delivery-badge { font-size: .7rem; }
  #table { --feature-width: 9rem; --argus-width: 4.55rem; --vendor-width: 6.1rem; }
  thead th:first-child { padding-inline-start: .48rem; }
  .row-title { min-height: 58px; padding: .35rem .28rem .35rem .4rem; }
  .row-label { font-size: .8rem; }
  .row-meta { display: none; }
  .detail-panel { grid-template-columns: 1fr; }
  .detail-panel h2 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
}
