.ms-enabled .cw{display:none!important}.ms-launcher{position:fixed;right:22px;bottom:24px;z-index:900;background:#ff6019!important;color:#17200f!important;border-color:#ff6019!important;border-radius:30px!important;padding:14px 23px!important;font-weight:800!important;box-shadow:0 7px 30px #0005}.ms-dialog{box-sizing:border-box;width:min(690px,calc(100vw - 32px));height:min(760px,86dvh);max-height:86dvh;padding:0;border:1px solid #8b8653;border-radius:20px;background:#1c2414;color:#eee8d3;box-shadow:0 20px 90px #0008;overflow:hidden}.ms-dialog[open]{display:flex;flex-direction:column;animation:ms-in .18s ease}.ms-dialog::backdrop{background:#080e09b8;backdrop-filter:blur(4px)}.ms-open{overflow:hidden}.ms-header{display:flex!important;position:static!important;align-items:center;gap:12px;padding:14px 18px!important;border-bottom:1px solid #b5ac6c40;background:#28321e!important;min-height:64px;flex:none}.ms-header h2{font:700 19px/1.3 Manrope,sans-serif;margin:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ms-button{font:inherit;font-weight:700;color:inherit;background:#2b3520;border:1px solid #afa57588;border-radius:12px;padding:10px 14px;min-height:44px;cursor:pointer}.ms-button:focus-visible,.ms-search:focus-visible,.ms-compose textarea:focus-visible{outline:2px solid #ff722d;outline-offset:2px}.ms-button:disabled{opacity:.6;cursor:default}.ms-button:hover:enabled{border-color:#ff722d}.ms-close{font-size:25px;padding:1px 12px}.ms-back{font-size:12px;padding:8px}.ms-body{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:16px;gap:12px;overscroll-behavior:contain}.ms-results h3{font-size:14px;color:#c7b98d;margin:16px 0 8px}.ms-results h3:first-child{margin-top:0}.ms-search{box-sizing:border-box;flex:none;width:100%;min-height:46px;border:1px solid #9c966c;border-radius:12px;background:#151d10;color:#eee8d3;padding:10px 14px;font:inherit}.ms-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;margin:0 0 8px;min-width:0}.ms-avatar{width:42px;height:42px;flex:none;border-radius:50%;display:grid;place-items:center;background:#514629;color:#ffb07a;font-size:20px}.ms-copy{flex:1;min-width:0}.ms-copy b,.ms-copy small{display:block;overflow-wrap:anywhere}.ms-copy small{font-size:12px;line-height:1.5;font-weight:400;color:#b3b696;margin-top:3px}.ms-count{border-radius:20px;background:#ff6019;color:#141d10;padding:3px 8px;font-size:12px}.ms-setting{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;padding:12px;border-top:1px solid #aaa36c40}.ms-setting input{width:20px;height:20px;flex:none;accent-color:#aed96d;margin:0}.ms-unavailable{padding:12px 14px;opacity:.75}.ms-unavailable small{display:block;color:#c6bc95;font-size:12px;margin-top:4px}.ms-empty{color:#b6b899;font-size:14px;line-height:1.65;padding:12px;margin:0}.ms-status{margin:0;padding:0 18px 8px;font-size:12px;line-height:1.5;color:#e8bb86;flex:none}.ms-status:empty{padding:0}.ms-toolbar{display:flex;gap:8px;flex:none;flex-wrap:wrap}.ms-toolbar:empty{display:none}.ms-toolbar button{font-size:12px;min-height:38px}.ms-toolbar button[aria-pressed=true]{border-color:#c1d57c}.ms-log{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:10px;padding:8px 3px;touch-action:pan-y}.ms-message{max-width:84%;align-self:flex-start;background:#303b24;border:1px solid #a7a27440;border-radius:14px;padding:10px 13px;overflow-wrap:anywhere;flex:none;position:relative}.ms-message.mine{align-self:flex-end;background:#49572d;border-color:#b3d97555}.ms-message p{white-space:pre-wrap;font-size:14px;line-height:1.55;margin:3px 0}.ms-message time{font-size:10px;opacity:.65;display:block;text-align:right;margin-top:5px}.ms-sender{font-size:11px;color:#e4c795}.ms-message blockquote{font-size:12px;margin:0 0 6px;padding:4px 8px;border-left:2px solid #ff722d;opacity:.8}.ms-compose{display:flex;align-items:flex-end;gap:8px;flex:none;margin:0}.ms-compose textarea{box-sizing:border-box;min-height:48px;max-height:130px;resize:vertical;min-width:0;width:100%;font:inherit;font-size:14px;padding:12px;background:#141d0f;color:#eee8d3;border:1px solid #ada57788;border-radius:12px}.ms-send{background:#ff6019;color:#17200f;border-color:#ff6019;flex:none}.ms-older{align-self:center;min-height:34px;font-size:12px}.ms-reply-note{display:flex;gap:8px;align-items:center;font-size:12px;flex:none}.ms-reply-note span{flex:1;overflow-wrap:anywhere}.ms-message-actions summary{cursor:pointer;font-weight:bold;font-size:19px;text-align:right;list-style:none}.ms-message-actions button{display:block;font-size:12px;margin-top:5px;width:100%}[hidden].ms-back,[hidden].ms-reply-note,[hidden].ms-older{display:none!important}@keyframes ms-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.ms-launcher{right:14px;bottom:calc(82px + env(safe-area-inset-bottom));padding:12px 18px!important}.ms-dialog{width:100%;max-width:100%;height:var(--ms-height,100dvh);max-height:var(--ms-height,100dvh);margin:0;border:0;border-radius:0}.ms-header{padding:calc(10px + env(safe-area-inset-top)) 12px 10px!important;gap:8px}.ms-header h2{font-size:16px}.ms-body{padding:12px 10px calc(10px + env(safe-area-inset-bottom));gap:9px}.ms-compose textarea{font-size:16px}.ms-send{padding:10px;font-size:12px}.ms-message{max-width:88%}.ms-back{font-size:11px}.ms-toolbar button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.ms-dialog[open]{animation:none}}

/* The launcher is an invitation to open chat, not an active tab. */
.ms-launcher{background:#29331f!important;color:#eee8d3!important;border-color:#a69b70!important}.ms-launcher:hover:enabled{border-color:#ff722d!important}.guest-chat400{gap:10px!important}.guest-chat400 span{display:flex;flex-direction:column;gap:5px}.guest-chat400 small{font-size:11px;line-height:1.4;font-weight:400;max-width:250px}.guest-chat400.unavailable{background:#242c1c!important;border:1px dashed #ada57566!important;color:#b7b89b!important;box-shadow:none!important;opacity:1!important;cursor:default;transform:none!important}.guest-chat400.available{background:#303b24!important;color:#eee8d3!important;border-color:#b0ad7288!important}.guest-chat400.available:hover{border-color:#ff722d!important}
.cw-fab.lock{background:#29331f!important;color:#b7b89b!important;border:1px dashed #a69b7088!important;box-shadow:none!important}

/* One compact launcher; never covers a field while that field is being edited. */
.ms-launcher{display:grid;place-items:center;width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;padding:0!important;border-radius:50%!important;border-width:1px!important;box-sizing:border-box;box-shadow:0 5px 18px #0004}.ms-launcher[hidden]{display:none!important}.ms-launcher-icon{display:grid;place-items:center;width:24px;height:24px;pointer-events:none}.ms-launcher-icon svg{display:block;width:24px;height:24px}.ms-launcher>.ms-count{position:absolute;top:-5px;right:-5px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border:2px solid #1a2113;font-size:10px;line-height:1}.ms-launcher:hover{transform:translateY(-1px)}
@media(max-width:700px){.ms-launcher{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;right:14px;bottom:calc(90px + env(safe-area-inset-bottom));padding:0!important}}

.ms-waiting{opacity:1!important;background:#252a21;color:#aeb1a2;border-style:dashed;border-color:#777d6966;cursor:default}.ms-waiting .ms-avatar{background:#373d30;color:#aeb1a2}.ms-login{text-align:center;text-decoration:none}.ms-report{flex:none;padding:14px;border:1px solid #c4ac78;border-radius:14px;background:#303624}.ms-report h3{font-size:16px;margin:0 0 8px}.ms-report p,.ms-report label{font-size:13px;line-height:1.5}.ms-report blockquote{font-size:13px;margin:10px 0;padding:8px;border-left:2px solid #e9aa6c;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.ms-report textarea{display:block;box-sizing:border-box;width:100%;font:inherit;font-size:16px;color:inherit;background:#182010;border:1px solid #aaa378;border-radius:8px;padding:10px;margin:6px 0 12px}.ms-dialog:not([open]){display:none!important}
@media(max-width:700px){body:has(.asb-back:not([hidden])) .ms-launcher{bottom:calc(145px + env(safe-area-inset-bottom))}}

.ms-global .cw{display:none!important}

html.asb-floating-return-page .ms-launcher{left:22px;right:auto}body.ms-global #up{left:22px;right:auto!important}@media(max-width:700px){html.asb-floating-return-page .ms-launcher{left:14px;right:auto;bottom:calc(150px + env(safe-area-inset-bottom))}body.ms-global #up{left:14px;bottom:calc(90px + env(safe-area-inset-bottom))}}

/* Keep chat on the left and below the companion (z-index:70).
   An open companion invitation may naturally cover the launcher. */
html body .ms-launcher{left:22px!important;right:auto!important;z-index:60!important}
body.ms-global #up{left:auto!important;right:22px!important}
@media(max-width:700px){html body .ms-launcher{left:14px!important;right:auto!important}body.ms-global #up{left:auto!important;right:14px!important}}
