/* Scope table hierarchy to comparisons; preserve model-specific units and caveats. */
body .scan-comparison{border-collapse:separate;border-spacing:0;width:100%;font-variant-numeric:tabular-nums}
body .scan-comparison thead th{background:#18303e;color:#c1d5df;font-size:12px;font-weight:600;line-height:1.5;vertical-align:bottom;border-bottom:1px solid #56717e}
body .scan-comparison tbody :is(th,td){border-bottom:1px solid #344e5e;vertical-align:middle;font-size:13px;line-height:1.5}
body .scan-comparison tbody th{font-weight:500;text-align:left}
body .scan-comparison td.scan-number{font-weight:600;text-align:right;white-space:nowrap}
body .scan-comparison tbody tr:nth-child(even)>:is(th,td){background-color:#152936}
body .scan-comparison tbody tr:hover>:is(th,td){background-color:#1b3642}
body .scan-comparison tr[hidden]{display:none!important}
body .scan-comparison .compare-missing{color:#b5c6d0;font-weight:400}
body .comparison-filter{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:10px 0}
body .comparison-filter button{min-height:44px;padding:8px 12px;border:1px solid #6d998f;border-radius:8px;background:#15302f;color:#d8eee8;font-size:13px;font-weight:600;cursor:pointer}
body .comparison-filter button[aria-pressed=true]{background:#addbce;color:#14312d;border-color:#addbce}
body .comparison-filter button:focus-visible{outline:2px solid #bfe6dc;outline-offset:3px}
body .comparison-filter>span{font-size:12px;color:#b7cad5}
body .pv-panel .pv-offer.pv-lowest{border-left:3px solid #9cd3be;background:#142d2b}
body .pv-panel .pv-best-label{display:inline-block;margin:7px 0 2px;padding:3px 7px;border:1px solid #587e70;border-radius:5px;color:#c1eedc;font-size:11px;line-height:1.5;font-weight:600}
body .pv-panel .pv-stats{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr) minmax(0,1.25fr);align-items:end;gap:12px;padding:10px 0;border-top:1px solid #38564f;margin-top:10px}
body .pv-panel .pv-stats .pv-stat{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}
body .pv-panel .pv-stats .pv-stat:first-child{align-items:flex-start}
body .pv-panel .pv-stat small{font-size:12px;font-weight:400;color:#b7cad5;line-height:1.45}
body .pv-panel .pv-stat strong{font-size:14px;font-weight:600;color:#e0ebe9;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right;line-height:1.5}
body .pv-panel .pv-stat:last-child strong{color:#bce6d9}
@media(max-width:640px){body .scan-comparison:is(.chain-overview-table,.chest-difference-table) tr>:first-child,body .appearance-effect-table .scan-comparison tr>:first-child,body #craft-reference-table .scan-comparison tr>:first-child{position:sticky;left:0;z-index:1;background:#17303c;box-shadow:1px 0 #49606d;min-width:105px;max-width:140px;white-space:normal}body .appearance-effect-table .scan-comparison{min-width:440px}body .pv-panel .pv-stats{gap:8px}body .pv-panel .pv-stat strong{font-size:13px}}
@media(forced-colors:active){body .pv-panel .pv-best-label,body .comparison-filter button{border:1px solid ButtonText}body .pv-panel .pv-offer.pv-lowest{border-left-color:Highlight}}
body .comparison-filter button:disabled{opacity:.65;cursor:default}
body .appearance-effect-table .scan-comparison td{text-align:right}
@media(max-width:640px){
 .appearance-effect-comparison{--comparison-columns:1}
 .appearance-effect-comparison[data-compare-count="2"]{--comparison-columns:2}
 .appearance-effect-comparison[data-compare-count="3"]{--comparison-columns:3}
 body .appearance-effect-comparison .appearance-effect-table table.scan-comparison{table-layout:fixed;width:calc(96px + var(--comparison-columns)*130px);min-width:calc(96px + var(--comparison-columns)*130px)}
 body .appearance-effect-table table.scan-comparison tr>:is(th,td){box-sizing:border-box;width:130px;min-width:130px;max-width:130px;overflow-wrap:anywhere}
 body .appearance-effect-table table.scan-comparison tr>:first-child{width:96px;min-width:96px;max-width:96px}
}
