.course-chat{--chat-height:650px;--chat-bottom:0px;position:relative;z-index:90;color:#20392d;font:14px/1.45 Arial,sans-serif}
.course-chat [hidden]{display:none!important}.course-chat *{box-sizing:border-box}
.chat-launcher{position:fixed;right:22px;bottom:22px;display:flex;align-items:center;gap:9px;border:0;border-radius:40px;padding:15px 20px;background:#2d5142;color:#fff;font:600 14px/1.4 Arial,sans-serif;box-shadow:0 5px 25px #173f322b;cursor:pointer;min-height:48px}.chat-launcher svg{width:22px;height:22px}
.chat-panel{position:fixed;right:22px;bottom:86px;width:390px;max-width:calc(100vw - 24px);max-height:min(660px,calc(100dvh - 112px));background:#fff;border:1px solid #d3ddd5;border-radius:20px;box-shadow:0 15px 65px #163b3333;display:flex;flex-direction:column;overflow:hidden;animation:chat-enter .2s ease-out}
.chat-heading{display:flex;align-items:center;gap:11px;padding:17px 16px;background:#f4f7f2;border-bottom:1px solid #e3e9e1;flex-shrink:0}.chat-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border-radius:12px;background:#2d5142;color:white;font-size:14px;font-weight:700;letter-spacing:-.5px}.chat-heading-copy{flex:1;min-width:0}.chat-heading strong{display:block;font-size:16px;line-height:1.3}.chat-heading small{display:block;color:#657368;margin-top:4px;font-size:12px}.chat-close{border:0;background:transparent;color:#395544;font-size:27px;line-height:1;width:38px;height:38px;border-radius:50%;cursor:pointer;flex-shrink:0}.chat-close:hover{background:#e6ede4}
.chat-content{padding:18px 16px 14px;overflow:auto;overscroll-behavior:contain;min-height:0}.chat-question-step{display:flex;flex-direction:column;min-height:290px}.chat-sender{font-size:11px;color:#788579;margin:0 0 6px 3px}.chat-bubble{align-self:flex-start;max-width:88%;padding:13px 15px;border-radius:4px 16px 16px;background:#f0f3ed;margin:0;font-size:14px;line-height:1.55}.chat-options-label{margin:22px 0 9px;font-size:11px;color:#788579}.chat-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.chat-options button{width:auto;flex:0 1 auto;background:#fff;border:1px solid #b9cebf;border-radius:24px;color:#2d5142;font:500 12px/1.3 Arial,sans-serif;min-height:40px;text-align:center;padding:9px 13px;cursor:pointer;transition:background .15s,border-color .15s}.chat-options button:hover{background:#edf5e9;border-color:#74977e}.course-chat button:focus-visible{outline:2px solid #729b82;outline-offset:3px}
.chat-question-form{display:flex;align-items:flex-end;gap:7px;margin-top:auto;border:1px solid #c5d2c7;border-radius:15px;background:#fff;padding:6px;box-shadow:0 2px 6px #163b3305}.chat-question-form:focus-within{border-color:#678b73;box-shadow:0 0 0 2px #729b821c}.course-chat .chat-question-form textarea{flex:1;width:0;min-width:0;min-height:44px;max-height:112px;border:0;background:transparent;border-radius:8px;padding:11px 8px;font:16px/22px Arial,sans-serif;color:#20392d;resize:none;margin:0;outline:none;box-shadow:none}.chat-question-form textarea::placeholder{color:#889389}.chat-send{display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:44px;padding:10px 13px;border:0;border-radius:10px;background:#2d5142;color:#fff;font:600 13px/1 Arial,sans-serif;cursor:pointer}.chat-send:hover,.chat-primary:hover{background:#223f33}.chat-send svg{width:18px;height:18px}.chat-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.chat-contact-form{display:grid;gap:10px}.chat-contact-form>label:not(.chat-consent){font-size:12px;font-weight:600;display:grid;gap:5px}.course-chat input:not([type=checkbox]){width:100%;border:1px solid #bacbbf;border-radius:8px;background:#fff;padding:10px 11px;font:16px/1.4 Arial,sans-serif;color:#20392d;min-width:0;min-height:42px;margin:0}.course-chat input:focus{outline:2px solid #729b82;outline-offset:2px}.chat-primary{border:0;border-radius:9px;background:#2d5142;color:white;font:600 14px/1.3 Arial,sans-serif;min-height:45px;padding:12px;cursor:pointer;width:100%}.chat-primary:disabled{opacity:.6;cursor:wait}
.chat-selected{width:fit-content;max-width:90%;margin-left:auto;border-radius:16px 4px 16px 16px;background:#e8f0e2;padding:11px 14px}.chat-selected p{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:70px;overflow:auto}.chat-edit{border:0;background:transparent;padding:4px 0 0;color:#4f6a50;font-size:11px;text-decoration:underline;cursor:pointer;min-height:28px}.chat-intro{width:fit-content;background:#f0f3ed;border-radius:4px 14px 14px;padding:11px 14px;font-size:14px;font-weight:500;margin:16px 0}.chat-consent{display:flex;align-items:start;gap:8px;font-size:11px;line-height:1.5;color:#637467;margin:2px 0;font-weight:400}.chat-consent input{flex-shrink:0;width:16px;height:16px;margin:1px 0;accent-color:#2d5142}.course-chat a{color:#2d5142;text-decoration:underline}.chat-footnote{margin:10px 0 0;color:#7a837b;font-size:10px;text-align:center}.chat-error{margin:0;color:#a13c2c;background:#fff4ef;padding:10px;border-radius:8px;font-size:12px}
.chat-success{text-align:center;padding:20px 0}.chat-success h3{font:600 21px/1.25 Arial,sans-serif;margin:20px 0 10px}.chat-success p{font-size:14px;color:#617366;margin:0 0 24px}.chat-check{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e7f0e4;font-size:28px}.chat-another{background:#fff;border:1px solid #c5d3c9;border-radius:10px;color:#2d5142;font:500 14px/1.3 Arial,sans-serif;min-height:42px;text-align:center;padding:10px 12px;cursor:pointer}.chat-another:hover{background:#eef5ef}.chat-trap{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
@keyframes chat-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.chat-launcher{right:14px;bottom:86px;width:52px;height:52px;min-height:52px;padding:0;justify-content:center;border-radius:50%;gap:0}.chat-launcher span{display:none}.chat-launcher svg{width:24px;height:24px}.chat-panel{right:10px;bottom:max(80px,var(--chat-bottom));width:calc(100vw - 20px);max-width:none;max-height:min(var(--chat-height),calc(100dvh - 92px));border-radius:18px}.chat-heading{padding:14px 12px;gap:9px}.chat-heading strong{font-size:15px}.chat-heading small{font-size:11px}.chat-content{padding:16px 13px 12px}.chat-question-step{min-height:280px}.chat-contact-form{gap:8px}.chat-intro{margin:11px 0}.chat-selected p{max-height:50px}}
@media(max-width:350px){.chat-avatar{width:32px;height:32px;border-radius:10px;font-size:12px}.chat-heading{gap:7px}.chat-heading strong{font-size:14px}.chat-heading small{font-size:10px}.chat-options{gap:7px}.chat-options button{font-size:11px;padding:9px 11px}.chat-send{padding:10px}.chat-send svg{width:16px}}
@media(prefers-reduced-motion:reduce){.chat-panel{animation:none}.chat-options button{transition:none}}

.chat-pending-step{min-height:280px}.chat-typing{display:flex;gap:5px;align-items:center;width:58px;height:38px;margin-top:18px;padding:13px;border-radius:4px 14px 14px;background:#f0f3ed}.chat-typing span{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#708574;animation:chat-dot 1.2s infinite ease-in-out}.chat-typing span:nth-child(2){animation-delay:.15s}.chat-typing span:nth-child(3){animation-delay:.3s}@keyframes chat-dot{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.chat-typing span{animation:none;opacity:.65}}
