/* Scoped to common built-in templates; site templates keep their own styles. */
.sr-ranking-view { --sr-line:#dce3e9; --sr-muted:#52616f; --sr-accent:#24568a; min-width:0; }
.sr-ranking-view table { width:100%!important; max-width:100%; border-collapse:collapse; font-size:14px; }
.sr-ranking-view th { text-align:left; background:#f3f6f8; }
.sr-ranking-view td,.sr-ranking-view th { padding:12px 10px; border-bottom:1px solid var(--sr-line); vertical-align:middle; overflow-wrap:anywhere; }
.sr-ranking-view .sr-ranking-main td:nth-child(2) img { width:64px; height:64px!important; object-fit:contain; }
.sr-ranking-view .sr-ranking-main th { white-space:nowrap; }
.sr-ranking-view .sr-ranking-main td:nth-child(2) { min-width:64px; }
.sr-ranking-view .sr-ranking-main td:nth-child(4) { min-width:100px; }
.sr-ranking-view .sr-ranking-main td:nth-child(n+6) { min-width:90px; }
.sr-ranking-view .sr-ranking-main td:nth-child(3) { min-width:130px; font-weight:600; line-height:1.45; }
.sr-ranking-view .sr-rating-cell { min-width:105px; font-size:12px; line-height:1.5; }
.sr-ranking-view .sr-rating-cell img { width:18px!important; height:18px; }
.sr-ranking-view .sr-ranking-main td:first-child img { vertical-align:middle; }
.sr-ranking-view .sr-ranking-button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 12px; border:0; border-radius:6px; background:var(--sr-accent); color:#fff!important; font-size:13px; font-weight:600; line-height:1.25; text-decoration:none!important; text-align:center; white-space:normal; }
.sr-ranking-view .sr-ranking-button:hover { background:#173c63; }
.sr-ranking-view a:focus-visible,.sr-ranking-view summary:focus-visible { outline:3px solid #d48800; outline-offset:3px; }
.sr-ranking-view h3 { margin-top:32px; padding-top:20px; border-top:1px solid var(--sr-line); }
.sr-ranking-view .sr-product-summary { display:grid!important; grid-template-columns:160px minmax(0,1fr); gap:20px; align-items:start; }
.sr-ranking-view .sr-product-photo img { display:block; margin:auto; max-width:100%; width:160px; max-height:200px; object-fit:contain; }
.sr-ranking-view .sr-product-description { padding:0!important; min-width:0; }
.sr-ranking-view .sr-ranking-specification td:first-child { width:42%; }
.sr-ranking-view .sr-ranking-comparison { display:block; overflow-x:auto; }
.sr-ranking-view .sr-ranking-offers td:first-child { width:125px; font-size:12px; line-height:1.45; }
.sr-ranking-view .sr-ranking-offers td:first-child img { max-width:115px; height:auto!important; max-height:32px; object-fit:contain; }
.sr-ranking-view .sr-ranking-offers td:last-child { min-width:104px; text-align:right; }
.sr-ranking-view .sr-ranking-offers td:nth-child(2) { min-width:180px; }
.sr-ranking-view .sr-offer-summary { font-size:14px; line-height:1.5; }
.sr-ranking-view .sr-offer-details { margin-top:6px; font-size:13px; font-weight:400; }
.sr-ranking-view .sr-offer-details summary { color:var(--sr-accent); cursor:pointer; }
.sr-ranking-view .sr-offer-details div { margin-top:10px; }
.sr-ranking-view .sr-offer-price { display:block; margin-bottom:5px; font-size:17px; font-weight:700; white-space:nowrap; }
.sr-ranking-view .sr-offer-price-label,.sr-ranking-view .sr-offer-note { color:var(--sr-muted); font-size:12px; font-weight:400; line-height:1.5; }
.sr-ranking-view .sr-offer-price-label { display:block; }
.sr-ranking-view .sr-ranking-summary { margin:0 0 20px; padding:14px 16px; border-left:4px solid var(--sr-accent); background:#f3f6f8; }
.sr-ranking-view .sr-ranking-summary p { margin:0 0 6px; }
.sr-ranking-view .sr-ranking-summary p:last-child { margin-bottom:0; }
.sr-ranking-view .sr-updated { color:var(--sr-muted); font-size:13px; }
.sr-ranking-view .sr-badges { display:flex; flex-wrap:wrap; gap:4px; margin:6px 0 0; padding:0; list-style:none; }
.sr-ranking-view .sr-badge { margin:0; padding:2px 7px; border:1px solid var(--sr-accent); border-radius:10px; color:var(--sr-accent); font-size:11px; font-weight:600; line-height:1.5; }
.sr-ranking-view .sr-score { font-size:13px; }
.sr-ranking-view .sr-score strong { font-size:17px; }
.sr-ranking-view .sr-score-details { margin-top:4px; font-size:12px; font-weight:400; }
.sr-ranking-view .sr-score-details summary { color:var(--sr-accent); cursor:pointer; }
.sr-ranking-view .sr-score-details ul { margin:6px 0; padding-left:16px; }
.sr-ranking-view .sr-score-missing,.sr-ranking-view .sr-user-rating { color:var(--sr-muted); font-size:12px; }
.sr-ranking-view .sr-user-rating { margin:4px 0 0; }
.sr-ranking-view .sr-product-facts { margin:0 0 14px; }
.sr-ranking-view .sr-opinion { margin:0; padding:0 0 0 12px; border-left:3px solid var(--sr-line); }
.sr-ranking-view .sr-opinion footer { color:var(--sr-muted); font-size:12px; }
.sr-ranking-view .sr-mobile-rating { display:none; }
.sr-ranking-view .sr-mobile-rank { display:none; }
@media(max-width:600px) {
 .sr-ranking-view td,.sr-ranking-view th { padding:10px 7px; }
 .sr-ranking-view .sr-ranking-main td:nth-child(3) { min-width:100px; }
 .sr-ranking-view .sr-ranking-main td:nth-child(4) { min-width:80px; }
 .sr-ranking-view .sr-rating-cell { min-width:80px; }
 .sr-ranking-view .sr-product-summary { grid-template-columns:1fr; gap:14px; }
 .sr-ranking-view .sr-product-photo img { width:140px; max-height:160px; }
 .sr-ranking-view .sr-ranking-button { padding:9px; font-size:12px; }
 .sr-ranking-view .sr-mobile-rating[data-hidden="true"] { display:block; margin-top:8px; font-size:12px; font-weight:400; }
 .sr-ranking-view .sr-mobile-rank[data-hidden="true"] { display:inline; color:var(--sr-muted); }
 .sr-ranking-view .sr-mobile-rating img { float:none!important; width:16px!important; height:16px; }
 .sr-ranking-view .sr-ranking-offers td:last-child { min-width:95px; }
}
