/* Keep plate, identity and sticker in a single, stable header hierarchy. */
#root .plate-v2 .pr-hero{grid-template-columns:minmax(0,max-content) auto;justify-content:start;gap:24px;align-items:center}
#root .plate-v2 .pr-hero .pa-header{grid-column:1 / -1;grid-row:1}
#root .plate-v2 .pr-hero :is(.pa-id-section,.pa-unknown){grid-column:1;grid-row:2;min-width:0}
#root .plate-v2 .pr-hero .pa-vehicle-label{margin:0;max-width:480px;text-align:left}
#root .plate-v2 .pr-environment-badge{grid-column:2;grid-row:2;align-self:center;max-width:120px}
#root .plate-v2 .pr-environment-badge img{display:block;width:96px;height:96px;object-fit:contain}
#root .plate-v2 .pr-environment-badge span{font:700 12px/1.4 var(--vtc-sans);color:var(--pr-muted)}
@media(max-width:700px){
 #root .plate-v2 .pr-hero{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;gap:20px 16px}
 #root .plate-v2 .pr-hero .pa-header .pa-plate-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
 #root .plate-v2 .pr-hero .pa-id-section .pa-vehicle-model{font-size:32px;line-height:1.08;overflow-wrap:anywhere}
 #root .plate-v2 .pr-hero .pa-id-section .pa-vehicle-label{font-size:13px;line-height:1.5;margin:0;max-width:none}
 #root .plate-v2 .pr-environment-badge{max-width:64px;align-self:start}
 #root .plate-v2 .pr-environment-badge img{width:64px;height:64px}
}

@media(min-width:701px){
 #root .plate-v2 .pr-hero{grid-template-columns:auto minmax(0,1fr) 96px;justify-content:stretch;gap:32px;align-items:center}
 #root .plate-v2 .pr-hero .pa-header{grid-column:1;grid-row:1;align-self:center}
 #root .plate-v2 .pr-hero .pa-plate-row{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 #root .plate-v2 .pr-hero :is(.pa-id-section,.pa-unknown){grid-column:2;grid-row:1}
 #root .plate-v2 .pr-environment-badge{grid-column:3;grid-row:1}
 #root .plate-v2 .pr-hero .pa-vehicle-model{font-size:42px;overflow-wrap:anywhere}
}

#root .plate-v2 .pr-hero .pa-age-badge{font:600 16px/1.4 var(--vtc-sans);color:var(--pr-ink);background:transparent;border:0;padding:0;box-shadow:none;white-space:nowrap}
@media(min-width:701px){#root .plate-v2 .pr-hero .pa-plate-row .pa-age-badge{align-self:flex-start}}

#root .plate-v2 .pr-hero .pa-age-badge{font:500 14px/1.5 var(--vtc-mono);color:var(--pr-muted)}
@media(min-width:701px){
 #root .plate-v2 .pr-hero{align-items:stretch}
 #root .plate-v2 .pr-hero .pa-header{align-self:stretch;display:flex}
 #root .plate-v2 .pr-hero .pa-plate-row{height:100%;justify-content:space-between;gap:14px}
 #root .plate-v2 .pr-hero .pa-id-section{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
 #root .plate-v2 .pr-hero .pa-vehicle-make{margin:0}
 #root .plate-v2 .pr-hero .pa-vehicle-model{margin:8px 0}
 #root .plate-v2 .pr-hero .pa-vehicle-label{line-height:1.5}
}

#root .plate-v2 .pr-hero .pa-id-section .pa-age-badge{margin:8px 0 0;align-self:flex-start;text-align:left}
@media(min-width:701px){
 #root .plate-v2 .pr-hero .pa-plate-row .pr-plate{height:100%;min-height:110px;align-items:stretch}
 #root .plate-v2 .pr-hero .pr-plate-text{display:flex;align-items:center}
 #root .plate-v2 .pr-hero .pr-eu{display:flex;align-items:center}
}

#root .plate-v2 .pr-hero .pr-eu svg{display:block;width:32px;height:56px;flex-shrink:0}
@media(min-width:1001px){
 #root .plate-v2 .pr-hero .pr-plate-text{font-size:64px;line-height:1;letter-spacing:5px;padding:12px 18px}
 #root .plate-v2 .pr-hero .pr-eu{width:54px}
 #root .plate-v2 .pr-hero .pr-eu svg{width:36px;height:63px}
}
@media(max-width:700px){#root .plate-v2 .pr-hero .pr-eu svg{width:26px;height:46px}}

@media(max-width:700px){
 #root .plate-v2 .pr-environment-badge{grid-column:2;grid-row:1;align-self:center}
 #root .plate-v2 .pr-hero :is(.pa-id-section,.pa-unknown){grid-column:1 / -1;grid-row:2}
 #root .plate-v2 .pr-hero .pa-header{grid-column:1;min-width:0}
 #root .plate-v2 .pr-hero .pr-plate-text{font-size:clamp(24px,7.6vw,30px);letter-spacing:2px;padding:10px}
 #root .plate-v2 .pr-hero .pr-eu{width:32px}
 #root .plate-v2 .pr-hero .pr-eu svg{width:24px;height:42px}
 #root .plate-v2 .pr-environment-badge{max-width:56px}
 #root .plate-v2 .pr-environment-badge img{width:56px;height:56px}
}
