.chat{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 105px)}#chat-messages{max-height:min(540px,calc(100dvh - 250px));overflow-y:auto;overscroll-behavior:contain}.chat-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.chat-actions button,.chat-capture button{border:1px solid #223149;background:#fff;color:#19243b;border-radius:7px;padding:9px 12px;font:500 13px/1.4 system-ui;cursor:pointer}.chat-actions button:first-child,.chat-capture button[type=submit]{background:#19243b;color:white}.chat-actions button:disabled,.chat-capture button:disabled{opacity:.5;cursor:wait}.chat-actions a{padding:5px 0;font-size:12px}.chat-capture{background:#f4f5f7;border:1px solid #d9dfe7;border-radius:10px;padding:14px;display:grid;gap:12px;margin:14px 0}.chat-capture label{display:grid;gap:5px;font:13px/1.5 system-ui;color:#19243b}.chat-capture input,.chat-capture textarea{background:#fff;border:1px solid #bfc8d5;border-radius:6px;padding:10px;font:14px system-ui;width:100%;min-width:0;color:#19243b}.chat-capture .chat-privacy{display:flex;align-items:flex-start;gap:8px}.chat-privacy input{width:auto;flex:none;margin-top:4px}.chat-capture small{font-size:11px;line-height:1.5}.chat .chat-reset{background:transparent;border:0;color:inherit;font:11px system-ui;cursor:pointer;margin-left:auto}.chat-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.chat-source{display:block;overflow-wrap:anywhere}.chat-capture p{background:transparent!important;padding:0!important}.chat [role=status]{font-size:13px;color:#5a3444}
.chat form.chat-capture{display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;gap:12px;padding:14px}.chat form.chat-capture>*{min-width:0;max-width:100%}.chat form.chat-capture label{min-width:0;white-space:normal}.chat form.chat-capture .chat-privacy{display:flex;align-items:flex-start}.chat form.chat-capture .chat-privacy input{flex:0 0 auto;width:16px;height:16px}.chat form.chat-capture button[type=submit]{width:100%;max-width:100%}#chat-messages{overflow-x:hidden}
