/* Mockup budget-503020: "obálková metóda". Hore je zviazaný balík bankoviek (čistý príjem) s papierovou páskou,
   pod ním tri otvorené kraftové obálky. Šírka obálok presne zodpovedá podielom 50 / 30 / 20 %, z každej trčí
   toľko bankoviek, koľko desatín príjmu do nej patrí (5 / 3 / 2). Na prednej strane je názov časti a suma,
   v rohu farebná pečiatka s percentom. Paleta: kraftový papier, zelené bankovky, teal / koral / zlatá. */
.b53-fig{--b53-kr:#ecd3a6;--b53-krb:#d8b682;--b53-krf:#caa46c;--b53-krl:#a9824c;--b53-nt:#a9d3a8;--b53-ntl:#4d8754;--b53-nti:#cfe8c9;--b53-strap:#f4efe4;--b53-strapl:#b9a98d;--b53-c1:#0f766e;--b53-c2:#d9542b;--b53-c3:#c08a00;--b53-ink:#2f2416;--b53-mut:#7b6a52;--b53-bg:#fbf6ec;--b53-line:#eadbc0}
@media(prefers-color-scheme:dark){.b53-fig{--b53-kr:#7a6142;--b53-krb:#5e4a33;--b53-krf:#4e3d2a;--b53-krl:#a4865c;--b53-nt:#4f8a5a;--b53-ntl:#9fd3a3;--b53-nti:#6aa774;--b53-strap:#463c2f;--b53-strapl:#8f7f66;--b53-c1:#2dd4bf;--b53-c2:#ff8a65;--b53-c3:#f4c542;--b53-ink:#f8eedd;--b53-mut:#cdbb9f;--b53-bg:#2b261f;--b53-line:#4a4032}}

.b53-calc .cform input{border-color:var(--b53-krl)}
.b53-fig{position:relative;margin:.3rem auto .9rem;padding:1.35rem .4rem .3rem;max-width:460px;background:var(--b53-bg);border:1px solid var(--b53-line);border-radius:14px;transition:opacity .3s,filter .3s}
.b53-fig.is-ex{opacity:.72;filter:saturate(.7)}
.b53-ex{display:none;position:absolute;top:.35rem;right:.45rem;z-index:1;padding:.05rem .5rem;border-radius:4px;background:var(--b53-c1);color:#fff;font:800 .72rem/1.5 system-ui,sans-serif;letter-spacing:.05em}
@media(prefers-color-scheme:dark){.b53-ex{color:#10201d}}
.b53-fig.is-ex .b53-ex{display:block}
.b53-svg{display:block;width:100%;height:auto;overflow:visible}

/* balík bankoviek */
.b53-bn{fill:var(--b53-nt);stroke:var(--b53-ntl);stroke-width:1.3}
.b53-bni{fill:none;stroke:var(--b53-ntl);stroke-width:1;opacity:.55}
.b53-bno{fill:var(--b53-nti);stroke:var(--b53-ntl);stroke-width:1}
.b53-strap{fill:var(--b53-strap);stroke:var(--b53-strapl);stroke-width:1}
.b53-il{font:700 10.5px/1 system-ui,sans-serif;fill:var(--b53-mut);letter-spacing:.04em;text-transform:uppercase}
.b53-iv{font:900 22px/1 system-ui,sans-serif;fill:var(--b53-ink);font-variant-numeric:tabular-nums}

/* obálky */
.b53-flap{fill:var(--b53-krf);stroke:var(--b53-krl);stroke-width:1.2;stroke-linejoin:round}
.b53-back{fill:var(--b53-krb);stroke:var(--b53-krl);stroke-width:1.2}
.b53-front{fill:var(--b53-kr);stroke:var(--b53-krl);stroke-width:1.2;stroke-linejoin:round;filter:drop-shadow(0 2px 2px rgba(70,45,10,.16))}
.b53-fold{fill:none;stroke:var(--b53-krl);stroke-width:1;opacity:.55}
.b53-notes{transition:transform .45s cubic-bezier(.3,1.4,.5,1)}
.b53-fig.is-in .b53-notes{transform:translateY(16px)}
.b53-note{fill:var(--b53-nt);stroke:var(--b53-ntl);stroke-width:1.1}
.b53-note-o{fill:var(--b53-nti);stroke:var(--b53-ntl);stroke-width:.8}
.b53-seal{stroke-width:0}
.b53-e1 .b53-seal{fill:var(--b53-c1)}.b53-e2 .b53-seal{fill:var(--b53-c2)}.b53-e3 .b53-seal{fill:var(--b53-c3)}
.b53-stamp{fill:none;stroke-width:1.6;stroke-dasharray:2.2 1.6}
.b53-e1 .b53-stamp{stroke:var(--b53-c1)}.b53-e2 .b53-stamp{stroke:var(--b53-c2)}.b53-e3 .b53-stamp{stroke:var(--b53-c3)}
.b53-pc{font:900 8.6px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.b53-e1 .b53-pc{fill:var(--b53-c1)}.b53-e2 .b53-pc{fill:var(--b53-c2)}.b53-e3 .b53-pc{fill:var(--b53-c3)}
.b53-en{font:800 11.5px/1 system-ui,sans-serif;fill:var(--b53-mut)}
.b53-ev{font:900 14px/1 system-ui,sans-serif;fill:var(--b53-ink);font-variant-numeric:tabular-nums}
@media(max-width:560px){.b53-en{font-size:12.5px}.b53-ev{font-size:15px}.b53-il{font-size:11.5px}}
@media(prefers-reduced-motion:reduce){.b53-fig,.b53-notes{transition:none}}
