.coach-page{max-width:1040px;margin:auto}.coach-chat{background:#fff;border:1px solid #e8e1ef;border-radius:28px;overflow:hidden;box-shadow:0 10px 40px #55338106}.coach-chat-head{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid #f0eaf6;background:linear-gradient(100deg,#fff9ef,#faf6ff)}.coach-avatar{display:grid;place-items:center;width:46px;height:46px;border-radius:17px;background:#ece1ff;color:#6735bf;font-size:27px;flex-shrink:0}.coach-chat-head p{font-size:12px;color:#82778e;margin:3px 0 0}.coach-chat-head>.text-btn{margin-inline-start:auto;font-size:12px}.coach-messages{height:clamp(300px,48dvh,600px);overflow-y:auto;padding:24px;overscroll-behavior:contain}.coach-welcome{text-align:center;max-width:520px;margin:5px auto 25px}.coach-welcome img{width:180px;height:120px;object-fit:contain}.coach-welcome h2{font-size:21px;margin:12px 0}.coach-welcome p{color:#766c81;font-size:15px;line-height:1.95}.coach-welcome small{display:block;background:#faf7fc;border-radius:18px;padding:14px;color:#81758e;font-size:12px;line-height:1.9}.coach-turn{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.coach-bubble{max-width:88%;border-radius:20px;padding:15px 20px;overflow-wrap:anywhere}.coach-user{align-self:flex-start;background:#6a39be;color:white;border-start-start-radius:5px}.coach-answer{align-self:flex-end;background:#f7f4fb;color:#403647;border-start-end-radius:5px}.coach-speaker{font-size:11px;font-weight:700;opacity:.7}.coach-bubble p{white-space:pre-wrap;line-height:2;margin:6px 0 0;font-size:15px}.coach-thinking{font-size:13px;color:#8468a3;padding:10px}.coach-thinking span{display:inline-block;letter-spacing:4px;animation:coach-pulse 1.6s ease-in-out infinite}.coach-composer{display:flex;align-items:flex-end;gap:12px;margin:0 24px;padding:14px;border:1.5px solid #d7c4ee;border-radius:21px;background:white}.coach-composer textarea{flex:1;min-width:0;resize:vertical;max-height:180px;border:0;background:transparent;outline:none;line-height:1.8;font:inherit;padding:3px}.coach-composer:focus-within{outline:3px solid #e9ddf7}.coach-composer button{flex-shrink:0;border-radius:14px;min-height:48px}.coach-privacy,.coach-disclaimer{font-size:11px;color:#83798c;line-height:1.9;margin:10px 26px}.coach-disclaimer{margin-bottom:20px;color:#9a8fa1}.coach-message-error{padding:12px 18px;background:#fff5da;color:#76603e;border-radius:14px;margin:10px 24px;font-size:13px;line-height:1.9}.coach-message-error small{display:block}.coach-chat button:disabled{opacity:.55;cursor:default}@keyframes coach-pulse{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.coach-thinking span{animation:none}}@media(max-width:600px){.coach-chat{border-radius:23px}.coach-chat-head{padding:16px 13px;gap:8px}.coach-chat-head strong{font-size:13px}.coach-chat-head p{font-size:10px}.coach-chat-head>.text-btn{font-size:10px;padding:5px}.coach-avatar{width:34px;height:38px;font-size:22px}.coach-messages{padding:16px 12px;height:44dvh;min-height:280px}.coach-bubble{max-width:94%;padding:12px 15px}.coach-bubble p{font-size:14px}.coach-composer{margin:0 12px;padding:10px;gap:6px}.coach-composer textarea{font-size:14px}.coach-composer button{font-size:12px;padding:10px 13px;min-height:45px}.coach-privacy,.coach-disclaimer{margin-inline:17px;font-size:10px}.coach-page .page-title{margin-bottom:16px}.coach-message-error{margin-inline:12px}}
