#quorra-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0f172a 0%, #162238 100%);
  color: #f8fafc;
  border: 2px solid #22d3ee;
  border-radius: 999px;
  padding: 6px 18px 6px 6px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#quorra-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.55);
}
.q-fab-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #22d3ee;
  background: #070b12 url('/static/brand/quorra-banner.png') 78% 18% / 420% no-repeat;
  flex-shrink: 0;
}
#quorra-box {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 95;
  width: 390px;
  max-width: calc(100vw - 32px);
  background: #0b111e;
  border: 1px solid #22d3ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}
#quorra-box[hidden] {
  display: none;
}
.q-hero {
  position: relative;
  height: 150px;
  background: #070b12 url('/static/brand/quorra-banner.png') right center / cover no-repeat;
  border-bottom: 1px solid #22d3ee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}
.q-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 11, 18, 0.92) 0%, rgba(7, 11, 18, 0.45) 55%, rgba(7, 11, 18, 0.05) 100%);
  pointer-events: none;
}
.q-hero-top {
position: relative;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
}
.q-hero-top strong {
color: #22d3ee;
font-size: 13px;
letter-spacing: 0.4px;
text-transform: uppercase;
}
.q-hero-top button {
background: rgba(15, 23, 42, 0.75);
border: 1px solid #26334d;
border-radius: 50%;
width: 26px;
height: 26px;
color: #e2e8f0;
font-size: 16px;
line-height: 1;
cursor: pointer;
}
.q-hero-caption {
position: relative;
z-index: 1;
max-width: 58%;
font-size: 12px;
color: #e2e8f0;
line-height: 1.35;
}
.q-hero-caption span {
display: block;
color: #38bdf8;
font-weight: 800;
font-size: 13px;
margin-bottom: 2px;
}
.q-msgs {
padding: 12px;
height: 250px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
font-size: 13px;
line-height: 1.45;
}
.q-msg {
padding: 9px 12px;
border-radius: 10px;
white-space: pre-line;
}
.q-msg.bot {
background: #162033;
color: #f1f5f9;
border: 1px solid #26334d;
align-self: flex-start;
}
.q-msg.usr {
background: #0284c7;
color: #fff;
align-self: flex-end;
}
.q-offer-link {
display: block;
margin-top: 6px;
padding: 6px 8px;
background: #00a650;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-weight: 700;
font-size: 12px;
}
.q-form {
display: flex;
border-top: 1px solid #26334d;
background: #131a26;
}
.q-form input {
flex: 1;
background: transparent;
border: 0;
color: #fff;
padding: 11px 12px;
font-size: 13px;
outline: none;
}
.q-form button {
background: #22d3ee;
color: #090d16;
border: 0;
padding: 0 16px;
font-weight: 800;
cursor: pointer;
}
