/* Final scoped geometry: content expands naturally; no title clamping. */
#content .evr-tests-page .evr-filters{grid-template-columns:repeat(6,minmax(0,1fr))}
#content .evr-tests-page .evr-filters select:disabled{opacity:.55;cursor:not-allowed}
#content .evr-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:16px}
#content .evr-catalog-grid>button{min-width:0;min-height:180px;height:auto;padding:14px;border-radius:16px;background:#fff;color:#17271e;border:1px solid #dfe8e1;white-space:normal;overflow-wrap:anywhere;text-align:center}
#content .evr-catalog-grid :is(h3,p){color:inherit;white-space:normal;overflow:visible;-webkit-line-clamp:unset;display:block;margin:8px 0;line-height:1.4}
#content .evr-catalog-grid h3{font-size:18px}
#content .evr-catalog-grid .evr-catalog-model{padding:0 0 14px;overflow:hidden}
#content .evr-model-photo{position:relative;background:#f7f8f7;padding:12px 12px 22px;border-bottom:3px solid #ef6c23;border-radius:0 0 50% 12%/0 0 12% 8%}
#content .evr-model-photo img{display:block;width:100%;height:110px;object-fit:contain;border-radius:0}
#content .evr-model-photo small{font-size:10px;color:#59665f;display:block}
#content .evr-catalog-context-logo{display:block;width:150px;max-height:85px;object-fit:contain;background:white;border-radius:14px;padding:12px;margin:24px 0 12px}
#content #catalog-detail .evr-compare-chooser{background:#183326;border:1px solid #496952;border-radius:14px;padding:18px;margin-bottom:20px}
#content #catalog-detail [hidden]{display:none!important}
#content .evr-compare-results{display:grid;gap:10px;max-height:380px;overflow:auto;margin-top:14px}
#content .evr-compare-results button{white-space:normal;text-align:left;line-height:1.5;min-height:44px}
#content .evr-compare-option{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:12px 0;border-bottom:1px solid #38503f;min-width:0}
#content .evr-compare-option strong{flex:1 1 180px;overflow-wrap:anywhere}
#content .evr-compare-option select{flex:1 1 200px;width:auto;max-width:100%;min-width:0;min-height:44px}
#content .evr-compare-option button{min-height:44px}
#content #catalog-detail>details{padding:16px 0;border-bottom:1px solid #38503f}
#content #catalog-detail summary{cursor:pointer;font-weight:700;min-height:32px}
#content .evr-test-media{display:grid;isolation:isolate}
#content .evr-test-media .evr-test-hero-image{grid-area:1/1;align-self:start;min-height:0}
#content .evr-test-media .evr-test-heading{grid-area:1/1;align-self:end;position:relative;z-index:1;padding:100px 36px 75px;background:linear-gradient(transparent,rgba(0,0,0,.88));width:100%;box-sizing:border-box}
#content .evr-test-media .evr-test-heading :is(h1,h2,p){color:white;max-width:950px;margin:8px 0;line-height:1.25}
#content .evr-test-media .evr-test-heading h1{font-size:clamp(26px,4vw,52px)}
#content .evr-test-media>.evr-curved-road{bottom:-1px;height:60px;z-index:2}
#content .evr-test-media>.evr-curved-road .evr-brand-car{display:block;width:72px;right:12%;left:auto}
#content .evr-share{margin:28px 0;padding:20px 0;border-top:1px solid #34513d;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#content .evr-share h3{flex:1 1 220px;margin:0}
#content .evr-audience{border-left:3px solid #ef6c23;padding:8px 20px;margin:20px 0}
#content .evr-section-end{text-align:center;margin:24px 0 0}
#content :is(.trip-copy,.test-card,.evr-editorial-card) :is(h2,h3){white-space:normal;-webkit-line-clamp:unset;max-height:none;overflow-wrap:anywhere}
#content .evr-session-details{margin:20px 0;padding:16px;border:1px solid #34513d;border-radius:14px}
#content .evr-session-details summary{cursor:pointer;min-height:28px;font-weight:700}
#content .evr-session-details dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 16px}
#content .evr-session-details :is(dt,dd){margin:0;overflow-wrap:anywhere}
#content .entry-content img{max-width:100%;height:auto}
@media(max-width:1100px){#content .evr-tests-page .evr-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#content .evr-tests-page .evr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-test-media .evr-test-heading{padding:70px 18px 50px}#content .evr-test-media>.evr-curved-road{height:36px}#content .evr-test-media .evr-test-hero-image{grid-area:auto}#content .evr-test-media .evr-test-heading{grid-area:auto;background:#0b1710;padding-top:18px}#content .evr-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#content .evr-catalog-grid>button{min-height:160px;padding:10px}#content .evr-catalog-grid .evr-catalog-model{padding:0 0 10px}#content .evr-model-photo img{height:95px}#content .evr-catalog-grid h3{font-size:16px}}
@media(max-width:370px){#content .evr-tests-page .evr-filters{grid-template-columns:minmax(0,1fr)}}
#content .evr-news-article-photo{display:grid;position:relative;overflow:hidden;border-radius:18px}
#content .evr-news-article-photo>.article-cover{grid-area:1/1;display:block;margin:0;height:auto;width:100%;object-fit:contain}
#content .evr-photo-title{grid-area:1/1;align-self:end;padding:90px 28px 28px;background:linear-gradient(transparent,rgba(0,0,0,.88));color:#fff;font-size:clamp(24px,3vw,42px);font-weight:800;line-height:1.25;overflow-wrap:anywhere}
@media(max-width:650px){#content .evr-photo-title{grid-area:auto;background:#102219;padding:18px}#content .evr-news-article-photo>.article-cover{grid-area:auto}}
#content .evr-test-photo{grid-area:1/1;position:relative;min-width:0;align-self:start}
#content .evr-test-photo>.evr-curved-road{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:60px;margin:0;z-index:2;pointer-events:none}
#content .evr-test-photo>.evr-curved-road .evr-brand-car{display:block;width:72px;left:auto;right:12%}
#content .evr-test-photo>.evr-curved-road svg{width:100%;height:100%;display:block}
#content .evr-test-media .evr-test-heading{z-index:1;margin-bottom:35px;padding-bottom:40px}
@media(max-width:650px){#content .evr-test-photo{grid-area:auto}#content .evr-test-photo>.evr-curved-road{height:36px}#content .evr-test-media .evr-test-heading{margin-bottom:0;padding-bottom:20px;background:var(--evr-canvas)}}
/* 2.39: extend the title gradient to the photo edge; keep text above the orange cut. */
#content .evr-test-media .evr-test-heading{margin-bottom:0;padding-bottom:75px}
@media(max-width:650px){#content .evr-test-media .evr-test-heading{padding-bottom:20px}}

/* 2.39: compact consistent components */
.evr-home-hero .slider-bottom{display:none!important}
#content .evr-tests-page .evr-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:start;gap:12px}
#content .evr-tests-page .evr-filters>label,#content .evr-tests-page .evr-test-range{display:grid;grid-template-rows:36px 48px;gap:0;padding:0;margin:0;align-items:end;min-width:0}
#content .evr-tests-page .evr-filters :is(.evr-field-caption,.evr-range-caption){font-size:12px;line-height:1.3;display:flex;align-items:center;height:36px;margin:0;padding:0;color:#bed0bf}
#content .evr-tests-page .evr-test-range>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;height:48px}
#content .evr-tests-page .evr-test-range>div>label{display:block;height:48px;margin:0;padding:0}
#content .evr-tests-page .evr-filters :is(input,select){width:100%;min-width:0;box-sizing:border-box;height:48px;margin:0}
#content #catalog-detail .evr-catalog-hero{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 26px 42px;min-height:0}
#content #catalog-detail .evr-catalog-model-copy{min-width:0}
#content #catalog-detail .evr-catalog-model-copy h3{margin:0 0 4px;font-size:clamp(22px,3vw,34px);line-height:1.2}
#content #catalog-detail .evr-catalog-variant{margin:0 0 3px;line-height:1.25}
#content #catalog-detail .evr-catalog-model-meta{margin-top:0;gap:3px 12px;line-height:1.25}
#content .evr-catalog-header-logo{width:110px;height:62px;object-fit:contain;flex:0 0 auto;border:0;background:none;padding:0;border-radius:0}
#content .evr-model-photo{padding:0 0 12px;border:0;border-radius:0;background:#fff;overflow:hidden}
#content .evr-model-photo img{width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;margin:0}
#content .evr-model-photo small{position:absolute;top:4px;left:6px;background:#ffffffdd;padding:2px 4px}
#content .evr-model-edge{position:absolute;bottom:0;left:0;width:100%;height:26px}
#content .evr-model-edge svg{display:block;width:100%;height:100%}
#content .evr-session-ranges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
#content .evr-session-ranges>div{padding:14px;border-radius:12px;background:#13291e;border-top:2px solid #ef6c23}
#content .evr-session-ranges h4{margin:0 0 10px;color:#fff;font-size:18px}
#content .evr-session-ranges p{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:6px 0;font-size:14px}
#content .evr-session-ranges .evr-incomplete{color:#b9c6bf}
#content .evr-session-power p{margin:12px 0 6px}#content .evr-result-above{color:#9de275}#content .evr-result-below{color:#ff9292}
#content .evr-session-context{font-size:14px;color:#c9d2cc}
#content .evr-technical-details table{width:100%;border-collapse:collapse;margin:12px 0}
#content .evr-technical-details :is(th,td){padding:10px 14px;border-bottom:1px solid #344c3c;text-align:left;white-space:normal}
#content #stops-list .stop-card>.diary-companies{flex-wrap:nowrap;overflow-x:auto;max-height:36px}
#content #stops-list .diary-companies .evr-company-tile{flex:0 0 auto}
#content #stops-list .diary-companies img{width:86px;height:32px;max-width:86px;max-height:32px;object-fit:contain;border:0;border-radius:0;padding:0}
#content .map-tools{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px 16px;padding:8px 0;margin:0 0 12px}
#content .map-tools label{display:flex;align-items:center;gap:8px;margin:0}
#content .map-tools :is(select,button){min-height:36px;padding:6px 10px;margin:0;font-size:13px}
#content .test-overlay-card{min-height:245px;aspect-ratio:1.3/1;padding:18px!important}
#content .test-overlay-card:after{background:linear-gradient(180deg,transparent 42%,#0002 57%,#000d 100%)}
#content .test-overlay-card>.brand-logo{width:66px;height:48px;max-width:66px;max-height:48px;object-fit:contain;overflow:visible;border:0;border-radius:0;background:transparent;padding:0;top:12px;left:14px}
#content .test-overlay-card :is(h2,h3){font-size:21px;margin:6px 0;line-height:1.2}
#content .test-overlay-card :is(.evr-card-variant,h2+p){font-size:12px;line-height:1.4;margin:0;color:#eee}
#content .evr-catalog-brand img{width:120px;height:68px;max-width:100%;object-fit:contain;padding:0;border:0}
#content .brand-filter-row img{width:100px;height:60px;object-fit:contain}
@media(min-width:1101px){#content .evr-tests-page #portal-cards,#content #testy .test-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){#content .evr-tests-page .evr-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#content .evr-tests-page .evr-filters{grid-template-columns:repeat(2,minmax(0,1fr))}#content #catalog-detail .evr-catalog-hero{padding:16px 16px 40px;gap:10px}#content .evr-catalog-header-logo{width:72px;height:48px}#content .evr-session-ranges{grid-template-columns:1fr}#content #stops-list .diary-companies img{width:64px;height:28px;max-width:64px;max-height:28px}#content .test-overlay-card{aspect-ratio:auto;min-height:260px}}
@media(max-width:370px){#content .evr-tests-page .evr-filters{grid-template-columns:1fr}}
/* Prevent intrinsic select width and inherited end alignment shrinking filter tracks. */
#content .evr-tests-page .evr-filters>label{grid-template-columns:minmax(0,1fr);justify-content:stretch;justify-items:stretch;width:100%}
#content .evr-tests-page .evr-filters>label>select{width:100%;justify-self:stretch}
#content .evr-tests-page .test-overlay-card{height:auto;min-height:245px}
#content .evr-tests-page .test-overlay-card>p:not(.material-date){display:block;-webkit-line-clamp:unset;overflow:visible;font-size:12px;line-height:1.4}
#content #catalog-detail .evr-catalog-edge{height:34px}

/* 2.39: matching disclosure cards and image fills. */
#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details){box-sizing:border-box;margin:16px 28px;padding:0;border:1px solid #34513d;border-radius:14px;background:#102219;overflow:hidden}
#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)>summary{box-sizing:border-box;display:list-item;padding:17px 20px;margin:0;min-height:58px;font-size:16px;line-height:24px;font-weight:700;cursor:pointer;list-style-position:inside}
#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)[open]>summary{border-bottom:1px solid #34513d}
#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)>:not(summary){margin-left:20px;margin-right:20px}
#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)>:last-child:not(summary){margin-bottom:18px}
#content .evr-model-photo{padding:0;aspect-ratio:2/1}
#content .evr-model-photo img{display:block;width:100%;height:100%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center}
#content .evr-home-totals strong{color:#ef6c23}
#content .test-overlay-card>.brand-logo{box-sizing:border-box;width:78px;height:58px;max-width:78px;max-height:58px;object-fit:contain;padding:6px 8px;border:0;border-radius:12px;background:rgba(255,255,255,.78)}
.home .evr-car-road{overflow:hidden}
.home .evr-car-road.evr-car-arrived .evr-brand-car{animation:evr-home-car-long 3.8s cubic-bezier(.2,.6,.3,1) both}
@keyframes evr-home-car-long{from{opacity:0;translate:clamp(-800px,-65vw,-180px) 0}15%{opacity:1}to{opacity:1;translate:0 0}}
@media(max-width:650px){#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details){margin:14px}#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)>summary{padding:15px 14px;min-height:54px}#content #catalog-detail>details:is(.evr-session-details,.evr-technical-details)>:not(summary){margin-left:14px;margin-right:14px}}
@media(prefers-reduced-motion:reduce){.home .evr-car-road.evr-car-arrived .evr-brand-car{animation:none!important;translate:none!important;opacity:1}}

/* 2.39: slightly smaller, more transparent logo bubble. */
#content .test-overlay-card>.brand-logo{width:72px;height:52px;max-width:72px;max-height:52px;padding:5px 7px;border-radius:10px;background:rgba(255,255,255,.64)}

/* 2.39: archive totals share the compact station-counter appearance. */
#content .evr-test-totals{display:flex;align-items:center;justify-content:center;gap:0;margin:22px 0 28px}
#content .evr-test-totals>div{min-width:0;padding:0 34px;text-align:center}
#content .evr-test-totals>div+div{border-left:1px solid #496d55}
#content .evr-test-totals strong{display:block;color:#ef6c23;font-size:clamp(34px,5vw,64px);font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
#content .evr-test-totals span{display:block;color:#fff;font-size:15px;margin-top:8px}
@media(max-width:500px){#content .evr-test-totals>div{padding:0 24px}}
/* 2.39: compact editorial grid with full-bleed images, no dependent row stretching. */
#content .evr-news-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
#content .evr-news-card{position:relative;display:flex;align-items:flex-end;isolation:isolate;overflow:hidden;border-radius:18px;padding:0;border:1px solid #294d36;background:#13291e;min-width:0}
#content .evr-news-card .evr-news-image{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;z-index:-2;border-radius:0}
#content .evr-news-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,transparent 20%,#04130bcf 75%,#04130bf5)}
#content .evr-news-card .evr-news-copy{position:relative;max-width:100%;width:100%;padding:22px;box-sizing:border-box}
#content .evr-news-feature{min-height:340px}
#content .evr-news-feature .evr-news-copy{max-width:65%;padding:30px}
#content .evr-news-feature h2{font-size:clamp(26px,3.5vw,42px);line-height:1.15}
#content .evr-news-secondary{min-height:355px}
#content .evr-news-secondary h2{font-size:23px;line-height:1.2}
#content .evr-news-excerpt{font-size:14px;line-height:1.5;margin:8px 0}
#content .evr-news-rail{display:grid;grid-column:3;grid-row:2;gap:12px;align-self:start}
#content .evr-news-rail .evr-news-compact{min-height:110px;padding:0;display:flex;width:100%}
#content .evr-news-compact .evr-news-copy{padding:14px}
#content .evr-news-compact h2{font-size:17px;line-height:1.25;margin:4px 0}
#content .evr-news-compact .evr-news-excerpt{display:none}
#content .evr-news-card h2 a{color:white}
#content .evr-news-card h2 a:after{content:'';position:absolute;inset:0}
#content .evr-news-card .eyebrow{color:#ff873e;font-size:11px;margin:0 0 6px}
#content .evr-news-card .material-date{color:#d1dbd4;font-size:12px;margin:6px 0}
#content .evr-news-pagination{display:flex;gap:14px;align-items:center;justify-content:center;margin:24px 0}
#content .evr-news-page [hidden]{display:none!important}
#content .evr-tests-hero .evr-test-totals{position:absolute;z-index:2;right:4%;bottom:110px;margin:0;padding:18px 4px;background:#07140bbd;border-radius:18px}
#content .evr-tests-hero-copy{max-width:58%}
#content .evr-thanks .evr-supplier-row{background:white;color:#15291d;padding:22px;border-radius:16px}
#content .evr-thanks .evr-supplier-row :is(p,a){color:#15291d}
#content .evr-curve>.operator-logo{display:block;width:auto;height:28px;max-width:88px;object-fit:contain;margin:8px auto 14px;padding:0;border:0;background:transparent;border-radius:0}
#content .evr-technical-details .data-scroll{max-height:none;height:auto;overflow:visible}
#content .evr-technical-details table{min-width:0;table-layout:fixed}
#content .evr-technical-details :is(th,td){overflow-wrap:anywhere;min-width:0}
#content .evr-editorial-test :is(.lead,.entry-content p,.entry-content li,.entry-content h2,.entry-content h3,.evr-test-conditions),#content .test-overlay-card :is(h2,h3,p,.evr-card-variant){white-space:pre-wrap}
.evr-place-marker{display:grid;place-items:center;border:2px solid #ef6c23;border-radius:50%;background:white;color:#17442b;box-shadow:0 2px 6px #0004}
.evr-place-marker svg{width:22px;height:22px}
@media(max-width:900px){#content .evr-tests-hero .evr-test-totals{right:3%;bottom:100px}#content .evr-test-totals>div{padding:0 16px}#content .evr-news-layout{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-news-rail{grid-column:1/-1;grid-row:auto;grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){#content .evr-news-layout{display:flex;flex-direction:column}#content .evr-news-card{width:100%}#content .evr-news-feature .evr-news-copy{max-width:100%;padding:22px}#content .evr-news-secondary{min-height:280px}#content .evr-news-rail{display:grid;grid-template-columns:1fr;width:100%}#content .evr-tests-hero{display:flex;flex-direction:column;justify-content:flex-end;min-height:430px;padding-bottom:90px}#content .evr-tests-hero-copy{max-width:100%;padding-bottom:16px}#content .evr-tests-hero .evr-test-totals{position:relative;right:auto;bottom:auto;align-self:flex-start;margin:0 20px;padding:12px 0}#content .evr-test-totals strong{font-size:36px}}
#content .evr-news-feature:after{content:none}

/* 2.40: compact station specifications; existing counter styling is retained. */
.evr-station-summary{display:grid;grid-template-columns:minmax(100px,160px) minmax(0,1fr);gap:12px 20px;align-items:center;background:#fff;color:#152018;border-radius:18px;padding:20px;margin:20px 0}.evr-station-summary .operator-logo{width:100%;height:60px;object-fit:contain;margin:0}.evr-station-summary>p{margin:0}.evr-station-summary .evr-spec-grid{grid-column:1/-1;margin:0;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.evr-station-summary .evr-spec-grid>div{background:#fff;color:#152018;padding:10px;min-height:0}.evr-test-totals{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:500px){.evr-station-summary{grid-template-columns:90px minmax(0,1fr);padding:14px}.evr-test-totals{gap:10px}}

@media(max-width:500px){#content .evr-test-totals>div{padding:0 12px}#content .evr-tests-hero .evr-test-totals{max-width:calc(100% - 40px)}#content .evr-test-totals strong{font-size:32px}}
/* 2.51: one banner width and gutter across archives and article openings. */
:root{--evr-page-width:1440px;--evr-page-gutter:clamp(16px,3vw,44px)}
#content>.section:is(.evr-portal,.evr-curve-catalog,.evr-news-page,.article){width:100%;max-width:var(--evr-page-width);margin-inline:auto;padding-inline:var(--evr-page-gutter)!important;box-sizing:border-box}
#content>.section>:is(.evr-trips-hero,.evr-tests-hero,.evr-stations-hero,.evr-news-hero,.evr-contact-hero,.evr-test-hero,.evr-news-article-photo){width:calc(100% + 2 * var(--evr-page-gutter));max-width:none;margin-inline:calc(-1 * var(--evr-page-gutter));box-sizing:border-box}
#content .evr-tests-page .evr-test-filter-toolbar{grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) auto}
#content .evr-test-filter-toolbar .evr-color-options button{height:auto;min-height:38px;max-height:none}
.evr-copyright{flex-basis:100%;text-align:center;color:#a7b7ac;margin-top:12px;font-size:12px}
@media(max-width:900px){#content .evr-tests-page .evr-test-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}#content .evr-test-filter-toolbar>label:first-child{grid-column:auto}}
@media(max-width:480px){#content .evr-test-filter-toolbar>label:first-child{grid-column:1/-1}}

.evr-catalog-range{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end;margin:16px 0}.evr-catalog-range label{display:grid;gap:6px;min-width:0}.evr-catalog-range input,.evr-catalog-range select{width:100%;box-sizing:border-box;min-width:0}.evr-catalog-range[hidden]{display:none}.evr-catalog-metric{display:block!important;font-size:12px!important;margin:8px 12px 12px;color:#394a40}.evr-compare-version{min-width:0}.evr-compare-version>.evr-catalog-version{width:100%;height:100%}.evr-compare-chooser .evr-catalog-grid{margin-top:16px}@media(max-width:650px){.evr-catalog-range{grid-template-columns:1fr 1fr}.evr-catalog-range label:first-child{grid-column:1/-1}}

/* 2.51: one geometric rule for archive and article banners, independent of older page CSS. */
:root{--evr-banner-max:1440px;--evr-banner-gap:24px}
#content>.section:is(.evr-portal,.evr-curve-catalog,.evr-news-page,.article){width:calc(100% - 2 * var(--evr-banner-gap))!important;max-width:var(--evr-banner-max)!important;margin-inline:auto!important;padding-inline:0!important;box-sizing:border-box!important}
#content>.section>:is(.evr-trips-hero,.evr-tests-hero,.evr-stations-hero,.evr-news-hero,.evr-contact-hero,.evr-test-hero,.evr-news-article-photo,.article-cover){width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;left:auto!important;right:auto!important;box-sizing:border-box!important}
#content .evr-test-spec-panel{padding:22px;border:1px solid #304337;border-radius:18px;background:#101b14;margin-block:30px}
#content .evr-test-spec-panel .data-scroll{max-height:none;overflow:visible}#content .evr-test-spec-panel table{width:100%;font-size:14px}#content .evr-test-spec-panel th,#content .evr-test-spec-panel td{padding:9px 12px}
.evr-external-frame{margin:24px 0}.evr-external-frame iframe{display:block;width:100%;max-width:100%;border:0;border-radius:14px}.evr-external-frame figcaption{font-size:12px;margin-top:8px}
@media(max-width:650px){:root{--evr-banner-gap:16px}#content .evr-test-spec-panel{padding:14px}}

#content .evr-test-spec-panel .evr-spec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#content .evr-test-spec-panel .evr-spec-grid>div{min-height:0;padding:12px;border-radius:10px}#content .evr-test-spec-panel .evr-spec-grid span{font-size:12px}#content .evr-test-spec-panel .evr-spec-grid strong{font-size:19px}@media(max-width:650px){#content .evr-test-spec-panel .evr-spec-grid{grid-template-columns:1fr 1fr}}

.evr-test-reading .evr-registration{font-size:12px;line-height:1.5;color:#adbbaf;margin:28px 0 0}

.evr-csv-curve{margin:24px 0}.evr-csv-curve>.chart-wrap{margin-top:0}.evr-csv-curve>.operator-logo{display:block;max-width:90px;max-height:30px;object-fit:contain;margin:8px auto 12px}

#content .evr-test-heading .evr-test-version{font-size:clamp(16px,2vw,24px);line-height:1.35;margin:8px 0 12px;font-weight:500;overflow-wrap:anywhere}

/* All full chart frames use the same height; values and session length cannot resize them. */
#content .chart-wrap,#content #catalog-detail>.chart-wrap{height:640px!important;min-height:640px!important;max-height:640px!important;position:relative;box-sizing:border-box;min-width:0}
#content .chart-wrap>canvas{display:block;max-width:100%;max-height:100%}
@media(max-width:650px){#content .chart-wrap,#content #catalog-detail>.chart-wrap{height:460px!important;min-height:460px!important;max-height:460px!important}}

/* 2.51: compact CSV session details and aligned frames. */
#content .evr-csv-curve,#content .evr-csv-curve>.chart-wrap,#content .evr-csv-curve>.evr-session-details{width:100%;max-width:100%;box-sizing:border-box;margin-left:0;margin-right:0}
#content .evr-session-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:16px 0}
#content .evr-session-facts p{display:flex;align-items:flex-start;gap:9px;margin:0;font-size:14px;line-height:1.55;min-width:0}
#content .evr-session-icon{width:20px;height:20px;flex:0 0 20px;object-fit:contain;color:#ef6c23;margin:1px 0 0}
#content .evr-session-range-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#b9c6bf;margin-top:14px}
#content .evr-session-range-heading img{display:block;width:64px;height:27px;object-fit:contain;opacity:.7}
#content .evr-session-ranges{gap:8px;margin:7px 0 0}
#content .evr-session-ranges>div{padding:10px 12px}
#content .evr-session-ranges h4{font-size:16px;margin:0 0 6px}
#content .evr-session-ranges p{margin:3px 0;font-size:13px;gap:4px 8px}
#content .evr-result-equal{color:inherit}
@media(max-width:650px){#content .evr-session-facts{grid-template-columns:1fr;gap:10px}#content .evr-session-ranges{grid-template-columns:1fr}#content .evr-session-ranges>div{display:grid;grid-template-columns:82px 1fr;column-gap:10px;align-items:center}#content .evr-session-ranges h4{grid-row:span 2;margin:0}#content .evr-session-ranges p{flex-wrap:wrap}}
#content .evr-editorial-test .evr-test-reading>.entry-content{width:100%;max-width:100%}
#content .evr-session-ranges h4{white-space:nowrap}

/* 2.51: compact technical specification, no repeated diagrams. */
#content .evr-test-spec-panel{padding:16px 18px}
#content .evr-test-spec-panel h2{font-size:20px;margin:0 0 12px}
#content .evr-test-spec-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px;row-gap:0;margin:0}
#content .evr-test-spec-list>div{padding:8px 0;border-top:1px solid #ffffff16;min-width:0}
#content .evr-test-spec-list dt{font-size:12px;line-height:1.4;color:#b7c4bb;margin:0 0 3px}
#content .evr-test-spec-list dd{font-size:14px;line-height:1.4;font-weight:600;color:#fff;margin:0;overflow-wrap:anywhere}
@media(max-width:800px){#content .evr-test-spec-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}}
@media(max-width:380px){#content .evr-test-spec-panel{padding:12px}#content .evr-test-spec-list{column-gap:12px}#content .evr-test-spec-list dd{font-size:13px}}
