/* Physical design system / 03: field training and destructive test bench. */
#the-job{--job-paper:#e8dfc4;--job-ink:#30291c;--job-steel:#24251e;--job-line:#77704e;--job-yellow:#ffc92d;color:var(--ps-cream)}
#the-job [hidden]{display:none!important}
#the-job .job-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:end;margin:22px 0 29px}
#the-job .job-intro h2{margin:12px 0;font-size:clamp(48px,8vw,96px);line-height:.92;letter-spacing:-.06em}
#the-job .job-intro p{max-width:52ch;font-size:clamp(17px,2vw,21px);line-height:1.55;color:var(--ps-muted)}
#the-job .job-license{background:#d6c6a0;color:var(--job-ink);padding:18px 28px;box-shadow:4px 4px #786546;transform:rotate(-3deg);border:1px solid #93805a;display:grid;gap:10px;font-family:var(--ps-mono);min-width:230px}
#the-job .job-license small{font-size:12px;font-weight:700}
#the-job .job-license strong{font:900 25px/1.08 var(--ps-heading)}
#the-job .job-license .ps-stamp{justify-self:start}
#the-job .job-training{background:#181a15;border:1px solid #716547;box-shadow:0 5px 0 #080a08;position:relative}
#the-job .job-machine-head,#the-job .job-machine-foot,#the-job .job-bench-plate{display:flex;justify-content:space-between;align-items:center;gap:9px;background:#2b2b23;color:#ded0a8;font:700 12px/1.35 var(--ps-mono);letter-spacing:.03em;padding:13px 18px;border-bottom:1px solid #6b6046}
#the-job .job-training-route{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:2px solid #9f8951;background:#151711}
#the-job .job-training-route span{padding:14px 10px;text-align:center;color:#bcb29a;border-right:1px solid #5d5235;font:700 13px/1.25 var(--ps-mono);position:relative}
#the-job .job-training-route span:last-child{border-right:0}
#the-job .job-training-route .is-current{background:var(--job-yellow);color:#18140b;box-shadow:inset 0 -4px #8d6b1c}
#the-job .job-training-route .is-done{color:var(--job-yellow)}
#the-job .job-training-route .is-done:after{content:' ✓';color:var(--job-yellow)}
#the-job .job-rundown{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;color:#cdc2a4;font:700 12px/1.4 var(--ps-mono)}
#the-job .job-rundown [data-job-status]{flex:1;color:var(--ps-cream);font-family:var(--ps-body)}
#the-job .job-rundown button,#the-job .job-sound-switch{background:#151610;border:1px solid #8a784c;color:var(--job-yellow);font-weight:800;padding:9px 12px;min-height:44px;cursor:pointer;border-radius:2px}
#the-job .job-station{padding:clamp(9px,2.5vw,28px);padding-top:0}
#the-job .job-sheet{position:relative;background:repeating-linear-gradient(0deg,transparent 0 31px,#6d593013 31px 32px),var(--job-paper);color:var(--job-ink);border:1px solid #ad9870;box-shadow:3px 4px #655539;padding:clamp(16px,3vw,36px)}
#the-job h3{font-size:clamp(30px,5vw,52px);line-height:1.02;margin:8px 0 13px;letter-spacing:-.04em}
#the-job .job-sheet h3,#the-job .job-sheet p{color:var(--job-ink)}
#the-job .job-sheet p,#the-job .job-road-header p{font-size:17px;line-height:1.55;max-width:73ch;margin:0 0 15px}
#the-job .job-stage-label{font:800 12px/1.4 var(--ps-mono);letter-spacing:.07em;color:#705637}
#the-job .job-contracts{display:flex;gap:4px;margin:23px 0 0;border-bottom:2px solid #7b6643}
#the-job .job-contracts button{flex:1;min-width:0;text-align:left;background:#c4b089;color:#33291c;border:1px solid #9a8052;border-bottom:0;padding:12px;min-height:64px;font-weight:900;font-size:16px;cursor:pointer;clip-path:polygon(0 0,94% 0,100% 16%,100% 100%,0 100%)}
#the-job .job-contracts button[aria-pressed=true]{background:var(--job-yellow);color:#29200e}
#the-job .job-contracts small{display:block;font-size:12px;font-weight:600;margin-top:4px}
#the-job .job-load-board{background:#26271e;color:#f4eee0;border:1px solid #74684a;padding:12px 16px 17px;position:relative}
#the-job .job-load-top{display:flex;justify-content:space-between;gap:8px;font:700 11px/1.35 var(--ps-mono);color:#d8c89f}
#the-job .job-bed{position:relative;display:grid;grid-template-columns:repeat(3,1fr);min-height:clamp(125px,20vw,205px);align-items:end;border-bottom:10px solid #9b792f;border-left:6px solid #77613d;border-right:6px solid #77613d;margin:18px 0 13px;background:repeating-linear-gradient(90deg,#191c15 0 1px,transparent 1px 25px);box-shadow:inset 0 -5px #3e3020}
#the-job .job-load-slot{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;height:100%;padding:8px 0 0;position:relative;border-right:1px dashed #76694b}
#the-job .job-load-slot:last-child{border-right:0}
#the-job .job-load-slot span{font:700 11px var(--ps-mono);color:#d6c6a0;position:absolute;top:0}
#the-job .job-load-slot img{width:clamp(44px,12vw,132px);height:clamp(62px,13vw,135px);object-fit:contain;transform:translateX(var(--load-shift,0px)) rotate(var(--load-tilt,0deg));transition:transform .22s var(--ps-ease);filter:drop-shadow(0 4px 3px #0006)}
#the-job .job-balance,#the-job .job-road-balance{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;font:700 10px/1.3 var(--ps-mono);color:#dfd1ab}
#the-job .job-gauge{position:relative;height:12px;background:linear-gradient(90deg,#ac4937 0 21%,#d0a52f 21% 40%,#a0a671 40% 60%,#d0a52f 60% 79%,#ac4937 79%);border:1px solid #75684b}
#the-job .job-gauge i{position:absolute;left:50%;top:-4px;height:19px;width:5px;background:#fff0c4;box-shadow:0 0 0 1px #30291c;transform:translateX(-50%);transition:left .2s}
#the-job .job-load-buttons,#the-job .job-control-row{display:flex;gap:8px;margin-top:14px}
#the-job .job-load-buttons button,#the-job .job-control-row button{flex:1;min-height:44px;border:1px solid #97834e;border-radius:3px;background:#11130f;color:#f5e9c7;font-weight:800;font-size:14px;padding:10px 8px;cursor:pointer}
#the-job .job-load-buttons button:active,#the-job .job-control-row button:active{transform:translateY(2px)}
#the-job .job-readout{font-weight:700;font-size:15px!important;margin:14px 0!important}
#the-job .job-next{margin-top:9px;min-height:48px}
#the-job .job-sheet .m-btn.outline{color:#402f1d;border-color:#7e6542}
#the-job .job-sheet button:focus-visible{outline:3px solid #a1372b;outline-offset:3px}
#the-job button:disabled{opacity:.55;cursor:not-allowed}
#the-job .job-secure-scene{min-height:210px;aspect-ratio:2.6;position:relative;background:repeating-linear-gradient(0deg,transparent 0 23px,#8d785e2a 23px 24px),repeating-linear-gradient(90deg,#8d785e2a 0 1px,transparent 1px 24px);border-bottom:2px solid #8c7955;overflow:hidden}
#the-job .job-secure-scene>img{position:absolute;bottom:0;left:50%;transform:translateX(-50%);height:84%;width:90%;object-fit:contain}
#the-job .job-secure-load{position:absolute;bottom:53%;left:calc(50% - min(20%,140px));width:24%;height:38%;display:flex;align-items:end;justify-content:center;gap:0;transform:rotate(var(--load-tilt,0deg))}
#the-job .job-secure-load img{width:35%;height:90%;object-fit:contain}
#the-job .job-secure-load i{position:absolute;top:4%;bottom:0;width:6px;background:#cbb044;box-shadow:0 0 0 1px #5d3d1a;transform:scaleY(0) rotate(14deg);transform-origin:bottom;transition:transform .25s}
#the-job .job-secure-load i:nth-last-child(1){left:70%;transform:scaleY(0) rotate(-14deg)}
#the-job .job-strapped .job-secure-load i{transform:scaleY(1) rotate(14deg)}
#the-job .job-strapped .job-secure-load i:nth-last-child(1){transform:scaleY(1) rotate(-14deg)}
#the-job .job-checklist{display:grid;margin:12px 0 20px}
#the-job .job-checklist label{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px dashed #9b855e;font-size:16px;cursor:pointer}
#the-job .job-checklist input{width:22px;height:22px;accent-color:#756129;flex:none}
#the-job .job-slap{font-size:clamp(19px,3vw,28px);padding:10px 19px;cursor:pointer;background:none}
#the-job .job-road-header{padding:14px 6px 9px}
#the-job .job-road-header .job-stage-label{color:#ceb87e}
#the-job .job-road-header p{color:var(--ps-muted)}
#the-job .job-road-machine{border:1px solid #9b8350;background:#25261b}
#the-job .job-road-display{position:relative;aspect-ratio:2.6;min-height:170px;overflow:hidden;background:#14140e}
#the-job .job-road-display>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
#the-job .job-road-display .job-hills{object-fit:fill;transform:translateX(calc(var(--road-step,0) * -1.5%)) scale(1.15);transition:transform .48s}
#the-job .job-road-display .job-farm{object-fit:fill;transform:translateX(calc(var(--road-step,0) * -2.7%)) scale(1.35);transition:transform .48s}
#the-job .job-road-display .job-edge{object-fit:fill}
#the-job .job-driving-rig{position:absolute;left:21%;bottom:10%;width:58%;height:75%;transform:rotate(var(--road-lean,0deg));transform-origin:50% 90%;transition:transform .22s}
#the-job .job-driving-rig>img{width:100%;height:100%;object-fit:contain}
#the-job .job-drive-cargo{position:absolute;left:6%;bottom:57%;height:39%;width:38%;display:flex;align-items:end;justify-content:center}
#the-job .job-drive-cargo img{height:90%;width:34%;object-fit:contain}
#the-job .job-driving .job-driving-rig{animation:job-bump .48s ease}
@keyframes job-bump{0%,100%{transform:translateY(0) rotate(var(--road-lean,0deg))}40%{transform:translateY(-12px) rotate(calc(var(--road-lean,0deg) + 7deg))}75%{transform:translateY(3px) rotate(calc(var(--road-lean,0deg) - 4deg))}}
#the-job .job-road-sign{position:absolute;bottom:7%;right:3%;background:#e8cf80;border:2px solid #554520;color:#30291c;box-shadow:2px 3px #392b17;font:800 10px var(--ps-mono);padding:8px;max-width:28%}
#the-job .job-dash{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid #756340;background:#141611}
#the-job .job-dash>div{padding:12px 14px;border-right:1px solid #5d5236;display:grid;gap:5px}
#the-job .job-dash>div:last-child{border-right:0}
#the-job .job-dash small{font:700 11px/1.3 var(--ps-mono);color:#c4b58d}
#the-job .job-dash strong{font:800 clamp(20px,4vw,36px)/1 var(--ps-mono);color:var(--job-yellow)}
#the-job .job-road-controls{padding:16px}
#the-job .job-control-row .job-gas{background:var(--job-yellow);color:#20190b}
#the-job .job-road-controls p{font-size:15px;color:#e8ddbd;margin:15px 0 0}
#the-job .job-checkpoint{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#c7b58c;color:#30291c;border-top:4px double #856b32;padding:16px}
#the-job .job-checkpoint h4{font-size:clamp(24px,4vw,37px);margin:4px 0;line-height:1}
#the-job .job-checkpoint p{font-size:15px;color:#30291c;margin:9px 0 0}
#the-job .job-checkpoint>div:last-child{display:flex;flex-wrap:wrap;gap:8px}
#the-job .job-checkpoint .m-btn.outline{color:#30291c;border-color:#745e38}
#the-job .job-pod{display:grid;gap:14px;justify-items:start;margin:20px 0}
#the-job .job-pod-photo{width:min(100%,550px);aspect-ratio:2.2;position:relative;overflow:hidden;border:8px solid #f5ebd1;border-bottom-width:26px;background:#6c8250;box-shadow:2px 3px #8f7b55;transform:rotate(-2deg)}
#the-job .job-pod-photo img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#the-job .job-pod-photo img:nth-child(2){position:absolute;left:20%;bottom:0;width:68%;height:92%;object-fit:contain}
#the-job .job-pod-photo span{position:absolute;left:9px;top:8px;background:#171710;color:#f2de9c;font:700 10px var(--ps-mono);padding:5px}
#the-job .job-delivered .job-pod-photo{transform:rotate(0deg);transition:transform .32s}
#the-job .job-receipt{max-width:550px;background:#f3e9cb;padding:20px;border-top:3px double #8c7850;border-bottom:3px dashed #a69262;box-shadow:2px 3px #a79265}
#the-job .job-receipt small{font:700 12px/1.5 var(--ps-mono);color:#675334}
#the-job .job-receipt h4{font-size:27px;margin:8px 0 12px}
#the-job .job-receipt-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px dashed #ac966a;padding:10px 0;font-size:16px}
#the-job .job-receipt .ps-stamp{margin:18px 0;animation:ps-stamp-hit .32s var(--ps-impact)}
#the-job .job-machine-foot{border-top:1px solid #746448;border-bottom:0}
#the-job .job-workbench{margin-top:clamp(45px,8vw,100px)}
#the-job .job-workbench-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:22px}
#the-job .job-workbench-heading p{max-width:65ch;color:var(--ps-muted);font-size:17px;line-height:1.55;margin-bottom:0}
#the-job .job-sound-switch{flex:none}
#the-job .job-bench-plate{background:#35362d;border:1px solid #6c6046;border-bottom:3px solid #0c0d08}
#the-job .job-bench-top{position:relative;display:grid;grid-template-columns:repeat(7,1fr);align-items:end;gap:4px;background:repeating-linear-gradient(0deg,transparent 0 33px,#2b1d0e2e 33px 35px),linear-gradient(155deg,#645039,#382b1c);border:1px solid #80613a;padding:24px 15px 17px;overflow:visible}
#the-job .job-bench-top button{min-width:0;display:grid;grid-template-rows:clamp(65px,9vw,130px) auto auto;align-items:end;justify-items:center;gap:6px;padding:10px 3px 7px;background:none;border:0;color:#f7e9c9;font:800 11px/1.3 var(--ps-mono);text-align:center}
#the-job .job-bench-top button img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 6px 4px #0009);transform:translateY(calc(13px * (1 - var(--job-travel,1))))}
#the-job .job-bench-top button small{color:#cbbb96;font-size:10px}
#the-job .job-bench-feedback{padding:14px 17px;background:#151710;border:1px solid #776343;display:flex;align-items:center;gap:14px}
#the-job .job-bench-feedback>span{font:800 12px var(--ps-mono);color:var(--job-yellow);flex:none}
#the-job .job-bench-feedback p{margin:0;font-size:15px;color:#efdfb6}
#the-job .job-bench-foot{height:12px;background:repeating-linear-gradient(135deg,#ffc92d 0 18px,#151710 18px 36px)}
@media(max-width:760px){
 #the-job .job-intro{grid-template-columns:1fr;gap:13px}
 #the-job .job-license{justify-self:start;display:flex;align-items:center;gap:10px;min-width:0;padding:10px 13px;flex-wrap:wrap}
 #the-job .job-license strong{font-size:18px}#the-job .job-license small{font-size:10px}#the-job .job-license .ps-stamp{font-size:10px}
 #the-job .job-machine-head,#the-job .job-machine-foot,#the-job .job-bench-plate{font-size:10px;padding:10px 9px}
 #the-job .job-training-route span{padding:12px 4px;font-size:10px}
 #the-job .job-rundown{padding:9px;gap:8px}
 #the-job .job-rundown [data-job-status]{flex-basis:50%}
 #the-job .job-load-board{padding:10px 8px}#the-job .job-balance,#the-job .job-road-balance{font-size:9px;gap:5px}
 #the-job .job-control-row{display:grid;grid-template-columns:repeat(2,1fr)}
 #the-job .job-dash>div{padding:10px 8px}#the-job .job-dash small{font-size:9px}
 #the-job .job-checkpoint{display:grid}
 #the-job .job-workbench-heading{display:grid;gap:12px}
 #the-job .job-sound-switch{justify-self:start}
 #the-job .job-bench-top{grid-template-columns:repeat(3,1fr);gap:14px 5px;padding:15px 9px}
 #the-job .job-bench-top button{grid-template-rows:80px auto auto}
 #the-job .job-bench-feedback{align-items:start;flex-direction:column;gap:6px}
}
@media(prefers-reduced-motion:reduce){#the-job *,#the-job *:before,#the-job *:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
#the-job .m-btn.primary{background:var(--job-yellow);color:#151006;border:1px solid #ffe27c;box-shadow:0 4px 0 #95721b;cursor:pointer}
#the-job .m-btn.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #95721b}
#the-job .job-sheet .m-btn.outline,#the-job .job-checkpoint .m-btn.outline{background:transparent}
#the-job .job-training-route .is-current::before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#8d6b1c;transform:scaleX(var(--job-travel,1));transform-origin:left}
#the-job .job-stage-label{transform:translateX(calc(-10px * (1 - var(--job-travel,1))))}
#the-job .job-station:not([hidden]) .job-stage-label{animation:job-feed .34s var(--ps-ease)}
@keyframes job-feed{from{transform:translateX(-12px)}to{transform:translateX(0)}}
#the-job .job-bench-plate{box-shadow:inset 0 -2px #0004}
/* Match the existing Farm Road layer roles: horizon, foreground, narrow road edge. */
#the-job .job-road-display .job-sky{inset:0;width:100%;height:100%;object-fit:cover}
#the-job .job-road-display .job-hills{inset:auto 0 13%;height:34%;width:100%;transform-origin:bottom center}
#the-job .job-road-display .job-farm{inset:auto 0 13%;height:56%;width:100%;transform-origin:bottom center}
#the-job .job-road-display .job-edge{inset:auto 0 0;height:14%;width:100%;object-fit:fill}
#the-job .job-driving-rig{left:50%;bottom:12%;width:auto;height:70%;aspect-ratio:3/2;translate:-50% 0}
#the-job .job-driving-rig>img{display:block}
#the-job .job-drive-cargo{left:5%;width:32%;bottom:56%;height:33%}
#the-job .job-secure-rig{position:absolute;left:50%;bottom:0;height:84%;width:auto;aspect-ratio:3/2;transform:translateX(-50%)}
#the-job .job-secure-rig>img{display:block;width:100%;height:100%;object-fit:contain}
#the-job .job-secure-load{left:5%;width:32%;bottom:56%;height:33%}
#the-job .job-pod-photo{background:#6c8250 url('/assets/road-sky.webp') center/cover no-repeat}
#the-job .job-pod-photo img:first-child{inset:auto 0 0;height:70%;object-fit:fill}
#the-job .job-road-display .job-edge{height:16%}
#the-job .job-road-display .job-farm,#the-job .job-road-display .job-hills{bottom:12%}
#the-job .job-driving-rig{bottom:15%}
#the-job .job-drive-cargo img.job-lost{visibility:hidden}
#the-job .job-driving .job-drive-cargo img:not(.job-lost){animation:job-cargo-rattle .48s ease}
@keyframes job-cargo-rattle{30%{transform:translateY(-5px) rotate(-7deg)}65%{transform:translateY(2px) rotate(5deg)}}
/* Actual truck and cargo, shared coherent scene positions. */
#the-job .job-training,#the-job .job-station,#the-job .job-sheet,#the-job .job-road-machine{min-width:0;max-width:100%;box-sizing:border-box}
#the-job .job-yard{position:relative;aspect-ratio:1.7;background:linear-gradient(#b8a68a 0 65%,#6e593b 65%);isolation:isolate;overflow:hidden;margin:12px 0}
#the-job .job-yard-scenery{position:absolute;inset:0;background:url('/assets/road-sky.webp') center/cover}
#the-job .job-yard-scenery:after{content:'';position:absolute;inset:27% 0 0;background:url('/assets/road-farm.webp') center bottom/100% 100% no-repeat}
#the-job .job-ground{position:absolute;bottom:0;height:22%;width:100%;background:url('/assets/road-dirt.webp') center/cover;z-index:2;box-shadow:inset 0 3px #4e4020}
#the-job .job-yard-rig{position:absolute;left:23%;top:19%;width:73%;aspect-ratio:3/2;z-index:3}
#the-job .job-yard-rig .job-truck{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#the-job .job-bed-target{position:absolute;left:5%;top:7%;width:30%;height:28%;display:grid;grid-template-columns:repeat(3,1fr);align-items:end;z-index:3;border-bottom:2px dashed #ffda6b}
#the-job .job-bed-target button{padding:0;background:#18150fc9;color:#ffc92d;border:1px dashed #ffc92d;font-size:clamp(14px,3vw,25px);height:75%;width:100%;min-width:0;cursor:pointer}
#the-job .job-yard:has(.job-freight.is-selected) .job-bed-target button{background:#ffc92dba;color:#151006}
#the-job .job-freight{position:absolute;z-index:4;left:var(--x);top:var(--y);width:var(--size,13%);height:var(--size,13%);min-width:36px;min-height:36px;padding:0;border:none;background:none;transform:translate(-50%,-100%);touch-action:none;cursor:grab}
#the-job .job-freight img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #0007);pointer-events:none}
#the-job .job-freight.is-selected img{filter:drop-shadow(0 0 3px #ffd34b) drop-shadow(0 2px 3px #0007)}
#the-job .job-freight.is-dragging{z-index:15;cursor:grabbing}
#the-job .job-load-help{color:#e5d5af!important;font-size:13px!important;margin:12px 0!important}
#the-job .job-secure-rig,#the-job .job-driving-rig{height:auto;width:70%;aspect-ratio:3/2;max-width:520px;bottom:7%}
#the-job .job-secure-scene{background:#cfbfa0;aspect-ratio:2.2;min-height:175px}
#the-job .job-secure-load,#the-job .job-drive-cargo{position:absolute;inset:0;width:100%;height:100%;display:block;transform:none;pointer-events:none}
#the-job .job-secure-load>img,#the-job .job-drive-cargo>img{position:absolute;left:var(--x);top:var(--y);width:var(--size,14%);height:var(--size,14%);object-fit:contain;transform:translate(-50%,-100%);filter:drop-shadow(0 2px 2px #0006)}
#the-job .job-ratchet{position:absolute;left:10%;top:var(--strap-top,19%);width:19%;height:calc(35% - var(--strap-top,19%));z-index:4;pointer-events:none}
#the-job .job-ratchet i{position:absolute;top:0;bottom:0;width:5px;background:#e6b23e;border:1px solid #6c4c22;box-shadow:1px 2px #35220c;transform:scaleY(0) rotate(12deg);transform-origin:bottom;transition:transform .25s}
#the-job .job-ratchet i:first-child{left:12%}#the-job .job-ratchet i:last-child{left:81%;transform:scaleY(0) rotate(-12deg)}
#the-job .job-strapped .job-ratchet i:first-child{transform:scaleY(1) rotate(12deg)}#the-job .job-strapped .job-ratchet i:last-child{transform:scaleY(1) rotate(-12deg)}
#the-job .job-cab-mask{position:absolute;left:43%;top:12%;width:18%;height:29%;clip-path:polygon(20% 0,76% 0,100% 80%,0 100%);background:linear-gradient(135deg,#322319,#11110e 70%);opacity:0;transition:opacity .16s}
#the-job .job-door{position:absolute;left:39%;top:39%;width:26%;height:30%;background:url('/assets/truck-empty.webp') 54% 56%/385% auto;clip-path:polygon(0 0,100% 0,94% 90%,5% 100%);transform-origin:right;opacity:0;transition:transform .25s,opacity .15s}
#the-job .job-carl-out .job-cab-mask{opacity:1}#the-job .job-door-open .job-door{opacity:1;transform:perspective(250px) rotateY(-65deg)}
#the-job .job-carl{position:absolute;height:55%;width:24%;bottom:3%;left:50%;background-size:contain;background-repeat:no-repeat;background-position:center bottom;opacity:0;transform:translateX(-50%) scaleX(var(--face,1));transition:left .6s ease,opacity .18s;z-index:5;filter:drop-shadow(0 3px 3px #0005)}
#the-job .job-carl-out .job-carl{opacity:1}
#the-job .job-carl[data-pose="stand"]{background-image:url('/assets/carl-stand.webp')}#the-job .job-carl[data-pose="walk"]{background-image:url('/assets/carl-walk.webp');animation:job-walk .24s alternate infinite}#the-job .job-carl[data-pose="slap"]{background-image:url('/assets/carl-slap.webp')}
@keyframes job-walk{to{translate:0 -3px}}
#the-job .job-inspection-caption,#the-job .job-bump-warning{position:absolute;top:6px;left:7px;background:#17150e;color:#ffdc75;padding:6px;font:800 10px/1.2 var(--ps-mono);z-index:6;max-width:90%}
#the-job .job-checklist [data-job-walk]{justify-self:start;margin-top:10px}
#the-job .job-road-display{width:100%;aspect-ratio:2.1;min-height:0}
#the-job .job-road-display .job-driving-rig{width:60%;bottom:13%;left:50%;max-height:none;max-width:520px}
#the-job .job-road-display .job-road-sign{max-width:35%;font-size:9px;overflow-wrap:anywhere}
#the-job .job-road-running .job-farm{animation:job-parallax 4s linear infinite alternate}#the-job .job-road-running .job-hills{animation:job-parallax 9s linear infinite alternate}
@keyframes job-parallax{from{transform:translateX(5%) scale(1.2)}to{transform:translateX(-8%) scale(1.2)}}
#the-job .job-road-running .job-driving-rig{animation:job-cruise .5s ease-in-out infinite alternate}
@keyframes job-cruise{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-2px) rotate(1deg)}}
#the-job .job-driving .job-driving-rig{animation:job-bump .55s ease}
#the-job .job-driving .job-drive-cargo>img:not(.job-lost){animation:job-cargo-rattle .48s ease}
#the-job .job-balance-label{display:block;margin:12px 0 2px;color:#f4e6c8;font-weight:800;font-size:14px}
#the-job [data-job-shift]{width:100%;accent-color:#ffc92d;min-height:40px;touch-action:pan-y}
#the-job .job-road-controls{padding:12px}#the-job .job-dash{grid-template-columns:repeat(3,minmax(0,1fr))}
#the-job .job-dash>div{min-width:0;overflow-wrap:anywhere}#the-job .job-road-display>img{max-width:none}
#the-job .job-road-display .job-farm{inset:auto 0 13%;height:56%;width:100%}#the-job .job-road-display .job-hills{inset:auto 0 13%;height:34%;width:100%}#the-job .job-road-display .job-edge{inset:auto 0 0;height:16%}
#the-job .job-pod-photo{width:100%;max-width:650px;aspect-ratio:1.7}
#the-job .job-pod-photo>.job-pod-farm{position:absolute;bottom:0;left:0;width:100%;height:75%;object-fit:fill}
#the-job .job-pod-rig{position:absolute;left:2%;bottom:14%;width:47%;height:65%}
#the-job .job-pod-rig .job-truck{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
#the-job .job-pod-freight{position:absolute;left:48%;bottom:7%;width:48%;height:30%;display:flex;align-items:end;gap:2%}
#the-job .job-pod-freight img{position:static!important;width:30%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 3px 2px #0007)}
#the-job .job-pod-carl{position:absolute;left:32%;bottom:3%;width:25%;height:65%;background:url('/assets/carl-phone.webp') center bottom/contain no-repeat;filter:drop-shadow(0 3px 2px #0006);z-index:3}
#the-job .job-camera-frame{position:absolute;inset:10%;border:2px dashed #ffebaf;opacity:.8;pointer-events:none}
#the-job .job-delivered .job-camera-frame{opacity:0;transition:opacity .2s}
#the-job .job-delivered .job-pod-photo{animation:job-camera .3s ease}
@keyframes job-camera{45%{transform:scale(.985) rotate(-1deg)}}
@media(max-width:600px){#the-job .job-yard{aspect-ratio:1.4}#the-job .job-yard-rig{top:24%;width:76%;left:21%}#the-job .job-secure-rig{width:80%}#the-job .job-road-display .job-driving-rig{width:64%}#the-job .job-pod-photo{border-width:5px;border-bottom-width:20px}}
#the-job .job-pod-photo>.job-pod-farm{top:auto;right:0}
#the-job .job-pod-rig>.job-truck{top:0;bottom:auto}
#the-job .job-yard-rig{pointer-events:none}#the-job .job-bed-target{pointer-events:auto}
#the-job .job-freight img{display:block}
#the-job .job-drive-cargo>img.job-lost{visibility:hidden}
#the-job .job-secure-scene .job-carl{pointer-events:none}
#the-job .job-yard{max-height:420px}
#the-job .job-yard-rig{width:auto;height:78%;left:35%;top:13%;max-width:69%}
#the-job .job-bed-target{left:6%;width:31%;top:0%;height:35%;border-bottom:2px dashed #ffd65b;align-items:start}
#the-job .job-bed-target button{border:0;background:transparent;text-shadow:0 1px 5px #000,0 1px 3px #000;height:36%;min-height:24px;font-weight:900;}
#the-job .job-yard:has(.job-freight.is-selected) .job-bed-target button{background:#ffc92dcc;color:#1a150b;text-shadow:none;border:1px dashed #594116}
#the-job .job-freight{height:var(--height,18%)}
#the-job .job-secure-scene{max-height:325px;background:linear-gradient(0deg,#ae9670 0 12%,transparent 12%),repeating-linear-gradient(90deg,#c4b291 0 1px,transparent 1px 32px),#d3c2a2}
#the-job .job-secure-rig{height:86%;width:auto;max-width:80%;bottom:8%}
#the-job .job-road-display{max-height:330px}
#the-job .job-road-display .job-driving-rig{height:79%;width:auto;max-width:74%;bottom:13%}
#the-job .job-secure-load>img,#the-job .job-drive-cargo>img{height:calc(var(--size) * 1.35)}
#the-job .job-drive-cargo>img:not(.job-lost){pointer-events:auto;touch-action:none;cursor:ew-resize}
#the-job .job-driving .job-drive-cargo>img:not(.job-lost){animation:job-cargo-rattle .48s ease}
#the-job .job-pod-photo:after{content:'';position:absolute;bottom:0;left:0;right:0;height:9%;background:url('/assets/road-edge.webp') bottom/100% 100%;pointer-events:none;z-index:1}
#the-job .job-pod-freight{bottom:9%;z-index:2}#the-job .job-pod-carl{bottom:7%}
#the-job .job-pod-rig{bottom:11%}
#the-job .job-pod-photo{margin-inline:auto}#the-job .job-pod>button{justify-self:center}
@media(max-width:600px){#the-job .job-yard{aspect-ratio:1.28}#the-job .job-yard-rig{height:auto;width:76%;max-width:none;left:21%;top:22%}#the-job .job-secure-rig{height:auto;width:80%;max-width:none}#the-job .job-road-display .job-driving-rig{height:auto;width:64%;max-width:none}#the-job .job-road-display{aspect-ratio:1.9}}
#the-job .job-secure-rig>.job-driverless{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .15s;pointer-events:none}
#the-job .job-carl-out .job-secure-rig>.job-driverless{opacity:1}
#the-job .job-door{background-image:url('/assets/truck-driverless.webp')}
#the-job .job-secure-scene .job-carl{height:62%}
#the-job .job-certified .job-secure-load{animation:job-certify .28s ease}
@keyframes job-certify{35%{transform:translateX(-1px) rotate(-2deg)}65%{transform:translateX(1px) rotate(1deg)}}

/* Game-art registration: one shared 840 × 560 truck, real bed and cab layers. */
#the-job .job-yard,#the-job .job-secure-scene,#the-job .job-road-display{
 width:100%;max-width:100%;min-width:0;min-height:0;height:auto;box-sizing:border-box;isolation:isolate;overflow:hidden;
}
#the-job .job-yard{aspect-ratio:1.32;max-height:none}
#the-job .job-yard-rig,#the-job .job-yard-rail{
 position:absolute;width:79%;height:auto;aspect-ratio:3/2;left:20%;top:auto;bottom:12%;max-width:none;
}
#the-job .job-yard-rig{z-index:3;pointer-events:none}
#the-job .job-ground{height:12%}
#the-job .job-yard-rail,#the-job .job-bed-rail{
 background:url('/assets/job-game-liability_empty_display.webp') center/100% 100% no-repeat;
 clip-path:polygon(4% 37%,37.4% 37%,37.4% 59%,4% 59%);
 pointer-events:none;z-index:6;
}
#the-job .job-bed-rail{position:absolute;inset:0;width:100%;height:100%}
#the-job .job-bed-target{
 left:6.8%;width:25.5%;top:-12%;height:55%;border:0;background:transparent;display:flex;align-items:flex-start;justify-content:center;z-index:3;padding:3px;pointer-events:none;touch-action:manipulation;
}
#the-job .job-bed-target span{opacity:0;font:800 clamp(8px,1.5vw,12px)/1.1 var(--ps-mono);background:#18150d;color:#ffd567;padding:4px;white-space:nowrap}
#the-job .job-yard.has-selection .job-bed-target{border:1px dashed #ffe291;background:#f3c32e15;pointer-events:auto}
#the-job .job-yard.has-selection .job-bed-target span{opacity:1}
#the-job .job-freight{min-width:0;min-height:0;width:var(--size);height:var(--height);z-index:4;transition:left .17s ease-out,top .20s ease-in,width .17s,height .17s;touch-action:none}
#the-job .job-freight.is-dragging{transition:none;z-index:20}
#the-job .job-freight img{object-fit:fill;filter:drop-shadow(0 2px 1px #0005)}
#the-job .job-freight:not(.is-loaded){min-width:24px;min-height:24px}
#the-job .job-place-controls{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:8px 0;color:#ded0a8;font:700 10px var(--ps-mono)}
#the-job .job-place-controls[hidden]{display:none!important}
#the-job .job-place-controls button{min-height:36px;background:transparent;border:1px solid #a38d52;color:#ffcf46;padding:4px 9px;touch-action:manipulation}
#the-job .job-secure-scene{aspect-ratio:1.23;max-height:none;background:linear-gradient(0deg,#a68b63 0 9%,transparent 9%),repeating-linear-gradient(90deg,#c4b291 0 1px,transparent 1px 32px),#d3c2a2}
#the-job .job-secure-rig{width:76%;height:auto;max-width:none;left:50%;bottom:9%;aspect-ratio:3/2}
#the-job .job-secure-rig>img,#the-job .job-driving-rig>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;max-width:none}
#the-job .job-secure-rig>.job-driverless{opacity:0;transition:none}
#the-job .job-driver-exited .job-secure-rig>.job-driverless{opacity:1}
#the-job .job-secure-load,#the-job .job-drive-cargo{position:absolute;inset:0;width:100%;height:100%;z-index:3;pointer-events:none}
#the-job .job-secure-load>img,#the-job .job-drive-cargo>img{width:var(--size);height:var(--height);object-fit:fill;transform:translate(-50%,-100%);max-width:none}
#the-job .job-ratchet{left:var(--strap-left);width:var(--strap-width);top:var(--strap-top);height:calc(40% - var(--strap-top));z-index:4}
#the-job .job-ratchet i{width:clamp(3px,.55vw,6px)}
#the-job .job-ratchet i:first-child{left:20%}#the-job .job-ratchet i:last-child{left:75%}
#the-job .job-door-art{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:7;visibility:hidden;pointer-events:none}
#the-job .job-door-active .job-door-art{visibility:visible}
#the-job .job-door-inner{visibility:hidden}#the-job .job-door-inner-visible .job-door-inner{visibility:visible}#the-job .job-door-inner-visible .job-door-exterior{visibility:hidden}
#the-job .job-secure-scene .job-carl{height:39%;width:32%;left:53%;bottom:calc(9% + var(--step-lift,0%));transition:left .68s ease,bottom .42s ease,opacity .12s;z-index:8;background-position:center bottom;pointer-events:none}
#the-job .job-secure-scene .job-carl[data-pose="stand"]{background-image:url('/assets/job-game-carl_neutral.webp')}
#the-job .job-secure-scene .job-carl[data-pose="step"]{background-image:url('/assets/job-game-carl_cab_step.webp')}
#the-job .job-secure-scene .job-carl[data-pose="slap"]{background-image:url('/assets/job-game-carl_slap.webp');width:43%;height:39%}
#the-job .job-secure-scene .job-carl[data-pose="walk"]{background-image:url('/assets/job-game-carl_cab_step.webp');animation:job-walk .24s alternate infinite}
#the-job .job-slap-sprite{display:block;width:min(100%,330px);border:0;background:transparent;padding:0;box-shadow:none;transform:none;touch-action:manipulation}
#the-job .job-slap-sprite img{display:block;width:100%;height:auto;filter:drop-shadow(0 3px 2px #493a27);pointer-events:none}
#the-job .job-slap-sprite:disabled{opacity:.47;filter:saturate(.60);cursor:default}
#the-job .job-certified .job-slap-sprite:disabled{opacity:1;filter:none;transform:rotate(-2deg)}
#the-job .job-road-display{aspect-ratio:1.65;max-height:none}
#the-job .job-road-display .job-driving-rig{width:68%;height:auto;max-width:none;bottom:13%;aspect-ratio:3/2}
#the-job .job-driving .job-drive-cargo>img:not(.job-lost){animation:job-cargo-contact-rattle .48s ease}
@keyframes job-cargo-contact-rattle{30%{transform:translate(-50%,-100%) rotate(-5deg) translateY(-3px)}65%{transform:translate(-50%,-100%) rotate(3deg)}}
@media(min-width:761px){#the-job .job-yard,#the-job .job-secure-scene,#the-job .job-road-display{max-height:490px;aspect-ratio:1.72}#the-job .job-yard-rig,#the-job .job-yard-rail{width:min(70%,650px);left:27%}#the-job .job-secure-rig{width:min(67%,670px)}#the-job .job-road-display .job-driving-rig{width:min(60%,630px)}}
@media(max-width:760px){#the-job .job-secure-scene .job-carl{height:40%}#the-job .job-secure-scene .job-carl[data-pose="slap"]{height:40%}}
#the-job .job-inspection-caption{top:6px;right:7px;left:auto;max-width:64%;z-index:9;font-size:clamp(9px,1.5vw,12px)}
#the-job .job-yard-rig{pointer-events:none}
#the-job .job-freight.is-selected{z-index:5}
#the-job .job-freight.is-dragging{z-index:20}
/* Reserve headroom for a full three-item stack, including on wide/short screens. */
#the-job .job-secure-scene{container-type:inline-size}
#the-job .job-secure-scene .job-carl{height:min(35.5cqw,265px);width:35%}
#the-job .job-secure-scene .job-carl[data-pose="slap"]{height:min(35.5cqw,265px);width:48%}
@media(min-width:761px){
 #the-job .job-yard,#the-job .job-secure-scene,#the-job .job-road-display{aspect-ratio:1.52;max-height:540px}
 #the-job .job-yard-rig,#the-job .job-yard-rail{width:min(66%,590px);left:28%}
 #the-job .job-secure-rig{width:min(66%,590px)}
 #the-job .job-road-display .job-driving-rig{width:min(63%,590px)}
 #the-job .job-secure-scene .job-carl{height:min(31cqw,265px)}
 #the-job .job-secure-scene .job-carl[data-pose="slap"]{height:min(31cqw,265px)}
}

/* Guided dock: physical speed-bump gates, one stable activity frame, and explicit exits. */
#the-job .job-dock{--dock-progress:1;position:relative;overflow:hidden;border:1px solid #806c43;background:linear-gradient(145deg,#24251d,#14150f);margin:32px 0 42px;box-shadow:0 5px 0 #080907;isolation:isolate;scroll-margin-top:200px}
#the-job .job-dock-stripe,#the-job .job-dock-footer{display:flex;justify-content:space-between;gap:8px;padding:10px 13px;background:#211f16;color:#dcca95;font:700 11px/1.4 var(--ps-mono);letter-spacing:.04em}
#the-job .job-dock-stripe{background:#ffc92d;color:#211a0c;position:relative;border-bottom:4px solid #5b4718;transform:translateY(calc(-13px * (1 - var(--dock-progress))));}
#the-job .job-dock-stripe:after{content:"";height:5px;position:absolute;bottom:-4px;left:0;right:0;background:repeating-linear-gradient(135deg,#151711 0 12px,#f7be24 12px 24px);transform:scaleX(var(--dock-progress));transform-origin:left}
#the-job .job-dock-main{padding:clamp(16px,3vw,36px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:12px;align-items:center}
#the-job .job-dock-main h3{margin:7px 0 10px;font-size:clamp(27px,5vw,54px)}
#the-job .job-dock-main h3 em{color:#ffc92d}
#the-job .job-dock-main p{color:#d4cbb5;font-size:16px;margin:0 0 14px}
#the-job .job-dock-main>img{width:100%;max-height:250px;object-fit:contain;filter:drop-shadow(0 8px 7px #0009);transform:translateX(calc(55px * (1 - var(--dock-progress)))) rotate(calc(-6deg * (1 - var(--dock-progress))));}
#the-job .job-dock-props{display:flex;align-items:end;gap:0;transform:translateY(calc(25px * (1 - var(--dock-progress))));}
#the-job .job-dock-props img{width:34%;min-width:0;max-height:160px;object-fit:contain;filter:drop-shadow(0 7px 4px #0008)}
#the-job .job-dock-props img:nth-child(2){transform:rotate(-12deg) translateY(-18%)}
#the-job .job-dock-footer{border-top:1px dashed #6b6046}
#the-job .job-dock-skip{display:block;min-height:44px;color:#dcd0af;background:none;border:0;text-decoration:underline;text-underline-offset:4px;font-weight:700;padding:7px 0;cursor:pointer;text-align:left}
#the-job .job-game-plate{border:0;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent url('/assets/job-game-load_action_plates-0.webp') center/100% 100% no-repeat;color:#241b0d;font:900 clamp(14px,2.5vw,18px)/1.1 var(--ps-heading);letter-spacing:.025em;min-height:49px;max-width:100%;width:min(100%,320px);padding:12px 25px;cursor:pointer;text-align:center;filter:drop-shadow(0 3px 2px #0006);touch-action:manipulation}
#the-job .job-game-plate-dark{background-image:url('/assets/job-game-load_action_plates-1.webp');color:#f7e7b8}
#the-job .job-game-plate:hover{filter:brightness(1.07) drop-shadow(0 3px 2px #0006)}
#the-job .job-game-plate:active{transform:translateY(2px)}
#the-job .job-game-plate:focus-visible,#the-job .job-focus button:focus-visible{outline:3px solid #fff0a2;outline-offset:2px}
html.job-focus-open,html.job-focus-open body{overflow:hidden!important;overscroll-behavior:none}
#the-job .job-focus:not([open]){display:none}
#the-job .job-focus[open]{display:flex;flex-direction:column;position:fixed;inset:0;margin:auto;width:min(96vw,840px);height:min(96dvh,850px);max-width:none;max-height:none;padding:0;overflow:hidden;box-sizing:border-box;outline:none;background:#141610;border:2px solid #927642;color:#fff0cf;border-radius:4px;box-shadow:0 15px 65px #000a;isolation:isolate;--job-scene-size:clamp(148px,34dvh,315px)}
#the-job .job-focus::backdrop{background:#080907db}
#the-job .job-focus-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 13px;border-bottom:2px solid #ab8b3d;background:linear-gradient(#27281d,#171813)}
#the-job .job-focus-id{display:flex;gap:9px;align-items:center;min-width:0}
#the-job .job-focus-id img{width:72px;height:38px;object-fit:contain;flex:none}
#the-job .job-focus-id small{display:block;font:700 9px/1.25 var(--ps-mono);color:#d0bd87}
#the-job .job-focus-id strong{display:block;letter-spacing:.055em;font:900 clamp(15px,3vw,22px)/1.15 var(--ps-heading);color:#ffc92d}
#the-job .job-focus-exit{border:1px solid #9b824a;color:#f1e4be;background:#181a14;font:800 13px var(--ps-heading);min-height:44px;padding:8px 12px;cursor:pointer;white-space:nowrap}
#the-job .job-focus-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;display:flex;flex-direction:column;justify-content:safe center;padding:8px 12px;touch-action:pan-y}
#the-job .job-focus-footer{flex:0 0 auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border-top:3px solid #ad8b3d;background:#171811;padding:4px 8px max(4px,env(safe-area-inset-bottom));position:relative}
#the-job .job-focus-footer:before{content:"";position:absolute;top:-3px;left:0;right:0;height:3px;background:repeating-linear-gradient(135deg,#171811 0 10px,#ffc92d 10px 20px)}
#the-job .job-focus-footer button{border:0;background:none;color:#ffce3c;font:800 10px/1.2 var(--ps-heading);min-height:44px;padding:5px 8px;cursor:pointer}
#the-job .job-focus-footer span{text-align:center;color:#b8aa83;font:700 9px/1.2 var(--ps-mono)}
#the-job .job-focus .job-training{border:0;box-shadow:none;background:transparent;width:100%;margin:auto}
#the-job .job-focus .job-machine-head,#the-job .job-focus .job-machine-foot{display:none}
#the-job .job-focus .job-training-route{margin-bottom:6px;border:1px solid #8a7444}
#the-job .job-focus .job-training-route span{padding:8px 3px;font-size:11px}
#the-job .job-focus .job-rundown{padding:0 3px 5px;gap:6px;flex-wrap:nowrap;font-size:10px;min-height:30px}
#the-job .job-focus .job-rundown>span:first-child{display:none}
#the-job .job-focus .job-rundown button{padding:3px 7px;min-height:32px;font-size:11px}
#the-job .job-focus .job-station{padding:0;min-height:0}
#the-job .job-focus .job-sheet{padding:12px 14px;box-shadow:2px 2px #655539}
#the-job .job-focus .job-stage-label{font-size:10px}
#the-job .job-focus h3{font-size:clamp(26px,4.2vw,38px);margin:2px 0 5px;line-height:1}
#the-job .job-focus .job-sheet p,#the-job .job-focus .job-road-header p{font-size:14px;line-height:1.25;margin:0 0 7px}
#the-job .job-focus .job-contracts{margin:6px 0 0}
#the-job .job-focus .job-contracts button{min-height:42px;padding:6px 9px;font-size:13px}
#the-job .job-focus .job-contracts small{font-size:11px;margin-top:2px}
#the-job .job-focus .job-load-board{padding:7px 8px}
#the-job .job-focus .job-load-top{font-size:10px}
#the-job .job-focus .job-yard,#the-job .job-focus .job-secure-scene,#the-job .job-focus .job-road-display{height:var(--job-scene-size);aspect-ratio:auto;max-height:none;min-height:0;width:100%;margin:5px 0;touch-action:none}
#the-job .job-focus .job-yard-rig,#the-job .job-focus .job-yard-rail{left:auto;right:2%;width:min(79%,calc(var(--job-scene-size) * 1.12));bottom:12%;height:auto}
#the-job .job-focus .job-secure-rig{width:min(76%,calc(var(--job-scene-size) * 1.18));bottom:9%;height:auto}
#the-job .job-focus .job-road-display .job-driving-rig{width:min(71%,calc(var(--job-scene-size) * 1.12));height:auto;bottom:13%}
#the-job .job-focus .job-load-help{font-size:12px!important;line-height:1.2!important;margin:3px 0 7px!important}
#the-job .job-focus .job-place-controls{margin:2px 0;gap:4px;font-size:10px}
#the-job .job-focus .job-place-controls button{min-height:30px;padding:3px 6px}
#the-job .job-focus .job-readout{font-size:13px!important;line-height:1.2!important;margin:7px 0!important;min-height:16px}
#the-job .job-focus .job-next{min-height:44px;margin-top:2px;padding:9px 15px}
#the-job .job-focus .job-secure-scene .job-carl,#the-job .job-focus .job-secure-scene .job-carl[data-pose=slap]{height:57%;max-height:none}
#the-job .job-carl>img{position:absolute;pointer-events:none;display:none;object-fit:contain}
#the-job .job-clipboard-out .job-clipboard{display:block;width:25%;height:33%;left:52%;top:40%;transform:rotate(-12deg);filter:drop-shadow(1px 2px 2px #0005)}
#the-job .job-ratchet-in-hand .job-ratchet-prop{display:block;width:41%;height:23%;left:54%;top:37%;transform:rotate(-15deg)}
#the-job .job-ratchet i{background:#d79d20 url('/assets/job-game-strap_material_atlas.webp') left center/auto 110% repeat-y;transform-origin:bottom;transition:transform .48s cubic-bezier(.2,.8,.2,1)}
#the-job .job-ratchet i:nth-child(2){transition-delay:120ms}
#the-job .job-inspection-track{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin:7px 0 0}
#the-job .job-inspection-track span{font:700 10px/1.3 var(--ps-mono);padding:6px 3px;border-bottom:2px solid #a68e5a;text-align:center;color:#755c38}
#the-job .job-inspection-track span.is-current{background:#f3c942;color:#251d0b;border-color:#a5791a}
#the-job .job-inspection-track span.is-done{color:#403926;border-color:#73652b}
#the-job .job-inspection-track span.is-done:after{content:' ✓'}
#the-job .job-inspection-action{min-height:63px;display:grid;place-items:center;position:relative}
#the-job .job-inspection-action button:not([hidden]){animation:job-action-in .3s ease-out}
#the-job .job-inspection-action .job-slap-sprite{width:min(100%,255px);margin:0}
#the-job .job-inspection-action .job-ratchet-button img{width:62px;height:30px;object-fit:contain;flex:none}
#the-job .job-inspection-wait{display:flex;align-items:center;gap:8px;color:#655037;font:800 11px var(--ps-mono);letter-spacing:.03em}
#the-job .job-inspection-wait i{width:10px;height:10px;background:#a2771b;border-radius:50%;animation:job-wait 1s alternate infinite}
#the-job .job-focus .job-inspection-prompt{text-align:center}
#the-job .job-focus .job-road-header{padding:0 2px 4px}
#the-job .job-focus .job-road-display{margin:0}
#the-job .job-focus .job-dash>div{padding:6px 9px;gap:3px}
#the-job .job-focus .job-dash strong{font-size:clamp(19px,3.5vw,26px)}
#the-job .job-focus .job-dash small{font-size:10px}
#the-job .job-focus .job-road-controls{padding:8px}
#the-job .job-focus .job-balance-label{margin:6px 0 0;font-size:13px}
#the-job .job-focus [data-job-shift]{min-height:34px;touch-action:none;cursor:ew-resize}
#the-job .job-focus .job-control-row{display:flex;margin:3px 0 0}
#the-job .job-focus .job-control-row button{min-height:44px}
#the-job .job-focus .job-road-controls p{font-size:13px;line-height:1.25;margin:5px 0 0;min-height:32px}
#the-job .job-focus .job-road-machine{position:relative;isolation:isolate}
#the-job .job-checkpoint-overlay:not([hidden]){position:absolute;inset:0;z-index:12;display:grid;place-items:center;background:#181811dc;border:0;padding:10px;color:#f3e7c5;animation:job-action-in .28s ease-out;touch-action:manipulation}
#the-job .job-checkpoint-ticket{width:min(100%,420px);max-height:100%;overflow:auto;background:linear-gradient(140deg,#3a3321,#1b1b14);border:2px solid #a48a4b;box-shadow:4px 5px #0c0d09;padding:clamp(12px,3vw,22px);text-align:center;position:relative}
#the-job .job-checkpoint-ticket:before{content:'';display:block;height:5px;background:repeating-linear-gradient(135deg,#151711 0 10px,#f7be24 10px 20px);position:absolute;left:0;right:0;top:0}
#the-job .job-checkpoint-ticket .job-stage-label{color:#e1bf5c;display:block;margin-top:7px}
#the-job .job-checkpoint-ticket h4{font-size:clamp(30px,6vw,45px);color:#ffc92d;line-height:1;margin:8px 0}
#the-job .job-checkpoint-ticket p{font-size:15px;line-height:1.3;color:#f1e1b9;margin:5px 0 12px}
#the-job .job-checkpoint-options{display:grid;grid-template-columns:1fr;gap:9px;justify-items:center}
#the-job .job-checkpoint-options button{display:flex;flex-direction:column;gap:3px;width:100%;min-height:60px}
#the-job .job-checkpoint-options small{font-size:11px;font-weight:700;letter-spacing:0}
#the-job .job-checkpoint-warning{display:block;font-size:12px;color:#c1b18a;margin-top:11px}
#the-job .job-focus .job-pod{margin:8px 0;gap:5px}
#the-job .job-focus .job-pod-photo{width:min(100%,500px);height:clamp(125px,25dvh,210px);aspect-ratio:auto;transform:rotate(0);border-width:5px;border-bottom-width:12px}
#the-job .job-focus .job-pod button{min-height:44px;width:min(100%,320px)}
#the-job .job-focus .job-delivered .job-pod-photo{height:clamp(88px,17dvh,155px)}
#the-job .job-focus .job-receipt{max-width:100%;padding:8px 10px;background:#f3e8cc;margin:7px 0}
#the-job .job-focus .job-receipt h4{font-size:19px;margin:0 0 5px}
#the-job .job-focus .job-receipt-row{padding:3px 0;font-size:13px}
#the-job .job-focus .job-receipt .ps-stamp{font-size:13px;margin:5px 0;padding:3px 6px}
#the-job .job-focus .job-receipt small{font-size:10px;line-height:1.1}
#the-job .job-focus .job-receipt p{font-size:12px;line-height:1.2;margin:3px 0}
#the-job .job-delivery-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#the-job .job-delivery-actions .m-btn{min-height:44px;padding:7px 10px;font-size:12px}
#the-job .job-focus .job-workbench{margin:auto 0;width:100%}
#the-job .job-focus .job-workbench-heading{display:flex;gap:10px;align-items:end;margin:0 0 10px}
#the-job .job-focus .job-workbench-heading h3{font-size:clamp(27px,4vw,41px);line-height:.98}
#the-job .job-focus .job-workbench-heading p{font-size:14px;line-height:1.25;margin:0}
#the-job .job-focus .job-sound-switch{font-size:12px;min-height:44px;padding:7px;max-width:130px}
#the-job .job-focus .job-bench-top{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:10px 5px;touch-action:none}
#the-job .job-focus .job-bench-top button{grid-template-rows:clamp(54px,12dvh,102px) auto auto;padding:6px 2px;gap:3px;font-size:10px;touch-action:none}
#the-job .job-focus .job-bench-top button small{font-size:9px}
#the-job .job-focus .job-bench-feedback{padding:9px;gap:4px;min-height:48px}
#the-job .job-focus .job-bench-feedback p{font-size:13px;line-height:1.2}
#the-job .job-focus .job-bench-plate{padding:8px;font-size:10px}
#the-job .job-focus .job-bench-foot{height:8px}
#the-job .job-station-enter,#the-job .job-frame-enter{animation:job-frame-in .3s ease-out}
@keyframes job-frame-in{from{opacity:.55;clip-path:inset(0 1.2% 0 1.2%)}to{opacity:1;clip-path:inset(0)}}
@keyframes job-action-in{from{opacity:.5;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@keyframes job-wait{to{opacity:.35}}
@media(max-width:600px){
 #the-job .job-focus[open]{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;--job-scene-size:clamp(130px,30dvh,280px)}
 #the-job .job-focus-header{padding:6px 9px}
 #the-job .job-focus-id img{width:60px;height:34px}
 #the-job .job-focus-body{padding:6px 8px}
 #the-job .job-focus .job-sheet{padding:9px}
 #the-job .job-focus .job-workbench-heading{display:grid;gap:6px}
 #the-job .job-focus .job-workbench-heading h3{font-size:30px}
 #the-job .job-dock-main{grid-template-columns:1fr;position:relative;padding:16px}
 #the-job .job-dock-main>img,#the-job .job-dock-props{max-height:120px;max-width:55%;justify-self:center}
 #the-job .job-dock-main h3{font-size:32px}
 #the-job .job-dock-props img{max-height:110px}
}
@media(max-height:620px){
 #the-job .job-focus[open]{--job-scene-size:clamp(118px,28dvh,220px)}
 #the-job .job-focus .job-rundown{display:none}
 #the-job .job-focus .job-stage-label{display:none}
 #the-job .job-focus .job-checkpoint-ticket .job-stage-label{display:block}
 #the-job .job-focus .job-load-help{font-size:11px!important}
 #the-job .job-focus .job-workbench-heading p{font-size:12px}
}
@media(prefers-reduced-motion:reduce){#the-job .job-dock-main>img,#the-job .job-dock-props,#the-job .job-dock-stripe{transform:none}#the-job .job-station-enter,#the-job .job-frame-enter,#the-job .job-inspection-action button,#the-job .job-checkpoint-overlay{animation:none!important}}
#the-job .job-focus-body>.job-training,#the-job .job-focus-body>.job-workbench{flex:0 0 auto}
#the-job .job-checkpoint-overlay>.job-checkpoint-ticket{display:block}
@media(max-height:730px) and (max-width:600px){
 #the-job .job-focus[open]{--job-scene-size:clamp(128px,26dvh,200px)}
 #the-job .job-focus .job-rundown{display:none}
 #the-job .job-focus .job-sheet p,#the-job .job-focus .job-road-header p{font-size:13px}
 #the-job .job-focus .job-training-route span{padding:5px 2px}
}
#the-job .job-checkpoint-ticket .job-stage-label,#the-job .job-checkpoint-ticket h4,#the-job .job-checkpoint-ticket p,#the-job .job-checkpoint-ticket .job-checkpoint-warning{text-align:center}
#the-job .job-checkpoint-ticket .job-checkpoint-options{display:grid;width:100%;justify-items:center;gap:8px}
#the-job .job-checkpoint-ticket .job-checkpoint-options .job-game-plate{width:min(100%,280px);justify-self:center;margin:0 auto}
#the-job .job-focus .job-pod-photo{width:min(100%,calc(clamp(125px,25dvh,210px) * 1.7))}
#the-job .job-focus .job-delivered .job-pod-photo{width:min(100%,calc(clamp(88px,17dvh,155px) * 1.7))}
#the-job .job-quote{display:grid;gap:3px;padding:7px 8px;border:1px solid #a48e5d;border-bottom:0;background:#ded0ab;color:#3a301c;font:700 12px/1.25 var(--ps-heading)}
#the-job .job-quote span{font-weight:500;font-size:12px}
#the-job .job-receipt-lines .job-receipt-row{font-size:12px}
#the-job .job-focus .job-receipt-lines .job-receipt-row{padding:2px 0}
@media(max-height:730px) and (max-width:600px){
 #the-job .job-quote{font-size:11px;padding:5px 6px}
 #the-job .job-quote span{font-size:11px}
}
#the-job .job-dock-main .job-contract-primer{font-size:13px;line-height:1.45;color:#d4c6a5;max-width:52ch}
/* The signed quote occupies its own space; reserve room for it and the next action. */
#the-job .job-focus .job-training[data-stage="0"] .job-yard{height:max(118px,calc(var(--job-scene-size) - 48px))}
#the-job .job-focus .job-training[data-stage="0"] .job-yard-rig,#the-job .job-focus .job-training[data-stage="0"] .job-yard-rail{width:min(79%,calc((var(--job-scene-size) - 48px) * 1.12))}
@media(max-width:600px){
 #the-job .job-focus .job-training[data-stage="0"] .job-yard{height:max(118px,calc(var(--job-scene-size) - 22px))}
 #the-job .job-focus .job-training[data-stage="0"] .job-yard-rig,#the-job .job-focus .job-training[data-stage="0"] .job-yard-rail{width:min(79%,calc((var(--job-scene-size) - 22px) * 1.12))}
}

/* Field training / shared game-art controls. The source plates include 60px of
   transparent space on the left; right-align the enlarged artwork so the actual
   engraved face, not the bitmap bounds, determines the label's center. */
#the-job .job-dock .job-game-plate,
#the-job .job-focus .job-game-plate{
 box-sizing:border-box;display:flex;align-items:center;justify-content:center;
 background:transparent url('/assets/job-game-load_action_plates-0.webp') right center/109.4% 100% no-repeat;
 border:0;border-radius:0;box-shadow:none;outline:0;
 width:min(100%,320px);min-width:0;min-height:46px;height:clamp(46px,7.5vw,54px);
 padding:6px 15%;padding-inline:clamp(34px,11%,48px);
 color:#261a08;font:900 clamp(12px,3vw,16px)/1.08 var(--ps-heading);
 text-transform:uppercase;letter-spacing:.015em;text-align:center;vertical-align:middle;
 text-wrap:balance;filter:drop-shadow(0 3px 2px #0006);
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;cursor:pointer;
}
#the-job .job-focus .job-game-plate.job-game-plate-dark{
 background-image:url('/assets/job-game-load_action_plates-1.webp');color:#ffe7ad;
}
#the-job .job-focus .job-plate-compact{
 width:auto;max-width:150px;min-width:84px;height:44px;min-height:44px;
 padding:4px 15px;font-size:12px;flex:0 0 auto;
}
#the-job .job-focus .job-focus-exit{width:88px}
#the-job .job-focus .job-place-controls .job-plate-compact{min-width:65px;max-width:104px;padding-inline:10px;font-size:11px}
#the-job .job-focus .job-control-row{justify-content:center}
#the-job .job-focus .job-control-row .job-game-plate{flex:0 1 320px;align-self:center}
#the-job .job-focus .job-pod .job-game-plate{justify-self:center}
#the-job .job-focus .job-next{margin-inline:auto}
#the-job .job-focus .job-delivery-actions{justify-content:center}
#the-job .job-focus .job-delivery-actions .job-game-plate{width:min(100%,280px)}
#the-job .job-focus .job-checkpoint-options .job-game-plate{min-height:46px;gap:0}
#the-job .job-focus .job-checkpoint-options>small{color:#d7c7a3}
#the-job .job-focus .job-inspection-action .job-ratchet-button{gap:5px;padding-inline:clamp(29px,10%,42px)}
#the-job .job-focus .job-inspection-action .job-ratchet-button img{width:40px;height:25px;flex:none}
#the-job .job-focus .job-game-plate:disabled{opacity:.55;filter:saturate(.65) drop-shadow(0 1px 1px #0004);cursor:not-allowed}
#the-job .job-game-plate:not(:disabled):hover{filter:brightness(1.1) drop-shadow(0 3px 2px #0008)}
#the-job .job-game-plate:not(:disabled):active,#the-job .job-slap-sprite:not(:disabled):active{
 transform:translateY(2px) scale(.985);filter:brightness(.9) drop-shadow(0 1px 1px #0008);
}
/* Pointer and programmatic focus must never paint rectangular rings.
   Keyboard users get a material-specific glow or a clear underline. */
#the-job .job-dock :focus,#the-job .job-focus :focus,
#the-job .job-dock :focus-visible,#the-job .job-focus :focus-visible{
 outline:none!important;outline-offset:0!important;-webkit-tap-highlight-color:transparent;
}
#the-job .job-focus h3[tabindex="-1"]{outline:none!important}
html.job-keyboard #the-job .job-game-plate:focus-visible,
html.job-keyboard #the-job .job-slap-sprite:focus-visible{
 filter:brightness(1.13) drop-shadow(0 0 3px #fff0a2) drop-shadow(0 0 7px #ffcc32);
}
html.job-keyboard #the-job .job-freight:focus-visible img,
html.job-keyboard #the-job .job-bench-top [data-cargo-prop]:focus-visible img{
 filter:drop-shadow(0 0 3px #fff0a2) drop-shadow(0 0 6px #ffc92d);
}
html.job-keyboard #the-job .job-contracts button:focus-visible,
html.job-keyboard #the-job .job-focus-footer button:focus-visible,
html.job-keyboard #the-job .job-dock-skip:focus-visible{
 text-decoration:underline 3px;text-underline-offset:4px;
}
html.job-keyboard #the-job .job-bed-target:focus-visible span{opacity:1;color:#fff0a2;text-shadow:0 0 6px #f5b71c}
html.job-keyboard #the-job [data-job-shift]:focus-visible{filter:drop-shadow(0 0 3px #ffc92d)}
/* One visible station becomes the focus frame; don't chase a passed station. */
html.job-approaching,html.job-approaching body{overflow:hidden!important;overscroll-behavior:none}
#the-job .job-dock.is-docking .job-dock-stripe{transform:none;background:#ffce38}
#the-job .job-dock.is-docking .job-dock-stripe:after{animation:job-entry-tape .26s linear both}
#the-job .job-dock.is-docking .job-dock-main{animation:job-dock-engage .26s ease-out both}
#the-job .job-dock.is-docking{box-shadow:0 0 16px #e9b93745,0 5px 0 #080907}
#the-job .job-focus.job-morphing{transform-origin:top left}
#the-job .job-focus.job-morphing::backdrop{animation:job-curtain-in .42s ease-out both}
@keyframes job-entry-tape{from{transform:scaleX(.2)}to{transform:scaleX(1)}}
@keyframes job-dock-engage{from{filter:brightness(1)}to{filter:brightness(1.12)}}
@keyframes job-curtain-in{from{opacity:0}to{opacity:1}}
@media(max-width:380px){
 #the-job .job-focus .job-plate-compact{min-width:72px;padding-inline:12px;font-size:11px}
 #the-job .job-focus .job-focus-exit{width:75px}
 #the-job .job-focus .job-place-controls .job-plate-compact{min-width:58px}
 #the-job .job-focus .job-game-plate{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 #the-job .job-dock.is-docking .job-dock-main,#the-job .job-dock.is-docking .job-dock-stripe:after,#the-job .job-focus.job-morphing::backdrop{animation:none}
}

/* Discovery is free scrolling. Only a deliberate activation closes the training lane.
   Arrival elements ease into their resting positions rather than grabbing the viewport. */
#the-job .job-dock .job-dock-note{font:600 13px/1.4 var(--ps-body);color:#c3b99c;margin:9px 0 1px}
#the-job .job-dock .job-game-plate[data-job-enter]{
 translate:0 calc(9px * (1 - var(--dock-progress)));opacity:calc(.82 + .18 * var(--dock-progress));
}
#the-job .job-dock-training .job-dock-main>img{
 transform:translateX(calc(75px * (1 - var(--dock-progress)))) translateY(calc(-7px * (1 - var(--dock-progress)))) rotate(calc(-4deg * (1 - var(--dock-progress))));
}
#the-job .job-dock-footer [data-job-dock-status]{display:flex;align-items:center;gap:7px;color:#e4c86e}
#the-job .job-dock-footer [data-job-dock-status]:before{content:'';width:7px;height:7px;flex:none;border-radius:50%;background:#ffc92d;opacity:.5}
#the-job .job-dock.is-ready [data-job-dock-status]:before{opacity:1;box-shadow:0 0 8px #ffc92d88}
#the-job .job-dock.is-docking .job-game-plate[data-job-enter]{transform:translateY(2px) scale(.98);filter:brightness(.94)}
#the-job .job-focus.job-arrival::backdrop{animation:job-curtain-in .57s ease-out both}
#the-job .job-focus.job-arrival .job-focus-header,#the-job .job-focus.job-arrival .job-focus-footer{animation:job-hud-in .57s ease-out both}
#the-job .job-focus.job-arrival .job-focus-body{animation:job-scene-in .57s ease-out both}
#the-job .job-focus.job-departure::backdrop{animation:job-curtain-out .38s ease-in both}
#the-job .job-focus.job-departure .job-focus-body{animation:job-scene-out .38s ease-in both}
@keyframes job-hud-in{0%,35%{opacity:0;transform:translateY(-6px)}100%{opacity:1;transform:none}}
@keyframes job-scene-in{0%,55%{opacity:0;transform:translateY(8px)}100%{opacity:1;transform:none}}
@keyframes job-scene-out{0%{opacity:1}55%,100%{opacity:0}}
@keyframes job-curtain-out{from{opacity:1}to{opacity:0}}
#the-job .job-dept-curtain{display:none;pointer-events:none}
#the-job .job-focus.job-transferring .job-dept-curtain{
 position:absolute;inset:0;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;
 background:#171810;border-block:12px solid #ffc92d;color:#f7e9c9;padding:20px;
 box-shadow:inset 0 8px #71602e,inset 0 -8px #71602e;animation:job-department-wipe .53s ease-in-out both;
}
#the-job .job-dept-curtain:before,#the-job .job-dept-curtain:after{content:'';height:12px;width:100%;position:absolute;left:0;background:repeating-linear-gradient(135deg,#191911 0 12px,#ffc92d 12px 26px)}
#the-job .job-dept-curtain:before{top:0}#the-job .job-dept-curtain:after{bottom:0}
#the-job .job-dept-curtain small,#the-job .job-dept-curtain span{font:700 11px/1.4 var(--ps-mono);color:#d4bc7e}
#the-job .job-dept-curtain strong{font:900 clamp(22px,5vw,44px)/1.05 var(--ps-heading);color:#ffc92d;max-width:22ch}
@keyframes job-department-wipe{0%{clip-path:inset(0 100% 0 0)}39%,59%{clip-path:inset(0)}100%{clip-path:inset(0 0 0 100%)}}
@media(prefers-reduced-motion:reduce){
 #the-job .job-dock .job-game-plate[data-job-enter]{translate:none;opacity:1}
 #the-job .job-dock-training .job-dock-main>img{transform:none}
}

/* A failed contract is not a successful receipt with a different number. */
[data-delivery-outcome="failed"] .job-delivery .job-stage-label{color:#92382a}
[data-delivery-outcome="failed"] .job-delivery h3{color:#8d3025}
[data-delivery-outcome="failed"] .job-pod-photo [data-job-photo-label]{background:#832e24;color:#fff2d6}
[data-delivery-outcome="failed"] .job-receipt{border-top:5px double #a64630}
[data-delivery-outcome="failed"] [data-job-final-payout]{color:#8d3025;font-size:1.4em}
[data-delivery-outcome="failed"] .job-receipt [data-job-final-stamp]{color:#9b3526;border-color:#9b3526}
[data-job-dock] .m-btn{min-width:min(100%,240px);text-transform:none}
#the-job [data-delivery-outcome="failed"] .job-delivery h3,#the-job [data-delivery-outcome="failed"] .job-stage-label{color:#8d3025}
#the-job [data-delivery-outcome="failed"] .job-receipt{border-top:5px double #a64630}

/* Short phones: preserve the loading yard and full-size action target while
   removing duplicated vertical chrome. The activity can still scroll if text
   zoom or accessibility settings need additional space. */
@media(max-width:380px) and (max-height:680px){
 #the-job .job-focus .job-training-route span{white-space:nowrap;font-size:10px;padding:5px 1px}
 #the-job .job-focus .job-training[data-stage="0"] .job-stage-label{display:none}
 #the-job .job-focus .job-training[data-stage="0"] .job-sheet{padding:7px}
 #the-job .job-focus .job-training[data-stage="0"] .job-load-board{padding:5px 7px}
 #the-job .job-focus .job-training[data-stage="0"] .job-load-help{margin:2px 0 4px!important}
 #the-job .job-focus .job-training[data-stage="0"] .job-readout{margin:4px 0!important}
 #the-job .job-focus .job-training[data-stage="0"] .job-yard{height:max(118px,calc(var(--job-scene-size) - 32px))}
 #the-job .job-focus .job-training[data-stage="0"] .job-yard-rig,
 #the-job .job-focus .job-training[data-stage="0"] .job-yard-rail{width:min(79%,calc((var(--job-scene-size) - 32px) * 1.12))}
}

/* Utility controls belong to the website, not the simulated truck controls. */
#the-job .job-focus .job-web-utility{border:1px solid #987c39;border-radius:4px;background:#1b1c15;color:#f4d479;box-shadow:none;font:800 13px/1.2 var(--ps-body);padding:8px 13px;min-height:44px;white-space:normal;cursor:pointer}
#the-job .job-focus .job-web-utility:hover{background:#302712;border-color:#ffcf38;color:#ffe7a2}
#the-job .job-focus .job-web-utility:active{transform:translateY(1px)}
#the-job .job-focus .job-sheet .job-web-utility{background:transparent;color:#40331c;border-color:#917846}
#the-job .job-focus .job-place-controls .job-web-utility{background:#1b1c15;color:#f4d479;padding:4px 9px;min-height:34px;font-size:12px}
#the-job .job-focus .job-delivery-actions .m-btn{width:min(100%,280px);min-height:44px}
html.job-keyboard #the-job .job-web-utility:focus-visible,html.job-keyboard #the-job .job-delivery-actions .m-btn:focus-visible{outline:2px dashed #ffd04f!important;outline-offset:3px!important}
