/* Menodoctor at Work assistant: the menodoctor.com chat widget (snippets/ai-chat-widget.liquid in the theme repo),
   ported to this static site and restyled to the Menodoctor at Work brand (yellow #F4D269 on #1C1C1C, site font). */
.maw-ai-launcher{position:fixed;right:18px;bottom:18px;z-index:70;width:60px;height:60px;border:0;border-radius:999px;background:#F4D269;color:#1C1C1C;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.18);transition:transform .2s ease,background .2s ease}
.maw-ai-launcher:hover{background:#efc84a;transform:translateY(-2px)}
.maw-ai-launcher.maw-ai-hidden{display:none}
.maw-ai-panel{position:fixed;right:18px;bottom:90px;z-index:71;width:384px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100dvh - 120px);background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.22);display:none;flex-direction:column;overflow:hidden;font-size:15px;font-family:inherit;color:#1C1C1C}
.maw-ai-panel.is-open{display:flex}
.maw-ai-head{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#1C1C1C;color:#fff}
.maw-ai-head-ico{flex:none;width:38px;height:38px;border-radius:999px;background:#F4D269;color:#1C1C1C;display:flex;align-items:center;justify-content:center}
.maw-ai-head-title{font-weight:700;font-size:16px;line-height:1.2}
.maw-ai-head-sub{font-size:12px;opacity:.75}
.maw-ai-head-close{margin-left:auto;border:0;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer;opacity:.8;padding:4px}
.maw-ai-head-close:hover{opacity:1}
.maw-ai-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#F4F1F1}
.maw-ai-msg{max-width:85%;padding:11px 14px;border-radius:18px;line-height:1.55;word-wrap:break-word;white-space:pre-wrap}
.maw-ai-msg a{color:#1C1C1C;text-decoration:underline}
.maw-ai-msg--user{align-self:flex-end;background:#F4D269;color:#1C1C1C;border-bottom-right-radius:6px}
.maw-ai-msg--bot{align-self:flex-start;background:#fff;border:1px solid rgba(0,0,0,.07);border-bottom-left-radius:6px}
.maw-ai-msg--bot ul{margin:6px 0;padding-left:18px;white-space:normal}
.maw-ai-msg--bot li{margin:3px 0}
.maw-ai-typing{align-self:flex-start;display:none;gap:5px;padding:14px 16px;background:#fff;border:1px solid rgba(0,0,0,.07);border-radius:18px;border-bottom-left-radius:6px}
.maw-ai-typing.visible{display:inline-flex}
.maw-ai-typing span{width:7px;height:7px;border-radius:999px;background:#F4D269;animation:mawAiBounce 1.2s infinite}
.maw-ai-typing span:nth-child(2){animation-delay:.15s}
.maw-ai-typing span:nth-child(3){animation-delay:.3s}
@keyframes mawAiBounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.maw-ai-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0 16px 10px;background:#F4F1F1}
.maw-ai-chips button{border:1px solid rgba(28,28,28,.3);background:#fff;color:#1C1C1C;font:inherit;font-size:12.5px;font-weight:600;border-radius:999px;padding:7px 12px;cursor:pointer}
.maw-ai-chips button:hover{background:#fdf4d3}
.maw-ai-inputrow{display:flex;gap:8px;padding:12px 12px 8px;border-top:1px solid rgba(0,0,0,.07);background:#fff}
.maw-ai-input{flex:1;border:1px solid rgba(0,0,0,.12);border-radius:999px;padding:11px 16px;font:inherit;font-size:15px;resize:none;max-height:110px;line-height:1.4;color:#1C1C1C;background:#fff}
.maw-ai-input:focus{outline:none;border-color:rgba(28,28,28,.55);box-shadow:0 0 0 3px rgba(244,210,105,.45)}
.maw-ai-send{flex:none;width:44px;height:44px;border:0;border-radius:999px;background:#F4D269;color:#1C1C1C;display:flex;align-items:center;justify-content:center;cursor:pointer;align-self:flex-end}
.maw-ai-send:hover{background:#efc84a}
.maw-ai-send:disabled{opacity:.5;cursor:default}
.maw-ai-disclaimer{padding:0 14px 10px;background:#fff;font-size:11px;line-height:1.45;text-align:center;color:rgba(0,0,0,.55)}
.maw-ai-offer{align-self:flex-start;border:1px solid rgba(28,28,28,.4);background:#fff;color:#1C1C1C;font:inherit;font-size:13px;font-weight:700;border-radius:999px;padding:9px 14px;cursor:pointer}
.maw-ai-offer:hover{background:#fdf4d3}
.maw-ai-lead{padding:12px 14px 10px;border-top:1px solid rgba(0,0,0,.07);background:#fff;max-height:60%;overflow-y:auto}
.maw-ai-lead[hidden]{display:none}
.maw-ai-lead-title{font-size:13px;font-weight:700;color:#1C1C1C;margin-bottom:8px}
.maw-ai-lead input,.maw-ai-lead textarea{width:100%;box-sizing:border-box;border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:9px 12px;font:inherit;font-size:14px;margin-bottom:8px;resize:vertical;color:#1C1C1C;background:#fff}
.maw-ai-lead input:focus,.maw-ai-lead textarea:focus{outline:none;border-color:rgba(28,28,28,.55);box-shadow:0 0 0 3px rgba(244,210,105,.45)}
.maw-ai-lead-two{display:flex;gap:8px}
.maw-ai-lead-two input{flex:1;min-width:0}
.maw-ai-lead-row{display:flex;gap:8px}
.maw-ai-lead-row button{border:0;border-radius:999px;padding:9px 16px;font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
.maw-ai-lead-send{background:#F4D269;color:#1C1C1C}
.maw-ai-lead-send:disabled{opacity:.5;cursor:default}
.maw-ai-lead-cancel{background:#f1f1f1;color:#333}
.maw-ai-lead-err{color:#b3261e;font-size:12px;margin-bottom:6px}
.maw-ai-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
@media (max-width:768px){
  .maw-ai-launcher{width:52px;height:52px;right:12px;bottom:14px}
  .maw-ai-launcher svg{width:24px;height:24px}
  .maw-ai-panel{right:0;left:0;width:auto;max-width:none;bottom:0;top:auto;height:100dvh;max-height:100dvh;border-radius:18px 18px 0 0;border-left:0;border-right:0;border-bottom:0}
  .maw-ai-inputrow{padding-bottom:max(8px,env(safe-area-inset-bottom))}
  html.maw-ai-open,html.maw-ai-open body{overflow:hidden}
}
