/* Compare page v8 (COMPARE_V8_ON; compare_v8.py): Design's cmp.css (scratch/design/compare-20261117), every rule only under the switch's class on <html>.
   Tokens only; no pills, 6px max radius, hover gated, 44px targets. Key details colours: categorical slots 1-3 (blue, orange, aqua) as Design
   validated them all-pairs, and for a 4th product violet (light #4a3aa7, dark #5a48c8: all-pairs with slots 1-3 PASS, light on #fcfdfb and dark
   on #0b1214; dark violet under 3:1, so every bar carries its label, the relief rule). Never yellow (store buttons only). */
:where(.g-compare-v8) .cmp-h1{margin:6px 0 4px}
:where(.g-compare-v8) .cmp-lede{margin:0 0 18px;color:var(--muted)}
:where(.g-compare-v8) .cmp-sum{margin:0 0 18px;padding:14px 18px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
:where(.g-compare-v8) .cmp-sum h2{margin:0 0 6px;font-size:18px}
:where(.g-compare-v8) .cmp-sum ul{margin:0;padding-left:18px;display:grid;gap:4px;line-height:1.45}
:where(.g-compare-v8) .cmp-sum-note{margin:8px 0 0;color:var(--muted)}
:where(.g-compare-v8) .cmp-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
:where(.g-compare-v8) .cmp-seg{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--surface)}
:where(.g-compare-v8) .cmp-seg button{min-height:44px;padding:0 16px;border:0;background:none;font:inherit;font-weight:600;color:var(--muted);cursor:pointer;touch-action:manipulation}
:where(.g-compare-v8) .cmp-seg button+button{border-left:1px solid var(--line)}
:where(.g-compare-v8) .cmp-seg button[aria-checked=true]{background:var(--ink);color:var(--surface)}
:where(.g-compare-v8) .cmp-tools-r{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
:where(.g-compare-v8) .cmp-clear{min-height:44px;color:var(--ink);font-weight:600}
:where(.g-compare-v8) .cmp-t{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;background:var(--surface);border:1px solid var(--line);border-radius:6px}
:where(.g-compare-v8) .cmp-t th,:where(.g-compare-v8) .cmp-t td{padding:11px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-size:14px;line-height:1.4;overflow-wrap:anywhere}
:where(.g-compare-v8) .cmp-t tbody th[scope=row]{width:200px;font-weight:600;color:var(--muted);font-size:13px}
:where(.g-compare-v8) .cmp-corner{width:200px;vertical-align:bottom!important}
:where(.g-compare-v8) .cmp-count{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
:where(.g-compare-v8) .cmp-sticky th,:where(.g-compare-v8) .cmp-sticky td{position:sticky;top:var(--cmp-top,0px);z-index:3;background:var(--surface);border-bottom:2px solid var(--line)}
:where(.g-compare-v8) .cmp-hin{position:relative;display:grid;grid-template-columns:44px 1fr;column-gap:10px;align-items:start}
:where(.g-compare-v8) .cmp-thumb{grid-row:1/span 4;display:flex;align-items:center;justify-content:center;width:44px;height:44px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:var(--image-surface,var(--surface));color:var(--muted)}
:where(.g-compare-v8) .cmp-thumb img{width:100%;height:100%;object-fit:contain}
:where(.g-compare-v8) .cmp-ph{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
:where(.g-compare-v8) .cmp-name{font-weight:700;color:var(--ink);text-decoration:none;padding-right:30px;line-height:1.3}
:where(.g-compare-v8) .cmp-brand{font-size:13px;color:var(--muted)}
:where(.g-compare-v8) .cmp-price{margin:4px 0 0;font-size:13px;color:var(--muted)}
:where(.g-compare-v8) .cmp-price b{font-size:17px;color:var(--ink)}
:where(.g-compare-v8) .cmp-go{grid-column:1/-1;margin:8px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
:where(.g-compare-v8) .cmp-store{min-width:0!important;max-width:100%;min-height:44px!important}
:where(.g-compare-v8) .cmp-plink{display:inline-flex;align-items:center;min-height:44px;font-weight:600;color:var(--ink)}
:where(.g-compare-v8) .cmp-t .cmp-x{box-shadow:none;border-radius:0;padding:0;position:absolute;top:-4px;right:-6px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:none;color:var(--muted);cursor:pointer}
:where(.g-compare-v8) .cmp-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
@media (hover:hover){:where(.g-compare-v8) .cmp-x:hover{color:var(--ink)}:where(.g-compare-v8) .cmp-gbtn:hover{color:var(--ink)}}
:where(.g-compare-v8) .cmp-swap{display:none}
:where(.g-compare-v8) .cmp-mgo{display:none}
:where(.g-compare-v8) .cmp-gh th{padding:0;background:var(--bg,transparent)}
:where(.g-compare-v8) .cmp-gbtn,:where(.g-compare-v8) .cmp-gtitle{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 14px;border:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--ink);text-align:left;cursor:pointer}
:where(.g-compare-v8) .cmp-gtitle{cursor:default}
:where(.g-compare-v8) .cmp-gbtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s ease-out}
:where(.g-compare-v8) .cmp-gbtn[aria-expanded=false] svg{transform:rotate(-90deg)}
:where(.g-compare-v8) .cmp-gn{font-weight:500;font-size:13px;color:var(--muted)}
:where(.g-compare-v8) .cmp-closed .cmp-r{display:none}
:where(.g-compare-v8) .cmp-glance .cmp-gh th{background:color-mix(in srgb,var(--green) 6%,var(--surface))}
:where(.g-compare-v8) .cmp-gh .cmp-gadd{padding:0;background:var(--bg,transparent)}
:where(.g-compare-v8) .cmp-glance .cmp-gh .cmp-gadd{background:color-mix(in srgb,var(--green) 6%,var(--surface))}
:where(.g-compare-v8) .cmp-unk{color:var(--muted);font-style:italic}
:where(.g-compare-v8) .cmp-sub{display:block;font-size:12px;color:var(--muted)}
:where(.g-compare-v8) .cmp-best{background:color-mix(in srgb,var(--green) 9%,var(--surface));font-weight:650;color:var(--ink)}
:where(.g-compare-v8) .cmp-ck{width:15px;height:15px;margin-right:5px;vertical-align:-2px;fill:none;stroke:var(--green);stroke-width:2.6}
:where(.g-compare-v8) .cmp-star{width:13px;height:13px;margin-right:3px;vertical-align:-1px;fill:var(--review-star-fill);stroke:var(--review-star-outline)}
:where(.g-compare-v8) .cmp-diff .cmp-same{display:none}
:where(.g-compare-v8) .cmp-bar{display:block;height:4px;margin-top:6px;border-radius:2px;background:color-mix(in srgb,var(--line) 70%,transparent);overflow:hidden;max-width:180px}
:where(.g-compare-v8) .cmp-bar i{display:block;height:100%;border-radius:2px;background:var(--muted)}
:where(.g-compare-v8) .cmp-best .cmp-bar i{background:var(--green)}
:where(.g-compare-v8) .cmp-lab{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
:where(.g-compare-v8) .cmp-verdict{display:block;margin-top:4px;font-size:12px;font-weight:500;line-height:1.35;color:var(--ink)}
:where(.g-compare-v8) .cmp-i{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin:-6px 0;padding:0;border:0;background:none;color:var(--muted);cursor:pointer}
:where(.g-compare-v8) .cmp-i svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
:where(.g-compare-v8) .cmp-i::after{content:"";position:absolute;left:-8px;top:-8px;width:44px;height:44px}
:where(.g-compare-v8) .cmp-tip{display:block;margin-top:6px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font-size:12px;font-weight:500;line-height:1.4;color:var(--ink)}
:where(.g-compare-v8) .cmp-tip[hidden]{display:none}
:where(.g-compare-v8) .cmp-addcol{background:color-mix(in srgb,var(--line) 25%,var(--surface))!important}
:where(.g-compare-v8) .cmp-empty{background:color-mix(in srgb,var(--line) 25%,var(--surface))}
:where(.g-compare-v8) .cmp-find{position:relative;margin:0}
:where(.g-compare-v8) .cmp-find input{width:100%;box-sizing:border-box;min-height:44px;padding:0 10px;font:inherit;font-size:16px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink)}
:where(.g-compare-v8) .cmp-found{position:absolute;left:0;right:0;top:100%;z-index:5;margin:4px 0 0;padding:4px;list-style:none;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 4px 16px rgba(5,15,20,.12);max-height:260px;overflow:auto}
:where(.g-compare-v8) .cmp-found[hidden]{display:none}
:where(.g-compare-v8) .cmp-found button{display:block;width:100%;min-height:44px;padding:6px 8px;border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:var(--ink);text-align:left;cursor:pointer}
:where(.g-compare-v8) .cmp-sugh{margin:8px 0 4px;font-size:12px;font-weight:500;color:var(--muted)}
:where(.g-compare-v8) .cmp-sug{margin:0;padding:0;list-style:none;display:grid;gap:6px}
:where(.g-compare-v8) .cmp-sug li{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:600;line-height:1.3}
:where(.g-compare-v8) .cmp-addb{flex:none;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font:inherit;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer}
:where(.g-compare-v8) .cmp-tb{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;border:0;background:none;font:inherit;font-weight:600;color:var(--ink);cursor:pointer}
:where(.g-compare-v8) .cmp-tb svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (hover:hover){:where(.g-compare-v8) .cmp-addb:hover,:where(.g-compare-v8) .cmp-tb:hover{color:var(--green)}:where(.g-compare-v8) .cmp-t tbody .cmp-r:hover>*{background-color:color-mix(in srgb,var(--green) 4%,var(--surface))}:where(.g-compare-v8) .cmp-found button:hover{background:color-mix(in srgb,var(--line) 35%,var(--surface))}}
:where(.g-compare-v8) .cmp-paid{margin:10px 0 0;color:var(--muted)}
/* Key details: small multiples */
:where(.g-compare-v8) .kc{--kc-1:#2a78d6;--kc-2:#eb6834;--kc-3:#1baf7a;--kc-4:#4a3aa7;margin:0 0 18px;padding:14px 18px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
html[data-mode=dark]:where(.g-compare-v8) .kc{--kc-1:#3987e5;--kc-2:#d95926;--kc-3:#199e70;--kc-4:#5a48c8}
@media (prefers-color-scheme:dark){html:not([data-mode=light]):where(.g-compare-v8) .kc{--kc-1:#3987e5;--kc-2:#d95926;--kc-3:#199e70;--kc-4:#5a48c8}}
:where(.g-compare-v8) .kc-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:6px 16px;margin-bottom:10px}
:where(.g-compare-v8) .kc-head h2{margin:0;font-size:18px}
:where(.g-compare-v8) .kc-legend{display:flex;flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;list-style:none;font-size:13px;font-weight:600;color:var(--ink)}
:where(.g-compare-v8) .kc-legend li{display:inline-flex;align-items:center;gap:6px;min-width:0;overflow-wrap:anywhere}
:where(.g-compare-v8) .kc-sw{flex:none;width:12px;height:12px;border-radius:3px}
:where(.g-compare-v8) .kc-s1{background:var(--kc-1)}:where(.g-compare-v8) .kc-s2{background:var(--kc-2)}:where(.g-compare-v8) .kc-s3{background:var(--kc-3)}:where(.g-compare-v8) .kc-s4{background:var(--kc-4)}
:where(.g-compare-v8) .kc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px 22px}
:where(.g-compare-v8) .kc-p{margin:0;min-width:0}
:where(.g-compare-v8) .kc-p figcaption{display:flex;flex-direction:column;margin-bottom:6px;font-size:13px;line-height:1.3}
:where(.g-compare-v8) .kc-p figcaption b{color:var(--ink)}
:where(.g-compare-v8) .kc-p figcaption span{font-size:12px;color:var(--muted)}
:where(.g-compare-v8) .kc-row{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:8px;min-height:22px;margin-top:2px}
:where(.g-compare-v8) .kc-lab{font-size:12px;line-height:1.2;color:var(--muted);overflow-wrap:anywhere}
:where(.g-compare-v8) .kc-track{position:relative;display:grid;grid-template-columns:minmax(0,1fr) var(--kc-vw,74px);align-items:center;gap:6px;min-width:0;border-left:1px solid var(--line)}
:where(.g-compare-v8) .kc-zone{display:block;min-width:0}
:where(.g-compare-v8) .kc-bar{display:block;height:10px;border-radius:0 4px 4px 0}
:where(.g-compare-v8) .kc-val{font-size:12px;font-weight:650;color:var(--ink);white-space:nowrap}
:where(.g-compare-v8) .kc-unk{grid-column:1/-1;padding-left:6px;font-size:12px;font-style:italic;color:var(--muted)}
:where(.g-compare-v8) .kc-note{margin:10px 0 0;color:var(--muted)}
:where(.g-compare-v8) .kc-rc{display:block;font-size:11px;font-weight:500;color:var(--muted)}
@media (hover:hover){:where(.g-compare-v8) .kc-row[data-tip]:hover::after{content:attr(data-tip);position:absolute;left:104px;bottom:100%;z-index:4;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:var(--surface);font-size:12px;font-weight:600;color:var(--ink);white-space:nowrap;box-shadow:0 2px 8px rgba(5,15,20,.12)}}
/* the compare bar on list and product pages: the picked products from cs-compare, Remove, Compare now; the phone's old link gives way to it */
:where(.g-compare-v8) #compareBar{display:none!important}
:where(.g-compare-v8) .cmp-tray{position:fixed;left:12px;right:12px;bottom:12px;z-index:40;max-width:1100px;margin:0 auto;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 -8px 24px rgba(5,15,20,.12)}
:where(.g-compare-v8) .cmp-tray[hidden]{display:none}
:where(.g-compare-v8) .cmp-tray-in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:10px 14px}
:where(.g-compare-v8) .cmp-tray-n{font-size:14px;color:var(--muted)}
:where(.g-compare-v8) .cmp-tray-n b{color:var(--ink)}
:where(.g-compare-v8) .cmp-tray-c{white-space:nowrap}
:where(.g-compare-v8) .cmp-tray-c .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
:where(.g-compare-v8) .cmp-tray-item{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:280px;padding:4px 4px 4px 8px;border:1px solid var(--line);border-radius:6px;font-size:13px;font-weight:600;color:var(--ink)}
:where(.g-compare-v8) .cmp-tray-item>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:where(.g-compare-v8) .cmp-tray-item img,:where(.g-compare-v8) .cmp-tray-item .cmp-ph{flex:none;width:28px;height:28px;object-fit:contain;color:var(--muted)}
:where(.g-compare-v8) .cmp-tray-item button{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-6px -4px -6px 0;padding:0;border:0;background:none;color:var(--muted);cursor:pointer}
:where(.g-compare-v8) .cmp-tray-item button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
:where(.g-compare-v8) .cmp-tray-go{margin-left:auto;min-height:44px;display:inline-flex;align-items:center}
:where(.g-compare-v8) body.cmp-tray-on{padding-bottom:var(--cmp-tray-h,96px)}
:where(.g-compare-v8) body.buybar-on .cmp-tray{bottom:calc(var(--buybar-h,68px) + 12px)}
/* phones: two products side by side; the first pinned, the second chosen with Swap */
@media (max-width:640px){
  :where(.g-compare-v8) .cmp-t,:where(.g-compare-v8) .cmp-t thead,:where(.g-compare-v8) .cmp-t tbody,:where(.g-compare-v8) .cmp-t tr{display:block}
  :where(.g-compare-v8) .cmp-sticky{position:sticky;top:var(--cmp-top,0px);z-index:3;background:var(--surface);border-bottom:2px solid var(--line)}
  :where(.g-compare-v8) .cmp-sticky th,:where(.g-compare-v8) .cmp-sticky td{position:static;border-bottom:0}
  :where(.g-compare-v8) .cmp-t .cmp-sticky tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  :where(.g-compare-v8) .cmp-corner{display:none!important}
  :where(.g-compare-v8) .cmp-t .cmp-cadd,:where(.g-compare-v8) .cmp-t .cmp-c3,:where(.g-compare-v8) .cmp-t .cmp-c4{display:none!important}
  :where(.g-compare-v8) .cmp-t.cmp-sel-3 .cmp-c3,:where(.g-compare-v8) .cmp-t.cmp-sel-4 .cmp-c4{display:block!important}
  :where(.g-compare-v8) .cmp-t.cmp-sel-3 .cmp-c2,:where(.g-compare-v8) .cmp-t.cmp-sel-4 .cmp-c2{display:none!important}
  :where(.g-compare-v8) .cmp-t .cmp-r{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  :where(.g-compare-v8) .cmp-t.cmp-n1 .cmp-r,:where(.g-compare-v8) .cmp-t.cmp-n1 .cmp-sticky tr{grid-template-columns:minmax(0,1fr)}
  :where(.g-compare-v8) .cmp-t td,:where(.g-compare-v8) .cmp-t th{display:block;min-width:0}
  :where(.g-compare-v8) .cmp-diff .cmp-t .cmp-same{display:none}
  :where(.g-compare-v8) .cmp-t .cmp-closed .cmp-r{display:none}
  :where(.g-compare-v8) .cmp-t tbody th[scope=row]{grid-column:1/-1;width:auto;padding:8px 12px 0;border-bottom:0}
  :where(.g-compare-v8) .cmp-t th,:where(.g-compare-v8) .cmp-t td{padding:8px 12px}
  :where(.g-compare-v8) .cmp-r td{border-bottom:1px solid var(--line)}
  :where(.g-compare-v8) .cmp-gh{display:block}
  :where(.g-compare-v8) .cmp-hin{grid-template-columns:minmax(0,1fr)}
  :where(.g-compare-v8) .cmp-thumb{display:none}
  :where(.g-compare-v8) .cmp-name{font-size:14px;padding-right:34px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  :where(.g-compare-v8) .cmp-price b{font-size:15px}
  :where(.g-compare-v8) .cmp-sticky .cmp-go,:where(.g-compare-v8) .cmp-sticky .cmp-brand{display:none}
  :where(.g-compare-v8) .cmp-mgo{display:flex;flex-direction:column;gap:4px;margin-top:8px}
  :where(.g-compare-v8) .cmp-swap{position:relative;display:flex;align-items:center;gap:6px;margin:0 0 6px;padding-right:40px;min-width:0;min-height:44px;font-size:12px;color:var(--muted)}
  :where(.g-compare-v8) .cmp-swapb{display:inline-flex;flex:none;align-items:center;gap:4px;min-height:44px;padding:0 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);font:inherit;font-size:13px;font-weight:600;color:var(--ink);white-space:nowrap;cursor:pointer}
  :where(.g-compare-v8) .cmp-swapb svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
  :where(.g-compare-v8) .cmp-swapl{position:absolute;left:0;top:100%;z-index:6;min-width:220px;margin:4px 0 0;padding:4px;list-style:none;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:0 4px 16px rgba(5,15,20,.16)}
  :where(.g-compare-v8) .cmp-swapl[hidden]{display:none}
  :where(.g-compare-v8) .cmp-swapo{display:block;width:100%;min-height:44px;padding:6px 8px;border:0;background:none;font:inherit;font-size:14px;font-weight:600;color:var(--ink);text-align:left;cursor:pointer}
  :where(.g-compare-v8) .cmp-swapo[aria-selected=true]{background:color-mix(in srgb,var(--line) 35%,var(--surface))}
  :where(.g-compare-v8) .cmp-pin{font-weight:600}
  :where(.g-compare-v8) .cmp-t .cmp-store{width:100%;font-size:13px;white-space:normal;text-align:center;line-height:1.25;padding:6px 8px}
  :where(.g-compare-v8) .cmp-tools{flex-direction:column;align-items:stretch}
  :where(.g-compare-v8) .cmp-seg{display:grid;grid-template-columns:1fr 1fr}
  :where(.g-compare-v8) .cmp-tools-r{justify-content:space-between}
  :where(.g-compare-v8) .kc{padding:12px}
  :where(.g-compare-v8) .kc-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  :where(.g-compare-v8) .kc-row{grid-template-columns:96px minmax(0,1fr)}
  /* the compare bar: one row (the count, the thumbnails, Compare now), about 64px over the safe area; the count opens the list with Remove */
  :where(.g-compare-v8) .cmp-tray{left:0;right:0;bottom:0;border-width:1px 0 0;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}
  :where(.g-compare-v8) body.buybar-on .cmp-tray{bottom:var(--buybar-h,68px);padding-bottom:0}
  :where(.g-compare-v8) .cmp-tray-in{flex-wrap:nowrap;gap:8px;min-height:63px;box-sizing:border-box;padding:9px 12px}
  :where(.g-compare-v8) .cmp-tray-n{display:inline-flex;align-items:center;gap:4px;flex:1 1 auto;min-width:0;min-height:44px;padding:0;border:0;background:none;font:inherit;font-size:14px;line-height:1.25;color:var(--muted);text-align:left;cursor:pointer;touch-action:manipulation}
  :where(.g-compare-v8) .cmp-tray-n svg{flex:none;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(180deg);transition:transform .15s ease-out}
  :where(.g-compare-v8) .cmp-tray-n[aria-expanded=true] svg{transform:none}
  :where(.g-compare-v8) .cmp-tray-th{display:flex;flex:none}
  :where(.g-compare-v8) .cmp-tray-th img,:where(.g-compare-v8) .cmp-tray-th .cmp-ph{flex:none;box-sizing:border-box;width:28px;height:28px;padding:1px;object-fit:contain;border:1px solid var(--line);border-radius:4px;background:var(--image-surface,var(--surface));color:var(--muted)}
  :where(.g-compare-v8) .cmp-tray-th>*+*{margin-left:-6px}
  :where(.g-compare-v8) .cmp-tray-go{flex:none;min-height:44px;margin-left:0;padding:0 14px;white-space:nowrap}
  :where(.g-compare-v8) .cmp-tray-list{display:flex;flex-direction:column;gap:6px;max-height:50vh;overflow:auto;padding:10px 12px 0}
  :where(.g-compare-v8) .cmp-tray-list[hidden]{display:none}
  :where(.g-compare-v8) .cmp-tray-item{max-width:none}
}
@media (max-width:359px){:where(.g-compare-v8) .cmp-tray-th{display:none}}
/* print or save PDF: no header, footer, toolbar, store buttons or Add column; every value, column and the date kept */
@media print{
  :where(.g-compare-v8) header,:where(.g-compare-v8) footer,:where(.g-compare-v8) .cmp-tools,:where(.g-compare-v8) .cmp-tray,:where(.g-compare-v8) .cmp-addcol,:where(.g-compare-v8) .cmp-cadd,:where(.g-compare-v8) .cmp-x,:where(.g-compare-v8) .cmp-go,:where(.g-compare-v8) .cmp-mgo,:where(.g-compare-v8) .cmp-i,:where(.g-compare-v8) .cmp-swap{display:none!important}
  :where(.g-compare-v8) .cmp-sticky th,:where(.g-compare-v8) .cmp-sticky td{position:static}
  :where(.g-compare-v8) .cmp-t,:where(.g-compare-v8) .cmp-t thead,:where(.g-compare-v8) .cmp-t tbody{display:table-row-group}
  :where(.g-compare-v8) .cmp-t{display:table!important}
  :where(.g-compare-v8) .cmp-t thead{display:table-header-group!important}
  :where(.g-compare-v8) .cmp-t tr,:where(.g-compare-v8) .cmp-t .cmp-r,:where(.g-compare-v8) .cmp-t .cmp-sticky tr{display:table-row!important}
  :where(.g-compare-v8) .cmp-t td,:where(.g-compare-v8) .cmp-t th{display:table-cell!important}
  :where(.g-compare-v8) .cmp-t .cmp-c2,:where(.g-compare-v8) .cmp-t .cmp-c3,:where(.g-compare-v8) .cmp-t .cmp-c4{display:table-cell!important}
  :where(.g-compare-v8) .cmp-t .cmp-cadd{display:none!important}  /* every Add column cell, the group title rows' too: the products fill the width */
  :where(.g-compare-v8) .cmp-diff .cmp-same{display:table-row!important}
  :where(.g-compare-v8) .cmp-closed .cmp-r{display:table-row!important}
  :where(.g-compare-v8) .cmp-tip[hidden]{display:none!important}
  :where(.g-compare-v8) .kc,:where(.g-compare-v8) .cmp-sum,:where(.g-compare-v8) .cmp-t tr{break-inside:avoid}
  :where(.g-compare-v8) .kc-bar{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
