/* deep-strike — віджети v4 (чернетка) */
/* спільна оболонка віджетів v4: рамка-видошукач, шапка з режимом, прогрес, таби, підпис */
.w4{margin:26px 0 30px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--card);position:relative;overflow:hidden;color:var(--fg);max-width:100%}
.w4 *{box-sizing:border-box}
.w4-brk i{position:absolute;width:16px;height:16px;border:2px solid var(--olive);opacity:.8;pointer-events:none;z-index:2}
.w4-brk i:nth-child(1){left:8px;top:8px;border-width:2px 0 0 2px}
.w4-brk i:nth-child(2){right:8px;top:8px;border-width:2px 2px 0 0}
.w4-brk i:nth-child(3){right:8px;bottom:8px;border-width:0 2px 2px 0}
.w4-brk i:nth-child(4){left:8px;bottom:8px;border-width:0 0 2px 2px}
.w4-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 20px;border-bottom:1px solid var(--line);font:500 12px/1.4 var(--f-m);color:var(--dim)}
.w4-top b{color:var(--olive-b);font-weight:500}
.w4-pg{height:2px;background:var(--line)}
.w4-pg i{display:block;height:100%;width:var(--p,0%);background:var(--gc,var(--olive-b))}
.w4-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:12px 20px 0}
.w4-tabs button{font:500 13px var(--f-b);color:var(--dim);background:var(--card-2);border:1px solid var(--line-2);border-radius:20px;padding:5px 13px;cursor:pointer;transition:border-color .2s,background .2s,color .2s}
.w4-tabs button:hover{border-color:var(--olive);color:var(--fg)}
.w4-tabs button[aria-selected="true"]{background:var(--olive-a);border-color:var(--olive-b);color:var(--fg)}
.w4 button:focus-visible{outline:2px solid var(--olive);outline-offset:2px}
.w4-stage{padding:18px 20px 8px;min-height:320px;position:relative}
.w4-cap{padding:0 20px 6px;font:13px/1.5 var(--f-m);color:var(--dim)}
.w4-note{padding:10px 20px 16px;font:12.5px/1.55 var(--f-m);color:var(--dim);border-top:1px dashed var(--line);margin-top:8px}
.w4-num{font-variant-numeric:tabular-nums;white-space:nowrap}
.w4.rm *{transition:none!important;animation:none!important}
@media (max-width:760px){.w4-top,.w4-tabs,.w4-cap,.w4-note{padding-left:14px;padding-right:14px}.w4-stage{padding:16px 14px 6px}}

.w4 [hidden]{display:none!important}
.ds4 .mode-ind{color:var(--dim)}
.ds4-wk{padding-top:8px}
.ds4-wk button{font-size:12.5px;padding:4px 11px}
.ds4-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:8px 22px;padding:10px 20px 0;align-items:start}
.ds4-rad{position:relative;max-width:560px;width:100%;margin:0 auto}
.ds4-rad svg{width:100%;height:auto;display:block;overflow:visible}
.ds4 .band{fill:none;stroke:var(--olive);opacity:.1}
.ds4 .ring{fill:none;stroke:var(--line-2);stroke-width:1}
.ds4 .ring.dsh{stroke:var(--olive-b);stroke-dasharray:4 5;stroke-width:1.2}
.ds4 .bez{fill:none;stroke:var(--line-2);stroke-width:1}
.ds4 .tk{stroke:var(--line-2);stroke-width:1}
.ds4 .tk.mj{stroke:var(--olive);stroke-width:1.6}
.ds4 .tl{font:500 15px var(--f-m);fill:var(--dim)}
.ds4 .rl2{font:500 15px var(--f-m);fill:var(--dim);paint-order:stroke;stroke:var(--card);stroke-width:4px}
.ds4 .rt{font:600 17px var(--f-m);fill:var(--fg);paint-order:stroke;stroke:var(--card);stroke-width:5px}
.ds4 .rl{stroke:var(--olive-b);stroke-width:1.6;stroke-dasharray:var(--l);stroke-dashoffset:var(--l);transition:stroke-dashoffset 1.6s var(--ease) .4s}
.ds4 .rg.on .rl{stroke-dashoffset:0}
.ds4 .rm4{fill:var(--signal)}
.ds4 .rg .rt,.ds4 .rg .rm4{opacity:0;transition:opacity .5s 1.6s}
.ds4 .rg.on .rt,.ds4 .rg.on .rm4{opacity:1}
.ds4 .hand{transform-origin:260px 260px;transform-box:view-box}
.ds4 .hl{stroke:var(--olive-b);stroke-width:2}
.ds4 .wedge{fill:var(--olive-b);opacity:.18}
.ds4 .rc{fill:var(--olive-b)}
.ds4 .rb{fill:none;stroke:var(--olive);stroke-width:2}
.ds4 .dt{cursor:pointer;outline:none}
.ds4 .dt .hit{fill:transparent}
.ds4 .dt .pt{fill:var(--c,var(--dim));stroke:var(--card);stroke-width:2;opacity:.2;transition:opacity .45s var(--dl,0s),r .3s}
.ds4 .dt.past .pt{opacity:.55}
.ds4 .dt.on .pt{opacity:1}
.ds4 .dt.sel .pt{r:9;stroke:var(--fg)}
.ds4 .dt:focus-visible .pt{stroke:var(--fg);r:9}
.tc{--c:var(--dim)}
.tc.npz{--c:var(--olive-b)}.tc.chem{--c:var(--blue)}.tc.gpz{--c:var(--signal)}.tc.port{--c:#c06bb5}.tc.depot{--c:#e0836b}.tc.navy{--c:#7d8ba5}.tc.mbz{--c:#a8886c}.tc.oth{--c:var(--dim)}
.dt.npz{--c:var(--olive-b)}.dt.chem{--c:var(--blue)}.dt.gpz{--c:var(--signal)}.dt.port{--c:#c06bb5}.dt.depot{--c:#e0836b}.dt.navy{--c:#7d8ba5}.dt.mbz{--c:#a8886c}.dt.oth{--c:var(--dim)}
i.tc{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--c);margin-right:6px;flex:none}
.ds4-side{min-width:0}
.ds4-h{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:10px}
.ds4-wl{font:600 22px var(--f-d);color:var(--olive-b)}
.ds4-ws{font:12.5px var(--f-m);color:var(--dim)}
.ds4-n{font:600 clamp(40px,6vw,60px)/1 var(--f-d);color:var(--fg)}
.ds4-list{list-style:none;margin:0;padding:0;max-height:430px;overflow:auto;display:grid;gap:6px;scrollbar-width:thin}
.ds4-it{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;background:var(--card-2);border:1px solid var(--line);border-radius:6px;padding:8px 10px;cursor:pointer;animation:rise .5s var(--ease) both}
.ds4-it:nth-child(2){animation-delay:.05s}.ds4-it:nth-child(3){animation-delay:.1s}.ds4-it:nth-child(4){animation-delay:.15s}.ds4-it:nth-child(n+5){animation-delay:.2s}
.ds4-it.act{border-color:var(--olive-b);background:var(--olive-a)}
.ds4-d{font:600 13px var(--f-m);color:var(--fg)}
.ds4-t{font:12px var(--f-m);color:var(--dim);display:inline-flex;align-items:center}
.ds4-it p{grid-column:1/-1;margin:0;font:13px/1.45 var(--f-b);color:var(--dim);max-width:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ds4-it.act p{-webkit-line-clamp:unset;color:var(--fg)}
.ds4-lg{display:flex;flex-wrap:wrap;gap:6px 16px;padding:12px 20px 0;font:12.5px var(--f-m);color:var(--dim)}
.ds4-lg span{display:inline-flex;align-items:center}
@media (max-width:860px){.ds4-body{grid-template-columns:minmax(0,1fr);padding:10px 14px 0}.ds4-lg{padding:12px 14px 0}.ds4 .tl,.ds4 .rl2{font-size:19px}.ds4 .rt{font-size:20px}.ds4-list{max-height:360px}}

