/* Ship stability simulator: the section drawing. Colours from the site variables, so dark mode follows. */
.eb-sim .eb-ss .eb-ss-sea { fill: var(--eb-sim-1); fill-opacity: 0.16; }
.eb-sim .eb-ss .eb-ss-wl { stroke: var(--eb-sim-1); stroke-width: 1.6; }
.eb-sim .eb-ss .eb-ss-hull { fill: var(--ec-color-surface); stroke: var(--ec-color-text); stroke-width: 2.2; stroke-linejoin: round; }
.eb-sim .eb-ss .eb-ss-wet { fill: var(--eb-sim-1); fill-opacity: 0.3; stroke: none; }
.eb-sim .eb-ss .eb-ss-deck { fill: none; stroke: var(--ec-color-text); stroke-width: 4; stroke-linecap: round; }
.eb-sim .eb-ss .eb-ss-drag { cursor: grab; touch-action: none; }
.eb-sim .eb-ss .eb-ss-drag.is-drag { cursor: grabbing; }
.eb-sim .eb-ss .eb-ss-drag:hover .eb-ss-hull { stroke-width: 3; }
.eb-sim .eb-ss .eb-ss-cl { stroke: var(--ec-color-text-muted); stroke-width: 1.2; stroke-dasharray: 6 5; }
.eb-sim .eb-ss .eb-ss-force { fill: none; stroke: var(--ec-color-text-muted); stroke-width: 1.6; }
.eb-sim .eb-ss .eb-ss-head { fill: var(--ec-color-text-muted); }
.eb-sim .eb-ss .eb-ss-lever { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
.eb-sim .eb-ss .eb-ss-lever-head { fill: currentColor; }
.eb-sim .eb-ss .eb-ss-pt { stroke: var(--ec-color-surface); stroke-width: 2; pointer-events: none; }
.eb-sim .eb-ss .eb-ss-pt.g { fill: var(--eb-sim-2); }
.eb-sim .eb-ss .eb-ss-pt.g0 { fill: none; stroke: var(--eb-sim-2); stroke-width: 1.6; }
.eb-sim .eb-ss .eb-ss-pt.b { fill: var(--eb-sim-1); }
.eb-sim .eb-ss .eb-ss-pt.m { fill: var(--eb-sim-4); }
.eb-sim .eb-ss .eb-ss-tg { color: var(--eb-sim-2); }
.eb-sim .eb-ss text { pointer-events: none; user-select: none; }
.eb-sim .eb-ss .eb-ss-sea, .eb-sim .eb-ss .eb-ss-wl, .eb-sim .eb-ss .eb-ss-cl, .eb-sim .eb-ss .eb-ss-force, .eb-sim .eb-ss .eb-ss-head, .eb-sim .eb-ss .eb-ss-lever, .eb-sim .eb-ss .eb-ss-lever-head { pointer-events: none; }
