.chat-launch{position:fixed;right:20px;bottom:22px;z-index:50;border:0;border-radius:24px;background:#743f25;color:white;padding:14px 24px;min-height:48px;box-shadow:0 4px 18px #0003;cursor:pointer;font:600 16px Arial,sans-serif}.chat-dialog{width:min(420px,calc(100vw - 24px));max-height:85dvh;border:1px solid #dcc7b1;border-radius:18px;padding:20px;background:#fffaf4;color:#38271f;box-sizing:border-box}.chat-dialog::backdrop{background:#0007}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-heading h2{font-size:20px}.chat-heading button{min-width:44px;min-height:44px;background:transparent;border:0;font-size:26px;cursor:pointer}.chat-messages{height: min(42dvh,420px);overflow:auto;padding:10px;background:#f5eee5;border-radius:12px}.chat-bubble{max-width:90%;margin:10px 0;padding:10px 12px;background:white;border-radius:12px;overflow-wrap:anywhere}.chat-bubble p{white-space:pre-wrap;margin:5px 0;color:inherit}.chat-bubble small{font-size:11px;color:#756659}.chat-mine{margin-left:auto;background:#ead7c1}.chat-dialog textarea{display:block;box-sizing:border-box;width:100%;padding:10px;border:1px solid #ccb49a;border-radius:8px;font:16px Arial,sans-serif}.chat-dialog form{margin-top:12px}.chat-dialog form button{min-height:44px;background:#743f25;color:white;border:0;padding:10px 20px;border-radius:8px;margin-top:8px;cursor:pointer}#adminChat{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}#adminChat[hidden],#chatForm[hidden]{display:none}.chat-thread{display:block;width:100%;text-align:left;white-space:pre-line;overflow-wrap:anywhere;margin-bottom:8px}.chat-thread[aria-pressed=true]{background:#ead7c1}.chat-panel{min-width:0}@media(max-width:650px){#adminChat{grid-template-columns:1fr}#chatThreads{max-height:180px;overflow:auto}.chat-launch{right:12px;bottom:16px}.chat-dialog{padding:14px}}

.chat-launch{width:56px;height:56px;min-height:56px;padding:0;border-radius:50%;display:grid;place-items:center;}.chat-launch svg{width:28px;height:28px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}.chat-launch:hover{background:#59301d;}.chat-launch:focus-visible{outline:3px solid #c89251;outline-offset:4px;}
