.weai-chat-launch{position:fixed;right:20px;bottom:20px;z-index:2147483000;border:1px solid #60a9ff;background:linear-gradient(135deg,#0d2b51,#126fe6);color:#fff;padding:13px 17px;font:800 11px Inter,sans-serif;letter-spacing:.08em;box-shadow:0 12px 38px #000b,0 0 25px #1679ff55;cursor:pointer}.weai-chat-launch i{display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#62e5b1;box-shadow:0 0 10px #62e5b1}.weai-chat{position:fixed;right:20px;bottom:76px;z-index:2147483000;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100vh - 110px));display:none;grid-template-rows:auto auto 1fr auto;background:#07101b;border:1px solid #5ca8ff66;box-shadow:0 25px 80px #000d;color:#edf6ff;font-family:Inter,sans-serif}.weai-chat.open{display:grid}.weai-chat header{display:flex;align-items:center;padding:15px 16px;background:#0a1a2c;border-bottom:1px solid #ffffff16}.weai-chat header b{font-size:13px}.weai-chat header small{display:block;color:#65ddb0;font-size:9px;margin-top:3px}.weai-chat-close{margin-left:auto;border:0;background:transparent;color:#9fb3ca;font-size:22px;cursor:pointer}.weai-chat-warning{padding:9px 14px;background:#d6aa4512;color:#b8a476;border-bottom:1px solid #d6aa4526;font-size:9px;line-height:1.45}.weai-chat-messages{overflow:auto;padding:14px;display:flex;flex-direction:column;gap:9px}.weai-chat-message{max-width:84%;padding:10px 12px;border-radius:3px;font-size:11px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.weai-chat-message.visitor{align-self:flex-end;background:#176ddb;color:white}.weai-chat-message.owner{align-self:flex-start;background:#10243a;border:1px solid #5ba7ff33}.weai-chat-empty{margin:auto;color:#63768d;text-align:center;font-size:11px;line-height:1.7}.weai-chat form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-top:1px solid #ffffff16}.weai-chat textarea{resize:none;min-height:44px;max-height:100px;background:#050b13;border:1px solid #ffffff20;color:white;padding:10px;font:11px Inter}.weai-chat form button{border:0;background:#287fef;color:white;padding:0 15px;font:800 10px Inter;cursor:pointer}.weai-chat-status{position:absolute;left:14px;bottom:67px;color:#7890aa;font-size:8px}@media(max-width:600px){.weai-chat-launch{right:12px;bottom:12px}.weai-chat{right:12px;bottom:67px;width:calc(100vw - 24px);height:min(72vh,560px)}}
/* Fixed-corner collision map: support launcher at the bottom, RSI player above it. */
@media(min-width:761px){
  /* Keep a visible gap above the 52px support launcher. */
  body .rsi-float:not(.full-window){right:18px;bottom:92px}
  body:has(.weai-chat.open) .rsi-float:not(.full-window){right:418px;bottom:20px}
}

@media(max-width:760px){
  .weai-chat-launch{right:12px;bottom:calc(12px + env(safe-area-inset-bottom))}
  .weai-chat{right:12px;bottom:calc(67px + env(safe-area-inset-bottom));width:calc(100vw - 24px);height:min(72dvh,560px)}
  body .rsi-float:not(.full-window){right:12px;bottom:calc(67px + env(safe-area-inset-bottom))}
  body:has(.weai-chat.open) .rsi-float:not(.full-window){opacity:0;visibility:hidden;pointer-events:none}
}
/* HUB readability and responsive navigation. */
body:has(.nav [data-view="overview"]) .account small,
body:has(.nav [data-view="overview"]) .top small,
body:has(.nav [data-view="overview"]) .online,
body:has(.nav [data-view="overview"]) .kpis small,
body:has(.nav [data-view="overview"]) .kpis span,
body:has(.nav [data-view="overview"]) .action small,
body:has(.nav [data-view="overview"]) .indicator p,
body:has(.nav [data-view="overview"]) .downloads span,
body:has(.nav [data-view="overview"]) .note{font-size:11px;line-height:1.5}
body:has(.nav [data-view="overview"]) .account b,
body:has(.nav [data-view="overview"]) .nav button,
body:has(.nav [data-view="overview"]) .back,
body:has(.nav [data-view="overview"]) .launch,
body:has(.nav [data-view="overview"]) .title,
body:has(.nav [data-view="overview"]) .button{font-size:12px}
body:has(.nav [data-view="overview"]) .welcome p{font-size:14px;line-height:1.55}
body:has(.nav [data-view="overview"]) .action b{font-size:14px}
body:has(.nav [data-view="overview"]) .alerts label,
body:has(.nav [data-view="overview"]) .billing-row{font-size:12px}
body:has(.nav [data-view="overview"]) .indicator h3,
body:has(.nav [data-view="overview"]) .downloads b{font-size:15px}
body:has(.nav [data-view="overview"]) .indicator a{font-size:11px}
body:has(.nav [data-view="overview"]) .nav button{min-height:44px}
body:has(.nav [data-view="overview"]) .launch,
body:has(.nav [data-view="overview"]) .button,
body:has(.nav [data-view="overview"]) .indicator a{min-height:42px;display:inline-flex;align-items:center}
body:has(.nav [data-view="overview"]) .action{min-height:92px}
@media(max-width:850px){
  body:has(.nav [data-view="overview"]) .shell{display:block}
  body:has(.nav [data-view="overview"]) .side{display:block;padding:14px 12px}
  body:has(.nav [data-view="overview"]) .account{margin:14px 0 10px}
  body:has(.nav [data-view="overview"]) .nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}
  body:has(.nav [data-view="overview"]) .nav button{flex:0 0 auto;padding:10px 13px}
  body:has(.nav [data-view="overview"]) .back{display:inline-block;margin-top:8px}
  body:has(.nav [data-view="overview"]) .top{height:auto;min-height:72px;padding:14px 16px}
  body:has(.nav [data-view="overview"]) .view{padding:16px}
  body:has(.nav [data-view="overview"]) .welcome h2{font-size:26px}
  body:has(.nav [data-view="overview"]) .online{max-width:42%;text-align:right}
}
@media(max-width:500px){
  body:has(.nav [data-view="overview"]) .view{padding:12px}
  body:has(.nav [data-view="overview"]) .top{align-items:flex-start}
  body:has(.nav [data-view="overview"]) .top h1{font-size:20px}
  body:has(.nav [data-view="overview"]) .online{font-size:10px}
  body:has(.nav [data-view="overview"]) .card,
  body:has(.nav [data-view="overview"]) .kpis article{padding:15px}
}

/* R38 general-site readability: support launcher and conversation window. */
.weai-chat-launch{min-width:190px;min-height:48px;padding:14px 20px;font-size:13px;line-height:1.2}
.weai-chat-launch i{width:9px;height:9px;margin-right:9px}
.weai-chat{width:min(420px,calc(100vw - 24px));height:min(620px,calc(100vh - 110px))}
.weai-chat header{padding:17px 18px}
.weai-chat header b{font-size:16px;line-height:1.25}
.weai-chat header small{font-size:12px;line-height:1.4;margin-top:4px}
.weai-chat-warning{padding:11px 16px;font-size:12px;line-height:1.5}
.weai-chat-messages{padding:16px;gap:11px}
.weai-chat-message{padding:12px 14px;font-size:14px;line-height:1.55}
.weai-chat-empty{font-size:13px;line-height:1.65}
.weai-chat form{gap:10px;padding:14px}
.weai-chat textarea{min-height:50px;padding:12px;font-size:14px;line-height:1.45}
.weai-chat form button{min-width:72px;padding:0 17px;font-size:13px}
.weai-chat-status{left:16px;bottom:76px;font-size:11px}
@media(max-width:600px){.weai-chat-launch{min-width:174px;min-height:46px;padding:13px 16px;font-size:12px}.weai-chat{height:min(78dvh,620px)}.weai-chat-message,.weai-chat textarea{font-size:13.5px}}
/* R38 standard web readability: body/input copy is 16px, controls remain clearly legible. */
.weai-chat-launch{min-width:210px;min-height:52px;font-size:15px!important}
.weai-chat{width:min(440px,calc(100vw - 24px))}
.weai-chat header b{font-size:18px!important}.weai-chat header small{font-size:14px!important}
.weai-chat-warning{font-size:14px!important}.weai-chat-message{font-size:16px!important}
.weai-chat-empty{font-size:15px!important}.weai-chat textarea{font-size:16px!important}
.weai-chat form button{font-size:15px!important}.weai-chat-status{font-size:13px!important}
@media(max-width:600px){.weai-chat-launch{min-width:190px;font-size:14px!important}.weai-chat-message,.weai-chat textarea{font-size:16px!important}}
/* Keep the connection state inside its own grid row above the message form. */
.weai-chat{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}
.weai-chat-status{position:static!important;display:block;min-height:25px;padding:5px 16px 2px;align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:600px){.weai-chat-status{min-height:24px;padding:4px 14px 2px}}
