#friction-diagram {display:block;width:100%;max-width:575px;margin:12px auto 0;border:1px solid #d5e3eb;border-radius:9px;background:#f5f9fb}
.contact-line {fill:none;stroke:#638298;stroke-width:2}
.block {fill:#d7edf1;stroke:#294e61;stroke-width:2}
#block-mass {font-size:17px;font-weight:700;fill:#173c54}
#pull-arrow {stroke:#215c91;stroke-width:3}
#friction-arrow {stroke:#a74a21;stroke-width:3}
.pull-key {color:#215c91}
.friction-key {color:#943e1c}
.motion-readings {grid-template-columns:repeat(3,minmax(0,1fr))}
.motion-readings dd {overflow-wrap:anywhere}
#surface {width:100%;min-height:44px;border:1px solid #c2d6e6;border-radius:7px;background:#f5f8fb;color:inherit;padding:6px 10px;font:inherit}
.friction-limits {background:#eaf2fa;border-radius:7px;margin:12px 0;padding:8px 11px}
.friction-limits p {display:flex;justify-content:space-between;gap:8px;margin:4px 0;font-size:14px}
.friction-limits strong {white-space:nowrap}
.primary-action {background:#25567b;border-color:#25567b;color:#fff}
.secondary-actions {display:flex;gap:8px;margin-top:8px}
.secondary-actions button {min-width:0}
