.ha-trigger{align-items:center;gap:7px;display:inline-flex;color:#b82e20!important;background:#fffaf5!important;border:1px solid #ddd6cd!important;border-radius:24px!important;width:auto!important;padding:8px 12px!important;font-size:13px!important;font-weight:600!important}.ha-dialog{box-sizing:border-box;color:#181817;z-index:1000;background:#faf8f5;border:1px solid #ded8cf;border-radius:18px;width:380px;max-width:calc(100vw - 24px);height:min(510px,100dvh - 130px);max-height:calc(100dvh - 130px);margin:0;padding:0;font-family:inherit;position:fixed;inset:auto 20px 100px auto;box-shadow:0 12px 42px #30251b26}.ha-dialog[open]{flex-direction:column;display:flex}.ha-dialog header{border-bottom:1px solid #e7e1d9;justify-content:space-between;align-items:center;padding:13px 16px;display:flex}.ha-dialog header strong{font-size:15px}.ha-dialog small{color:#77716a;margin-top:5px;font-size:12px;display:block}.ha-dialog button{cursor:pointer;font:inherit}.ha-dialog header button{background:0 0;border:0;padding:10px}.ha-conversation{overscroll-behavior:contain;flex:1;min-height:0;padding:16px;overflow:auto}.ha-welcome h2{margin:0 0 8px;font-size:18px}.ha-welcome p{color:#67615b;font-size:14px;line-height:1.6}.ha-welcome button{text-align:left;background:#fff;border:1px solid #e0dad2;border-radius:12px;width:100%;margin:8px 0;padding:10px 12px;font-size:13px;display:block}.ha-message{margin:0 0 20px;font-size:14px;line-height:1.65}.ha-message>strong{color:#726b63;font-size:12px}.ha-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.ha-user{background:#eee8df;border-radius:16px;margin-left:35px;padding:12px 16px}.ha-sources{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.ha-sources a{color:#b72e20;border:1px solid #dfd7ce;border-radius:8px;padding:5px 9px;font-size:12px;text-decoration:none}.ha-dialog form{background:#fff;border:1px solid #d8d0c5;border-radius:14px;gap:10px;margin:0 12px;padding:8px;display:flex}.ha-dialog textarea{resize:none;min-width:0;font:inherit;outline-offset:3px;background:0 0;border:0;flex:1;padding:5px;font-size:14px}.ha-dialog form button{color:#fff;background:#bc3021;border:0;border-radius:50%;flex-shrink:0;align-self:center;place-items:center;width:40px;height:40px;padding:0;line-height:1;display:grid}.ha-dialog button:disabled{opacity:.45;cursor:default}.ha-dialog footer{letter-spacing:normal;text-transform:none;color:#746c64;justify-content:space-between;align-items:center;gap:12px;min-height:0;padding:10px 14px;font-size:10px;line-height:1.4;display:flex}.ha-dialog footer span{max-width:240px}.ha-dialog footer button{flex-shrink:0}.ha-dialog header button{border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.ha-dialog header button:hover{background:#eee8df}.ha-dialog footer button{color:#a32b20;background:0 0;border:0;font-size:11px}.ha-error{color:#a72720;padding:0 20px;font-size:13px}@media (width<=600px){.ha-trigger span{display:none}.ha-trigger{padding:8px!important}.ha-dialog{right:12px;bottom:calc(88px + env(safe-area-inset-bottom));border-radius:16px;width:min(380px,100vw - 24px);height:min(460px,100dvh - 156px);max-height:calc(100dvh - 156px)}.ha-dialog textarea{font-size:16px}}.ha-dialog form button svg{margin:0;display:block}.ha-message .ha-bottom-line{color:#181817;border-top:1px solid #e3dcd2;margin-top:14px;padding-top:10px}.ha-bottom-line strong{font-weight:700}.ha-drag-handle{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:6px;flex:1;min-width:0}.ha-drag-handle:active{cursor:grabbing}.ha-drag-handle:focus-visible{outline-offset:4px;outline:2px solid #b82e20}.ha-grip{color:#aaa197;vertical-align:middle;margin-left:8px;font-size:18px}
