.chat-launcher{position:fixed;z-index:950;right:24px;bottom:24px;width:62px;height:62px;border:2px solid #e5f2ff;border-radius:50%;background:#236bd2;color:white;display:grid;place-items:center;box-shadow:0 5px 22px #154d8838;transition:background .2s,translate .2s}.chat-launcher:hover{background:#164f9f;color:white;translate:0 -2px}.chat-launcher svg{width:31px;height:31px}.chat-launcher:after{content:'';position:absolute;right:2px;top:2px;width:11px;height:11px;background:#ffcf58;border:2px solid #fff;border-radius:50%}.school-chat{position:fixed;z-index:950;right:24px;bottom:99px;width:370px;max-width:calc(100vw - 28px);height:490px;max-height:calc(100dvh - var(--top-bar-height,56px) - 120px);display:flex;flex-direction:column;background:#f9fcff;border:1px solid #9bbfe1;border-radius:15px;box-shadow:0 12px 55px #194d7530;overflow:hidden;animation:chat-enter .22s ease-out}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 19px;background:#d9edff;border-bottom:1px solid #adcde9;flex-shrink:0}.chat-header h2{font:700 1rem/1.4 Manrope,'Segoe UI',sans-serif;letter-spacing:0;margin:0;color:#173e6a}.chat-header p{font-size:.75rem;line-height:1.5;margin:3px 0 0;color:#456788}.chat-header button{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;font-size:1.6rem;line-height:1;color:#245887}.chat-header button:hover{background:#bedfff}.chat-log{flex:1;min-height:70px;overflow:auto;padding:19px 17px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain}.chat-message{font-size:.9375rem;line-height:1.65;margin:0;padding:12px 14px;max-width:92%;border-radius:12px;overflow-wrap:anywhere;white-space:pre-wrap}.chat-message-bot{background:#e1effd;color:#163f69;border-bottom-left-radius:3px;align-self:flex-start}.chat-message-user{background:#236bd2;color:white;border-bottom-right-radius:3px;align-self:flex-end}.chat-compose{padding:12px 15px 14px;border-top:1px solid #c2d9ed;background:#f5faff;flex-shrink:0}.chat-quick{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.chat-quick button{font-size:.75rem;line-height:1.5;text-align:left;padding:7px 10px;border:1px solid #9ebfe3;border-radius:15px;background:white;color:#225da8}.chat-quick button:hover{background:#d7eaff}.chat-field-label{display:block;font-size:.75rem;font-weight:700;color:#365d82;margin-bottom:6px}.chat-input-row{display:flex;align-items:flex-end;gap:8px}.chat-input-row textarea{display:block;flex:1;min-width:0;height:58px;max-height:120px;resize:vertical;border:1px solid #9bbce0;border-radius:8px;background:white;color:#183e61;padding:10px 11px;font:400 .9375rem/1.5 Manrope,'Segoe UI',sans-serif}.chat-send{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;background:#236bd2;border-radius:8px;color:white}.chat-send:hover{background:#1852a7;color:white}.chat-send:disabled{background:#d1dfed;color:#6b849a;cursor:default}.chat-send svg{width:20px;height:20px}.chat-demo-note{font-size:.6875rem;line-height:1.5;color:#526e89;margin:8px 0 0}.chat-input-row textarea:focus-visible{outline:2px solid #236bd2;outline-offset:2px}
@keyframes chat-enter{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:760px){.chat-launcher{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:57px;height:57px}.school-chat{right:14px;bottom:calc(86px + env(safe-area-inset-bottom));width:370px;height:460px;max-height:calc(100dvh - var(--top-bar-height,60px) - 108px - env(safe-area-inset-bottom))}.chat-header{padding:14px 16px}.chat-log{padding:15px}.chat-compose{padding:12px}.chat-message{font-size:.9375rem}.chat-quick button{min-height:36px}}
.a11y-large-text .school-chat{width:470px;height:650px}.a11y-large-text .chat-header{flex-wrap:wrap}.a11y-large-text .chat-compose{max-height:60%;overflow:auto}
.chat-header{background:#b7dcff;border-color:#72a8e2}.chat-message-bot{background:#d3e8ff}.chat-compose{background:#eaf4ff;padding-top:9px}.chat-quick{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;max-width:100%;margin-bottom:9px;padding:3px 1px 5px;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.chat-quick::-webkit-scrollbar{display:none;width:0;height:0}.chat-quick button{flex:0 0 auto;white-space:nowrap;font-size:.8125rem;font-weight:600;min-height:36px;padding:7px 12px;border:1px solid #397ddd;border-radius:19px;background:#d2e6ff;color:#124c9d;line-height:1.4}.chat-quick button:nth-child(2){background:#c6f0e4;color:#105e4e;border-color:#3ba68b}.chat-quick button:nth-child(3){background:#ffe29a;color:#754510;border-color:#d9a341}.chat-quick button:hover{background:#236bd2;color:white;border-color:#236bd2}.chat-quick button:focus-visible{outline-offset:0;outline:3px solid #164d9b}.chat-quick button:active{filter:brightness(.94)}.chat-field-label{margin-bottom:5px}.chat-send{background:#1b67d7}.chat-demo-note{margin-top:6px}
.chat-message-user{transform-origin:bottom right}.chat-quick button{transition:background-color .18s,color .18s,border-color .18s,scale .18s}.chat-quick button:active{scale:.97}.chat-log{overflow-anchor:none}.chat-quick{scroll-padding-inline:6px}
@media(prefers-reduced-motion:reduce){.school-chat{animation:none}.chat-launcher,.chat-quick button{transition:none}}
