.repair-bench{margin:18px 0;background:repeating-linear-gradient(1deg,transparent 0 55px,#80603916 56px 58px),linear-gradient(110deg,#d5bd8b,#e1cca0 50%,#bda878);border:1px solid #ae946b;border-radius:16px;box-shadow:inset 0 2px #fff1c7,0 8px 20px #30443118;overflow:hidden}
.bench-heading{display:flex;justify-content:space-between;gap:8px;padding:13px 16px 0;color:#65583e;font-size:9px;font-weight:800;letter-spacing:1.5px}.bench-device{position:relative;max-width:520px;margin:auto;aspect-ratio:500/360}.bench-device>svg{display:block;width:100%;height:100%}.repair-bench figcaption{padding:0 18px 16px;font-size:12px;line-height:1.6;color:#4c5039;min-height:48px}.bench-part{position:absolute;transform:translate(-50%,-50%);min-width:44px;min-height:44px;border:0;background:transparent;color:#294e40;padding:0;display:grid;place-items:center;cursor:grab;touch-action:none;font:700 12px 'Segoe UI',sans-serif}.bench-part:focus-visible,.patch-carry:focus-visible{outline:3px solid #fff5d6;outline-offset:4px;box-shadow:0 0 0 6px #294e40}.bench-part:disabled{cursor:default}.bench-part:not(:disabled):hover{filter:brightness(1.15)}.bench-grabbed{z-index:8;cursor:grabbing;pointer-events:none;filter:drop-shadow(0 8px 4px #253e3480)}.bench-hover{outline:3px solid #f9dc8a!important;outline-offset:4px;background:#e4c67555!important}.bench-debris{border:2px dashed #ffebac;border-radius:12px;width:16%;height:19%}.bench-splinter{display:block;width:70%;height:18px;background:linear-gradient(#c4a06b,#8f6037);border:2px solid #714627;clip-path:polygon(0 15%,80% 0,100% 65%,18% 100%);rotate:40deg}.bench-stone{width:30px;height:32px;border-radius:40% 60% 30% 45%;background:linear-gradient(130deg,#c3c1a8,#737e6e);box-shadow:3px 4px #23372c66}.bench-contact{width:44px;height:44px;background:radial-gradient(circle,#ead28f 0 42%,#6c6547 44% 57%,transparent 59%);color:#2a4133}.bench-contact[aria-pressed=true]{outline:3px solid #fff4cc;border-radius:50%;background-color:#d8b66b66}.bench-join{background:#e7b573;border:2px dashed #724f31;border-radius:8px;font-size:30px;line-height:1}.bench-pulley{width:18%;height:23%;border:2px dashed #ffe7a0;border-radius:50%}.bench-pulley span{position:absolute;top:100%;background:#f9e9c9ed;color:#354d3a;padding:3px 6px;border-radius:4px;font-size:10px;pointer-events:none}.bench-pulley:disabled{border-color:transparent}.bench-dial{width:26%;height:36%;border-radius:50%}.dial-face{display:grid;place-items:start center;width:90%;height:90%;border-radius:50%;background:repeating-conic-gradient(#7a8a70 0deg 8deg,#486248 10deg 18deg);border:6px solid #c4b17d;box-shadow:0 6px 0 #263d2f,0 10px 12px #253c2d77;pointer-events:none}.dial-face i{height:28%;width:5px;background:#ffdda0;border-radius:3px;margin-top:6px}.bench-nudge{background:#e9d49d;border:2px solid #756c46;border-radius:50%;font-size:25px;box-shadow:0 3px #364d37}.bench-tear{width:20%;height:27%;color:#243c31;background:#172e2755;border:2px dashed #e8c387;border-radius:9px}.bench-tear svg{width:100%;height:100%;filter:drop-shadow(1px 2px #dac594)}.bench-tear.is-patched{color:#d1b97c;background:#788669;border:2px dashed #eedcb1;filter:none}.patch-carry{width:76px;height:76px;flex:none;border:2px dashed #ab9562;border-radius:12px;background:#f4e8c8;touch-action:none;cursor:grab;padding:2px}.patch-carry svg{width:100%;height:100%;pointer-events:none}.patch-carry:disabled{opacity:.3;pointer-events:none}.chosen-patch{position:relative}.bench-solved{box-shadow:inset 0 0 0 2px #7c9163}.case-reading{margin-top:12px;padding:14px}.case-reading strong{font-size:1.7rem}.measurements{font-size:13px;max-height:160px;overflow:auto}.case-controls .patch-tools .modal-actions{gap:8px}.case-controls .patch-tools .btn{font-size:12px}.patch-tools>p:first-child{font-weight:700}.bench-part:disabled:not(.is-patched){opacity:.75}
@media(max-width:500px){.bench-heading{font-size:8px;letter-spacing:.8px;padding:12px 10px 0}.repair-bench figcaption{font-size:11px;padding:0 12px 12px}.bench-contact{min-width:44px;min-height:44px;width:44px;height:44px;background-size:36px 36px;background-position:center;background-repeat:no-repeat}.bench-pulley span{font-size:9px}.bench-part{min-width:44px;min-height:44px}.bench-join{min-width:44px;min-height:44px}.repair-bench{margin-inline:-6px}}

.bench-device>.bench-trace{position:absolute;inset:0;z-index:6;pointer-events:none}
