/* Approved Classic chat with the original peeking Ally. */
.healthcare-app #ally-chat{inset:0;margin:auto;box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-width:none;height:min(620px,calc(100dvh - 120px));max-height:none;border:1px solid #a9c9f3;border-radius:10px;background:#fff;overflow:visible;padding:0;color:#09234c;box-shadow:0 18px 60px #0b367533}
.healthcare-app #ally-chat::backdrop{background:#10234d45;backdrop-filter:blur(3px)}
.healthcare-app #ally-chat .chat-layout{height:100%;border-radius:9px;overflow:hidden;display:flex;flex-direction:column}
.healthcare-app #ally-chat>.chat-peeker{left:34px;top:-65px;width:110px;height:74px;z-index:5}
.healthcare-app #ally-chat .chat-head{position:relative;display:flex;align-items:center;flex-shrink:0;min-height:72px;box-sizing:border-box;padding:18px 72px 18px 24px;gap:0;background:linear-gradient(110deg,#0866e7,#084db5);border:0}
.healthcare-app #ally-chat .chat-head h2{color:#fff;font-size:26px;line-height:1.35;font-weight:750;letter-spacing:0;margin:0;white-space:normal}
.healthcare-app #ally-chat .chat-close{position:absolute;top:50%;right:14px;transform:translateY(-50%);display:grid;place-items:center;box-sizing:border-box;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:#fff;box-shadow:none;filter:none;cursor:pointer}
.healthcare-app #ally-chat .chat-close:hover{background:#ffffff1c;border-color:transparent;transform:translateY(-50%);filter:none}
.healthcare-app #ally-chat .chat-close svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.healthcare-app #ally-chat .chat-workspace{display:flex;flex:1;min-height:0}
.healthcare-app #ally-chat .chat-conversation{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.healthcare-app #ally-chat .chat-messages{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:24px}
.healthcare-app #ally-chat .chat-message{box-sizing:border-box;max-width:92%;padding:14px 16px;border-radius:9px;font-size:15px;line-height:1.6;white-space:normal;overflow-wrap:anywhere;box-shadow:none}
.healthcare-app #ally-chat .chat-message-text{white-space:pre-wrap}
.healthcare-app #ally-chat .chat-message.assistant{background:#edf4fb;border:1px solid #e0ebf8;color:#102a54;align-self:flex-start}
.healthcare-app #ally-chat .chat-message.user{background:#e0f1ff;color:#102a54;border:1px solid #d8eafb;align-self:flex-end}
.healthcare-app #ally-chat .chat-message small{display:block;font-size:12px;font-weight:700;color:#173b70;margin:0 0 5px}
.healthcare-app #ally-chat .chat-answer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.healthcare-app #ally-chat .chat-answer-actions .btn{min-height:40px;padding:9px 15px;border:1px solid #075eff;border-radius:5px;color:#075eff;background:#fff;font-size:14px;line-height:1.4;font-weight:650;box-shadow:none;transform:none;filter:none}
.healthcare-app #ally-chat .chat-answer-actions .btn:hover{background:#e3eeff;border-color:#075eff;transform:none;filter:none}
.healthcare-app #ally-chat .chat-suggestions{display:flex;flex-direction:column;gap:9px;padding:0 24px 14px;flex-shrink:0}
.healthcare-app #ally-chat .chat-topic-suggestions,.healthcare-app #ally-chat .chat-feedback-options{display:flex;flex-wrap:wrap;gap:7px}
.healthcare-app #ally-chat .chat-suggestions button{box-sizing:border-box;min-height:32px;padding:7px 10px;border:1px solid #8db4ff;border-radius:18px;font-size:11px;line-height:1.4;background:#fff;color:#075eff;transform:none;filter:none;box-shadow:none;cursor:pointer}
.healthcare-app #ally-chat .chat-suggestions button:hover{background:#edf4ff;border-color:#075eff;transform:none;filter:none}
.healthcare-app #ally-chat .chat-feedback-options button{background:#f1f6fc;border-color:#c3d6ef;color:#436287;font-size:10px;min-height:29px;padding:6px 10px}
.healthcare-app #ally-chat .chat-form{display:flex;align-items:center;flex-shrink:0;gap:10px;border:0;border-top:1px solid #d6e7fa;border-radius:0;margin:0;padding:17px 20px;background:#edf6ff}
.healthcare-app #ally-chat .chat-form input{box-sizing:border-box;flex:1;min-width:0;min-height:44px;border:1px solid #abc6e9;border-radius:5px;background:#fff;padding:11px 12px;color:#102a54;font-family:inherit;font-size:14px;line-height:20px}
.healthcare-app #ally-chat .chat-form input:focus-visible{outline:2px solid #8fb8f0;outline-offset:2px}
.healthcare-app #ally-chat .chat-form .btn{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #004ad1;border-radius:5px;background:#075eff;color:#fff;box-shadow:none;transform:none;filter:none}
.healthcare-app #ally-chat .chat-form .btn:hover{background:#004edc;transform:none;filter:none}
.healthcare-app #ally-chat .chat-form svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.healthcare-app #ally-chat .chat-form[hidden],.healthcare-app #ally-chat .chat-suggestions[hidden]{display:none}
.healthcare-app #ally-chat button:focus-visible{outline:2px solid #83b3ff;outline-offset:3px}
@media(max-width:700px){.healthcare-app #ally-chat{width:calc(100vw - 20px);height:min(620px,calc(100dvh - 100px));margin:auto}.healthcare-app #ally-chat>.chat-peeker{left:24px;top:-48px;width:85px;height:57px}.healthcare-app #ally-chat .chat-head{min-height:64px;padding-left:20px}.healthcare-app #ally-chat .chat-head h2{font-size:23px}.healthcare-app #ally-chat .chat-messages{padding:18px;gap:15px}.healthcare-app #ally-chat .chat-message{font-size:14px;padding:12px 14px}.healthcare-app #ally-chat .chat-suggestions{padding:0 16px 12px}.healthcare-app #ally-chat .chat-form{padding:14px 16px}}

/* Feedback actions retain a complete border in every interaction state. */
.healthcare-app #ally-chat .feedback-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:stretch;overflow:visible}
.healthcare-app #ally-chat .feedback-actions .btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border:1px solid #83afe8;border-radius:5px;background:#fff;color:#075eff;font-size:13px;line-height:1.4;font-weight:700;box-shadow:none;transform:none;filter:none;transition:background-color .15s,border-color .15s}
.healthcare-app #ally-chat .feedback-actions .btn:is(:hover,:active,:focus){border:1px solid #075eff;background:#edf4ff;box-shadow:none;transform:none;filter:none}
.healthcare-app #ally-chat .feedback-actions .btn.primary{background:#075eff;border:1px solid #004ad1;color:#fff}
.healthcare-app #ally-chat .feedback-actions .btn.primary:is(:hover,:active,:focus){background:#004edc;border:1px solid #0040b5;color:#fff;box-shadow:none;transform:none;filter:none}
.healthcare-app #ally-chat .feedback-actions .btn:disabled{opacity:.6;cursor:wait}
