/* V20.4 Floating Ask — adapted to real Next.js Web layout, no global overrides. */

.zl-ask-floating-root{position:fixed;inset:0;z-index:1000;pointer-events:none;}
.zl-ask-floating-root[hidden],.zl-ask-popover[hidden]{display:none!important}
.zl-ask-fab{position:fixed;right:19px;bottom:92px;display:flex;align-items:center;justify-content:center;width:55px;height:55px;pointer-events:auto;border:1px solid #18191B;border-radius:50%;background:#D8FE43;box-shadow:0 8px 25px rgba(24,25,27,.24);transition:transform .15s,box-shadow .15s;}
.zl-ask-fab:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(24,25,27,.27)}
.zl-ask-fab:active{transform:scale(.96)}
.zl-ask-fab img{display:block;width:29px;height:29px;object-fit:contain}
.zl-ask-popover{position:fixed;right:12px;bottom:158px;width:min(390px,calc(100% - 24px));height:min(510px,calc(100% - 212px));min-height:260px;pointer-events:auto;background:#fff;border:1px solid #DDDFE1;border-radius:22px;box-shadow:0 18px 55px rgba(24,25,27,.22);display:flex;flex-direction:column;overflow:hidden;color:#18191B}
.zl-ask-popover-header{display:flex;align-items:center;gap:10px;padding:13px 14px;border-bottom:1px solid #EDEDED;flex:0 0 auto}
.zl-ask-popover-brand{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:#D8FE43;flex:0 0 auto}
.zl-ask-popover-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.zl-ask-popover-title strong{font-size:14px;line-height:1.3}
.zl-ask-popover-title small{color:#73777D;font-size:11px}
.zl-ask-popover-close{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#F5F5F5;font-size:24px;font-weight:300;line-height:1;color:#18191B}
.zl-ask-popover-body{flex:1;min-height:0;padding:16px 14px;overflow:auto;display:flex;flex-direction:column;gap:12px}
.zl-ask-popover-starter{font-size:13px;line-height:1.6;color:#44484C;max-width:260px}
.zl-ask-popover-thread{display:flex;flex-direction:column;gap:9px}
.zl-ask-popover-bubble{max-width:88%;padding:10px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.5;border-radius:15px}
.zl-ask-popover-bubble.user{background:#18191B;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.zl-ask-popover-bubble.system{background:#F4F4F4;color:#18191B;align-self:flex-start;border-bottom-left-radius:4px}
.zl-ask-popover-suggestions{display:flex;flex-wrap:wrap;gap:7px}
.zl-ask-popover-suggestions button{border:1px solid #DFE0E1;background:#F7F7F7;color:#18191B;border-radius:99px;padding:9px 11px;font-size:11px;text-align:left}
.zl-ask-popover-bottom{border-top:1px solid #EEE;padding:10px 12px 12px;flex:0 0 auto;background:white}
.zl-ask-popover-compose{display:flex;align-items:flex-end;gap:8px;border:1px solid #DBDDE0;border-radius:15px;padding:6px 7px 6px 12px;min-height:51px;background:#fff}
.zl-ask-popover-compose:focus-within{border-color:#18191B;box-shadow:0 0 0 2px rgba(24,25,27,.07)}
#zlAskFloatingInput{width:100%;flex:1;min-width:0;min-height:34px;max-height:104px;height:34px;resize:none;display:block;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;font:400 16px/1.4 inherit;padding:6px 0;margin:0;color:#18191B}
#zlAskFloatingInput::placeholder{color:#92959A}
#zlAskFloatingSend{flex:0 0 38px;height:38px;display:grid;place-items:center;background:#D8FE43;color:#18191B;border-radius:11px}
#zlAskFloatingSend:disabled{background:#F1F1F1;color:#A5A5A5}
.zl-ask-popover-bottomline{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:7px 2px 0;color:#777C80;font-size:10px;line-height:1.35}
#zlAskFloatingClear{color:#18191B;text-decoration:underline;flex:0 0 auto}
.zl-ask-fab:focus-visible,.zl-ask-popover button:focus-visible{outline:2px solid #18191B;outline-offset:3px}
@media(max-width:390px){.zl-ask-fab{right:13px;bottom:89px;width:52px;height:52px}.zl-ask-popover{right:8px;bottom:148px;width:calc(100% - 16px)}}
@media(max-height:620px){.zl-ask-popover{bottom:85px;height:calc(100% - 160px);min-height:160px}.zl-ask-fab{bottom:22px}}
#appShell.zl-keyboard-open .zl-ask-fab{display:none}
#appShell.zl-keyboard-open .zl-ask-popover{bottom:12px;height:min(510px,calc(100% - 70px))}

.zl-ask-popover{display:flex;flex-direction:column;max-height:calc(100dvh - 100px)}
.zl-ask-floating-root *{box-sizing:border-box}
.zl-ask-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:640px){.zl-ask-fab{bottom:86px}.zl-ask-popover{bottom:149px;max-height:calc(100dvh - 165px)}}


/* Floating Ask V20.4 visual polish #2 — scoped; do not change the global app UI. */
.zl-ask-floating-root{--zl-ask-edge:max(18px,calc((100vw - 1360px)/2 - 16px));font-family:inherit}
.zl-ask-floating-root button{appearance:none;-webkit-appearance:none;font-family:inherit;cursor:pointer;box-shadow:none;line-height:normal}
.zl-ask-floating-root button:disabled{cursor:not-allowed}
.zl-ask-floating-root .zl-ask-fab{
  right:var(--zl-ask-edge);bottom:28px;width:58px;height:58px;
  padding:0;border:1px solid #303238;background:#18191b;border-radius:50%;
  box-shadow:0 10px 28px rgba(0,0,0,.20);z-index:2;
}
.zl-ask-floating-root .zl-ask-fab img{width:38px;height:38px;object-fit:contain}
.zl-ask-floating-root .zl-ask-fab:hover{box-shadow:0 12px 34px rgba(0,0,0,.26)}
.zl-ask-floating-root .zl-ask-fab[aria-expanded="true"]{visibility:hidden;opacity:0;pointer-events:none}
.zl-ask-floating-root .zl-ask-popover{
  right:var(--zl-ask-edge);bottom:28px;
  width:min(390px,calc(100vw - 36px));height:min(530px,calc(100dvh - 70px));
  max-height:calc(100dvh - 56px);min-height:220px;
  border:1px solid #e3e5e8;border-radius:20px;
  box-shadow:0 20px 65px rgba(12,17,25,.18);
}
.zl-ask-floating-root .zl-ask-popover-header{padding:13px 16px;gap:12px}
.zl-ask-floating-root .zl-ask-popover-brand{
  width:39px;height:39px;border-radius:12px;background:#18191b;overflow:hidden;
}
.zl-ask-floating-root .zl-ask-popover-brand img{width:29px;height:29px;display:block;object-fit:contain}
.zl-ask-floating-root .zl-ask-popover-title strong{font-size:14px;font-weight:700}
.zl-ask-floating-root .zl-ask-popover-title small{font-size:12px}
.zl-ask-floating-root .zl-ask-popover-close{
  width:34px;height:34px;min-width:34px;min-height:34px;padding:0;
  border:1px solid #e7e9ed;border-radius:10px;background:#f6f7f8;
  color:#30343a;font-size:24px;font-weight:400;line-height:1;
}
.zl-ask-floating-root .zl-ask-popover-close:hover{background:#e9edf0}
.zl-ask-floating-root .zl-ask-popover-body{padding:18px 16px;gap:14px}
.zl-ask-floating-root .zl-ask-popover-starter{max-width:none;font-size:13px;line-height:1.55}
.zl-ask-floating-root .zl-ask-popover-suggestions{gap:8px}
.zl-ask-floating-root .zl-ask-popover-suggestions button{
  display:inline-flex;align-items:center;justify-content:center;min-height:37px;
  padding:9px 13px;border:1px solid #dfe3e7;border-radius:12px;
  background:#f7f8fa;color:#24282c;font-size:12px;font-weight:500;
  text-align:center;white-space:normal;
}
.zl-ask-floating-root .zl-ask-popover-suggestions button:hover{background:#edf0f3;border-color:#c9cfd5}
.zl-ask-floating-root .zl-ask-popover-bottom{padding:11px 14px 12px}
.zl-ask-floating-root .zl-ask-popover-compose{
  padding:6px 7px 6px 12px;border:1px solid #dce0e3;border-radius:14px;
  box-shadow:none;align-items:center;
}
.zl-ask-floating-root #zlAskFloatingInput{
  font-family:inherit;font-size:13px;line-height:1.45;min-height:34px;
}
.zl-ask-floating-root #zlAskFloatingSend{
  flex:0 0 36px;width:36px;height:36px;min-width:36px;min-height:36px;
  border:0;padding:0;border-radius:10px;background:#D8FE43;color:#18191b;
  font-size:18px;box-shadow:none;
}
.zl-ask-floating-root #zlAskFloatingSend:disabled{background:#f0f1f2;color:#adb1b5}
.zl-ask-floating-root .zl-ask-popover-bottomline{font-size:11px;line-height:1.5}
@media(max-width:640px){
  .zl-ask-floating-root{--zl-ask-edge:12px}
  .zl-ask-floating-root .zl-ask-fab{bottom:max(85px,env(safe-area-inset-bottom,0px) + 72px);width:54px;height:54px}
  .zl-ask-floating-root .zl-ask-popover{
    bottom:max(84px,env(safe-area-inset-bottom,0px) + 72px);
    width:calc(100vw - 24px);height:min(520px,calc(100dvh - 175px));
    min-height:180px;max-height:calc(100dvh - 135px);
  }
}
@media(max-width:640px) and (max-height:620px){
  .zl-ask-floating-root .zl-ask-popover{bottom:12px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
}

/* Floating Ask visual hotfix #3: viewport RIGHT edge, panel above FAB, understated close. */
.zl-ask-floating-root{
  --zl-ask-edge:24px;
}
.zl-ask-floating-root .zl-ask-fab{
  right:var(--zl-ask-edge);
  bottom:24px;
  width:56px;height:56px;
}
.zl-ask-floating-root .zl-ask-popover{
  right:var(--zl-ask-edge);
  bottom:96px;
  width:min(390px,calc(100vw - 48px));
  height:min(530px,calc(100dvh - 120px));
  max-height:calc(100dvh - 120px);
}
/* Button remains accessible to keyboards but visually uses a clean thin cross. */
.zl-ask-floating-root .zl-ask-popover-close{
  position:relative;
  display:grid;place-items:center;
  width:32px;height:32px;min-width:32px;min-height:32px;
  padding:0;
  border:0;border-radius:50%;
  background:transparent;
  color:transparent;font-size:0;line-height:0;
  transition:background-color .15s ease;
}
.zl-ask-floating-root .zl-ask-popover-close::before,
.zl-ask-floating-root .zl-ask-popover-close::after{
  content:"";position:absolute;
  left:9px;top:15px;width:14px;height:1.7px;
  border-radius:2px;background:#4b5058;
  transform:rotate(45deg);
}
.zl-ask-floating-root .zl-ask-popover-close::after{transform:rotate(-45deg)}
.zl-ask-floating-root .zl-ask-popover-close:hover{
  background:#f0f2f4;
}
.zl-ask-floating-root .zl-ask-popover-close:active{background:#e6e9ec}
/* On phones, keep the launcher above bottom navigation and put panel immediately above it. */
@media(max-width:640px){
  .zl-ask-floating-root{--zl-ask-edge:12px}
  .zl-ask-floating-root .zl-ask-fab{
    bottom:max(82px,calc(env(safe-area-inset-bottom,0px) + 70px));
    width:54px;height:54px;
  }
  .zl-ask-floating-root .zl-ask-popover{
    bottom:max(150px,calc(env(safe-area-inset-bottom,0px) + 138px));
    width:calc(100vw - 24px);
    height:min(520px,calc(100dvh - 185px));
    max-height:calc(100dvh - 170px);
  }
}
@media(max-width:640px) and (max-height:620px){
  .zl-ask-floating-root .zl-ask-popover{
    bottom:12px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);
  }
}

/* ZodiLab Ask V20.5 — brand text on a ring, while preserving the original logo. */
.zl-ask-floating-root .zl-ask-fab{
  width:76px;height:76px;
  isolation:isolate;
}
.zl-ask-floating-root .zl-ask-fab img{
  position:relative;z-index:1;width:35px;height:35px;pointer-events:none;
}
.zl-ask-floating-root .zl-ask-fab-ring{
  position:absolute;inset:0;width:100%;height:100%;overflow:visible;
  pointer-events:none;fill:#fff;
  animation:zlAskRingSpin 24s linear infinite;
}
.zl-ask-floating-root .zl-ask-fab-ring text{
  fill:#fff;font:700 9.4px/1 Arial,sans-serif;letter-spacing:.8px;
}
@keyframes zlAskRingSpin{to{transform:rotate(360deg)}}
.zl-ask-floating-root .zl-ask-fab-lock{
  display:none;position:absolute;right:-3px;bottom:-6px;z-index:3;
  padding:3px 5px;border-radius:8px;
  background:#D8FE43;color:#18191b;
  font-size:8px;font-weight:800;line-height:1.2;
  border:1px solid #18191b;pointer-events:none;
}
.zl-ask-floating-root.zl-ask-is-free .zl-ask-fab-lock{display:block}
@media(max-width:640px){
 .zl-ask-floating-root .zl-ask-fab{width:70px;height:70px}
 .zl-ask-floating-root .zl-ask-fab img{width:32px;height:32px}
}
@media(prefers-reduced-motion:reduce){
 .zl-ask-floating-root .zl-ask-fab-ring{animation:none}
}

/* V20.5.1 Ask: OUTER lettering ring, distinct from the preserved brand disc.
   This overrides only the floating launcher; chat/paywall behavior is unchanged. */
.zl-ask-floating-root .zl-ask-fab {
  width:100px;
  height:100px;
  padding:0;
  border:1px solid #e1e4e8;
  border-radius:50%;
  background:#f8f9fa;
  box-shadow:0 9px 24px rgba(24,25,27,.15);
  isolation:isolate;
  overflow:visible;
}
/* Inner disc retains original black / fluorescent-green brand mark. */
.zl-ask-floating-root .zl-ask-fab::before {
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:60px;height:60px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:#18191b;
  z-index:0;
  pointer-events:none;
}
.zl-ask-floating-root .zl-ask-fab > img {
  position:relative;
  z-index:2;
  width:38px;height:38px;
  object-fit:contain;
  pointer-events:none;
}
/* SVG text follows the 40/50 radius path, OUTSIDE the 30px black disc. */
.zl-ask-floating-root .zl-ask-fab-ring {
  position:absolute;
  inset:0;
  z-index:1;
  display:block;
  width:100%;height:100%;
  fill:#18191b;
  pointer-events:none;
  transform-origin:50% 50%;
  animation:zlAskRingSpin 24s linear infinite;
}
.zl-ask-floating-root .zl-ask-fab-ring text {
  fill:#18191b;
  font-family:Arial,sans-serif;
  font-size:9.2px;
  font-weight:700;
  letter-spacing:.75px;
}
.zl-ask-floating-root .zl-ask-fab:hover {
  box-shadow:0 11px 28px rgba(24,25,27,.19);
}
@media (max-width:640px) {
  .zl-ask-floating-root .zl-ask-fab {width:92px;height:92px}
  .zl-ask-floating-root .zl-ask-fab::before {width:56px;height:56px}
  .zl-ask-floating-root .zl-ask-fab > img {width:35px;height:35px}
}
@media (prefers-reduced-motion: reduce) {
  .zl-ask-floating-root .zl-ask-fab-ring {animation:none}
}


/* V20.5.2: restore ORIGINAL 58px black FAB. One straight label ABOVE it.
   No outer ring, white disc, SVG text repetition, or changes to paywall/Ask. */
.zl-ask-floating-root .zl-ask-launcher{
  position:fixed;right:var(--zl-ask-edge);bottom:24px;
  width:58px;display:flex;flex-direction:column;align-items:center;gap:8px;
  pointer-events:none;z-index:2;
}
.zl-ask-floating-root .zl-ask-label{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:max-content;max-width:calc(100vw - 72px);min-height:18px;
  white-space:nowrap;text-align:center;
  color:#18191b;font-size:12px;font-weight:700;line-height:1.25;
  letter-spacing:0;pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-label-close{
  position:absolute;left:calc(100% + 6px);top:50%;transform:translateY(-50%);
  width:20px;height:20px;min-width:20px;min-height:20px;
  border:0;border-radius:50%;padding:0;background:#eef0f2;color:#30343a;
  font-size:16px;font-weight:500;line-height:20px;text-align:center;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .15s,background-color .15s;
}
.zl-ask-floating-root .zl-ask-launcher:hover .zl-ask-label-close,
.zl-ask-floating-root .zl-ask-label-close:focus-visible{
  opacity:1;visibility:visible;pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-label-close:hover{background:#e0e4e8}
.zl-ask-floating-root .zl-ask-fab{
  position:relative;right:auto;bottom:auto;
  width:58px;height:58px;flex:0 0 58px;padding:0;
  border:1px solid #303238;border-radius:50%;background:#18191b;
  box-shadow:0 10px 28px rgba(0,0,0,.20);
  display:grid;place-items:center;overflow:hidden;isolation:auto;pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-fab::before{content:none;display:none}
.zl-ask-floating-root .zl-ask-fab > img{
  position:static;display:block;width:38px;height:38px;object-fit:contain;
  pointer-events:none;
}
.zl-ask-floating-root .zl-ask-fab-ring,
.zl-ask-floating-root .zl-ask-fab-lock{display:none!important}
.zl-ask-floating-root.zl-ask-panel-open .zl-ask-launcher{visibility:hidden;pointer-events:none}
#appShell.zl-keyboard-open .zl-ask-floating-root .zl-ask-launcher{display:none}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-launcher{
    right:var(--zl-ask-edge);
    bottom:max(82px,calc(env(safe-area-inset-bottom,0px) + 70px));
    width:54px;gap:6px;
  }
  .zl-ask-floating-root .zl-ask-fab{width:54px;height:54px;flex-basis:54px}
  .zl-ask-floating-root .zl-ask-fab > img{width:35px;height:35px}
  .zl-ask-floating-root .zl-ask-label{font-size:11px}
}
@media(hover:none){
  /* Touch devices have no hover: keep the optional dismiss action discoverable. */
  .zl-ask-floating-root .zl-ask-label-close{opacity:1;visibility:visible;pointer-events:auto}
}

/* V20.5.3 — one TOP ARC label; original black 58px FAB stays untouched.
   Unlike V20.5/V20.5.1 this is NOT a full ring, badge or background disc. */
.zl-ask-floating-root .zl-ask-launcher{
  bottom:max(36px, env(safe-area-inset-bottom, 0px) + 24px);
  gap:1px;
}
.zl-ask-floating-root .zl-ask-label{
  width:106px; max-width:none; height:40px; min-height:40px;
  margin-left:-12px; /* keep arc within viewport at right edge */
  display:block; position:relative; overflow:visible;
  background:transparent; border:0; border-radius:0; box-shadow:none;
  pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-arc-text{
  display:block; width:106px; height:40px;
  overflow:visible; pointer-events:none;
}
.zl-ask-floating-root .zl-ask-arc-text text{
  font:700 12px/1 Arial, sans-serif; letter-spacing:.3px;
  fill:#18191b; stroke:none;
}
.zl-ask-floating-root .zl-ask-label-close{
  left:auto; right:-1px; top:18px; transform:translateY(-50%);
  width:19px; height:19px; min-width:19px; min-height:19px;
  font-size:15px; line-height:19px; pointer-events:none;
}
.zl-ask-floating-root .zl-ask-launcher:hover .zl-ask-label-close,
.zl-ask-floating-root .zl-ask-label-close:focus-visible{
  pointer-events:auto;
}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-launcher{
    bottom:max(92px, calc(env(safe-area-inset-bottom,0px) + 78px));
    gap:1px;
  }
  .zl-ask-floating-root .zl-ask-label{
    width:106px; height:40px; min-height:40px; margin-left:-12px;
  }
  .zl-ask-floating-root .zl-ask-arc-text{width:106px;height:40px}
}


/* V20.6 — Hostinger-style compact bottom-centre Ask entry.
   Scope: Ask launcher only. Existing Free paywall and Premium chat remain unchanged. */
.zl-ask-floating-root .zl-ask-launcher{
  position:fixed;left:50%;right:auto;
  bottom:max(22px,calc(env(safe-area-inset-bottom,0px) + 18px));
  transform:translateX(-50%);width:min(440px,calc(100vw - 32px));
  height:66px;display:block;z-index:2;pointer-events:none;
  margin:0;padding:0;
}
.zl-ask-floating-root .zl-ask-fab{
  position:relative;left:auto;right:auto;bottom:auto;top:auto;
  display:flex;align-items:center;justify-content:flex-start;gap:12px;
  width:100%;height:62px;min-height:62px;max-height:none;
  padding:8px 42px 8px 11px;flex:auto;
  border:1px solid #e1e4e8;border-radius:999px;
  background:#fff;color:#18191b;text-align:left;
  box-shadow:0 6px 20px rgba(24,25,27,.13);
  isolation:initial;overflow:hidden;pointer-events:auto;
  transform:none;
}
.zl-ask-floating-root .zl-ask-fab:hover{
  transform:none;box-shadow:0 8px 24px rgba(24,25,27,.17);border-color:#cdd2d6;
}
.zl-ask-floating-root .zl-ask-fab:active{transform:none;background:#f8f9fa}
.zl-ask-floating-root .zl-ask-fab::before{content:none;display:none}
.zl-ask-floating-root .zl-ask-bar-brand{
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  border-radius:50%;background:#18191b;
}
.zl-ask-floating-root .zl-ask-fab .zl-ask-bar-brand img{
  position:static;display:block;width:29px;height:29px;object-fit:contain;
}
.zl-ask-floating-root .zl-ask-bar-copy{
  display:flex;flex-direction:column;justify-content:center;gap:2px;
  min-width:0;flex:1;font-size:13px;line-height:1.25;
}
.zl-ask-floating-root .zl-ask-bar-copy strong{
  color:#18191b;font-size:13px;font-weight:700;letter-spacing:0;
}
.zl-ask-floating-root .zl-ask-bar-copy small{
  color:#767b84;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.zl-ask-floating-root .zl-ask-bar-action{
  flex:0 0 34px;display:grid;place-items:center;
  width:34px;height:34px;border-radius:50%;background:#f0f1f3;color:#18191b;
}
.zl-ask-floating-root .zl-ask-fab-ring,.zl-ask-floating-root .zl-ask-fab-lock,
.zl-ask-floating-root .zl-ask-label,.zl-ask-floating-root .zl-ask-arc-text{display:none!important}
.zl-ask-floating-root .zl-ask-launcher > .zl-ask-label-close{
  position:absolute;top:50%;right:11px;left:auto;transform:translateY(-50%);
  width:20px;height:20px;min-width:20px;min-height:20px;
  padding:0;border:0;border-radius:50%;background:#eef0f2;color:#34383d;
  font-size:15px;line-height:20px;text-align:center;
  opacity:0;visibility:hidden;pointer-events:none;z-index:3;
}
.zl-ask-floating-root .zl-ask-launcher:hover > .zl-ask-label-close,
.zl-ask-floating-root .zl-ask-launcher:focus-within > .zl-ask-label-close{
  opacity:1;visibility:visible;pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-label-close:hover{background:#dde1e5}
.zl-ask-floating-root .zl-ask-popover{
  left:50%;right:auto;
  transform:translateX(-50%);
  bottom:max(101px,calc(env(safe-area-inset-bottom,0px) + 97px));
  width:min(440px,calc(100vw - 32px));
  height:min(530px,calc(100dvh - 130px));
  max-height:calc(100dvh - 130px);
}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-launcher{
    left:50%;right:auto;bottom:max(83px,calc(env(safe-area-inset-bottom,0px) + 73px));
    width:calc(100vw - 28px);height:60px;
  }
  .zl-ask-floating-root .zl-ask-fab{
    position:relative;left:auto;right:auto;bottom:auto;
    width:100%;height:58px;min-height:58px;padding:7px 40px 7px 10px;
  }
  .zl-ask-floating-root .zl-ask-bar-brand{width:38px;height:38px;flex-basis:38px}
  .zl-ask-floating-root .zl-ask-fab .zl-ask-bar-brand img{width:27px;height:27px}
  .zl-ask-floating-root .zl-ask-popover{
    left:50%;right:auto;bottom:max(154px,calc(env(safe-area-inset-bottom,0px) + 144px));
    width:calc(100vw - 24px);
    height:min(520px,calc(100dvh - 180px));max-height:calc(100dvh - 170px);
  }
}
@media(max-width:640px) and (max-height:620px){
  .zl-ask-floating-root .zl-ask-popover{
    bottom:12px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);
  }
}
@media(hover:none){
  .zl-ask-floating-root .zl-ask-launcher > .zl-ask-label-close{
    opacity:1;visibility:visible;pointer-events:auto;
  }
}
#appShell.zl-keyboard-open .zl-ask-floating-root .zl-ask-launcher{display:none}

/* V20.7 — Ask composer / split pane / expanded chat.
   Intentional override of the legacy FAB/popover CSS above. Ask-only selectors. */
.zl-ask-floating-root{--zl-ask-side-width:clamp(350px,29vw,435px)}
.zl-ask-floating-root .zl-ask-launcher{
  position:fixed;left:50%;right:auto;top:auto;
  bottom:max(20px,calc(env(safe-area-inset-bottom,0px) + 16px));
  transform:translateX(-50%);width:min(500px,calc(100vw - 36px));height:62px;
  padding:8px 12px;display:flex;align-items:center;gap:12px;
  background:#fff;border:1px solid #e1e4e8;border-radius:999px;
  box-shadow:0 6px 22px rgba(24,25,27,.14);pointer-events:auto;
}
.zl-ask-floating-root .zl-ask-launcher:focus-within{
  border-color:#b9c0c9;box-shadow:0 6px 22px rgba(24,25,27,.14),0 0 0 2px rgba(216,254,67,.35)
}
.zl-ask-floating-root .zl-ask-bar-brand{
  display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;
  background:#18191b;border-radius:50%
}
.zl-ask-floating-root .zl-ask-bar-brand img{display:block;width:30px;height:30px;object-fit:contain}
.zl-ask-floating-root .zl-ask-quick-input{
  display:block;min-width:0;flex:1;height:40px;margin:0;padding:0;border:0!important;
  outline:none!important;box-shadow:none!important;background:transparent!important;
  color:#18191b;font-family:inherit;font-size:14px;font-weight:400;line-height:1.4;pointer-events:auto
}
.zl-ask-floating-root .zl-ask-quick-input::placeholder{color:#858b94;opacity:1}
.zl-ask-floating-root .zl-ask-quick-send,
.zl-ask-floating-root .zl-ask-open-panel{
  flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;
  min-width:34px;min-height:34px;padding:0;border:0;background:#f0f1f3;
  border-radius:50%;color:#18191b;pointer-events:auto
}
.zl-ask-floating-root .zl-ask-open-panel{background:transparent;border-radius:9px}
.zl-ask-floating-root .zl-ask-quick-send:disabled{color:#b7bdc4;background:#f3f4f5}
.zl-ask-floating-root .zl-ask-quick-send:not(:disabled):hover,
.zl-ask-floating-root .zl-ask-open-panel:hover{background:#e6e9ec}
.zl-ask-floating-root .zl-ask-launcher-separator{flex:0 0 1px;height:22px;background:#e3e5e8}
.zl-ask-floating-root.zl-ask-panel-open .zl-ask-launcher{display:none!important}
.zl-ask-floating-root .zl-ask-popover{
  position:fixed;left:auto;right:0;top:0;bottom:0;transform:none;
  width:var(--zl-ask-side-width);height:100dvh;min-height:0;max-height:none;
  border-radius:18px 0 0 18px;border:1px solid #e1e4e8;
  box-shadow:-10px 0 40px rgba(24,25,27,.11);z-index:5;
}
.zl-ask-floating-root .zl-ask-popover-header{padding:12px 14px;gap:9px}
.zl-ask-floating-root .zl-ask-panel-utility{
  display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;
  border:0;border-radius:9px;background:transparent;color:#34383d;
  font-size:23px;font-weight:400;pointer-events:auto
}
.zl-ask-floating-root .zl-ask-panel-utility:hover{background:#f0f2f4}
.zl-ask-floating-root .zl-ask-popover-body{padding:16px;max-width:none}
.zl-ask-floating-root .zl-ask-popover-bottom{padding:12px 14px 16px}
.zl-ask-floating-root.zl-ask-expanded .zl-ask-popover{
  left:0;right:0;top:0;bottom:0;transform:none;
  width:100vw;height:100dvh;min-height:0;max-height:none;border-radius:0;border:0;
  box-shadow:none
}
.zl-ask-floating-root.zl-ask-expanded .zl-ask-popover-body,
.zl-ask-floating-root.zl-ask-expanded .zl-ask-popover-bottom{
  width:min(760px,100%);margin-inline:auto
}
.zl-ask-floating-root.zl-ask-expanded .zl-ask-popover-bottom{border-top:0}
@media(min-width:1000px){
  body.zl-ask-side-active #zodilab-ux{
    width:calc(100% - clamp(350px,29vw,435px));max-width:none;
    transition:width .18s ease
  }
}
@media(max-width:999px){
  .zl-ask-floating-root .zl-ask-popover{
    left:0;right:0;top:0;bottom:0;transform:none;width:100vw;height:100dvh;
    min-height:0;max-height:none;border:0;border-radius:0
  }
}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-launcher{
    bottom:max(82px,calc(env(safe-area-inset-bottom,0px) + 70px));
    width:calc(100vw - 24px);height:58px;padding:6px 10px;gap:8px
  }
  .zl-ask-floating-root .zl-ask-bar-brand{width:38px;height:38px;flex-basis:38px}
  .zl-ask-floating-root .zl-ask-bar-brand img{width:27px;height:27px}
  .zl-ask-floating-root .zl-ask-quick-input{font-size:13px}
  .zl-ask-floating-root .zl-ask-quick-send,
  .zl-ask-floating-root .zl-ask-open-panel{width:30px;height:30px;min-width:30px;min-height:30px;flex-basis:30px}
  .zl-ask-floating-root .zl-ask-launcher-separator{height:20px}
}
#appShell.zl-keyboard-open .zl-ask-floating-root .zl-ask-launcher{display:flex}
#appShell.zl-keyboard-open .zl-ask-floating-root.zl-ask-panel-open .zl-ask-launcher{display:none!important}
@media(prefers-reduced-motion:reduce){
  .zl-ask-floating-root .zl-ask-launcher,
  body.zl-ask-side-active #zodilab-ux{transition:none}
}
/* Legacy arc launcher was column-oriented: explicitly restore horizontal composer. */
.zl-ask-floating-root .zl-ask-launcher{flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:nowrap}
/* Keep panel on-screen if the existing app enters its keyboard-open state. */
#appShell.zl-keyboard-open .zl-ask-floating-root .zl-ask-popover{
  top:0;bottom:0;height:100dvh;min-height:0;max-height:none
}

/* V20.7.1 — TRUE split viewport, scoped to Forecast Ask.
   The actual app owner is #appShell (not the nonexistent #zodilab-ux).
   The entire app including header, Forecast cards and footer participates.
   No changes to Ask actions, entitlements, chat content or other pages. */
@media (min-width: 1200px) {
  body.zl-ask-side-active:has(#zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden])) {
    --zl-ask-dock-width: clamp(350px, 24vw, 430px);
    --zl-ask-dock-gap: 10px;
    overflow-x: hidden;
  }
  body.zl-ask-side-active:has(#zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden])) #appShell:not(.hidden) {
    box-sizing: border-box;
    width: calc(100vw - var(--zl-ask-dock-width) - 3 * var(--zl-ask-dock-gap));
    max-width: none;
    min-width: 0;
    margin: var(--zl-ask-dock-gap) 0 var(--zl-ask-dock-gap) var(--zl-ask-dock-gap);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    transition: width .2s ease;
  }
  body.zl-ask-side-active #zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden]) {
    --zl-ask-side-width: var(--zl-ask-dock-width, clamp(350px, 24vw, 430px));
    right: var(--zl-ask-dock-gap, 10px);
    left: auto;
    top: var(--zl-ask-dock-gap, 10px);
    bottom: var(--zl-ask-dock-gap, 10px);
    width: var(--zl-ask-side-width);
    height: calc(100dvh - 2 * var(--zl-ask-dock-gap, 10px));
    max-height: none;
    box-shadow: 0 6px 24px rgba(24,25,27,.08);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
  }
  body.zl-ask-side-active #appShell:not(.hidden) > .topbar {
    border-radius: 18px 18px 0 0;
  }
  body.zl-ask-side-active #appShell:not(.hidden) .page-wrap {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }
}
/* Tablet and mobile: chat occupies the viewport; the page is not squeezed. */
@media (max-width: 1199px) {
  body.zl-ask-side-active #appShell:not(.hidden) {
    width: auto;
    max-width: none;
    margin: 0;
  }
  body.zl-ask-side-active #zlAskFloatingRoot #zlAskFloatingPanel:not([hidden]) {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.zl-ask-side-active #appShell:not(.hidden) { transition: none; }
}

/* V20.7.2 — unified, edge-to-edge Ask workspace.
   Corrections to the previously verified V3 desktop split only.
   Free/Premium logic, floating composer, fullscreen, mobile and chat untouched. */
@media (min-width: 1200px) {
  body.zl-ask-side-active:has(#zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden])) {
    --zl-ask-dock-gap: 0px;
  }
  body.zl-ask-side-active:has(#zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden])) #appShell:not(.hidden) {
    width: calc(100vw - var(--zl-ask-dock-width));
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--canvas, #f7f8fb);
    overflow: visible;
    transition: width .2s ease;
  }
  body.zl-ask-side-active #appShell:not(.hidden) > .topbar {
    border-radius: 0;
    height: 69px;
  }
  body.zl-ask-side-active #zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden]) {
    right: 0;
    top: 0;
    bottom: 0;
    width: var(--zl-ask-dock-width, clamp(350px, 24vw, 430px));
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-left: 1px solid #e4e7eb;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  body.zl-ask-side-active #zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden]) .zl-ask-popover-header {
    min-height: 69px;
    height: 69px;
    padding: 10px 16px;
    border-bottom: 1px solid #e7e9ec;
  }
  body.zl-ask-side-active #zlAskFloatingRoot:not(.zl-ask-expanded) #zlAskFloatingPanel:not([hidden]) .zl-ask-popover-bottom {
    padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.zl-ask-side-active #appShell:not(.hidden) { transition: none; }
}

/* V20.7.4 — ZodiLab Ask polished empty state & composer.
   Presentation-only: no auth, AI, forecast, message or workspace changes. */
.zl-ask-floating-root .zl-ask-popover-header{
  background:#fff;
  border-bottom:1px solid #edf0f2;
}
.zl-ask-floating-root .zl-ask-popover-brand{
  box-shadow:0 0 0 1px rgba(24,25,27,.09);
}
.zl-ask-floating-root .zl-ask-popover-title strong{
  font-size:14px;letter-spacing:-.015em;
}
.zl-ask-floating-root .zl-ask-popover-title small{color:#858b92;font-size:11px}
.zl-ask-floating-root .zl-ask-popover-thread:not(:empty){padding:4px 0 10px;gap:12px}
.zl-ask-floating-root .zl-ask-popover-body:has(> #zlAskFloatingThread:empty){
  padding:0 18px 20px;
  gap:0;
  justify-content:center;
  align-items:stretch;
}
.zl-ask-floating-root .zl-ask-popover-body:has(> #zlAskFloatingThread:empty)::before{
  content:"";
  display:block;
  flex:0 0 auto;
  width:48px;height:48px;
  margin:0 auto 18px;
  border-radius:16px;
  background-color:#18191b;
  background-image:url('/ux/zodilab-mark.svg');
  background-size:34px 34px;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:0 7px 20px rgba(24,25,27,.11);
}
.zl-ask-floating-root .zl-ask-popover-starter{
  margin:0;
  color:#18191b;
  text-align:center;
  font-size:16px;
  line-height:1.45;
  font-weight:650;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.zl-ask-floating-root .zl-ask-popover-starter::after{
  content:"Aşağıdan proqnoz seç və onun barədə sual ver.";
  display:block;
  margin:10px auto 0;
  max-width:315px;
  font-size:12px;
  line-height:1.6;
  letter-spacing:0;
  font-weight:400;
  color:#78808a;
  text-wrap:pretty;
}
.zl-ask-floating-root .zl-ask-popover-suggestions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:9px;
  width:100%;
  margin-top:26px;
}
.zl-ask-floating-root .zl-ask-popover-suggestions::before{
  content:"PROQNOZ SEÇ";
  display:block;
  margin:0 0 2px;
  color:#848b93;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-align:left;
}
.zl-ask-floating-root .zl-ask-popover-suggestions button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:49px;
  padding:12px 14px;
  border:1px solid #e5e8eb;
  border-radius:14px;
  background:#fff;
  color:#25292f;
  text-align:left;
  font-size:12px;
  font-weight:550;
  line-height:1.45;
  box-shadow:0 3px 9px rgba(24,25,27,.025);
  transition:background-color .15s,border-color .15s,transform .15s;
}
.zl-ask-floating-root .zl-ask-popover-suggestions button::after{
  content:"";
  flex:0 0 17px;
  width:17px;height:17px;
  background:currentColor;
  opacity:.6;
  -webkit-mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M5 12h14m-6-6 6 6-6 6"/%3E%3C/svg%3E') center/contain no-repeat;
  mask:url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M5 12h14m-6-6 6 6-6 6"/%3E%3C/svg%3E') center/contain no-repeat;
}
.zl-ask-floating-root .zl-ask-popover-suggestions button:hover{
  background:#D8FE43;
  border-color:#D8FE43;
  transform:translateY(-1px);
}
.zl-ask-floating-root .zl-ask-popover-suggestions button:focus-visible{
  outline:2px solid #a8cb30;
  outline-offset:2px;
}
.zl-ask-floating-root .zl-ask-popover-bottom{
  background:#fff;
  border-top:1px solid #eceef0;
  padding:12px 14px max(15px,env(safe-area-inset-bottom,0px));
}
.zl-ask-floating-root .zl-ask-popover-compose{
  min-height:53px;
  border:1px solid #dfe3e6;
  border-radius:15px;
  padding:7px 8px 7px 13px;
  background:#fff;
  box-shadow:0 3px 12px rgba(24,25,27,.035);
}
.zl-ask-floating-root .zl-ask-popover-compose:focus-within{
  border-color:#a9bc75;
  box-shadow:0 0 0 3px rgba(216,254,67,.18);
}
.zl-ask-floating-root #zlAskFloatingInput{
  font:inherit;
  font-size:13px;
  font-weight:400;
  line-height:1.5;
  color:#18191b;
}
.zl-ask-floating-root #zlAskFloatingSend{
  display:grid;place-items:center;
  width:36px;height:36px;min-width:36px;min-height:36px;
  flex:0 0 36px;
  border-radius:11px;
  background:#d8fe43;color:#18191b;
  font-size:18px;
}
.zl-ask-floating-root #zlAskFloatingSend:disabled{
  background:#eff1f3;color:#aeb5bd;
}
.zl-ask-floating-root .zl-ask-popover-bottomline{
  padding-top:8px;
  font-size:10px;
  line-height:1.5;
  color:#858c95;
}
/* In wide fullscreen mode, keep the conversation composer comfortably readable. */
.zl-ask-floating-root.zl-ask-expanded .zl-ask-popover-body:has(> #zlAskFloatingThread:empty){
  justify-content:center;
  max-width:630px;
  margin-inline:auto;
  width:100%;
}
@media(max-width:420px){
  .zl-ask-floating-root .zl-ask-popover-body:has(> #zlAskFloatingThread:empty){padding-inline:20px}
  .zl-ask-floating-root .zl-ask-popover-starter{font-size:15px}
  .zl-ask-floating-root .zl-ask-popover-suggestions{margin-top:20px}
}
@media(max-height:580px){
  .zl-ask-floating-root .zl-ask-popover-body:has(> #zlAskFloatingThread:empty){justify-content:flex-start;padding-top:24px}
  .zl-ask-floating-root .zl-ask-popover-body:has(> #zlAskFloatingThread:empty)::before{display:none}
}
@media(prefers-reduced-motion:reduce){
  .zl-ask-floating-root .zl-ask-popover-suggestions button{transition:none}
}


/* Ask launcher V9: original two-line branded idle appearance; real input on focus.
   Only the quick composer is affected, never the split/fullscreen panels. */
.zl-ask-floating-root .zl-ask-quick-field{
  position:relative;min-width:0;flex:1 1 0;height:42px;display:flex;align-items:center;
}
.zl-ask-floating-root .zl-ask-quick-field > .zl-ask-quick-input{
  display:block;width:100%;height:100%;min-width:0;flex:1 1 auto;position:relative;z-index:1;
}
.zl-ask-floating-root .zl-ask-quick-preview{
  display:none;position:absolute;inset:0;z-index:2;pointer-events:none;
  flex-direction:column;justify-content:center;align-items:flex-start;
  line-height:1.25;min-width:0;white-space:nowrap;overflow:hidden;
}
.zl-ask-floating-root .zl-ask-quick-preview strong{
  display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  color:#191b1d;font-size:13px;font-weight:650;
}
.zl-ask-floating-root .zl-ask-quick-preview small{
  display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  color:#858b94;font-size:12px;font-weight:400;margin-top:3px;
}
.zl-ask-floating-root .zl-ask-quick-field:not(:focus-within):has(.zl-ask-quick-input:placeholder-shown) .zl-ask-quick-preview{display:flex}
.zl-ask-floating-root .zl-ask-quick-field:not(:focus-within) .zl-ask-quick-input:placeholder-shown::placeholder{color:transparent}
.zl-ask-floating-root .zl-ask-quick-field:focus-within .zl-ask-quick-input::placeholder{color:#858b94}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-quick-field{height:40px}
  .zl-ask-floating-root .zl-ask-quick-preview strong{font-size:12px}
  .zl-ask-floating-root .zl-ask-quick-preview small{font-size:11px}
}


/* V10 – compact Forecast context picker; only Ask launcher, not page layout. */
.zl-ask-floating-root .zl-ask-context-picker{
  position:fixed;left:50%;bottom:max(96px,calc(env(safe-area-inset-bottom,0px) + 90px));
  transform:translateX(-50%);z-index:10010;
  width:min(460px,calc(100vw - 36px));max-height:min(350px,55dvh);overflow-y:auto;
  padding:14px;background:#fff;border:1px solid #e5e7e9;border-radius:22px;
  box-shadow:0 12px 34px rgba(20,22,25,.12);
}
.zl-ask-floating-root .zl-ask-context-picker[hidden],
.zl-ask-floating-root .zl-ask-history-options[hidden],
.zl-ask-floating-root .zl-ask-history-status[hidden],
.zl-ask-floating-root .zl-ask-period-options button[hidden]{display:none!important}
.zl-ask-floating-root .zl-ask-context-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px}
.zl-ask-floating-root .zl-ask-context-heading strong{font-size:13px;color:#191b1d;font-weight:650}
.zl-ask-floating-root .zl-ask-context-heading span{font-size:11px;color:#9298a0}
.zl-ask-floating-root .zl-ask-period-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.zl-ask-floating-root .zl-ask-period-options button,
.zl-ask-floating-root .zl-ask-history-options button{
  min-height:36px;padding:8px 10px;border:1px solid #e4e6e9;background:#f7f8f9;
  border-radius:11px;color:#242629;font:inherit;font-size:12px;font-weight:550;
  text-align:center;cursor:pointer;
}
.zl-ask-floating-root .zl-ask-period-options button.active{border-color:#c4ea41;background:#f4ffd5}
.zl-ask-floating-root .zl-ask-period-options button:hover,
.zl-ask-floating-root .zl-ask-history-options button:hover{border-color:#bcc5cb;background:#fff}
.zl-ask-floating-root .zl-ask-history-toggle{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  padding:11px 4px 3px;margin-top:9px;border:0;background:transparent;
  color:#3f454c;font:inherit;font-size:12px;text-align:left;cursor:pointer;
}
.zl-ask-floating-root .zl-ask-history-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.zl-ask-floating-root .zl-ask-history-options button{background:#fff;text-align:left}
.zl-ask-floating-root .zl-ask-history-status{margin-top:9px;color:#737c86;font-size:11px}
@media(max-width:640px){
 .zl-ask-floating-root .zl-ask-context-picker{bottom:max(161px,calc(env(safe-area-inset-bottom,0px) + 151px));border-radius:18px}
 .zl-ask-floating-root .zl-ask-context-heading span{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.zl-ask-floating-root .zl-ask-context-picker{scroll-behavior:auto}}
.zl-ask-floating-root .zl-ask-context-picker{pointer-events:auto}


/* Ask V11: a lightweight context menu matching the existing composer exactly.
   Selection never navigates Forecast; options are populated from ready server rows. */
.zl-ask-floating-root .zl-ask-context-picker{
  width:min(500px,calc(100vw - 36px));
  bottom:max(90px,calc(env(safe-area-inset-bottom,0px) + 86px));
  max-height:min(340px,55dvh);
  padding:11px 13px 7px;
  border-radius:22px;
  border:1px solid #e6e8eb;
  box-shadow:0 8px 25px rgba(18,20,23,.09);
}
.zl-ask-floating-root .zl-ask-context-heading{margin:0;padding:5px 8px 8px}
.zl-ask-floating-root .zl-ask-context-heading strong{
  font-size:12px;font-weight:650;color:#555b63;
}
.zl-ask-floating-root .zl-ask-period-options{
  display:flex;flex-direction:column;gap:0;
}
.zl-ask-floating-root .zl-ask-period-options button,
.zl-ask-floating-root .zl-ask-history-options button{
  min-height:43px;padding:11px 12px;
  border:0;border-radius:10px;background:transparent;
  text-align:left;font-size:13px;font-weight:500;color:#25292f;
  box-shadow:none;
}
.zl-ask-floating-root .zl-ask-period-options button:hover,
.zl-ask-floating-root .zl-ask-history-options button:hover{
  background:#f4f5f6;border:0;
}
.zl-ask-floating-root .zl-ask-period-options button.active{
  background:#f4f5f6;border:0;
}
.zl-ask-floating-root .zl-ask-period-options button::after{
  content:'›';float:right;color:#9299a1;font-size:19px;line-height:14px;
}
.zl-ask-floating-root .zl-ask-history-toggle{
  min-height:43px;margin:2px 0 0;padding:10px 12px;
  border-top:1px solid #eff0f2;border-radius:0;
  font-size:13px;font-weight:500;color:#565d65;
}
.zl-ask-floating-root .zl-ask-history-toggle:hover{color:#191b1d}
.zl-ask-floating-root .zl-ask-choice-status{
  padding:12px;font-size:12px;color:#858b94;
}
.zl-ask-floating-root .zl-ask-choice-status[hidden]{display:none!important}
.zl-ask-floating-root .zl-ask-history-options{
  grid-template-columns:1fr;gap:2px;margin:2px 0 6px;
}
.zl-ask-floating-root .zl-ask-history-options button{
  border:0;background:transparent;font-size:12px;
}
@media(max-width:640px){
  .zl-ask-floating-root .zl-ask-context-picker{
    width:calc(100vw - 24px);
    bottom:max(148px,calc(env(safe-area-inset-bottom,0px) + 136px));
    border-radius:20px;
  }
}

/* Ask history: consistent 16px chevron; only this toggle is affected. */
.zl-ask-floating-root .zl-ask-history-toggle .zl-ask-history-chevron{
  width:16px;height:16px;flex:0 0 16px;display:block;stroke:currentColor;
  transition:transform .18s ease;
}
.zl-ask-floating-root .zl-ask-history-toggle:has(+ .zl-ask-history-options:not([hidden])) .zl-ask-history-chevron{
  transform:rotate(180deg);
}
@media(prefers-reduced-motion:reduce){
  .zl-ask-floating-root .zl-ask-history-toggle .zl-ask-history-chevron{transition:none}
}

/* Ask V11.2 — brand hover, scoped to forecast picker only. */
.zl-ask-floating-root .zl-ask-context-picker .zl-ask-period-options button,
.zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-options button,
.zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-toggle{
  transition:background-color 150ms ease,color 150ms ease;
}
@media(hover:hover){
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-period-options button:hover,
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-options button:hover,
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-toggle:hover{
    background:#F0FFB4;color:#191b1d;
  }
}
.zl-ask-floating-root .zl-ask-context-picker .zl-ask-period-options button.active{
  background:#D8FE43;color:#191b1d;
}
.zl-ask-floating-root .zl-ask-context-picker .zl-ask-period-options button.active::after{color:#191b1d}
@media(prefers-reduced-motion:reduce){
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-period-options button,
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-options button,
  .zl-ask-floating-root .zl-ask-context-picker .zl-ask-history-toggle{transition:none}
}

/* V11.4: shared picker in panel header only; launcher geometry unchanged. */
#zlAskFloatingRoot .zl-ask-popover-header{position:relative;z-index:2}
#zlAskPanelContextToggle{display:flex;align-items:center;gap:4px;align-self:flex-start;max-width:100%;padding:0;border:0;background:transparent;color:#858b92;font:inherit;cursor:pointer;text-align:left;min-height:0}
#zlAskPanelContextToggle small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#zlAskPanelContextToggle svg{flex:none}
#zlAskPanelContextToggle[aria-expanded=true] svg{transform:rotate(180deg)}
#zlAskPanelContextToggle:focus-visible{outline:2px solid #D8FE43;outline-offset:2px;border-radius:3px}
#zlAskFloatingRoot .zl-ask-popover-header > .zl-ask-context-picker{position:absolute;top:calc(100% + 5px);bottom:auto;left:12px;right:12px;transform:none;width:auto;max-height:min(420px,65dvh);z-index:3}
#zlAskFloatingRoot .zl-ask-context-picker .zl-ask-period-options button:disabled{color:#9299a1;background:transparent;cursor:default;opacity:.65}

/* V11.5: inline forecast chooser; retain the existing suggestion arrow and geometry. */
#zlAskFloatingSuggestions[hidden],#zlAskInlineHistory[hidden],#zlAskInlineStatus[hidden]{display:none!important}
#zlAskFloatingSuggestions button:disabled{opacity:.45;cursor:default;background:#fff;border-color:#e5e8eb;transform:none}
#zlAskFloatingSuggestions button.active:not(:disabled){background:#D8FE43;border-color:#D8FE43;color:#18191b}
#zlAskInlineHistory{display:grid;gap:9px}
#zlAskInlineStatus{font-size:11px;color:#737c86;text-align:left}
