.case-chat{margin:36px 0;padding:28px;border:1px solid #b7c6db;border-radius:16px;background:#f0f5fc;color:#142b51;overflow-wrap:anywhere}
.case-chat header{background:#142b51;color:#fff;border-radius:12px;padding:24px;margin-bottom:20px}
.scenario-page .case-chat header h2,.scenario-page .case-chat header p{color:#fff}
.case-chat-label{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.case-chat-feed{display:flex;flex-direction:column;gap:12px;max-height:360px;overflow:auto;margin:20px 0}
.case-chat-bubble{align-self:flex-start;max-width:88%;margin:0;padding:16px;border-radius:14px 14px 14px 2px;background:#fff;color:#142b51;border:1px solid #bccbdf;white-space:pre-wrap}
.case-chat-bubble.mine{align-self:flex-end;background:#dbe8f8;border-radius:14px 14px 2px 14px}
.case-chat label{display:block;font-weight:700;margin-top:16px}
.case-chat input[type=text],.case-chat textarea{width:100%;box-sizing:border-box;padding:13px 15px;margin-top:8px;border:1px solid #7487a4;border-radius:8px;background:#fff;color:#142b51;font:inherit}
.case-chat textarea:disabled{background:#e4eaf2;color:#42516b;opacity:1}
.case-chat input::placeholder,.case-chat textarea::placeholder{color:#4e607b;opacity:1}
.case-chat .case-chat-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400;margin:20px 0}
.case-chat-consent input{flex:0 0 auto;margin-top:5px}
.case-chat a{color:#153f73;text-decoration:underline}
.case-chat button{background:#183b70;color:#fff;border:2px solid transparent;padding:14px 20px;border-radius:8px;max-width:100%;white-space:normal}
.case-chat button:hover:not(:disabled){background:#0c2852}
.case-chat button:disabled{background:#53637c;color:#fff;cursor:not-allowed}
.case-chat :focus-visible{outline:3px solid #9f4900;outline-offset:3px}
.case-chat-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(max-width:620px){.case-chat{padding:16px}.case-chat header{padding:18px}.case-chat-bubble{max-width:95%}.case-chat button{width:100%}}
