body:has(#toolnary-app [data-comparison]){padding-bottom:var(--toolnary-compare-space,0px)!important}
/* Magjam's footer has its own stacking context; keep the active tray above it. */
#toolnary-app:has(.toolnary-compare-tray:not([hidden])){position:relative;z-index:20}
body:has(#toolnary-app .toolnary-compare-tray:not([hidden])) #gototop{bottom:calc(var(--toolnary-compare-space,0px) + 12px)!important}
#toolnary-app .result-actions{display:flex;flex-direction:column;gap:8px;align-self:center}
#toolnary-app .result-actions .result-link,#toolnary-app .toolnary-compare-button{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;box-sizing:border-box;width:auto;min-height:40px;margin:0;padding:8px 16px;border:1px solid #2356a7;border-radius:4px;background:#2356a7;color:#fff;text-align:center;text-decoration:none;white-space:nowrap;font-size:12px;font-weight:700;line-height:1.5}
#toolnary-app .product-compare-actions{display:flex;justify-content:flex-end;margin:0 0 0 auto}
#toolnary-app #specifications>.section-title{align-items:center;flex-wrap:nowrap;gap:12px}
#toolnary-app .result-actions .result-link{background:#fff;color:#2356a7}
#toolnary-app .result-actions .result-link:hover{border-color:#194382;background:#f0f5fc;color:#194382}
#toolnary-app .toolnary-compare-button:hover{border-color:#194382;background:#194382;color:#fff}
#toolnary-app .result-meta a,#toolnary-app .result-specs dd a{color:#2356a7;text-decoration:underline;text-decoration-color:#b7c9e3;text-underline-offset:3px}
#toolnary-app .result-meta a:hover,#toolnary-app .result-specs dd a:hover{color:#194382;text-decoration-color:currentColor}
#toolnary-app .power-filter-active>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-top:8px;font-size:13px}
#toolnary-app .power-filter-active a{color:#2356a7;text-decoration:underline;white-space:nowrap}
#toolnary-app .result-actions .result-link:focus-visible,#toolnary-app .toolnary-compare-button:focus-visible{outline:2px solid #2356a7;outline-offset:3px}
#toolnary-app .toolnary-compare-tray{position:fixed;z-index:9990;bottom:0;left:0;right:0;width:100%;box-sizing:border-box;padding:12px max(16px,calc((100vw - 1180px)/2));background:#fff;border-top:2px solid var(--brand);box-shadow:0 -3px 18px #0002;display:grid;grid-template-columns:1fr auto;gap:8px 20px;color:#29333c;font-size:13px;line-height:1.5}
#toolnary-app .toolnary-compare-tray[hidden],#toolnary-app .toolnary-compare-tray [hidden]{display:none}
#toolnary-app .compare-tray-heading{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:12px}
#toolnary-app .compare-tray-heading span{font-weight:400;color:#64707a;margin-left:10px}
#toolnary-app .toolnary-compare-tray button{background:transparent;color:#52606b;border:0;box-shadow:none;margin:0;padding:5px 8px;font:inherit;cursor:pointer;min-height:32px}
#toolnary-app .toolnary-compare-tray ul{display:flex;gap:8px;margin:0;padding:0;list-style:none;overflow:auto;min-width:0}
#toolnary-app .toolnary-compare-tray li{display:flex;align-items:center;gap:4px;flex:0 0 180px;margin:0;padding:6px;border:1px solid #dae0e5;border-radius:4px;list-style:none}
#toolnary-app .toolnary-compare-tray li>a{display:flex;align-items:center;gap:8px;color:#263f52;text-decoration:none;min-width:0;flex:1;font-weight:700;overflow-wrap:anywhere}
#toolnary-app .toolnary-compare-tray img{display:block;width:44px;height:44px;object-fit:contain;margin:0;flex:none}
#toolnary-app .compare-tray-actions{display:flex;align-items:center;gap:12px}
#toolnary-app [data-compare-now]{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;border-radius:4px;background:var(--brand);color:#fff;text-decoration:none;white-space:nowrap;font-weight:700;min-height:44px;box-sizing:border-box}
#toolnary-app [data-compare-now][aria-disabled=true]{background:#e5e9ed;color:#66747e;cursor:default}
#toolnary-app [data-compare-notice]{grid-column:1/-1;margin:0;max-height:90px;overflow:auto}
#toolnary-app [data-compare-notice]:empty{display:none}
#toolnary-app .workspace--compare{display:block}
#toolnary-app .compare-intro{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0 16px}
#toolnary-app .comparison-scroll{overflow:auto;border:1px solid #dce2e8;max-width:100%;margin:16px 0}
#toolnary-app .comparison-table{border-collapse:separate;border-spacing:0;margin:0;width:100%;table-layout:fixed;font-size:14px;line-height:1.6}
#toolnary-app .comparison-table th,#toolnary-app .comparison-table td{box-sizing:border-box;min-width:200px;width:200px;padding:12px 16px;text-align:left;vertical-align:top;border:0;border-right:1px solid #e0e5e9;border-bottom:1px solid #e0e5e9;overflow-wrap:anywhere;background:#fff;color:#283440}
#toolnary-app .comparison-table th:first-child{position:sticky;left:0;z-index:1;width:150px;min-width:150px;background:#f1f4f6;font-weight:500}
#toolnary-app .comparison-table tbody tr:nth-child(even) td{background:#f9fafb}
#toolnary-app .comparison-table thead a{display:flex;flex-direction:column;gap:10px;font-size:18px;color:var(--brand)}
#toolnary-app .comparison-table img{width:140px;height:140px;object-fit:contain;margin:0 auto 8px}
#toolnary-app .comparison-table small{display:block;font-size:12px;font-weight:400;color:#626f7a;margin-top:6px}
#toolnary-app .comparison-table tbody tr td.comparison-best{background:#2356a7;color:#fff;font-weight:900}
#toolnary-app .comparison-table td.comparison-best small{color:#fff}
#toolnary-app .comparison-best-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#toolnary-app .toolnary-edit-link--top{margin:0 0 6px;padding:0;text-align:right}
@media(max-width:800px){
 #toolnary-app .result-row{grid-template-columns:72px minmax(0,1fr)}
 #toolnary-app .result-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;align-self:start;width:100%;gap:8px}
 #toolnary-app .result-actions .result-link,#toolnary-app .result-actions .toolnary-compare-button{position:static;grid-area:auto;align-self:stretch;justify-self:stretch;min-width:0;min-height:40px;padding:8px 14px;width:100%;flex:1}
 #toolnary-app .toolnary-compare-tray{grid-template-columns:1fr;padding:8px 12px max(8px,env(safe-area-inset-bottom));gap:6px}
 #toolnary-app .toolnary-compare-tray li{flex-basis:156px;padding:4px}
 #toolnary-app .toolnary-compare-tray img{width:36px;height:36px}
 #toolnary-app .compare-tray-actions{justify-content:flex-end}
 #toolnary-app [data-compare-now]{min-height:38px;padding:8px 16px}
 #toolnary-app .comparison-table th,#toolnary-app .comparison-table td{width:180px;min-width:180px;padding:10px 12px;font-size:13px}
 #toolnary-app .comparison-table th:first-child{width:112px;min-width:112px}
}
@media print{#toolnary-app .toolnary-compare-tray,#toolnary-app .product-compare-actions,#toolnary-app .toolnary-edit-link{display:none!important}body:has(#toolnary-app [data-comparison]){padding-bottom:0!important}}
