:root{
  --mea-athena-navy:#0b2845;
  --mea-athena-navy-2:#113e68;
  --mea-athena-gold:#c58b2b;
  --mea-athena-ink:#202a34;
  --mea-athena-muted:#68717d;
  --mea-athena-border:#e6e9ee;
}
.mea-athena-root *{box-sizing:border-box}
.mea-athena-launcher{
  position:fixed;right:22px;bottom:20px;z-index:99998;width:106px;height:106px;border-radius:50%;
  border:2px solid rgba(197,139,43,.72);padding:0;cursor:pointer;overflow:hidden;background:var(--mea-athena-navy);
  box-shadow:0 16px 40px rgba(11,40,69,.30),0 0 0 6px rgba(197,139,43,.10);transition:.24s ease;
}
.mea-athena-launcher:hover{transform:translateY(-4px) scale(1.025)}
.mea-athena-launcher:focus-visible,.mea-athena-close:focus-visible,.mea-athena-send:focus-visible,.mea-athena-quick button:focus-visible{outline:3px solid #e8bd66;outline-offset:3px}
.mea-athena-launcher img{width:127%;height:auto;position:absolute;left:-14%;top:-2%;max-width:none}
.mea-athena-launch-label{
  position:fixed;right:84px;bottom:130px;z-index:99997;background:#fff;color:var(--mea-athena-navy);
  border:1px solid rgba(197,139,43,.32);border-radius:13px 13px 3px 13px;padding:10px 13px;
  box-shadow:0 12px 28px rgba(11,40,69,.18);font:700 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.mea-athena-launch-label b{color:var(--mea-athena-gold)}
.mea-athena-chat{
  position:fixed;right:22px;bottom:20px;width:min(410px,calc(100vw - 24px));height:min(680px,calc(100vh - 40px));
  z-index:99999;background:#fff;border-radius:20px;box-shadow:0 28px 75px rgba(11,40,69,.28);overflow:hidden;
  display:flex;flex-direction:column;opacity:0;transform:translateY(18px) scale(.97);pointer-events:none;transition:.24s ease;
  border:1px solid rgba(197,139,43,.35);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.mea-athena-chat.open{opacity:1;transform:none;pointer-events:auto}
.mea-athena-head{min-height:114px;background:linear-gradient(135deg,var(--mea-athena-navy),var(--mea-athena-navy-2));color:#fff;padding:18px 16px 16px 106px;position:relative}
.mea-athena-head-avatar{width:84px;height:84px;border-radius:16px;overflow:hidden;position:absolute;left:14px;bottom:13px;border:1px solid rgba(255,255,255,.28);background:var(--mea-athena-navy)}
.mea-athena-head-avatar img{width:124%;height:auto;position:absolute;left:-12%;top:-2%;max-width:none}
.mea-athena-head h2{margin:9px 36px 3px 0;color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:500;letter-spacing:.04em;line-height:1.2}
.mea-athena-head p{margin:0;color:rgba(255,255,255,.75);font-size:12px;line-height:1.35}
.mea-athena-online{display:inline-flex;align-items:center;gap:6px;margin-top:7px;color:#f4e6c4;font-size:11px}
.mea-athena-online span{width:7px;height:7px;background:#7bc785;border-radius:50%;box-shadow:0 0 0 3px rgba(123,199,133,.12)}
.mea-athena-close{position:absolute;right:12px;top:10px;width:34px;height:34px;border:0;border-radius:50%;cursor:pointer;color:#fff;background:rgba(255,255,255,.10);font-size:20px;line-height:34px;padding:0}
.mea-athena-body{flex:1;overflow:auto;padding:18px 15px 14px;background:#f8f9fb;scroll-behavior:smooth}
.mea-athena-msg{display:flex;margin:0 0 12px;animation:meaAthenaArrive .22s ease}
.mea-athena-msg.user{justify-content:flex-end}
.mea-athena-bubble{max-width:84%;padding:11px 13px;border-radius:15px;font-size:14px;line-height:1.48;overflow-wrap:anywhere}
.mea-athena-msg.bot .mea-athena-bubble{background:#fff;border:1px solid var(--mea-athena-border);border-radius:5px 15px 15px 15px;box-shadow:0 4px 12px rgba(11,40,69,.04);color:var(--mea-athena-ink)}
.mea-athena-msg.user .mea-athena-bubble{background:var(--mea-athena-navy);color:#fff;border-radius:15px 5px 15px 15px}
.mea-athena-bubble a{color:#0b5ea8;text-decoration:underline;text-underline-offset:2px}
.mea-athena-sig{display:block;font-size:9px;font-weight:800;letter-spacing:.16em;color:var(--mea-athena-gold);margin-bottom:5px}
.mea-athena-quick{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 15px}
.mea-athena-quick button{border:1px solid #dfe4e9;background:#fff;color:var(--mea-athena-navy);padding:8px 10px;border-radius:999px;cursor:pointer;font:500 12px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:.18s}
.mea-athena-quick button:hover{border-color:var(--mea-athena-gold);background:#fffaf0;transform:translateY(-1px)}
.mea-athena-typing{display:none;margin:0 0 12px}
.mea-athena-typing.show{display:flex}
.mea-athena-typing>div{padding:12px 13px;border:1px solid var(--mea-athena-border);border-radius:5px 15px 15px 15px;background:#fff}
.mea-athena-typing i{display:inline-block;width:6px;height:6px;background:#9aa3ad;border-radius:50%;margin-right:4px;animation:meaAthenaPulse 1s infinite}
.mea-athena-typing i:nth-child(2){animation-delay:.15s}.mea-athena-typing i:nth-child(3){animation-delay:.3s}
.mea-athena-foot{border-top:1px solid var(--mea-athena-border);background:#fff;padding:10px;display:flex;gap:8px;align-items:flex-end}
.mea-athena-input-wrap{flex:1;background:#f7f7f7;border:1px solid #e2e6ea;border-radius:14px;padding:2px 10px}
.mea-athena-input-wrap textarea{width:100%;resize:none;border:0;outline:0;box-shadow:none;background:transparent;min-height:38px;max-height:88px;padding:10px 2px;font:400 14px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--mea-athena-ink)}
.mea-athena-send{width:42px;height:42px;border-radius:13px;border:0;background:var(--mea-athena-navy);color:#f0c66f;cursor:pointer;font-size:19px;padding:0}
.mea-athena-send[disabled]{opacity:.5;cursor:wait}
.mea-athena-legal{font-size:9px;line-height:1.3;color:#8b8f96;text-align:center;padding:0 12px 8px;background:#fff}
@keyframes meaAthenaArrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes meaAthenaPulse{0%,70%,100%{opacity:.25;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}
@media(max-width:600px){
  .mea-athena-launcher{width:82px;height:82px;right:14px;bottom:14px}
  .mea-athena-launch-label{right:58px;bottom:102px}
  .mea-athena-chat{right:0;bottom:0;width:100vw;height:100dvh;max-height:none;border-radius:0;border:0}
  .mea-athena-head{padding-top:max(18px,env(safe-area-inset-top));min-height:122px}
  .mea-athena-foot{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.mea-athena-chat,.mea-athena-launcher,.mea-athena-msg,.mea-athena-typing i{transition:none!important;animation:none!important}}
