/* WEQEX v20.4 / independent AI orchestration scene. Overrides legacy by unique w24-* names. */
body.weqex-v20-ui .w24-ai {
  --a24-cyan:#58dfff;--a24-blue:#5788ff;--a24-text:#f4f8ff;--a24-muted:#a8b9d4;
  position:relative;isolation:isolate;box-sizing:border-box;display:block;
  width:min(calc(100% - 40px),1320px)!important;max-width:1320px!important;
  height:auto!important;min-height:0!important;margin:52px auto 0!important;
  padding:clamp(26px,4.4vw,65px)!important;overflow:hidden!important;
  color:var(--a24-text);border:1px solid rgba(144,183,245,.18);
  border-radius:30px;background:radial-gradient(ellipse at 74% 27%,rgba(35,91,180,.24),transparent 52%),linear-gradient(130deg,#0c1426,#101d37 70%,#111f39);
  box-shadow:0 30px 90px rgba(5,19,45,.19);transform:none!important;scroll-margin-top:105px;
}
body.weqex-v20-ui .w24-ai::before {content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;
  background-image:linear-gradient(rgba(116,161,222,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(116,161,222,.14) 1px,transparent 1px);
  background-size:56px 56px;mask-image:linear-gradient(to bottom,black,transparent 70%)}
body.weqex-v20-ui .w24-ai::after {content:none!important}
body.weqex-v20-ui .w24-ai *,body.weqex-v20-ui .w24-ai *::before,body.weqex-v20-ui .w24-ai *::after {box-sizing:border-box;min-width:0}
body.weqex-v20-ui .w24-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:35px;position:relative;z-index:1;margin:0 0 35px}
body.weqex-v20-ui .w24-heading-copy {max-width:770px}
body.weqex-v20-ui .w24-kicker {display:flex;align-items:center;gap:10px;margin:0 0 20px;color:#8fc9fa;font-size:10px;letter-spacing:.13em;font-weight:800}
body.weqex-v20-ui .w24-kicker i {flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:#58e6c3;box-shadow:0 0 17px rgba(75,252,194,.55)}
body.weqex-v20-ui .w24-kicker span {color:#7388aa;font-size:9px;border-left:1px solid rgba(140,172,215,.27);padding-left:10px}
body.weqex-v20-ui .w24-heading h2 {font-size:clamp(36px,4.6vw,65px)!important;line-height:1.05!important;letter-spacing:-.06em!important;color:#fff!important;margin:0 0 18px!important;font-weight:800!important}
body.weqex-v20-ui .w24-heading h2 em {font-style:normal;color:#7dd5ff;background:linear-gradient(92deg,#75dfff,#6f9dff 70%,#9a8fff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
body.weqex-v20-ui .w24-heading-copy>p:last-child {max-width:660px;margin:0;color:#b6c5dc;font-size:clamp(14px,1.4vw,16px);line-height:1.7}
body.weqex-v20-ui .w24-heading-aside {flex:0 0 185px;border-left:1px solid rgba(119,163,230,.3);padding-left:19px;font:700 10px/1.5 ui-monospace,monospace;letter-spacing:.06em;color:#77d1ff}
body.weqex-v20-ui .w24-heading-aside small {display:block;margin-top:8px;max-width:150px;color:#8fa4bf;font:500 12px/1.5 inherit;letter-spacing:0}
body.weqex-v20-ui .w24-aside-dot {display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px;background:#72e6d3;box-shadow:0 0 12px #39dfc0}
body.weqex-v20-ui .w24-scene {position:relative;height:480px;isolation:isolate;border-radius:19px;overflow:hidden;border:1px solid rgba(111,158,228,.23);
 background:radial-gradient(circle at 50% 48%,rgba(36,84,175,.26),transparent 33%),radial-gradient(circle at 52% 50%,rgba(54,180,238,.06),transparent 61%),rgba(4,12,27,.72)}
body.weqex-v20-ui .w24-scene::before {content:"";position:absolute;inset:0;pointer-events:none;opacity:.45;background-image:radial-gradient(rgba(110,166,236,.4) .65px,transparent .65px);background-size:19px 19px;mask-image:radial-gradient(circle at 50% 52%,black,transparent 74%)}
body.weqex-v20-ui .w24-scene::after {content:"";position:absolute;z-index:0;left:50%;top:48%;width:410px;height:410px;border:1px solid rgba(105,163,255,.095);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
body.weqex-v20-ui .w24-scene-header {position:absolute;z-index:3;inset:18px 23px auto;display:flex;justify-content:space-between;gap:15px;align-items:center;color:#7796c0;font:700 10px/1.4 ui-monospace,monospace;letter-spacing:.1em}
body.weqex-v20-ui .w24-scene-header b {display:inline-block;height:6px;width:6px;border-radius:50%;margin-right:7px;background:#65e6d3}
body.weqex-v20-ui .w24-scene-status {color:#88a6cc}
body.weqex-v20-ui .w24-scene-status i {display:inline-block;width:5px;height:5px;border-radius:50%;vertical-align:middle;margin-right:5px;background:#78e4b9;box-shadow:0 0 9px #78e4b9}
body.weqex-v20-ui .w24-connections {position:absolute;inset:38px 0 38px;width:100%;height:calc(100% - 76px);z-index:1;overflow:visible;pointer-events:none}
body.weqex-v20-ui .w24-data-path {fill:none;stroke:url(#w24-line-grad);stroke-width:1.5;stroke-dasharray:4 7;opacity:.59;animation:w24-stream 12s linear infinite}
body.weqex-v20-ui .w24-data-path.is-active {stroke-width:2;stroke-dasharray:3 6;opacity:1;filter:drop-shadow(0 0 5px rgba(74,202,255,.65))}
body.weqex-v20-ui .w24-orbit {position:absolute;z-index:0;left:50%;top:48%;border:1px solid rgba(91,149,232,.24);pointer-events:none;border-radius:50%}
body.weqex-v20-ui .w24-orbit-a {width:302px;height:302px;transform:translate(-50%,-50%) rotate(22deg);border-top-color:rgba(86,218,255,.7);border-right-color:rgba(129,146,255,.43);animation:w24-spin 28s linear infinite}
body.weqex-v20-ui .w24-orbit-b {width:262px;height:262px;transform:translate(-50%,-50%) rotate(-25deg);border-bottom-color:rgba(68,206,255,.5);border-left-color:rgba(129,146,255,.43);animation:w24-spin-reverse 19s linear infinite}
body.weqex-v20-ui .w24-hub {position:absolute;left:50%;top:48%;z-index:2;transform:translate(-50%,-50%);width:213px;height:213px;border-radius:50%;padding:10px;
 background:linear-gradient(135deg,rgba(55,218,255,.36),rgba(86,117,255,.27),rgba(55,218,255,.15));box-shadow:0 0 60px rgba(58,118,252,.22),0 18px 55px rgba(0,0,0,.32);border:1px solid rgba(111,188,255,.43)}
body.weqex-v20-ui .w24-hub-inner {position:relative;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
 background:radial-gradient(circle at 50% 26%,#223d71,#0a142d 68%);border:1px solid rgba(117,186,254,.36)}
body.weqex-v20-ui .w24-hub-inner img {width:70px;height:70px;object-fit:contain;display:block;filter:drop-shadow(0 0 15px rgba(78,197,255,.25));margin:0 auto 1px}
body.weqex-v20-ui .w24-hub-inner b {font-size:16px;letter-spacing:.06em;color:#f6fbff;line-height:1.3}
body.weqex-v20-ui .w24-hub-inner small {font:700 8px/1.4 ui-monospace,monospace;letter-spacing:.16em;color:#8fb8e3;margin-top:4px}
body.weqex-v20-ui .w24-node {position:absolute;z-index:2;width:clamp(133px,16.5%,194px);min-height:58px;display:flex;align-items:center;gap:9px;padding:10px 12px;
 border-radius:11px;border:1px solid rgba(104,156,227,.29);background:linear-gradient(115deg,rgba(34,55,92,.96),rgba(18,33,62,.96));color:#eaf4ff;
 box-shadow:0 10px 30px rgba(0,0,0,.13);transition:border-color .3s,background .3s,box-shadow .3s,transform .3s}
body.weqex-v20-ui .w24-node.is-active {border-color:rgba(93,221,255,.73);background:linear-gradient(115deg,#264b7c,#1b3a6b);box-shadow:0 0 28px rgba(57,134,255,.19)}
body.weqex-v20-ui .w24-node-indicator {width:7px;height:7px;flex:0 0 7px;background:#699df7;border:1px solid #99ccff;border-radius:2px;transform:rotate(45deg)}
body.weqex-v20-ui .w24-node.is-active .w24-node-indicator {background:#5ff1de;box-shadow:0 0 11px rgba(88,255,228,.7)}
body.weqex-v20-ui .w24-node strong {display:block;color:#fff;font-size:11px;letter-spacing:.06em;font-weight:800;white-space:nowrap}
body.weqex-v20-ui .w24-node small {display:block;color:#99b1ce;font-size:10px;line-height:1.4;white-space:nowrap;margin-top:3px}
body.weqex-v20-ui .w24-node-web {left:7.2%;top:18%}
body.weqex-v20-ui .w24-node-crm {left:7.2%;top:45%}
body.weqex-v20-ui .w24-node-knowledge {left:7.2%;top:72%}
body.weqex-v20-ui .w24-node-telegram {right:7.2%;top:18%}
body.weqex-v20-ui .w24-node-api {right:7.2%;top:45%}
body.weqex-v20-ui .w24-node-voice {right:7.2%;top:72%}
body.weqex-v20-ui .w24-scene-bottom {position:absolute;z-index:3;left:20px;right:20px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:14px;color:#8cb0d7;font:700 9px/1.2 ui-monospace,monospace;letter-spacing:.08em}
body.weqex-v20-ui .w24-scene-bottom i {height:1px;width:48px;background:linear-gradient(90deg,#4c80b8,transparent)}
body.weqex-v20-ui .w24-capabilities {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:14px}
body.weqex-v20-ui .w24-capability {position:relative;display:flex;flex-direction:column;min-height:178px;padding:20px;border:1px solid rgba(120,163,228,.22);border-radius:15px;
 background:linear-gradient(160deg,rgba(39,58,96,.72),rgba(20,37,70,.88));transition:transform .2s,border-color .2s,background .2s;transform:none!important;animation:none!important}
body.weqex-v20-ui .w24-capability:hover {border-color:rgba(115,187,250,.62);transform:translateY(-3px)!important}
body.weqex-v20-ui .w24-capability-top {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
body.weqex-v20-ui .w24-icon {width:37px;height:37px;border-radius:9px;display:grid;place-items:center;color:#78d4ff;background:rgba(73,140,242,.13);border:1px solid rgba(124,175,255,.23)}
body.weqex-v20-ui .w24-icon svg {width:20px;height:20px}
body.weqex-v20-ui .w24-capability-tag {font:750 9px/1.2 ui-monospace,monospace;color:#809abf;letter-spacing:.07em}
body.weqex-v20-ui .w24-capability h3 {margin:0 0 8px;color:#fff!important;font-size:clamp(17px,1.8vw,21px);font-weight:750;line-height:1.2;letter-spacing:-.025em}
body.weqex-v20-ui .w24-capability p {margin:0;color:#b0c2dc!important;font-size:12px;line-height:1.6}
body.weqex-v20-ui .w24-footer {display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:23px}
body.weqex-v20-ui .w24-footer p {color:#a9bcd7;font-size:12px;margin:0;line-height:1.6}
body.weqex-v20-ui .w24-footer a {display:inline-flex;justify-content:center;align-items:center;text-decoration:none!important;color:#0f2441!important;background:linear-gradient(110deg,#b0f1ff,#8db5ff);border:0;border-radius:10px;padding:13px 18px;font-size:13px;font-weight:800;white-space:nowrap;transition:filter .2s}
body.weqex-v20-ui .w24-footer a:hover {filter:brightness(1.1)}
@keyframes w24-stream {to{stroke-dashoffset:-220}}
@keyframes w24-spin {from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes w24-spin-reverse {from{transform:translate(-50%,-50%) rotate(360deg)}to{transform:translate(-50%,-50%) rotate(0deg)}}
@media(max-width:1060px) {body.weqex-v20-ui .w24-heading-aside {display:none}body.weqex-v20-ui .w24-scene {height:435px}body.weqex-v20-ui .w24-node {width:clamp(120px,19%,170px)}body.weqex-v20-ui .w24-node-web,body.weqex-v20-ui .w24-node-crm,body.weqex-v20-ui .w24-node-knowledge {left:3%}body.weqex-v20-ui .w24-node-telegram,body.weqex-v20-ui .w24-node-api,body.weqex-v20-ui .w24-node-voice {right:3%}body.weqex-v20-ui .w24-capabilities {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 body.weqex-v20-ui .w24-ai {width:calc(100% - 28px)!important;padding:24px 16px!important;margin-top:26px!important;border-radius:22px}
 body.weqex-v20-ui .w24-heading {margin-bottom:25px}
 body.weqex-v20-ui .w24-kicker {font-size:9px;flex-wrap:wrap}
 body.weqex-v20-ui .w24-kicker span {display:none}
 body.weqex-v20-ui .w24-heading h2 {font-size:clamp(36px,9vw,50px)!important}
 body.weqex-v20-ui .w24-heading-copy>p:last-child {font-size:13px;line-height:1.65}
 body.weqex-v20-ui .w24-scene {height:auto;padding:42px 13px 18px;display:flex;flex-direction:column;align-items:center;gap:12px}
 body.weqex-v20-ui .w24-scene-header {inset:15px 14px auto;font-size:8px}
 body.weqex-v20-ui .w24-scene-status {display:none}
 body.weqex-v20-ui .w24-connections {display:none}
 body.weqex-v20-ui .w24-scene::after {top:155px;width:260px;height:260px}
 body.weqex-v20-ui .w24-orbit {top:158px}
 body.weqex-v20-ui .w24-orbit-a {width:238px;height:238px}
 body.weqex-v20-ui .w24-orbit-b {width:212px;height:212px}
 body.weqex-v20-ui .w24-hub {position:relative;left:auto;top:auto;transform:none;width:190px;height:190px;margin:20px 0 18px;flex:0 0 auto}
 body.weqex-v20-ui .w24-nodes {position:relative;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
 body.weqex-v20-ui .w24-node {position:relative!important;inset:auto!important;width:auto!important;min-height:51px;padding:9px 8px;gap:7px}
 body.weqex-v20-ui .w24-node strong {font-size:10px}
 body.weqex-v20-ui .w24-node small {font-size:9px;white-space:normal}
 body.weqex-v20-ui .w24-node-indicator {width:5px;height:5px;flex-basis:5px}
 body.weqex-v20-ui .w24-scene-bottom {position:relative;inset:auto;gap:7px;flex-wrap:wrap;font-size:8px;margin-top:7px}
 body.weqex-v20-ui .w24-scene-bottom i {width:14px}
 body.weqex-v20-ui .w24-capabilities {grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
 body.weqex-v20-ui .w24-capability {min-height:0;padding:14px 12px;border-radius:11px}
 body.weqex-v20-ui .w24-capability-top {margin-bottom:12px}
 body.weqex-v20-ui .w24-capability-tag {display:none}
 body.weqex-v20-ui .w24-icon {height:31px;width:31px}
 body.weqex-v20-ui .w24-icon svg {width:17px;height:17px}
 body.weqex-v20-ui .w24-capability h3 {font-size:16px}
 body.weqex-v20-ui .w24-capability p {font-size:11px}
 body.weqex-v20-ui .w24-footer {flex-direction:column;align-items:stretch;gap:14px;margin-top:20px}
 body.weqex-v20-ui .w24-footer a {width:100%}
}
@media(max-width:380px){body.weqex-v20-ui .w24-node small {font-size:8px}body.weqex-v20-ui .w24-capabilities{grid-template-columns:1fr}body.weqex-v20-ui .w24-capability {min-height:0}}
@media(prefers-reduced-motion:reduce){body.weqex-v20-ui .w24-ai .w24-orbit,body.weqex-v20-ui .w24-ai .w24-data-path {animation:none!important}body.weqex-v20-ui .w24-capability {transition:none!important}}
