/* Shared four-language layout. Keep physical coordinates only for centred overlays. */
html{scrollbar-gutter:stable}html[lang=ar],html[lang=ar] body{font-family:Tahoma,'Segoe UI',Arial,sans-serif}html[lang=zh-Hans],html[lang=zh-Hans] body{font-family:'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',Arial,sans-serif}html[lang=ru],html[lang=ru] body{font-family:'Segoe UI',Arial,sans-serif}
html[lang=ar] :is(h1,h2,h3,h4,p,small,label,button,select,input,textarea,td,th,a,span,strong,b,dt,dd){font-family:inherit}
html[lang=ar] :is(h1,h2,h3,.eyebrow,.filter-title,.field>span,.card-tag,.brand small,.hero-kicker,.hero-bottom small,.card-brand,.specs small){letter-spacing:0;line-height:1.6}
html[lang=zh-Hans] :is(h1,h2,h3,.eyebrow,.filter-title,.card-brand,.card-tag){letter-spacing:0}
html[lang=ar] :is(.brand,.brand-icon,.brand-light){font-family:Arial,sans-serif}html[lang=ar] .brand{direction:ltr;unicode-bidi:isolate}
.language select{width:110px;max-width:115px;min-height:36px;font-size:12px;cursor:pointer}.language option{font-family:Arial,Tahoma,sans-serif;font-size:14px}
.topbar{gap:clamp(14px,2.5vw,42px)}.main-nav{gap:clamp(14px,2vw,28px)}.header-right{gap:12px}.main-nav a{white-space:nowrap}
.header-right,.toolbar,.provider-line,.card-bottom,.tool-actions{min-width:0}.provider-line{flex-wrap:wrap}.tool-nav a{overflow-wrap:anywhere}.tool-panel,.info-block,.card-content{overflow-wrap:anywhere}.sort-wrap select{min-width:0;max-width:235px}.filter-title>span{display:inline-block}.tool-banner a{white-space:normal;flex-shrink:0;max-width:240px}
html[dir=rtl] .header-right{margin-left:0;margin-right:auto}html[dir=rtl] .hero-kicker{left:auto;right:24px}html[dir=rtl] .card-tag{left:auto;right:12px}html[dir=rtl] .save-button{right:auto;left:11px}html[dir=rtl] .image-caption{right:auto;left:8px}
html[dir=rtl] :is(.snapshot>button,.collection-context,.sort-wrap){margin-left:0;margin-right:auto}html[dir=rtl] .intro-foot>span+span:before{margin-right:0;margin-left:10px}
html[dir=rtl] :is(.collection-tabs>button>span:not(.tiny-dot),.tiny-dot,.filter-title>span,.count-badge,.price>span,.detail-price>span,.review-score>strong>span){margin-left:0;margin-right:5px}
html[dir=rtl] .close-dialog{float:left;margin-right:0;margin-left:-18px}html[dir=rtl] .info-block ul{padding-left:0;padding-right:16px}
html[dir=rtl] :is(.comparison-table,.evidence-table,.review-source-table,.tool-table,.provider-line .provider-rating){text-align:right}html[dir=rtl] .tool-summary dd{text-align:left}
html[dir=rtl] .risk-flag{border-left:0;border-right:3px solid #c69456}html[dir=rtl] .specs>div{border-right:0;border-left:1px solid var(--line)}html[dir=rtl] .specs>div:last-child{border-left:0}
:is(.price>strong,.detail-price>strong,.big-total,.review-score>strong,.currency,.price-inputs,.hero-bottom strong,.specs strong,.nav-number){direction:ltr;unicode-bidi:isolate}
:is(.card-content h3,.card-brand,.compare-names>span,.comparison-table h3,.image-fallback){unicode-bidi:plaintext}input[type=number],input[type=date]{direction:ltr;text-align:start}textarea{unicode-bidi:plaintext}.source-links a{unicode-bidi:isolate}.tool-summary dl>div{align-items:start}.tool-summary dd{flex-shrink:0;unicode-bidi:isolate}
html[lang=ar] :is(.micro,.source-date,.info-block p,.info-block li,.card-subtitle,.term-pill,.filter-caption){font-size:12px;line-height:1.9}html[lang=ar] .eyebrow{font-size:11px}html[lang=ar] .tool-nav a{font-size:14px}html[lang=ar] .tool-panel p{line-height:2}
@media(max-width:1050px){.topbar{flex-wrap:wrap;height:auto;min-height:80px;padding-block:14px;row-gap:12px}.main-nav{order:3;width:100%;height:40px}.header-right{margin-inline-start:auto}.private-pill{display:none}.tool-banner a{max-width:none}}
@media(max-width:580px){.topbar{padding-bottom:0;column-gap:8px}.header-right{gap:5px}.language select{max-width:94px;font-size:12px}.currency button{padding:5px}.main-nav{margin-top:4px;gap:20px}.brand{font-size:20px}.brand-icon{width:30px;height:30px}.brand small{font-size:7px}.tool-hero h1{font-size:32px}.sort-wrap{max-width:100%;flex-wrap:wrap}.sort-wrap select{max-width:100%;width:auto}.toolbar{align-items:start}.tool-fields{grid-template-columns:1fr}.tool-actions>*{max-width:100%}.intro-foot{flex-wrap:wrap}.collection-tabs{gap:12px;flex-wrap:wrap}.collection-tabs>button{font-size:11px}html[dir=rtl] .hero-kicker{right:20px}html[dir=rtl] .close-dialog{margin-left:-8px}html[dir=rtl] .dialog h2{padding-right:0;padding-left:15px}.tool-banner a{width:100%;text-align:center}.tool-tabs button{white-space:normal}.tool-summary dd{flex-shrink:1;overflow-wrap:anywhere}}
@media print{html{scrollbar-gutter:auto}.tool-panel{overflow-wrap:anywhere}}
