.st-chat-launch{position:fixed;right:24px;bottom:24px;z-index:140;border:1px solid #899bf7;border-radius:40px;background:linear-gradient(120deg,#344bc2,#7953ce);color:white;padding:14px 20px;font:600 1rem inherit;box-shadow:0 8px 32px #0005;cursor:pointer;min-height:48px}
.st-chat{position:fixed;right:24px;bottom:88px;z-index:141;width:min(420px,calc(100vw - 32px));height:min(650px,calc(100dvh - 120px));display:flex;flex-direction:column;border:1px solid #bdc8ec;border-radius:22px;background:#f6f8ff;color:#18253d;box-shadow:0 20px 70px #0006;font-family:inherit;font-size:1rem;overflow:hidden}.st-chat[hidden]{display:none}.st-chat button,.st-chat textarea{font:inherit}.st-chat-head{padding:18px 20px;background:#111d35;color:white;display:flex;align-items:center;justify-content:space-between;gap:12px}.st-chat-head h2{font-size:1.1rem;margin:0;color:white}.st-chat-head p{font-size:.875rem;margin:4px 0 0;color:#c4d1ee}.st-chat-close{color:white;background:transparent;border:1px solid #7181a4;border-radius:10px;min-height:44px;min-width:44px;cursor:pointer}.st-chat-context{padding:10px 18px;font-size:.875rem;border-bottom:1px solid #d6ddef;overflow-wrap:anywhere}.st-chat-log{flex:1;overflow:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:14px;min-height:90px}.st-chat-msg{padding:13px 15px;background:white;border:1px solid #d6ddef;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.st-chat-msg[data-role=user]{background:#e5eaff;margin-left:28px}.st-chat-msg strong{display:block;font-size:.875rem;margin-bottom:6px}.st-chat-source{display:block;font-size:.875rem;color:#526180;margin-top:8px}.st-chat-msg a{display:block;color:#3349b4;margin-top:8px;text-decoration:underline}.st-chat-actions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 16px}.st-chat-actions button,.st-chat-clear{border:1px solid #b9c6e1;border-radius:20px;background:white;color:#27385a;min-height:40px;padding:8px 12px;font-size:.875rem;cursor:pointer}.st-chat-compose{padding:12px 16px 16px;border-top:1px solid #d6ddef}.st-chat-compose label{font-size:.875rem;font-weight:600;display:block;margin-bottom:6px}.st-chat-compose textarea{width:100%;box-sizing:border-box;border:1px solid #a1b1d0;border-radius:12px;background:white;color:#18253d;padding:10px;resize:vertical;min-height:62px;max-height:150px;font-size:1rem}.st-chat-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.st-chat-send{background:#344bc2;color:white;border:0;border-radius:12px;padding:10px 18px;min-height:44px;cursor:pointer}.st-chat button:disabled{opacity:.55;cursor:wait}.st-chat button:focus-visible,.st-chat textarea:focus-visible,.st-chat-launch:focus-visible{outline:3px solid #7c5cff;outline-offset:3px}.st-chat-note{font-size:.875rem;line-height:1.4;margin:10px 0 0;color:#526180}.st-chat-status{font-size:.875rem;min-height:20px;color:#526180;padding:0 16px}.st-chat-clear{background:transparent}.st-chat-launch[aria-expanded=true]{background:#172640}
@media(max-width:600px){.st-chat-launch{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:12px 16px}.st-chat{right:8px;bottom:80px;width:calc(100vw - 16px);height:calc(100dvh - 96px);border-radius:18px}.st-chat-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media print{.st-chat,.st-chat-launch{display:none!important}}

