.wpr-chat-launcher{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:20px;z-index:900;background:#151e59;color:white;border:2px solid #ef802c;border-radius:32px;padding:14px 20px;font:700 15px/1.3 system-ui;box-shadow:0 5px 25px #0003;cursor:pointer}.wpr-chat{width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:18px;color:#19233b;background:#fff;box-shadow:0 16px 70px #0005;font:15px/1.5 system-ui}.wpr-chat::backdrop{background:#10173566}.wpr-chat[open]{display:flex;flex-direction:column}.wpr-chat header{background:#151e59;color:white;padding:18px;display:flex;align-items:center;justify-content:space-between}.wpr-chat header strong{font-size:20px}.wpr-chat small{display:block;font-size:12px}.wpr-chat header button{background:transparent;color:white;border:0;font-size:24px;padding:8px;cursor:pointer}.wpr-chat-body{padding:16px;overflow-y:auto;min-height:100px}.wpr-chat-intro{margin:0 0 14px;color:#536078}.wpr-chat-starters{display:flex;flex-wrap:wrap;gap:7px}.wpr-chat-starters button{background:#f3f4fa;border:1px solid #d6daea;border-radius:14px;padding:8px 11px;color:#151e59;font:inherit;font-size:13px;cursor:pointer}.wpr-chat-log p{padding:12px;border-radius:12px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.wpr-chat-log strong,.wpr-chat-log span{display:block}.wpr-chat-log strong{font-size:12px;margin-bottom:5px}.wpr-chat-user{background:#eaf0fa;margin-left:24px!important}.wpr-chat-assistant{background:#f6f3ee;margin-right:12px!important}.wpr-chat-status{font-size:13px;color:#665132}.wpr-chat-guides a{display:block;margin:8px 0;font-size:13px;color:#151e59}.wpr-chat form{padding:12px 16px;border-top:1px solid #e2e5ec;margin:0}.wpr-chat label{display:block;font-size:13px;font-weight:700}.wpr-chat-input{display:flex;gap:8px;margin-top:6px}.wpr-chat textarea{width:100%;min-width:0;padding:10px;border:1px solid #aeb7cb;border-radius:8px;font:inherit;resize:vertical;max-height:120px}.wpr-chat-input button{border:0;border-radius:8px;background:#ed7e2b;color:#151e59;font:700 15px system-ui;padding:12px;cursor:pointer}.wpr-chat button:disabled{opacity:.55;cursor:wait}.wpr-chat footer{padding:0 16px 14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.wpr-chat footer>a{color:#151e59;font-weight:700}.wpr-chat footer>button{margin-left:auto;background:none;border:0;text-decoration:underline;color:#536078;cursor:pointer}.wpr-chat footer small{width:100%;color:#647086}.wpr-chat a{color:#151e59}.wpr-chat :focus-visible,.wpr-chat-launcher:focus-visible{outline:3px solid #ed7e2b;outline-offset:3px}@media(max-width:480px){.wpr-chat-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:13px;padding:12px 15px}.wpr-chat{margin:auto;max-height:calc(100dvh - 20px)}}.wpr-chat-greeting{position:fixed;right:20px;bottom:calc(max(20px,env(safe-area-inset-bottom)) + 68px);z-index:900;display:flex;align-items:flex-start;width:min(300px,calc(100vw - 40px));box-sizing:border-box;background:#fffaf4;border:1px solid #edd6bf;border-radius:16px 16px 4px 16px;padding:8px;box-shadow:0 5px 25px #0002;color:#151e59}.wpr-chat-greeting[hidden]{display:none}.wpr-chat-invitation{flex:1;min-width:0;background:none;border:0;text-align:left;color:#151e59;padding:10px;font:600 16px/1.5 system-ui;cursor:pointer}.wpr-chat-dismiss{flex:none;background:none;border:0;color:#536078;font:16px/1 system-ui;min-width:44px;min-height:44px;cursor:pointer}.wpr-chat-greeting button:focus-visible{outline:3px solid #ed7e2b;outline-offset:1px;border-radius:8px}@media(max-width:480px){.wpr-chat-greeting{right:12px;bottom:calc(max(12px,env(safe-area-inset-bottom)) + 62px);width:min(290px,calc(100vw - 24px))}}
/* Tin Tin uses the supplied Wind Proof elephant artwork. */
.wpr-chat-avatar{display:block;width:56px;height:56px;flex:0 0 56px;object-fit:cover;object-position:center;background:#fff;border-radius:50%;border:2px solid #fff;box-sizing:border-box}
.wpr-chat-launcher{display:flex;align-items:center;gap:10px;padding:6px 18px 6px 6px;border-radius:40px;min-height:72px}
.wpr-chat-identity{display:flex;align-items:center;gap:12px;min-width:0}
.wpr-chat header{flex-wrap:nowrap;gap:10px}
.wpr-chat header .wpr-chat-identity{flex:1}
.wpr-chat header>button{flex:none}
.wpr-chat-log .wpr-chat-speaker{display:flex;align-items:center;gap:7px}
.wpr-chat-speaker .wpr-chat-avatar{width:30px;height:30px;flex-basis:30px;border-width:1px}
.wpr-chat-greeting{bottom:calc(max(20px,env(safe-area-inset-bottom)) + 84px)}
@media(max-width:480px){.wpr-chat-launcher{padding:5px 15px 5px 5px;min-height:64px}.wpr-chat-launcher .wpr-chat-avatar{width:50px;height:50px;flex-basis:50px}.wpr-chat-greeting{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 76px)}.wpr-chat header{padding:14px}.wpr-chat header small{font-size:11px}}
.wpr-chat-log .wpr-chat-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;white-space:normal}.wpr-chat-actions a{display:inline-block;background:#ed7e2b;color:#151e59;padding:10px 12px;border-radius:8px;font-weight:700;text-decoration:none;font-size:13px}.wpr-chat-actions button{background:transparent;border:1px solid #aeb7cb;border-radius:8px;padding:10px 12px;color:#151e59;font:inherit;font-size:13px;cursor:pointer}
