.mn-chat-launcher,
.mn-chat-dialog,
.mn-chat-dialog * { box-sizing: border-box; }
.mn-chat-launcher[hidden], .mn-chat-avatar[hidden] { display: none; }
.mn-chat-launcher {
  position: fixed; right: 24px; bottom: 26px; z-index: 59;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  width: 88px; max-width: calc(100vw - 28px); min-height: 100px; padding: 0;
  border: 0; border-radius: 40px 40px 16px 16px;
  background: transparent; color: #fff; font: inherit; text-align: center;
  cursor: pointer; transition: transform 160ms ease;
}
.mn-chat-launcher:hover { transform: translateY(-2px); }
.mn-chat-avatar { --mn-portrait-width: 530%; --mn-portrait-left: -378%; --mn-portrait-top: -2%; position: relative; overflow: hidden; flex: 0 0 44px; display: block; width: 44px; height: 44px; border-radius: 50%; background: #f5eee7; }
.mn-chat-portrait { position: absolute; display: block; top: var(--mn-portrait-top); left: var(--mn-portrait-left); width: var(--mn-portrait-width); max-width: none; height: auto; object-fit: contain; object-position: center top; }
.mn-chat-launcher .mn-chat-avatar { flex-basis: 74px; width: 74px; height: 74px; border: 3px solid #111c2f; background: #fff; box-shadow: 0 4px 13px #111c2f25; }
.mn-chat-launcher-copy { position: relative; display: flex; align-items: center; justify-content: center; width: 88px; min-height: 29px; margin-top: -3px; padding: 7px 8px; border-radius: 999px; background: #111c2f; box-shadow: 0 4px 13px #111c2f25; }
.mn-chat-launcher-copy strong { color: #fff; font-size: 9px; font-weight: 650; white-space: nowrap; line-height: 1.4; }
.mn-chat-dialog {
  position: fixed; inset: auto 24px 28px auto; margin: 0; padding: 0;
  width: 390px; max-width: calc(100vw - 28px); height: 640px;
  max-height: calc(100dvh - 140px); overflow: hidden;
  color: #111c2f; background: #fffdf9; border: 1px solid #d7dee7;
  border-radius: 21px; box-shadow: 0 24px 90px #111c2f40; font: inherit;
}
.mn-chat-dialog[open] { display: flex; flex-direction: column; }
.mn-chat-dialog::backdrop { background: #111c2f45; }
.mn-chat-header { display: flex; align-items: center; gap: 8px; justify-content: space-between; flex-shrink: 0; padding: 17px 15px; background: #111c2f; color: white; }
.mn-chat-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mn-chat-title-copy { min-width: 0; }
.mn-chat-dialog .mn-chat-title { margin: 0; color: #fff; font-size: 16px; font-weight: 750; line-height: 1.3; letter-spacing: -.02em; }
.mn-chat-dialog .mn-chat-description { margin: 3px 0 0; font-size: 11px; color: #ffb39e; line-height: 1.4; }
.mn-chat-close { min-height: 38px; padding: 6px 8px; color: #fff; background: transparent; border: 1px solid #ffffff45; border-radius: 7px; cursor: pointer; font: inherit; font-size: 11px; }
.mn-chat-messages { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 16px; scrollbar-width: thin; }
.mn-chat-message { width: fit-content; max-width: 100%; margin-bottom: 15px; overflow-wrap: anywhere; }
.mn-chat-message-assistant { padding: 14px; background: #fff; border: 1px solid #e2e5ea; border-radius: 2px 14px 14px; }
.mn-chat-message-user { margin-left: auto; padding: 10px 13px; border-radius: 14px 2px 14px 14px; background: #111c2f; color: #fff; }
.mn-chat-speaker { display: block; margin-bottom: 6px; color: #626b79; font-size: 10px; font-weight: 700; line-height: 1.3; }
.mn-chat-message-user .mn-chat-speaker { color: #c4d0e0; }
.mn-chat-dialog .mn-chat-message p { margin: 0; color: inherit; font-size: 13px; line-height: 1.65; }
.mn-chat-dialog .mn-chat-message p + p { margin-top: 10px; }
.mn-chat-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 8px; }
.mn-chat-choice { min-height: 43px; padding: 10px; border: 1px solid #ebaa95; border-radius: 9px; color: #8f3118; background: #fff6ef; font: inherit; font-size: 12px; line-height: 1.35; font-weight: 700; text-align: left; cursor: pointer; }
.mn-chat-choice:hover { background: #ffeade; border-color: #dc6b48; }
.mn-chat-links { display: grid; gap: 9px; margin-top: 13px; }
.mn-chat-link { width: fit-content; color: #993820; font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.mn-chat-link:hover { color: #111c2f; }
.mn-chat-footer { flex-shrink: 0; padding: 14px; border-top: 1px solid #e2e5ea; background: #fff; }
.mn-chat-label { display: block; margin-bottom: 7px; font-size: 11px; line-height: 1.4; font-weight: 700; }
.mn-chat-input-row { display: flex; gap: 7px; }
.mn-chat-input { width: 100%; min-width: 0; min-height: 45px; padding: 10px 11px; border: 1px solid #cbd2dc; border-radius: 8px; color: #111c2f; background: #fff; font: inherit; font-size: 14px; }
.mn-chat-input::placeholder { color: #737c89; }
.mn-chat-submit { min-height: 45px; padding: 10px 13px; border: 1px solid #f0522d; border-radius: 8px; color: #fff; background: #bd3818; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.mn-chat-submit:hover { background: #a52e13; }
.mn-chat-footer-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.mn-chat-dialog .mn-chat-local-note { margin: 0; color: #647080; font-size: 9px; line-height: 1.4; }
.mn-chat-reset { padding: 4px 0; border: 0; color: #586273; background: transparent; font: inherit; font-size: 10px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.mn-chat-launcher:focus-visible, .mn-chat-dialog :focus-visible { outline: 3px solid #f0522d; outline-offset: 3px; }
.mn-chat-header :focus-visible { outline-color: #ffb39e; }
@media (max-width: 760px) {
  .mn-chat-launcher { right: 12px; bottom: 90px; }
  .mn-chat-dialog { inset: auto 12px 86px auto; width: calc(100% - 24px); max-width: none; height: 630px; max-height: calc(100dvh - 140px); border-radius: 17px; }
  .mn-chat-header { padding: 14px 12px; }
  .mn-chat-dialog .mn-chat-title { font-size: 15px; }
  .mn-chat-messages { padding: 15px 12px; }
  .mn-chat-input { font-size: 16px; }
}
@media (max-width: 360px) {
  .mn-chat-identity { gap: 7px; }
  .mn-chat-header .mn-chat-avatar { width: 36px; height: 36px; flex-basis: 36px; }
  .mn-chat-dialog .mn-chat-title { font-size: 13px; }
  .mn-chat-choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mn-chat-launcher { transition: none; }
}
