/* BizKickoff v2.1 — expanded focus chat and reader-controlled responses */
.premium-grid,
.premium-chat,
.premium-chat .messages {
  transition:grid-template-columns .35s ease,gap .35s ease,max-width .35s ease,height .35s ease,min-height .35s ease;
}

@media (min-width:1051px) {
  .premium-grid.chat-active {
    max-width:1580px;
    grid-template-columns:minmax(300px,.54fr) minmax(780px,1.46fr);
    gap:34px;
  }
  .premium-grid.chat-active .premium-copy h1 {
    font-size:clamp(50px,4vw,68px)!important;
  }
  .premium-chat.is-expanded .messages {
    height:min(56vh,590px);
    min-height:430px;
  }
}

.premium-chat.is-expanded {
  box-shadow:0 0 0 1px rgba(55,229,241,.16),0 0 25px rgba(25,229,242,.30),0 34px 78px rgba(0,0,0,.48);
}

.jump-latest {
  position:absolute;
  z-index:8;
  right:30px;
  bottom:142px;
  border:1px solid rgba(71,226,235,.72);
  border-radius:999px;
  padding:9px 13px;
  background:rgba(3,28,47,.96);
  color:#f5fdff;
  font:700 12px Manrope,Arial,sans-serif;
  box-shadow:0 8px 24px rgba(0,0,0,.35),0 0 14px rgba(25,229,242,.15);
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.jump-latest.is-visible { opacity:1;visibility:visible;transform:translateY(0); }
.jump-latest:focus-visible { outline:2px solid #fff;outline-offset:3px; }

@media (max-width:1050px) {
  .premium-grid.chat-active {
    max-width:100%;
    padding-top:12px;
  }
  .premium-grid.chat-active .premium-copy { display:none; }
  .premium-grid.chat-active .premium-assistant { max-width:940px; }
  .premium-chat.is-expanded .messages {
    height:clamp(430px,58svh,680px);
  }
}

@media (max-width:700px) {
  .premium-grid.chat-active { padding:8px 6px 18px; }
  .premium-grid.chat-active .premium-assistant { width:100%; }
  .premium-chat.is-expanded {
    min-height:calc(100svh - 90px);
    border-radius:16px;
  }
  .premium-chat.is-expanded .messages {
    height:calc(100svh - 300px);
    min-height:360px;
  }
  .jump-latest { right:18px;bottom:132px; }
}

@media (max-width:430px) {
  .premium-chat.is-expanded .messages {
    height:calc(100svh - 285px);
    min-height:340px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .premium-grid,.premium-chat,.premium-chat .messages,.jump-latest { transition:none; }
}
