/* REUSED ASSET — Infinity ChatBox sales advisor + floating launcher.
   Source: jeanechandia-png/infinity-chatbox-platform@3a254a2 app/chatbox-sales-advisor.css (byte-identical body below).
   Do not edit here; site-specific adaptation lives in infinityseed-v8.css. */
.chatbox-sales-section{
  width:min(1180px,calc(100% - 32px));
  margin:84px auto 0;
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:34px;
  align-items:stretch;
}
.chatbox-sales-copy,
.chatbox-sales-chat{
  border:1px solid rgba(83,170,255,.18);
  border-radius:28px;
  background:
    radial-gradient(circle at 15% 0%,rgba(0,122,255,.13),transparent 42%),
    linear-gradient(180deg,rgba(6,22,42,.94),rgba(2,11,23,.98));
  box-shadow:0 28px 80px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.03);
}
.chatbox-sales-copy{padding:38px}
.chatbox-sales-copy h2{
  margin:14px 0 14px;
  font-size:clamp(2.25rem,4vw,4.5rem);
  line-height:.98;
  letter-spacing:-.045em;
  max-width:760px;
}
.chatbox-sales-lede{
  margin:0;
  max-width:700px;
  color:rgba(231,241,255,.72);
  font-size:1.04rem;
  line-height:1.75;
}
.chatbox-sales-capabilities{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:28px;
}
.chatbox-sales-capabilities article{
  min-height:150px;
  padding:18px;
  border:1px solid rgba(78,154,244,.14);
  border-radius:19px;
  background:linear-gradient(180deg,rgba(12,39,72,.78),rgba(5,21,40,.72));
  position:relative;
  overflow:hidden;
}
.chatbox-sales-capabilities article::after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  right:-45px;
  bottom:-55px;
  border-radius:50%;
  background:rgba(0,122,255,.09);
  filter:blur(2px);
}
.chatbox-sales-capabilities strong{display:block;font-size:.98rem;margin:20px 0 8px}
.chatbox-sales-capabilities p{margin:0;color:rgba(230,240,255,.62);font-size:.88rem;line-height:1.55}
.sales-number{
  position:absolute;
  top:14px;
  right:16px;
  color:rgba(76,171,255,.52);
  font-size:.74rem;
  letter-spacing:.12em;
}
.chatbox-support-ribbon{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border:1px solid rgba(0,214,148,.18);
  border-radius:18px;
  background:rgba(0,214,148,.055);
}
.chatbox-support-ribbon i{
  width:10px;height:10px;border-radius:50%;
  background:#16e09b;
  box-shadow:0 0 18px rgba(22,224,155,.85);
  flex:none;
}
.chatbox-support-ribbon strong,
.chatbox-support-ribbon span{display:block}
.chatbox-support-ribbon strong{font-size:.9rem}
.chatbox-support-ribbon span{margin-top:3px;color:rgba(230,240,255,.63);font-size:.82rem}

.chatbox-sales-chat{
  min-height:0;
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto auto;
}
.chatbox-sales-chat>header{
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid rgba(87,167,255,.13);
  background:rgba(5,20,39,.9);
}
.sales-chat-brand{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.sales-chat-brand img{
  width:144px;height:72px;max-width:100%;object-fit:contain;object-position:left center;filter:drop-shadow(0 5px 3px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(0,122,255,.35));
}
.sales-chat-brand span{display:flex;align-items:center;gap:7px;margin-top:0;color:rgba(220,236,255,.58);font-size:.73rem}
.sales-chat-brand span i{width:7px;height:7px;border-radius:50%;background:#1ee5a2;box-shadow:0 0 12px #1ee5a2}
.sales-market-status{
  padding:8px 10px;
  border:1px solid rgba(78,166,255,.18);
  border-radius:999px;
  color:rgba(214,234,255,.67);
  font-size:.68rem;
  white-space:nowrap;
}
.sales-chat-body{
  padding:24px 20px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:11px;
  background:
    linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);
  background-size:36px 36px;
}
.sales-bubble{
  max-width:84%;
  padding:13px 15px;
  border-radius:17px;
  font-size:.92rem;
  line-height:1.55;
  white-space:pre-wrap;
}
.sales-bubble.assistant{
  align-self:flex-start;
  border:1px solid rgba(89,175,255,.14);
  border-bottom-left-radius:5px;
  background:linear-gradient(180deg,rgba(15,50,88,.92),rgba(7,29,55,.92));
  color:#eef7ff;
}
.sales-bubble.user{
  align-self:flex-end;
  border:1px solid rgba(38,139,255,.32);
  border-bottom-right-radius:5px;
  background:linear-gradient(135deg,#0a7dff,#005fd2);
  color:white;
}
.sales-bubble.error{border-color:rgba(255,103,103,.26);background:rgba(105,25,25,.28)}
.sales-bubble.typing{display:flex;gap:6px;align-items:center;min-width:56px}
.sales-bubble.typing span{width:6px;height:6px;border-radius:50%;background:#6abaff;animation:salesTyping 1.2s infinite ease-in-out}
.sales-bubble.typing span:nth-child(2){animation-delay:.14s}
.sales-bubble.typing span:nth-child(3){animation-delay:.28s}
@keyframes salesTyping{0%,80%,100%{opacity:.32;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}

.sales-chat-prompts{
  display:flex;
  gap:8px;
  padding:14px 16px;
  flex-wrap:wrap;
  border-top:1px solid rgba(87,167,255,.09);
}
.sales-chat-prompts button{
  flex:1 1 42%;
  max-width:270px;
  text-align:left;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(88,175,255,.18);
  background:rgba(10,42,76,.72);
  color:rgba(231,242,255,.8);
  font-size:.76rem;
  cursor:pointer;
  transition:.2s ease;
}
.sales-chat-prompts button:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(92,180,255,.45);background:rgba(12,55,98,.82)}
.sales-chat-prompts button:disabled{opacity:.45;cursor:not-allowed}
.sales-chat-form{
  display:grid;
  grid-template-columns:1fr 52px;
  gap:10px;
  padding:14px 16px;
  border-top:1px solid rgba(87,167,255,.1);
}
.sales-chat-form input{
  min-width:0;
  height:50px;
  border-radius:15px;
  border:1px solid rgba(92,178,255,.17);
  background:rgba(2,15,29,.86);
  color:#f4f8ff;
  padding:0 15px;
  outline:none;
}
.sales-chat-form input:focus{border-color:rgba(40,154,255,.65);box-shadow:0 0 0 3px rgba(0,122,255,.09)}
.sales-chat-form button{
  height:50px;border:0;border-radius:15px;
  background:linear-gradient(135deg,#0b89ff,#0064dc);
  color:white;font-size:1.05rem;cursor:pointer;
  box-shadow:0 10px 24px rgba(0,102,220,.25);
}
.sales-chat-form button:disabled{opacity:.45;cursor:not-allowed}
.chatbox-sales-chat>footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding:12px 17px 15px;
  color:rgba(216,234,255,.48);
  font-size:.7rem;
}
.chatbox-sales-chat>footer a{
  color:#54b5ff;
  text-decoration:none;
  border-bottom:1px solid rgba(84,181,255,.24);
}

.chatbox-sales-launcher{
  position:fixed!important;
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:max(18px,env(safe-area-inset-bottom))!important;
  z-index:120!important;
  border:1px solid rgba(82,180,255,.38);
  border-radius:999px;
  min-height:54px;
  padding:0 18px 0 10px;
  display:flex;
  align-items:center;
  gap:9px;
  color:#f8fbff;
  background:linear-gradient(135deg,rgba(8,38,70,.97),rgba(1,17,32,.97));
  box-shadow:0 14px 40px rgba(0,0,0,.36),0 0 30px rgba(0,122,255,.16);
  cursor:pointer;
  backdrop-filter:blur(16px);
}
.chatbox-sales-launcher>span{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#128cff,#005bd0);
  box-shadow:0 0 20px rgba(0,122,255,.35);
  font-size:1.15rem;
}
.chatbox-sales-launcher i{
  width:8px;height:8px;border-radius:50%;
  background:#1ee5a2;box-shadow:0 0 11px #1ee5a2;
}

@media (max-width:980px){
  .chatbox-sales-section{grid-template-columns:1fr}
  .chatbox-sales-chat{min-height:0}
}
@media (max-width:640px){
  .chatbox-sales-section{width:min(100% - 20px,1180px);margin-top:56px;gap:16px}
  .chatbox-sales-copy{padding:24px 18px}
  .chatbox-sales-copy h2{font-size:clamp(2rem,11vw,3.25rem)}
  .chatbox-sales-capabilities{grid-template-columns:1fr}
  .chatbox-sales-capabilities article{min-height:128px}
  .chatbox-sales-chat{min-height:0;border-radius:22px}
  .chatbox-sales-chat>header{align-items:flex-start;flex-direction:column}
  .sales-market-status{white-space:normal}
  .sales-bubble{max-width:92%}
  .chatbox-sales-launcher{right:max(12px,env(safe-area-inset-right))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;min-height:50px;font-size:.82rem}
}

/* The sales conversation is the primary funnel, distinct from the 3 Kings demo. */
.chatbox-sales-section{align-items:start;scroll-margin-top:100px}
.chatbox-sales-section>*{min-width:0}
.chatbox-sales-copy h2{font-size:clamp(1.8rem,3.5vw,3.2rem);line-height:1.08}
.chatbox-sales-lede{line-height:1.55}
.chatbox-sales-chat{box-shadow:0 26px 70px #0008,0 0 34px #007aff24,inset 0 1px 1px #ffffff40}
.sales-chat-body{height:clamp(250px,40svh,430px);overscroll-behavior:contain}
.sales-bubble{overflow-wrap:anywhere;min-width:0}
.sales-market-status{white-space:normal;max-width:190px}
.sales-chat-prompts button{min-width:0;max-width:none;border-radius:12px;min-height:44px}
.chatbox-sales-chat>footer{flex-wrap:wrap;line-height:1.5}
.chatbox-sales-chat>footer a{min-height:44px;display:inline-flex;align-items:center}
.sales-capabilities-details{margin-top:20px}
.sales-capabilities-details summary{cursor:pointer;min-height:44px;color:#c9e6ff}
.sales-demo-link{display:inline-block;padding:12px 0;color:#8acbff}
.chatbox-sales-chat[data-connection="unavailable"] .sales-chat-brand span i{background:#ffc779;box-shadow:0 0 8px #ffc77966}
.sales-chat-prompts button:focus-visible,.chatbox-sales-chat a:focus-visible,.sales-capabilities-details summary:focus-visible,.chatbox-sales-launcher:focus-visible,.sales-chat-form button:focus-visible{outline:3px solid #84d2ff;outline-offset:3px}
@media(max-width:640px){
  .chatbox-sales-section{margin-top:28px}
  .chatbox-sales-copy{padding:22px 18px}
  .sales-chat-body{padding:18px 14px}
  .sales-chat-form input{font-size:16px}
  .chatbox-sales-launcher{position:fixed!important;right:max(12px,env(safe-area-inset-right))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;margin:0!important;max-width:calc(100% - 24px)}
}
@media(prefers-reduced-motion:reduce){
  .chatbox-sales-section *,.chatbox-sales-launcher{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* PRODUCT ADVISOR PROPORTION LOCK — 2026-09-27 */
.chatbox-sales-section{
  width:min(1420px,calc(100% - 28px))!important;
  margin:28px auto 16px!important;
  grid-template-columns:minmax(300px,.62fr) minmax(0,1.38fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.chatbox-sales-copy{padding:28px!important;border-radius:22px!important}
.chatbox-sales-copy h2{
  margin:10px 0 12px!important;
  font-size:clamp(1.75rem,2.7vw,2.9rem)!important;
  line-height:1.03!important;
}
.chatbox-sales-lede{font-size:.98rem!important;line-height:1.55!important}
.sales-capabilities-details{margin-top:14px!important}
.sales-demo-link{padding:10px 0!important}
.chatbox-support-ribbon{margin-top:12px!important;padding:13px 14px!important}
.chatbox-sales-chat{width:100%!important;min-width:0!important;border-radius:22px!important}
.chatbox-sales-chat>header{padding:15px 18px!important}
.sales-chat-brand img{width:144px!important;height:72px!important}
.sales-chat-body{
  height:auto!important;
  min-height:210px!important;
  max-height:320px!important;
  padding:18px!important;
}
.sales-chat-prompts{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  padding:12px 14px!important;
}
.sales-chat-prompts button{
  width:100%!important;
  max-width:none!important;
  min-height:46px!important;
  border-radius:12px!important;
}
.sales-chat-form{padding:12px 14px!important}
.chatbox-sales-chat>footer{padding:10px 15px 13px!important}

@media(max-width:980px){
  .chatbox-sales-section{grid-template-columns:1fr!important;gap:10px!important}
}
@media(max-width:640px){
  .chatbox-sales-section{
    width:calc(100% - 16px)!important;
    margin:22px auto 12px!important;
    gap:10px!important;
  }
  .chatbox-sales-copy{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:14px 8px 8px!important;
  }
  .chatbox-sales-copy h2{
    font-size:clamp(1.8rem,8.7vw,2.55rem)!important;
    margin:8px 0 10px!important;
  }
  .chatbox-sales-lede{font-size:.94rem!important;line-height:1.45!important}
  .sales-capabilities-details{
    margin-top:12px!important;
    border-top:1px solid rgba(82,176,255,.16);
    padding-top:8px;
  }
  .sales-demo-link{padding:8px 0!important}
  .chatbox-support-ribbon{
    margin-top:8px!important;
    padding:11px 12px!important;
    border-radius:14px!important;
  }
  .chatbox-sales-chat{border-radius:20px!important;overflow:hidden!important}
  .chatbox-sales-chat>header{
    padding:13px 14px!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:10px!important;
  }
  .sales-chat-brand{gap:5px!important}
  .sales-chat-brand img{width:128px!important;height:64px!important}
  .sales-market-status{
    max-width:122px!important;
    padding:7px 8px!important;
    font-size:.62rem!important;
    line-height:1.25!important;
  }
  .sales-chat-body{
    min-height:180px!important;
    max-height:285px!important;
    padding:14px!important;
  }
  .sales-bubble{
    max-width:94%!important;
    padding:11px 12px!important;
    font-size:.86rem!important;
    line-height:1.45!important;
  }
  .sales-chat-prompts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:10px!important;
  }
  .sales-chat-prompts button{padding:9px 10px!important;font-size:.72rem!important}
  .sales-chat-form{
    grid-template-columns:minmax(0,1fr) 48px!important;
    padding:10px!important;
  }
  .sales-chat-form input,.sales-chat-form button{height:48px!important}
  .chatbox-sales-chat>footer{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    align-items:start!important;
    gap:6px 10px!important;
    padding:10px 12px 12px!important;
  }
  .chatbox-sales-chat>footer>span{grid-column:1/-1!important}
  .chatbox-sales-launcher{
    position:fixed!important;
    right:max(12px,env(safe-area-inset-right))!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
    margin:0!important;
    min-height:48px!important;
    max-width:calc(100% - 24px)!important;
    padding:0 15px 0 9px!important;
  }
}
@media(max-width:390px){
  .sales-chat-prompts{grid-template-columns:1fr!important}
  .chatbox-sales-chat>header{display:grid!important;grid-template-columns:1fr!important}
  .sales-market-status{max-width:100%!important;width:max-content!important}
}


/* FLOATING SALES LAUNCHER LOCK — 2026-09-30
   Owner correction: the launcher is a persistent viewport control, never
   inline page content. It must remain available while scrolling. */
.chatbox-sales-launcher{
  position:fixed!important;
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:max(18px,env(safe-area-inset-bottom))!important;
  z-index:120!important;
  margin:0!important;
  isolation:isolate;
}
.chatbox-sales-launcher:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 46px rgba(0,0,0,.42),0 0 34px rgba(0,153,255,.28);
}
.chatbox-sales-launcher:active{transform:translateY(1px) scale(.985)}
@media(max-width:640px){
  .chatbox-sales-launcher{
    right:max(12px,env(safe-area-inset-right))!important;
    bottom:max(12px,env(safe-area-inset-bottom))!important;
    max-width:calc(100% - 24px)!important;
  }
}


/* FLOATING CHAT WINDOW — 2026-10-01
   One conversation state, moved to the viewport when opened. The page remains
   scrollable behind it; the panel never creates a second independent chat. */
.chatbox-sales-section.floating-active{
  grid-template-columns:minmax(0,1fr)!important;
}
.chatbox-sales-section.floating-active .chatbox-sales-copy{
  max-width:820px;
}
.sales-chat-header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:0;
  flex-wrap:wrap;
}
.sales-chat-reset{
  min-height:36px;
  padding:7px 10px;
  border:1px solid rgba(84,181,255,.22);
  border-radius:999px;
  background:rgba(5,30,57,.8);
  color:#bfe2ff;
  font:inherit;
  font-size:.68rem;
  cursor:pointer;
}
.sales-chat-reset:hover:not(:disabled){
  border-color:rgba(84,181,255,.52);
  background:rgba(10,52,92,.9);
}
.sales-chat-reset:disabled{opacity:.45;cursor:not-allowed}
.sales-chat-reset:focus-visible,
.sales-chat-close:focus-visible{
  outline:3px solid #84d2ff;
  outline-offset:3px;
}
.sales-chat-reset.is-compact{
  width:40px;height:40px;padding:0;border-radius:12px;
  display:grid;place-items:center;font-size:1.2rem;
}
.sales-chat-close{
  width:40px;height:40px;flex:0 0 40px;
  border:1px solid rgba(84,181,255,.22);border-radius:12px;
  background:rgba(2,18,35,.8);color:#f4f8ff;
  font-size:1.35rem;line-height:1;cursor:pointer;
}
.chatbox-sales-floating-panel{
  position:fixed!important;
  right:max(18px,env(safe-area-inset-right))!important;
  bottom:calc(84px + env(safe-area-inset-bottom))!important;
  z-index:121!important;
  width:min(440px,calc(100vw - 36px));
  max-width:calc(100vw - 36px);
  max-height:calc(100svh - 112px - env(safe-area-inset-top));
  max-height:calc(100dvh - 112px - env(safe-area-inset-top));
  display:flex;
  flex-direction:column;
  border:1px solid rgba(82,180,255,.34);
  border-radius:24px;
  overflow:hidden;
  background:rgba(2,11,23,.985);
  box-shadow:0 28px 90px rgba(0,0,0,.58),0 0 42px rgba(0,122,255,.2);
  backdrop-filter:blur(20px);
  isolation:isolate;
}

.chatbox-sales-floating-panel>.chatbox-sales-chat{
  width:100%!important;
  min-height:0!important;
  max-height:calc(100dvh - 112px - env(safe-area-inset-top))!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.chatbox-sales-floating-panel .sales-chat-body{
  min-height:150px!important;
  max-height:280px!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.chatbox-sales-launcher.is-open{
  border-color:rgba(84,181,255,.58);
  box-shadow:0 18px 48px rgba(0,0,0,.48),0 0 38px rgba(0,122,255,.28);
}
@media(max-width:640px){
  .chatbox-sales-floating-panel{
    right:max(8px,env(safe-area-inset-right))!important;
    bottom:calc(70px + env(safe-area-inset-bottom))!important;
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
    max-height:calc(100svh - 86px - env(safe-area-inset-top));
    max-height:calc(100dvh - 86px - env(safe-area-inset-top));
    border-radius:20px;
  }
  .chatbox-sales-floating-panel>.chatbox-sales-chat{
    max-height:calc(100dvh - 86px - env(safe-area-inset-top))!important;
  }
  .chatbox-sales-floating-panel .sales-chat-body{
    min-height:132px!important;
    max-height:240px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-form input{
    font-size:16px!important;
  }
}
@media(max-width:390px){
  .sales-chat-header-actions{
    justify-content:flex-start;
  }
}
@media(max-height:760px) and (orientation:landscape){
  .chatbox-sales-floating-panel{
    top:max(8px,env(safe-area-inset-top))!important;
    right:max(76px,env(safe-area-inset-right))!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;
    width:min(520px,calc(100vw - 96px));
    max-width:calc(100vw - 96px);
    max-height:none;
  }
  .chatbox-sales-floating-panel>.chatbox-sales-chat{
    max-height:calc(100dvh - 16px)!important;
  }
  .chatbox-sales-floating-panel .sales-chat-body{
    min-height:90px!important;
    max-height:145px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-prompts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Audited conversion form: same advisor state, no parallel conversation. */
.sales-bubble.typing small{font-size:.75rem;color:#c9e7ff;margin-left:8px}
.sales-lead-panel{padding:0 14px 12px;min-width:0}
.sales-lead-toggle,.sales-lead-content button{
  border:1px solid #5bc4ff;border-radius:12px;padding:10px 14px;min-height:44px;
  color:white;background:linear-gradient(180deg,#32c5ff,#0879dc 55%,#083b99);
  box-shadow:inset 0 1px 1px #c6f2ff,0 4px 12px #001b42;cursor:pointer;font:inherit;
}
.sales-lead-toggle:focus-visible,.sales-lead-content :focus-visible{outline:3px solid #9cdfff;outline-offset:2px}
.sales-lead-content{max-height:42dvh;overflow-y:auto;overscroll-behavior:contain;padding:12px 4px;overflow-wrap:anywhere}
.sales-lead-content form{display:grid;gap:10px}
.sales-lead-content label{display:grid;gap:5px;font-size:.85rem;color:#e7f3ff}
.sales-lead-content input:not([type=checkbox]),.sales-lead-content textarea{
  width:100%;box-sizing:border-box;min-width:0;border:1px solid #477599;
  border-radius:9px;padding:10px;background:#06172b;color:#fff;font:inherit;font-size:16px;
}
.sales-lead-content textarea{min-height:75px;resize:vertical}
.sales-lead-content .sales-lead-consent{display:flex;align-items:flex-start;gap:8px}
.sales-lead-consent input{flex:0 0 auto;margin-top:4px}
.sales-lead-content a{color:#9bdaff}
.sales-lead-content button:disabled{opacity:.55;cursor:not-allowed}
.chatbox-sales-floating-panel>.chatbox-sales-chat{overflow-y:auto!important;overscroll-behavior:contain}



/* LOW LANDSCAPE FLOATING ADVISOR — keep controls in the viewport.
   Only the message history scrolls; prompts, composer and actions stay usable. */
@media(max-height:520px) and (orientation:landscape){
  .chatbox-sales-floating-panel{
    min-height:0!important;
  }
  .chatbox-sales-floating-panel>.chatbox-sales-chat{
    flex:1 1 0!important;
    min-height:0!important;
    height:100%!important;
    max-height:none!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto auto auto!important;
    overflow:hidden!important;
    overscroll-behavior:auto!important;
  }
  .chatbox-sales-floating-panel>.chatbox-sales-chat>header{
    min-height:0!important;
    padding:7px 12px!important;
    gap:8px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-brand{
    gap:2px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-brand img{
    width:104px!important;
    height:48px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-brand span{
    font-size:.68rem!important;
  }
  .chatbox-sales-floating-panel .sales-chat-header-actions{
    gap:6px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-reset,
  .chatbox-sales-floating-panel .sales-chat-close{
    width:36px!important;
    height:36px!important;
    min-height:36px!important;
    flex-basis:36px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-body{
    min-height:0!important;
    max-height:none!important;
    height:auto!important;
    padding:8px 12px!important;
    gap:7px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch;
  }
  .chatbox-sales-floating-panel .sales-bubble{
    padding:8px 10px!important;
    font-size:.82rem!important;
    line-height:1.35!important;
  }
  .chatbox-sales-floating-panel .sales-chat-prompts{
    min-height:0!important;
    gap:6px!important;
    padding:7px 10px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-prompts button{
    min-height:38px!important;
    padding:7px 9px!important;
    font-size:.7rem!important;
    line-height:1.25!important;
  }
  .chatbox-sales-floating-panel .sales-chat-form{
    grid-template-columns:minmax(0,1fr) 44px!important;
    gap:7px!important;
    padding:7px 10px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-form input,
  .chatbox-sales-floating-panel .sales-chat-form button{
    height:42px!important;
  }
  .chatbox-sales-floating-panel>.chatbox-sales-chat>footer{
    gap:4px 8px!important;
    padding:5px 10px 7px!important;
    font-size:.64rem!important;
    line-height:1.25!important;
  }
  .chatbox-sales-floating-panel .sales-lead-panel{
    padding:0 10px 6px!important;
  }
  .chatbox-sales-floating-panel .sales-lead-toggle,
  .chatbox-sales-floating-panel .sales-lead-content button{
    min-height:36px!important;
    padding:7px 10px!important;
  }
}


/* DESKTOP-ONLY FLOATING ADVISOR CONTAINMENT — 2026-10-09.
   Preserve the exact previously approved mobile/tablet CSS above unchanged.
   Fix the desktop grid and isolate the advisor footer from global landing footer. */
@media (min-width: 981px) {
  .chatbox-sales-floating-panel > .chatbox-sales-chat {
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr) auto auto auto auto!important;
    min-height:0!important;
    overflow:hidden!important;
    overscroll-behavior:auto!important;
  }
  .chatbox-sales-floating-panel .sales-chat-body {
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
  .chatbox-sales-floating-panel > .chatbox-sales-chat > footer {
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    box-sizing:border-box;
  }
  .chatbox-sales-floating-panel .sales-lead-panel {
    min-height:0;
    max-height:min(40dvh,240px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}

/* DESKTOP SHORT-VIEWPORT GREETING VISIBILITY — 2026-10-10.
   At 1024×768 the former QA report had greetingFullyVisible=false while PASS.
   Preserve every approved rule at <=980px; compact desktop-only vertical
   chrome so the initial greeting and all four CTA prompts are unobstructed. */
@media (min-width: 981px) and (max-height: 800px) {
  .chatbox-sales-floating-panel > .chatbox-sales-chat > header {
    padding: 8px 16px!important;
  }
  .chatbox-sales-floating-panel .sales-chat-body {
    padding: 10px 16px!important;
  }
}
