/* Moon Web H7 — unobtrusive Ask Alice widget, independent from the H6 site theme. */
.alice-widget{position:fixed;right:max(22px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:900;font-family:inherit;font-size:14px;line-height:1.45;color:#eaf4ff;--alice-edge:rgba(135,182,255,.24);--alice-blue:#4399ff;--alice-surface:#0e1932;--alice-subtle:#a8b8d1}
.alice-widget *{box-sizing:border-box}
.alice-launcher{display:flex;align-items:center;justify-content:center;gap:10px;min-width:148px;height:56px;padding:0 17px;background:linear-gradient(120deg,#1279ef,#195bd1 65%,#314cbc);border:1px solid rgba(175,215,255,.52);box-shadow:0 6px 30px rgba(0,80,225,.37),0 0 0 4px rgba(37,113,220,.07);border-radius:999px;color:#fff;font-family:inherit;font-weight:700;font-size:14px;letter-spacing:.01em;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.alice-launcher:hover{transform:translateY(-2px);box-shadow:0 9px 35px rgba(0,100,245,.51)}
.alice-launcher:focus-visible,.alice-window button:focus-visible,.alice-window textarea:focus-visible,.alice-window a:focus-visible{outline:2px solid #94c9ff;outline-offset:3px}
.alice-launcher svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.alice-launcher[aria-expanded="true"]{background:#21436f;border-color:rgba(180,211,255,.4)}
.alice-window{position:absolute;right:0;bottom:calc(100% + 14px);width:min(390px,calc(100vw - 28px));height:min(610px,calc(100dvh - 115px));min-height:260px;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(160deg,#101e3a,#0a1228 72%);border:1px solid var(--alice-edge);border-radius:19px;box-shadow:0 24px 70px rgba(0,0,0,.64),0 0 0 1px rgba(255,255,255,.035)}
.alice-window[hidden]{display:none!important}
.alice-head{flex-shrink:0;display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(110deg,rgba(25,76,144,.54),rgba(10,25,56,.84));border-bottom:1px solid var(--alice-edge)}
.alice-mark{width:39px;height:39px;border-radius:14px;display:grid;place-items:center;color:#d5eaff;font-size:22px;background:radial-gradient(circle at 30% 25%,#79b6ff,#3265b4 57%,#172f69);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.alice-heading{min-width:0;flex:1}
.alice-heading strong{display:block;font-size:15px;letter-spacing:.01em}
.alice-heading small{display:block;font-size:11px;color:#c1d2ed;margin-top:2px}
.alice-close{border:0;background:transparent;color:#bbd0e9;font-size:25px;line-height:1;border-radius:8px;min-width:30px;min-height:30px;cursor:pointer}
.alice-close:hover{color:#fff;background:rgba(255,255,255,.09)}
.alice-disclosure{flex-shrink:0;padding:11px 15px;color:#bed1e6;font-size:11px;line-height:1.5;background:rgba(30,64,108,.22);border-bottom:1px solid rgba(110,165,230,.16)}
.alice-disclosure strong{color:#e2ecfa}
.alice-chat-log{flex:1;min-height:0;overflow-y:auto;padding:16px 15px;display:flex;flex-direction:column;gap:12px;scrollbar-color:#466a9b transparent;overscroll-behavior:contain}
.alice-bubble{align-self:flex-start;max-width:90%;padding:11px 13px;white-space:pre-wrap;overflow-wrap:anywhere;background:#1b2d4d;color:#edf5ff;border:1px solid rgba(166,204,255,.1);border-radius:14px 14px 14px 4px;font-size:13px;line-height:1.55}
.alice-bubble[data-role="user"]{align-self:flex-end;background:linear-gradient(130deg,#196fe0,#1749b6);border-color:rgba(143,198,255,.36);color:white;border-radius:14px 14px 4px 14px}
.alice-bubble[data-role="error"]{color:#ffd0d0;background:rgba(130,30,40,.3);border-color:rgba(255,122,132,.25)}
.alice-chat-form{flex-shrink:0;display:flex;gap:9px;align-items:flex-end;border-top:1px solid var(--alice-edge);padding:12px 14px 8px}
.alice-input{flex:1;min-width:0;max-height:125px;resize:none;background:#0d203b;color:#fff;border:1px solid rgba(138,184,243,.3);border-radius:11px;padding:10px 11px;outline:none;font-family:inherit;font-size:13px;line-height:1.5}
.alice-input::placeholder{color:#91a9c8}
.alice-send{height:40px;min-width:65px;border:0;border-radius:11px;background:#1978ec;color:#fff;padding:0 12px;font-size:12px;font-family:inherit;font-weight:700;cursor:pointer}
.alice-send:hover:not(:disabled){background:#2c8bff}
.alice-send:disabled{opacity:.48;cursor:wait}
.alice-status{padding:0 16px 4px;min-height:18px;color:#a5bee1;font-size:11px;line-height:1.5}
.alice-foot{padding:3px 16px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--alice-subtle);font-size:10px}
.alice-foot a{color:#a6d1ff;text-decoration:underline;text-underline-offset:2px}
@media(max-width:560px){.alice-widget{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.alice-launcher{height:54px;min-width:54px;padding:0 13px}.alice-launcher span{font-size:13px}.alice-window{bottom:calc(100% + 10px);height:min(70dvh,650px);width:calc(100vw - 24px);border-radius:16px}.alice-chat-log{padding:13px 12px}.alice-head{padding:13px 14px}}
@media(max-width:365px){.alice-launcher span{display:none}.alice-launcher{width:54px;padding:0}.alice-window{height:min(73dvh,620px)}}
@media(prefers-reduced-motion:reduce){.alice-launcher{transition:none}}
.alice-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}
