/* DEMACH Sales Assistant. Strictly scoped to avoid changing the existing site. */
#dm-chat,#dm-chat *{box-sizing:border-box}
#dm-chat{--dmc-cyan:#06a9c3;--dmc-deep:#08758c;--dmc-ink:#19333c;--dmc-grey:#667780;--dmc-line:#dfe8ea;position:fixed;z-index:2147482000;bottom:22px;right:22px;max-width:calc(100vw - 24px);color:var(--dmc-ink);font:400 14px/1.45 Arial,Helvetica,sans-serif;text-align:left;direction:ltr}
#dm-chat button,#dm-chat input,#dm-chat textarea,#dm-chat select{font:inherit;letter-spacing:normal;text-transform:none}
#dm-chat button{cursor:pointer;touch-action:manipulation}
#dm-chat button:focus-visible,#dm-chat select:focus-visible,#dm-chat input:focus-visible,#dm-chat textarea:focus-visible,#dm-chat a:focus-visible{outline:3px solid #45bcd4;outline-offset:2px}
#dm-chat [hidden]{display:none!important}
#dm-chat .dm-chat-launcher{width:64px;height:64px;border:0;border-radius:50%;background:linear-gradient(145deg,#05b3c9,#087d99);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px #043d4e4d;margin-left:auto;position:relative;transition:transform .2s ease}
#dm-chat .dm-chat-launcher:hover{transform:translateY(-3px)}
#dm-chat .dm-chat-launcher svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#dm-chat .dm-chat-badge{position:absolute;right:0;top:0;height:14px;width:14px;background:#5dd69d;border:3px solid #fff;border-radius:50%}
#dm-chat .dm-chat-panel{width:390px;max-width:calc(100vw - 24px);height:min(620px,calc(100dvh - 102px));min-height:330px;background:#fff;border:1px solid #e3ebee;border-radius:18px;overflow:hidden;box-shadow:0 16px 60px #163b4e40;display:flex;flex-direction:column;margin-bottom:13px;transform-origin:bottom right}
#dm-chat .dm-chat-head{background:#fff;color:#1b3b46;min-height:82px;padding:13px 14px;display:flex;align-items:center;gap:11px;flex-shrink:0;border-bottom:2px solid #08aac5}
#dm-chat .dm-chat-headcopy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}
#dm-chat .dm-chat-logo{display:block;width:145px;height:auto;max-height:28px;object-fit:contain;object-position:left center}
#dm-chat .dm-chat-online{font-size:11px;color:#58717b;display:flex;align-items:center;gap:6px;line-height:1.2}
#dm-chat .dm-chat-online i{background:#19ae82;width:7px;height:7px;border-radius:50%;display:inline-block;flex-shrink:0}
#dm-chat .dm-chat-lang{font-size:12px;max-width:58px;background:#f7fbfc;border:1px solid #d2e2e6;border-radius:7px;color:#24444f;padding:6px 4px;min-width:51px}
#dm-chat .dm-chat-lang option{color:#183540;background:#fff}
#dm-chat .dm-chat-x{color:#516670;border:0;background:transparent;font-size:26px;line-height:1;width:29px;height:31px;padding:0;border-radius:6px}
#dm-chat .dm-chat-x:hover{background:#edf6f8}
#dm-chat .dm-chat-history{flex:1;overflow-y:auto;background:#f7fafb;padding:17px 14px;display:flex;flex-direction:column;gap:11px;scrollbar-width:thin;overscroll-behavior:contain}
#dm-chat .dm-chat-msg{max-width:93%;border-radius:13px;padding:11px 12px;line-height:1.55;font-size:13px;white-space:pre-line;overflow-wrap:anywhere;box-shadow:0 1px 4px #22334409}
#dm-chat .dm-chat-msg.bot{align-self:flex-start;background:#fff;border:1px solid #e7edf0;border-bottom-left-radius:4px}
#dm-chat .dm-chat-msg.user{align-self:flex-end;background:#d9f4f8;color:#174f5b;border-bottom-right-radius:4px}
#dm-chat .dm-chat-options{display:grid;gap:7px;width:100%}
#dm-chat .dm-chat-choice{color:var(--dmc-ink);display:flex;gap:9px;align-items:center;text-align:left;min-height:42px;padding:10px 11px;border:1px solid #e3ebed;border-radius:10px;background:#fff;width:100%;font-size:12.5px;font-weight:600;line-height:1.4;box-shadow:0 1px 4px #12334407;transition:border-color .2s,background .2s}
#dm-chat .dm-chat-choice:hover{border-color:#50b9cb;background:#f4fcfe}
#dm-chat .dm-chat-choice .dm-chat-choice-icon{font-size:18px;width:23px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--dmc-deep)}
#dm-chat .dm-chat-choice .dm-chat-next{margin-left:auto;font-size:19px;color:#84959c;font-weight:400}
#dm-chat .dm-chat-cta-row{display:flex;flex-wrap:wrap;gap:7px}
#dm-chat .dm-chat-cta{border:0;border-radius:8px;background:var(--dmc-deep);color:#fff;padding:9px 12px;font-weight:700;font-size:12.5px;text-align:center}
#dm-chat .dm-chat-cta:hover{background:#05576d}
#dm-chat .dm-chat-cta.secondary{border:1px solid #cbdfe4;background:white;color:#11667c}
#dm-chat .dm-chat-cta.secondary:hover{background:#eff8fa}
#dm-chat .dm-chat-cta:disabled{opacity:.6;cursor:progress}
#dm-chat .dm-chat-link{font-size:12px;color:#077e99;text-decoration:underline;text-underline-offset:2px}
#dm-chat .dm-chat-form{background:#fff;border:1px solid #d9e8ec;border-radius:12px;padding:12px;display:grid;gap:9px;width:100%}
#dm-chat .dm-chat-form h3{margin:0;color:#173e49;font-size:14px}
#dm-chat .dm-chat-form label{display:block;font-size:12px;font-weight:600;color:#31515b;margin:0 0 3px}
#dm-chat .dm-chat-form input:not([type=checkbox]),#dm-chat .dm-chat-form textarea{display:block;width:100%;max-width:100%;min-width:0;background:#fff;color:#1e3c46;border:1px solid #d4e1e4;border-radius:7px;padding:9px 10px;box-shadow:none;font-size:13px;outline-offset:1px}
#dm-chat .dm-chat-form textarea{min-height:80px;resize:vertical}
#dm-chat .dm-chat-form .dm-chat-required{font-weight:400;color:#83919a}
#dm-chat .dm-chat-consent{display:flex;align-items:flex-start;gap:7px;font-size:11.5px;color:#465e67;line-height:1.4}
#dm-chat .dm-chat-consent input{margin:2px 0 0;accent-color:#088aa2}
#dm-chat .dm-chat-consent a{color:#097b91}
#dm-chat .dm-chat-error{color:#b42f30;font-size:12px;line-height:1.4}
#dm-chat .dm-chat-privacy-warning{font-size:12px;color:#85590e;padding:7px 9px;background:#fff5df;border-radius:7px}
#dm-chat .dm-chat-inputbar{border-top:1px solid #e4ecef;background:#fff;padding:10px;display:flex;align-items:flex-end;gap:7px;flex-shrink:0}
#dm-chat .dm-chat-entry{flex:1;min-width:0;resize:none;max-height:86px;min-height:36px;border:1px solid #dce7ea;border-radius:9px;background:#fff;padding:9px 11px;color:#17333e;font-size:13px;line-height:1.35;box-shadow:none}
#dm-chat .dm-chat-send{width:38px;height:38px;min-width:38px;background:#0798b2;color:white;border:0;border-radius:10px;display:grid;place-items:center;font-size:19px}
#dm-chat .dm-chat-send:hover{background:#046f85}
#dm-chat .dm-chat-foot{background:#fff;color:#83929a;text-align:center;font-size:10px;letter-spacing:.1px;padding:0 8px 8px}
#dm-chat .dm-chat-panel[hidden]{display:none}
@media(max-width:600px){#dm-chat{right:12px;bottom:12px}#dm-chat .dm-chat-launcher{width:57px;height:57px}#dm-chat .dm-chat-panel{width:calc(100vw - 24px);height:min(690px,calc(100dvh - 91px));margin-bottom:8px;border-radius:15px}}
@media(max-height:540px){#dm-chat .dm-chat-panel{height:calc(100dvh - 88px);min-height:0}}
@media(prefers-reduced-motion:reduce){#dm-chat *{transition:none!important}}
