/* v4.101: Icon-first PPE and vehicle inspection only. */
#wdInspectionNotification{display:none;position:relative}
#wdInspectionNotification[hidden]{display:none!important}
#wdInspectionNotificationToggle,#wdInspectionNotificationBell{display:grid;place-items:center;background:#fff;border:1px solid #d6e0e9;color:#17283b;border-radius:15px;width:44px;height:44px;padding:9px;cursor:pointer}
#wdInspectionNotification svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wd-inspection-popover{position:absolute;right:0;top:53px;background:white;border:1px solid #dce5ee;padding:10px;border-radius:14px;z-index:1000;box-shadow:0 7px 22px #34496225}
.wd-inspection-popover[hidden]{display:none!important}
body.wd-icon-inspection .top .brand{height:42px;width:42px;max-width:42px;min-width:42px;position:relative;overflow:hidden;display:block}
body.wd-icon-inspection .top .brand-logo{position:absolute!important;top:0;left:0;height:40px!important;width:auto!important;max-width:none!important;padding:2px!important;border-radius:0!important}
body.wd-icon-inspection .brand-sub,body.wd-icon-inspection #who,body.wd-icon-inspection #topQuickArea{display:none!important}
body.wd-icon-inspection #wdInspectionNotification{display:block}
body.wd-icon-inspection .mainbar,body.wd-icon-inspection #wdActionDrawer{display:none!important}
body.wd-icon-inspection #hseView>div.inline.spread,body.wd-icon-inspection #hseWizard>.wizardhead{display:none!important}
body.wd-icon-inspection #hseWizard .wd-photo-step-heading{display:none!important}
body.wd-icon-inspection #hseWizard .hse-photo-empty{color:#667688}
body.wd-icon-inspection #hseWizard .hse-photo-empty svg{width:54px;height:54px;fill:none;stroke:currentColor;stroke-width:1.5}
body.wd-icon-inspection #hseWizard .hse-photo-single{border:none!important;box-shadow:none!important;background:transparent!important;margin:0!important;padding:0!important;gap:12px!important}
body.wd-icon-inspection #hseView{padding:14px!important}
body.wd-icon-inspection #hseForm{margin-top:0!important}
.wd-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}
.wd-photo-actions button,.wd-photo-actions label{border:1px solid #d5e1ed!important;background:#fff!important;color:#203448!important;display:flex!important;align-items:center;justify-content:center;border-radius:15px!important;padding:12px!important;min-height:57px!important;cursor:pointer;margin:0!important}
.wd-photo-actions button:disabled{opacity:.55;cursor:wait}
.wd-photo-actions svg{height:29px;width:29px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wd-parts-carousel{display:flex;gap:5px;align-items:center;justify-content:space-between;min-height:89px;perspective:420px;overflow:hidden;padding:3px 5px}
.wd-part-icon{height:68px;min-width:0;flex:1 1 20%;display:grid;place-items:center;transition:transform .28s ease,filter .28s ease,opacity .28s ease;transform-origin:center center}
.wd-part-icon svg{height:50px;width:50px;max-width:95%;stroke-width:1.6}
.wd-part-0{transform:translateZ(24px) scale(1.18);opacity:1;filter:none}
.wd-part-1{transform:rotateY(16deg) scale(.86);opacity:.62;filter:blur(.5px)}
.wd-part-2{transform:rotateY(27deg) scale(.64);opacity:.3;filter:blur(1.2px)}
body.wd-icon-inspection #inspectionView>.inline.spread,body.wd-icon-inspection #inspectionIntro,body.wd-icon-inspection #inspectionWizard>.wizardhead,body.wd-icon-inspection #inspectionProgress,body.wd-icon-inspection #inspectionWizard>.progress{display:none!important}
body.wd-icon-inspection #inspectionWizard .wizardnav{display:none!important}
body.wd-icon-inspection #inspectionView{padding:14px!important}
body.wd-icon-inspection .wd-vehicle-preview{aspect-ratio:4/3;max-height:355px;border-radius:15px;border:1px solid #dae5ee;background:#f3f6fb;display:grid;place-items:center;overflow:hidden}
.wd-vehicle-preview img{width:100%;height:100%;max-height:355px;object-fit:contain}
.wd-vehicle-preview svg{width:52px;height:52px;fill:none;stroke:currentColor;stroke-width:1.6}
.wd-vehicle-photo-step{display:grid;gap:12px}
.wd-camera-trigger input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.wd-guide-overlay{position:fixed;z-index:200000;inset:0;background:#fff;display:grid;place-items:center;padding:20px}
.wd-guide-card{position:relative;width:min(90vw,460px);background:#fff;border-radius:18px;padding:25px;box-shadow:0 18px 55px #0005}
.wd-guide-close{position:absolute;right:12px;top:10px;font-size:28px;background:#fff;color:#111;border:0;width:42px;height:42px;cursor:pointer}
.wd-guide-art{height:min(55vh,360px);display:grid;place-items:center;position:relative;overflow:hidden}
.wd-guide-art>svg{width:min(55vw,270px);height:min(55vw,270px);stroke-width:1.1;animation:wd-guide-pop 2s ease-in-out infinite alternate}
.wd-guide-scanline{height:2px;background:#222;position:absolute;left:17%;right:17%;top:0;animation:wd-guide-scan 3s linear infinite;opacity:.55}
.wd-guide-controls{text-align:center;color:#25344b;display:grid;gap:5px}.wd-guide-controls small{font-size:11px;color:#748092}
@keyframes wd-guide-pop{from{transform:scale(.97)}to{transform:scale(1.07)}}
@keyframes wd-guide-scan{from{top:12%}to{top:88%}}
@media(prefers-reduced-motion:reduce){.wd-guide-art>svg,.wd-guide-scanline{animation:none}}
@media(max-width:540px){.wd-parts-carousel{min-height:72px}.wd-part-icon{height:60px}.wd-part-icon svg{width:42px;height:42px}body.wd-icon-inspection .top{padding:6px 18px!important}body.wd-icon-inspection #hseView{margin-top:12px!important}}

.wd-parts-carousel button.wd-part-icon{background:transparent;border:0;padding:0;cursor:pointer;color:inherit}
body.wd-icon-inspection .wd-camera-trigger:focus-within{outline:2px solid #397ec0;outline-offset:2px}
body.wd-icon-inspection #hseCamera>div>b{display:none}
/* v4.102 monochrome inspection controls */
body.wd-icon-inspection{--ink:#111;color:#111}
body.wd-icon-inspection .top .brand{width:36px;min-width:36px;max-width:36px;filter:grayscale(1)}
body.wd-icon-inspection .top .brand-logo{height:40px!important;left:-1px!important}
body.wd-icon-inspection .wd-parts-carousel{display:none!important}
body.wd-icon-inspection .wd-photo-actions{grid-template-columns:1fr 1fr 1fr}
body.wd-icon-inspection .wd-photo-actions button{color:#111!important;border-color:#ddd!important}
.wd-analysis-icon{color:#bbb;font-size:38px;text-align:center;animation:wd-analyze 2s linear infinite}
@keyframes wd-analyze{to{transform:rotate(360deg)}}
body.wd-icon-inspection .hse-pf-line{display:flex;flex-wrap:wrap;justify-content:center;gap:18px;border:0;background:#fff}
body.wd-icon-inspection .wd-pf-choice{position:relative;display:block;margin:0;cursor:pointer}
body.wd-icon-inspection .wd-pf-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0}
.wd-pf-choice span{display:grid;place-items:center;width:64px;height:56px;font-size:37px;color:#777;border:1px solid #ddd;border-radius:14px}
.wd-pf-choice input:checked+span{color:#111;border:2px solid #111;background:#eee}
.wd-pf-choice input:focus-visible+span{outline:2px solid #555}
body.wd-icon-inspection .wd-fail-note{flex-basis:100%;background:#fff;border:1px solid #ddd;color:#111}
.wd-fail-note[hidden]{display:none!important}.wd-fail-note::placeholder{color:#ccc;font-size:24px}
body.wd-icon-ppe #hseCamera .wizardnav{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center}
body.wd-icon-ppe #hseCamCancel,body.wd-icon-ppe #hseCamShoot{background:white!important;color:#111!important;border:1px solid #ddd;font-size:32px}
#hseCamShoot svg{width:30px;height:30px}
body.wd-icon-ppe #wdHseQuickNext{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#111!important;background:#fff!important}
#wdHseQuickNext small{font-size:11px}
.wd-guide-close{top:auto;bottom:10px;right:12px;width:auto;font-size:17px;z-index:2}
.wd-guide-card{padding-bottom:56px}
.wd-inspection-popover{min-width:155px;display:flex;gap:8px;flex-wrap:wrap}
.wd-inspection-popover button{width:44px;height:44px;background:#fff;color:#111;border:1px solid #ddd;border-radius:12px}
.wd-inspection-popover button[hidden]{display:none!important}
body.wd-icon-inspection input[type=checkbox]{accent-color:#111}
/* v4.103: restore the blue-gray palette and compact capture controls. */
body.wd-icon-inspection{--ink:#17283b;color:#17283b}
body.wd-icon-inspection .top .brand{filter:none;width:30px;min-width:30px;max-width:30px}
body.wd-icon-inspection .top .brand-logo{left:0!important;height:40px!important;clip-path:inset(0 0 0 0)}
.wd-inspection-popover{display:flex;flex-flow:row nowrap;min-width:0;width:max-content;max-width:calc(100vw - 24px);padding:8px;gap:6px}
.wd-inspection-popover button{flex:0 0 40px;width:40px;height:40px;color:#203448;border-color:#d5e1ed}
body.wd-icon-inspection .wd-photo-actions{display:flex;flex-flow:row wrap;gap:8px;align-items:center}
body.wd-icon-inspection .wd-photo-actions>button,body.wd-icon-inspection .wd-photo-actions>label{flex:0 0 48px;width:48px;min-width:0;padding:9px!important;min-height:48px!important;color:#203448!important;border-color:#d5e1ed!important}
body.wd-icon-inspection .wd-photo-actions .hse-pf-line{display:contents;margin:0;padding:0}
body.wd-icon-inspection .wd-photo-actions .wd-pf-choice{width:48px;flex:0 0 48px;padding:0!important;min-height:48px!important;border:0!important;background:transparent!important}
.wd-pf-choice span{width:48px;height:48px;box-sizing:border-box;font-size:32px;color:#60798f;border-color:#d5e1ed}
.wd-pf-choice input:checked+span{background:#eaf3fb;border-color:#4384b2;color:#246c9e}
body.wd-icon-inspection .wd-fail-note{flex:1 0 100%;color:#203448;border-color:#d5e1ed}
body.wd-icon-inspection input[type=checkbox]{accent-color:#317fb6}
body.wd-icon-inspection #hseForm>.check{display:flex;flex-flow:row nowrap;align-items:center;gap:12px;font-weight:500;color:#334b61}
body.wd-icon-inspection #hseConfirm{flex:0 0 25px;width:25px;height:25px;margin:0}
body.wd-icon-inspection #mainTitle{text-align:center;width:100%;font-size:21px}
body.wd-icon-inspection #hseCamera>div>b{display:block;text-align:center;color:#203448}
body.wd-icon-inspection #hseCamAssessment .hse-photo-single{display:grid;gap:12px}
body.wd-icon-inspection #hseCamAssessment img{width:100%;max-height:54dvh;object-fit:contain;border-radius:14px}
body.wd-icon-inspection #hseCamera .wizardnav:has(#hseCamShoot[hidden]){display:none}
body.wd-icon-inspection #hseCamCancel svg{width:29px;height:29px}
.wd-guide-art{color:#456d8e;background:linear-gradient(145deg,#f3f7fb,#e7eff6);border-radius:16px}
.wd-guide-art>svg{stroke-width:1.5;filter:drop-shadow(0 5px 4px #28496622)}
.wd-guide-scanline{background:#4c96c0}

/* v4.104 unified guide / camera geometry */
body.wd-icon-inspection{--wd-control-size:49px;--wd-preview-height:min(42dvh,340px)}
@media(max-width:520px){body.wd-icon-inspection{--wd-control-size:46px}}
body.wd-icon-inspection #mainTitle{display:none!important}
body.wd-icon-inspection .wd-guide-overlay,body.wd-icon-inspection #hseCamera{position:fixed;inset:0;display:grid;place-items:center;padding:16px;box-sizing:border-box}
body.wd-icon-inspection #hseCamera[hidden]{display:none!important}
body.wd-icon-inspection .wd-guide-card,body.wd-icon-inspection #hseCamera>div{width:min(460px,calc(100vw - 32px));max-width:none;box-sizing:border-box;padding:16px!important;border-radius:18px;margin:0;max-height:90dvh;overflow:auto}
body.wd-icon-inspection .wd-guide-art,body.wd-icon-inspection #hseCamera .wd-hse-video-wrap,body.wd-icon-inspection #hseCamera .hse-photo-large{height:var(--wd-preview-height)!important;min-height:var(--wd-preview-height)!important;max-height:var(--wd-preview-height)!important;width:100%!important;aspect-ratio:auto!important;margin:0!important;border-radius:14px;object-fit:contain;background:#f0f5fa}
body.wd-icon-inspection #hseCameraVideo{height:100%!important;max-height:none!important;object-fit:cover}
body.wd-icon-inspection .wd-capture-title,body.wd-icon-inspection #hseCamera>div>b,body.wd-icon-inspection .wd-guide-controls>span{display:block;text-align:center;font-size:18px;line-height:24px;font-weight:600;color:#263e53;margin:12px 0!important;min-height:48px;box-sizing:border-box}
body.wd-icon-inspection #hseCamera>div>b[hidden]{display:none!important}
body.wd-icon-inspection .wd-guide-controls small{display:none}
body.wd-icon-inspection .wd-guide-card{display:flex;flex-direction:column}
body.wd-icon-inspection .wd-guide-art{order:0}.wd-guide-controls{order:1}
body.wd-icon-inspection .wd-guide-close{order:2;position:static;margin:0 0 0 auto}
body.wd-icon-inspection #hseCamera .wizardnav,body.wd-icon-inspection .wd-photo-actions{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:0!important;align-items:center;background:transparent;padding:0!important;margin:0!important;min-height:var(--wd-control-size)}
body.wd-icon-inspection #hseCamera .wizardnav:has(#hseCamShoot[hidden]){display:none!important}
body.wd-icon-inspection .wd-photo-actions>button,body.wd-icon-inspection .wd-photo-actions>label,body.wd-icon-inspection #hseCamCancel,body.wd-icon-inspection #hseCamShoot,body.wd-icon-inspection .wd-guide-close{width:var(--wd-control-size)!important;height:var(--wd-control-size)!important;min-width:var(--wd-control-size)!important;min-height:var(--wd-control-size)!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center;border:1px solid #d5e1ed!important;background:#fff!important;box-sizing:border-box}
body.wd-icon-inspection .wd-photo-actions>button:first-child,body.wd-icon-inspection #hseCamCancel{grid-column:1;grid-row:1;justify-self:start}
body.wd-icon-inspection .wd-photo-actions>.wd-camera-trigger,body.wd-icon-inspection #hseCamShoot{grid-column:2;grid-row:1;justify-self:center}
body.wd-icon-inspection .wd-photo-actions>.hse-pf-line{display:flex!important;flex-wrap:wrap;grid-column:3;grid-row:1;gap:4px!important;justify-content:flex-end;padding:0!important;margin:0!important}
body.wd-icon-inspection .wd-photo-actions .wd-pf-choice{width:var(--wd-control-size)!important;flex:0 0 var(--wd-control-size)!important;min-height:var(--wd-control-size)!important}
body.wd-icon-inspection .wd-pf-choice span{width:var(--wd-control-size);height:var(--wd-control-size);border-radius:50%;font-size:28px;border-width:1px}
body.wd-icon-inspection .wd-pf-choice[data-choice=P] span,body.wd-icon-inspection [data-hse-pass]{color:#73a83b!important;background:#f0f8e6!important;border-color:#b4d688!important}
body.wd-icon-inspection .wd-pf-choice[data-choice=F] span{color:#cf4242!important;background:#fff0f0!important;border-color:#e6aaaa!important}
body.wd-icon-inspection .wd-pf-choice input:checked+span{box-shadow:0 0 0 2px currentColor inset}
body.wd-icon-inspection .wd-photo-actions>[data-hse-pass]{grid-column:3;grid-row:1;justify-self:end}
body.wd-icon-inspection .wd-photo-actions svg,body.wd-icon-inspection #hseCamCancel svg,body.wd-icon-inspection #hseCamShoot svg,body.wd-icon-inspection .wd-guide-close svg{width:25px!important;height:25px!important;stroke-width:2;fill:none}
body.wd-icon-inspection #hseCamAssessment .hse-photo-single{gap:0!important;padding:0!important;border:0!important}
body.wd-icon-inspection .wd-fail-note{min-width:120px}
body.wd-icon-inspection .wd-guide-overlay,body.wd-icon-inspection #hseCamera{align-items:start;padding-top:clamp(65px,14dvh,120px)}
body.wd-icon-inspection:has(#hseCamera:not([hidden])) #hseForm,body.wd-icon-inspection:has(.wd-guide-overlay) #hseForm{visibility:hidden}
body.wd-icon-inspection .wd-guide-controls{display:block}
body.wd-icon-inspection .wd-guide-art>svg{max-height:75%;max-width:75%}
body.wd-icon-inspection #hseCamera .wd-label-result{margin-top:12px}

/* v4.105 camera close, fixed assessment row, native-style shutter and press feedback. */
body.wd-icon-inspection #hseCamera>div{position:relative;padding-top:48px!important}
#hseCamClose{position:absolute;top:8px;right:8px;width:34px;height:34px;min-height:34px;padding:7px;border:0;border-radius:50%;background:#f3f4f6;color:#263e53;display:grid;place-items:center;z-index:5}
#hseCamClose svg{width:20px;height:20px}
body.wd-icon-inspection .wd-capture-title{position:relative;padding-right:64px;padding-left:64px}
.wd-photo-page{position:absolute;right:0;top:0;font-size:12px;font-weight:500;white-space:nowrap;color:#748092}
.wd-note-slot{height:44px;margin:0 0 8px;display:flex;align-items:center}
body.wd-icon-inspection .wd-note-slot .wd-fail-note{width:100%;min-width:0;height:38px;margin:0;box-sizing:border-box;border:1px solid #d5e1ed;border-radius:10px;padding:8px 12px;background:#fff}
body.wd-icon-inspection #hseCamShoot{width:72px!important;height:72px!important;min-width:72px!important;min-height:72px!important;border:4px solid #414141!important;background:#fff!important;padding:3px!important;box-shadow:0 0 0 1px #888}
.wd-shutter-disc{width:100%;height:100%;display:block;border:1px solid #ddd;border-radius:50%;background:#fff}
button,[role=button],.wd-pf-choice span,.wd-camera-trigger{transition:transform 120ms ease,background-color 150ms ease,box-shadow 150ms ease; -webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:not(:disabled):active,[role=button]:active,.wd-camera-trigger:active,.wd-pf-choice:active span{transform:scale(.94);filter:brightness(.94)}
button:focus-visible,[role=button]:focus-visible{outline:2px solid #8094a8;outline-offset:3px}
@media(hover:hover){button:not(:disabled):hover,[role=button]:hover{box-shadow:inset 0 0 0 100px #00000008}}
@media(prefers-reduced-motion:reduce){button,[role=button],.wd-pf-choice span,.wd-camera-trigger{transition:none}}
/* v4.106: isolated camera stage and a single bottom control baseline. */
body:has(#hseCamera:not([hidden])){overflow:hidden}
body:has(#hseCamera:not([hidden])) .top,
body:has(#hseCamera:not([hidden])) #wdBottomNavigation,
body:has(#hseCamera:not([hidden])) .mainbar,
body:has(#hseCamera:not([hidden])) #wdActionDrawer{visibility:hidden!important;pointer-events:none!important}
body.wd-icon-inspection #hseCamera{background:#f2f5f8!important;z-index:200010;padding:64px 16px 130px!important;align-items:start;overflow:auto}
body.wd-icon-inspection #hseCamera>div{position:static;width:min(460px,calc(100vw - 32px));padding:0!important;overflow:visible;max-height:none;background:transparent;box-shadow:none;border:0}
body.wd-icon-inspection #hseCamera #hseCamClose{position:fixed!important;top:calc(12px + env(safe-area-inset-top,0px));right:16px;width:42px;height:42px;min-height:42px;border:1px solid #d5e1ed;background:white;z-index:10;display:grid;place-items:center}
body.wd-icon-inspection #hseCamera .wizardnav,
body.wd-icon-inspection #hseCamera .wd-photo-actions{position:fixed!important;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(550px,calc(100vw - 32px));height:82px!important;min-height:82px!important;grid-template-columns:1fr 1fr 1fr!important;align-items:center!important;z-index:5}
body.wd-icon-inspection #hseCamera #hseCamShoot,
body.wd-icon-inspection #hseCamera .wd-photo-actions>.wd-camera-trigger{width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important;border:5px solid #414141!important;background:white!important;padding:4px!important;border-radius:50%!important;box-shadow:0 0 0 1px #899098!important;grid-column:2;grid-row:1;justify-self:center;align-self:center}
body.wd-icon-inspection #hseCamera .wd-photo-actions>.wd-camera-trigger svg{display:none!important}
body.wd-icon-inspection #hseCamera .wd-photo-actions>.wd-camera-trigger::after{content:'';display:block;width:100%;height:100%;border:1px solid #ddd;box-sizing:border-box;border-radius:50%;background:white}
body.wd-icon-inspection #hseCamera .wd-photo-actions>.hse-pf-line{align-self:center;flex-wrap:nowrap!important}
body.wd-icon-inspection #hseCamera .wd-photo-actions>button,
body.wd-icon-inspection #hseCamera #hseCamCancel{align-self:center}
body.wd-icon-inspection #hseCamera #hseLabelGuide span{display:none!important}
body.wd-icon-inspection #hseCamera .wizardnav:has(#hseCamShoot[hidden]){display:none!important}
/* v4.107: dark surround, unchanged camera / guide image, white captions. */
body.wd-icon-inspection #hseCamera,
body.wd-icon-inspection .wd-guide-overlay{background:#fff!important;color:#17283b}
body.wd-icon-inspection .wd-guide-card,
body.wd-icon-inspection #hseCamera>div,
body.wd-icon-inspection #hseCamera #hseCamAssessment,
body.wd-icon-inspection #hseCamera .hse-photo-single,
body.wd-icon-inspection #hseCamera .hse-pf-line,
body.wd-icon-inspection #hseCamera .wd-photo-step{background:transparent!important;border:0!important;box-shadow:none!important}
body.wd-icon-inspection .wd-guide-controls,
body.wd-icon-inspection .wd-guide-controls>span,
body.wd-icon-inspection #hseCamera>div>b,
body.wd-icon-inspection .wd-capture-title{color:#17283b!important}
body.wd-icon-inspection .wd-capture-title{padding-left:0!important;padding-right:0!important}
body.wd-icon-inspection .wd-photo-page{display:none!important}
body.wd-icon-inspection .wd-guide-close,
body.wd-icon-inspection #hseCamera #hseCamClose,
body.wd-icon-inspection #hseCamera #hseCamCancel,
body.wd-icon-inspection #hseCamera .wd-video-trigger{background:#fff!important;color:#17283b!important;border-color:#50575f!important}
body.wd-icon-inspection #hseCamera .wd-label-result,
body.wd-icon-inspection #hseCamera .wd-label-line{background:transparent!important;color:#17283b!important}
body.wd-icon-inspection #hseCamera .wd-label-line input,
body.wd-icon-inspection #hseCamera .wd-fail-note{background:#fff!important;color:#17283b!important;border-color:#50575f!important}
body:has(.wd-guide-overlay) .top,
body:has(.wd-guide-overlay) #wdBottomNavigation{visibility:hidden!important;pointer-events:none!important}

/* v4.108: skip shares shutter baseline; captured photo fills the preview. */
body.wd-icon-inspection .wd-guide-close{position:fixed!important;right:max(16px,calc((100vw - 550px)/2));bottom:calc(16px + env(safe-area-inset-bottom,0px) + 41px - var(--wd-control-size)/2);top:auto!important;margin:0!important;z-index:10}
body.wd-icon-inspection #hseCamera .hse-photo-large{object-fit:cover!important;object-position:center!important;display:block!important;padding:0!important;border:0!important}
body.wd-icon-inspection #hseCamAssessment .hse-photo-single{width:100%!important;max-width:none!important}
/* v4.109: one shared metadata baseline above the capture controls. */
body.wd-icon-inspection #hseCamera .wd-note-slot,
body.wd-icon-inspection #hseCamera .wd-label-result{position:fixed!important;left:50%;transform:translateX(-50%);bottom:calc(122px + env(safe-area-inset-bottom,0px));width:min(460px,calc(100vw - 32px));height:60px!important;min-height:60px;box-sizing:border-box;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:center;border:0!important;box-shadow:none!important;background:transparent!important;z-index:4}
body.wd-icon-inspection #hseCamera .wd-note-slot:has(.wd-fail-note:not([hidden]))~.wd-label-result{display:none!important}
body.wd-icon-inspection #hseCamera .wd-label-line{display:flex!important;flex-flow:row nowrap!important;align-items:center;justify-content:center;gap:12px;width:100%;margin:0!important;border:0!important;padding:0!important;box-shadow:none!important;text-align:center}
body.wd-icon-inspection #hseCamera .wd-label-line span{flex:0 0 auto;text-align:center}
body.wd-icon-inspection #hseCamera .wd-label-line input{flex:0 1 260px;min-width:0;width:65%;height:42px;text-align:center!important;border:0!important;box-shadow:none!important;outline-offset:3px;margin:0!important}
body.wd-icon-inspection #hseCamera .wd-note-slot .wd-fail-note{height:42px!important;margin:0!important}
body.wd-icon-inspection #hseCamera .wd-note-slot:empty{pointer-events:none}

/* v4.110: no bright entry frame; dark inspection review and captured-photo gallery. */
body.wd-hse-loading::after{content:'';position:fixed;inset:0;background:#fff;z-index:300000}
body.wd-icon-ppe{background:#fff!important;color:#17283b!important}
body.wd-icon-ppe #app,body.wd-icon-ppe main,body.wd-icon-ppe #hseView,body.wd-icon-ppe #hseWizard,body.wd-icon-ppe #hseForm,body.wd-icon-ppe .hse-photo-single,body.wd-icon-ppe .hse-pf-line{background:#fff!important;color:#17283b!important;border:0!important;box-shadow:none!important}
body.wd-icon-ppe .top,body.wd-icon-ppe .mainbar{visibility:hidden!important}
body.wd-icon-ppe .notice{background:#fff!important;color:#ddd!important;border:0!important}
body.wd-icon-ppe .wd-capture-title{color:#17283b!important}
body.wd-icon-ppe .hse-photo-empty{background:#fff!important;border-color:#333!important}
body.wd-icon-ppe #hseCamera,body.wd-icon-ppe .wd-guide-overlay{background:#fff!important}
#wdPhotoGallery{position:fixed;inset:0;z-index:210000;background:#fff;color:#17283b;overflow:auto;padding:70px 16px 30px;box-sizing:border-box}
#wdPhotoGallery h2{text-align:center;font-size:20px;margin:0 0 24px;color:#17283b}
#wdPhotoGallery p{text-align:center;color:#ddd}
.wd-gallery-close{position:fixed;right:16px;top:calc(12px + env(safe-area-inset-top,0px));width:42px;height:42px;padding:0;border:1px solid #50575f;border-radius:50%;background:#fff;color:#17283b;font-size:30px;line-height:1}
.wd-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:650px;margin:auto}
.wd-gallery-grid button{background:#fff;border:0;padding:0;color:#17283b;min-width:0;text-align:center}
.wd-gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}
.wd-gallery-grid span{display:block;margin-top:8px;font-size:14px}
body:has(#wdPhotoGallery) #wdBottomNavigation{visibility:hidden!important}
body.wd-icon-ppe #wdBottomNavigation button,body.wd-icon-ppe #hseForm .wd-video-trigger,body.wd-icon-ppe #hseForm .wd-camera-trigger{background:#fff!important;color:#17283b!important;border-color:#50575f!important}
body.wd-icon-ppe #wdBottomNavigation button svg{stroke:#fff!important}
body.wd-icon-ppe #hseForm .wd-label-result,body.wd-icon-ppe #hseForm .wd-label-line{background:#fff!important;color:#17283b!important;border:0!important}
body.wd-icon-ppe #hseForm .wd-label-line input,body.wd-icon-ppe #hseForm .hse-info-row input{background:#fff!important;color:#17283b!important;border-color:#50575f!important}
body.wd-icon-ppe #hseForm .hse-info-row,body.wd-icon-ppe #hseForm .muted,body.wd-icon-ppe #hseForm .check{background:#fff!important;color:#17283b!important;border-color:#333!important}

/* v4.133: play control stands midway between back and shutter and matches compact reference size */
body.wd-icon-inspection #hseCamera .wd-video-trigger,body.wd-icon-inspection #hseForm .wd-video-trigger{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex:0 0 40px!important;padding:7px!important;border:1px solid #d5e1ed!important;border-radius:12px!important;box-sizing:border-box!important}
body.wd-icon-inspection #hseCamera .wd-video-trigger svg,body.wd-icon-inspection #hseForm .wd-video-trigger svg{width:25px!important;height:25px!important}
body.wd-icon-inspection #hseCamera .wd-photo-actions>.wd-video-trigger{grid-column:1;justify-self:end;margin-right:calc(50% - 20px)!important}
