/* NOVA — помощник NeoEvo на главной. Левый нижний угол; на телефоне почти весь экран. */
.nova-fab{
  position:fixed; right:18px; bottom:18px; z-index:9998;
  display:flex; align-items:center; gap:10px;
  padding:8px 16px 8px 8px; border:none; border-radius:999px; cursor:pointer;
  font-family:inherit; font-size:15px; font-weight:800; color:#0b1523;
  background:linear-gradient(180deg,#e8c495,#d7a56c);
  box-shadow:0 2px 6px rgba(0,0,0,.35), 0 14px 34px rgba(215,165,108,.28),
             inset 0 1px 0 rgba(255,244,225,.75);
  transition:transform .15s ease, box-shadow .15s ease;
}
.nova-fab:hover{transform:translateY(-2px);box-shadow:0 3px 8px rgba(0,0,0,.4),0 18px 40px rgba(215,165,108,.34),inset 0 1px 0 rgba(255,244,225,.8)}
.nova-fab img{width:38px;height:38px;border-radius:50%;display:block;
  box-shadow:0 0 0 2px rgba(11,21,35,.35)}
.nova-fab i{font-style:normal;white-space:nowrap}
.nova-fab .nova-dot{width:8px;height:8px;border-radius:50%;background:#2fbf6a;
  box-shadow:0 0 0 3px rgba(47,191,106,.25)}
@media(max-width:520px){ .nova-fab{right:12px;bottom:12px;padding:7px 14px 7px 7px;font-size:14px}
  .nova-fab img{width:34px;height:34px} }

.nova-box{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  width:min(400px,calc(100vw - 36px)); height:min(620px,calc(100vh - 36px));
  display:none; flex-direction:column; overflow:hidden;
  border-radius:22px; font-family:inherit;
  background:linear-gradient(180deg,#132132,#0d1725);
  box-shadow:inset 0 0 0 1px rgba(123,227,208,.16), inset 0 1px 0 rgba(255,255,255,.10),
             0 4px 12px rgba(0,0,0,.45), 0 28px 70px rgba(0,0,0,.55);
}
.nova-box.open{display:flex}
@media(max-width:760px){
  .nova-box{right:2.5vw; left:auto; bottom:5vh; width:95vw; height:90vh; border-radius:20px}
}

.nova-top{display:flex;align-items:center;gap:11px;padding:12px 14px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.08)}
.nova-top img{width:42px;height:42px;border-radius:50%;flex:0 0 auto;
  box-shadow:0 0 0 1.5px rgba(215,165,108,.5)}
.nova-top div{flex:1 1 auto;min-width:0}
.nova-top b{display:block;font-size:15px;font-weight:800;color:#f2e6d5;letter-spacing:.01em}
.nova-top span{display:block;font-size:12px;color:#8fa3bb;margin-top:1px}
.nova-x{flex:0 0 auto;width:32px;height:32px;border:none;border-radius:10px;cursor:pointer;
  color:#9fb2c8;font-size:19px;line-height:1;background:rgba(255,255,255,.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}

.nova-msgs{flex:1 1 auto;min-height:0;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:9px}
.nova-m{max-width:86%;padding:11px 13px;border-radius:15px;font-size:14.5px;line-height:1.55;
  white-space:pre-wrap;word-wrap:break-word}
.nova-m--bot{align-self:flex-start;color:#dbe6f3;background:rgba(255,255,255,.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.nova-m--me{align-self:flex-end;color:#231704;
  background:linear-gradient(180deg,#e8c495,#d7a56c);
  box-shadow:0 1px 3px rgba(0,0,0,.25)}
.nova-m a{color:#7BE3D0}
.nova-typing{align-self:flex-start;color:#8fa3bb;font-size:13.5px;padding:6px 4px}

.nova-opts{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 10px}
.nova-opts button{padding:9px 13px;border:none;border-radius:12px;cursor:pointer;
  font-family:inherit;font-size:13.5px;font-weight:650;color:#cfe0f0;
  background:rgba(123,227,208,.10);
  box-shadow:inset 0 0 0 1px rgba(123,227,208,.28)}
.nova-opts button:hover{background:rgba(123,227,208,.18)}

.nova-in{display:flex;gap:9px;padding:11px 12px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.nova-in input{flex:1 1 auto;min-width:0;padding:12px 14px;border:none;border-radius:13px;
  font-family:inherit;font-size:15px;color:#e6eef8;background:rgba(255,255,255,.06);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.10)}
.nova-in input::placeholder{color:#7d8ea3}
.nova-in button{flex:0 0 auto;width:46px;height:46px;border:none;border-radius:13px;cursor:pointer;
  color:#231704;font-size:17px;background:linear-gradient(180deg,#e8c495,#d7a56c);
  box-shadow:0 2px 6px rgba(0,0,0,.3)}
.nova-in button:disabled{opacity:.5}

/* На странице агентства действует только NOVA: прежнее окно чата скрыто. */
.aig-chat{display:none!important}
