.up-chat{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:55;font:inherit;color:#211b16}
.up-chat [hidden]{display:none!important}.up-chat-toggle{display:grid;place-items:center;float:right;width:57px;height:57px;padding:0;border:2px solid #fff;border-radius:50%;background:#b4400b;color:white;box-shadow:0 4px 17px #26180b42;cursor:pointer}
.up-chat-toggle:hover{background:#903309}.up-chat button:focus-visible,.up-chat a:focus-visible{outline:3px solid #e87b3e;outline-offset:2px}
.up-chat-panel{width:min(355px,calc(100vw - 30px));max-height:min(600px,calc(100dvh - 102px));overflow:auto;background:#fff;border:1px solid #ded7cf;border-radius:16px;box-shadow:0 14px 45px #20140e30;margin:0 0 10px}
.up-chat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#191613;color:#fff;padding:13px 16px}.up-chat-top strong{font-size:17px}.up-chat-top button{background:transparent;border:0;color:#fff;font-size:25px;cursor:pointer}
.up-chat-choice,.up-chat-room{padding:14px 16px}.up-chat-choice>p{margin:0 0 12px}.up-chat-choice a,.up-chat-choice button{box-sizing:border-box;width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:12px;margin-top:8px;border:1px solid #e3dbd2;border-radius:10px;color:#211b16;text-decoration:none;background:#fff;font:inherit;font-weight:700;cursor:pointer}.up-chat-choice a:hover,.up-chat-choice button:hover{background:#fff6ef;border-color:#bd4a12}
.up-chat-choice small{display:block;font-size:12px;color:#62574f;font-weight:450}.up-chat-room [role=log]{display:flex;flex-direction:column;gap:8px;overflow:auto;max-height:min(230px,34dvh);padding:4px 1px}.up-chat-room form{display:grid;gap:6px;margin-top:9px}.up-chat-room textarea{width:100%;min-height:50px;resize:vertical;border:1px solid #d1c8c0;border-radius:7px;padding:8px;font:inherit}.up-chat-room .chat-send{border:0;border-radius:7px;background:#a83c0a;color:#fff;font:inherit;font-weight:700;padding:8px 14px;cursor:pointer}
.up-chat-room .chat-actions{display:flex;justify-content:space-between;gap:8px;margin-top:9px}.up-chat-room .chat-actions button{border:0;background:none;color:#943707;font:inherit;font-size:12.5px;text-decoration:underline;cursor:pointer;padding:3px}.up-chat-status,.up-chat-error{margin:4px 0 8px;color:#5f534a;font-size:13px}.up-chat-error:not(:empty){padding:3px 15px 10px;color:#923709}.up-chat-error:empty{display:none}
.up-message{align-self:flex-start;background:#f3efe9;border-radius:9px;padding:6px 10px;max-width:88%;overflow-wrap:anywhere}.up-message p{margin:0;white-space:pre-wrap}.up-message small{font-size:11px;color:#67574d}.up-message.from-visitor{align-self:flex-end;background:#ffebdc}
.up-chat-privacy{display:block;margin-top:12px;font-size:11.5px;color:#695c51}.up-chat-choice .up-chat-privacy a{display:inline;width:auto;padding:0;margin:0;border:0;border-radius:0;color:#893307;font:inherit;text-decoration:underline;background:transparent}
