/* Mockup overtime-hours: "dierovaná dochádzková karta". Kartónová karta vysúvajúca sa zo štrbiny dochádzkového stroja,
   každý vydierovaný otvor = blok hodín (legenda "= 8 h"). Odpracované hodiny v rámci fondu sú tmavomodré, nadčas
   oranžový, neodpracovaný zvyšok fondu ostáva prázdny. Pečiatka vpravo dole = násobok sadzby za nadčas.
   Pod kartou páska ako z písacieho stroja: zárobok, fond hodín, nadčasové hodiny. */
.ovh-fig{--ovh-card:#f6ecd2;--ovh-card2:#e6d6ae;--ovh-rule:#d8a6a0;--ovh-mach:#39435a;--ovh-mach2:#232a3b;--ovh-led:#5ee08f;--ovh-norm:#2e4a8f;--ovh-ot:#ec7a2d;--ovh-hole:#fffaf0;--ovh-holeb:#b9a67a;--ovh-stamp:#c63d4b;--ovh-ink:#17202f;--ovh-mut:#5a6578}
@media(prefers-color-scheme:dark){.ovh-fig{--ovh-card:#d9cba6;--ovh-card2:#b3a37c;--ovh-rule:#b98a84;--ovh-mach:#56617c;--ovh-mach2:#121725;--ovh-led:#6ff0a0;--ovh-norm:#24397a;--ovh-ot:#e2691c;--ovh-hole:#efe5cb;--ovh-holeb:#93825a;--ovh-stamp:#b42e3d;--ovh-ink:#eef2f8;--ovh-mut:#b4bdd0}}

.ovh-calc .cres{border-top-color:var(--ovh-ot,#ec7a2d)}
.ovh-calc .cres.is-empty{border-top-color:var(--line)}

.ovh-fig{position:relative;margin:.5rem 0 1rem;padding:1.35rem 0 0;transition:opacity .3s,filter .3s}
.ovh-fig.is-ex{opacity:.72;filter:saturate(.8)}
.ovh-ex{display:none;position:absolute;top:0;left:0;padding:.08rem .5rem;border-radius:4px;background:var(--ovh-mach);color:#fff;font:800 .72rem/1.5 system-ui,sans-serif;letter-spacing:.05em}
.ovh-fig.is-ex .ovh-ex{display:block}
.ovh-svg{display:block;width:100%;max-width:440px;height:auto;margin:0 auto;overflow:visible}
.ovh-mach{fill:var(--ovh-mach)}
.ovh-lip{fill:var(--ovh-mach2)}
.ovh-led{fill:var(--ovh-led)}
.ovh-vent{fill:none;stroke:var(--ovh-mach2);stroke-width:3;stroke-linecap:round}
.ovh-card{fill:var(--ovh-card);stroke:var(--ovh-card2);stroke-width:2;stroke-linejoin:round}
.ovh-rule{fill:none;stroke:var(--ovh-rule);stroke-width:1;opacity:.7}
.ovh-hole{fill:var(--ovh-hole);stroke:var(--ovh-holeb);stroke-width:1.4;stroke-dasharray:3 2.5}
.ovh-h.is-on .ovh-hole{stroke-dasharray:none}
.ovh-fn{fill:var(--ovh-norm)}
.ovh-fo{fill:var(--ovh-ot)}
.ovh-h{animation:ovh-in .35s ease-out both}
@keyframes ovh-in{from{opacity:0}to{opacity:1}}
.ovh-ui{fill:var(--ovh-norm)}
.ovh-ut{font:700 15px/1 ui-monospace,"SFMono-Regular",Consolas,monospace;fill:#3c3424}
.ovh-st,.ovh-st2{fill:none;stroke:var(--ovh-stamp);stroke-width:2.6}
.ovh-st2{stroke-width:1.2}
.ovh-stt{font:900 24px/1 ui-monospace,"SFMono-Regular",Consolas,monospace;fill:var(--ovh-stamp);font-variant-numeric:tabular-nums}
.ovh-stamp{opacity:.9;transition:opacity .3s}
.ovh-fig.is-noot .ovh-stamp{opacity:.35}

.ovh-strip{display:flex;flex-wrap:wrap;align-items:stretch;gap:.35rem .8rem;max-width:440px;margin:.5rem auto 0;padding:.6rem .75rem;border-radius:4px;background:repeating-linear-gradient(180deg,transparent 0 1.35rem,color-mix(in srgb,var(--line) 60%,transparent) 1.35rem calc(1.35rem + 1px)),var(--soft,#f3f4f8);font-family:ui-monospace,"SFMono-Regular",Consolas,monospace;box-sizing:border-box}
.ovh-tot{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.2rem .6rem;padding-bottom:.35rem;border-bottom:2px dashed var(--line)}
.ovh-tot em{font-weight:700;font-size:.76rem;line-height:1.3;font-family:inherit;font-style:normal;text-transform:uppercase;letter-spacing:.08em;color:var(--mut)}
.ovh-tot b{font-family:inherit;font-size:1.3rem;font-weight:800;color:var(--fg);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ovh-k{flex:1 1 9rem;display:grid;grid-template-columns:auto 1fr;column-gap:.45rem;align-items:center;min-width:0}
.ovh-k i{grid-row:1/3;width:10px;height:20px;border-radius:3.5px;background:var(--ovh-norm)}
.ovh-k-o i{background:var(--ovh-ot)}
.ovh-k em{font-family:inherit;font-size:.72rem;line-height:1.25;font-style:normal;color:var(--mut)}
.ovh-k b{font-family:inherit;font-size:1rem;font-weight:800;color:var(--fg);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.ovh-h{animation:none}.ovh-stamp{transition:none}}
@media(max-width:560px){.ovh-ut{font-size:19px}}
