*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;min-height:100dvh;overflow:hidden}body{background-color:#0f1419}.app{justify-content:center;align-items:center;width:100%;height:100%;min-height:100dvh;display:flex}.app__stage{aspect-ratio:1.6;width:min(100vw,160dvh);max-width:100vw;height:min(100dvh,62.5vw);max-height:100dvh;position:relative}.app__image{object-fit:cover;width:100%;height:100%;display:block}.app__lines{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.app__anchors{z-index:1;pointer-events:none;position:absolute;inset:0}.app__anchor{width:0;height:0;position:absolute;transform:translate(-50%,-50%)}.app__line-path{fill:none;stroke:#ffffffe6;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round}.app__line-path--highlight{stroke:#f5822a;stroke-width:2px;stroke-dasharray:var(--len);stroke-dashoffset:var(--len);opacity:0;transition:stroke-dashoffset .55s}.app__line-path--highlight.is-active{opacity:1;stroke-dashoffset:0}.app__line-path--highlight.app__line-path--custom-color{stroke-width:2.5px}.app__line-dot{fill:#fff;transition:fill .2s}.app__line-dot.is-active{fill:#f5822a;transform-box:fill-box;transform-origin:50%;filter:drop-shadow(0 0 4px #f5822ae6);transition:fill .2s .55s;animation:1.1s ease-in-out .55s infinite app-dot-pulse}.app__line-dot.app__line-dot--custom-color.is-active{fill:var(--line-color,#f5822a);filter:drop-shadow(0 0 4px color-mix(in srgb, var(--line-color,#f5822a) 85%, transparent))}.app__icons{z-index:2;position:absolute;top:2.5%;left:1%;right:1%}.app__icon-item{color:#fff;text-align:center;flex-direction:column;align-items:center;gap:.45em;width:10%;text-decoration:none;display:flex;position:absolute;top:0;transform:translate(-50%)}.app__icon-item:hover,.app__icon-item:focus-visible{color:#f5822a}.app__icon-item:hover .app__icon-circle,.app__icon-item:focus-visible .app__icon-circle{border-color:#f5822a}.app__icon-item:hover .moje-bila-ikona,.app__icon-item:focus-visible .moje-bila-ikona{filter:invert(65%)sepia(91%)saturate(1454%)hue-rotate(359deg)brightness(102%)contrast(105%);transform:scale(1.15)rotate(6deg)}.app__icon-circle{aspect-ratio:1;-webkit-backdrop-filter:blur(10px);background:#ffffff2e;border:1px solid #ffffff73;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:68%;padding:14%;transition:background .2s,border-color .2s;display:flex}.app__icon-circle img{object-fit:contain;width:100%;height:100%;transition:filter .2s,transform .2s;display:block}.app__icon-label{text-shadow:0 1px 3px #00000073;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;width:100%;max-width:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.45rem,.72vw,.68rem);font-weight:500;line-height:1.15}.app__scenarios-link{z-index:90;color:#fff;text-align:center;background:#f5822a;border:1px solid #ffffff38;border-radius:999px;max-width:min(24rem,86vw);padding:.9rem 1.45rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.95rem,2.2vw,1.12rem);font-weight:650;line-height:1.2;text-decoration:none;transition:background .2s,transform .2s,box-shadow .2s;position:fixed;bottom:clamp(.75rem,2vw,1.5rem);left:clamp(.75rem,2vw,1.5rem);box-shadow:0 4px 18px #f5822a59}.app__scenarios-link:hover,.app__scenarios-link:focus-visible{background:#e2721c;transform:translateY(-1px);box-shadow:0 6px 22px #f5822a73}.app__scenarios-link--menu{cursor:pointer;justify-content:center;align-items:center;gap:.45rem;display:inline-flex;position:static;bottom:auto;left:auto}.app__scenarios-nav{z-index:90;position:fixed;bottom:clamp(.75rem,2vw,1.5rem);left:clamp(.75rem,2vw,1.5rem)}.app__scenarios-chevron{width:1rem;height:1rem;transition:transform .2s}.app__scenarios-chevron.is-open{transform:rotate(180deg)}.app__scenarios-menu{-webkit-backdrop-filter:blur(12px);background:#0f1419f0;border:1px solid #ffffff1f;border-radius:14px;flex-direction:column;gap:.25rem;min-width:min(22rem,86vw);max-width:min(26rem,92vw);padding:.45rem;display:flex;position:absolute;bottom:calc(100% + .55rem);left:0;box-shadow:0 10px 32px #00000059}.app__scenarios-menu-item{color:#ffffffeb;border-radius:10px;padding:.7rem .85rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.88rem,2vw,1rem);font-weight:600;line-height:1.25;text-decoration:none;transition:background .2s,color .2s;display:block}.app__scenarios-menu-item:hover,.app__scenarios-menu-item:focus-visible{color:#fff;background:#ffffff14}.app__scenarios-menu-item--primary{color:#fff;background:#f5822a38;border:1px solid #f5822a73}.app__scenarios-menu-item--primary:hover,.app__scenarios-menu-item--primary:focus-visible{background:#f5822a52}.diagram-flow-host{width:100%;height:100%;position:relative;overflow:hidden}.diagram-flow-host svg{width:100%;max-width:100%;height:100%;max-height:100%;display:block}.diagram-flow-host .scenarios-flow{pointer-events:none}.diagram-flow-host .scenarios-flow polyline,.diagram-flow-host .scenarios-flow line,.diagram-flow-host .scenarios-flow path{opacity:.12;transition:opacity .35s}.diagram-flow-host .scenarios-flow.is-active polyline,.diagram-flow-host .scenarios-flow.is-active line,.diagram-flow-host .scenarios-flow.is-active path,.diagram-flow-host .scenarios-flow.is-active:is(polyline,line,path){opacity:1;stroke-dasharray:var(--flow-len,100);stroke-dashoffset:var(--flow-len,100);animation:.75s forwards scenario-flow-draw}.diagram-flow-host .scenarios-flow.is-active.is-export polyline,.diagram-flow-host .scenarios-flow.is-active.is-export line,.diagram-flow-host .scenarios-flow.is-active.is-export path,.diagram-flow-host .scenarios-flow.is-active.is-export:is(polyline,line,path){animation:.75s forwards scenario-flow-draw}.diagram-flow-host .scenarios-flow.is-highlight polyline,.diagram-flow-host .scenarios-flow.is-highlight line,.diagram-flow-host .scenarios-flow.is-highlight path,.diagram-flow-host .scenarios-flow.is-highlight:is(polyline,line,path){filter:drop-shadow(0 0 4px #f5822ad9)}.diagram-flow-host .scenarios-flow:is(polyline,line,path){opacity:.12;transition:opacity .35s}.diagram-flow-host .scenario-arrow-layer{pointer-events:none}.diagram-flow-host .scenario-arrow{filter:drop-shadow(0 0 1px #00000040)}.scenarios__svg{z-index:0;width:100%;height:100%;position:absolute;inset:0}.scenarios__svg--hidden{visibility:hidden}.scenarios__svg svg{width:100%;height:100%;display:block}.scenarios__svg .scenarios-flow{pointer-events:none}.scenarios__svg .scenarios-flow polyline,.scenarios__svg .scenarios-flow line,.scenarios__svg .scenarios-flow path{opacity:.12;transition:opacity .35s}.scenarios__svg .scenarios-flow.is-active polyline,.scenarios__svg .scenarios-flow.is-active line,.scenarios__svg .scenarios-flow.is-active path,.scenarios__svg .scenarios-flow.is-active:is(polyline,line,path){opacity:1;stroke-dasharray:var(--flow-len,100);stroke-dashoffset:var(--flow-len,100);animation:.75s forwards scenario-flow-draw}.scenarios__svg .scenarios-flow.is-active.is-export polyline,.scenarios__svg .scenarios-flow.is-active.is-export line,.scenarios__svg .scenarios-flow.is-active.is-export path,.scenarios__svg .scenarios-flow.is-active.is-export:is(polyline,line,path){animation:.75s forwards scenario-flow-draw}.scenarios__svg .scenarios-flow.is-highlight polyline,.scenarios__svg .scenarios-flow.is-highlight line,.scenarios__svg .scenarios-flow.is-highlight path,.scenarios__svg .scenarios-flow.is-highlight:is(polyline,line,path){filter:drop-shadow(0 0 4px #f5822ad9)}.scenarios__svg .scenarios-flow:is(polyline,line,path){opacity:.12;transition:opacity .35s}.scenarios__svg .scenario-arrow-layer{pointer-events:none}.scenarios__svg .scenario-arrow{filter:drop-shadow(0 0 1px #00000040)}.scenarios__svg .scenarios-hp-flow{pointer-events:none}.scenarios__svg .scenarios-hp-flow polyline,.scenarios__svg .scenarios-hp-flow line,.scenarios__svg .scenarios-hp-flow path{opacity:.2;transition:opacity .35s,stroke .35s}.scenarios__svg .scenarios-hp-flow.is-active polyline,.scenarios__svg .scenarios-hp-flow.is-active line,.scenarios__svg .scenarios-hp-flow.is-active path{opacity:.55}.scenarios__svg .scenarios-hp-flow.is-heating-red.is-active polyline{stroke:#ff000fa6}.scenarios__svg .scenarios-hp-flow.is-heating-blue.is-active polyline{stroke:#488ccba6}.scenarios__svg .scenario-hp-dot-layer{pointer-events:none}.scenarios__code{z-index:2;color:#ffffffe0;letter-spacing:.08em;background:#0f14198c;border-radius:6px;padding:.35rem .6rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:clamp(.62rem,.9vw,.75rem);font-weight:600;position:absolute;bottom:2.5%;left:1%}.scenarios__code--live{color:#ffd2b0;background:#f5822a59}.scenarios__status{z-index:1;color:#f4f5f7bf;justify-content:center;align-items:center;font-size:.95rem;display:flex;position:absolute;inset:0}.scenarios__status--error{color:#ffb4b4}.scenarios__status--warn{color:#ffd2b0}.scenarios__back{z-index:2;color:#fff;-webkit-backdrop-filter:blur(10px);background:#0f1419b8;border:1px solid #ffffff2e;border-radius:999px;padding:.55rem .95rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.72rem,1.1vw,.88rem);font-weight:600;text-decoration:none;transition:border-color .2s,color .2s;position:absolute;top:2.5%;left:1%}.scenarios__back:hover,.scenarios__back:focus-visible{color:#f5822a;border-color:#f5822a8c}.scenarios__back--secondary{inset:auto 1% 2.5% auto}.scenarios__custom-link{z-index:2;color:#fff;background:#f5822ad1;border-radius:999px;padding:.55rem .95rem;font-size:clamp(.72rem,1.1vw,.88rem);font-weight:600;text-decoration:none;transition:background .2s;position:absolute;top:2.5%;right:1%}.scenarios__custom-link:hover,.scenarios__custom-link:focus-visible{background:#e2721cf2}.scenarios__controls{z-index:2;-webkit-backdrop-filter:blur(10px);background:#ffffff94;border:1px solid #ffffffb8;border-radius:clamp(10px,1.2vw,14px);flex-direction:column;gap:clamp(.45rem,.9vw,.65rem);width:clamp(8.75rem,14.5vw,12rem);padding:clamp(.65rem,1.1vw,.85rem) clamp(.55rem,.95vw,.7rem);display:flex;position:absolute;top:7%;right:1.2%;box-shadow:0 8px 28px #0000001f}.scenarios__controls--diagram{width:clamp(11rem,18vw,15rem)}.scenarios__control{flex-direction:column;gap:.28rem;display:flex}.scenarios__control-label{color:#2a2f36;text-transform:uppercase;letter-spacing:.04em;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.42rem,.62vw,.52rem);font-weight:700;line-height:1.15}.scenarios__run,.scenarios__reset{cursor:pointer;border:none;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;width:100%;min-height:clamp(1.85rem,2.8vw,2.35rem);padding:.4rem .65rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.58rem,.85vw,.72rem);font-weight:700;line-height:1.1;transition:background .2s,transform .2s,box-shadow .2s;display:inline-flex}.scenarios__run svg,.scenarios__reset svg{flex-shrink:0;width:clamp(.85rem,1.2vw,1rem);height:clamp(.85rem,1.2vw,1rem)}.scenarios__run:disabled,.scenarios__reset:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}.scenarios__run{color:#fff;background:#f5822a;margin-top:.15rem;box-shadow:0 4px 14px #f5822a59}.scenarios__run:hover,.scenarios__run:focus-visible{background:#e2721c;transform:translateY(-1px)}.scenarios__run--stop{color:#fff;background:#8b939e;box-shadow:0 2px 10px #0000002e}.scenarios__run--stop:hover,.scenarios__run--stop:focus-visible{background:#767e89;transform:translateY(-1px)}.scenarios__reset{color:#4a5563;background:#fff;box-shadow:0 2px 8px #0000001a}.scenarios__reset:hover,.scenarios__reset:focus-visible{color:#2a2f36;box-shadow:0 4px 12px #00000024}.scenario-toggle{--toggle-pad:.18rem;--toggle-thumb:clamp(1.45rem, 2.2vw, 1.85rem);cursor:pointer;background:#eef1f4;border:none;border-radius:999px;width:100%;height:clamp(1.75rem,2.6vw,2.15rem);padding:0;transition:background .28s,box-shadow .2s;position:relative;box-shadow:inset 0 1px 2px #0000000f}.scenario-toggle:hover,.scenario-toggle:focus-visible{box-shadow:inset 0 1px 2px #0000000f,0 2px 10px #0000001a}.scenario-toggle.is-high{background:#f5822a;box-shadow:inset 0 1px 2px #00000014}.scenario-toggle__label{z-index:1;letter-spacing:.05em;pointer-events:none;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.58rem,.85vw,.72rem);font-weight:700;transition:opacity .22s,color .22s;position:absolute;top:50%;transform:translateY(-50%)}.scenario-toggle__label--left{color:#fff;opacity:0;left:.62rem}.scenario-toggle__label--right{color:#8b949e;opacity:1;right:.62rem}.scenario-toggle.is-high .scenario-toggle__label--left{opacity:1}.scenario-toggle.is-high .scenario-toggle__label--right{opacity:0}.scenario-toggle__thumb{top:var(--toggle-pad);left:var(--toggle-pad);z-index:2;width:var(--toggle-thumb);height:var(--toggle-thumb);background:#fff;border-radius:clamp(8px,1vw,11px);justify-content:center;align-items:center;transition:left .28s cubic-bezier(.4,0,.2,1);display:flex;position:absolute;box-shadow:0 2px 6px #00000024}.scenario-toggle__thumb svg{width:72%;height:72%;display:block}.scenario-toggle.is-high .scenario-toggle__thumb{left:calc(100% - var(--toggle-thumb) - var(--toggle-pad))}@keyframes scenario-flow-draw{to{stroke-dashoffset:0}}@keyframes app-dot-pulse{0%,to{transform:scale(1)}50%{transform:scale(2)}}body.is-modal-open{overflow:hidden}.modal{z-index:100;justify-content:center;align-items:center;padding:clamp(.5rem,2.5vw,1.5rem);display:flex;position:fixed;inset:0}.modal__overlay{-webkit-backdrop-filter:blur(4px);cursor:pointer;background:#0a0c10c7;position:absolute;inset:0}.modal__shell{flex-direction:column;align-items:center;gap:.85rem;width:min(1100px,96vw);max-height:min(700px,92dvh);display:flex;position:relative}.modal__card{--modal-gap:clamp(.85rem, 2vw, 1.25rem);--modal-radius:clamp(18px, 2.4vw, 28px);--logo-block-w:clamp(11rem, 24vw, 15.5rem);--logo-block-h:clamp(3.35rem, 7.5vw, 4.35rem);width:100%;height:min(700px,92dvh - 2.5rem);max-height:min(700px,92dvh - 2.5rem);padding:var(--modal-gap);border-radius:var(--modal-radius);background:#fff;flex-direction:column;display:flex;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000073}.modal__frame{flex:auto;min-height:0;position:relative}.modal__panel{width:100%;height:100%;min-height:0;padding:var(--modal-gap);border-radius:var(--modal-radius);background:#eee;flex-direction:column;gap:clamp(.75rem,1.6vw,1rem);display:flex;overflow:hidden}.modal__logo-box{z-index:2;padding:var(--modal-gap);padding-right:calc(var(--modal-gap) * 1.6);padding-bottom:calc(var(--modal-gap) * 1.15);border-bottom-right-radius:var(--modal-radius);background:#fff;position:absolute;top:0;left:0}.modal__logo{width:clamp(9rem,20vw,12.5rem);max-width:100%;height:auto;display:block}.modal__header{z-index:1;min-height:var(--logo-block-h);padding-left:var(--logo-block-w);flex:none;justify-content:flex-end;align-items:flex-start;display:flex;position:relative}.modal__title{color:#1b1e24;text-align:right;text-transform:uppercase;letter-spacing:.02em;max-width:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(1.15rem,2.4vw,1.85rem);font-weight:800;line-height:1.15}.modal__title .accent{color:#f5822a}.modal__title .thin{font-weight:300}.modal__title p{margin:0}.modal__body{z-index:1;color:#1b1e24;text-align:left;-webkit-overflow-scrolling:touch;direction:ltr;flex:auto;min-height:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:clamp(.92rem,1.5vw,1.02rem);line-height:1.55;position:relative;overflow:auto}.modal__body p{margin:0 0 .85rem}.modal__body p:last-child{margin-bottom:0}.modal__body h2,.modal__body h3{text-transform:uppercase;margin:0 0 .65rem;font-weight:800}.modal__body .accent,.modal__body strong{color:#f5822a;font-weight:800}.modal__body .thin{font-weight:300}.modal__body img{border-radius:12px;max-width:100%;height:auto;display:block}.modal__body img.modal-img--left{float:left;margin:.35rem 1rem .75rem 0}.modal__body img.modal-img--right{float:right;margin:.35rem 0 .75rem 1rem}.modal__body img.modal-img--center{float:none;margin:.75rem auto}.modal__body img.modal-img--full{float:none;margin:.75rem 0;width:100%!important}.modal__body:after{content:"";clear:both;display:table}.modal__body ul,.modal__body ol{margin:0 0 .85rem;padding-left:1.2rem;padding-right:0;list-style-position:outside}.modal__body a{color:#d96a12;text-decoration:underline}.modal__close{z-index:3;color:#1b1e24;cursor:pointer;background:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:2.4rem;height:2.4rem;padding:0;font-size:1.6rem;line-height:1;transition:background .2s,color .2s,transform .2s;display:flex;position:absolute;top:-.35rem;right:-.35rem;box-shadow:0 6px 18px #0006}.modal__close:hover,.modal__close:focus-visible{color:#fff;background:#f5822a;transform:scale(1.06)}.modal__nav{z-index:3;color:#1b1e24;cursor:pointer;background:#fffffff2;border:none;border-radius:50%;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;padding:0;font-size:1.75rem;line-height:1;transition:background .2s,color .2s;display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 6px 18px #00000059}.modal__nav:hover,.modal__nav:focus-visible{color:#fff;background:#f5822a}.modal__nav--prev{left:clamp(-.2rem,-2vw,-1.1rem)}.modal__nav--next{right:clamp(-.2rem,-2vw,-1.1rem)}.modal__dots{align-items:center;gap:.5rem;display:flex}.modal__dot{cursor:pointer;background:#ffffff73;border:none;border-radius:50%;width:.7rem;height:.7rem;padding:0;transition:background .2s,transform .2s}.modal__dot:hover{background:#ffffffbf}.modal__dot.is-active{background:#f5822a;transform:scale(1.2)}@media (width<=720px){.modal{padding:.35rem}.modal__shell{width:100%;max-height:96dvh}.modal__card{--modal-gap:.75rem;--modal-radius:18px;height:96dvh;max-height:96dvh}.modal__logo{width:min(9.5rem,58vw)}.modal__nav{width:2.4rem;height:2.4rem;top:auto;bottom:-.2rem;transform:none}.modal__nav--prev{left:calc(50% - 3rem)}.modal__nav--next{left:auto;right:calc(50% - 3rem)}.modal__body img{max-width:100%}}.lang-switch{z-index:90;-webkit-backdrop-filter:blur(10px);background:#ffffff2e;border:1px solid #ffffff73;border-radius:999px;flex-wrap:wrap;justify-content:flex-end;gap:.25rem;max-width:min(18rem,92vw);padding:.35rem;display:flex;position:fixed;bottom:clamp(.75rem,2vw,1.5rem);right:clamp(.75rem,2vw,1.5rem)}.lang-switch__btn{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;min-width:2.2rem;min-height:2.2rem;padding:.2rem;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;text-decoration:none;transition:background .2s,transform .2s;display:flex}.lang-switch__btn:hover,.lang-switch__btn:focus-visible{background:#ffffff40;transform:scale(1.05)}.lang-switch__btn.is-active{background:#f5822a}.lang-switch__flag{font-size:1.1rem;line-height:1}
