#atlas-chat{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));z-index:50;display:grid;justify-items:end;gap:8px;font:16px/1.45 Arial,sans-serif;color:#12263a}
#atlas-chat button{font:inherit;cursor:pointer}
#chat-toggle,#chat-form button{background:#102437;color:white;border:0;border-radius:24px;padding:11px 18px}
#chat-toggle{box-shadow:0 3px 14px #10243733;font-weight:bold!important}
#chat-panel{display:flex;flex-direction:column;overflow:hidden;background:white;width:min(365px,calc(100vw - 32px));height:min(445px,calc(100dvh - 92px));box-shadow:0 8px 32px #10243744;border:1px solid #afbdca;border-radius:16px}
#chat-panel[hidden]{display:none}
.chat-head{display:flex;align-items:center;justify-content:space-between;background:#102437;color:white;padding:10px 15px}
#chat-close{background:none;border:0;color:white;font-size:24px!important}
.chat-history{overflow:auto;flex:1;padding:14px}.chat-history p{margin:0 10% 10px 0;background:#eef3f7;border-radius:10px;padding:10px;overflow-wrap:anywhere;font:inherit;color:inherit}.chat-history p.visitor{background:#f4e5c5;margin:0 0 10px 10%}.chat-history a{display:block;color:#174779;text-decoration:underline}
.chat-options{display:flex;flex-wrap:wrap;gap:5px;padding:4px 10px}.chat-options button{border-radius:18px;background:white;border:1px solid #aab7c5;color:#163453;padding:5px 9px;font-size:14px!important}
#chat-form{display:flex;gap:6px;padding:10px}#chat-form input{min-width:0;flex:1;border:1px solid #92a2b0;border-radius:9px;padding:8px;font:inherit}
