/* Self-contained DIMAX chatbot widget, styled to match the corporate navy/orange palette. */
.dm-chat{--dm-chat-navy:#102c4d;--dm-chat-orange:var(--dx-orange,#e9853d);--dm-chat-gray:#536477;position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:700;font-family:"DM Sans",Arial,sans-serif;color:#102c4d;line-height:1.5}
.dm-chat *{box-sizing:border-box}
.dm-chat button,.dm-chat textarea{font:inherit}
.dm-chat button{cursor:pointer}
.dm-chat button:disabled{opacity:.65;cursor:wait}
.dm-chat [hidden]{display:none!important}
.dm-chat .dm-chat__launcher{display:flex;align-items:center;gap:10px;min-height:54px;padding:13px 19px;border:0;border-radius:999px;background:var(--dm-chat-orange);color:var(--dm-chat-navy);font-weight:700;font-size:14px;box-shadow:0 10px 30px rgba(12,32,54,.26);transition:transform .2s ease,box-shadow .2s ease}
.dm-chat .dm-chat__launcher:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(12,32,54,.32)}
.dm-chat .dm-chat__panel{display:flex;flex-direction:column;overflow:hidden;width:min(390px,calc(100vw - 32px));height:min(580px,calc(100dvh - 84px));background:#fff;border:1px solid #d9e2eb;border-radius:18px;box-shadow:0 22px 65px rgba(8,24,44,.25)}
.dm-chat .dm-chat__header{display:flex;align-items:center;gap:12px;padding:18px 18px;background:var(--dm-chat-orange);color:var(--dm-chat-navy);flex:none}
.dm-chat .dm-chat__logo{display:block;flex:none;object-fit:contain;border-radius:10px;background:#fff}
.dm-chat .dm-chat__launcher .dm-chat__logo{border-radius:50%}
.dm-chat .dm-chat__heading{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.dm-chat .dm-chat__heading strong{font:700 15px/1.2 Manrope,"DM Sans",sans-serif}
.dm-chat .dm-chat__heading span{font-size:11px;color:inherit}
.dm-chat .dm-chat__close{display:grid;place-items:center;width:34px;height:34px;background:transparent;border:1px solid currentColor;border-radius:8px;color:inherit}
.dm-chat .dm-chat__messages{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:19px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:#fff1e6}
.dm-chat .dm-chat__bubble{max-width:94%;padding:12px 14px;border-radius:13px;font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.dm-chat .dm-chat__bubble--assistant{background:#fff;color:#23384e;border:1px solid #e5ebf0;border-bottom-left-radius:4px}
.dm-chat .dm-chat__bubble--visitor{align-self:flex-end;background:var(--dm-chat-navy);color:#fff;border-bottom-right-radius:4px}
.dm-chat .dm-chat__suggestions{display:flex;gap:7px;flex-wrap:wrap;padding:10px 14px 0;background:#fff}
.dm-chat .dm-chat__suggestions button{min-height:35px;border:1px solid #cbd9e5;border-radius:999px;background:#fff;color:#1f4261;padding:7px 12px;font-size:11px;font-weight:700}
.dm-chat .dm-chat__suggestions button:hover{background:#f1f5f8}
.dm-chat .dm-chat__form{display:flex;align-items:flex-end;gap:8px;margin:10px 14px 9px;padding:9px;border:1px solid #cfdbe5;border-radius:12px;background:#fff}
.dm-chat .dm-chat__form:focus-within{outline:2px solid var(--dm-chat-orange);outline-offset:1px}
.dm-chat .dm-chat__form textarea{flex:1;resize:none;border:0;outline:0;min-height:39px;max-height:95px;background:transparent;color:#17324f;padding:8px 5px;font-size:13px}
.dm-chat .dm-chat__form textarea::placeholder{color:#7b8998}
.dm-chat .dm-chat__send{display:grid;place-items:center;flex:none;width:38px;height:38px;border:0;border-radius:9px;background:var(--dm-chat-orange);color:#132945}
.dm-chat .dm-chat__send:hover{background:#f3a54c}
.dm-chat .dm-chat__foot{display:flex;flex-direction:column;gap:6px;padding:0 16px 15px;background:#fff;font-size:10px;color:#66778a}
.dm-chat .dm-chat__foot a{align-self:flex-start;font-size:12px;font-weight:700;color:#173d60;text-decoration:underline;text-underline-offset:3px}
.dm-chat button:focus-visible,.dm-chat a:focus-visible{outline:3px solid var(--dm-chat-orange);outline-offset:3px}
.dm-chat .dm-chat__close:focus-visible{outline-color:var(--dm-chat-navy)}
.dm-chat .dm-chat__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){.dm-chat{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}.dm-chat .dm-chat__panel{width:calc(100vw - 24px);height:min(620px,calc(100dvh - 36px))}.dm-chat .dm-chat__launcher{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){.dm-chat *{transition:none!important;animation:none!important}}
