.mm-chat-root { position:fixed; right:24px; bottom:24px; z-index:100; color:#193326; font-family:system-ui,sans-serif; font-size:14px; }
.mm-chat-root button { cursor:pointer; font:inherit; }
.mm-chat-launch { display:flex; align-items:center; gap:24px; padding:16px 22px; border:1px solid #ffffff50; border-radius:999px; background:#d5eab5; color:#193326; box-shadow:0 8px 32px #071b1733; font-weight:600!important; }
.mm-chat-panel { position:absolute; bottom:72px; right:0; width:min(380px,calc(100vw - 32px)); max-height:calc(100dvh - 130px); display:flex; flex-direction:column; overflow:hidden; border:1px solid #c9d6c6; border-radius:24px; background:#fafbf7; box-shadow:0 24px 70px #061c1740; }
.mm-chat-panel[hidden] { display:none!important; }
.mm-chat-head { display:flex; align-items:center; justify-content:space-between; padding:20px; background:#e5edda; gap:12px; }
.mm-chat-head h2 { margin:0; font-size:21px; line-height:1.3; letter-spacing:-.025em; color:#193326; }
.mm-chat-head p { margin:4px 0 0; font-size:11px; color:#506548; }
.mm-chat-close { min-width:44px; min-height:44px; padding:0; border:0; border-radius:50%; background:transparent; color:#193326; font-size:28px!important; }
.mm-chat-messages { overflow-y:auto; overscroll-behavior:contain; min-height:60px; max-height:300px; padding:16px; flex:1; }
.mm-chat-message { margin:0 16px 12px 0; padding:13px 15px; border-radius:16px; background:#edf1e7; font-size:13px; line-height:1.6; overflow-wrap:anywhere; white-space:pre-line; }
.mm-chat-message strong { display:block; font-size:10px; letter-spacing:.04em; margin-bottom:4px; color:#506548; }
.mm-chat-user { margin-left:16px; margin-right:0; background:#254b35; color:#fff; }
.mm-chat-user strong { color:#d5eab5; }
.mm-chat-prompts { display:flex; gap:6px; flex-wrap:wrap; padding:0 16px 12px; }
.mm-chat-prompts button { background:transparent; color:#254b35; border:1px solid #bbcdb5; border-radius:20px; padding:9px 10px; min-height:44px; font-size:11px; }
.mm-chat-form { display:block; padding:14px 16px 16px; border-top:1px solid #dbe3d4; margin:0; }
.mm-chat-form label { display:block; font-size:11px; margin-bottom:6px; color:#506548; }
.mm-chat-form>div { display:flex; gap:8px; }
.mm-chat-form input { min-width:0; flex:1; padding:12px; font-size:16px; }
.mm-chat-form button { padding:10px 14px; border:0; border-radius:10px; color:white; background:#254b35; min-height:44px; }
.mm-chat-root :focus-visible { outline:3px solid #7eab63; outline-offset:3px; }
/* Keep desktop chat beside the menu while the order ticket is visible. */
@media(min-width:940px) {
  .mm-chat-root.mm-chat-tucked { right:auto; left:24px; }
  .mm-chat-tucked .mm-chat-panel { right:auto; left:0; }
}
@media(max-width:939px) { .mm-chat-root { right:16px; bottom:calc(96px + env(safe-area-inset-bottom,0px)); } .mm-chat-panel { max-height:calc(100dvh - 195px - env(safe-area-inset-bottom,0px)); } .mm-chat-launch { padding:12px 18px; } .mm-chat-tucked .mm-chat-launch[aria-expanded="false"] { visibility:hidden; } }
