/* Mighty BioLabs — premium anonymous live support agent chat */
body.support-page-v3{
  background:
    radial-gradient(circle at top left, rgba(18,101,215,.14), transparent 28%),
    radial-gradient(circle at top right, rgba(210,34,42,.10), transparent 26%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);
  color:#0b2447;
}

.support-live-page{max-width:1040px;margin:0 auto;padding:38px 24px 72px}
.support-live-layout{max-width:920px;margin:0 auto}

.support-live-intro{
  position:relative;overflow:hidden;margin:0 0 22px;padding:28px 30px;border:1px solid rgba(10,37,74,.08);
  border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(245,249,255,.98));
  box-shadow:0 24px 60px rgba(10,37,74,.10);
}
.support-live-intro::after{
  content:'';position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:50%;
  background:radial-gradient(circle, rgba(18,101,215,.16) 0%, rgba(18,101,215,0) 70%);
  pointer-events:none;
}
.support-live-intro__copy{position:relative;z-index:1;max-width:700px}
.support-live-intro__eyebrow{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;border-radius:999px;
  background:rgba(15,95,215,.08);color:#0d5cc5;font-size:.72rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase;
}
.support-live-intro__copy h1{margin:0;color:#092141;font-size:clamp(1.7rem,3.3vw,2.45rem);line-height:1.08;letter-spacing:-.03em}
.support-live-intro__copy p{max-width:760px;margin:12px 0 0;color:#5e748e;font-size:1rem;line-height:1.65}
.support-live-intro__badges{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.support-live-intro__badges span{
  display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid rgba(14,93,200,.10);border-radius:999px;
  background:rgba(255,255,255,.8);color:#294c72;font-size:.81rem;font-weight:800;box-shadow:0 10px 24px rgba(10,37,74,.05);
}
.support-live-intro__badges span::before{content:'✦';color:#d12f35;font-size:.65rem}

.support-chat-panel{
  overflow:hidden;border:1px solid rgba(8,35,71,.10);border-radius:32px;background:#fff;
  box-shadow:0 28px 80px rgba(10,37,74,.12);box-sizing:border-box;
}
.support-chat-panel *{box-sizing:border-box}
.support-chat-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:28px 30px 22px;
  border-bottom:1px solid #e5edf7;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
.support-chat-agent{display:flex;align-items:flex-start;gap:15px;min-width:0}
.support-chat-avatar{
  width:56px;height:56px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px;
  background:linear-gradient(135deg,#082e64,#0f63dd 72%,#4aa0ff 100%);color:#fff;font-weight:900;font-size:1rem;
  box-shadow:0 14px 36px rgba(15,95,215,.26);
}
.support-chat-agent-copy{min-width:0}
.support-live-kicker{display:block;margin:0 0 5px;color:#1764d7;font-size:.69rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.support-chat-agent-copy h2{margin:0;color:#0b2447;font-size:1.35rem;line-height:1.12;letter-spacing:-.03em}
.support-chat-subtitle{margin:8px 0 0;color:#5f7793;font-size:.92rem;line-height:1.5}
.support-chat-agent-copy #support-chat-presence{display:flex;align-items:center;gap:8px;margin:10px 0 0;color:#415c78;font-size:.8rem;line-height:1.4;font-weight:700}
.support-chat-status-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#24b36b;box-shadow:0 0 0 5px rgba(36,179,107,.13)}
.support-chat-header-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;max-width:250px}
.support-chat-header-chip{
  display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:999px;
  border:1px solid rgba(17,74,150,.10);background:#fff;color:#305073;font-size:.75rem;font-weight:900;
  box-shadow:0 10px 22px rgba(10,37,74,.05);
}

.support-chat-thread{
  min-height:460px;max-height:620px;overflow-y:auto;padding:28px 30px;background:
  linear-gradient(180deg,#fbfdff 0%,#f3f7fc 100%);
  scroll-behavior:smooth;
}
.support-chat-message{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 17px}
.support-chat-message.is-customer{align-items:flex-end}
.support-chat-message--welcome .support-chat-bubble{max-width:min(82%,660px);background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)}
.support-chat-bubble{
  max-width:min(78%,640px);padding:15px 17px;border:1px solid #dbe6f2;border-radius:10px 22px 22px 22px;
  background:#fff;color:#173a63;line-height:1.65;box-shadow:0 10px 28px rgba(10,37,74,.06);
  white-space:pre-wrap;overflow-wrap:anywhere;
}
.support-chat-message.is-customer .support-chat-bubble{
  border-color:#135cc7;border-radius:22px 10px 22px 22px;
  background:linear-gradient(135deg,#0e5bc9 0%,#1770f0 100%);color:#fff;box-shadow:0 12px 30px rgba(15,95,215,.20);
}
.support-chat-message-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px;color:#7b8ca1;font-size:.72rem}
.support-chat-message.is-customer .support-chat-message-meta{justify-content:flex-end}
.support-chat-message-meta strong{color:#48627f}

.support-direct-contact{
  display:grid;grid-template-columns:minmax(220px,.9fr) minmax(300px,1.35fr);align-items:center;gap:18px 24px;
  padding:18px 30px;border-top:1px solid #e1ebf5;background:linear-gradient(180deg,#f8fbff 0%,#f3f8fe 100%);
}
.support-direct-contact__intro{min-width:0}
.support-direct-contact__intro>div{display:grid;gap:4px}
.support-direct-contact__intro strong{color:#10335b;font-size:.9rem;font-weight:900;line-height:1.35}
.support-direct-contact__intro strong span{margin-left:5px;color:#7d8fa3;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.support-direct-contact__intro small{color:#6f8399;font-size:.74rem;font-weight:700;line-height:1.45}
.support-direct-contact__form{min-width:0}
.support-direct-contact__entry{display:flex;align-items:center;gap:10px}
.support-direct-contact__entry input{
  min-width:0;flex:1;border:1px solid #d5e0ec;border-radius:16px;background:#fff;color:#0b2447;
  padding:12px 14px;font:inherit;font-size:.84rem;outline:none;box-shadow:0 7px 20px rgba(10,37,74,.04);
}
.support-direct-contact__entry input::placeholder{color:#93a2b5}
.support-direct-contact__entry input:focus{border-color:#1764d7;box-shadow:0 0 0 4px rgba(23,100,215,.10)}
.support-direct-contact__entry button{
  flex:0 0 auto;border:0;border-radius:14px;background:linear-gradient(135deg,#e9f1fd,#dce9fb);color:#0e57bf;
  padding:12px 16px;font:inherit;font-size:.78rem;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(10,37,74,.04);
}
.support-direct-contact__entry button:hover{filter:brightness(1.01)}
.support-direct-contact__entry button:disabled{opacity:.55;cursor:not-allowed}
.support-direct-contact__state{grid-column:2;display:flex;align-items:center;gap:8px;margin-top:-8px;color:#35597d;font-size:.73rem;font-weight:800}
.support-direct-contact__state::before{content:'✓';display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e3f3e9;color:#237146;font-size:.65rem}
.support-direct-contact__state[hidden]{display:none!important}
.support-direct-contact>.field-error{grid-column:2;display:block;margin-top:-10px;font-size:.71rem}

.support-chat-composer{position:relative;margin:0;padding:24px 30px 24px;border-top:1px solid #e5edf7;background:#fff}
.support-chat-message-label,.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.support-chat-composer textarea{
  width:100%;resize:vertical;min-height:110px;max-height:240px;border:1px solid #d7e2ee;border-radius:22px;
  background:linear-gradient(180deg,#fcfdff 0%,#f8fbff 100%);color:#0b2447;padding:16px 17px;font:inherit;line-height:1.55;outline:none;
}
.support-chat-composer textarea::placeholder{color:#93a2b5}
.support-chat-composer textarea:focus{border-color:#1764d7;box-shadow:0 0 0 4px rgba(23,100,215,.10);background:#fff}
.support-chat-composer__meta{display:flex;justify-content:space-between;gap:12px;min-height:18px;margin:7px 2px 0;color:#8292a5;font-size:.72rem}
.field-error{color:#b43131;font-weight:750}
.is-invalid{border-color:#c74d4d!important;box-shadow:0 0 0 4px rgba(199,77,77,.08)!important}
.support-contact-reminder{display:flex;align-items:flex-start;gap:8px;margin:10px 2px 0;padding:10px 12px;border:1px solid #dce7f3;border-radius:13px;background:#f7faff;color:#526b86;font-size:.75rem;line-height:1.45}.support-contact-reminder span{flex:0 0 auto;color:#0f63d8;font-size:.82rem;line-height:1.25}
.support-chat-composer__actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:12px}
.support-chat-attach{
  display:inline-flex;align-items:center;gap:7px;border:1px solid #d7e1ed;border-radius:999px;
  background:linear-gradient(180deg,#ffffff 0%,#f5f9fe 100%);color:#365577;padding:10px 14px;font-size:.78rem;cursor:pointer;
  box-shadow:0 8px 22px rgba(10,37,74,.04);
}
.support-chat-attach strong{font-weight:900}
.support-chat-attach input{position:absolute;opacity:0;pointer-events:none}
.support-chat-file-summary{min-width:0;color:#6f8399;font-size:.74rem;line-height:1.4}
.support-chat-send{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:0;border-radius:999px;
  background:linear-gradient(135deg,#0a54c0,#0f6bf1);color:#fff;padding:13px 22px;font:inherit;font-size:.84rem;font-weight:900;
  cursor:pointer;box-shadow:0 14px 28px rgba(15,95,215,.24);
}
.support-chat-send:hover{filter:brightness(1.04)}
.support-chat-send:disabled{opacity:.58;cursor:not-allowed;box-shadow:none}
.support-chat-session-note{display:flex;align-items:flex-start;gap:7px;margin:14px 2px 0;color:#6f8399;font-size:.74rem;line-height:1.5}
.support-chat-session-note span{margin-top:4px;color:#2f7fe7;font-size:.55rem}
.support-chat-notice{margin:0 30px 24px;padding:13px 15px;border:1px solid #cfe1f6;border-radius:16px;background:#f2f8ff;color:#355778;font-size:.81rem;line-height:1.5;box-shadow:0 10px 24px rgba(10,37,74,.04)}
.support-chat-notice.is-warning{border-color:#efd7a5;background:#fff9eb;color:#7d5a1b}
.support-chat-notice.is-error{border-color:#ecc5c5;background:#fff4f4;color:#8d3434}
.support-chat-footnote{
  display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:16px 18px;border:1px solid rgba(8,35,71,.07);
  border-radius:22px;background:rgba(255,255,255,.76);color:#6f8399;font-size:.77rem;line-height:1.55;box-shadow:0 14px 34px rgba(10,37,74,.05);
}
.support-chat-footnote span{max-width:700px}
.support-chat-footnote a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;background:#fff;color:#0f5ecf;font-weight:900;text-decoration:none;box-shadow:0 10px 22px rgba(10,37,74,.05)}
.support-chat-footnote a:hover{text-decoration:none;filter:brightness(1.02)}
.support-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

@media(max-width:760px){
  .support-live-page{padding:24px 12px 50px}
  .support-live-intro{padding:22px 18px;border-radius:26px}
  .support-live-intro__copy h1{font-size:1.68rem}
  .support-chat-panel{border-radius:26px}
  .support-chat-header{padding:22px 18px 18px;display:grid}
  .support-chat-header-meta{justify-content:flex-start;max-width:none}
  .support-chat-thread{min-height:380px;max-height:540px;padding:22px 18px}
  .support-chat-bubble,.support-chat-message--welcome .support-chat-bubble{max-width:90%}
  .support-direct-contact{grid-template-columns:1fr;padding:16px 18px;gap:12px}
  .support-direct-contact__state,.support-direct-contact>.field-error{grid-column:1}
  .support-chat-composer{padding:18px}
  .support-chat-composer__actions{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .support-chat-attach{justify-self:start}
  .support-chat-file-summary{grid-column:1/-1;grid-row:2}
  .support-chat-send{grid-column:2;grid-row:1}
  .support-chat-notice{margin:0 18px 18px}
  .support-chat-footnote{display:grid;gap:10px;padding:14px 16px}
}

@media(max-width:480px){
  .support-chat-agent{gap:12px}
  .support-chat-avatar{width:50px;height:50px;border-radius:16px}
  .support-chat-agent-copy h2{font-size:1.15rem}
  .support-chat-subtitle{font-size:.86rem}
  .support-direct-contact__entry{display:grid;grid-template-columns:1fr}
  .support-direct-contact__entry button{width:100%}
  .support-chat-thread{min-height:340px}
  .support-chat-send{padding:12px 18px}
}
