.leak-bench{background:#233d3c;border:1px solid #b6a77f;border-radius:10px;padding:18px}.leak-bench>p{line-height:1.8}.leak-bench svg{display:block;width:100%;aspect-ratio:640/310;border:1px solid #bca880;border-radius:12px;touch-action:none}.leak-wall{fill:#798f7d}.leak-pipe{fill:none;stroke:#d8c49c;stroke-width:17;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(1px 2px 2px #17302c)}.leak-flow{fill:none;stroke:#73bfc9;stroke-width:7;stroke-linecap:round;stroke-dasharray:9 6;animation:leak-flow 1.5s linear infinite}.leak-tank,.leak-cup-outline{fill:#214c5233;stroke:#f5dfb4;stroke-width:3;stroke-linejoin:round}.leak-joint{fill:#a98c62;stroke:#564f3e;stroke-width:2}.leak-label{fill:#fff0d0;stroke:#34473e;stroke-width:3;paint-order:stroke;font:18px system-ui}.leak-cup-fill{fill:#78bfccbb}.leak-stream{fill:none;stroke:#a2e0e7;stroke-width:4;stroke-dasharray:4 8;animation:leak-flow 1s linear infinite;filter:drop-shadow(0 1px 1px #264536)}.leak-drip{stroke-width:3;stroke-dasharray:3 15;animation-duration:1.8s}.leak-bench [role=slider]{cursor:grab}.leak-bench [role=slider]:focus-visible{outline:3px solid #f8d08b;outline-offset:4px}.leak-positions,.leak-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.leak-positions button,.leak-actions button{min-height:44px}.leak-positions [aria-pressed=true]{background:#d7b47d;color:#26383a}.leak-caption{color:#c9d1c1;font-size:12px}.leak-prediction{color:#edd29e;font-weight:600}.leak-bench progress{display:block;width:100%;height:10px;accent-color:#86b7b2}.leak-bench details{padding:14px;background:#173331;border:1px solid #778776;border-radius:7px}.leak-bench summary{min-height:36px;cursor:pointer;color:#e6c285}.leak-bench details p{font-size:13px;line-height:1.8}#leak-goals,#leak-log{font-size:13px;line-height:1.9;padding-inline-start:22px}#leak-goals [data-complete=true]{color:#e9cd8f}#leak-inlet{min-height:2em;font-size:13px}@keyframes leak-flow{to{stroke-dashoffset:-60}}@media(prefers-reduced-motion:reduce){.leak-flow,.leak-stream{animation:none}}@media(max-width:520px){.leak-bench{padding:12px}.leak-positions{display:grid;grid-template-columns:1fr 1fr}.leak-actions button{width:100%}.leak-label{font-size:26px}.leak-cup-outline{stroke-width:4}}

#leak-goals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;gap:10px}#leak-goals li{padding:12px;border:1px solid #748370;border-radius:7px;background:#193330}#leak-goals li:last-child{grid-column:1/-1;padding:8px 12px}#leak-goals strong{display:block;font:25px/1.5 Georgia,serif;color:#f1ddad}.leak-sample-bar{height:12px;background:#112927;border-inline-end:2px dashed #ddc08b}.leak-sample-bar i{display:block;height:100%;background:#8cbfc1}@media(max-width:520px){#leak-goals{grid-template-columns:1fr}#leak-goals li{display:grid;grid-template-columns:1fr auto;gap:6px 14px;align-items:center}#leak-goals strong{grid-column:2;grid-row:1}.leak-sample-bar{grid-column:1/-1}}
