/* One capture composition in the visible viewport, including Safari safe areas. */
:root{--wd-capture-top:calc(env(safe-area-inset-top,0px) + clamp(130px,20dvh,180px));--wd-capture-height:min(34dvh,360px);--wd-capture-dock:78dvh;--wd-dock-center-y:var(--wd-capture-dock);--wd-dock-pitch:clamp(43px,12vw,56px)}
html:root body .wd-vcam-image,html:root body #hseCamera .wd-hse-video-wrap,html:root body #hseCamera .hse-photo-large,html:root body #hseCamera .hse-photo-empty,html:root body #wdSmartCamera .wd-sc-view,html:root body #wdAssetCamera .wd-asset-camera-frame{
position:fixed!important;top:var(--wd-capture-top)!important;left:4vw!important;right:auto!important;width:92vw!important;height:var(--wd-capture-height)!important;min-height:0!important;max-height:none!important;max-width:none!important;aspect-ratio:auto!important;margin:0!important;border-radius:16px!important;overflow:hidden!important;transform:none!important;object-fit:cover!important}
html:root body .wd-vcam-description,html:root body #hseCamera .wd-capture-title,html:root body #wdAssetStepLabel{position:fixed!important;top:calc(var(--wd-capture-top) + var(--wd-capture-height) + 14px)!important;left:0!important;width:100%!important;text-align:center!important;margin:0!important;padding:0 16px!important;box-sizing:border-box!important}
.wd-capture-title small{display:block;font-size:14px;line-height:1.6;font-weight:500}
html:root body .wd-vcam-corners,html:root body #hseLabelGuide,html:root body .wd-sc-corners,html:root body .wd-sc-scan-frame{display:none!important}
html:root body .wd-vcam-controls,html:root body #wdSmartCamera .wd-sc-actions,html:root body #wdAssetCamera .wd-asset-camera-controls{position:fixed!important;top:var(--wd-capture-dock)!important;bottom:auto!important;left:0!important;right:0!important;width:100%!important;height:82px!important;padding:0!important;margin:0!important;transform:translateY(-50%)!important}
html:root body .wd-vcam-shutter,html:root body #hseCamera #hseCamShoot,html:root body #hseCamera .wd-photo-actions>.wd-camera-trigger,html:root body #wdScSnap,html:root body #wdAssetCameraShutter{width:81px!important;height:81px!important;min-width:81px!important;min-height:81px!important;border-radius:50%!important;border:5px solid #d5dfe8!important;background:white!important;box-shadow:inset 0 0 0 5px white,inset 0 0 0 7px #34383d!important;padding:0!important}
html:root body #wdScSnap span{border:0!important;background:none!important}
html:root body .wd-vcam-shutter{left:50%!important}
html:root body #wdCarGoBack{position:absolute!important;left:5%!important;width:48px!important;height:48px!important}
html:root body #wdCarProceed{position:absolute!important;right:2%!important;left:auto!important;width:36px!important;height:36px!important;font-size:28px!important}
html:root body .wd-car-pf{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;min-height:34px;border-radius:50%;padding:0;font-size:27px;line-height:1;background:#fff}
html:root body #wdCarPass{left:calc(50% + 51px);color:#83a552;border:1px solid #bfd399}
html:root body #wdCarFail{left:calc(50% + 91px);color:#ce4d58;border:1px solid #e6b4ba}
html:root body #wdCarPass[aria-pressed=true],html:root body #hseCamera .wd-pf-choice[data-choice=P] input:checked+span{color:#168442!important;background:#e7f7eb!important;border-color:#168442!important}
html:root body #wdCarFail[aria-pressed=true],html:root body #hseCamera .wd-pf-choice[data-choice=F] input:checked+span{color:#c93344!important;background:#ffebee!important;border-color:#c93344!important}
html:root body #hseCamera .wd-pf-choice[data-choice=P] span{color:#83a552!important;border-color:#bfd399!important}
html:root body #hseCamera .wd-pf-choice[data-choice=F] span{color:#ce4d58!important;border-color:#e6b4ba!important}
html:root body.wd-icon-inspection #hseCamera .wd-photo-actions .wd-pf-choice[data-choice=P]{left:calc(50% + 68px)!important}
html:root body.wd-icon-inspection #hseCamera .wd-photo-actions .wd-pf-choice[data-choice=F]{left:calc(50% + 108px)!important}
html:root body.wd-icon-inspection #hseCamera .wd-photo-actions .wd-pf-choice span{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:27px!important}
html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{left:calc(100% - 22px)!important;width:34px!important;height:34px!important}
html:root body #wdCarGuideReplay{top:calc(var(--wd-capture-dock) - 18px)!important;bottom:auto!important;left:calc(50% - 84px)!important}
.wd-capture-pass{position:fixed;top:calc(env(safe-area-inset-top,0px) + 70px);left:50%;transform:translateX(-50%);padding:10px 24px;border-radius:18px;background:#e5f7eb;color:#168442;font-weight:700;z-index:100005;box-shadow:0 3px 12px #16844220}
.wd-capture-pass:after{content:'';position:absolute;bottom:-7px;left:50%;border:8px solid transparent;border-bottom:0;border-top-color:#e5f7eb}
html:root body .wd-capture-failure,html:root body #hseCamera .wd-note-slot{position:fixed!important;top:calc(var(--wd-capture-top) + var(--wd-capture-height) + 110px)!important;left:8%!important;width:84%!important;bottom:auto!important;color:#bd3544;font-size:14px}
.wd-capture-failure input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #e0b9be;border-radius:10px}
html:root body #hseCamera .wd-fail-note{position:static!important;width:100%!important;margin-top:6px!important}
html:root body #hseCamera .wd-fail-note[hidden]{display:none!important}
html:root body #wdSmartCamera .wd-sc-top,html:root body #wdSmartCamera .wd-sc-drawer-toggle{top:calc(env(safe-area-inset-top,0px) + 20px)!important;transform:none!important}
html:root body #wdSmartCamera .wd-sc-top{left:90px!important;right:12px!important;height:48px!important}
html:root body #wdSmartCamera .wd-sc-menu{top:0!important;right:58px!important;transform:none!important;max-width:calc(100vw - 150px);gap:5px!important}
html:root body #wdScOverflow{position:absolute;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
html:root body #wdScOverflow{right:0}
html:root body #wdSmartCamera .wd-sc-menu button{width:39px!important;height:44px!important;flex-shrink:1!important}
@media(max-height:650px){:root{--wd-capture-top:calc(env(safe-area-inset-top,0px) + 90px);--wd-capture-height:30dvh;--wd-capture-dock:83dvh}html:root body #hseCamera .wd-note-slot,html:root body .wd-capture-failure{top:calc(var(--wd-capture-top) + var(--wd-capture-height) + 70px)!important}}
/* Selected inspection checks use the cyan sampled from the company symbol. */
:root{--wd-logo-cyan:#00a1e0;--wd-logo-navy:#073d6d}
html:root body.wd-icon-inspection .wd-pf-choice[data-choice=P] input:checked+span,
html:root body.wd-icon-inspection #hseCamera .wd-pf-choice[data-choice=P] input:checked+span,
html:root body #wdCarPass[aria-pressed=true]{background:var(--wd-logo-cyan)!important;color:#fff!important;border-color:var(--wd-logo-cyan)!important;box-shadow:0 3px 12px #073d6d26!important}
#inspectionView input[type=radio],#inspectionView input[type=checkbox],#hseView input[type=checkbox],#hseView input[type=radio]{accent-color:var(--wd-logo-cyan)}
