/* Mockup kg -> g: kuchynská váha s 1 kg vreckom múky, LCD ukazuje 1 000 g, vpravo rozklad na 10 × 100 g */
.figure.conv-kg-g-fig{--kgg-counter:#dcc8a6;--kgg-body:#e6e9ef;--kgg-bodyl:#a3acb9;--kgg-p1:#ffffff;--kgg-p2:#aab3c0;--kgg-b1:#efe2c6;--kgg-b2:#e3d2ae;--kgg-b3:#c8b48c;--kgg-lcd:#18241a;--kgg-dig:#9ef27a;--kgg-kg:#b45309;--kgg-g:#1d4ed8;--kgg-cube:#9aa6b8;--kgg-cubel:#6b7789;background:var(--soft);border-radius:14px;padding:.4rem;margin:.2rem 0 .7rem}
@media(prefers-color-scheme:dark){.figure.conv-kg-g-fig{--kgg-counter:#4a3d2b;--kgg-body:#3f4859;--kgg-bodyl:#6b768b;--kgg-p1:#dfe5ee;--kgg-p2:#6b778a;--kgg-b1:#d9c8a4;--kgg-b2:#c9b68f;--kgg-b3:#a8936b;--kgg-lcd:#0d140e;--kgg-kg:#fbbf24;--kgg-g:#93c5fd;--kgg-cube:#7b879b;--kgg-cubel:#a9b4c6}}
.figure.conv-kg-g-fig svg{display:block;width:100%;max-width:500px;height:auto;margin:0 auto}
.figure.conv-kg-g-fig text{stroke:none;paint-order:normal;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:700;fill:var(--fg);font-variant-numeric:tabular-nums}
.conv-kg-g-fig .kgg-counter{fill:var(--kgg-counter)}
.conv-kg-g-fig .kgg-body{fill:var(--kgg-body);stroke:var(--kgg-bodyl);stroke-width:1.2}
.conv-kg-g-fig .kgg-stem{fill:var(--kgg-bodyl)}
.conv-kg-g-fig .kgg-p1{stop-color:var(--kgg-p1)}.conv-kg-g-fig .kgg-p2{stop-color:var(--kgg-p2)}
.conv-kg-g-fig .kgg-plate{stroke:var(--kgg-bodyl);stroke-width:1}
.conv-kg-g-fig .kgg-b1{stop-color:var(--kgg-b1)}.conv-kg-g-fig .kgg-b2{stop-color:var(--kgg-b2)}.conv-kg-g-fig .kgg-b3{stop-color:var(--kgg-b3)}
.conv-kg-g-fig .kgg-bag{stroke:#9c8460;stroke-width:1.2;stroke-linejoin:round}
.conv-kg-g-fig .kgg-fold{fill:none;stroke:#9c8460;stroke-width:1;stroke-dasharray:3 3;opacity:.7}
.conv-kg-g-fig .kgg-label{fill:#fffdf7;stroke:#c8b48c;stroke-width:1}
.conv-kg-g-fig .kgg-wheat path{fill:#d9a334}
.conv-kg-g-fig .kgg-wheat .kgg-stalk{fill:none;stroke:#b7862a;stroke-width:1.4;stroke-linecap:round}
.figure.conv-kg-g-fig .kgg-bagt{font-size:20px;font-weight:800;fill:#3b2a14}
.conv-kg-g-fig .kgg-lcd{fill:var(--kgg-lcd);stroke:#000;stroke-opacity:.3}
.figure.conv-kg-g-fig .kgg-dig{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:14.5px;font-weight:700;fill:var(--kgg-dig)}
.figure.conv-kg-g-fig .kgg-on{font-size:8.5px;font-weight:800;fill:var(--kgg-dig)}
.figure.conv-kg-g-fig .kgg-off{font-size:6.5px;font-weight:700;fill:var(--kgg-dig);opacity:.28}
.conv-kg-g-fig .kgg-btn{fill:var(--kgg-body);stroke:var(--kgg-bodyl);stroke-width:1.4}
.conv-kg-g-fig .kgg-ico{fill:none;stroke:var(--kgg-bodyl);stroke-width:1.2;stroke-linecap:round}
.conv-kg-g-fig .kgg-arr{fill:none;stroke:var(--mut);stroke-width:1.4;stroke-dasharray:3 3}
.conv-kg-g-fig .kgg-arrh{fill:var(--mut)}
.figure.conv-kg-g-fig .kgg-big{font-size:22px;font-weight:800;fill:var(--kgg-kg)}
.figure.conv-kg-g-fig .kgg-mid{font-size:15px;font-weight:800;fill:var(--kgg-g)}
.conv-kg-g-fig .kgg-cube{fill:var(--kgg-cube);stroke:var(--kgg-cubel);stroke-width:1}
.conv-kg-g-fig .kgg-cubehi{fill:#fff;opacity:.45}
.figure.conv-kg-g-fig .kgg-cap{font-size:11.5px;font-weight:700;fill:var(--fg)}
.figure.conv-kg-g-fig .kgg-sm{font-size:10px;font-weight:600;fill:var(--mut)}
