.lia-launcher{position:fixed;right:22px;bottom:22px;z-index:1001;display:flex;gap:11px;align-items:center;background:#102b4b;color:white;border:1px solid #487294;border-radius:999px;padding:13px 20px;box-shadow:0 8px 28px #102b4b35;cursor:pointer;font:inherit}.lia-launcher svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.lia-launcher span{display:block;text-align:left;font-weight:700;line-height:1.2}.lia-launcher small{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#d5e8ec}.lia-chat{position:fixed;right:22px;bottom:100px;z-index:1002;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 125px);background:#fff;border:1px solid #d9e2eb;border-radius:20px;box-shadow:0 18px 70px #102b4b35;display:flex;flex-direction:column;overflow:hidden;color:#18344b;font:15px/1.45 system-ui,sans-serif}.lia-chat[hidden]{display:none}.lia-chat-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;background:#102b4b;color:white}.lia-chat-head small{display:block;font-size:11px;color:#cfe6e8}.lia-close{border:0;background:transparent;color:white;font-size:29px;min-width:44px;min-height:44px;cursor:pointer}.lia-chat-messages{overflow:auto;min-height:90px;max-height:310px;padding:14px 16px;overscroll-behavior:contain}.lia-bubble{margin:0 0 10px;padding:11px 13px;border-radius:13px;background:#eff5f8;white-space:pre-wrap;overflow-wrap:anywhere}.lia-bubble.visitor{background:#deeee9;margin-left:30px}.lia-quick{display:flex;gap:8px;padding:0 16px 10px}.lia-quick button{background:white;color:#185465;border:1px solid #a9c9ce;border-radius:20px;padding:7px 10px;cursor:pointer;font:inherit;font-size:12px}.lia-chat-form{display:flex;align-items:flex-end;gap:8px;padding:8px 16px}.lia-chat-form label{flex:1;font-size:12px}.lia-chat-form textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #aebecb;border-radius:9px;resize:none;padding:9px;font:14px/1.4 system-ui;margin-top:4px}.lia-chat-form button{background:#16758a;color:white;border:0;border-radius:10px;padding:12px;min-height:44px;font:inherit;cursor:pointer}.lia-chat-form button:disabled{opacity:.6;cursor:wait}.lia-chat-links{display:flex;justify-content:space-between;gap:10px;padding:10px 16px;font-size:12px;border-top:1px solid #e4eaf0}.lia-chat-links a{color:#17656d;text-decoration:underline}.lia-chat-privacy{padding:0 16px 14px;display:block;font-size:10px;color:#536778}.lia-chat-status{font-size:12px;color:#6d3b10;padding:0 16px;margin:0;max-height:75px;overflow:auto}.lia-chat button:focus-visible,.lia-chat a:focus-visible,.lia-launcher:focus-visible{outline:3px solid #dbac43;outline-offset:2px}.motion-toggle{left:18px;right:auto}@media(max-width:480px){.lia-launcher{right:12px;bottom:12px;padding:11px 16px}.lia-chat{right:12px;bottom:88px;max-height:calc(100dvh - 105px)}.lia-chat-messages{max-height:calc(100dvh - 410px)}.lia-chat-links{flex-wrap:wrap;gap:8px}.lia-quick{flex-wrap:wrap}}

button.help-card{font:inherit;text-align:left;cursor:pointer}

/* Keep chat controls reachable on narrow screens and reduced-height viewports. */
.lia-chat{box-sizing:border-box;max-width:calc(100% - 44px);overflow-y:auto;overscroll-behavior:contain}
.lia-chat>*{flex-shrink:0}
.lia-chat-messages{flex-shrink:1;min-height:80px}
.lia-chat-form label{min-width:0}
.lia-chat-form button{flex-shrink:0}
@media(max-width:480px){
 .lia-chat{max-width:calc(100% - 24px)}
 .lia-chat-form textarea{font-size:16px}
 .lia-quick button{min-height:44px}
}
@media(max-height:600px){
 .lia-chat{bottom:12px;max-height:calc(100dvh - 24px)}
 .lia-chat-head{padding:10px 14px}
}

/* Context and technical handoff stay inside the chat, with visible review. */
.lia-chat-identity{margin:0;padding:10px 16px;background:#eaf5f4;font-size:12px;overflow-wrap:anywhere}.lia-chat-links{flex-wrap:wrap}.lia-chat-links button{font:inherit;border:0;background:none;color:#17656d;text-decoration:underline;text-align:left;cursor:pointer;min-height:38px;padding:0}.lia-ticket{padding:14px 16px;border-top:1px solid #cddfe3;background:#f7fafb}.lia-ticket[hidden]{display:none}.lia-ticket label{display:block;font-size:13px;margin-top:10px}.lia-ticket input,.lia-ticket textarea,.lia-ticket select{display:block;box-sizing:border-box;width:100%;min-width:0;padding:9px;border:1px solid #aebecb;border-radius:8px;font:16px system-ui}.lia-ticket small{display:block;margin:10px 0;font-size:11px}.lia-ticket-actions{display:flex;gap:8px;flex-wrap:wrap}.lia-ticket button{border:0;border-radius:8px;padding:11px;font:inherit;cursor:pointer}.lia-ticket button[type=submit]{background:#16758a;color:#fff}.lia-ticket p{font-size:13px;overflow-wrap:anywhere}.lia-ticket button:disabled{opacity:.65;cursor:default}

.lia-chat[data-ticket-open="true"] .lia-chat-messages,.lia-chat[data-ticket-open="true"] .lia-quick,.lia-chat[data-ticket-open="true"] .lia-chat-status,.lia-chat[data-ticket-open="true"] .lia-chat-form,.lia-chat[data-ticket-open="true"] .lia-chat-links{display:none}
