/* r36: animated isometric figures for the homepage role switch (see r36-figures.js). */
[data-vm-figure]{display:block;position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;container-type:inline-size;
  --vmf-ink:#22272b;--vmf-dark:#1c242a;--vmf-accent:#b43f29;--vmf-bg:#fff;--vmf-text:#22272b;--vmf-muted:#6b7176;--vmf-rule:#d5d8da;
  background:var(--vmf-bg);color:var(--vmf-text)}
[data-vm-figure][data-vmf-surface="dark"]{--vmf-bg:#1c242a;--vmf-text:#fff;--vmf-muted:#9aa1a6;--vmf-rule:#3a4247}
.vmf-svg{position:absolute;inset:0;width:100%;height:100%;display:block}

/* Linework and four-tone shading: top lightest, then front, then side. */
.vmf-svg polygon{stroke:var(--vmf-ink);stroke-width:1;stroke-linejoin:round}
.vmf-svg line,.vmf-svg path{fill:none;stroke:var(--vmf-ink);stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
.vmf-svg .t{fill:var(--t)}.vmf-svg .f{fill:var(--f)}.vmf-svg .s{fill:var(--s)}
.vmf-wood{--t:#fff;--f:#f3f4f5;--s:#e3e6e8}
.vmf-surf{--t:#fff;--f:#f7f8f8;--s:#eceeef}
.vmf-paper{--t:#fff;--f:#f1f2f3;--s:#e3e6e8}
.vmf-steel{--t:#e8ebed;--f:#d4d9dc;--s:#bfc6cb}
.vmf-old{--t:#dfe3e6;--f:#c9cfd3;--s:#b4bcc1}
.vmf-dark{--t:#4b5359;--f:#2c3439;--s:#1c242a}
.vmf-floor{--t:#fbfbfc;--f:#d4d9dc;--s:#bfc6cb}
.vmf-wall{--t:#e8ebed;--f:#fff;--s:#e3e6e8}
.vmf-svg .vmf-none{fill:none}
.vmf-svg .vmf-l.lo,.vmf-svg .vmf-tick.lo{stroke:#8d959b;stroke-width:.8}
.vmf-svg .vmf-l.light{stroke:#e8ebed;stroke-width:1.2}
.vmf-svg .vmf-tick{stroke-width:.9}
.vmf-svg .vmf-groove{stroke:#c3c9cd;stroke-width:.8}
.vmf-svg .vmf-grid{stroke:#e1e4e6;stroke-width:.8}
.vmf-svg .vmf-halo{fill:var(--vmf-ink);opacity:.06;stroke:none;transform:translate(0,6px)}
[data-vmf-surface="dark"] .vmf-svg .vmf-halo{fill:#000;opacity:.25}
.vmf-svg .vmf-shadow{fill:var(--vmf-ink);opacity:.09;stroke:none}
.vmf-svg .vmf-screw,.vmf-svg .vmf-grommet{fill:#fff;stroke-width:.8}
.vmf-svg .vmf-grommet{fill:#d4d9dc}
.vmf-svg .vmf-base{fill:#d4d9dc;stroke-width:.8}
.vmf-svg .vmf-belt{stroke:var(--vmf-dark);stroke-width:1.6}
.vmf-svg .vmf-glass{fill:#eef1f3;stroke:none}
.vmf-svg .vmf-sky{fill:#2c3439;stroke:none}
.vmf-svg .vmf-door{fill:#e3e6e8}
.vmf-svg .vmf-night{fill:#1c242a;stroke:none}
.vmf-svg .vmf-pool{fill:#fff;stroke:none;opacity:.55}
.vmf-svg .vmf-tyre{fill:var(--vmf-dark)}
.vmf-svg .vmf-lamp{fill:#fff}
.vmf-svg .vmf-badge{fill:#fff;stroke-width:.8}
.vmf-svg .vmf-photo{fill:#d4d9dc;stroke-width:.6}
.vmf-svg .vmf-band{fill:var(--vmf-accent);stroke:var(--vmf-ink);stroke-width:.8}

/* Drawing sheet: plan, dimension line in red, shop-drawing layer draws itself on. */
.vmf-svg .vmf-draw{stroke-width:1.1}
.vmf-svg .vmf-dim,.vmf-svg line.vmf-dim{stroke:var(--vmf-accent);stroke-width:1.2}
.vmf-svg .vmf-draw-on{stroke-width:1;stroke-dasharray:1 1;stroke-dashoffset:var(--d,1)}
.vmf-svg .vmf-draw-on.lo{stroke:#8d959b}
.vmf-svg .vmf-draw-on.red{stroke:var(--vmf-accent);stroke-width:1.2}
.vmf-svg .vmf-mark{stroke:#8d959b;stroke-width:1.4;transition:stroke .6s ease}
.vmf-svg .on .vmf-mark{stroke:var(--vmf-accent)}

/* Part labels: short process words beside exploded parts. */
.vmf-svg .vmf-lbl{font:500 13px/1 var(--sans,"PP Neue Montreal",Arial,sans-serif);fill:var(--vmf-text);letter-spacing:.01em;paint-order:stroke;stroke:var(--vmf-bg);stroke-width:4px;stroke-linejoin:round}

/* Readout bar: steps at left, live readout at right. */
.vmf-bar{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:10px 16px 12px;border-top:1px solid var(--vmf-rule);font:500 12px/1.2 var(--sans,"PP Neue Montreal",Arial,sans-serif);color:var(--vmf-muted)}
.vmf-steps{display:flex;gap:14px;align-items:center;min-width:0}
.vmf-steps i{font-style:normal;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:color .5s ease}
.vmf-steps b{width:6px;height:6px;border:1px solid currentColor;display:inline-block;transition:background .5s ease,border-color .5s ease}
.vmf-steps em{font-style:normal}
.vmf-steps i.done b{background:currentColor}
.vmf-steps i.on{color:var(--vmf-text)}
.vmf-steps i.on b{background:var(--vmf-accent);border-color:var(--vmf-accent)}
.vmf-read{color:var(--vmf-text);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}
.vmf-read.lit{color:var(--vmf-accent)}
[data-vmf-surface="dark"] .vmf-read.lit{color:#fff}
[data-vmf-surface="dark"] .vmf-read.lit::before{content:"";display:inline-block;width:6px;height:6px;margin-right:8px;background:var(--vmf-accent);vertical-align:1px}

/* Narrow panels: hide part labels and step names, keep step squares and readout. */
@container (max-width:520px){
  .vmf-steps:not(.single) em{display:none}
  .vmf-steps{gap:6px}
  .vmf-bar{padding:8px 12px 9px;font-size:11px}
  .vmf-read{font-size:12px}
}
@container (max-width:420px){.vmf-svg .vmf-lbl{display:none}}
@media (prefers-reduced-motion:reduce){.vmf-steps i,.vmf-steps b,.vmf-svg .vmf-mark{transition:none}}
