.chat{width:min(430px,calc(100vw - 32px));height:min(660px,calc(100dvh - 120px));border-radius:18px;overflow:hidden;flex-direction:column}.chat.open{display:flex}.chat-head{flex:none;gap:10px;background:linear-gradient(120deg,#082b38,#123e38);padding:16px 18px}.chat-identity{display:flex;align-items:center;gap:12px;min-width:0}.chat-avatar{width:42px;height:42px;border-radius:50%;background:#fff;object-fit:contain;padding:5px}.chat-head strong{font-size:.98rem}.chat-head small{display:block;font-size:.76rem}.chat-controls{display:flex;align-items:center;gap:7px}.chat-restart{color:white;background:transparent;border:1px solid #ffffff70;border-radius:20px;font-size:.73rem;padding:7px 10px}.chat .close{line-height:1;padding:5px}.chat-conversation{display:flex;flex-direction:column;min-height:0;flex:1;background:#edf3ef}.chat-messages{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:20px 16px;display:flex;flex-direction:column;gap:10px}.chat-message{max-width:91%;padding:12px 14px;font-size:.91rem;line-height:1.5;border-radius:4px 15px 15px;background:white;box-shadow:0 3px 12px #183b2a0d;overflow-wrap:anywhere}.chat-message.user{align-self:flex-end;background:#d7edba;border-radius:15px 4px 15px 15px}.chat-choices{flex:none;display:flex;flex-wrap:wrap;gap:7px;padding:14px 16px 17px;border-top:1px solid #dce8dd;background:#fff;max-height:42%;overflow-y:auto}.chat-option{background:#fff;color:#214c3d;border:1px solid #8cb96b;border-radius:22px;padding:8px 12px;font-size:.82rem;font-weight:650;line-height:1.25;text-align:left}.chat-option:hover,.chat-option:focus-visible{background:#e5f2d2;outline-color:#315e33}.chat-note{margin:0;padding:0 16px 12px;background:#fff;font-size:.72rem;color:#687d72}.chat-toggle{max-width:calc(100vw - 32px)}@media(max-width:500px){.chat{right:8px;bottom:80px;width:calc(100vw - 16px);height:min(680px,calc(100dvh - 96px))}.chat-head{padding:13px}.chat-message{font-size:.9rem}}
