:root{font-family:Inter,system-ui,sans-serif;color:#172033;background:#eef4fb}*{box-sizing:border-box}body{margin:0}.chat-shell{width:min(100%,520px);height:100vh;margin:auto;background:#f8fbff;display:grid;grid-template-rows:auto 1fr auto;box-shadow:0 0 30px #0b2b5018}header{padding:20px 22px;background:linear-gradient(135deg,#0f548b,#155eef);color:#fff;display:flex;justify-content:space-between;align-items:center}header strong{display:block;font-size:19px}header small{opacity:.8}.dot{width:9px;height:9px;border-radius:50%;background:#42e695}.messages{padding:18px;overflow:auto}.empty{text-align:center;color:#7b8ba5;margin-top:35vh}.card{margin:18px;padding:18px;border:1px solid #dce7f3;border-radius:16px;background:#fff;box-shadow:0 8px 24px #193b5c0e}.card h2{margin:0 0 14px;font-size:18px}.card input,.composer input{display:block;width:100%;border:1px solid #c8d6e6;border-radius:10px;padding:12px;margin:9px 0;font:inherit}.card button,.composer button{border:0;border-radius:10px;background:#155eef;color:white;padding:12px 18px;font-weight:700;cursor:pointer}.composer{display:flex;gap:10px;padding:12px;border-top:1px solid #dce7f3;background:#fff}.composer input{margin:0;flex:1}.composer button{min-width:48px}.bubble{max-width:82%;padding:11px 13px;margin:0 0 12px;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere}.visitor{margin-left:auto;background:#155eef;color:#fff}.admin{background:#fff;border:1px solid #dce7f3}.time{display:block;font-size:10px;opacity:.65;margin-top:5px}.attach{display:grid;place-items:center;width:42px;border:1px solid #c8d6e6;border-radius:10px;cursor:pointer}
[hidden]{display:none!important}.card label{display:block;font-size:13px;font-weight:600;color:#44526a}.error{color:#b42318;font-size:13px;margin:6px 0 0;min-height:1em}.composer-error{margin:0;padding:0 14px 8px;background:#fff}.bubble small{display:block;margin-top:4px;opacity:.8}.messages{min-height:0}.chat-shell{height:100dvh}
