/* Lab Bench · Lab 4 (static and kinetic friction). Builds on lab-bench.css. */
.fr-workspace{grid-template-columns:270px minmax(0,1.5fr) 300px}
.fr-pick{border:0;margin:0;padding:14px 18px 4px;display:grid;gap:8px}
.fr-pick legend,.fr-sub{font-weight:650;font-size:calc(14.5px * var(--ts, 1));margin:0 0 6px;padding:0}
.fr-pick label{display:flex;align-items:center;gap:8px;font-size:calc(14.5px * var(--ts, 1));cursor:pointer}
.fr-pick input{accent-color:var(--teal);width:17px;height:17px;flex:none}
.fr-swatch{display:inline-block;width:14px;height:14px;border-radius:3px;flex:none}
.fr-masses{padding:10px 18px 4px}
.fr-mass-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.fr-mass{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #dbe4dd;border-radius:8px;padding:7px 9px;background:#fbfcfa;font-size:calc(14.5px * var(--ts, 1))}
.fr-mass.on{background:#eef7ef;border-color:#9cc9b0}
.fr-mass button{font:inherit;font-size:calc(13.5px * var(--ts, 1));padding:5px 10px;border:1px solid #c7d6cc;border-radius:6px;background:white;white-space:nowrap}
.fr-total{margin:10px 0 4px;font-size:calc(15px * var(--ts, 1));line-height:1.5}
.lb-bad-text{color:#9a4a1b}.lb-good-text{color:#246b43}
/* the track */
.fr-scene{padding:10px;background:linear-gradient(#fafcf9,#f4f7f0);border-bottom:1px solid #edf0ec}
.fr-scene svg{width:100%;height:auto;display:block;touch-action:none;user-select:none}
.fr-track{fill:#d9b98a;stroke:#9c7c4c}
.fr-block{stroke:#2b2b2b;stroke-width:1}
.fr-block-lab{font-size:12px;font-weight:700;fill:white;text-anchor:middle}.fr-block-m{font-weight:600}
.fr-slot{stroke:#3c4a46;stroke-width:.8}.fr-slot-100{fill:#b9c2c8}.fr-slot-200{fill:#8f9aa3}.fr-slot-500{fill:#6b767e}
.fr-string{stroke:#7a7a7a;stroke-width:1.6;stroke-dasharray:5 3;fill:none}.fr-string.taut{stroke:#3c4a46;stroke-dasharray:none}
.fr-rod{stroke:#59636b;stroke-width:3;fill:none}
.fr-scale-body{fill:#efe0a8;stroke:#b39a4a;stroke-width:1.5}
.fr-scale-tick{stroke:#4d4114;stroke-width:1}
.fr-needle{stroke:#c24c2a;stroke-width:2.2}.fr-needle-big{stroke-width:3}.fr-needle-tip{fill:#c24c2a}
.fr-coil{fill:none;stroke:#59636b;stroke-width:2;stroke-linejoin:round}
.fr-sensor-body{fill:#1f6b5e}.fr-sensor-lab{font-size:13px;font-weight:700;fill:#d8f5e6;text-anchor:middle}
.fr-cable{fill:none;stroke:#3c4a46;stroke-width:2}
.fr-handle{fill:#ba622e;stroke:white;stroke-width:2}.fr-handle.held{fill:#9a2f1b}
.fr-grab{fill:transparent;cursor:grab}.fr-grab.held{cursor:grabbing}
.fr-hand-lab{font-size:14px;font-weight:700;fill:#ba622e;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:4px}
/* reading the instrument */
.fr-reading{display:grid;padding:12px 18px 0}
.fr-loupe{max-width:520px}
.fr-face{fill:#efe0a8;stroke:#b39a4a}
.fr-max-band{fill:#2f6db5;opacity:.18}.fr-max-line{stroke:#2f6db5;stroke-width:2.5}.fr-max-lab{font-size:13px;font-weight:700;fill:#2f6db5;text-anchor:middle}
.fr-maxptr{padding-left:25px}.fr-maxptr input{width:15px;height:15px}
.fr-loupe-num{font-size:20px;font-weight:700;fill:#4d4114;text-anchor:middle}
.fr-stop{font-size:15px;font-weight:700;fill:#9a2f1b;text-anchor:middle}
.fr-digital{max-width:320px}
.fr-pull{padding-bottom:4px}.fr-pull label{font-weight:600}.fr-pull select{font:inherit;font-size:calc(14px * var(--ts, 1))}
.fr-pull-help{padding:8px 18px 0;margin:0}
.fr-bench .run-message{padding:6px 18px 14px;margin:0}
/* force sensor graph */
.fr-sensor{margin-top:18px}
.fr-graph{display:block;width:calc(100% - 20px);max-width:1000px;height:auto;margin:10px 10px 4px;cursor:crosshair;touch-action:none}
.fr-graph:focus{outline:none}.fr-graph:focus-visible{outline:3px solid #ba622e;outline-offset:2px}
.fr-plot-bg{fill:#fbfcfa;stroke:#dfe7e1}
.fr-grid-minor{stroke:#e9eee9;stroke-width:1}.fr-grid-major{stroke:#d9e1dc;stroke-width:1.2}
.fr-tick{font-size:14px;fill:#56635f;text-anchor:middle}.fr-tick-y{text-anchor:end}
.fr-axis{font-size:15px;fill:#3c4a46;text-anchor:middle}
.fr-trace{fill:none;stroke:#1f6b5e;stroke-width:1.6;stroke-linejoin:round}
.fr-region{fill:#2f6db5;opacity:.08}
.fr-cursor{stroke-width:2}.fr-cursor-dot{stroke:white;stroke-width:1.5}.fr-cursor-lab{font-size:15px;font-weight:700}
line.fr-cursor-a{stroke:#ba622e}circle.fr-cursor-a,text.fr-cursor-a{fill:#ba622e}
line.fr-cursor-b{stroke:#2f6db5}circle.fr-cursor-b,text.fr-cursor-b{fill:#2f6db5}
.fr-cursor-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.fr-readout{font-size:calc(15px * var(--ts, 1));font-variant-numeric:tabular-nums;margin:10px 0 0;line-height:1.6}
.fr-cursor-help{padding-bottom:14px}
/* notebook, analysis, results */
.fr-progress{list-style:none;margin:10px 0 0;display:grid;gap:4px;font-size:calc(14.5px * var(--ts, 1))}
.fr-progress li::before{content:'☐';margin-right:8px;color:var(--muted)}
.fr-progress li.done{color:#2f7d4f}.fr-progress li.done::before{content:'☑';color:#2f7d4f}
.fr-nb{padding-top:12px;padding-bottom:6px}
.fr-table th:nth-child(4),.fr-table td:nth-child(4){text-align:left}
.fr-nb-btns{padding-bottom:16px}
.fr-analysis{margin-top:18px}
.fr-key{margin:8px 0 0}.fr-key-slow{color:#2f6db5;font-weight:600}.fr-key-medium{color:#a8551f;font-weight:600}.fr-key-fast{color:#9a2f1b;font-weight:600}
.fr-graphs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;padding:8px 8px 6px}
.fr-graph-box svg{width:100%;height:auto;display:block;padding:8px 10px 0}
.fr-explain{margin:4px 18px 18px}
.fr-result{margin-top:18px}
.fr-res-form{display:grid;gap:10px;max-width:760px}
.fr-res-form>label{font-weight:600}
.fr-res-form select{font:inherit;font-size:calc(15px * var(--ts, 1));max-width:260px}
.fr-res-form .lb-result-row>span:first-child{min-width:130px}
.fr-res-table th,.fr-res-table td{text-align:left}
.fr button.lb-big{background:#a8551f;border-color:#a8551f}
@media(max-width:1200px){.fr-workspace{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:900px){.fr-graphs{grid-template-columns:1fr}}
@media(max-width:760px){.fr-workspace{grid-template-columns:1fr}.fr-res-form .lb-result-row{flex-wrap:wrap}}
