/* MHT Movers chat widget */
.mht-chat{position:fixed;right:16px;bottom:16px;z-index:50;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}

/* open button */
.mht-chat-fab{display:inline-flex;align-items:center;gap:8px;background:#f58220;color:#12263f;border:0;border-radius:999px;padding:13px 20px;font-weight:800;font-size:1rem;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:transform .15s,background .15s}
.mht-chat-fab:hover{background:#ff9a3d;transform:translateY(-2px)}
.mht-chat-fab.is-open{display:none}

/* panel */
.mht-chat-panel{position:absolute;right:0;bottom:0;width:min(380px,calc(100vw - 32px));height:min(600px,calc(100vh - 32px));background:#fff;border-radius:18px;box-shadow:0 16px 48px rgba(0,0,0,.35);display:flex;flex-direction:column;overflow:hidden}
.mht-chat-panel[hidden]{display:none}

/* header */
.mht-chat-head{display:flex;align-items:center;gap:10px;background:#12263f;color:#fff;padding:12px 14px}
.mht-chat-head img{height:33px;width:auto;flex:none}
.mht-chat-title{display:grid;line-height:1.2;flex:1;min-width:0}
.mht-chat-title strong{font-size:1.02rem}
.mht-chat-title span{font-size:.76rem;color:#c9d4e2}
.mht-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3ddc84;margin-right:4px}
.mht-chat-call{color:#12263f;background:#f58220;text-decoration:none;font-weight:700;font-size:.8rem;border-radius:999px;padding:6px 12px;white-space:nowrap}
.mht-chat-call:hover{background:#ff9a3d}
.mht-chat-close{background:rgba(255,255,255,.12);border:0;color:#fff;width:30px;height:30px;border-radius:50%;font-size:1.3rem;line-height:1;cursor:pointer}
.mht-chat-close:hover{background:rgba(255,255,255,.25)}

/* messages */
.mht-chat-log{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:10px;background:#f4f6f9;scroll-behavior:smooth}
.mht-msg{max-width:86%;padding:10px 14px;border-radius:16px;font-size:.94rem;line-height:1.5;color:#1d2733;word-wrap:break-word}
.mht-msg.bot{background:#fff;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 1px 4px rgba(18,38,63,.12)}
.mht-msg.user{background:#12263f;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.mht-msg a{color:#b25200;font-weight:600}
.mht-msg b{color:#12263f;background:#fff1e0;border-radius:6px;padding:1px 6px}

/* typing dots */
.mht-typing{display:inline-flex;gap:4px;align-items:center;height:1.2em}
.mht-typing i{width:7px;height:7px;border-radius:50%;background:#94a0ae;animation:mhtdot 1.1s infinite ease-in-out}
.mht-typing i:nth-child(2){animation-delay:.15s}.mht-typing i:nth-child(3){animation-delay:.3s}
@keyframes mhtdot{0%,80%,100%{opacity:.3;transform:translateY(0)}40%{opacity:1;transform:translateY(-4px)}}

/* quick questions */
.mht-quick{margin-top:2px}
.mht-quick p{margin:0 0 8px;font-size:.76rem;font-weight:700;color:#5b6776;text-transform:uppercase;letter-spacing:.06em}
.mht-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mht-quick-grid button{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dbe1e8;border-radius:12px;padding:10px 12px;font-size:.88rem;font-weight:600;color:#12263f;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s,transform .15s}
.mht-quick-grid button:hover{border-color:#f58220;box-shadow:0 3px 10px rgba(245,130,32,.2);transform:translateY(-1px)}
.mht-quick-grid button span{font-size:1.15rem}
.mht-back{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.mht-back button{background:#fff;border:1px solid #dbe1e8;border-radius:999px;padding:7px 12px;font-size:.8rem;font-weight:600;color:#12263f;cursor:pointer;transition:border-color .15s,background .15s}
.mht-back button:hover{border-color:#f58220;background:#fff7ef}
.mht-back button:focus-visible{outline:3px solid #12263f;outline-offset:2px}

/* input */
.mht-chat-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid #e3e7ec;background:#fff}
.mht-chat-form input{flex:1;padding:11px 14px;border:1px solid #cdd4dc;border-radius:999px;font:inherit;font-size:.95rem;min-width:0}
.mht-chat-form input:focus{outline:2px solid #f58220;border-color:transparent}
.mht-chat-form button{display:grid;place-items:center;width:44px;height:44px;flex:none;background:#f58220;color:#12263f;border:0;border-radius:50%;cursor:pointer}
.mht-chat-form button:hover{background:#ff9a3d}

/* footer status */
.mht-chat-foot{background:#fff;padding:0 14px 10px;text-align:center}
.mht-chat-smart{font-size:.72rem;color:#7a8696}
.mht-chat-smart small{font-size:inherit}

.mht-chat-fab:focus-visible,.mht-chat-close:focus-visible,.mht-chat-call:focus-visible,.mht-quick-grid button:focus-visible{outline:3px solid #12263f;outline-offset:2px}

/* phones: sit above the sticky call bar, panel fills most of the screen */
@media (max-width:760px){
  .mht-chat{right:12px;bottom:84px}
  .mht-chat-panel{position:fixed;right:8px;left:8px;bottom:8px;width:auto;height:calc(100vh - 16px);height:calc(100dvh - 16px)}
}
@media (prefers-reduced-motion:no-preference){.mht-chat-panel{animation:mhtpop .18s ease-out}@keyframes mhtpop{from{opacity:0;transform:translateY(12px)}}}
@media (prefers-reduced-motion:reduce){.mht-typing i{animation:none;opacity:.6}}
.mht-msg a[href^="tel"]{white-space:nowrap}
