/* v2.1.3 — align the vehicle camera with HSE photo frame; fixed in the visual viewport. */
html:has(body.wd-vehicle-live), body.wd-vehicle-live{height:100%!important;overscroll-behavior:none!important}
body.wd-vehicle-live{position:fixed!important;inset:0!important;width:100%!important;overflow:hidden!important;touch-action:pan-x!important}
body.wd-vehicle-live .wd-vehicle-camera-layout{position:fixed!important;inset:0!important;height:100dvh!important;width:100vw!important;overflow:hidden!important;isolation:isolate!important}
body.wd-vehicle-live .wd-vcam-image{position:absolute!important;top:calc(env(safe-area-inset-top,0px) + 140px)!important;left:4%!important;width:92%!important;height:min(34dvh,360px)!important;max-height:360px!important;min-height:200px!important;border-radius:16px!important}
body.wd-vehicle-live .wd-vcam-description{position:absolute!important;top:calc(env(safe-area-inset-top,0px) + 140px + min(34dvh,360px) + 14px)!important;left:0!important;right:0!important}
body.wd-vehicle-live .wd-vcam-controls{position:absolute!important;left:0!important;right:0!important;bottom:calc(95px + env(safe-area-inset-bottom,0px))!important;height:84px!important;transform:none!important}
body.wd-vehicle-live .wd-vcam-shutter{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important}
body.wd-vehicle-live .wd-vcam-upload{position:absolute!important;left:5%!important;bottom:calc(190px + env(safe-area-inset-bottom,0px))!important}
body.wd-vehicle-live #wdCarClose{position:absolute!important;top:calc(env(safe-area-inset-top,0px) + 65px)!important;right:5%!important}
body.wd-vehicle-live .wd-vcam-image video{height:100%!important;width:100%!important;object-fit:cover!important}
.wd-vcam-guide-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:rgba(248,250,253,.97);z-index:4;text-align:center;padding:12px;box-sizing:border-box}
.wd-vcam-guide-glyph{height:min(60%,230px);width:min(85%,320px);filter:drop-shadow(0 8px 10px #546d8122)}
.wd-vcam-guide-sweep{animation:wd-v213-sweep 1.4s ease-in-out infinite;transform-origin:center center}
@keyframes wd-v213-sweep{0%{transform:translateY(-64px);opacity:.2}50%{opacity:1}100%{transform:translateY(64px);opacity:.2}}
.wd-vcam-guide-overlay span{font-size:13px;font-weight:600;color:#2d4055;max-width:90%}
.wd-vcam-guide-overlay button{border:1px solid #d1ddea;border-radius:50px;background:#ffffffc9;padding:5px 12px;min-height:30px;font-size:12px;color:#1c3148}
@media(max-height:660px){body.wd-vehicle-live .wd-vcam-image{top:105px!important;height:30dvh!important;min-height:140px!important}body.wd-vehicle-live .wd-vcam-description{top:calc(105px + 30dvh + 8px)!important}body.wd-vehicle-live .wd-vcam-controls{bottom:calc(60px + env(safe-area-inset-bottom,0px))!important}}
@media(prefers-reduced-motion:reduce){.wd-vcam-guide-sweep{animation:none}}

/* Full-screen part illustration before each required photograph, mirroring the existing HSE intro. */
body.wd-vehicle-live .wd-vcam-guide-overlay{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:999!important;background:#fff!important;gap:22px!important;padding:calc(20px + env(safe-area-inset-top,0px)) 20px calc(36px + env(safe-area-inset-bottom,0px))!important}
body.wd-vehicle-live .wd-vcam-guide-glyph{width:80vw!important;height:min(36dvh,340px)!important;max-width:450px!important;max-height:340px!important}
body.wd-vehicle-live .wd-vcam-guide-overlay span{font-size:20px!important;font-weight:700!important;margin-top:12px!important;max-width:80vw!important}
body.wd-vehicle-live .wd-vcam-guide-overlay button{position:absolute!important;right:20px!important;bottom:calc(70px + env(safe-area-inset-bottom,0px))!important}
