/* v4.127: every inspection action shares one center, before and after capture. */
:root{--wd-dock-center-y:calc(100dvh - 58px);--wd-dock-pitch:56px}
html:root body.wd-icon-inspection #wdBottomNavigation,
html:root body.wd-icon-inspection .wd-photo-actions,
html:root body.wd-icon-inspection #hseCamera .wizardnav{
 position:fixed!important;left:50%!important;top:var(--wd-dock-center-y)!important;bottom:auto!important;
 width:min(550px,calc(100vw - 24px))!important;height:78px!important;min-height:78px!important;
 margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important;
 display:block!important;background:transparent!important;border:0!important;overflow:visible!important;
}
html:root body.wd-icon-inspection .wd-photo-actions .hse-pf-line,
html:root body.wd-icon-inspection #wdBottomNavigation .wd-bottom-slot{display:contents!important}
html:root body.wd-icon-inspection .wd-photo-actions>button,
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger,
html:root body.wd-icon-inspection #hseCamCancel,
html:root body.wd-icon-inspection #hseCamShoot,
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice,
html:root body.wd-icon-inspection #wdBottomNavigation #globalBack,
html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{
 position:absolute!important;top:50%!important;bottom:auto!important;left:50%!important;right:auto!important;
 transform:translate(-50%,-50%)!important;margin:0!important;padding:0!important;
 width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
}
html:root body.wd-icon-inspection .wd-photo-actions>.wd-video-trigger,
html:root body.wd-icon-inspection #hseCamCancel{left:calc(50% - var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger{
 left:50%!important;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;
}
html:root body.wd-icon-inspection #hseCamera #hseCamShoot{
 left:50%!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;
 border-radius:50%!important;
}
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice[data-choice=P],
html:root body.wd-icon-inspection .wd-photo-actions>[data-hse-pass]{left:calc(50% + var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice[data-choice=F]{left:calc(50% + 2 * var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice span{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;box-sizing:border-box!important}
html:root body.wd-icon-inspection #wdBottomNavigation #globalBack{left:calc(50% - 2 * var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{left:calc(50% + 3 * var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection #wdBottomCamera{display:none!important}
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger svg{display:block!important;opacity:1!important;stroke:#17283b!important;fill:none!important;width:27px!important;height:27px!important}
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger::after{display:none!important}
html:root body.wd-icon-inspection #hseCamShoot[hidden],
html:root body.wd-icon-inspection #hseCamCancel[hidden],
html:root body.wd-icon-inspection #wdHseQuickNext[hidden],
html:root body.wd-icon-inspection #globalBack[hidden]{display:none!important}
html:root body.wd-icon-inspection .wd-guide-close{
 position:fixed!important;top:var(--wd-dock-center-y)!important;bottom:auto!important;
 left:calc(50% + 2 * var(--wd-dock-pitch))!important;right:auto!important;
 transform:translate(-50%,-50%)!important;width:44px!important;height:44px!important;margin:0!important;
}
/* Messages and notes sit above the shared action row, clear of the toolbar. */
html:root body.wd-icon-inspection #hseForm .wd-source-notice,
html:root body.wd-icon-inspection #hseCamera .wd-source-notice,
html:root body.wd-icon-inspection #hseForm .wd-note-slot,
html:root body.wd-icon-inspection #hseCamera .wd-note-slot,
html:root body.wd-icon-inspection #hseForm .wd-label-result,
html:root body.wd-icon-inspection #hseCamera .wd-label-result{
 position:fixed!important;left:50%!important;top:calc(var(--wd-dock-center-y) - 116px)!important;bottom:auto!important;
 transform:translateX(-50%)!important;width:min(460px,calc(100vw - 32px))!important;
 height:auto!important;min-height:0!important;max-height:78px!important;overflow:auto!important;
 margin:0!important;box-sizing:border-box!important;z-index:6!important;
}
html:root body.wd-icon-inspection .wd-note-slot:empty{display:none!important}
html:root body.wd-icon-inspection .wd-note-slot:has(.wd-fail-note:not([hidden]))~.wd-label-result{display:none!important}
html:root body.wd-icon-inspection .wd-note-slot .wd-fail-note{width:100%!important;height:44px!important;margin:0!important}
html:root body.wd-icon-inspection #hseForm:has(.wd-source-notice) .wd-label-result,
html:root body.wd-icon-inspection #hseCamAssessment:has(.wd-source-notice) .wd-label-result{top:calc(var(--wd-dock-center-y) - 176px)!important}

@media(max-width:360px){
 html:root body.wd-icon-inspection .wd-photo-actions>button,
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger,
 html:root body.wd-icon-inspection #hseCamCancel,
 html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice,
 html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice span,
 html:root body.wd-icon-inspection #wdBottomNavigation #globalBack,
 html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
 html:root body.wd-icon-inspection #hseCamera #hseCamShoot{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important}
}

html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger{visibility:inherit!important;pointer-events:auto!important}
html:root body.wd-icon-inspection .wd-photo-actions svg{visibility:inherit!important}
/* v4.128: native-camera reference proportions and shared optical centers. */
:root{--wd-dock-shutter-size:19.24vw;--wd-dock-side-size:40px;--wd-dock-first-offset:64px}
html:root body.wd-icon-inspection #hseCamera #hseCamShoot,
html:root body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger{
 width:var(--wd-dock-shutter-size)!important;height:var(--wd-dock-shutter-size)!important;
 min-width:var(--wd-dock-shutter-size)!important;min-height:var(--wd-dock-shutter-size)!important;
 border-radius:50%!important;
}
html:root body.wd-icon-inspection #hseCamera #hseCamShoot{
 padding:4px!important;border:5px solid #444!important;background:#fff!important;box-shadow:0 0 0 1px #777!important;
}
html:root body.wd-icon-inspection #hseCamCancel,
html:root body.wd-icon-inspection .wd-photo-actions>.wd-video-trigger,
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice,
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice span,
html:root body.wd-icon-inspection .wd-photo-actions>[data-hse-pass],
html:root body.wd-icon-inspection #wdBottomNavigation #globalBack,
html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{
 width:var(--wd-dock-side-size)!important;height:var(--wd-dock-side-size)!important;
 min-width:var(--wd-dock-side-size)!important;min-height:var(--wd-dock-side-size)!important;
}
html:root body.wd-icon-inspection .wd-photo-actions>.wd-video-trigger,
html:root body.wd-icon-inspection #hseCamCancel{left:calc(50% - var(--wd-dock-first-offset))!important}
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice[data-choice=P],
html:root body.wd-icon-inspection .wd-photo-actions>[data-hse-pass]{left:calc(50% + var(--wd-dock-first-offset))!important}
html:root body.wd-icon-inspection .wd-photo-actions .wd-pf-choice[data-choice=F]{left:calc(50% + var(--wd-dock-first-offset) + var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection #wdBottomNavigation #globalBack{left:calc(50% - var(--wd-dock-first-offset) - var(--wd-dock-pitch))!important}
html:root body.wd-icon-inspection #wdBottomNavigation #wdHseQuickNext{left:calc(50% + var(--wd-dock-first-offset) + 2 * var(--wd-dock-pitch))!important}

/* v4.129: centered retake notice and stopped-attempt screen. */
html:root body.wd-icon-inspection .wd-source-notice{text-align:center!important}
html:root body.wd-icon-inspection .wd-retake-required .wd-label-result{display:none!important}
html:root body.wd-hse-stopped #wdBottomNavigation,
html:root body.wd-hse-stopped #hseWizard>.wizardnav{display:none!important}
html:root body .wd-inspection-stopped{max-width:460px;margin:48px auto;padding:24px;text-align:center;border:1px solid #ecc8b9;border-radius:16px;background:#fff3ed!important;color:#a43c2a!important}
html:root body .wd-inspection-stopped button{margin:16px auto 0;display:block}
