/* Vehicle detail only: keep catalogue and comparison styles independent. */
#dialog:has(.ev-vehicle-detail){width:min(1280px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 40px);padding:30px;background:#f7faf8;border:1px solid #dce6e0;border-radius:20px;color:#173d30}
#dialog:has(.ev-vehicle-detail)>.close{position:sticky;top:0;float:right;z-index:5;display:grid;place-items:center;width:36px;height:36px;margin:-12px -12px -24px 0;background:white;color:#244b3c;border:1px solid #dce6e0;border-radius:50%;font-size:24px}
.ev-vehicle-detail{min-width:0;font-size:16px;line-height:1.5}
.ev-detail-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:9px;height:auto;padding:0 40px 22px 0;font-size:13px;color:#74837a}
.ev-detail-breadcrumb button{height:auto;font:inherit;padding:0;color:#237257;text-decoration:underline;text-underline-offset:3px}
.ev-detail-breadcrumb [aria-current]{color:#42594c}
.ev-detail-top{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px;align-items:start}
.ev-detail-top>section{min-width:0}
.ev-gallery-stage{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;border:1px solid #e1e9e4;border-radius:16px;background:#fff}
.ev-gallery-stage img.gallery{display:block;width:100%;height:100%;max-height:none;aspect-ratio:4/3;object-fit:contain;margin:0;border:0;border-radius:0;background:transparent;padding:20px}
.ev-gallery-stage .video-gallery{width:100%;height:100%}.ev-gallery-stage .video-gallery .gallery{padding:0;object-fit:contain}
.ev-gallery-stage .detail-meta{display:none}.ev-detail-no-image{color:#78897d;padding:28px;text-align:center}
.ev-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:44px;border:1px solid #dce7df;background:#fffffff0;border-radius:10px;color:#235f47;font-size:30px;line-height:1;box-shadow:0 2px 8px #0c392510}
.ev-gallery-prev{left:12px}.ev-gallery-next{right:12px}.ev-gallery-arrow:hover{background:#e9f7ef}
.ev-gallery-count{position:absolute;right:14px;bottom:12px;border-radius:20px;background:#eff5f0e8;color:#446454;font-size:12px;padding:4px 12px}
.ev-gallery-thumbnails{display:flex;gap:9px;overflow-x:auto;max-width:100%;padding:12px 2px 6px;scrollbar-width:thin}
.ev-gallery-thumb{flex:0 0 84px;width:84px;height:64px;padding:5px;border:1px solid #dce6df;border-radius:9px;background:#fff;overflow:hidden}
.ev-gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.ev-gallery-thumb[aria-pressed=true]{border:2px solid #00815c;background:#f0faf4;padding:4px}
.ev-gallery-video{font-size:12px;color:#007952;font-weight:600;line-height:1.3}.ev-gallery-video span{display:block;font-size:17px}
.ev-detail-visual>.detail-meta{margin:4px 0 0;font-size:12px;color:#7b897f}
.ev-detail-brand{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#697e70;margin:0 0 5px}
.ev-detail-summary h2{font-size:clamp(26px,2.5vw,36px);line-height:1.13;letter-spacing:-.8px;margin:0 0 9px;overflow-wrap:anywhere;color:#123c2b}
.ev-detail-descriptor{font-size:14px;color:#697e70;margin:0 0 13px}
.ev-detail-badges{display:flex;gap:8px;flex-wrap:wrap}.ev-detail-badges span{padding:4px 11px;background:#e8f4ed;color:#267354;border:1px solid #d5eade;border-radius:6px;font-size:12px;font-weight:600}
.ev-detail-price{margin:20px 0 16px;padding:16px 19px;border:1px solid #dcebe1;border-radius:12px;background:#edf7f0}
.ev-detail-price>span{display:block;font-size:13px;color:#60776a}.ev-detail-price>strong{display:block;font-size:clamp(26px,2.4vw,34px);line-height:1.25;letter-spacing:-.7px;color:#006d4d;margin-top:4px;overflow-wrap:anywhere}
.ev-detail-price p{margin:9px 0 0;font-size:12px;color:#688171;line-height:1.45;white-space:pre-line}
.ev-detail-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dfe8e1;border-radius:12px;background:#fff;overflow:hidden}
.ev-detail-metric{display:flex;align-items:flex-start;gap:10px;padding:15px 14px;min-width:0}.ev-detail-metric:nth-child(odd){border-right:1px solid #e8eee9}.ev-detail-metric:nth-child(-n+2){border-bottom:1px solid #e8eee9}
.ev-detail-metric .card-icon{flex:none;width:21px;height:21px;margin:3px 0 0;fill:none;stroke:#17865d;stroke-width:1.6}
.ev-detail-metric>div{min-width:0}.ev-detail-metric strong{display:block;font-size:20px;line-height:1.3;letter-spacing:-.3px;overflow-wrap:anywhere}.ev-detail-metric span{display:block;font-size:12px;color:#79887e;margin-top:4px}
.ev-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ev-detail-actions button{flex:1;min-height:44px;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:600;line-height:1.35;margin:0}
.ev-detail-actions .ev-detail-favorite{border:1px solid #16805a;color:#11734f;background:#fff}
.ev-detail-actions .ev-detail-favorite[aria-pressed=true]{background:#e4f5eb}
.ev-detail-actions .primary{background:#007952;color:white}
.ev-vehicle-detail .detail-spec-table{display:table;width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #e0e8e2;border-radius:12px;font-size:14px;background:white;margin:0}
.ev-vehicle-detail .detail-spec-table thead{display:none}
.ev-vehicle-detail .detail-spec-table tbody{display:table-row-group}
.ev-vehicle-detail .detail-spec-table th,.ev-vehicle-detail .detail-spec-table td{padding:13px 16px;border-bottom:1px solid #edf1ee;vertical-align:top;line-height:1.5;overflow-wrap:anywhere;white-space:normal}
.ev-vehicle-detail .detail-spec-table th{width:40%;font-size:14px;text-align:left;font-weight:500;color:#728175;background:transparent}
.ev-vehicle-detail .detail-spec-table td{text-align:right;font-size:14px;color:#274b35;font-weight:600}
.ev-vehicle-detail .detail-spec-table .spec-segment th{background:#eef5ef;color:#275d3f;font-size:15px;font-weight:700;padding:14px 16px}
.ev-vehicle-detail .detail-spec-table .spec-info{display:block}.ev-vehicle-detail .variable-ranges span{padding:7px 0;line-height:1.5}.ev-vehicle-detail .variable-ranges small{display:block;font-weight:400}
.ev-vehicle-detail .comparison-swatches{justify-content:flex-start}
.ev-vehicle-detail .report-callout{margin-top:28px;border:1px solid #e0e8e2;border-radius:12px;padding:16px 20px;background:#f0f5f1}
.ev-vehicle-detail .report-callout h3{font-size:15px;margin:0 0 4px}.ev-vehicle-detail .report-callout p{font-size:13px;margin:0;color:#76867a}.ev-vehicle-detail .report-callout button{font-size:13px}
@media(max-width:900px){
 #dialog:has(.ev-vehicle-detail){width:calc(100vw - 24px);padding:22px;max-height:calc(100dvh - 24px)}
 .ev-detail-top{gap:24px;grid-template-columns:1fr}.ev-gallery-stage{max-height:440px;aspect-ratio:16/10}.ev-gallery-stage img.gallery{aspect-ratio:16/10;max-height:440px}
 .ev-detail-price>strong{font-size:30px}
}
@media(max-width:480px){
 #dialog:has(.ev-vehicle-detail){padding:18px 14px;border-radius:14px}
 .ev-detail-breadcrumb{padding-right:30px;font-size:12px;gap:6px}.ev-detail-summary h2{font-size:26px}
 .ev-gallery-stage img.gallery{padding:10px}.ev-gallery-thumb{flex-basis:72px;width:72px;height:56px}
 .ev-detail-metric{padding:12px 9px;gap:7px}.ev-detail-metric strong{font-size:18px}.ev-detail-metric .card-icon{width:18px;height:18px}
 .ev-vehicle-detail .detail-spec-table th,.ev-vehicle-detail .detail-spec-table td{padding:11px 10px;font-size:13px}
 .ev-detail-actions button{flex-basis:calc(50% - 5px)}
 .ev-vehicle-detail .report-callout{display:block;padding:14px}.ev-vehicle-detail .report-callout button{margin-top:12px}
}
/* Keep the breadcrumb visible despite the legacy mobile navigation rule. */
.ev-detail-breadcrumb button:first-child{display:inline-block}

/* Uploaded photographs remain unchanged; transparent pixels reveal white. */
.ev-gallery-thumb:not(.ev-gallery-video){background:#fff}
.ev-gallery-thumb img{background:transparent;object-fit:contain}

/* Continuous full-viewport detail; retain the shared dialog lifecycle. */
#dialog:has(.ev-vehicle-detail){inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:24px 36px 56px;border:0;border-radius:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;background:#f7faf8}
#dialog:has(.ev-vehicle-detail)::backdrop{background:#f7faf8;backdrop-filter:none}
#dialog:has(.ev-vehicle-detail)>.close{position:fixed;top:15px;right:16px;float:none;margin:0;width:30px;height:30px;font-size:20px;background:#f7faf8;color:#6b8275;border:0;box-shadow:none}
#dialog:has(.ev-vehicle-detail) #dialogContent{max-width:1280px;margin:0 auto;overflow:visible;max-height:none}
.ev-detail-breadcrumb{padding-bottom:18px;font-size:14px}
.ev-detail-top{gap:32px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.ev-gallery-stage,.ev-gallery-stage img.gallery{aspect-ratio:16/10}
.ev-detail-price{margin:14px 0;padding:12px 17px}
.ev-detail-metric{padding:12px 14px}
.ev-detail-sections{display:grid;gap:16px;margin-top:28px;width:100%}
.ev-detail-category{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;padding:22px 26px;background:#fff;border:1px solid #e0ebe4;border-radius:14px;min-width:0}
.ev-detail-category h3{display:flex;align-items:flex-start;gap:12px;font-size:17px;line-height:1.4;margin:8px 0;color:#275c45;font-weight:650}
.ev-detail-category h3 .card-icon{width:23px;height:23px;flex:none;fill:none;stroke:#258362;stroke-width:1.6;margin:0}
.ev-detail-category-body{min-width:0}
.ev-detail-category .detail-spec-table{border:0;border-radius:0}
.ev-detail-category .detail-spec-table .spec-segment{display:none}
.ev-detail-category .detail-spec-table th,.ev-detail-category .detail-spec-table td{padding:10px 12px}
.ev-detail-category .detail-spec-table tr:last-child th,.ev-detail-category .detail-spec-table tr:last-child td{border-bottom:0}
.ev-detail-category .source-button{display:inline-block;max-width:100%;font-size:14px;color:#147752;background:transparent;border:0;padding:0;white-space:normal}
.ev-detail-category .comparison-swatches{padding:9px 12px;justify-content:flex-end}
@media(max-width:900px){
 #dialog:has(.ev-vehicle-detail){padding:22px 22px 40px}
 .ev-detail-top{grid-template-columns:1fr;gap:22px}
 .ev-detail-category{grid-template-columns:180px minmax(0,1fr);gap:16px;padding:18px}
}
@media(max-width:600px){
 #dialog:has(.ev-vehicle-detail){padding:18px 14px 32px}
 .ev-detail-category{grid-template-columns:1fr;gap:10px;padding:16px 12px}
 .ev-detail-category h3{margin:0 4px 4px;padding-bottom:12px;border-bottom:1px solid #e6f0e9;font-size:16px}
 .ev-detail-category .detail-spec-table th,.ev-detail-category .detail-spec-table td{font-size:14px;padding:10px 4px}
 .ev-detail-category .comparison-swatches{justify-content:flex-start}
}

/* Compact detail integrated beneath the live global header. */
body.ev-detail-open{overflow:hidden}
body.ev-detail-open>header{z-index:60}
body.ev-detail-open .ev-bottom-nav,body.ev-detail-open>.comparebar{display:none}
body.ev-detail-open #dialog:has(.ev-vehicle-detail){position:fixed;inset:var(--ev-detail-header-height,64px) 0 0;z-index:40;width:100%;height:calc(100dvh - var(--ev-detail-header-height,64px));padding:12px 28px 36px;margin:0;overflow-y:auto}
#dialog:has(.ev-vehicle-detail)>.close{display:none}
#dialog:has(.ev-vehicle-detail) #dialogContent{max-width:1180px}
.ev-detail-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:12px;min-height:40px}
.ev-detail-back,.ev-detail-close{font-size:14px;font-weight:600;color:#176453;border:1px solid #bad6c7;border-radius:8px;background:#fff;min-height:40px;padding:8px 12px;white-space:nowrap}
.ev-detail-back:hover,.ev-detail-close:hover{background:#e8f5ed;border-color:#267d5b}
.ev-detail-close{margin-left:auto;display:flex;gap:12px;align-items:center}.ev-detail-close span{font-size:22px;line-height:1}
.ev-detail-toolbar .ev-detail-breadcrumb{padding:0;gap:7px;font-size:12px}
.ev-detail-top{gap:28px;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr)}
.ev-gallery-stage{height:310px;aspect-ratio:auto;max-height:none;border-radius:12px}
.ev-gallery-stage img.gallery{height:100%;aspect-ratio:auto;padding:10px;max-height:none}
.ev-gallery-thumbnails{padding:7px 1px 2px;gap:8px}.ev-gallery-thumb{width:70px;height:52px;flex-basis:70px}
.ev-detail-visual>.detail-meta{margin-top:2px}
.ev-detail-brand{margin:0 0 3px;font-size:12px}.ev-detail-summary h2{font-size:28px;line-height:1.15;margin-bottom:5px}
.ev-detail-descriptor{margin-bottom:7px;font-size:13px}.ev-detail-badges{gap:6px}.ev-detail-badges span{padding:2px 8px}
.ev-detail-actions{margin:9px 0;gap:8px}.ev-detail-actions button{min-height:38px;padding:8px 10px;font-size:14px}
.ev-detail-price{padding:9px 14px;margin:9px 0}.ev-detail-price>strong{font-size:28px;margin-top:2px}.ev-detail-price p{margin-top:4px;line-height:1.35}
.ev-detail-metric{padding:10px 12px;gap:8px}.ev-detail-metric strong{font-size:19px}.ev-detail-metric span{margin-top:2px}.ev-detail-metric .card-icon{width:18px;height:18px}
.ev-detail-sections{gap:12px;margin-top:18px}.ev-detail-category{padding:16px 22px;gap:20px;grid-template-columns:220px minmax(0,1fr)}
.ev-detail-category .detail-spec-table th,.ev-detail-category .detail-spec-table td{padding:8px 10px}
@media(max-width:900px){
 body.ev-detail-open #dialog:has(.ev-vehicle-detail){padding:12px 20px 30px}
 .ev-detail-top{grid-template-columns:1fr;gap:18px}
 .ev-gallery-stage{height:320px}.ev-detail-category{grid-template-columns:170px minmax(0,1fr)}
}
@media(max-width:600px){
 body.ev-detail-open #dialog:has(.ev-vehicle-detail){padding:10px 14px 28px}
 .ev-detail-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:10px}.ev-detail-toolbar .ev-detail-breadcrumb{order:3;flex-basis:100%}
 .ev-gallery-stage{height:230px}.ev-detail-summary h2{font-size:26px}
 .ev-detail-category{grid-template-columns:1fr;padding:14px 12px;gap:8px}
}
.ev-gallery-stage{grid-template-rows:minmax(0,1fr)}
.ev-gallery-stage img.gallery{min-height:0;min-width:0}
.ev-gallery-video span{display:inline;font-size:12px;margin-right:3px}
body.ev-detail-open>main,body.ev-detail-open>footer,body.ev-detail-open>#comparebar{visibility:hidden}
html:has(body.ev-detail-open){overflow:hidden}
@media(max-width:900px){body.ev-detail-open>header{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:60}}
/* Approved reference: narrow composition, top-right actions and dense technical rows. */
@media(min-width:901px){
 body.ev-detail-open #dialog:has(.ev-vehicle-detail){padding-top:5px;background:#fbfdfc}
 #dialog:has(.ev-vehicle-detail) #dialogContent{max-width:1000px}
 .ev-detail-toolbar{min-height:25px;gap:12px;margin-bottom:7px}
 .ev-detail-back,.ev-detail-close{min-height:26px;padding:2px 5px;border-color:transparent;background:transparent;font-size:12px;border-radius:4px}
 .ev-detail-close{gap:5px}.ev-detail-close span{font-size:18px}
 .ev-detail-top{grid-template-columns:minmax(0,52fr) minmax(0,48fr);gap:28px}
 .ev-gallery-stage{height:270px;border-radius:5px}
 .ev-gallery-stage img.gallery{padding:4px}
 .ev-gallery-count{top:8px;bottom:auto;right:9px;padding:2px 8px;background:#335146c9;color:white}
 .ev-gallery-arrow{width:28px;height:28px;border-radius:50%;font-size:24px}
 .ev-gallery-prev{left:7px}.ev-gallery-next{right:7px}
 .ev-gallery-thumbnails{gap:7px;padding:4px 0 0}
 .ev-gallery-thumb{width:72px;flex-basis:72px;height:47px;padding:2px;border-radius:5px}
 .ev-gallery-thumb[aria-pressed=true]{padding:1px}
 .ev-detail-visual>.detail-meta{font-size:12px;line-height:1.2;margin-top:3px}
 .ev-detail-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;column-gap:5px}
 .ev-detail-brand{grid-column:1;grid-row:1;align-self:center;margin:0;font-size:12px;letter-spacing:.04em;overflow-wrap:anywhere}
 .ev-detail-actions{grid-column:2;grid-row:1;justify-self:end;display:flex;gap:6px;margin:0 0 3px}
 .ev-detail-actions button{flex:none;min-height:32px;padding:6px 8px;font-size:12px;line-height:1.2;border-radius:4px;white-space:nowrap}
 .ev-detail-favorite::before{content:'♡';font-size:17px;vertical-align:-1px;margin-right:5px}
 .ev-detail-actions .primary::before{content:'⚖';font-size:15px;vertical-align:-1px;margin-right:5px}
 .ev-detail-summary h2{grid-column:1/-1;grid-row:2;font-size:32px;line-height:1.05;margin:0 0 4px}
 .ev-detail-descriptor{grid-column:1/-1;grid-row:3;font-size:13px;line-height:1.25;margin:0 0 5px}
 .ev-detail-badges{grid-column:1/-1;grid-row:4;gap:6px;margin-bottom:6px}
 .ev-detail-badges span{font-size:12px;line-height:1.25;padding:3px 10px;border-radius:20px}
 .ev-detail-price{grid-column:1/-1;grid-row:5;margin:0;padding:8px 14px 6px;border-radius:5px 5px 0 0;border-bottom:0}
 .ev-detail-price>span{font-size:12px;line-height:1.2}
 .ev-detail-price>strong{font-size:30px;line-height:1.1;margin-top:2px}
 .ev-detail-price p{font-size:12px;line-height:1.2;margin-top:3px}
 .ev-detail-metrics{grid-column:1/-1;grid-row:6;border-radius:0 0 5px 5px}
 .ev-detail-metric{padding:8px 10px;gap:8px;align-items:center}
 .ev-detail-metric .card-icon{width:28px;height:28px;padding:4px;background:#edf8f2;border-radius:50%;margin:0}
 .ev-detail-metric strong{font-size:18px;line-height:1.15}
 .ev-detail-metric span{font-size:12px;line-height:1.2;margin-top:3px}
 .ev-detail-sections{margin-top:12px;gap:8px}
 .ev-detail-category{grid-template-columns:225px minmax(0,1fr);gap:12px;padding:7px 14px;border-radius:10px;box-shadow:0 2px 6px #123c2b06}
 .ev-detail-category h3{align-self:start;font-size:17px;line-height:1.25;gap:12px;margin:5px 0}
 .ev-detail-category h3 .card-icon{width:27px;height:27px}
 .ev-detail-category .detail-spec-table{border:1px solid #edf2ef;border-collapse:separate;border-spacing:0;border-radius:6px;overflow:hidden;background:#fbfdfc}
 .ev-detail-category .detail-spec-table th,.ev-detail-category .detail-spec-table td{font-size:14px;line-height:1.2;padding:2px 10px;font-weight:400}
 .ev-detail-category .detail-spec-table th{width:40%;border-right:1px solid #edf2ef}
 .ev-detail-category .detail-spec-table td{text-align:left}
 .ev-detail-category .detail-spec-table tr:nth-child(even){background:#f4f8f6}
 .ev-detail-category .variable-ranges span{padding:1px 0;line-height:1.2}
 .ev-detail-category .variable-ranges small{display:inline;font-size:12px}
 .ev-detail-category .comparison-swatches{justify-content:flex-start;padding:0}
 .ev-detail-category .source-button{font-size:14px}
}
/* The existing global header remains anchored even when the catalogue was scrolled. */
body.ev-detail-open>header{position:fixed!important;top:0;left:0;right:0;width:100%;z-index:60}

@media(min-width:901px){
 .ev-detail-category .detail-spec-table th,.ev-detail-category .detail-spec-table td{font-size:13px;line-height:1.2;padding:2px 10px}
 .ev-detail-metric>div{display:flex;flex-direction:column}
 .ev-detail-metric span{order:-1;margin:0 0 3px}
 .ev-detail-metric .card-icon{width:34px;height:34px;padding:6px}
}

/* Compact actions and contextual price information across all viewports. */
.ev-detail-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;column-gap:8px}
.ev-detail-brand{grid-column:1;grid-row:1;align-self:center;margin:0}
.ev-detail-actions{grid-column:2;grid-row:1;justify-self:end;display:flex;gap:6px;margin:0 0 4px}
.ev-detail-summary h2{grid-column:1/-1;grid-row:2}
.ev-detail-descriptor{grid-column:1/-1;grid-row:3}
.ev-detail-badges{grid-column:1/-1;grid-row:4}
.ev-detail-price{grid-column:1/-1;grid-row:5}
.ev-detail-metrics{grid-column:1/-1;grid-row:6}
.ev-detail-actions button{flex:none;flex-basis:auto;min-height:32px;height:32px;padding:6px 10px;font-size:12px;line-height:1.2;white-space:nowrap;border-radius:5px}
.ev-detail-actions .ev-detail-favorite{width:32px;padding:6px;display:grid;place-items:center}
.ev-detail-favorite::before,.ev-detail-actions .primary::before{content:none}
.ev-detail-favorite svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.ev-detail-favorite[aria-pressed=true] svg{fill:currentColor}
.ev-detail-compare[aria-pressed=true]{box-shadow:inset 0 0 0 2px #84d8ad}
.ev-detail-compare span{margin-right:4px}
.ev-price-context{position:relative;display:flex;align-items:center;gap:5px;font-size:12px;color:#60776a;line-height:1.3}
.ev-price-info{display:inline-grid;place-items:center;width:24px;height:24px;flex:none;padding:0;color:#176453;font-size:17px;border-radius:50%}
.ev-price-info:hover,.ev-price-info[aria-expanded=true]{background:#d7eee1}
.ev-price-popover{position:absolute;z-index:10;top:calc(100% + 6px);left:0;right:0;padding:12px 14px;background:#fff;border:1px solid #c9dfd3;border-radius:8px;box-shadow:0 5px 20px #173d3026;color:#355a46;font-size:13px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}
.ev-price-popover[hidden]{display:none}
.ev-detail-metric>div{display:flex;flex-direction:column}
.ev-detail-metric span{order:-1;margin:0 0 3px}
.ev-detail-metric strong.ev-kpi-long{font-size:14px;font-weight:600;line-height:1.35}
@media(max-width:900px){.ev-detail-badges{margin-bottom:6px}.ev-price-info{width:32px;height:32px}.ev-detail-actions button{height:36px;min-height:36px}.ev-detail-actions .ev-detail-favorite{width:36px}}

/* v120: reference identity and compact summary; technical categories unchanged. */
.ev-detail-summary h2{grid-column:1;grid-row:1;align-self:center;margin:0;font-size:26px;line-height:1.12;letter-spacing:-.6px;overflow-wrap:normal}
.ev-detail-actions{grid-column:2;grid-row:1;align-self:start;margin:0;gap:6px}
.ev-detail-badges{grid-column:1/-1;grid-row:2;gap:6px;margin:7px 0 12px}
.ev-detail-badges span{border-radius:20px;padding:3px 10px}
.ev-detail-price{grid-row:3;margin:0;border-radius:6px 6px 0 0;border-bottom:0;padding:10px 14px}
.ev-detail-metrics{grid-row:4;border-radius:0 0 6px 6px}
.ev-detail-metric span{order:0;margin:4px 0 0;line-height:1.2}
.ev-detail-metric strong{line-height:1.2}
.ev-detail-metric strong.ev-kpi-long{font-size:16px;line-height:1.2;font-weight:700}
.ev-detail-metric{align-items:center}
@media(min-width:901px){
 .ev-detail-summary{column-gap:12px}
 .ev-detail-summary h2{font-size:28px;line-height:1.1}
 .ev-detail-badges{margin:7px 0 10px}
 .ev-detail-price{padding:7px 14px}
 .ev-detail-price>strong{font-size:30px}
 .ev-detail-metric{padding:8px;gap:7px;min-height:55px}
 .ev-detail-metric .card-icon{width:32px;height:32px;padding:6px}
 .ev-detail-metric strong{font-size:19px}
 .ev-detail-metric strong.ev-kpi-long{font-size:15px}
 .ev-detail-metric span{font-size:12px}
}
@media(max-width:600px){
 .ev-detail-summary{column-gap:8px}
 .ev-detail-summary h2{font-size:23px}
 .ev-detail-actions button{padding:6px 8px}
 .ev-detail-metric strong.ev-kpi-long{font-size:15px}
 .ev-detail-toolbar{min-height:28px;gap:5px}
 .ev-detail-back,.ev-detail-close{min-height:28px;padding:2px 4px;background:transparent;border-color:transparent;font-size:12px}
}

@media(min-width:901px){
 .ev-detail-summary h2.ev-detail-long-name{font-size:21px;line-height:1.12}
 .ev-detail-price{padding-top:4px;padding-bottom:4px}
 .ev-detail-metric{padding-top:6px;padding-bottom:6px;min-height:50px}
}
@media(max-width:600px){.ev-detail-summary h2.ev-detail-long-name{font-size:19px}}

.ev-detail-summary h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
