/* Rysunki v5 — źródło (100%). Do assets/viz-v5.css kopiuje build.py, potem _cohubo/scale90/scale90.py. */
.rg-viz:has(.d5){padding:28px 32px 18px}
.rg-viz:has(.d5)>svg{display:none}
.d5{position:relative}
.d5-svg{display:block;width:100%;height:auto;overflow:visible}
.rg-viz .d5-svg{max-height:none}
/* linie: trzy grubości, stała grubość niezależnie od skali rysunku */
.d5-o,.d5-d,.d5-h,.d5-g,.d5-a,.d5-uo,.d5-ur,.d5-ud,.d5-gh,.d5-trace,.d5-cn,.d5-zone{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.d5-o{stroke:var(--ink);stroke-opacity:.84;stroke-width:1.4}
.d5-d{stroke:var(--ink);stroke-opacity:.46;stroke-width:1}
.d5-h{stroke:var(--ink);stroke-opacity:.26;stroke-width:.8}
.d5-g{stroke:var(--ink);stroke-opacity:.6;stroke-width:1.2}
.d5-a{stroke:var(--brand2,#e9333a);stroke-width:1.4}
.d5-dash{stroke-dasharray:3 4}
.d5-box{stroke-opacity:.38}
/* jednostka ładunkowa = jedyny czerwony element */
.d5-uf{fill:var(--brand,#cb2127);fill-opacity:.16}
.d5-uo{stroke:var(--brand2,#e9333a);stroke-width:1.4}
.d5-ur{stroke:var(--brand2,#e9333a);stroke-opacity:.42;stroke-width:.8}
.d5-ud{stroke:var(--brand2,#e9333a);stroke-opacity:.7;stroke-width:1}
.d5-uc{fill:var(--brand2,#e9333a)}
.d5-gh{stroke:var(--ink);stroke-opacity:.34;stroke-width:1;stroke-dasharray:4 3}
.d5-trace{stroke:var(--brand2,#e9333a);stroke-opacity:.7;stroke-width:1;stroke-dasharray:2 4}
.d5-zone{stroke:var(--ink);stroke-opacity:.2;stroke-width:1}
.d5-zone--in{stroke:var(--brand2,#e9333a);stroke-opacity:.55}
/* opisy */
.d5-t{font-size:calc(12px * var(--d5s,1.45));font-weight:400;fill:var(--muted);letter-spacing:.01em}
.d5-t--ink{fill:var(--ink);font-weight:500}
.d5-t--accent{fill:var(--brand2,#e9333a);font-weight:600}
.d5-tm{font-size:calc(9.6px * var(--d5s,1.45));font-weight:500;letter-spacing:.14em;fill:var(--soft);font-variant-numeric:tabular-nums}
.d5-tm--ink{fill:var(--muted)}
.d5-k{font-size:calc(11px * var(--d5s,1.45));font-weight:600;letter-spacing:.16em;fill:var(--ink)}
.d5-k--accent{fill:var(--brand2,#e9333a)}
.d5-knock{fill:var(--sunken)}
.d5-cn{fill:var(--sunken);stroke:var(--ink);stroke-opacity:.55;stroke-width:1}
.d5-cnt{font-size:calc(9px * var(--d5s,1.45));font-weight:600;fill:var(--ink)}
.d5-dot{fill:var(--ink)}
.d5-replay{position:absolute;bottom:-50px;right:0;z-index:1;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--line2);border-radius:999px;background:var(--sunken);color:var(--muted);font:500 12px/1 inherit;cursor:pointer;opacity:0;transition:opacity .3s,color .2s,border-color .2s}
.d5-replay svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.d5.d5-done .d5-replay{opacity:1}
.d5-replay:hover{color:var(--ink);border-color:var(--muted)}
.d5-replay:focus-visible{opacity:1;outline:2px solid var(--brand2,#e9333a);outline-offset:2px}
/* kafle */
.rg-tile__visual:has(.d5-tile){background:none!important;box-shadow:none!important}
.rg-tile__visual:has(.d5-tile)::before,.rg-tile__visual:has(.d5-tile)::after{display:none!important}
.d5-tile{max-width:220px;margin-inline:auto}

/* ---------- stan końcowy (bez JS / reduced motion) ---------- */
.d5-move{transform:translate(var(--dx),0)}
.d5-trolley{transform:translateX(var(--dx))}
.d5-spreader{transform:translateY(calc(var(--lift) * -1))}
.d5-cables{transform-box:fill-box;transform-origin:50% 0;transform:scaleY(calc((var(--c0) - 104) / var(--c0)))}
.d5-lock{opacity:0}
.d5-hop{transform:translate(var(--dx),0)}
.d5-relay{transform:translate(var(--bx),var(--by))}
.d5-sts{opacity:0;transform:translate(var(--sx),var(--sy))}
.d5-drive{transform:translateX(var(--drive))}
.d5-sts-x{transform:translateX(var(--sx))}

/* ---------- animacja (tylko z JS i bez prefers-reduced-motion) ---------- */
@media (prefers-reduced-motion:no-preference){
 .d5-js .d5:not(.d5-play) .d5-move,.d5-js .d5:not(.d5-play) .d5-trolley,.d5-js .d5:not(.d5-play) .d5-hop,.d5-js .d5:not(.d5-play) .d5-relay,.d5-js .d5:not(.d5-play) .d5-drive{transform:none}
 .d5-js .d5:not(.d5-play) .d5-sts{opacity:1;transform:none}
 .d5-js .d5:not(.d5-play) .d5-onboard{opacity:0}
 .d5-js .d5:not(.d5-play) :is(.d5-ghost,.d5-trace,.d5-arrowhead,.d5-path-label,.d5-late){opacity:0}
 .d5-play .d5-move{animation:d5-move 7.2s both}
 .d5-play .d5-trolley{animation:d5-trolley 7.2s both}
 .d5-play .d5-spreader{animation:d5-spreader 7.2s both}
 .d5-play .d5-cables{animation:d5-cables 7.2s both}
 .d5-play .d5-lock{animation:d5-lock 7.2s both}
 .d5-play .d5-ghost{animation:d5-ghost 7.2s both}
 .d5-play :is(.d5-trace,.d5-arrowhead,.d5-path-label,.d5-late){animation:d5-late 7.2s both}
 .d5-play .d5-hop{animation:d5-hop 1.2s cubic-bezier(.55,0,.35,1) both;animation-delay:calc(.5s + var(--i) * .42s)}
 .d5-play .d5-relay{animation:d5-relay 6s both;animation-delay:.4s}
 .d5-play .d5-sts{animation:d5-sts 7.5s both}
 .d5-play .d5-onboard{animation:d5-onboard 7.5s both}
 .d5-play .d5-drive{animation:d5-drive 7.5s both}
 .d5-play .d5-sts-x{animation:d5-sts-x 7.5s both}
 .d5-js .d5:not(.d5-play) .d5-sts-x{transform:none}
 .d5-play .d5-stage{animation:d5-stage 7.5s both}
 .d5-js .d5-tile .d5-tile-lift{animation:d5-tile-lift 5s cubic-bezier(.6,0,.35,1) infinite}
 .d5-js .d5-tile .d5-tile-slide{animation:d5-tile-slide 5s cubic-bezier(.6,0,.35,1) infinite}
}
@keyframes d5-move{0%,26%{transform:translate(0,0);animation-timing-function:cubic-bezier(.6,0,.35,1)}40%{transform:translate(0,calc(var(--lift) * -1));animation-timing-function:cubic-bezier(.6,0,.35,1)}68%{transform:translate(var(--dx),calc(var(--lift) * -1));animation-timing-function:cubic-bezier(.6,0,.35,1)}82%,100%{transform:translate(var(--dx),0)}}
@keyframes d5-trolley{0%,40%{transform:translateX(0);animation-timing-function:cubic-bezier(.6,0,.35,1)}68%,100%{transform:translateX(var(--dx))}}
@keyframes d5-spreader{0%,8%{transform:translateY(calc(var(--lift) * -1));animation-timing-function:cubic-bezier(.6,0,.35,1)}22%,26%{transform:translateY(0);animation-timing-function:cubic-bezier(.6,0,.35,1)}40%,68%{transform:translateY(calc(var(--lift) * -1));animation-timing-function:cubic-bezier(.6,0,.35,1)}82%,86%{transform:translateY(0);animation-timing-function:cubic-bezier(.6,0,.35,1)}100%{transform:translateY(calc(var(--lift) * -1))}}
@keyframes d5-cables{0%,8%{transform:scaleY(calc((var(--c0) - 104) / var(--c0)));animation-timing-function:cubic-bezier(.6,0,.35,1)}22%,26%{transform:scaleY(1);animation-timing-function:cubic-bezier(.6,0,.35,1)}40%,68%{transform:scaleY(calc((var(--c0) - 104) / var(--c0)));animation-timing-function:cubic-bezier(.6,0,.35,1)}82%,86%{transform:scaleY(1);animation-timing-function:cubic-bezier(.6,0,.35,1)}100%{transform:scaleY(calc((var(--c0) - 104) / var(--c0)))}}
@keyframes d5-lock{0%,21%{opacity:0}23%,25%{opacity:1}27%,80%{opacity:0}83%,85%{opacity:1}87%,100%{opacity:0}}
@keyframes d5-ghost{0%,30%{opacity:0}40%,100%{opacity:1}}
@keyframes d5-late{0%,62%{opacity:0}78%,100%{opacity:1}}
@keyframes d5-hop{0%{transform:translate(0,0)}50%{transform:translate(calc(var(--dx) * .5),-44px)}100%{transform:translate(var(--dx),0)}}
@keyframes d5-relay{0%,8%{transform:translate(0,0);animation-timing-function:cubic-bezier(.55,0,.35,1)}24%{transform:translate(calc(var(--ax) * .5),-46px);animation-timing-function:cubic-bezier(.3,0,.45,1)}40%,54%{transform:translate(var(--ax),0);animation-timing-function:cubic-bezier(.55,0,.35,1)}74%{transform:translate(calc((var(--ax) + var(--bx)) * .5),calc(var(--by) * .5 - 56px));animation-timing-function:cubic-bezier(.3,0,.45,1)}92%,100%{transform:translate(var(--bx),var(--by))}}
@keyframes d5-sts{0%,8%{opacity:1;transform:translate(0,0);animation-timing-function:cubic-bezier(.6,0,.35,1)}20%{opacity:1;transform:translate(0,-34px);animation-timing-function:cubic-bezier(.6,0,.35,1)}40%{opacity:1;transform:translate(var(--sx),-34px);animation-timing-function:cubic-bezier(.6,0,.35,1)}52%{opacity:1;transform:translate(var(--sx),var(--sy))}53%,100%{opacity:0;transform:translate(var(--sx),var(--sy))}}
@keyframes d5-sts-x{0%,20%{transform:translateX(0);animation-timing-function:cubic-bezier(.6,0,.35,1)}40%,100%{transform:translateX(var(--sx))}}
@keyframes d5-onboard{0%,52%{opacity:0}53%,100%{opacity:1}}
@keyframes d5-drive{0%,58%{transform:translateX(0);animation-timing-function:cubic-bezier(.55,0,.3,1)}94%,100%{transform:translateX(var(--drive))}}
@keyframes d5-stage{0%,4%{opacity:.35}12%,100%{opacity:1}}
@keyframes d5-stage2{0%,40%{opacity:.35}50%,100%{opacity:1}}
@keyframes d5-tile-lift{0%,20%{transform:translateY(0)}45%,65%{transform:translateY(-10px)}90%,100%{transform:translateY(0)}}
@keyframes d5-tile-slide{0%,20%{transform:translateX(-58px);opacity:0}30%{opacity:1}55%,85%{transform:translateX(0);opacity:1}100%{transform:translateX(0);opacity:1}}
@media (max-width:800px){.rg-viz:has(.d5){padding:18px 14px 12px;overflow-x:auto}.rg-viz:has(.d5) .d5{min-width:620px}.d5-replay{bottom:-46px;right:0}}
.rg-viz:has(.d5) figcaption{padding-right:120px}
.rg-viz--chain:has(.d5){padding-bottom:64px}

/* bez kratki w tle — wszystkie rysunki i panele */
.rg-viz,.rg-trailer__figure,.rg-industry__inset,.rg-synergy,[data-component="service-scroll-timeline"] .rp-panel{background-image:none!important}
.d5-band{fill:var(--ink);fill-opacity:.05;stroke:none}
.d5-paper{fill:var(--sunken)}
.d5--time .d5-t,.d5--time .d5-tm{font-size:9px}
/* stany końcowe v5.1 */
.d5-orbit{offset-distance:50%;offset-rotate:0deg}
.d5-flow{offset-distance:100%;offset-rotate:0deg;opacity:0}
.d5-tile-fly{offset-distance:55%;offset-rotate:auto}
@media (prefers-reduced-motion:no-preference){
 .d5-js .d5:not(.d5-play) .d5-hopper{transform:none!important}
 .d5-js .d5:not(.d5-play) .d5-seq{opacity:0}
 .d5-js .d5:not(.d5-play) .d5-rev{transform:scaleX(0)}
 .d5-js .d5:not(.d5-play) .d5-orbit{offset-distance:0%}
 .d5-js .d5:not(.d5-play) .d5-drive2{transform:translateX(-90px);opacity:0}
 .d5-play .d5-hopper{animation:var(--kf) var(--kd) linear both .3s}
 .d5-play .d5-seq{animation:d5-in .6s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(.15s + var(--i,0) * .12s)}
 .d5-play .d5-rev{transform-box:fill-box;transform-origin:0 50%;animation:d5-rev 2.6s cubic-bezier(.45,0,.25,1) both .2s}
 .d5-play .d5-orbit{animation:d5-orbit 6.4s cubic-bezier(.45,0,.55,1) both .6s}
 .d5-play .d5-flow{animation:d5-flow 2.4s cubic-bezier(.45,0,.3,1) both;animation-delay:calc(.8s + var(--i) * .5s)}
 .d5-play .d5-flow--out{animation-delay:calc(2.6s + var(--i) * .5s)}
 .d5-play .d5-drive2{animation:d5-drive2 2.2s cubic-bezier(.3,0,.2,1) both .3s}
 .d5-js .d5-tile .d5-tile-hops{animation:var(--kf) var(--kd) linear infinite,d5-tile-reset var(--kd) linear infinite}
 .d5-js .d5-tile .d5-tile-float{animation:d5-tile-float 4s ease-in-out infinite}
 .d5-js .d5-tile .d5-tile-drop{animation:d5-tile-drop 4.5s cubic-bezier(.6,0,.35,1) infinite}
 .d5-js .d5-tile .d5-tile-fly{animation:d5-tile-fly 6.5s linear infinite}
 .d5-js .d5-tile .d5-tile-hand{transform-box:view-box;transform-origin:80px 50px;animation:d5-tile-hand 6s steps(12) infinite}
 .d5-js .d5-tile .d5-tile-roll{transform-box:fill-box;transform-origin:50% 50%;animation:d5-tile-roll 8s linear infinite}
}
@keyframes d5-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes d5-rev{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes d5-orbit{from{offset-distance:0%}to{offset-distance:150%}}
@keyframes d5-flow{0%{offset-distance:0%;opacity:0}10%{opacity:1}85%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes d5-drive2{from{transform:translateX(-90px);opacity:0}25%{opacity:1}to{transform:none;opacity:1}}
@keyframes d5-tile-hop{0%,15%{transform:translateX(0)}45%,60%{transform:translateX(calc(var(--w) * .5))}90%,100%{transform:translateX(var(--w))}}
@keyframes d5-tile-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes d5-tile-drop{0%,15%{transform:translateY(-34px);opacity:0}25%{opacity:1}45%,90%{transform:none;opacity:1}100%{transform:none;opacity:0}}
@keyframes d5-tile-fly{0%{offset-distance:0%;opacity:0}5%,12%{offset-distance:0%;opacity:1;animation-timing-function:cubic-bezier(.45,0,.2,1)}82%,92%{offset-distance:100%;opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes d5-tile-reset{0%,100%{opacity:0}5%,95%{opacity:1}}
@keyframes d5-tile-hand{to{transform:rotate(360deg)}}
@keyframes d5-tile-roll{to{transform:rotate(360deg)}}
.d5 text{paint-order:stroke;stroke:var(--sunken);stroke-width:5px;stroke-linejoin:round}
.d5-cn~text,.d5-cnt{stroke-width:0}
.d5-tile text{font-size:8px!important;letter-spacing:.08em}
.rg-tile__visual .d5-tile text{stroke:#141315}
/* Styl E — FTL/LTL naczepa z boku */
.e6>svg{width:100%;height:auto;display:block;overflow:visible}
.e6-g{fill:none;stroke:var(--ink,#fff);stroke-opacity:.8;stroke-width:2.2}
.e6-o{fill:var(--raised,#1e1e21);stroke:var(--ink,#fff);stroke-opacity:.9;stroke-width:1.8;stroke-linejoin:round}
.e6-o2{fill:var(--raised2,#242428);stroke:var(--ink,#fff);stroke-opacity:.75;stroke-width:1.5}
.e6-l{fill:none;stroke:var(--ink,#fff);stroke-opacity:.42;stroke-width:1.1}
.e6-win{fill:var(--bg,#0f0f10);stroke:var(--ink,#fff);stroke-opacity:.6;stroke-width:1}
.e6-w{fill:var(--bg,#0f0f10);stroke:var(--ink,#fff);stroke-width:2}.e6-hub{fill:var(--ink,#fff);fill-opacity:.7}
.e6-pal{fill:var(--raised2,#242428);stroke:var(--ink,#fff);stroke-opacity:.6;stroke-width:1.1}
.e6-own{fill:var(--brand,#cb2127);stroke:#ff8a8e;stroke-opacity:.8;stroke-width:1.3}.e6-tape{stroke:#8a1216;stroke-width:2}
.e6-sh{stroke:var(--ink,#fff);stroke-opacity:.7;stroke-width:1.3}.e6-hl{stroke:var(--ink,#fff);stroke-opacity:.55;stroke-width:1.4}
.e6-free{fill:none;stroke:var(--ink,#fff);stroke-opacity:.45;stroke-width:1.4;stroke-dasharray:5 4}
.e6-dim{fill:none;stroke:var(--ink,#fff);stroke-opacity:.55;stroke-width:1.3}.e6-t{font-size:15px;font-weight:500;fill:var(--ink,#fff);fill-opacity:.85}
@media (prefers-reduced-motion:no-preference){
 .d5-js .e6:not(.d5-play):not(.d5-done) .e6-p{opacity:0}
 .d5-play.e6 .e6-p{animation:e6-in .55s cubic-bezier(.3,.7,.2,1) both;animation-delay:calc(var(--i)*120ms + .15s)}
}
@keyframes e6-in{from{opacity:0;transform:translateX(-60px)}to{opacity:1;transform:none}}
.e6-cap{margin:10px 0 12px;font-size:15px;font-weight:500;color:var(--ink,#fff);opacity:.85}
.rg-load__figure .rg-load__scale{display:none}

/* Styl E — modele czasowe i kafle */
.e6t{position:relative}
.e6-num{font-size:13px;font-weight:700;fill:#fff}
.e6-band{fill:var(--brand,#cb2127);fill-opacity:.16}.e6-bandl{fill:none;stroke:var(--brand2,#e9333a);stroke-width:1.8;stroke-dasharray:5 4}
.e6-cap2{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:14px;line-height:1.35;font-weight:500;color:var(--ink,#fff);opacity:.85}
.e6-cap2 span:last-child{text-align:right}
.e6-chip{position:absolute;left:50%;top:-4px;transform:translateX(-50%);white-space:nowrap;font-size:13px;font-weight:600;color:#fff;background:var(--brand,#cb2127);border-radius:4px;padding:3px 8px}
.e6-hours{position:relative;height:22px;margin-top:4px}.e6-hours span{position:absolute;top:0;transform:translateX(-50%);font-size:14px;font-weight:500;color:var(--ink,#fff);opacity:.85;white-space:nowrap}
.e6-plate{fill:#e9853a;stroke:none}.e6-flame{fill:#fff}.e6-rc2{fill:none;stroke:#8a1216;stroke-width:2.4}.e6-hand{stroke:var(--brand2,#e9333a);stroke-width:3;stroke-linecap:round}
.d5-tile.e6 .e6-o{stroke-width:2}.d5-tile.e6 .e6-g{stroke-width:2.4}
.e6-hop{transform:translate(var(--dx),var(--dy))}
@media (prefers-reduced-motion:no-preference){
 .d5-js .e6t:not(.d5-play):not(.d5-done) .e6-hop{transform:none}
 .d5-js .e6t:not(.d5-play):not(.d5-done) .e6-drive{transform:translateX(var(--drive-start,-64px))}
 .d5-play.e6t .e6-hop{animation:e6-hop 1.25s cubic-bezier(.45,0,.3,1) both;animation-delay:calc(var(--i)*.7s + .3s)}
 .d5-play.e6t .e6-drive{animation:e6-drive 2.2s cubic-bezier(.2,.6,.25,1) both .2s}
}
@keyframes e6-hop{from{transform:none}to{transform:translate(var(--dx),var(--dy))}}
@keyframes e6-drive{from{transform:translateX(var(--drive-start,-64px))}to{transform:none}}
.rg-time__viz:has(.e6t){padding:18px 16px 10px}


/* Styl E — monitoring */
.rg-monitoring__radar:has(.e6m){background:var(--sunken)!important;display:flex;flex-direction:column;justify-content:center;padding:28px 24px 20px}
.e6m{width:100%}.e6m svg{display:block;width:100%!important;height:auto!important;max-width:none!important;max-height:none!important;overflow:visible;position:static!important;inset:auto!important;transform:none!important}
.e6m-lead{fill:none;stroke:var(--ink,#fff);stroke-opacity:.4;stroke-width:1.4;stroke-dasharray:4 4;transition:stroke .3s,stroke-opacity .3s}
.e6m-dot{fill:var(--ink,#fff);fill-opacity:.6;transition:fill .3s}.e6m-ring{fill:none;stroke:var(--brand2,#e9333a);stroke-width:2;opacity:0}
.e6m-badge{fill:var(--raised,#1e1e21);stroke:var(--ink,#fff);stroke-opacity:.7;stroke-width:1.8;transition:fill .3s,stroke .3s}
.e6m-ic{color:var(--ink,#fff);opacity:.85;transition:color .3s}
.e6m[data-active="0"] [data-k="0"],.e6m[data-active="1"] [data-k="1"],.e6m[data-active="2"] [data-k="2"],.e6m[data-active="3"] [data-k="3"]{--on:1}
.e6m-k[style],.e6m [data-k]{}
.e6m[data-active="0"] [data-k="0"] .e6m-badge,.e6m[data-active="1"] [data-k="1"] .e6m-badge,.e6m[data-active="2"] [data-k="2"] .e6m-badge,.e6m[data-active="3"] [data-k="3"] .e6m-badge{fill:var(--brand,#cb2127);stroke:#ff8a8e}
.e6m[data-active="0"] [data-k="0"] .e6m-lead,.e6m[data-active="1"] [data-k="1"] .e6m-lead,.e6m[data-active="2"] [data-k="2"] .e6m-lead,.e6m[data-active="3"] [data-k="3"] .e6m-lead{stroke:var(--brand2,#e9333a);stroke-opacity:1;stroke-dasharray:none;stroke-width:2}
.e6m[data-active="0"] [data-k="0"] .e6m-dot,.e6m[data-active="1"] [data-k="1"] .e6m-dot,.e6m[data-active="2"] [data-k="2"] .e6m-dot,.e6m[data-active="3"] [data-k="3"] .e6m-dot{fill:var(--brand2,#e9333a);fill-opacity:1}
.e6m[data-active="0"] [data-k="0"] .e6m-ic,.e6m[data-active="1"] [data-k="1"] .e6m-ic,.e6m[data-active="2"] [data-k="2"] .e6m-ic,.e6m[data-active="3"] [data-k="3"] .e6m-ic{color:#fff;opacity:1}
@media (prefers-reduced-motion:no-preference){.e6m[data-active="0"] [data-k="0"] .e6m-ring,.e6m[data-active="1"] [data-k="1"] .e6m-ring,.e6m[data-active="2"] [data-k="2"] .e6m-ring,.e6m[data-active="3"] [data-k="3"] .e6m-ring{animation:e6m-ping 1.6s ease-out infinite;transform-box:fill-box;transform-origin:center}}
@keyframes e6m-ping{0%{opacity:.9;transform:scale(.5)}100%{opacity:0;transform:scale(2.2)}}
.rg-monitoring__radar:has(.e6m) figcaption{margin-top:14px;font-size:15px;color:var(--ink,#fff);opacity:.8;text-align:center}

/* Styl E — sceny osi realizacji v2 */
.e6s{margin:18px 0 10px;border:1px solid var(--line2);border-radius:14px;background:var(--sunken);padding:0;overflow:hidden}
.e6s svg{display:block;width:100%;height:auto}
.e6s [data-s]{opacity:0;transition:opacity .45s ease}
.e6s[data-step="0"] [data-s="0"],.e6s[data-step="1"] [data-s="1"],.e6s[data-step="2"] [data-s="2"],.e6s[data-step="3"] [data-s="3"],.e6s[data-step="4"] [data-s="4"],.e6s[data-step="5"] [data-s="5"]{opacity:1}
.e6-bgl{fill:none;stroke:var(--ink,#fff);stroke-opacity:.14;stroke-width:1.3}
.e6-band2{fill:var(--raised,#1e1e21)}.e6-land{fill:var(--raised,#1e1e21);fill-opacity:.7}
.e6-st{font-size:13px;font-weight:600;fill:var(--ink,#fff)}.e6-st--m{fill-opacity:.62;font-weight:500}.e6-st--on{fill:var(--brand2,#e9333a);font-weight:700}.e6-st--b{font-size:16px;font-weight:700}
.e6-stk{font-size:11px;font-weight:700;letter-spacing:.14em;fill:var(--ink,#fff);fill-opacity:.7}
.e6-chk{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.e6-pin{font-size:16px;font-weight:700;fill:#fff}
.e6-route-bg{fill:none;stroke:var(--ink,#fff);stroke-opacity:.3;stroke-width:3;stroke-dasharray:6 6}
.e6-route{fill:none;stroke:var(--brand2,#e9333a);stroke-width:4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:0}
.e6-dim-g{opacity:.42}.e6-lane{fill:none;stroke:var(--ink,#fff);stroke-opacity:.5;stroke-width:2;stroke-dasharray:18 14}
.e6-sig{fill:none;stroke:var(--brand2,#e9333a);stroke-width:2.4;stroke-linecap:round}
.e6-mover{offset-distance:100%;offset-rotate:0deg}.e6-mover2{offset-distance:62%;offset-rotate:0deg}
[data-component="service-scroll-timeline"] .rp-panel:has(.e6s) .rp-stage-icon{display:none}
@media (prefers-reduced-motion:no-preference){
.e6s[data-step="0"] [data-s="0"] .e6-ap,.e6s[data-step="1"] [data-s="1"] .e6-ap,.e6s[data-step="2"] [data-s="2"] .e6-ap,.e6s[data-step="3"] [data-s="3"] .e6-ap,.e6s[data-step="4"] [data-s="4"] .e6-ap,.e6s[data-step="5"] [data-s="5"] .e6-ap{animation:e6-ap .45s cubic-bezier(.3,.7,.2,1) both;animation-delay:calc(var(--i) * .16s + .2s)}
.e6s[data-step="0"] [data-s="0"] .e6-route,.e6s[data-step="1"] [data-s="1"] .e6-route,.e6s[data-step="2"] [data-s="2"] .e6-route,.e6s[data-step="3"] [data-s="3"] .e6-route,.e6s[data-step="4"] [data-s="4"] .e6-route,.e6s[data-step="5"] [data-s="5"] .e6-route{animation:e6-draw 1.6s cubic-bezier(.4,0,.2,1) both .15s}
.e6s[data-step="0"] [data-s="0"] .e6-mover,.e6s[data-step="1"] [data-s="1"] .e6-mover,.e6s[data-step="2"] [data-s="2"] .e6-mover,.e6s[data-step="3"] [data-s="3"] .e6-mover,.e6s[data-step="4"] [data-s="4"] .e6-mover,.e6s[data-step="5"] [data-s="5"] .e6-mover{animation:e6-mv 1.6s cubic-bezier(.4,0,.2,1) both .15s}
.e6s[data-step="0"] [data-s="0"] .e6-mover2,.e6s[data-step="1"] [data-s="1"] .e6-mover2,.e6s[data-step="2"] [data-s="2"] .e6-mover2,.e6s[data-step="3"] [data-s="3"] .e6-mover2,.e6s[data-step="4"] [data-s="4"] .e6-mover2,.e6s[data-step="5"] [data-s="5"] .e6-mover2{animation:e6-mv2 5s linear infinite}
.e6s[data-step="0"] [data-s="0"] .e6-lane,.e6s[data-step="1"] [data-s="1"] .e6-lane,.e6s[data-step="2"] [data-s="2"] .e6-lane,.e6s[data-step="3"] [data-s="3"] .e6-lane,.e6s[data-step="4"] [data-s="4"] .e6-lane,.e6s[data-step="5"] [data-s="5"] .e6-lane{animation:e6-lane 1s linear infinite}
.e6s[data-step="0"] [data-s="0"] .e6-par,.e6s[data-step="1"] [data-s="1"] .e6-par,.e6s[data-step="2"] [data-s="2"] .e6-par,.e6s[data-step="3"] [data-s="3"] .e6-par,.e6s[data-step="4"] [data-s="4"] .e6-par,.e6s[data-step="5"] [data-s="5"] .e6-par{animation:e6-par 9s linear infinite}
.e6s[data-step="0"] [data-s="0"] .e6-sig,.e6s[data-step="1"] [data-s="1"] .e6-sig,.e6s[data-step="2"] [data-s="2"] .e6-sig,.e6s[data-step="3"] [data-s="3"] .e6-sig,.e6s[data-step="4"] [data-s="4"] .e6-sig,.e6s[data-step="5"] [data-s="5"] .e6-sig{animation:e6-sig 1.6s ease-in-out infinite}
.e6s[data-step="0"] [data-s="0"] .e6-fork2,.e6s[data-step="1"] [data-s="1"] .e6-fork2,.e6s[data-step="2"] [data-s="2"] .e6-fork2,.e6s[data-step="3"] [data-s="3"] .e6-fork2,.e6s[data-step="4"] [data-s="4"] .e6-fork2,.e6s[data-step="5"] [data-s="5"] .e6-fork2{animation:e6-fk2 3.2s cubic-bezier(.45,0,.3,1) infinite}
.e6s[data-step="0"] [data-s="0"] .e6-in,.e6s[data-step="1"] [data-s="1"] .e6-in,.e6s[data-step="2"] [data-s="2"] .e6-in,.e6s[data-step="3"] [data-s="3"] .e6-in,.e6s[data-step="4"] [data-s="4"] .e6-in,.e6s[data-step="5"] [data-s="5"] .e6-in{animation:e6-in2 1.2s cubic-bezier(.3,.7,.2,1) both .2s}
}
@keyframes e6-ap{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes e6-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes e6-mv{from{offset-distance:0%}to{offset-distance:100%}}@keyframes e6-mv2{from{offset-distance:0%}to{offset-distance:100%}}
@keyframes e6-lane{to{stroke-dashoffset:-32}}@keyframes e6-par{to{transform:translateX(-300px)}}@keyframes e6-sig{0%,100%{opacity:.3}50%{opacity:1}}
@keyframes e6-fk2{0%,10%{transform:none}55%,70%{transform:translateX(56px)}100%{transform:none}}@keyframes e6-in2{from{transform:translateX(-120px);opacity:0}to{transform:none;opacity:1}}
:root[data-theme=light] .e6-chk{stroke:#fff}
/* === Styl E: nadpisanie rysunków v5 — pełne bryły, grubsze kontury, pełny czerwony ładunek, większe opisy === */
.d5-o{stroke-opacity:.92;stroke-width:1.9}
.d5 :is(rect,polygon,circle,ellipse).d5-o,.d5 path.d5-o.d5-fb{fill:var(--raised,#1e1e21)}
.d5-d{stroke-opacity:.62;stroke-width:1.3}.d5-h{stroke-opacity:.4;stroke-width:1.1}.d5-g{stroke-opacity:.85;stroke-width:2.2}
.d5-uf{fill-opacity:1}.d5-uo{stroke:#ff8a8e;stroke-opacity:.85;stroke-width:1.6}.d5-ur{stroke:#8a1216;stroke-opacity:1;stroke-width:1.3}.d5-ud{stroke:#8a1216;stroke-opacity:1}
.d5-gh{stroke-opacity:.5;stroke-width:1.3}.d5-a{stroke-width:2}
.d5-t{font-size:calc(13.5px * var(--d5s,1.45));fill:var(--ink);fill-opacity:.9;font-weight:500}
.d5-t--accent{fill:var(--brand2,#e9333a);fill-opacity:1;font-weight:600}
.d5-tm{font-size:calc(11px * var(--d5s,1.45));fill:var(--ink);fill-opacity:.7}
.d5-k{font-size:calc(12px * var(--d5s,1.45))}.d5-cnt{font-size:calc(10.5px * var(--d5s,1.45))}

/* Styl E — pasek etapów */
.e6c .e6-water{fill:#101a22;fill-opacity:.9}
.e6c .e6-o{stroke-width:2.2}.e6c .e6-l{stroke-width:1.4}.e6c .e6-w{stroke-width:2.4}
.e6-row{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--n),1fr)}
.e6-row li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:0 6px;position:relative}
.e6-row li::before{content:"";position:absolute;top:-14px;left:50%;width:1.5px;height:10px;background:var(--ink,#fff);opacity:.6}
.e6-row .e6-n{font-size:clamp(22px,2.2vw,32px);font-weight:700;line-height:1;letter-spacing:-.02em;color:var(--brand2,#e9333a)}
.e6-row b{font-size:15px;line-height:1.3;font-weight:600;color:var(--ink,#fff)}
.e6-br{position:relative;margin-top:22px;height:1.5px;background:var(--ink,#fff);opacity:.55}
.e6-br::before,.e6-br::after{content:"";position:absolute;top:-6px;width:1.5px;height:13px;background:inherit}.e6-br::before{left:0}.e6-br::after{right:0}
.e6-br.is-strong{opacity:1;height:2px}
.e6-br span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 12px;background:var(--sunken,#161418);font-size:14px;font-weight:500;color:var(--ink,#fff);white-space:nowrap}
.rg-viz .e6-br span{background:var(--sunken,#161418)}
.e6-top{font-size:14px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand2,#e9333a);margin:0 0 12px}
.e6-zones{position:relative;height:30px;margin-bottom:6px}
.e6-zone{position:absolute;top:10px;height:1.5px;background:var(--ink,#fff);opacity:.6}.e6-zone span{position:absolute;left:50%;top:-10px;transform:translateX(-50%);padding:0 10px;background:var(--sunken,#161418);font-size:12px;letter-spacing:.14em;font-weight:600;white-space:nowrap}
.e6-sub{margin-top:26px}
.e6c .d5-replay{bottom:-44px}
@media (max-width:760px){
 .e6-row{grid-template-columns:repeat(2,1fr);gap:14px 10px}.e6-row li{flex-direction:row;align-items:baseline;text-align:left;gap:10px}.e6-row li::before{display:none}
 .e6-row b{font-size:14px}.e6-br span{white-space:normal;text-align:center;font-size:13px;max-width:80%}
 .e6-zones{display:none}
}
.e6-cg{fill:#34343c;stroke:var(--ink,#fff);stroke-opacity:.7;stroke-width:1.3}.e6-cc{fill:none;stroke:var(--ink,#fff);stroke-opacity:.18;stroke-width:1.1}.e6-rc{fill:none;stroke:#8a1216;stroke-width:1.4}
.e6-water{fill:#101a22;fill-opacity:.9}
/* Styl E — łańcuch portowy */


.e-bg{fill:none;stroke:#fff;stroke-opacity:.16;stroke-width:1.3}
.e-o{fill:#1c1c21;stroke:#ececf0;stroke-opacity:.92;stroke-width:1.8;stroke-linejoin:round}.e-o2{fill:#2a2a31;stroke:#ececf0;stroke-opacity:.8;stroke-width:1.5;stroke-linejoin:round}
.e-l{fill:none;stroke:#ececf0;stroke-opacity:.42;stroke-width:1.1}.e-g{fill:none;stroke:#fff;stroke-opacity:.85;stroke-width:2.2}
.e-quay{fill:#1a191d}.e-water{fill:#101a22;fill-opacity:.9}.e-wave{stroke:#9fc3e0;stroke-opacity:.35;stroke-width:1.6}
.e-cg{fill:#34343c;stroke:#d9d9de;stroke-opacity:.75;stroke-width:1.3}.e-cc{fill:none;stroke:#fff;stroke-opacity:.16;stroke-width:1.2}
.e-red{fill:#d22b31;stroke:#ff9a9e;stroke-opacity:.8;stroke-width:1.4}.e-rc{fill:none;stroke:#8a1216;stroke-width:1.6}
.e-win{fill:#0b0b0d;stroke:#ececf0;stroke-opacity:.6;stroke-width:1}.e-open{fill:#0b0b0d}
.e-wheel{fill:#0d0d0f;stroke:#ececf0;stroke-width:2}.e-hub{fill:#ececf0;fill-opacity:.75}.e-cable{fill:#ececf0;fill-opacity:.8}
.e-door,.e-cb{transform-box:fill-box;transform-origin:50% 0}
.e-steps{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:0 24px}
.e-step{position:relative;display:flex;flex-direction:column;gap:4px;padding-right:12px}
.e-n{font-size:clamp(40px,4.4vw,64px);font-weight:700;line-height:1;letter-spacing:-.03em;color:var(--brand2)}
.e-step b{font-size:20px;font-weight:600;color:#fff;margin-top:8px}.e-step small{font-size:15px;line-height:1.45;color:rgba(255,255,255,.72)}
.e-step:not(:last-child)::after{content:"";position:absolute;left:clamp(64px,7vw,100px);right:18px;top:clamp(20px,2.2vw,32px);height:1.5px;background:rgba(255,255,255,.45)}
.e-step:not(:last-child)::before{content:"";position:absolute;right:18px;top:calc(clamp(20px,2.2vw,32px) - 4px);width:8px;height:8px;border-top:1.5px solid rgba(255,255,255,.6);border-right:1.5px solid rgba(255,255,255,.6);transform:rotate(45deg)}
.d5-play .e-u{animation:e-u 8s both}.d5-play .e-t{animation:e-t 8s both}.d5-play .e-tr{animation:e-tr 8s both}.d5-play .e-sp{animation:e-sp 8s both}.d5-play .e-cb{animation:e-cb 8s both}
.d5-play .e-door{animation:e-dr 8s both}.d5-play .e-fork{animation:e-fk 8s both}.d5-play .e-step{animation:e-on .5s both;animation-delay:var(--d)}
@keyframes e-on{from{opacity:.25}to{opacity:1}}
@media (max-width:760px){.e-steps{grid-template-columns:1fr 1fr;gap:22px 18px}.e-step::after,.e-step::before{display:none}}
.d5-js .e6line:not(.d5-play):not(.d5-done) :is(.e-u,.e-t,.e-tr,.e-sp){transform:none!important}.d5-js .e6line:not(.d5-play):not(.d5-done) :is(.e-cb,.e-door){transform:scaleY(1)!important}.d5-js .e6line:not(.d5-play):not(.d5-done) .e-fork{opacity:0}.rg-viz--chain:has(.e6line){padding:28px 32px 24px}.e6line svg{display:block;width:100%;height:auto}
@media (max-width:800px){.rg-viz:has(.e6c),.rg-viz:has(.e6line){overflow-x:visible}.rg-viz:has(.e6c) .d5,.rg-viz:has(.e6line) .d5{min-width:0}}
@media (max-width:760px){.e6-br{margin:10px 0 0!important;width:100%!important;height:auto;background:none!important;opacity:1}.e6-br::before,.e6-br::after{display:none}
 .e6-br span{position:static;transform:none;display:block;max-width:none;padding:2px 0 2px 12px;border-left:2px solid rgba(255,255,255,.5);white-space:normal;text-align:left;background:none!important;font-size:14px}
 .e6-br.is-strong span{border-left-color:var(--brand2,#e9333a)}.e6c{padding-bottom:40px}}

/* Styl E — multimodal/intermodal, produkcja */
.e6v{display:grid;gap:18px}
.e6v-b{border:1px solid var(--line2);border-radius:12px;padding:16px 18px 12px}
.e6v-b.is-in{border-color:rgba(233,51,58,.55);background:rgba(203,33,39,.05)}
.e6v-h{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin-bottom:10px}
.e6v-h b{font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink,#fff)}.e6v-b.is-in .e6v-h b{color:var(--brand2,#e9333a)}
.e6v-h span{font-size:15px;color:var(--ink,#fff);opacity:.8}
.e6v svg{display:block;width:100%;height:auto;overflow:visible}
.e6v-c{margin:8px 0 0;font-size:14px;font-weight:500;color:var(--ink,#fff);opacity:.85}
.e6v .e6-o{stroke-width:2.2}
.e6-tx{font-size:calc(15px * var(--d5s,1.45));font-weight:600;fill:var(--ink,#fff)}.e6-tx--k{font-size:calc(12.5px * var(--d5s,1.45));letter-spacing:.14em;font-weight:700}.e6-tx--m{fill-opacity:.75}.e6-tx--s{font-size:calc(13.5px * var(--d5s,1.45));font-weight:500;fill-opacity:.85}
.e6-flowl{fill:none;stroke:var(--ink,#fff);stroke-opacity:.55;stroke-width:2;stroke-dasharray:6 6}
@media (max-width:800px){.rg-viz:has(.e6v),.rg-viz:has(.e6[data-d5="production"]){overflow-x:visible}.rg-viz:has(.e6v) .d5,.rg-viz:has(.e6[data-d5="production"]) .d5{min-width:0}}

/* Styl E — kolej (dobór), odprawa, mapa świata */
.e6-tx--r{fill:var(--brand2,#e9333a);font-weight:700}
.e6 .e6-route{stroke-dasharray:none}
.rg-world__map .atlas-land{fill:#24242a;stroke:rgba(255,255,255,.22);stroke-width:.6px}
.rg-world__map .atlas-land.is-area{fill:#3c3c45;stroke:rgba(255,255,255,.45)}
.rg-world__map .atlas-land.is-active{fill:#8f1a1f;stroke:#e9333a}
.rg-world__map .atlas-land.is-origin{fill:#6a6a74;stroke:#fff}
.rg-world__arc{stroke:#fff;opacity:.45;stroke-width:1.4}.rg-world__arc.is-active{stroke:var(--brand2,#e9333a);opacity:1;stroke-width:2.6}
.rg-regions--world .rg-map-legend i.is-area{background:#3c3c45;outline:1px solid rgba(255,255,255,.45)}.rg-regions--world .rg-map-legend i.is-origin{background:#6a6a74}
@media (min-width:761px){.e6-br.is-single span{left:100%;transform:translateY(-50%);padding:0 0 0 12px}}
/* jasny motyw: łańcuch portowy (kolory z laboratorium były na sztywno ciemne) */
:root[data-theme=light] .e6line .e-o{fill:#fff;stroke:#1b1b1e}:root[data-theme=light] .e6line .e-o2{fill:#e9eaee;stroke:#1b1b1e}
:root[data-theme=light] .e6line .e-l{stroke:#1b1b1e;stroke-opacity:.45}:root[data-theme=light] .e6line .e-g{stroke:#1b1b1e}
:root[data-theme=light] .e6line .e-bg{stroke:#1b1b1e;stroke-opacity:.18}:root[data-theme=light] .e6line .e-quay{fill:#e2e4e8}
:root[data-theme=light] .e6line .e-water{fill:#cfdbe5}:root[data-theme=light] .e6line .e-wave{stroke:#fff}
:root[data-theme=light] .e6line .e-cg{fill:#c9ccd2;stroke:#1b1b1e;stroke-opacity:.6}:root[data-theme=light] .e6line .e-cc{stroke:#1b1b1e;stroke-opacity:.18}
:root[data-theme=light] .e6line .e-win,:root[data-theme=light] .e6line .e-open{fill:#2a2a2e}:root[data-theme=light] .e6line .e-wheel{fill:#2a2a2e;stroke:#1b1b1e}
:root[data-theme=light] .e6line .e-cable{fill:#1b1b1e}
:root[data-theme=light] .e6line .e-step b{color:#151516}:root[data-theme=light] .e6line .e-step small{color:#55555b}
:root[data-theme=light] .e6line .e-step:not(:last-child)::after{background:rgba(0,0,0,.35)}:root[data-theme=light] .e6line .e-step:not(:last-child)::before{border-color:rgba(0,0,0,.45)}
:root[data-theme=light] .e6-cg{fill:#c9ccd2}:root[data-theme=light] .e6-water{fill:#cfdbe5}
:root[data-theme=light] .e6-br span,:root[data-theme=light] .e6-zone span{background:var(--sunken)}
/* schemat etapów z materiału klienta (Flota: TMS) */
.e6-flowfig{padding:clamp(28px,3vw,44px)!important}
.e6-flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:0}
.e6-flow li{position:relative;display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.e6-flow li:not(:last-child)::after{content:"";position:absolute;top:34px;left:calc(50% + 42px);right:calc(-50% + 42px);height:2px;background:linear-gradient(90deg,var(--ink,#fff) 50%,transparent 0) 0 0/10px 2px;opacity:.45}
.e6-flow__ic{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;border:2px solid var(--ink,#fff);background:var(--raised,#1e1e21);color:var(--ink,#fff)}
.e6-flow__ic svg{width:28px;height:28px;stroke-width:1.8}
.e6-flow b{font-size:16px;font-weight:600;color:var(--ink,#fff)}
@media (prefers-reduced-motion:no-preference){.e6-flow__ic{animation:e6-flowon calc(var(--n) * 1.1s) infinite;animation-delay:calc(var(--i) * 1.1s)}}
@keyframes e6-flowon{0%,2%{background:var(--brand,#cb2127);border-color:var(--brand,#cb2127);color:#fff}16%{background:var(--brand,#cb2127);border-color:var(--brand,#cb2127);color:#fff}22%,100%{background:var(--raised,#1e1e21);border-color:var(--ink,#fff);color:var(--ink,#fff)}}
@media (max-width:760px){.e6-flow{grid-template-columns:repeat(3,1fr);row-gap:26px}.e6-flow li::after{display:none}.e6-flow__ic{width:56px;height:56px}}
.rg-index__viz{align-self:center;padding:28px!important}
/* case study: liczby z materiału klienta — czytelne na jasnej karcie wyniku */
.rg-flow__step--result .rg-flow__metrics div{display:flex;flex-direction:column-reverse;gap:2px;border-color:rgba(0,0,0,.15)}
.rg-flow__step--result .rg-flow__metrics dd{margin:0;font-size:28px;line-height:1.1;font-weight:700;letter-spacing:-.02em}
.rg-flow__step--result .rg-flow__metrics dt{font-size:14px;color:#44444a}
:root[data-theme=light] .rg-flow__step--result .rg-flow__metrics dt{color:#44444a}

/* Styl E — sceny osi realizacji v3 (jak paski etapów) */
.e6s3{padding:26px 22px 14px!important}
.e6s3 [data-n]{opacity:.32;transition:opacity .45s ease}
.e6s3[data-step="0"] [data-n="0"],.e6s3[data-step="1"] [data-n="1"],.e6s3[data-step="2"] [data-n="2"],.e6s3[data-step="3"] [data-n="3"],.e6s3[data-step="4"] [data-n="4"],.e6s3[data-step="5"] [data-n="5"]{opacity:1}
.e6s3 .e6s-unit,.e6s3 .e6s-track{transition:transform .9s cubic-bezier(.45,0,.25,1)}
.e6s3 svg{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent)}
.e6s3 .e6-o{stroke-width:2.4}.e6s3 .e6-l{stroke-width:1.6}.e6s3 .e6-w{stroke-width:2.6}
@media (prefers-reduced-motion:reduce){.e6s3 .e6s-unit,.e6s3 .e6s-track,.e6s3 [data-n]{transition:none}}
/* naczepy w stylu pasków etapów */
.rg-trl .e6-o{stroke-width:1.8}.rg-trl .e6-w{stroke-width:2}
.rg-trailer__figure:has(.e6-own),.rg-industry__inset{background:var(--sunken)!important}
/* mapy regionów: te same neutralne kolory co mapa świata */
.rg-regions__map .atlas-land{fill:#24242a;stroke:rgba(255,255,255,.22);stroke-width:.6px}
.rg-regions__map .atlas-land.is-area{fill:#3c3c45;stroke:rgba(255,255,255,.45)}
.rg-regions__map .atlas-land.is-active{fill:#8f1a1f;stroke:#e9333a}
.rg-regions__map .atlas-land.is-origin{fill:#6a6a74;stroke:#fff}
.rg-map-legend i.is-area{background:#3c3c45!important;outline:1px solid rgba(255,255,255,.45)}.rg-map-legend i.is-origin{background:#6a6a74!important}
/* kafle: ta sama grubość kreski co paski etapów */
.d5-tile.e6 .e6-o{stroke-width:1.4}.d5-tile.e6 .e6-g{stroke-width:1.8}.d5-tile.e6 .e6-w{stroke-width:1.6}.d5-tile.e6 .e6-own{stroke-width:1.1}

/* wykresy → sceny */
.e6-temp{fill:none;stroke:var(--brand2,#e9333a);stroke-width:3;stroke-linecap:round}
.e6-knock{fill:var(--sunken,#161418)}
.e6-arrive{transform:none}
@media (prefers-reduced-motion:no-preference){
 .d5-js .e6t:not(.d5-play):not(.d5-done) .e6-arrive{opacity:0;transform:translateX(-80px)}
 .d5-play.e6t .e6-arrive{animation:e6-arr .8s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * .35s + .4s)}
}
@keyframes e6-arr{from{opacity:0;transform:translateX(-80px)}to{opacity:1;transform:none}}
/* kafle multimodalne — pełna szerokość kafla */
.rg-tile__visual:has(.e6-mix){height:auto;padding:6px 0 0}
.rg-tile__visual svg.d5-tile.e6-mix{width:100%;max-width:none;height:auto}
/* e-commerce: pętla zwrotu pod paskiem etapów */
.e6-ret{position:relative;display:flex;flex-direction:row-reverse;justify-content:space-around;gap:10px;margin:22px 12.5% 0;padding-top:16px;border-top:1.5px dashed color-mix(in srgb,var(--ink,#fff) 45%,transparent)}
.e6-ret::before{content:"";position:absolute;left:-1px;top:-7px;border:6px solid transparent;border-right:9px solid color-mix(in srgb,var(--ink,#fff) 60%,transparent);border-left:0}
.e6-ret span{font-size:14px;font-weight:600;color:var(--ink,#fff);opacity:.85;position:relative}
.e6-ret span+span::after{content:"←";position:absolute;right:-1.2em;opacity:.5;font-weight:400}
@media(max-width:640px){.e6-ret{margin:18px 0 0;flex-wrap:wrap}.e6-ret span{font-size:13px}}
/* WMS — centrum logistyczne */
.e6-wms .e6-row small{font-size:13px;color:var(--muted,#b9b9bf);font-weight:500}.e6-wms .e6-row small.is-acc{color:var(--brand2,#e9333a);font-weight:700;letter-spacing:.04em}
.rg-monitoring__photo.rg-rack:has(.e6-wms){padding:clamp(18px,2.4vw,32px);overflow:visible}
.rg-monitoring__photo.rg-rack:has(.e6-wms) figcaption{padding-top:18px}
@media(min-width:641px){.e6-wms .e6-row{grid-template-columns:27% 46% 27%}}
@media(max-width:640px){.e6-wms .e6-row{grid-template-columns:1fr}.e6-wms .e6-row li{flex-wrap:wrap}.rg-monitoring__photo.rg-rack:has(.e6-wms){padding:14px;max-width:100%;min-width:0}.e6-wms{min-width:0;max-width:100%}}
/* Centrum — branże: rysunki paska etapów w panelu zamiast zdjęcia — dopasowane do wysokości panelu (sekcja ma stałą wysokość ekranu) */
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz:has(>.d5){flex:1 1 auto;min-height:0;height:auto;overflow:hidden}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5{position:absolute;inset:16px 22px 14px;display:flex;flex-direction:column;justify-content:center;min-height:0}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5>.d5-svg{flex:0 1 auto;min-height:0;width:auto;max-width:100%;height:auto;max-height:100%;margin:0 auto;display:block}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .e6-top{margin-bottom:6px}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .e6-row{margin-top:10px}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .e6-row .e6-n{font-size:22px}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .e6-br{margin-top:14px}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .e6-ret{margin-top:12px;padding-top:10px}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5 .d5-replay{display:none}
:is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>svg.rg-trl{inset:10px 20px 6px;width:calc(100% - 40px);height:calc(100% - 16px)}

/* Pause both finite sequences and loops while the drawing is outside view. */
@media(prefers-reduced-motion:no-preference){
 .d5-js .d5:not(.d5-visible),.d5-js .d5:not(.d5-visible) *{animation-play-state:paused!important}
}

@media(prefers-reduced-motion:no-preference){
 .d5-js :is(.e6m,.e6s,.e6-flow):not(.viz-in-view) *{animation-play-state:paused!important}
}

/* Time-window truck travels wholly inside its own 400-unit drawing. */
.e6t[data-d5="time-window"]>svg{overflow:hidden}

/* Rail transfer: softly highlight the nearest stop without jumping the cargo. */
@media(prefers-reduced-motion:no-preference){
 .d5-play[data-d5="railfit"] .e6-row li>*,
 .d5-play[data-d5="railchain"] .e6-row li>*,
 .d5-play.e6c:has([style*="--rail-step"]) .e6-row li>*{animation:var(--rail-step) var(--rail-dur) linear both .3s}
}

/* Small service scenes also wait for their viewport. */
@media(prefers-reduced-motion:no-preference){.d5-tile:not(.viz-in-view),.d5-tile:not(.viz-in-view) *{animation-play-state:paused!important}}

/* Small service scenes also wait for their viewport. */
@media(prefers-reduced-motion:no-preference){.d5-tile:not(.viz-in-view),.d5-tile:not(.viz-in-view) *{animation-play-state:paused!important}}

/* Readable mobile variants for dense diagrams. */
.d5>svg.e6-production-mobile,.e6-mobile-labels,.e6-mobile-caption{display:none}
@media(max-width:640px){
 .d5[data-d5="production"]>svg:not(.e6-production-mobile){display:none}
 .d5[data-d5="production"]>.e6-production-mobile{display:block;width:100%;height:auto}
 .e6-mobile-text{font-size:calc(14px * var(--d5px,2));font-weight:600;fill:var(--ink,#fff);stroke:none!important}
 .d5[data-d5="contrast"] svg text{display:none}
 .e6-mobile-labels{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;margin-top:8px;font-size:16px;line-height:1.4;color:var(--ink,#fff)}
 .e6-mobile-caption{display:block;margin:14px 0 0;font-size:16px;line-height:1.5;color:var(--ink,#fff)}
 .d5[data-d5="customs"] .e6-tx--k{font-size:calc(14px * var(--d5px,3))}
 .d5[data-d5="airparcel"] :is(text.d5-tm,text.d5-k){font-size:calc(14px * var(--d5px,3))}
 .e6-wms svg text[style*="11px"]{display:none}
 .e6-wms .e6-row small{font-size:14px}
}

/* Let industry diagrams occupy their own height in mobile tab panels. */
@media(max-width:640px){
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz{flex:none!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:16px!important}
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5,
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.rg-viz__stack{position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-width:0!important;display:block}
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.rg-viz__stack{display:grid!important;grid-template-columns:1fr!important;gap:24px}
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz .d5{min-width:0!important;width:100%;height:auto}
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.d5>.d5-svg{width:100%!important;max-height:none!important;flex:none!important}
 :is(#specjalistyczne,[data-specialist-root]) .rg-time__viz--window{display:block!important}
 .d5[data-d5="production"]>svg:not(.e6-production-mobile){display:none!important}
}

@media(max-width:640px){
 :is(#specjalistyczne,[data-specialist-root]) .rs-photo--viz>.rg-viz__stack{grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important}
 :is(#specjalistyczne,[data-specialist-root]) .rg-viz__stack>.rg-time__viz{grid-row:auto!important;grid-column:1!important;min-width:0!important;width:100%!important}
 :is(#specjalistyczne,[data-specialist-root]) .rg-time__viz .e6-cap2{display:none}
}

@media(max-width:640px){
 .d5[data-d5="fmcg"] svg text.e6-tx{font-size:calc(14px * var(--d5px,3))}
 .d5[data-d5="fmcg"] svg .e6-tx--s,.d5[data-d5="fmcg"] svg rect.e6-own[y="316"]{display:none}
}

.d5>svg.e6-airparcel-mobile,.e6-airparcel-checks{display:none}
.d5[data-d5="customs"] .e6-tx--k{font-size:calc(14px * var(--d5px,2))}
@media(max-width:640px){
 .rg-viz>.d5{min-width:0!important;width:100%}
 .rg-viz:has(>.d5[data-d5="customs"]),.rg-viz:has(>.d5[data-d5="airparcel"]),.rg-viz:has(>.d5[data-d5="fmcg"]){overflow:visible}
 .d5[data-d5="customs"] .e6-tx--s{display:none}
 .d5[data-d5="customs"] .e6-tx--k{letter-spacing:0;text-anchor:middle;transform:translateX(68px)}
 .d5[data-d5="airparcel"]>svg:not(.e6-airparcel-mobile){display:none!important}
 .d5[data-d5="airparcel"]>svg.e6-airparcel-mobile{display:block;width:100%;height:auto}
 .e6-airparcel-checks{display:grid;gap:8px;margin:16px 0 0;padding-left:22px;font-size:16px;line-height:1.5;color:var(--ink,#fff)}
 .e6-airparcel-checks li::marker{color:var(--brand2,#e9333a)}
}

@media(max-width:640px){.rg-viz:has(>.d5){overflow:visible;height:auto;max-height:none}}

@media(max-width:640px){.d5[data-d5="cold"] svg text{display:none}}
